/* ============================================
   CERTIGENCE - Finray-Inspired Modern Design
   Clean, Professional & Conversion-Focused
   ============================================ */

/* CSS Variables & Root Settings */
:root {
    /* Primary Colors - Finray Green Palette */
    --primary-dark: #0a3d2a;
    --primary: #0f5132;
    --primary-light: #139d49;
    --accent-lime: #d0fa93;
    --accent-lime-dark: #b8e676;
    --accent-cyan: #59d0ff;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f9fafb;
    --light-gray: #f3f4f6;
    --medium-gray: #e5e7eb;
    --border-gray: #d1d5db;
    --dark-gray: #6b7280;
    --text-dark: #111827;
    --text-secondary: #414d48;
    --text-muted: #6b7280;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Spacing */
    --section-padding: 100px;
    --section-padding-sm: 60px;
}

/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

/* ============================================
   STARTEDGE-STYLE ANIMATIONS & TRANSITIONS
   ============================================ */

/* --- Page Load Fade-In --- */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}
body.loaded {
    opacity: 1;
}

/* --- Scroll Reveal Animations --- */
.sr {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}
.sr.sr-left {
    transform: translateX(-40px);
}
.sr.sr-right {
    transform: translateX(40px);
}
.sr.sr-scale {
    transform: scale(0.95);
}
.sr.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger children */
.sr-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}
.sr-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.sr-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.sr-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.sr-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.sr-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.sr-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }
.sr-stagger.visible > *:nth-child(7) { transition-delay: 0.48s; }
.sr-stagger.visible > *:nth-child(8) { transition-delay: 0.56s; }
.sr-stagger.visible > *:nth-child(9) { transition-delay: 0.64s; }
.sr-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* --- Hero Text Reveal --- */
.sr-hero-heading {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.sr-hero-heading.visible {
    opacity: 1;
    transform: translateY(0);
}
.sr-hero-sub {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.sr-hero-sub.visible {
    opacity: 1;
    transform: translateY(0);
}
.sr-hero-cta {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s,
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}
.sr-hero-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Smooth Counter Animation --- */
@keyframes countPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* --- Section heading animations --- */
.sr-heading {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.sr-heading.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Floating animation for decorative elements --- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* --- Smooth image reveal --- */
.sr-img {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.sr-img.visible {
    opacity: 1;
    transform: scale(1);
}

/* --- Card hover micro-interactions (StartEdge style) --- */
.cg-services .cg-srv-card,
.cg-why [class*="card"],
.cg-contact-card,
.cg-value-card,
.cg-step,
.cg-vm-card,
.cg-vm-pillar {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}

/* --- Smooth link underline animation --- */
.navbar-main-item > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-dark);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}
.navbar-main-item > a:hover::after {
    width: 100%;
    left: 0;
}

/* --- Button press effect --- */
.btn-nav-cta,
.contact-submit-btn,
a[style*="border-radius: 999px"] {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease,
                background 0.3s ease !important;
}
.btn-nav-cta:active,
.contact-submit-btn:active {
    transform: scale(0.97) !important;
}

/* --- Dropdown smooth open --- */
.dropdown-menu {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.25s;
    visibility: hidden;
}
.navbar-main-item.has-dropdown:hover > .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

/* --- Dropdown item slide-in --- */
.dropdown-item {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
}
.navbar-main-item.has-dropdown:hover .dropdown-item {
    opacity: 1;
    transform: translateX(0);
}
.navbar-main-item.has-dropdown:hover .dropdown-item:nth-child(1) { transition-delay: 0.03s; }
.navbar-main-item.has-dropdown:hover .dropdown-item:nth-child(2) { transition-delay: 0.06s; }
.navbar-main-item.has-dropdown:hover .dropdown-item:nth-child(3) { transition-delay: 0.09s; }
.navbar-main-item.has-dropdown:hover .dropdown-item:nth-child(4) { transition-delay: 0.12s; }
.navbar-main-item.has-dropdown:hover .dropdown-item:nth-child(5) { transition-delay: 0.15s; }
.navbar-main-item.has-dropdown:hover .dropdown-item:nth-child(6) { transition-delay: 0.18s; }
.navbar-main-item.has-dropdown:hover .dropdown-item:nth-child(7) { transition-delay: 0.21s; }
.navbar-main-item.has-dropdown:hover .dropdown-item:nth-child(8) { transition-delay: 0.24s; }
.navbar-main-item.has-dropdown:hover .dropdown-item:nth-child(9) { transition-delay: 0.27s; }

/* --- Navbar smooth scroll transition --- */
.navbar-main {
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                backdrop-filter 0.4s ease;
}
.navbar-main.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
}

/* --- Accent line shimmer on load --- */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.navbar-accent-line {
    background: linear-gradient(90deg, var(--accent-lime), var(--primary-light), var(--primary-dark), var(--primary-light), var(--accent-lime));
    background-size: 200% auto;
    animation: shimmer 4s ease-in-out infinite;
}

/* --- Footer link hover slide --- */
.footer-section a {
    position: relative;
    transition: color 0.2s ease, padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-section a:hover {
    padding-left: 6px;
}

/* --- Reduce motion for accessibility --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .sr, .sr-stagger > *, .sr-hero-heading, .sr-hero-sub, .sr-hero-cta, .sr-heading, .sr-img {
        opacity: 1 !important;
        transform: none !important;
    }
    body { opacity: 1; }
}

/* Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Satoshi', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 3.5rem; letter-spacing: -0.03em; }
h2 { font-size: 2.5rem; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; letter-spacing: -0.01em; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--primary-light);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-family: inherit;
    line-height: 1;
}

.btn-primary {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 61, 42, 0.25);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    border: 1.5px solid var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent-lime);
    color: var(--primary-dark);
}

.btn-accent:hover {
    background: var(--accent-lime-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(208, 250, 147, 0.4);
    color: var(--primary-dark);
}

.btn-success { background: var(--primary-light); color: var(--white); }
.btn-success:hover { background: #0f8a3e; color: var(--white); }
.btn-danger { background: #ef4444; color: var(--white); }
.btn-danger:hover { background: #dc2626; color: var(--white); }

/* ============================================
   ACCENT LINE AT TOP
   ============================================ */
.navbar-accent-line {
    height: 3px;
    background: linear-gradient(90deg, var(--accent-lime) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
}

/* ============================================
   MAIN NAVIGATION BAR (StartEdge Style)
   ============================================ */
.navbar-main {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--medium-gray);
    transition: var(--transition-base);
}

.navbar-main.scrolled {
    box-shadow: var(--shadow-lg);
    border-bottom-color: transparent;
}

.navbar-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.navbar-logo a {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.navbar-logo .site-name {
    font-size: 1.5rem;
}

.navbar-logo img {
    max-height: 40px;
    width: auto;
    transition: var(--transition-base);
}

.navbar-logo a:hover img {
    opacity: 0.85;
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1.5px solid var(--medium-gray);
    font-size: 1.1rem;
    color: var(--text-dark);
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 10002;
}

.mobile-menu-toggle:hover {
    background: var(--light-gray);
    border-color: var(--border-gray);
}

.navbar-main-menu {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

/* Hide mobile-only sections on desktop */
.mobile-phone-link,
.mobile-iso-section,
.mobile-quick-section,
.mobile-cta {
    display: none;
}

.navbar-main-links {
    display: flex;
    list-style: none;
    gap: 0.15rem;
    align-items: center;
}

.navbar-main-item a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.88rem;
    transition: var(--transition-base);
    position: relative;
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-md);
}

.navbar-main-item a:hover {
    color: var(--primary-dark);
    background: var(--light-gray);
}

/* Dropdown Styles */
.navbar-main-item {
    position: relative;
}

.navbar-main-item.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.navbar-main-item .dropdown-icon {
    font-size: 0.6rem;
    transition: var(--transition-base);
    opacity: 0.5;
}

.navbar-main-item.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.navbar-main-item .dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    list-style: none;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 1000;
    border: 1px solid var(--medium-gray);
}

/* Invisible bridge to maintain hover across the gap between nav item and dropdown */
.navbar-main-item .dropdown-menu::after {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    width: 100%;
    height: 16px;
}

.navbar-main-item .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--white);
    z-index: 1;
}

.navbar-main-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.navbar-main-item .dropdown-item a {
    display: block;
    padding: 0.55rem 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    font-size: 0.88rem;
    white-space: nowrap;
}

.navbar-main-item .dropdown-item a:hover {
    background: var(--light-gray);
    color: var(--primary-dark);
}

/* Nav CTA Button */
.navbar-cta {
    flex-shrink: 0;
}

.btn-nav-cta {
    background: var(--primary-dark) !important;
    color: var(--white) !important;
    padding: 9px 18px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    transition: var(--transition-smooth) !important;
    white-space: nowrap;
}

.btn-nav-cta:hover {
    background: var(--primary) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(10, 61, 42, 0.25);
}

.btn-nav-cta.btn-outline-primary {
    background: transparent !important;
    color: var(--primary-dark) !important;
    border: 2px solid var(--primary-dark) !important;
}

.btn-nav-cta.btn-outline-primary:hover {
    background: var(--primary-dark) !important;
    color: var(--white) !important;
}

.navbar-cta {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ============================================
   HERO SECTION (StartEdge Two-Column Style)
   ============================================ */
.hero-section {
    position: relative;
    background: linear-gradient(180deg, #f0f7f4 0%, #e8f5ee 40%, #ffffff 100%);
    padding: 80px 0 100px;
    overflow: hidden;
}

.hero-section[style*="background-image"] {
    background-blend-mode: overlay;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(240, 247, 244, 0.92) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.hero-two-col {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.hero-left {
    padding-top: 1rem;
}

.hero-heading {
    color: var(--primary-dark);
    font-size: 3.75rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin: 0;
}

.hero-right {
    padding-top: 0.5rem;
}

/* Social Proof Row */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.hero-avatars {
    display: flex;
}

.hero-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-dark);
    border: 3px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-lime);
    font-size: 0.85rem;
    margin-right: -10px;
    position: relative;
}

.hero-avatar:nth-child(1) { z-index: 3; background: #1a5c40; }
.hero-avatar:nth-child(2) { z-index: 2; background: #0f5132; }
.hero-avatar:nth-child(3) { z-index: 1; background: #0a3d2a; margin-right: 0; }

.hero-review-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stars {
    display: flex;
    gap: 2px;
}

.hero-stars i {
    color: var(--primary-dark);
    font-size: 0.8rem;
}

.hero-review-text {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Hero Description */
.hero-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 480px;
}

.hero-description p {
    color: var(--text-muted);
    margin: 0;
}

/* Hero CTA Link (underline style) */
.hero-cta-link {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-link-underline {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: var(--transition-base);
}

.hero-link-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-light);
    border-radius: 2px;
}

.hero-link-underline:hover {
    color: var(--primary-light);
}

.hero-link-underline.secondary {
    color: var(--text-muted);
}

.hero-link-underline.secondary::after {
    background: var(--border-gray);
}

.hero-link-underline.secondary:hover {
    color: var(--primary-dark);
}

.hero-link-underline.secondary:hover::after {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 48px 0 64px;
    }
    .hero-two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-heading {
        font-size: 2.5rem;
    }
    .hero-description {
        max-width: 100%;
    }
}

/* ============================================
   CAROUSEL
   ============================================ */
.carousel-section {
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.carousel-slide.active {
    position: relative;
    opacity: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 61, 42, 0.9) 0%, rgba(15, 81, 50, 0.8) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 100px 32px;
}

.slide-content-inner {
    max-width: 650px;
}

.text-center .slide-content-inner {
    margin: 0 auto;
    text-align: center;
}

.text-right .slide-content-inner {
    margin-left: auto;
}

.slide-heading {
    font-size: 3rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.slide-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.slide-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-lime);
    color: var(--primary-dark);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.slide-button:hover {
    background: var(--accent-lime-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(208, 250, 147, 0.35);
    color: var(--primary-dark);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 0.9rem;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.carousel-arrow-prev { left: 24px; }
.carousel-arrow-next { right: 24px; }

.carousel-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition-base);
}

.carousel-dot.active {
    background: var(--accent-lime);
    transform: scale(1.2);
}

/* Gradient slides for slides without images */
.gradient-slide-1 { background: linear-gradient(135deg, #0a3d2a 0%, #0f5132 100%); }
.gradient-slide-2 { background: linear-gradient(135deg, #0f5132 0%, #139d49 100%); }
.gradient-slide-3 { background: linear-gradient(135deg, #0a3d2a 0%, #1a6b3f 100%); }

@media (max-width: 768px) {
    .slide-heading { font-size: 2rem; }
    .slide-content { padding: 60px 20px; }
    .carousel-arrow { width: 40px; height: 40px; }
}

/* ============================================
   SECTION HEADINGS
   ============================================ */
.section-heading {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.section-subheading {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.section-subheading p {
    color: var(--text-muted);
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-cards {
    padding: var(--section-padding) 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
}

.service-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.card-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-lime);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: var(--transition-base);
}

.card-icon i {
    color: var(--primary-dark);
    font-size: 1.25rem;
}

.service-card:hover .card-icon {
    background: var(--primary-dark);
}

.service-card:hover .card-icon i {
    color: var(--accent-lime);
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}

.card-description {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition-base);
}

.card-link:hover {
    gap: 10px;
    color: var(--primary-light);
}

.card-link i {
    font-size: 0.75rem;
    transition: var(--transition-base);
}

/* ============================================
   IMAGE TEXT SECTION
   ============================================ */
.image-text-section {
    padding: var(--section-padding) 0;
}

.image-text-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-text-content.reverse {
    direction: rtl;
}

.image-text-content.reverse > * {
    direction: ltr;
}

.image-column img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.text-column h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.text-column .text-content {
    color: var(--text-secondary);
    line-height: 1.75;
}

.text-column .text-content p {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .image-text-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .image-text-content.reverse {
        direction: ltr;
    }
}

/* ============================================
   TESTIMONIAL SLIDER
   ============================================ */
.testimonial-slider-section {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.testimonial-slider {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-track {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-card {
    text-align: center;
    padding: 2.5rem 1rem;
}

.testimonial-quote-icon {
    color: var(--accent-lime);
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.testimonial-rating {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.testimonial-rating .fas {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-rating .far {
    color: var(--medium-gray);
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.75;
    color: var(--text-dark);
    font-style: normal;
    margin-bottom: 2rem;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author-image img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-lime);
    font-size: 1.25rem;
}

.testimonial-author-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.testimonial-author-title {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--white);
    border: 1px solid var(--medium-gray);
    color: var(--text-dark);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 0.85rem;
}

.testimonial-arrow:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.testimonial-arrow-prev { left: -60px; }
.testimonial-arrow-next { right: -60px; }

.testimonial-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 1.5rem;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition-base);
}

.testimonial-dot.active {
    background: var(--primary-dark);
    width: 24px;
    border-radius: var(--radius-full);
}

@media (max-width: 860px) {
    .testimonial-arrow-prev { left: -10px; }
    .testimonial-arrow-next { right: -10px; }
    .testimonial-arrow { width: 36px; height: 36px; }
}

/* ============================================
   ACCORDION / FAQ
   ============================================ */
.accordion-block {
    padding: var(--section-padding) 0;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: var(--transition-base);
}

.accordion-item:hover {
    border-color: var(--border-gray);
}

.accordion-header {
    width: 100%;
    background: var(--white);
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: inherit;
    text-align: left;
    transition: var(--transition-base);
    gap: 1rem;
}

.accordion-header:hover {
    background: var(--off-white);
}

.accordion-icon {
    font-size: 0.75rem;
    transition: var(--transition-base);
    color: var(--text-muted);
    flex-shrink: 0;
}

.accordion-item.active .accordion-header {
    background: var(--primary-dark);
    color: var(--white);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--accent-lime);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ============================================
   COLUMNS BLOCK
   ============================================ */
.columns-block {
    padding: var(--section-padding) 0;
}

.columns-grid {
    display: grid;
    gap: 2rem;
}

.columns-2 { grid-template-columns: repeat(2, 1fr); }
.columns-3 { grid-template-columns: repeat(3, 1fr); }
.columns-4 { grid-template-columns: repeat(4, 1fr); }

.column {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.column:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.column h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.column h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.column p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .columns-2,
    .columns-3,
    .columns-4 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   HEADING BLOCK
   ============================================ */
.heading-block {
    padding: 2rem 0;
}

.heading {
    color: var(--text-dark);
}

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* ============================================
   PARAGRAPH BLOCK
   ============================================ */
.paragraph-block {
    padding: 1.5rem 0;
}

.paragraph-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.paragraph-content a {
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.paragraph-content a:hover {
    color: var(--primary-dark);
}

.paragraph-content ul,
.paragraph-content ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.paragraph-content li {
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
}

/* ============================================
   QUOTE BLOCK
   ============================================ */
.quote-block {
    padding: var(--section-padding-sm) 0;
}

.quote-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-icon {
    color: var(--accent-lime);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.quote-text {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: normal;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-image img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.author-title {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   IMAGE BLOCK
   ============================================ */
.image-block {
    padding: 2rem 0;
}

.image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
}

.image-caption {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 0.75rem;
    font-style: italic;
}

.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }

/* ============================================
   BUTTON BLOCK
   ============================================ */
.button-block {
    padding: 1.5rem 0;
}

.button-wrapper {
    display: flex;
}

.button-wrapper.text-center { justify-content: center; }
.button-wrapper.text-right { justify-content: flex-end; }

/* ============================================
   SPACER BLOCK
   ============================================ */
.spacer-small { height: 24px; }
.spacer-medium { height: 48px; }
.spacer-large { height: 80px; }

/* ============================================
   DIVIDER BLOCK
   ============================================ */
.divider-block {
    padding: 1.5rem 0;
}

.divider-line {
    border: none;
}

.divider-solid {
    border-top: 1px solid var(--medium-gray);
}

.divider-dashed {
    border-top: 1px dashed var(--border-gray);
}

.divider-dotted {
    border-top: 1px dotted var(--border-gray);
}

/* ============================================
   EMBED / MAP BLOCK
   ============================================ */
.embed-block {
    padding: 2rem 0;
}

.embed-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.embed-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-xl);
}

/* ============================================
   SITEMAP BLOCK
   ============================================ */
.sitemap-section {
    padding: var(--section-padding) 0;
}

.sitemap-light { background: var(--off-white); }
.sitemap-dark {
    background: var(--primary-dark);
    color: var(--white);
}

.sitemap-heading {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.sitemap-dark .sitemap-heading { color: var(--white); }

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns), 1fr);
    gap: 2.5rem;
}

.sitemap-column-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.sitemap-dark .sitemap-column-heading { color: var(--accent-lime); }

.sitemap-links {
    list-style: none;
}

.sitemap-link-item {
    margin-bottom: 0.5rem;
}

.sitemap-link-item a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    transition: var(--transition-base);
}

.sitemap-dark .sitemap-link-item a {
    color: rgba(255, 255, 255, 0.7);
}

.sitemap-link-item a:hover {
    color: var(--primary-light);
}

.sitemap-dark .sitemap-link-item a:hover {
    color: var(--accent-lime);
}

.link-icon {
    font-size: 0.6rem;
    opacity: 0.5;
}

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

@media (max-width: 480px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(19, 157, 73, 0.1);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--footer-bg, var(--primary-dark));
    color: var(--footer-text, rgba(255, 255, 255, 0.75));
    padding: 60px 0 0;
}

.footer-brand {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-site-name {
    font-family: 'Satoshi', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-lime, #d0fa93);
}

.footer-about-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 600px;
}

.footer-about-text strong {
    color: rgba(255, 255, 255, 0.9);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    padding-bottom: 40px;
}

.footer-section h4 {
    color: var(--footer-link, var(--white));
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}

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

.footer-section li {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a {
    color: var(--footer-link, rgba(255, 255, 255, 0.65));
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.footer-section a:hover {
    color: var(--footer-link-hover, var(--accent-lime));
}

.footer-section li i {
    color: var(--accent-lime);
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
    font-size: 0.85rem;
}

.social-icon:hover {
    background: var(--accent-lime);
    border-color: var(--accent-lime);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   PAGE INTRO (Flexible Pages)
   ============================================ */
.page-intro {
    padding: 3rem 0 1rem;
}

.page-intro .container {
    max-width: 800px;
}

/* ============================================
   SEARCH PAGE
   ============================================ */
.search-page {
    padding: var(--section-padding) 0;
}

/* ============================================
   RESPONSIVE MOBILE NAVIGATION
   ============================================ */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .navbar-cta {
        display: none;
    }

    .navbar-main-menu {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 24px;
        z-index: 10001;
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        transition: right 0.3s ease;
        gap: 0;
        justify-content: flex-start;
    }

    .navbar-main-menu.active {
        display: flex;
        right: 0;
    }

    .navbar-main-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .navbar-main-item a {
        padding: 0.85rem 0.75rem;
        font-size: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: var(--radius-md);
        width: 100%;
    }

    .navbar-main-item .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--off-white);
        padding: 0;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        min-width: auto;
    }

    .navbar-main-item .dropdown-menu::before {
        display: none;
    }

    .navbar-main-item.dropdown-open .dropdown-menu {
        max-height: 500px;
        padding: 0.5rem;
    }

    .navbar-main-item .dropdown-item a {
        padding: 0.6rem 1rem;
    }

    /* Mobile Phone Link */
    .mobile-phone-link {
        padding: 0.85rem 0.75rem;
        border-bottom: 1px solid var(--medium-gray);
        margin-bottom: 0.5rem;
    }

    .mobile-phone-link a {
        color: var(--primary-dark);
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
    }

    /* Mobile ISO Section */
    .mobile-iso-section {
        border-top: 1px solid var(--medium-gray);
        padding-top: 1rem;
        margin-top: 0.5rem;
    }

    .mobile-section-title {
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--text-muted);
        padding: 0.5rem 0.75rem;
    }

    .mobile-iso-links {
        list-style: none;
    }

    .mobile-iso-item a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.6rem 0.75rem;
        color: var(--text-secondary);
        font-size: 0.92rem;
        font-weight: 500;
        border-radius: var(--radius-sm);
        transition: var(--transition-base);
    }

    .mobile-iso-item a:hover {
        background: var(--light-gray);
    }

    .mobile-dropdown {
        list-style: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: var(--off-white);
        border-radius: var(--radius-sm);
    }

    .mobile-iso-item.dropdown-open .mobile-dropdown {
        max-height: 500px;
    }

    .mobile-dropdown li a {
        padding: 0.5rem 1.25rem;
        font-size: 0.88rem;
        color: var(--text-muted);
    }

    /* Mobile Quick Links */
    .mobile-quick-section {
        border-top: 1px solid var(--medium-gray);
        padding-top: 1rem;
        margin-top: 0.5rem;
    }

    .mobile-quick-links {
        list-style: none;
    }

    .mobile-quick-links li a {
        display: block;
        padding: 0.5rem 0.75rem;
        color: var(--text-secondary);
        font-size: 0.88rem;
        border-radius: var(--radius-sm);
    }

    .mobile-quick-links li a:hover {
        background: var(--light-gray);
    }

    /* Mobile CTA Buttons */
    .mobile-cta {
        border-top: 1px solid var(--medium-gray);
        padding-top: 1.25rem;
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-cta .btn-nav-cta {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* ============================================
   RICHTEXT CONTENT STYLES
   ============================================ */
.rich-text h1, .rich-text h2, .rich-text h3,
.rich-text h4, .rich-text h5, .rich-text h6 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.rich-text p {
    margin-bottom: 1rem;
}

.rich-text ul, .rich-text ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.rich-text li {
    margin-bottom: 0.4rem;
}

.rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.rich-text a {
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rich-text a:hover {
    color: var(--primary-dark);
}

.rich-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.rich-text th {
    background: var(--primary-dark);
    color: var(--white);
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.rich-text td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--medium-gray);
    font-size: 0.92rem;
}

.rich-text tr:hover td {
    background: var(--off-white);
}

/* ============================================
   WAGTAIL TABLE BLOCK
   ============================================ */
.typed-table-block table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.typed-table-block th {
    background: var(--primary-dark);
    color: var(--white);
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 600;
}

.typed-table-block td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.bg-dark { background: var(--primary-dark); color: var(--white); }
.bg-light { background: var(--off-white); }
.bg-white { background: var(--white); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

/* Print Styles */
@media print {
    .navbar-top, .navbar-middle, .navbar-bottom,
    .footer, .scroll-to-top, .carousel-arrow,
    .carousel-dots { display: none; }
    body { background: white; color: black; }
}
