/* Color Palette */
:root {
    --primary-dark: #1A237E; /* Deep Indigo Blue - Professional Base */
    --accent-yellow: #FFD54F; /* Vibrant Golden Yellow - Energy, CTA Primary */
    --accent-teal: #00BCD4; /* Cyan/Aqua - Modern, Tech Accent */
    --accent-orange: #EF6C00; /* Warm Orange - Contrast/Secondary Highlight */
    --text-dark: #263238; /* Dark Slate Text */
    --light-bg: #F5F8FA; /* Very light blue-gray background */
    --white: #ffffff;
}

/* Base Styles & Global Transitions */
* {
    box-sizing: border-box;
    /* Reset margins and padding for all elements to prevent unexpected gaps */
    margin: 0; 
    padding: 0;
}

html, body {
    /* Critical Fixes for edge-to-edge mobile view */
    width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Ensure all sections start far enough down to clear the desktop header */
.section {
    padding: 100px 20px;
    max-width: 1300px;
    margin: auto;
}

/* --- Sticky Header Content Buffer --- */
/* Add top padding to the first main section to prevent overlap with the sticky header */
#about {
    padding-top: calc(100px + 80px); /* 100px standard section padding + 80px header height */
}

.section-title {
    font-size: 3.2em;
    font-weight: 800;
    text-align: center;
    margin-bottom: 70px;
    color: var(--primary-dark);
    position: relative;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 6px;
    background: var(--accent-yellow);
    margin: 15px auto 0;
    border-radius: 3px;
}

/* --- Scroll Reveal Animations (Initial Hidden State) --- */
[data-animate] {
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 0.5, 0.1, 1);
}

[data-animate].animated {
    opacity: 1;
    transform: none !important;
}

[data-animate="fade-up"] { transform: translateY(50px); }
[data-animate="fade-right"] { transform: translateX(-50px); }
[data-animate="fade-left"] { transform: translateX(50px); }
[data-animate="slide-up"] { transform: translateY(40px); }
[data-animate="slide-right"] { transform: translateX(-40px); }
/* Custom delay for staggered animation */
.animated[style*="--delay"] { transition-delay: var(--delay); }


/* --- Header & Navigation (Desktop Default) --- */
.header {
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    transition: all 0.3s ease;
    height: 80px; /* Base header height for desktop */
}

.header.sticky {
    padding: 5px 40px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    height: 70px;
}

.logo img {
    height: 60px;
    transition: all 0.3s;
}

.header.sticky .logo img {
    height: 50px;
}

.navbar ul {
    list-style: none;
    display: flex;
}

.navbar a {
    text-decoration: none;
    color: var(--text-dark);
    padding: 20px 15px;
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}

.navbar a:hover, .navbar a.active {
    color: var(--accent-teal);
}

.header-cta {
    background-color: var(--accent-yellow);
    color: var(--primary-dark);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.header-cta:hover {
    background-color: var(--accent-orange);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hide mobile elements on desktop, Show desktop elements */
.menu-toggle-btn, .mobile-menu-overlay, .mobile-cta {
    display: none;
}
.navbar, .desktop-cta {
    display: flex;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* On desktop, push content below the default header height */
    margin-top: 80px; 
    height: calc(100vh - 80px); 
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s ease-out; /* Slow zoom effect on background */
    transform: scale(1.05);
}

.slide.active-slide {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); 
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
}

.nav-dot {
    height: 14px;
    width: 14px;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.nav-dot.active {
    background-color: var(--accent-yellow);
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5);
}

/* --- About Us Section --- */
.about-section {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: center;
    text-align: left;
}

.about-content h3 {
    color: var(--accent-teal);
    font-size: 2em;
    margin-bottom: 25px;
    border-left: 5px solid var(--accent-yellow);
    padding-left: 20px;
}

.about-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555;
}

.secondary-cta {
    display: inline-block;
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--accent-yellow);
    padding-bottom: 5px;
    transition: color 0.3s;
}

.secondary-cta:hover {
    color: var(--accent-orange);
}

.about-image-card {
    background-color: var(--primary-dark);
    padding: 15px;
    border-radius: 12px;
    transform: rotate(3deg); /* Asymmetrical design touch */
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.2);
}

.about-image-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transform: rotate(-3deg);
    transition: transform 0.3s;
}

.about-image-card:hover img {
    transform: scale(1.03) rotate(-3deg);
}

/* --- Why Choose Us Section --- */
.why-us-section {
    background-color: var(--light-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-top: 5px solid var(--primary-dark);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3.5em;
    color: var(--accent-yellow);
    margin-bottom: 20px;
    transition: color 0.3s;
}

.feature-card:hover .feature-icon {
    color: var(--accent-orange);
}

.feature-card h4 {
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--primary-dark);
}


/* --- Services Section (Tabs) --- */
.services-section {
    background-color: var(--white);
}

.service-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
}

.tab-button {
    background-color: var(--light-bg);
    color: var(--text-dark);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.tab-button:hover {
    background-color: var(--accent-yellow);
}

.tab-button.active {
    background-color: var(--primary-dark);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.5); /* Using primary dark shade */
}

.service-tab-content {
    display: none;
    padding: 40px;
    border: 1px solid #ddd;
    border-radius: 12px;
    text-align: left;
    background-color: var(--light-bg);
}

.service-tab-content.active {
    display: block;
}

.service-tab-content h3 {
    color: var(--accent-teal);
    font-size: 2.2em;
    margin-bottom: 20px;
}

.content-detail-grid {
    display: grid;
    grid-template-columns: 1fr 3fr; 
    gap: 40px; 
    align-items: start;
}

.content-detail-grid img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.text-and-list {
    display: flex;
    flex-direction: column;
}

.text-and-list p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333;
}

.text-and-list ul {
    list-style: none;
    padding: 0;
}

.text-and-list li {
    padding: 5px 0;
    font-weight: 500;
    color: #555;
    font-size: 1.05em;
}

.text-and-list li i {
    color: var(--accent-orange);
    margin-right: 10px;
}

/* --- Product Categories Section --- */
.categories-section {
    background-color: var(--primary-dark);
    color: white;
}
.categories-section .section-title {
    color: var(--white);
}
.categories-section .section-title::after {
    background: var(--accent-orange);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: #3f51b5; /* Slightly lighter Indigo */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border-bottom: 5px solid var(--accent-yellow);
    transition: transform 0.3s, background-color 0.3s;
}

.category-card:hover {
    transform: scale(1.05);
    background-color: var(--accent-teal);
}

.category-card i {
    font-size: 3em;
    color: var(--accent-yellow);
    margin-bottom: 15px;
}

.category-card h4 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.category-card p {
    font-weight: 300;
    margin-bottom: 20px;
    color: #ccc;
}

.category-card a {
    display: inline-block;
    color: var(--accent-yellow);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--accent-yellow);
    padding: 5px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.category-card a:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-dark);
}

/* --- Brands Section --- */
.brands-section {
    background-color: var(--white);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    padding: 40px 0;
}

.brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px; /* Reduced padding for more logos */
    height: 100px; /* Fixed height for consistent display */
}

.brand-card img {
    max-width: 100%;
    max-height: 100%; /* Ensure images fit within the fixed height */
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s;
}

.brand-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--primary-dark);
    color: var(--white);
}
.contact-section .section-title {
    color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: stretch;
}

.contact-form-container {
    /* Form is self-contained */
}

.contact-form {
    background-color: #3f51b5; /* Slightly lighter Indigo */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form h3 {
    color: var(--accent-yellow);
    margin-bottom: 10px;
}

.contact-form p {
    margin-bottom: 25px;
    font-weight: 300;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
}

.submit-btn {
    background-color: var(--accent-orange);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background-color: #e64a19;
}

.contact-details-map {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info {
    background-color: #3f51b5; /* Slightly lighter Indigo */
    padding: 30px;
    border-radius: 12px;
}

.contact-info h3 {
    color: var(--accent-teal);
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1em;
    margin-bottom: 15px;
    font-weight: 300;
}

.contact-info i {
    color: var(--accent-yellow);
    margin-right: 15px;
}

.whatsapp-btn {
    display: inline-block;
    background-color: #25d366;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 250px;
    border: none;
    border-radius: 12px;
}

/* --- Footer --- */
.footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 50px 20px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1280px;
    margin: 0 auto 30px auto;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #333;
}

.footer-col h4 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 0.9em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--accent-yellow);
}

.social-icons {
    /* Use the new colors for hover effect */
}

.social-icons a {
    color: white;
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-orange);
}

.copyright {
    text-align: center;
    font-size: 0.85em;
    color: #777;
}

/* --- MOBILE MENU OVERLAY STYLES --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    transform: translateX(100%); /* Start off-screen */
    transition: transform 0.4s ease-in-out;
}

.mobile-menu-overlay.open {
    transform: translateX(0);
}

.close-menu-btn {
    align-self: flex-end;
    font-size: 2.5em;
    color: var(--white);
    background: transparent;
    border: none;
    cursor: pointer;
    margin-bottom: 40px;
}

.mobile-navbar ul {
    list-style: none;
    text-align: center;
    margin-bottom: 40px;
}

.mobile-navbar ul a {
    display: block;
    color: var(--white);
    font-size: 1.8em;
    padding: 15px 0;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s;
}

.mobile-navbar ul a:hover {
    color: var(--accent-yellow);
}

.mobile-cta {
    display: block; /* Show on mobile menu */
    margin: 30px auto;
    font-size: 1.2em;
    padding: 15px 30px;
    background-color: var(--accent-teal);
    color: var(--primary-dark);
}


/* --- Responsive Design Adjustments --- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image-card {
        transform: none !important;
        order: -1;
    }
    .about-image-card img {
        transform: none !important;
    }
    /* Service Section Adjustments */
    .content-detail-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* --- HEADER FIX: Hamburger Layout --- */
    .header {
        /* Set minimum height and minimal padding to match premium mobile examples */
        height: 60px; 
        padding: 0 20px; /* Remove vertical padding */
    }
    
    .navbar, .desktop-cta {
        display: none; /* Hide desktop menu items completely */
    }

    .menu-toggle-btn {
        display: block; /* Show hamburger icon */
        background: none;
        border: none;
        font-size: 1.8em;
        color: var(--primary-dark);
        cursor: pointer;
        /* Center button vertically in the new 60px header */
        padding: 0;
        margin: 0;
    }

    /* Adjust Logo Size and Position */
    .logo img {
        height: 40px;
    }
    
    /* --- HERO IMAGE FIX: Full Screen Poster --- */
    .hero-section {
        /* CRITICAL FIX: Ensure full viewport height minus the fixed header height */
        margin-top: 60px; 
        height: calc(100vh - 60px); 
        width: 100%;
    }
    
    .slide {
        /* CRITICAL: Fills the entire container, enabling the full-screen poster effect */
        background-size: cover; 
        background-position: center center; 
        background-repeat: no-repeat;
    }
    
    /* --- CONTENT OVERLAP FIX --- */
    /* Adjust padding for the first main section to prevent content from hiding under the fixed header */
    #about {
        padding-top: calc(60px + 40px); /* Header height (60px) + a bit of extra padding (40px) */
    }

    /* General Typography Scaling */
    .section { padding: 60px 15px; }
    .section-title {
        font-size: 2.2em;
        margin-bottom: 40px;
    }

    /* Brands Section Fix */
    .brand-grid {
        gap: 20px;
    }
    .brand-card {
        padding: 5px;
        height: 80px; /* Smaller height on mobile */
    }
    .service-tabs {
        flex-direction: column;
    }
    .tab-button {
        padding: 12px 20px;
    }
    .contact-form { padding: 30px; }
}