/*
Theme Name: Summit Theme
Author: Pranav
Version: 1.0
*/

/* KEEP EVERYTHING BELOW EXACTLY SAME */
/* ========== RESET & GLOBAL ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0F5C3E;
    --primary-dark: #0A4630;
    --secondary: #2A9D8F;
    --accent: #E9C46A;
    --dark: #1A2A2F;
    --light: #F9FBFD;
    --gray: #6C757D;
    --white: #ffffff;
    --shadow-sm: 0 10px 30px -10px rgba(0,0,0,0.05);
    --shadow-hover: 0 10px 25px rgba(0,0,0,0.12);
    --border-radius-card: 28px;
    --transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #e9ecef; border-radius: 10px; }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 10px; }

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s;
}
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid var(--secondary);
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: rotation 0.8s linear infinite;
}
@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Typography */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-tag {
    display: inline-block;
    background: rgba(42,157,143,0.12);
    padding: 0.4rem 1.4rem;
    border-radius: 60px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    margin-bottom: 1.2rem;
    border: 1px solid rgba(42,157,143,0.2);
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 60px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 8px 20px rgba(15,92,62,0.2);
}
.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(15,92,62,0.3);
}
.btn-outline-light {
    background: transparent;
    border: 1.5px solid white;
    color: white;
    backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}
.btn-secondary {
    background: var(--secondary);
    color: white;
}
.btn-large {
    padding: 16px 38px;
    font-size: 1.1rem;
}

/* Floating Navbar */
.header {
    background: white; /* normal solid */
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1280px;
    border-radius: 80px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    z-index: 1000;
}
.header.scrolled {
    background: rgba(255,255,255,0.85);
}

@supports (backdrop-filter: blur(10px)) {
    .header.scrolled {
        backdrop-filter: blur(10px);
    }
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.8rem;
}
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}
.navbar-logo { 
    height: 45px; /* Keeps the navbar layout exactly the same */
    width: auto; 
    transform: scale(1.4); /* Visually magnifies the logo by 40% */
    transform-origin: left center; /* Ensures it grows to the right, not off the screen */
}
.company-brand .brand-main {
    font-weight: 800;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.brand-chinese { font-size: 0.7rem; color: var(--secondary); }
.nav {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}
.nav-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--primary);
    border-radius: 4px;
    transition: var(--transition);
    transform: translateX(-50%);
}
.nav-link.active::after, .nav-link:hover::after { width: 100%; }

.btn-nav-primary, .btn-nav-secondary {
    padding: 10px 22px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.btn-nav-primary {
    background: var(--primary);
    color: white;
}
.btn-nav-primary:hover { background: var(--secondary); transform: translateY(-2px);}
.btn-nav-secondary {
    border: 1.5px solid var(--primary);
    color: var(--primary);
}
/* ===============================
   MOBILE TOGGLE (FINAL FIX)
=============================== */

.mobile-toggle {
    display: none; /* hidden on desktop */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}

/* Hamburger lines */
.mobile-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* SHOW ONLY ON MOBILE */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;   /* 🔥 IMPORTANT */
        margin-left: auto;
        position: relative;
    }
}

/* ANIMATION (Hamburger → X) */
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 720px;
    position: relative;
}
.hero-overlay {
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 45, 35, 0.94) 0%, rgba(42, 157, 143, 0.88) 100%);
    display: flex;
    padding-top: 120px;
    align-items: center;
}

.hero-content { color: white; max-width: 750px; animation: fadeUp 0.8s ease; }
.hero-badge {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
    display: inline-block;
    padding: 0.5rem 1.4rem;
    border-radius: 60px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-content h1 { font-size: 4rem; margin-bottom: 1.2rem; }
.hero-content h1 .gradient-text {
    background: linear-gradient(135deg, #ffffff, #A7D7C5);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.hero-content p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; }
.stat span { font-weight: 800; font-size: 1.8rem; display: block; }
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(10px); } }

/* Products Grid */
.products { padding: 5rem 0; }
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 2rem;
}
.product-card {
    background: white;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
}
.product-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-hover); border-color: rgba(42,157,143,0.2); }
.card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s var(--transition); }
.product-card:hover .card-img img { transform: scale(1.08); }
.card-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.product-card h3 { padding: 1.5rem 1.2rem 0.2rem; font-size: 1.4rem; }
.product-card p { padding: 0 1.2rem; color: var(--gray); font-size: 0.95rem; }
.card-link {
    display: inline-block;
    margin: 1rem 1.2rem 1.5rem;
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.card-link:hover { color: var(--primary); padding-left: 5px; }

/* About Preview */
.about-preview { background: white; padding: 5rem 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 40px; box-shadow: var(--shadow-sm); }
.floating-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: white;
    padding: 1rem 1.8rem;
    border-radius: 60px;
    font-weight: 600;
    box-shadow: var(--shadow-hover);
    color: var(--primary);
}
.about-features { display: flex; gap: 1.8rem; margin: 1.8rem 0; flex-wrap: wrap; }
.about-features i { color: var(--secondary); margin-right: 8px; }

/* Stats Counter Section */
.stats-section {
    padding: 5rem 0;
    background: var(--light);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}
.stat-card:hover { transform: translateY(-8px); border-bottom-color: var(--secondary); box-shadow: var(--shadow-hover); }
.stat-card i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}
.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
}

/* Features Section */
.features { background: #F4F8F6; padding: 5rem 0; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 40px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.feature-icon { font-size: 2.8rem; color: var(--secondary); margin-bottom: 1.2rem; }

/* Client Strip */
.client-strip { background: white; padding: 3rem 0; text-align: center; border-top: 1px solid #eef2f0; border-bottom: 1px solid #eef2f0; }
.trusted-by { font-weight: 600; color: var(--gray); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem;}
.logo-cloud { display: flex; justify-content: center; gap: 3.5rem; flex-wrap: wrap; font-weight: 700; font-size: 1.2rem; color: var(--primary); opacity: 0.7; }

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 5rem 0;
}
.cta-inner h3 { font-size: 2.5rem; margin-bottom: 1rem; }

/* Footer */
.footer {
    background: #0F2A24;
    color: #CFD9D4;
    padding-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
}
.footer-brand h2 { color: white; margin-bottom: 0.8rem; }
.social-icons { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-icons a {
    background: rgba(255,255,255,0.1);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: white;
    text-decoration: none;
}
.social-icons a:hover { background: var(--secondary); transform: translateY(-3px); }
.footer-links a { display: block; color: #CFD9D4; text-decoration: none; margin: 0.8rem 0; transition: var(--transition); }
.footer-links a:hover { color: white; padding-left: 5px; }
.footer-contact p { margin: 0.8rem 0; display: flex; align-items: center; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding: 1.5rem 0; margin-top: 3rem; font-size: 0.9rem; }

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    background: var(--white);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    box-shadow: var(--shadow-sm);
    font-size: 1.2rem;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary); color: white; transform: translateY(-5px); }

/* WhatsApp */
.whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    z-index: 99;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.whatsapp:hover { transform: translateY(-3px) scale(1.05); box-shadow: var(--shadow-hover); }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .mobile-toggle { display: flex;
     position: relative;
     margin-left: auto;}

    .nav {
        position: fixed;
        top: 80px;
        left: 20px;
        width: calc(100% - 40px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        border-radius: 24px;
        box-shadow: var(--shadow-hover);

        /* NEW ANIMATION */
        transform: translateY(-20px) scale(0.95);
        opacity: 0;
        visibility: hidden;

        transition: all 0.35s ease;
        z-index: 999;
    }

    .nav.active {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
    }
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
/* =========================================================
   INTERNAL PAGES FIXES (Blog, Contact, Products, About)
========================================================= */

/* 1. Fix for Headings Hiding Behind Navbar */
.page-hero {
    padding: 160px 0 60px; /* 160px pushes it well below the floating navbar */
    text-align: center;
    background: linear-gradient(to bottom, rgba(42, 157, 143, 0.05) 0%, transparent 100%);
    border-bottom: 1px solid rgba(42, 157, 143, 0.1);
    margin-bottom: 3rem;
}
.page-hero h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.page-hero p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 2. Contact Page Fixes (Orientation & Form) */
.contact-section { 
    padding: 2rem 0 5rem; 
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}
.info-box {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}
.info-box:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-hover); 
    border-color: rgba(42, 157, 143, 0.2);
}
.info-box i { 
    font-size: 1.8rem; 
    color: var(--secondary); 
    margin-top: 5px;
}
.info-box h4 { margin-bottom: 0.3rem; color: var(--primary); }
.info-box p { color: var(--gray); font-size: 0.95rem; }
.office-hours { 
    margin-top: 2rem; 
    padding-left: 1.5rem;
    font-weight: 600; 
    color: var(--primary); 
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
}
.form-group { margin-bottom: 1.5rem; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #FAFCFB;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: white;
    box-shadow: 0 0 0 4px rgba(42,157,143,0.1);
}
.w-full { width: 100%; justify-content: center; }
.form-note { font-size: 0.85rem; color: var(--gray); text-align: center; margin-top: 1rem; }

.map-section { padding-bottom: 5rem; }
.map-placeholder {
    background: #eef2f0;
    height: 350px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-align: center;
    padding: 2rem;
    border: 2px dashed rgba(42, 157, 143, 0.2);
}
.map-placeholder i { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; }


/* 3. About Page Fixes (Structure, Margins, Mission/Vision) */
.about-section { padding: 4rem 0 6rem; }
.milestone-list { 
    margin-top: 2.5rem; 
    display: flex; 
    flex-direction: column; 
    gap: 1.2rem; 
}
.milestone-list div { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    font-weight: 600; 
    color: var(--primary);
}
.milestone-list i { 
    color: var(--secondary); 
    font-size: 1.2rem; 
    background: rgba(42, 157, 143, 0.1);
    padding: 10px;
    border-radius: 50%;
}

.mission-section { 
    padding: 6rem 0; 
    background: var(--primary-dark); /* Dark green background */
    color: white; 
    margin: 2rem 0;
}
.mission-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 3rem; 
}
.mission-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}
.mission-card:hover { 
    transform: translateY(-10px); 
    background: rgba(255,255,255,0.08); 
    border-color: rgba(255,255,255,0.3);
}
.mission-icon { font-size: 3rem; color: var(--accent); margin-bottom: 1.5rem; }
.mission-card h3 { color: white; margin-bottom: 1rem; font-size: 1.8rem; }
.mission-card p { opacity: 0.85; line-height: 1.8; }

.values-section { padding: 5rem 0; }
.values-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 2rem; 
    margin-top: 3rem;
}
.value-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}
.value-card:hover { 
    transform: translateY(-10px); 
    box-shadow: var(--shadow-hover); 
    border-color: rgba(42, 157, 143, 0.2); 
}
.value-card i { 
    font-size: 2.5rem; 
    color: var(--secondary); 
    margin-bottom: 1.5rem; 
    background: rgba(42, 157, 143, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
}
.value-card h3 { color: var(--primary); margin-bottom: 1rem; font-size: 1.3rem; }
.value-card p { color: var(--gray); font-size: 0.95rem; }


/* Mobile Responsiveness for these new sections */
@media (max-width: 768px) {
    .page-hero { padding: 130px 0 40px; }
    .page-hero h1 { font-size: 2.2rem; }
    .contact-grid, .mission-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-form { padding: 2rem; }
}
/* =========================================================
   MOBILE VIEW FIXES (Logo & Hero Overlap)
========================================================= */
@media (max-width: 768px) {
    /* 1. Fix the squeezed logo */
    .navbar-logo {
        height: 38px !important; /* Scale down slightly for mobile */
        width: auto !important;
        max-width: 180px; /* Prevent it from pushing the menu icon out */
        object-fit: contain; /* Stops the image from distorting */
        transform: none; /* Remove the desktop scaling for mobile */
    }
    
    /* Hide the extra HTML text brand on mobile to save space */
    /* (Your image logo already has the company name in it) */
    .company-brand {
        display: none !important;
    }
    
    .logo-wrapper {
        max-width: 75%;
         overflow: hidden;
    }

    /* 2. Fix the Hero content cutting off at the top */
    .hero {
        height: auto !important; /* Remove locked 100vh so content can breathe */
        min-height: 100vh;
    }
    
    .hero-overlay {
        padding-top: 130px !important; /* Push content well below the navbar */
        padding-bottom: 60px;
        align-items: flex-start !important; /* Prevent flex-center from hiding top content */
    }
    
    .hero-content {
        margin-top: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem !important; /* Slightly tighter heading for mobile readability */
        line-height: 1.15;
    }
    
    .hero-badge {
        white-space: normal; /* Allows the badge to wrap if it's too long */
        line-height: 1.4;
    }
}
/* =========================================================
   MOBILE ZOOM / HORIZONTAL OVERFLOW FIX
========================================================= */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Ensure the main wrapper also clips AOS animations */
main {
    overflow-x: hidden;
    width: 100%;
}
/* =========================================================
   ABOUT PAGE WHITE SPACE & OVERLAY FIX
========================================================= */
.hero {
    display: flex;
    flex-direction: column;
}

.hero-overlay {
    flex: 1; /* Forces the green gradient to always stretch the full height of the container */
    width: 100%;
}

/* The About Page hero doesn't need to be a full screen tall */
.about-hero {
    height: auto !important;
    min-height: auto !important;
}

@media (max-width: 768px) {
    .about-hero .hero-overlay {
        padding-bottom: 80px !important; /* Adds clean breathing room at the bottom */
    }
}

/* 🔥 FORCE FAILSAFE */
.preloader {
    animation: hideLoader 2s forwards;
}

@keyframes hideLoader {
    to {
        opacity: 0;
        visibility: hidden;
        display: none;
    }
}
/* =========================================================
   CATEGORY PRODUCT CARDS UI FIX
========================================================= */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Makes all cards in the grid the exact same height */
    background: white;
}

.product-card .card-content {
    padding: 1.5rem 1.5rem 1rem;
    flex-grow: 1; /* Pushes the footer down to the bottom */
}

.product-card h3 { 
    padding: 0;
    margin-bottom: 0.5rem;
}

.product-card p { 
    padding: 0;
    margin: 0;
}

.product-card .card-footer {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Space between price and button */
}

.product-card .price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.product-card .card-btn {
    text-align: center;
    justify-content: center;
    width: 100%;
    padding: 12px 0;
    font-size: 0.95rem;
    border-radius: 12px; /* Makes the button look sleek and modern */
}
/* =========================================================
   SINGLE PRODUCT PAGE UI
========================================================= */
.single-product-section {
    margin-top: -2rem; 
}

.single-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center; 
    background: white;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
}

/* Image styling */
.single-product-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    background: #FAFCFB; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    border: 1px solid rgba(0,0,0,0.04);
}

.single-product-img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain; 
    border-radius: 10px;
    transition: transform 0.4s ease;
}

.single-product-img:hover {
    transform: scale(1.05); 
}

/* Text & Button Styling */
.single-product-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.single-product-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.single-product-description {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.single-product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-outline-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 60px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid #e9ecef;
    color: var(--gray);
    background: transparent;
}

.btn-outline-secondary:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .single-product-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem;
    }
    .single-product-title {
        font-size: 2rem;
    }
    .single-product-image-wrapper {
        padding: 1.5rem;
    }
}
.footer-logo {
    max-width: 220px;
    height: auto;
    margin-bottom: 15px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* Blog Hero */
.blog-hero {
    height: 70vh;
}

/* Blog Section spacing */
.blog-section {
    padding-top: 80px;
}

/* Ensure images fit like product cards */
.product-card .card-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}
.product-card,
.feature-card,
.stat-card,
.btn,
.nav-link {
    will-change: transform;
}
/* =========================================================
   BULLETPROOF SOCIAL ICON HOVERS
========================================================= */
/* Base styles for the circles */
.footer .social-icons a {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #CFD9D4;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Base styles for the icons */
.footer .social-icons a i, 
.footer .social-icons a svg {
    transition: color 0.3s ease, fill 0.3s ease !important;
}

/* --- YOUTUBE HOVER --- */
.footer .social-icons a.hover-yt:hover {
    background: #FF0000 !important;
    border-color: #FF0000 !important;
    transform: translateY(-5px) scale(1.1) !important;
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.4) !important;
}

/* Force the YouTube icon white on hover */
.footer .social-icons a.hover-yt:hover i,
.footer .social-icons a.hover-yt:hover svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* --- FACEBOOK HOVER --- */
.footer .social-icons a.hover-fb:hover {
    background: #1877F2 !important;
    border-color: #1877F2 !important;
    transform: translateY(-5px) scale(1.1) !important;
    box-shadow: 0 10px 20px rgba(24, 119, 242, 0.4) !important;
}

/* Force the Facebook icon white on hover */
.footer .social-icons a.hover-fb:hover i,
.footer .social-icons a.hover-fb:hover svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}
/* --- INSTAGRAM HOVER --- */
.footer .social-icons a.hover-ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    border-color: transparent !important;
    transform: translateY(-5px) scale(1.1) !important;
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.4) !important; /* Soft pink/red shadow to match the gradient */
}

/* Force the Instagram icon white on hover */
.footer .social-icons a.hover-ig:hover i,
.footer .social-icons a.hover-ig:hover svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}