/* Premium Light Theme & Brand Identity UI */

:root {
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --border-soft: rgba(11, 27, 61, 0.08);
    --accent-navy: #0B1B3D;
    --accent-blue: #1E3A8A;
    --accent-orange: #F59E0B;
    --accent-amber: #EA580C;
    --text-main: #334155;
    --text-muted: #64748b;
    --text-heading: #0B1B3D;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (max-width: 640px) {
    .container { padding: 0 1.25rem; }
}

.front-page-content section {
    padding: 3rem 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--accent-navy);
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 3rem;
}
.text-center { text-align: center; margin-left: auto; margin-right: auto; }

/* Gradient Meshes & Glows (Light Theme) */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15; /* Subtler in light mode */
    pointer-events: none;
}
.glow-navy { background: var(--accent-navy); width: 400px; height: 400px; }
.glow-orange { background: var(--accent-orange); width: 450px; height: 450px; }

/* Light Theme Cards */
.glass-card {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(11, 27, 61, 0.02), 0 10px 15px rgba(11, 27, 61, 0.03);
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(11, 27, 61, 0.08);
    border-color: rgba(11, 27, 61, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2.2rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn:hover::before { left: 100%; }

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-amber));
    color: white;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.25);
}
.btn-primary:hover {
    box-shadow: 0 15px 25px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
    color: white;
}
.btn-navy {
    background: var(--accent-navy);
    color: white;
    box-shadow: 0 10px 20px rgba(11, 27, 61, 0.2);
}
.btn-navy:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
}
.btn-secondary {
    background: transparent;
    color: var(--accent-navy);
    border: 2px solid var(--accent-navy);
}
.btn-secondary:hover {
    background: var(--accent-navy);
    color: white;
}
.btn-glass {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    color: var(--accent-navy);
}
.btn-glass:hover {
    background: #f1f5f9;
}

/* Base Form Inputs */
input, textarea, select {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    width: 100%;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}
input:focus, textarea:focus {
    border-color: var(--accent-orange);
    outline: none;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

/* Scroll Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section Base */
.single-hero {
    position: relative;
    padding: 7rem 0 5rem 0;
    background: linear-gradient(135deg, var(--accent-navy), #173166);
    overflow: hidden;
    color: white;
}

.front-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-trust-badges {
    margin-top: 5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    opacity: 0.8;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-brands {
    display: flex;
    gap: 3rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Hide Mobile Elements by Default (Desktop) */
.mobile-toggle,
.mobile-nav-overlay {
    display: none;
}
/* Marketing Strategies Layout */
.marketing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: center;
}

.marketing-lead-card {
    padding: 4rem 3rem;
    text-align: center;
    border-radius: 16px;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

@media (max-width: 768px) {
    .marketing-grid { grid-template-columns: 1fr; gap: 3rem; }
    .marketing-lead-card { padding: 2.5rem 1.5rem; }
}
.archive-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.post-card {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(11,27,61,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11,27,61,0.12);
}

.post-thumb {
    height: 220px;
    position: relative;
    border-bottom: 4px solid var(--accent-orange);
    background-size: cover;
    background-position: center;
}

/* Services Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Hide Mobile Elements by Default (Desktop) */
.mobile-toggle,
.mobile-nav-overlay {
    display: none;
}

@media (max-width: 1024px) {
    .section-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .front-page-content section,
    section { padding: 4rem 0 !important; }
    .section-title { font-size: 2.25rem; }
    .glass-card { padding: 1.75rem; }
    
    /* Hero Adjustments */
    .single-hero { padding: 5rem 0 3.5rem 0; }
    .front-hero { min-height: 70vh; padding: 4rem 0; }
    .section-subtitle { margin-bottom: 2rem !important; }
    
    .hero-trust-badges { margin-top: 3rem; gap: 1rem; }
    .trust-brands { gap: 1.5rem; font-size: 1rem; }
    .trust-brands span { font-size: 0.95rem; }
    
    /* Grid Adjustments */
    .archive-grid-container { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
        margin-top: 2.5rem;
    }
    .post-thumb { height: 200px; }
    
    /* Hub Adjustments */
    .mobile-text-center { text-align: center; }
    .contact-split { grid-template-columns: 1fr !important; gap: 4rem !important; }
    .contact-split .reveal-on-scroll { text-align: center; }
    .contact-split h2 { text-align: center !important; }
    .contact-split .glass-card { padding: 2.5rem 1.5rem !important; }

    /* Site Header Adjustments */
    .header-inner { height: 4.5rem; }
    .custom-logo-link img { max-height: 45px !important; }
    .site-branding a.fallback-logo { font-size: 1.4rem; }
    
    .site-header .container { justify-content: space-between; }
    .main-navigation { display: none; }
    .d-none-mobile { display: none !important; }

    .mobile-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        padding: 0;
    }
    .mobile-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--accent-navy);
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    .mobile-toggle.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

    .mobile-nav-overlay {
        position: fixed;
        inset: 0;
        background: white;
        z-index: 1000;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }
    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    .mobile-nav-overlay ul {
        list-style: none;
        padding: 0;
        text-align: center;
    }
    .mobile-nav-overlay li { margin-bottom: 2rem; }
    .mobile-nav-overlay a {
        font-size: 2rem;
        font-weight: 800;
        color: var(--accent-navy);
        text-decoration: none;
    }
}

@media (max-width: 480px) {
    .section-title { font-size: 1.85rem; }
    .btn { width: 100%; }
}
