/* css/style.css */
:root {
    --primary-color: #0056b3;
    --secondary-color: #00a8ff;
    --text-color: #333333;
    --bg-light: #ffffff;
    --bg-gray: #f4f7f6;
    --footer-bg: #1a1a1a;
    --footer-text: #cccccc;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
}

/* Typography & Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Unified Pill Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    letter-spacing: 0.5px;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 168, 255, 0.4);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: #ffffff;
}

.section-title { text-align: center; margin-bottom: 40px; font-size: 2.2rem; }
.section-title.left-align { text-align: left; }
.section-padding { padding: 80px 0; }

/* Navigation */
header {
    background: var(--bg-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.logo { font-size: 1.8rem; font-weight: bold; color: var(--primary-color); text-decoration: none; }
.nav-links { display: flex; list-style: none; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--text-color); font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: var(--primary-color); }

/* Hamburger Menu */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 25px; height: 3px; background: var(--text-color); transition: var(--transition); }

/* Multi-Kinetic Hero Section */
.hero { position: relative; height: 80vh; overflow: hidden; background: var(--text-color); }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 1s ease-in-out;
    display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
}
.slide.active { opacity: 1; z-index: 1; }



.hero-content { max-width: 800px; padding: 20px; z-index: 2; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; animation: slideUp 0.8s ease forwards; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; }

/* Mini About - Rotating Layered Images */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-images-container { position: relative; height: 400px; width: 100%; perspective: 1000px; }
.image-layer {
    position: absolute; width: 75%; height: auto; border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); border: 5px solid #fff;
    animation: layerCycle 12s infinite cubic-bezier(0.645, 0.045, 0.355, 1);
}
.image-layer img { width: 100%; height: auto; display: block; border-radius: 4px; }
.layer-1 { top: 0; left: 0; z-index: 3; }
.layer-2 { top: 40px; left: 40px; z-index: 2; animation-delay: -4s; }
.layer-3 { top: 80px; left: 80px; z-index: 1; animation-delay: -8s; }

@keyframes layerCycle {
    0%, 20% { transform: scale(1) translateZ(0); z-index: 3; opacity: 1; }
    33% { transform: scale(0.9) translateX(100px) translateZ(-100px); z-index: 1; opacity: 0.6; }
    53%, 80% { transform: scale(0.95) translateX(50px) translateZ(-50px); z-index: 2; opacity: 0.8; }
    100% { transform: scale(1) translateZ(0); z-index: 3; opacity: 1; }
}

/* Sections - General */
.services-section { padding: 80px 0; background: var(--bg-gray); }

/* Smart Layout for Enterprise Cards */
.services-grid.enterprise {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.enterprise-card {
    flex: 1 1 calc(50% - 40px);
    min-width: 320px;
    max-width: 600px; 
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    border: 1px solid #eaeaea;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.enterprise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-img { height: 200px; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.enterprise-card:hover .card-img { transform: scale(1.05); }

.card-content {
    padding: 40px 30px;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-content h3 { margin-top: 0; color: var(--text-color); font-size: 1.5rem; margin-bottom: 15px; }
.card-content p { flex-grow: 1; margin-bottom: 30px; color: #555; }

/* Latest News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.news-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--transition); display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; align-items: flex-start; }
.news-content p { flex-grow: 1; margin-bottom: 20px;}
.news-date { display: block; font-size: 0.85rem; color: #999; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }

/* Client Slider */
.client-slider-section { background: #fff; padding: 40px 0; border-top: 1px solid #eaeaea; overflow: hidden; }
.slider-track { display: flex; align-items: center; gap: 60px; width: max-content; animation: scrollTrack 20s linear infinite; }
.slider-track img { height: 40px; opacity: 0.6; filter: grayscale(100%); transition: var(--transition); }
.slider-track img:hover { opacity: 1; filter: grayscale(0%); }

@keyframes scrollTrack {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-150px * 5 - 60px * 5)); }
}

/* 4-Column Footer */
footer { background: var(--footer-bg); color: var(--footer-text); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--footer-text); text-decoration: none; transition: var(--transition); }
.footer-col a:hover { color: var(--secondary-color); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #333; font-size: 0.9rem; }

/* Cookie Consent (UPDATED) */
.cookie-consent {
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background: var(--footer-bg);
    color: #fff; 
    padding: 15px 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    z-index: 9999; 
    transform: translateY(100%); /* Mathematically hides exactly 100% of its own height */
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); 
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
.cookie-consent.show { 
    transform: translateY(0); /* Brings it perfectly into view */
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-images-container { height: 350px; width: 80%; margin: 0 auto; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed; right: -100%; top: 70px; flex-direction: column;
        background: var(--bg-light); width: 100%; text-align: center;
        padding: 30px 0; box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        transition: 0.3s;
    }
    .nav-links.active { right: 0; }
    .hamburger { display: flex; }
    .footer-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
    .hero-content h1 { font-size: 2.2rem; }
    .cookie-consent { flex-direction: column; text-align: center; gap: 15px; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo img { 
    max-height: 55px; /* Adjust this value based on your actual logo proportions */
    width: auto; 
    display: block; 
}