body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    max-width: 600px;
    margin: auto;
    border-radius: 10px;
}

h2 {
    font-weight: 600;
}

.btn-primary {
    background-color: #004080;
    border: none;
}

.btn-primary:hover {
    background-color: #003366;
}
/* --- Flash Messages --- */
    .flash-container {
        width: 100%;
        max-width: 650px;
        margin: 0 auto 20px auto;
    }
    .alert {
        padding: 15px 20px;
        border-radius: 10px;
        margin-bottom: 15px;
        font-weight: 600;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        animation: slideDown 0.5s ease forwards;
    }
    .alert-success { 
        background: rgba(110, 231, 183, 0.15); 
        border: 1px solid var(--secondary-accent); 
        color: #6ee7b7; 
    }
    .alert-danger { 
        background: rgba(255, 100, 100, 0.15); 
        border: 1px solid #ff6464; 
        color: #ffadad; 
    }
    .alert-warning { 
        background: rgba(246, 239, 176, 0.15); 
        border: 1px solid var(--gold-accent); 
        color: var(--gold-accent); 
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

   
        /* --- THEME VARIABLES --- */
        /* DEFAULT: LIGHT MODE */
        :root {
            --primary-color: #4f8cff;
            --accent-glow: rgba(79, 140, 255, 0.2);
            --bg-deep: #f8f9fa; /* Light background */
            --card-bg: #ffffff;
            --card-border: rgba(0, 0, 0, 0.08);
            --text-main: #1a1a1a;
            --text-sub: #555555;
            --gold-accent: #d4a017; /* Darker gold for visibility on white */
            --nav-bg: rgba(255, 255, 255, 0.9);
            --section-bg-alt: rgba(0,0,0,0.02);
            --canvas-opacity: 0; /* Hide stars in light mode */
        }

        /* DARK MODE (The Original Theme) */
        [data-theme="dark"] {
            --primary-color: #4f8cff;
            --accent-glow: rgba(79, 140, 255, 0.4);
            --bg-deep: #050505;
            --card-bg: rgba(20, 20, 25, 0.7);
            --card-border: rgba(255, 255, 255, 0.1);
            --text-main: #ffffff;
            --text-sub: #a0a0a0;
            --gold-accent: #f6efb0;
            --nav-bg: rgba(5, 5, 5, 0.8);
            --section-bg-alt: rgba(255,255,255,0.02);
            --canvas-opacity: 1;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-deep);
            color: var(--text-main);
            line-height: 1.6;
            overflow-x: hidden;
            scroll-behavior: smooth;
            transition: background 0.3s ease, color 0.3s ease;
        }

        #bg-canvas { 
            position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; 
            opacity: var(--canvas-opacity);
            transition: opacity 0.5s ease;
            pointer-events: none;
        }

        /* --- Navigation --- */
        header {
            position: fixed; top: 0; width: 100%; height: 80px;
            background: var(--nav-bg);
            backdrop-filter: blur(20px);
            display: flex; align-items: center; justify-content: space-between;
            padding: 0 5%; z-index: 1000;
            border-bottom: 1px solid var(--card-border);
            transition: background 0.3s ease;
        }

        .logo-box { display: flex; align-items: center; gap: 12px; text-decoration: none; }
        .logo-img { height: 40px; width: auto; }
        .header-title {
            font-family: 'Outfit', sans-serif; font-weight: 700;
            color: var(--text-main); font-size: 1.2rem; letter-spacing: 0.5px;
        }

        .nav-links { display: flex; gap: 35px; list-style: none; }
        .nav-links a {
            color: var(--text-sub); text-decoration: none; font-size: 0.85rem;
            font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
            transition: 0.3s; cursor: pointer;
        }
        .nav-links a:hover { color: var(--primary-color); }

        /* Theme Toggle Button */
        .theme-toggle {
            background: transparent;
            border: 1px solid var(--card-border);
            color: var(--text-main);
            width: 40px; height: 40px;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer;
            transition: 0.3s;
            margin-right: 15px;
        }
        .theme-toggle:hover {
            background: var(--card-bg);
            border-color: var(--primary-color);
        }

        /* --- Hero Section --- */
        #home {
            min-height: 100vh; display: flex; flex-direction: column;
            justify-content: center; align-items: center; text-align: center;
            padding: 0 5%;
        }

        .hero-badge {
            background: rgba(79, 140, 255, 0.1);
            border: 1px solid var(--primary-color);
            color: var(--primary-color);
            padding: 6px 16px; border-radius: 50px;
            font-size: 0.8rem; font-weight: 700; margin-bottom: 20px;
            text-transform: uppercase; letter-spacing: 2px;
        }

  


        #home p { font-size: 1.2rem; color: var(--text-sub); max-width: 800px; margin-bottom: 40px; }

        .stats-bar {
            margin-top: 60px; display: flex; gap: 60px;
            padding: 20px 40px; background: var(--card-bg);
            border-radius: 20px; border: 1px solid var(--card-border);
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        }
        .stat-item strong { display: block; font-size: 1.8rem; color: var(--gold-accent); font-family: 'Outfit'; }
        .stat-item span { font-size: 0.8rem; color: var(--text-sub); text-transform: uppercase; }

        /* --- Sections General --- */
        section { padding: 100px 8%; }
        .section-header { text-align: center; margin-bottom: 60px; }
        .section-title { font-family: 'Outfit', sans-serif; font-size: 2.5rem; margin-bottom: 15px; }
        .section-subtitle { color: var(--text-sub); max-width: 700px; margin: 0 auto; }

        /* --- Bento Grid Services (PC: Single Row) --- */
        .services-grid {
            display: grid; 
            grid-template-columns: repeat(4, 1fr); 
            gap: 20px;
        }

        .service-card {
            background: var(--card-bg); border: 1px solid var(--card-border);
            padding: 30px; border-radius: 24px; transition: 0.4s;
            display: flex; flex-direction: column;
            box-shadow: 0 4px 15px rgba(0,0,0,0.02);
        }
        .service-card:hover { 
            border-color: var(--primary-color); 
            background: rgba(79, 140, 255, 0.05);
            transform: translateY(-5px);
        }
        .service-card h3 { 
            font-family: 'Outfit', sans-serif; 
            font-size: 1.15rem; 
            margin-bottom: 12px; 
            color: var(--primary-color); 
        }
        .service-card > p {
            font-size: 0.85rem;
            margin-bottom: 15px;
        }
        .service-card ul { list-style: none; margin: 15px 0; flex-grow: 1; }
        .service-card li { 
            font-size: 0.82rem; 
            margin-bottom: 8px; 
            color: var(--text-sub); 
            display: flex; 
            align-items: center; 
            gap: 8px; 
        }
        .service-card li::before { content: '→'; color: var(--primary-color); font-weight: bold; }

        /* --- Why Us Section --- */
        .why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 40px; }
        .why-item { padding: 25px; background: var(--card-bg); border-radius: 15px; border: 1px solid var(--card-border); box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
        .why-item h4 { color: var(--gold-accent); margin-bottom: 10px; font-family: 'Outfit'; }
        .why-item p { font-size: 0.85rem; color: var(--text-sub); }



        /* --- Disclaimer Box --- */
        .disclaimer-box {
            background: rgba(255, 50, 50, 0.05); border: 1px solid rgba(255, 50, 50, 0.2);
            padding: 15px; border-radius: 12px; margin-top: 15px; font-size: 0.75rem; color: var(--text-sub);
        }

        /* --- Buttons --- */
        .btn-group { display: flex; gap: 15px; }
        .btn {
            padding: 16px 32px; border-radius: 12px; font-weight: 700;
            text-decoration: none; transition: 0.3s; cursor: pointer; font-size: 0.9rem;
            display: inline-flex; align-items: center; justify-content: center;
        }
        .btn-primary { background: var(--primary-color); color: white; border: none; box-shadow: 0 10px 20px var(--accent-glow); }
        .btn-outline { border: 1px solid var(--card-border); color: var(--text-main); background: transparent; }
        .btn-primary:hover { transform: scale(1.02); opacity: 0.9; }
        .btn-outline:hover { background: var(--card-bg); border-color: var(--primary-color); }

        /* --- Forms --- */
        .contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
        .contact-info h3 { font-family: 'Outfit'; font-size: 1.6rem; margin-bottom: 15px; }
        .contact-info p { font-size: 0.9rem; }
        .contact-form-wrapper { 
            background: var(--card-bg); 
            padding: 30px; 
            border-radius: 24px; 
            border: 1px solid var(--card-border); 
            box-shadow: 0 4px 20px rgba(0,0,0,0.03);
        }
        .contact-form-wrapper h4 { font-size: 1.1rem; }
        .contact-form-wrapper > div > p { font-size: 0.85rem; }
        
        .form-group { margin-bottom: 20px; }
        label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text-sub); }
        input, textarea, span {
            width: 100%; padding: 14px; background: var(--section-bg-alt);
            border: 1px solid var(--card-border); border-radius: 10px; color: var(--text-main);
            font-family: inherit; transition: 0.3s;
        }
        input:focus, textarea:focus { outline: none; border-color: var(--primary-color); background: var(--card-bg); }

        /* --- Footer --- */
        footer { padding: 80px 8% 40px; border-top: 1px solid var(--card-border); background: #020202; color: white; }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 60px; }
        .footer-legal { font-size: 0.75rem; color: #555; border-top: 1px solid #111; padding-top: 30px; text-align: center; }

        .btn-google {
            background: #4f8cff !important;
            color: #3c4043 !important;
            border: 1px solid #dadce0 !important;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 12px 20px;
            box-shadow: 0 1px 3px rgba(3, 4, 28, 0.08);
            transition: background-color .2s, box-shadow .2s;
        }

        .btn-google:hover {
            background-color: #e4f2ff !important;
            box-shadow: 0 1px 3px 1px rgba(60,64,67,.15) !important;
            transform: translateY(-1px);
        }

        .btn-google img {
            width: 20px;
            height: 20px;
        }

        .btn-google span {
            font-size: 0.9rem;
        }
        /* --- Updated Hero Section Layout --- */
        #home {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 100px 8% 40px;
        }

        .hero-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 50px;
            width: 100%;
        }

        .hero-content {
            flex: 1;
            text-align: left;
        }

        .hero-image-box {
            flex: 1;
            display: flex;
            justify-content: flex-end;
        }

        .hero-image-box img {
            width: 90%;
            border-radius: 30px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            border: 1px solid var(--card-border);
        }

        .hero-badge {
            display: inline-block;
            background: rgba(79, 140, 255, 0.1);
            border: 1px solid var(--primary-color);
            color: var(--primary-color);
            padding: 6px 16px; border-radius: 50px;
            font-size: 0.8rem; font-weight: 700; margin-bottom: 20px;
            text-transform: uppercase; letter-spacing: 2px;
        }

        #home h1 {
            font-family: 'Outfit', sans-serif; font-size: clamp(2.2rem, 5vw, 4rem);
            font-weight: 900; line-height: 1.1; margin-bottom: 25px;
            background: linear-gradient(135deg, var(--text-main) 30%, var(--primary-color));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }

        #home p { font-size: 1.1rem; color: var(--text-sub); max-width: 600px; margin-bottom: 40px; }

        .btn-group { display: flex; gap: 15px; }
        .btn {
            padding: 16px 32px; border-radius: 12px; font-weight: 700;
            text-decoration: none; transition: 0.3s; cursor: pointer; font-size: 0.9rem;
            display: inline-flex; align-items: center; justify-content: center;
        }
        .btn-primary { background: var(--primary-color); color: white; border: none; box-shadow: 0 10px 20px var(--accent-glow); }
        .btn-outline { border: 1px solid var(--card-border); color: var(--text-main); background: transparent; }

        .stats-bar {
            margin-top: 60px; display: flex; gap: 40px; width: fit-content;
            padding: 20px 40px; background: var(--card-bg);
            border-radius: 20px; border: 1px solid var(--card-border);
        }
        .stat-item strong { display: block; font-size: 1.6rem; color: var(--gold-accent); font-family: 'Outfit'; }
        .stat-item span { font-size: 0.7rem; color: var(--text-sub); text-transform: uppercase; }

        /* --- MOBILE OPTIMIZATION --- */
        @media (max-width: 768px) {
            .hero-container {
                flex-direction: column-reverse; /* Image top, content bottom */
                text-align: center;
                gap: 30px;
            }

            .hero-content {
                order: 2;
                text-align: center;
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .hero-image-box {
                order: 1; /* Image appears first in mobile */
                width: 100%;
                justify-content: center;
            }

            .hero-image-box img {
                max-width: 100%;
                border-radius: 20px;
            }

            #home {
                padding: 100px 5% 40px;
            }

            #home h1 { font-size: 2rem; }
            #home p { font-size: 0.95rem; margin-bottom: 25px; }

            .btn-group { flex-direction: column; width: 100%; }
            
            .stats-bar {
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: center;
                gap: 20px;
                padding: 15px;
            }
        }

        /* Essential shared styles for sections */
        section { padding: 80px 8%; }
        .section-header { text-align: center; margin-bottom: 60px; }
        .section-title { font-family: 'Outfit', sans-serif; font-size: 2.5rem; margin-bottom: 15px; }
        .section-subtitle { color: var(--text-sub); max-width: 700px; margin: 0 auto; }

        /* --- MOBILE OPTIMIZATION --- */
        @media (max-width: 768px) {
            /* Header Mobile */
            header {
                height: auto;
                flex-wrap: wrap;
                padding: 10px 4%;
                gap: 8px;
            }

            .logo-box {
                flex: 1;
                min-width: 140px;
            }

            .logo-img { height: 28px; }
            .header-title { font-size: 0.85rem; }

            .nav-links {
                order: 3;
                width: 100%;
                justify-content: center;
                gap: 12px;
                padding-top: 8px;
                border-top: 1px solid var(--card-border);
            }

            .nav-links a { font-size: 0.65rem; letter-spacing: 0.5px; }

            header .btn-primary {
                display: none;
            }
            
            /* Theme Toggle adjustment for mobile header */
            .theme-toggle {
                width: 30px; height: 30px;
                margin-right: 10px;
            }
            .theme-toggle svg { width: 16px; height: 16px; }

            /* Hero Mobile */
            #home {
                min-height: 85vh;
                padding: 90px 5% 40px;
            }

            #home h1 { font-size: 1.75rem; margin-bottom: 18px; }
            #home p { font-size: 0.95rem; margin-bottom: 25px; line-height: 1.5; }

            .hero-badge { font-size: 0.65rem; padding: 5px 12px; margin-bottom: 15px; }

            .btn-group {
                flex-direction: column;
                width: 100%;
                gap: 10px;
            }

            .btn {
                width: 100%;
                padding: 12px 20px;
                font-size: 0.8rem;
            }

            .stats-bar {
                flex-direction: column;
                gap: 15px;
                padding: 18px;
                margin-top: 35px;
            }

            .stat-item strong { font-size: 1.4rem; }
            .stat-item span { font-size: 0.65rem; }

            /* Sections Mobile */
            section { padding: 50px 5%; }

            .section-title { font-size: 1.6rem; }
            .section-subtitle { font-size: 0.85rem; line-height: 1.5; }

            /* Services Grid Mobile - Single Column */
            .services-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .service-card {
                padding: 18px;
            }

            .service-card h3 { font-size: 1rem; margin-bottom: 8px; }
            .service-card > p { font-size: 0.8rem; margin-bottom: 10px; line-height: 1.4; }
            .service-card li { font-size: 0.75rem; margin-bottom: 5px; }
            .disclaimer-box { font-size: 0.65rem; padding: 10px; }
            .service-card .btn { font-size: 0.75rem; padding: 10px 16px; }

            /* Why Us Mobile */
            .why-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .why-item {
                padding: 15px;
            }

            .why-item h4 { font-size: 0.95rem; margin-bottom: 6px; }
            .why-item p { font-size: 0.75rem; line-height: 1.4; }

            /* Industries Mobile */
            .industries-grid {
                grid-template-columns: 1fr;
            }
            .industry-card {
                padding: 20px;
            }
            .industry-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
            .industry-card p { font-size: 0.85rem; }


            /* Contact Mobile */
            .contact-container {
                grid-template-columns: 1fr;
                gap: 25px;
            }

            .contact-info h3 { font-size: 1.4rem; }
            .contact-info p { font-size: 0.85rem; line-height: 1.5; }
            .contact-info div { margin-bottom: 15px !important; }

            .contact-form-wrapper {
                padding: 20px;
            }

            .contact-form-wrapper h4 { font-size: 1rem; margin-bottom: 15px !important; }
            .contact-form-wrapper > div > p { font-size: 0.8rem; margin-bottom: 20px !important; }

            .form-group { margin-bottom: 12px; }
            
            label { font-size: 0.75rem; }
            
            input, textarea {
                padding: 10px;
                font-size: 0.85rem;
            }

            .btn-google {
                padding: 10px 16px;
            }

            .btn-google img {
                width: 18px;
                height: 18px;
            }

            .btn-google span {
                font-size: 0.8rem;
            }

            /* Footer Mobile */
            footer {
                padding: 40px 5% 25px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }

            .footer-grid h4 { font-size: 1rem; margin-bottom: 12px !important; }
            .footer-grid p, .footer-grid li { font-size: 0.75rem !important; }

            .footer-legal {
                font-size: 0.65rem;
                padding-top: 18px;
            }

            .footer-legal p { margin-top: 8px !important; }
        }

        /* Tablet Optimization */
        @media (min-width: 769px) and (max-width: 1024px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }

            .contact-container {
                grid-template-columns: 1fr;
            }
            
            .industries-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Large Desktop - Keep 4 columns */
        @media (min-width: 1400px) {
            .services-grid {
                gap: 25px;
            }

            .service-card {
                padding: 35px;
            }
        }
    /* --- About Us Layout Adjustments --- */
    .about-container {
        display: flex;
        align-items: center;
        gap: 60px;
        width: 100%;
    }

    .about-image-box {
        flex: 1;
        display: flex;
        justify-content: flex-start;
    }

    .about-image-box img {
        width: 100%;
        max-width: 500px;
        border-radius: 24px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
        border: 1px solid var(--card-border);
    }

    .about-text-content {
        flex: 1.2;
        text-align: left;
    }

    /* --- About Us Mobile Optimization --- */
    @media (max-width: 768px) {
        .about-container {
            flex-direction: column;
            gap: 30px;
            text-align: center;
        }

        .about-image-box {
            justify-content: center;
        }

        .about-text-content {
            text-align: center;
        }
        
        .why-grid {
            margin-top: 30px;
        }
    }   

    /* Container for the image and carousel */
.hero-image-box {
    display: flex;
    flex-direction: column;
    align-items: center; /* Keeps everything centered */
    position: relative;
}

.main-hero-img {
    width: 110%; /* The base width */
    display: block;
    border-radius: 12px;
}

/* The Carousel Wrapper */
.industry-carousel-wrapper {
    width: 100%; /* 10% wider than the image */
    margin-top: 20px; /* Space below the image */
    overflow: hidden; /* Hide the scrollbar if desired, or use 'auto' */
}

.industry-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 5px;
    scrollbar-width: none; /* Hides scrollbar on Firefox */
    scroll-behavior: smooth;
}

.industry-carousel::-webkit-scrollbar {
    display: none; /* Hides scrollbar on Chrome/Safari */
}

/* Individual Card Styling */
.carousel-item {
    flex: 0 0 calc(50% - 15px); /* Forces exactly 2 cards to show */
    scroll-snap-align: start;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-color, #f6efb0); /* Optional branding line */
}

.carousel-item h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.carousel-item p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #666;
    margin: 0;
}
    

/* --- PC VIEW FONT ENHANCEMENTS --- */
@media (min-width: 1025px) {
    
    /* 1. Industries Section (Carousel & Grid Modals) */
    .carousel-item h4, 
    .industry-card h4 {
        font-size: 1.35rem; /* Increased from 1.1rem */
        margin-bottom: 12px;
    }

    .carousel-item p, 
    .industry-card p {
        font-size: 1.05rem; /* Increased from 0.85rem */
        line-height: 1.6;
    }

    /* 2. About Us Section */
    .about-text-content p {
        font-size: 1.2rem; /* Increased from 1.1rem */
        line-height: 1.7;
    }

    .why-item h4 {
        font-size: 1.25rem;
    }

    .why-item p {
        font-size: 1rem; /* Increased from 0.85rem */
    }

    /* 3. Contact Section */
    .contact-info h3 {
        font-size: 2.2rem; /* Increased from 1.6rem */
        margin-bottom: 20px;
    }

    .contact-info p {
        font-size: 1.15rem; /* Increased from 0.9rem */
    }

    .contact-form-wrapper h4 {
        font-size: 1.3rem; /* Header inside the form box */
    }

    label {
        font-size: 1rem; /* Form labels like Name, Email */
        margin-bottom: 10px;
    }

    input, textarea {
        font-size: 1.05rem; /* Text inside the input fields */
    }

    /* Bonus: Section Titles for better PC balance */
    .section-title {
        font-size: 3rem; 
    }
}


/* ===================== Added content-rich sections ===================== */
.content-grid{
    width:min(1200px, 90%);
    margin: 0 auto;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.info-card{
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.05);
}

.info-card h3{ margin:0 0 8px 0; font-size:1.15rem; color: var(--text-main); }
.info-card p{ margin:0 0 14px 0; color: var(--text-sub); line-height:1.55; }

.tag-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top: 10px; }
.tag{
    display:inline-flex;
    align-items:center;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--card-border);
    background: rgba(79, 140, 255, 0.06);
    color: var(--text-main);
    font-size: 0.85rem;
}

.callout{
    width:min(1200px, 90%);
    margin: 28px auto 0 auto;
    padding: 28px;
    border-radius: 22px;
    border: 1px solid var(--card-border);
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.12), rgba(246, 239, 176, 0.08));
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 18px;
}
.callout h3{ margin:0; font-size:1.2rem; }
.callout p{ margin:6px 0 0 0; color: var(--text-sub); max-width: 780px; }

.case-grid{
    width:min(1200px, 90%);
    margin: 0 auto;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.case-card{
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.05);
}
.case-card h3{ margin: 10px 0 10px 0; }
.case-card p{ color: var(--text-sub); line-height:1.6; }
.case-card ul{ margin: 14px 0 0 18px; color: var(--text-sub); line-height:1.7; }
.case-meta{ display:flex; align-items:center; gap: 10px; }

.badge{
    display:inline-flex;
    align-items:center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--card-border);
    background: rgba(246, 239, 176, 0.10);
    color: var(--text-main);
    font-size: 0.82rem;
    font-weight: 600;
}
.muted{ color: var(--text-sub); font-size: 0.9rem; }

.note{
    width:min(1200px, 90%);
    margin: 22px auto 0 auto;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px dashed var(--card-border);
    background: var(--section-bg-alt);
    color: var(--text-sub);
    line-height:1.6;
}

.testimonial-grid{
    width:min(1200px, 90%);
    margin: 0 auto;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.testimonial-card{
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.05);
}
.quote{ margin:0; color: var(--text-main); line-height:1.7; font-size: 1rem; }
.quote-meta{ margin-top: 14px; display:flex; flex-direction:column; gap:4px; }

.mini-cta{
    width:min(1200px, 90%);
    margin: 24px auto 0 auto;
    padding: 24px;
    border-radius: 22px;
    border: 1px solid var(--card-border);
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.10), rgba(0,0,0,0));
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 16px;
}
.mini-cta h3{ margin:0; }
.mini-cta p{ margin: 6px 0 0 0; color: var(--text-sub); max-width: 780px; }

.faq-list{
    width:min(900px, 90%);
    margin: 0 auto;
    display:flex;
    flex-direction:column;
    gap: 14px;
}
.faq-item{
    border: 1px solid var(--card-border);
    border-radius: 18px;
    background: var(--card-bg);
    overflow:hidden;
}
.faq-q{
    width:100%;
    text-align:left;
    padding: 16px 18px;
    border:0;
    background: transparent;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.faq-q::after{
    content: "＋";
    font-size: 1.1rem;
    color: var(--text-sub);
}
.faq-item.open .faq-q::after{ content:"－"; }
.faq-a{
    max-height: 0;
    transition: max-height 0.25s ease;
}
.faq-a p{
    margin: 0;
    padding: 0 18px 16px 18px;
    color: var(--text-sub);
    line-height:1.6;
}
.faq-item.open .faq-a{ max-height: 220px; }

.resource-grid{
    width:min(1200px, 90%);
    margin: 0 auto;
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.resource-card{
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.05);
    display:flex;
    flex-direction:column;
    gap: 10px;
}
.resource-card h3{ margin:0; font-size:1.05rem; }
.resource-card p{ margin:0; color: var(--text-sub); line-height:1.6; flex:1; }

@media (max-width: 1000px){
    .content-grid{ grid-template-columns: repeat(2, 1fr); }
    .case-grid{ grid-template-columns: repeat(1, 1fr); }
    .testimonial-grid{ grid-template-columns: repeat(1, 1fr); }
    .resource-grid{ grid-template-columns: repeat(2, 1fr); }
    .callout, .mini-cta{ flex-direction:column; align-items:flex-start; }
}
@media (max-width: 600px){
    .content-grid{ grid-template-columns: 1fr; }
    .resource-grid{ grid-template-columns: 1fr; }
}
/* =================== End added sections =================== */

/* ===============================
   SERVICES DROPDOWN MENU
   =============================== */

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.dropdown {
    position: relative;
}

.dropbtn {
    cursor: pointer;
}

/* Hide dropdown by default */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--card-bg, #ffffff);
    border-radius: 14px;
    padding: 12px 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    display: none;
    z-index: 1000;
}


/* Show on hover (desktop) */
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

/* Dropdown links */
.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 22px;
    font-size: 0.85rem;
    color: var(--text-color, #111);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Hover effect */
.dropdown-menu li a:hover {
    background: rgba(79, 140, 255, 0.08);
    color: var(--primary-color);
}

/* Small arrow indicator */
.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    height: 14px;          /* hover bridge */
    width: 100%;
}


.dropdown-menu {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
}



/* =====================================
   SERVICE / CONTENT PAGES TYPOGRAPHY
   ===================================== */

.section-page {
    padding-top: 120px; /* clears fixed header */
}

.section-page .content-block {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-color);
    max-width: 900px;
}

/* Headings hierarchy */
.section-page h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-page h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.section-page h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.6rem;
}

/* Paragraph spacing */
.section-page p {
    margin-bottom: 1.4rem;
}

/* Lists */
.section-page ul {
    margin: 1rem 0 2rem 1.4rem;
}

.section-page li {
    margin-bottom: 0.6rem;
}

/* Subtitles under section header */
.section-page .section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    opacity: 0.85;
    margin-top: 0.5rem;
}




/* =====================================
   MOBILE SLIDE-IN NAV (REFINED)
   ===================================== */



/* Mobile layout */
@media (max-width: 900px) {

    /* Hide desktop nav */
    nav {
        display: none;
    }


.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;

    width: 60vw;

    background: var(--card-bg);
    box-shadow: -12px 0 30px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2000;

    padding: 80px 20px 30px;
}

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

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mobile-nav a {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-main);
    text-decoration: none;
}
/* =====================================
   MOBILE HAMBURGER (☰)
   ===================================== */

.mobile-nav-toggle {
    display: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-main);
    padding: 6px 10px;
    z-index: 2002;
    user-select: none;
}

    /* Disable desktop dropdown behavior on mobile */
    .dropdown-menu {
        position: static;
        display: block;
        box-shadow: none;
        padding-left: 12px;
    }
}
/* =====================================
   FORCE DESKTOP NAV OFF ON MOBILE
   ===================================== */
@media (max-width: 900px) {
    nav {
        display: none !important;
    }

    .nav-links {
        display: none !important;
    }
}
@media (max-width: 900px) {
    header {
        height: 64px;
        padding: 0 16px;
    }

    .logo-box {
        z-index: 2002;
    }

    .theme-toggle {
        z-index: 2002;
    }

    .mobile-nav-toggle {
        display: block;
        margin-left: 12px;
        z-index: 2002;
    }
}

@media (max-width: 900px) {
    .dropdown-menu,
    .dropdown::after {
        display: none !important;
    }
}
/* =====================================
   HIDE MOBILE NAV COMPLETELY ON PC
   ===================================== */
@media (min-width: 901px) {
    .mobile-nav,
    .mobile-nav-toggle {
        display: none !important;
    }
}
/* =====================================
   MOBILE NAV VISIBILITY
   ===================================== */
@media (max-width: 900px) {
    .mobile-nav-toggle {
        display: block;
    }
}
/* Hide mobile nav on desktop */
@media (min-width: 901px) {
    .mobile-nav,
    .mobile-nav-toggle {
        display: none !important;
    }
}

/* Show hamburger only on mobile */
@media (max-width: 900px) {
    nav {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: block;
    }
}

/* =====================================
   MOBILE HEADER – SINGLE ROW FIX
   ===================================== */
@media (max-width: 900px) {

    /* Force header to stay one row */
    header {
        flex-wrap: nowrap;
        height: 56px;
        padding: 0 12px;
        gap: 8px;
    }

    /* Logo + text shrink */
    .logo-box {
        gap: 6px;
        min-width: unset;
        flex-shrink: 1;
    }

    .logo-img {
        height: 26px;
    }

    .header-title {
        font-size: 0.7rem;
        letter-spacing: 0.3px;
        white-space: nowrap;
    }

    /* Theme toggle smaller */
    .theme-toggle {
        width: 28px;
        height: 28px;
        margin-right: 4px;
        flex-shrink: 0;
    }

    .theme-toggle svg {
        width: 14px;
        height: 14px;
    }

    /* Hamburger ☰ tighter */
    .mobile-nav-toggle {
        font-size: 1.4rem;
        padding: 4px 6px;
        margin-left: 4px;
        flex-shrink: 0;
    }
}

/* =====================================
   MOBILE HEADER – TWO-LINE BRAND TEXT
   ===================================== */
@media (max-width: 900px) {

    /* Allow brand text to wrap */
    .header-title {
        white-space: normal;
        line-height: 1.05;
        font-size: 0.75rem;
    }

    /* Stack the brand text naturally */
    .logo-box {
        max-width: 130px; /* forces wrap into 2 lines */
    }
}
@media (max-width: 900px) {
    .header-title {
        word-break: keep-all;
    }
}
/* =====================================
   MOBILE HEADER – RIGHT ALIGN CONTROLS
   ===================================== */
@media (max-width: 900px) {

    /* Push theme toggle + hamburger to the right */
    .theme-toggle {
        flex-direction: row;
    }

    /* Keep hamburger tight to the right edge */
    .mobile-nav-toggle {
        margin-left: 6px;
    }
}

/* =====================================
   MOBILE HEADER – FIX OVERLAP & ALIGNMENT
   ===================================== */
@media (max-width: 900px) {

    /* Header must stay one line */
    header {
        flex-wrap: nowrap;
        align-items: center;
    }

    /* Logo block (left side) */
    .logo-box {
        flex: 0 1 auto;
        max-width: 150px;
    }

    /* Controls wrapper (right side) */
    header > div {
        display: flex;
        align-items: center;
        margin-left: auto;   /* PUSH TO RIGHT */
        gap: 6px;
        flex-shrink: 0;
    }

    /* Theme toggle smaller */
    .theme-toggle {
        width: 28px;
        height: 28px;
        margin: 0;
    }

    /* Hamburger ☰ */
    .mobile-nav-toggle {
        font-size: 1.4rem;
        padding: 4px 6px;
        margin: 0;
        flex-shrink: 0;
    }
}
@media (max-width: 900px) {
    header .btn-primary {
        display: none !important;
    }
}


