/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    --brand-green: #17743b;
    --brand-green-hover: #125c2e;
    --brand-blue: #1259a8;
    --navy-dark: #0A192F;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-offwhite: #F8FAFC;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--bg-offwhite);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; 
}

h1, h2, h3, h4 { 
    color: var(--navy-dark); 
    font-family: 'Playfair Display', serif; 
    line-height: 1.2; 
}

a { text-decoration: none; color: inherit; }

/* Global Image and SVG protection */
img, svg { 
    max-width: 100%; 
    height: auto; 
    display: block; 
}

.container { 
    width: 100%; 
    max-width: 1280px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.text-center { text-align: center; }
.mb-40 { margin-bottom: 40px; }
.mb-20 { margin-bottom: 20px; }

/* ==========================================================================
   2. BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; font-weight: 600; font-size: 0.95rem;
    border-radius: 6px; transition: var(--transition); cursor: pointer; 
    border: 2px solid transparent; text-align: center;
}
.btn-primary { background: var(--brand-green); color: white; border-color: var(--brand-green); }
.btn-primary:hover { background: var(--brand-green-hover); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(23, 116, 59, 0.2); }
.btn-outline-white { background: transparent; color: white; border-color: white; }
.btn-outline-white:hover { background: white; color: var(--navy-dark); }
.btn-outline { background: transparent; color: var(--navy-dark); border-color: var(--border-color); }
.btn-outline:hover { background: var(--navy-dark); color: white; border-color: var(--navy-dark); }

/* ==========================================================================
   3. HEADER & NAVIGATION (Mobile First)
   ========================================================================== */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05); transition: var(--transition);
}
.site-header.scrolled { padding: 5px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }

.header-container { 
    display: flex; justify-content: space-between; align-items: center; 
    height: 70px;
}

/* Brand / Logo */
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 1; max-width: 75%; }
.brand-img { height: 35px; width: auto; object-fit: contain; transition: var(--transition); }

/* Desktop Nav (Hidden on Mobile) */
.desktop-nav { display: none; }

/* Mobile Toggle */
.mobile-toggle { 
    display: flex; background: #f1f5f9; border: 1px solid #e2e8f0;
    border-radius: 8px; cursor: pointer; flex-direction: column; 
    justify-content: center; align-items: center; gap: 5px; 
    width: 46px; height: 46px; padding: 0; z-index: 1001; flex-shrink: 0;
}
.mobile-toggle span { width: 22px; height: 2px; background: var(--navy-dark); border-radius: 2px; }

/* Mobile Menu Drawer */
.mobile-menu {
    position: fixed; inset: 0; background: var(--white); z-index: 2000;
    display: flex; flex-direction: column; padding: 24px;
    transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.close-menu { background: none; border: none; font-size: 2.5rem; color: var(--navy-dark); cursor: pointer; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 15px; }
.mobile-nav-links a { font-size: 1.1rem; font-weight: 600; color: var(--navy-dark); border-bottom: 1px solid #eee; padding-bottom: 10px; }

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
    position: relative; min-height: 75vh; 
    display: flex; align-items: center;
    background: var(--navy-dark); 
    overflow: hidden; margin-top: 70px; 
}

.hero-bg-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center; z-index: 0;
}

.hero-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.6) 100%);
    z-index: 1;
}

.hero-container { position: relative; z-index: 2; width: 100%; padding: 60px 20px; }
.hero-content { max-width: 100%; color: white; }

.hero h1 { color: white; font-size: clamp(2rem, 8vw, 3.5rem); margin-bottom: 15px; line-height: 1.15; }
.hero p { font-size: 1rem; color: #e2e8f0; margin-bottom: 25px; line-height: 1.6; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.hero-actions .btn { width: 100%; }

/* ==========================================================================
   5. SECTIONS & LAYOUTS
   ========================================================================== */
.section, .content-section { padding: 50px 0; }
.bg-light { background: var(--white); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 35px; }
.section-header h2, .split-text h2 { font-size: 1.8rem; margin-bottom: 15px; }
.section-header p { color: var(--text-light); font-size: 1rem; }

/* Split Layout (1 Column on Mobile) */
.split-layout { display: grid; grid-template-columns: 1fr; gap: 30px; }
.split-text p { font-size: 1rem; margin-bottom: 15px; }
.split-cards { display: flex; flex-direction: column; gap: 15px; }

/* Grids (1 Column on Mobile) */
.services-grid, .process-grid, .values-grid, .form-grid-3 { 
    display: grid; grid-template-columns: 1fr; gap: 20px; 
}

/* Cards */
.service-card {
    background: white; padding: 30px 25px; border-radius: 8px;
    border: 1px solid var(--border-color); transition: var(--transition);
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--brand-green); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; font-family: 'Inter', sans-serif; }

.service-detail-block {
    background: white; border: 1px solid var(--border-color);
    border-radius: 12px; padding: 25px; margin-bottom: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.service-detail-block h3 { color: var(--brand-green); font-size: 1.3rem; margin-bottom: 12px; font-family: 'Inter', sans-serif; }

.process-step { padding: 15px; text-align: center; }
.process-step .step-num {
    width: 45px; height: 45px; background: var(--brand-blue); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 700; margin: 0 auto 15px auto;
}
.process-step h4 { margin-bottom: 10px; font-size: 1.1rem; font-family: 'Inter', sans-serif; }
.process-step p { font-size: 0.9rem; color: var(--text-light); }

.value-card { background: white; padding: 25px; border-radius: 8px; border-left: 4px solid var(--brand-green); }
.value-card h4 { margin-bottom: 10px; font-family: 'Inter', sans-serif; }

/* Forms */
.form-grid-3 { gap: 15px; margin-bottom: 15px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: var(--navy-dark); }
.form-control {
    width: 100%; padding: 12px 15px; border: 1px solid var(--border-color);
    border-radius: 6px; font-family: inherit; font-size: 1rem; background: #f8fafc; transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--brand-blue); background: white; box-shadow: 0 0 0 3px rgba(18, 89, 168, 0.1); }

/* CTA Section */
.cta-section { background: var(--navy-dark); padding: 60px 20px; text-align: center; color: white; }
.cta-section h2 { color: white; margin-bottom: 15px; }
.cta-section p { margin-bottom: 30px; color: #cbd5e1; max-width: 700px; margin-inline: auto; }

/* ==========================================================================
   6. PAGE HEADERS
   ========================================================================== */
.page-header { background: var(--navy-dark); padding: 120px 20px 50px; text-align: center; color: white; }
.page-header h1 { color: white; font-size: 2rem; margin-bottom: 15px; }
.page-header p { font-size: 1rem; color: #cbd5e1; max-width: 600px; margin: 0 auto; }

/* ==========================================================================
  7. ROLLING SLOGAN BELT (MARQUEE)
   ========================================================================== */
.marquee-banner {
    background: var(--brand-green);
    color: white;
    padding: 16px 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
    white-space: nowrap;
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollSlogans 30s linear infinite;
}

/* Pause the belt when the user hovers over it */
.marquee-banner:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
}

.marquee-content span {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    padding: 0 40px; /* Space between phrases */
}

/* The green dot separator */
.marquee-content span::after {
    content: "•";
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
    margin-left: 40px;
    transform: translateY(-2px);
}

@keyframes scrollSlogans {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Moves exactly half the width (the duplicated set) */
}

@media (max-width: 768px) {
    .marquee-banner { padding: 12px 0; }
    .marquee-content span { font-size: 0.9rem; padding: 0 20px; }
    .marquee-content span::after { margin-left: 20px; }
}
.whatsapp-float {
    position: fixed; width: 50px; height: 50px; bottom: 20px; right: 20px;
    background-color: #25d366; color: white; border-radius: 50px; text-align: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 1000;
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.whatsapp-float:hover { background-color: #128C7E; transform: scale(1.1) translateY(-5px); }
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; }

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-dark); color: #94a3b8; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: white; font-family: 'Inter', sans-serif; font-size: 1rem; margin-bottom: 15px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #94a3b8; transition: var(--transition); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--brand-green); padding-left: 5px; }

.footer-bottom {
    display: flex; flex-direction: column; text-align: center; gap: 10px;
    border-top: 1px solid #1e293b; padding-top: 20px; font-size: 0.8rem;
}
.footer-bottom a { color: #94a3b8; margin: 0 10px; transition: var(--transition); }
.footer-bottom a:hover { color: white; }

/* ==========================================================================
   9. LEGAL PAGES
   ========================================================================== */
.legal-page { padding: 120px 0 60px; background: var(--bg-offwhite); min-height: 100vh; }
.legal-content {
    background: white; padding: 30px 20px; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid var(--border-color);
}
.legal-content h1 { font-size: 1.8rem; margin-bottom: 10px; color: var(--navy-dark); }
.legal-date { font-size: 0.85rem; color: var(--text-light); margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); }
.legal-content h2 { font-size: 1.3rem; margin: 30px 0 15px; color: var(--navy-dark); }
.legal-content p, .legal-content li { font-size: 0.95rem; line-height: 1.7; margin-bottom: 12px; color: var(--text-main); }
.legal-content ul { padding-left: 20px; margin-bottom: 20px; }

/* ==========================================================================
   10. DESKTOP & TABLET UPGRADES (min-width)
   ========================================================================== */

/* --- Tablet (768px and up) --- */
@media (min-width: 768px) {
    .container { padding: 0 24px; }
    
    .header-container { height: 80px; }
    .brand-img { height: 45px; }
    
    .hero { min-height: 65vh; margin-top: 80px; }
    .hero-gradient { 
        background: linear-gradient(90deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.5) 60%, rgba(10, 25, 47, 0.1) 100%); 
    }
    .hero-container { padding: 80px 24px; }
    .hero-content { max-width: 700px; }
    .hero-actions { flex-direction: row; width: auto; }
    .hero-actions .btn { width: auto; }
    
    .section, .content-section { padding: 80px 0; }
    .split-layout { grid-template-columns: 1fr 1fr; gap: 40px; }
    
    .services-grid, .values-grid, .form-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    
    .page-header { padding: 160px 20px 80px; }
    .page-header h1 { font-size: 2.8rem; }
    
    .legal-content { padding: 50px; }
    .legal-content h1 { font-size: 2.5rem; }
    
    .whatsapp-float { width: 60px; height: 60px; bottom: 30px; right: 30px; }
    .whatsapp-float svg { width: 35px; height: 35px; }
}

/* --- Desktop (992px and up) --- */
@media (min-width: 992px) {
    .desktop-nav { display: flex; align-items: center; gap: 25px; }
    .desktop-nav a { font-weight: 500; font-size: 0.95rem; color: var(--navy-dark); transition: var(--transition); }
    .desktop-nav a:hover { color: var(--brand-green); }
    .nav-btn { padding: 10px 24px; font-size: 0.9rem; }
    
    .mobile-toggle { display: none; }
    .brand-img { height: 55px; }
    
    .services-grid, .values-grid { grid-template-columns: repeat(3, 1fr); }
    .process-grid { grid-template-columns: repeat(5, 1fr); }
    
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .footer-bottom { flex-direction: row; text-align: left; }
}

/* --- Large Screens (1200px and up) --- */
@media (min-width: 1200px) {
    .hero h1 { font-size: 4rem; }
}
    /* FIX FOR GIANT SUBJECT ICON */
    .subject-highlight {
        background: #fffbeb;
        color: #b45309;
        border: 1px solid #fef3c7;
        padding: 8px 15px;
        border-radius: 6px;
        font-size: 0.9rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 15px;
    }

    /* Force the SVG to stay tiny, regardless of global styles */
    .subject-highlight svg {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        max-width: 16px !important;
        flex-shrink: 0;
        color: #b45309;
    }