/* --- Global Styles & Variables --- */
:root {
    --primary-blue: #00ADEF;
    --primary-dark-gray: #36454F;
    --background-light-gray: #F5F5F7;
    --white: #FFFFFF;
    --border-color: #E9ECEF;
    --text-color: #555;
    --heading-color: var(--primary-dark-gray);
    --font-family: 'Poppins', sans-serif;
    --pluton-accent-blue: #11b6f7;
    --container-width: 1400px;
    --section-padding: 80px 0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 92%;
    max-width: var(--container-width);
    margin: 0 auto;
}

h1, h2, h3, h4 {
    color: var(--heading-color);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark-gray);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--background-light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 10px;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0095c7;
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-dark-gray);
    border-color: var(--primary-dark-gray);
}

.btn-secondary:hover {
    background-color: var(--primary-dark-gray);
    color: var(--white);
}

/* --- Header --- */
#main-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    padding: 0 5%;
}

.logo img {
    height: 60px;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin: 0 20px;
}

.main-nav a {
    color: var(--primary-dark-gray);
    font-weight: 500;
    position: relative;
    padding: 8px 10px;
    display: inline-block;
    border-radius: 6px;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
    background-color: var(--pluton-accent-blue);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(17,182,247,0.12);
}

.dropdown {
    position: relative;
}

.dropdown .drop-trigger i {
    font-size: 0.7rem;
    margin-left: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    min-width: 220px;
    border-radius: 5px;
    padding: 10px 0;
    z-index: 1001;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--primary-dark-gray);
}

.dropdown-content a:hover {
    background-color: var(--background-light-gray);
    color: var(--primary-blue);
}

.mega-menu-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 750px;
    background-color: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 20px 10px;
    z-index: 1001;
}

.dropdown:hover .mega-menu-content {
    display: flex;
    flex-direction: row;
}

.mega-menu-column {
    flex: 1;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
}

.mega-menu-column a {
    display: block;
    padding: 12px 10px;
    font-size: 14px;
    color: var(--primary-dark-gray);
    border-radius: 4px;
    white-space: normal;
    line-height: 1.4;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mega-menu-column a:hover {
    background-color: var(--background-light-gray);
    color: var(--primary-blue);
}

.header-social a {
    color: var(--primary-dark-gray);
    margin-left: 20px;
    font-size: 1.2rem;
}

.header-social a:hover {
    color: var(--primary-blue);
}

.header-social .header-call {
    margin-right: 12px;
    display: inline-block;
}

.btn-support {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    background-color: var(--pluton-accent-blue);
    color: #fff;
    font-weight: 600;
    margin-left: 14px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    border: 0;
}
.btn-support:hover, .btn-support:focus {
    background-color: #5cb85c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(92, 184, 92, 0.18);
}

#mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-dark-gray);
}

.main-nav .mobile-socials {
    display: none;
}

/* --- Footer --- */
#main-footer {
    background-color: var(--primary-dark-gray);
    color: #ccc;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col p {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #ccc;
    transition: all 0.3s ease;
}

.footer-col ul a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.footer-col .footer-logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 15px;
}

.footer-bottom {
    background-color: #080808;
    border-top: none;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-bottom p, .footer-bottom a {
    color: #bfbfbf;
}

.footer-bottom-links a {
    margin-left: 20px;
}
.footer-bottom-links a:hover {
    color: var(--primary-blue);
}

/* --- Home Page: Hero Carousel --- */
.hero-carousel-section {
    position: relative;
    height: 900px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    visibility: hidden;
}

.carousel-slide.active-slide {
    opacity: 1;
    visibility: visible;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none; 
}

/* CHANGED: Clean Text Overlay (No Glassmorphism) 
   Adhering to modern 2026 design with clean typography 
*/
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    text-align: center;
    z-index: 2;
    width: 80%;
    max-width: 800px;
    
    /* Removed Glassmorphism Properties */
    background: transparent; 
    backdrop-filter: none;      
    -webkit-backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.carousel-caption h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    /* Enhanced text-shadow for readability without background box */
    text-shadow: 0 4px 8px rgba(0,0,0,0.6);
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    /* Enhanced text-shadow for readability without background box */
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* Services Grid */
.services-grid-section { background-color: var(--background-light-gray); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background: var(--white);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-width: 0; 
}
.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 6px;
}

.service-item p {
    flex-grow: 1;
}

.service-item .service-cta {
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--pluton-accent-blue);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(17, 182, 247, 0.12);
    transition: transform 0.15s ease;
    margin-top: 20px;
}

.service-item .service-cta:hover {
    transform: translateY(-2px);
    color: #fff;
}

.service-item h3,
.service-item p {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    text-align: center;
}

/* About Snapshot Section */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-snapshot-section img {
    border-radius: 10px;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}
.cta-section h2 {
    color: var(--white);
}
.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-blue);
    font-weight: 600;
}
.cta-section .btn-primary:hover {
    background-color: var(--background-light-gray);
}

/* New Styles (Testimonials, Clients, Brands) */
.bg-light-alt { background:#f4f6f8; }
.bg-contrast { background:#061124; color:#fff; }
.bg-contrast h2, .bg-contrast p { color: #fff; }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}
.why-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}
.why-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
.why-card h3 {
    font-size: 1.3rem;
}

.testimonials {
    background: var(--primary-dark-gray);
    color: #ccc;
}
.testimonials h2, .testimonials p {
    color: var(--white);
}
.testimonial-slider {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.testimonial {
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}
.testimonial .quote {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.testimonial .client {
    font-weight: 600;
    color: var(--primary-blue);
}
.testimonial-dots {
    text-align: center;
    margin-top: 20px;
}
.testimonial-dots button {
    background: rgba(255, 255, 255, 0.3);
    border: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.testimonial-dots button.active {
    background: var(--white);
}
.testimonial-dots button:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Client Marquee Section */
.client-marquee {
    overflow: hidden;
    position: relative;
    padding: 16px 0;
    background: var(--white);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    will-change: transform;
}
.marquee-group {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 0 30px;
    flex-shrink: 0;
}

.marquee-group img {
    height: 100px;
    max-width: 200px;
    object-fit: contain;
    display: block;
    filter: none; 
    opacity: 1; 
    transition: transform 0.3s ease;
}
.marquee-group img:hover {
    transform: scale(1.05); 
}

/* Brands Row Section */
.brands-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 12px 0;
}

.brands-row img {
    height: 80px;
    max-width: 150px;
    object-fit: contain;
    display: block;
    filter: none; 
    opacity: 1;
    transition: transform 0.3s ease;
}
.brands-row img:hover {
    transform: scale(1.05);
}

/* Pluton Footer Modifications */
.footer-logo {
    max-width: 160px;
    height: auto;
    display: block;
    margin-bottom: 12px;
}

.pluton-footer-bottom {
    background: #080808;
    color: #a0a0a0;
    padding: 14px 0;
}

.pluton-footer-bottom .footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.pluton-footer-bottom p {
    margin: 0;
}

.pluton-footer-bottom a {
    color: #a0a0a0;
    margin-left: 20px;
}

.pluton-footer-bottom a:hover {
    color: var(--white);
}

#main-footer>.footer-bottom {
    display: none;
}


/* =========================================
   RESPONSIVE STYLES
   ========================================= */

@media (max-width: 1024px) {
    .header-container { height: 80px; }
    .main-nav { 
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    .main-nav li {
        margin: 0;
        text-align: center;
    }
    .main-nav a {
        display: block;
        padding: 15px;
    }
    .dropdown-content, .mega-menu-content {
        position: static;
        box-shadow: none;
        background-color: #f9f9f9;
        display: none;
        width: 100%;
        transform: none;
    }
    .dropdown-content, .mega-menu-content {
        transition: none !important;
    }
    .dropdown.open .dropdown-content {
        display: block;
    }
    .dropdown.open .mega-menu-content {
        display: flex;
    }
    .mega-menu-content {
        flex-direction: column;
        padding: 0;
    }
    .mega-menu-column {
        width: 100%;
        padding: 0;
    }
    #mobile-menu-toggle { display: block; }
    
    .hero-carousel-section { height: 700px; }
    .carousel-caption h1 { font-size: 2.5rem; }

    .two-column-layout { grid-template-columns: 1fr; }
    .about-snapshot-section .column-left { order: 2; }
    .about-snapshot-section .column-right { order: 1; }
    
    .services-grid { grid-template-columns: repeat(2,1fr); }
    .why-grid { grid-template-columns: repeat(2,1fr); }

    .header-social { display: none; }
    .main-nav .mobile-socials {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            padding: 14px 0;
            border-top: 1px solid #eee;
            margin-top: 10px;
    }
    .main-nav .mobile-socials a {
        margin: 0 10px;
        font-size: 1.2rem;
        color: var(--primary-dark-gray);
    }
}

@media (max-width: 768px) {
    /* --- MOBILE HERO OPTIMIZATIONS (2026) --- */
    
    /* 1. Dynamic Full Screen Height */
    /* UPDATED: Forced to 380px as requested for 720x380 mobile banner spec */
    .hero-carousel-section { 
        height: 380px; 
        min-height: 380px;
    }

    /* 2. Optimized Caption Box */
    .carousel-caption {
        width: 90%;
        max-width: none;
        /* Adjusted padding/margin for the tighter 380px height */
        padding: 20px 15px;
        
        /* Modern Clean Look (Glassmorphism Removed) */
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        border-radius: 0;
    }

    /* 3. Typography Scaling */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .carousel-caption h1 {
        font-size: 1.4rem; /* Scaled down for 380px height */
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .carousel-caption p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1rem;
        opacity: 0.95;
        /* Ellipsis for long text to prevent overflow */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 4. Thumb-Friendly Button */
    .carousel-caption .btn {
        width: auto; 
        min-width: 140px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* --- End Hero Optimizations --- */

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { margin-top: 10px; }
    .footer-bottom-links a { margin: 0 10px; }

    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }

    .marquee-group img { height: 70px; }
    .brands-row img { height: 60px; }
    
    .service-item {
        padding: 30px;
    }

    .pluton-footer-bottom .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .pluton-footer-bottom .footer-bottom-links {
        margin-top: 10px;
    }
}