/* =============================================
   DESIGN TOKENS — Clean Light SaaS Theme
   ============================================= */
:root {
    /* Legacy aliases */
    --brand-green: #10b981;
    --brand-green-dark: #059669;

    /* Surfaces — light */
    --surface-bg: #ffffff;
    --surface-01: #f9fafb;
    --surface-02: #f0fdf9;
    --surface-card: #ffffff;
    --surface-card-hover: #f8fffe;

    /* Brand */
    --brand: #10b981;
    --brand-dark: #059669;

    /* Text — dark on light */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;

    /* Borders — light */
    --border: rgba(0, 0, 0, 0.08);
    --border-accent: rgba(16, 185, 129, 0.3);

    /* Light elevation shadows */
    --shadow-sm: 0px 1px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0px 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0px 8px 32px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Radius */
    --radius-pill: 9999px;
    --radius-card: 16px;
    --radius-sm: 8px;

    /* Bootstrap overrides — light */
    --bs-body-bg: #ffffff;
    --bs-body-color: #111827;
    --bs-card-bg: #ffffff;
    --bs-border-color: rgba(0, 0, 0, 0.08);
}

/* Override Bootstrap utilities */
.text-primary { color: #10b981 !important; }
.text-success  { color: #16a34a !important; }
.text-danger   { color: #dc2626 !important; }
.btn-primary { background-color: #10b981 !important; border-color: #10b981 !important; color: #111827 !important; border-radius: 9999px !important; }
.btn-primary:hover { background-color: #059669 !important; border-color: #059669 !important; color: #111827 !important; }

/* Global heading letter-spacing — Gemini aesthetic */
h1, h2, h3 { letter-spacing: -0.02em; }
h1 { letter-spacing: -0.03em; }

/* Display / heading font — Plus Jakarta Sans */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
}

/* General Body & Container */
body {
    font-family: 'Inter', 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #111827;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Section label (green small-caps above section headings) */
.section-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #10b981;
    display: block;
    margin-bottom: 12px;
}

.container {
    width: 90%;
    max-width: 1200px; /* Max width for content */
    margin: 0 auto; /* Center the container */
    padding: 0 15px; /* Add some padding on sides */
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.main-header {
    color: #1a2c3d;
    padding: 10px 0;
    /* Network-node pattern extracted from brand logo — stretches full width */
    background-color: #b6d8c1;
    background-image: url('/images/header_bg_full.webp');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
    border-bottom: 2px solid rgba(39, 174, 96, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
    transition: box-shadow var(--transition-slow), padding var(--transition-slow);
}

.main-header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    padding: 7px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ── Logo block ──────────────────────────────────────────────────────────── */
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-link:hover { text-decoration: none; opacity: 0.9; }

.logo-icon {
    height: 62px;
    width: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.22));
}

.logo-text-block {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-wordmark {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.55rem;
    letter-spacing: -0.5px;
    color: #0d2b1a;
    white-space: nowrap;
}

.logo-wordmark .logo-accent {
    color: #1a7a3a;
}

.logo-tagline {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.58rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #1a7a3a;
    margin-top: 3px;
    white-space: nowrap;
}

/* Legacy: keep .logo img selector for any pages still using bare <img> */
.main-header .logo img {
    height: 62px;
    vertical-align: middle;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex; /* Horizontal nav items */
}

.main-nav ul li {
    position: relative; /* For dropdowns */
    margin-left: 30px;
}

.main-nav ul li a {
    color: #1a3a28;
    text-decoration: none;
    padding: 8px 0;
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.4px;
    transition: color 0.25s ease;
    position: relative;
}

/* Animated underline on hover for top-level links (not dropbtn, not contact btn) */
.main-nav ul li > a:not(.dropbtn):not(.btn-contact)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #10b981;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.main-nav ul li > a:not(.dropbtn):not(.btn-contact):hover::after {
    width: 100%;
}

.main-nav ul li a:hover {
    color: #10b981;
}

/* Dropdown Menu Styles */
.dropdown-content {
    visibility: hidden;
    position: absolute;
    background-color: #ffffff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-width: 230px;
    box-shadow: 0px 8px 32px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
    z-index: 100;
    border-radius: 12px;
    left: 0;
    top: calc(100% + 15px);
    padding: 8px 0;
    opacity: 0;
    transform: translateY(12px) scale(0.97);
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0s linear 0.28s;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Dropdown Arrow */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 22px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ffffff;
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0s linear 0s;
}

/* Rotate caret when dropdown is open */
.dropbtn .fa-caret-down {
    display: inline-block;
    transition: transform 0.28s ease;
    margin-left: 4px;
}

.dropdown:hover .dropbtn .fa-caret-down {
    transform: rotate(180deg);
}

/* Invisible bridge to prevent menu from closing when moving mouse from link to dropdown */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
}

.dropdown-content a {
    color: #374151;
    padding: 11px 22px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.25px;
    border-left: 3px solid transparent;
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, padding-left 0.22s ease;
}

.dropdown-content a:hover {
    background-color: #f0fdf9;
    color: #10b981;
    border-left-color: #10b981;
    padding-left: 28px;
}

/* Dropdown trigger styling */
.dropbtn {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.4px;
}

/* -----------------------------------------------
   Nested Dropdown (Offerings > Labeling)
   ----------------------------------------------- */

.offerings-dropdown {
    min-width: 200px;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 4px 12px;
}

.nested-dropdown {
    position: relative;
}

.nested-dropbtn {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.nested-caret {
    margin-left: auto;
    font-size: 0.72rem;
    color: #9ca3af;
    transition: transform 0.22s ease, color 0.22s ease;
    flex-shrink: 0;
}

.nested-dropdown:hover .nested-caret {
    transform: rotate(90deg);
    color: #10b981;
}

.nested-dropdown-content {
    visibility: hidden;
    position: absolute;
    left: 100%;
    top: -8px;
    background-color: #ffffff;
    min-width: 210px;
    box-shadow: 0px 8px 32px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
    z-index: 101;
    border-radius: 12px;
    padding: 8px 0;
    opacity: 0;
    transform: translateX(10px) scale(0.97);
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.165,0.84,0.44,1), visibility 0s linear 0.22s;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.nested-dropdown:hover .nested-dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(0) scale(1);
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.165,0.84,0.44,1), visibility 0s linear 0s;
}

.nested-dropdown-content a {
    color: #374151;
    padding: 10px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.25px;
    border-left: 3px solid transparent;
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, padding-left 0.22s ease;
}

.nested-dropdown-content a:hover {
    background-color: #f0fdf9;
    color: #10b981;
    border-left-color: #10b981;
    padding-left: 26px;
}

.nested-dropdown:hover > .nested-dropbtn {
    background-color: #f0fdf9;
    color: #10b981;
    border-left-color: #10b981;
    padding-left: 28px;
}

/* Mobile: extra indent for 3rd-level items */
.mobile-nested-content {
    padding-left: 15px !important;
}

.mobile-nested-content li a {
    font-size: 0.88em !important;
}

/* ── Nav SVG icon boxes ───────────────────────────────────────────────────── */
/* Coloured rounded squares that hold stroke-based SVG icons in nav dropdowns */
.nav-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.nav-icon-box svg {
    width: 15px;
    height: 15px;
    display: block;
}
.dropdown-content a:hover .nav-icon-box,
.nested-dropdown-content a:hover .nav-icon-box,
.nested-dropdown:hover > .nested-dropbtn .nav-icon-box {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.22);
}

/* Contact Button in Header - filled green pill */
.btn-contact {
    background-color: #10b981 !important;
    color: #111827 !important;
    border: none !important;
    padding: 9px 22px !important;
    border-radius: 9999px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.3px;
    transition: all var(--transition) !important;
}

.btn-contact:hover {
    background-color: #059669 !important;
    color: #111827 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 230, 118, 0.25);
}

/* Main Content Area */
.main-content {
    padding: 40px 0;
    min-height: 60vh; /* Ensures footer stays at bottom if content is short */
}
/* Zero top padding when page opens with a full-width hero — eliminates
   the white gap between the sticky header and the dark hero background */
.main-content:has(.page-hero),
.main-content:has(.hero-section) {
    padding-top: 0;
}

/* Footer Styles */
.main-footer {
    background-color: #0a0a0a;
    border-top: 1px solid rgba(0, 230, 118, 0.1);
    color: #ecf0f1;
    padding: 60px 0 0;
    margin-top: 0;
}

.main-footer a {
    text-decoration: none;
    transition: color 0.25s ease;
}

/* Footer brand row */
.footer-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Dark-background overrides for the shared logo block */
.footer-brand .logo-link {
    justify-content: center;
    opacity: 1;
}
.footer-brand .logo-link:hover { opacity: 0.82; }
.footer-brand .logo-icon {
    height: 56px;
    filter: none;          /* no drop-shadow — icon sits clean on dark bg */
}
.footer-brand .logo-wordmark { color: #ffffff; }
.footer-brand .logo-tagline  { color: #27ae60; }

/* Footer grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    margin-bottom: 20px;
}

.footer-section p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.87rem;
    color: rgba(236, 240, 241, 0.62);
    line-height: 1.75;
    margin: 0;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    font-family: 'Poppins', sans-serif;
    font-size: 0.87rem;
    color: rgba(236, 240, 241, 0.65);
}

.footer-section ul li a:hover {
    color: #10b981;
}

/* Contact items */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-contact-item i {
    color: #10b981;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.footer-contact-item a,
.footer-contact-item span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.87rem;
    color: rgba(236, 240, 241, 0.65);
}

.footer-contact-item a:hover {
    color: #10b981;
}

/* Social icons */
.footer-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.footer-social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(236, 240, 241, 0.6);
    font-size: 0.9rem;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.footer-social-icons a:hover {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.28);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.38);
}

.footer-bottom a:hover {
    color: #10b981;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

/* Footer responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }
}


/* Mobile Menu (Hidden by default on large screens) */
.menu-toggle {
    display: none; /* Hide on desktop */
    font-size: 28px;
    cursor: pointer;
    color: #374151;
}

.mobile-nav {
    display: none; /* Hidden by default */
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: absolute;
    width: 100%;
    left: 0;
    top: 100%; /* Position directly below the header */
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 90;
    padding-bottom: 10px;
}

.mobile-nav.active {
    display: block; /* Show when active */
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li a {
    display: block;
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06); /* Separator for mobile links */
}

.mobile-nav ul li a:hover {
    background-color: #f0fdf9;
    color: #10b981;
}

.mobile-dropdown-content {
    display: none; /* Hidden by default */
    list-style: none;
    padding-left: 25px; /* Indent sub-items */
    background-color: rgba(0, 0, 0, 0.02); /* Slightly different background for sub-items */
}

.mobile-dropdown-content.active {
    display: block;
}

.mobile-dropdown-content li a {
    padding: 10px 20px;
    font-size: 0.95em;
    border-bottom: none; /* No border for sub-items */
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .main-nav {
        display: none; /* Hide desktop nav */
    }

    .menu-toggle {
        display: block; /* Show mobile toggle */
    }

    .main-header .container {
        flex-wrap: wrap; /* Allow items to wrap */
        justify-content: space-between;
    }

    .main-header .logo {
        flex-grow: 1;
    }

    .logo-icon {
        height: 48px;
    }

    .logo-wordmark {
        font-size: 1.25rem;
    }

    .logo-tagline {
        font-size: 0.52rem;
        letter-spacing: 1.8px;
    }

    /* Adjust main content padding when mobile nav is open, if needed */
    .main-content {
        padding-top: 20px; /* Less top padding as header is compact */
    }
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Mint bloom orb background */
.hero-bg-animation {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
}

/* Soft mint radial bloom — top-left corner */
.hero-orb-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.14) 0%, rgba(0, 230, 118, 0.05) 40%, transparent 68%);
    top: -200px;
    left: -200px;
    filter: blur(40px);
    animation: none;
}

/* Second subtle bloom — bottom right for depth */
.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.06) 0%, transparent 65%);
    bottom: -50px;
    right: 5%;
    filter: blur(30px);
    animation: none;
}

.hero-orb-3 {
    opacity: 0; /* hidden */
}

/* Hero content layout */
.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    padding: 80px 0 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    width: 100%;
    max-width: 760px;
    text-align: center;
}

/* Eyebrow badge */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 230, 118, 0.25);
    border-radius: 9999px;
    padding: 6px 16px;
    color: #10b981;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 24px;
    background: rgba(0, 230, 118, 0.07);
}

.hero-eyebrow i {
    font-size: 0.5rem;
    color: #10b981;
    animation: eyebrowPulse 2.5s ease-in-out infinite;
}

@keyframes eyebrowPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

/* Headline */
.hero-headline {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    margin: 0 0 24px;
    letter-spacing: -0.03em;
    text-transform: none;
}

.hero-headline-accent {
    color: #10b981;
    display: block;
}

/* Subheading */
.hero-subheading {
    font-family: 'Poppins', sans-serif;
    font-size: 1.06rem;
    font-weight: 400;
    color: #4b5563;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
    margin-bottom: 0;
}

/* CTAs */
.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #10b981;
    color: #111827;
    padding: 14px 36px;
    border-radius: 9999px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}

.hero-btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 230, 118, 0.25);
    color: #111827;
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #374151;
    padding: 14px 28px;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
    white-space: nowrap;
}

.hero-btn-secondary:hover {
    border-color: rgba(0, 0, 0, 0.3);
    color: #111827;
    background: rgba(0, 0, 0, 0.04);
}

/* Trust indicators */
.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
}

.hero-trust i {
    color: #10b981;
    font-size: 0.75rem;
}

/* Right side — hero image */
.hero-visual {
    width: 100%;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: block;
    filter: drop-shadow(0 16px 40px rgba(16, 185, 129, 0.10));
}

.hero-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 22px;
    padding: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.hero-stat-card {
    padding: 26px 22px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(0, 230, 118, 0.2);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-stat-card:hover {
    background: #f0fdf6;
    border-color: rgba(0, 230, 118, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.12);
}

.hero-stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #0d1b2a;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Hero fade-in animation on load */
.hero-content,
.hero-visual {
    animation: heroFadeUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

.hero-visual {
    animation-delay: 0.15s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero responsive */
@media (max-width: 900px) {
    .hero-container {
        padding: 56px 0 44px;
        gap: 36px;
    }
}

@media (max-width: 600px) {
    .hero-container {
        padding: 44px 0 32px;
        gap: 28px;
    }

    .hero-img {
        border-radius: 12px;
    }
}

@media (max-width: 600px) {
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        justify-content: center;
    }

    .hero-stat-number {
        font-size: 1.6rem;
    }
}


/* =============================================
   EXCLUSIVE OFFERINGS (Homepage)
   ============================================= */

.offerings-section {
    background: #ffffff;
    padding: 70px 0 60px;
}

.offerings-section .section-label {
    text-align: center;
    display: block;
    margin-bottom: 12px;
}

.offerings-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #111827;
    text-align: center;
    font-size: clamp(1.7rem, 2.8vw, 2.2rem);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.offerings-section .offerings-subtitle {
    text-align: center;
    color: #4b5563;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto 48px;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.offering-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 30px 24px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.offering-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(16, 185, 129, 0.3);
}

.offering-card-number {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(0, 230, 118, 0.4);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.offering-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.offering-card-icon i {
    color: #059669;
    font-size: 1.2rem;
}

.offering-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #111827;
    text-transform: none;
    letter-spacing: 0.2px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.offering-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
}

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

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


/* =============================================
   TRUSTED PARTNERS (Homepage)
   ============================================= */

.partners-strip {
    background: #f9fafb;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 40px 0;
    text-align: center;
}

.partners-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 24px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.partner-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.partner-logo i {
    font-size: 1.1rem;
    color: #d1d5db;
}

.partner-logo:hover {
    color: #374151;
}


/* Scrolling Div for Index.php */
/* Static navigation wrapper for better flow */
.tiles-nav-wrapper-static {
    margin: 30px 0;
    margin-left: 80px; /* Align to the left like original */
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.scrolling-tiles-container {
    width: 402px; /* Exactly 2 tiles: 2×(180px + 16px margin) + 10px padding */
    height: 200px;
    overflow-y: hidden;
    overflow-x: auto;
    background-color: transparent;
    padding: 10px 5px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

/* Rest of the existing tile styles... */

.tile-nav-btn {
    background: rgba(44, 62, 80, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.tile-nav-btn:hover {
    background: #10b981;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.5);
}

.tile-nav-btn.prev {
    margin-right: -16px; /* Overlap slightly */
}

.tile-nav-btn.next {
    margin-left: -16px; /* Overlap slightly */
}

.scrolling-tiles-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.tile {
    width: 180px;
    height: 180px;
    margin: 0 8px; /* Better spacing */
    background: rgba(44, 62, 80, 0.8); /* Dark glassmorphism */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    display: flex;
    flex-direction: column; /* Allow for icon + text */
    justify-content: center;
    align-items: center;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-sizing: border-box;
    flex-shrink: 0;
    border-radius: 15px; /* Rounded corners */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.tile:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(0, 230, 118, 0.9); /* Change to blue on hover */
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.tile i {
    font-size: 2.5em;
    margin-bottom: 12px;
    color: #10b981;
    transition: color 0.3s ease;
}

.tile:hover i {
    color: #fff;
}

/* Unified Story Animation Styling */
/* ── Quality Lifecycle — Diverging Paths animation ──────────────────────── */
.ql-section {
    padding: 80px 0 100px;
}
.ql-section .section-intro {
    max-width: 580px;
    margin: 0 auto 44px;
    text-align: center;
}
.ql-section .section-intro p {
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.75;
    margin-top: 12px;
}
.ql-card {
    background: #141414;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 36px 32px 30px;
    max-width: 680px;
    margin: 0 auto;
}
.ql-card-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    text-align: center;
    margin-bottom: 22px;
}
.ql-svg { width: 100%; height: auto; overflow: visible; }
.ql-svg text { font-family: 'Poppins', sans-serif; }

.ql-stats {
    display: flex;
    gap: 1px;
    margin-top: 22px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    opacity: 0;
    transition: opacity 0.6s;
}
.ql-stats.show { opacity: 1; }
.ql-stat { flex: 1; padding: 13px 10px; text-align: center; }
.ql-stat:nth-child(1) { background: rgba(248,113,113,0.07); border-right: 1px solid rgba(255,255,255,0.05); }
.ql-stat:nth-child(2) { background: rgba(255,255,255,0.03);  border-right: 1px solid rgba(255,255,255,0.05); }
.ql-stat:nth-child(3) { background: rgba(74,222,128,0.07); }
.ql-stat-val { display: block; font-size: 1.05rem; font-weight: 700; margin-bottom: 2px; }
.ql-stat:nth-child(1) .ql-stat-val { color: #f87171; }
.ql-stat:nth-child(2) .ql-stat-val { color: rgba(255,255,255,0.65); }
.ql-stat:nth-child(3) .ql-stat-val { color: #4ade80; }
.ql-stat-desc { font-size: 0.59rem; color: rgba(255,255,255,0.3); line-height: 1.4; }

.ql-cta {
    text-align: center;
    margin-top: 14px;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.3px;
    opacity: 0;
    transition: opacity 0.6s;
}
.ql-cta.show { opacity: 1; }
.ql-cta span { color: #4ade80; }

@media (max-width: 640px) {
    .ql-card { padding: 22px 14px 20px; }
    .ql-stat { padding: 10px 6px; }
    .ql-stat-val { font-size: 0.88rem; }
    .ql-stat-desc { font-size: 0.55rem; }
}

/* Contact page — white background for surrounding main content area */
/* ── Contact page ─────────────────────────────────────────────────────────── */
.main-content:has(.contact-container) {
    background: linear-gradient(160deg, #eef2ff 0%, #f0fdf4 100%);
}

.contact-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(10, 22, 40, 0.14), 0 8px 24px rgba(10, 22, 40, 0.06);
    margin-top: 60px;
    margin-bottom: 80px;
}

/* ── Left sidebar ─────────────────────────────────────────────────────────── */
.contact-info-sidebar {
    background: linear-gradient(160deg, #0a1628 0%, #0d2340 55%, #0a2e1e 100%);
    color: #fff;
    padding: 52px 44px;
    position: relative;
    overflow: hidden;
}

/* Decorative glow orbs */
.contact-info-sidebar::before {
    content: '';
    position: absolute;
    top: -90px; right: -70px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,230,118,0.14) 0%, transparent 70%);
    pointer-events: none;
}
.contact-info-sidebar::after {
    content: '';
    position: absolute;
    bottom: -70px; left: -50px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.contact-info-sidebar h3 {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #10b981;
    margin-bottom: 10px;
}

.contact-info-sidebar > p {
    color: rgba(255,255,255,0.62);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 40px;
}

/* Info items */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info-item i {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #10b981;
    background: rgba(0, 230, 118, 0.13);
    border-radius: 10px;
    margin: 0;
}

.contact-info-item strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.42);
    margin-bottom: 3px;
}

.contact-info-item a,
.contact-info-item span,
.contact-info-item div {
    color: rgba(255,255,255,0.88);
    font-size: 0.92rem;
    line-height: 1.5;
    text-decoration: none;
}

.contact-info-item a:hover { color: #10b981; }

/* Social strip */
.contact-social {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 28px;
    margin-top: 8px;
}

.contact-social h5 {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.38);
    margin-bottom: 14px;
}

.contact-social a {
    display: inline-block;
    color: rgba(255,255,255,0.55);
    font-size: 18px;
    margin-right: 16px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.contact-social a:hover {
    color: #10b981;
    transform: translateY(-3px);
}

/* ── Right form panel ─────────────────────────────────────────────────────── */
.contact-form-wrapper {
    padding: 52px 48px;
    background: #ffffff;
}

.contact-form-wrapper h2 {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0a1628;
    margin-bottom: 6px;
    line-height: 1.15;
}

.contact-form-wrapper > p {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 32px;
}

/* Inputs */
.contact-form-wrapper .form-control {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    color: #0a1628;
    background: #fafbff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-wrapper .form-control::placeholder {
    color: #b0bec5;
    font-weight: 400;
    font-size: 0.875rem;
}

.contact-form-wrapper .form-control:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.14);
    background: #fff;
    outline: none;
}

.contact-form-wrapper .form-control.is-invalid {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

.contact-form-wrapper textarea.form-control {
    resize: vertical;
    min-height: 148px;
    line-height: 1.65;
}

/* Submit button */
.contact-form-wrapper .btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: #0a1628;
    padding: 15px 28px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    border-radius: 10px;
    transition: all 0.25s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-form-wrapper .btn-primary i {
    transition: transform 0.25s ease;
}

.contact-form-wrapper .btn-primary:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: #0a1628;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 230, 118, 0.38);
}

.contact-form-wrapper .btn-primary:hover i {
    transform: translateX(4px) rotate(-20deg);
}

/* Page Section Styling (interior pages — white background) */
.page-section {
    padding: 80px 0;
    background: #ffffff;
}

.page-section h1 {
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 40px;
}

.page-section h2 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.rounded-4 {
    border-radius: 1.5rem !important;
}

.card.shadow-sm {
    transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.card.shadow-sm:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}


/* =============================================
   INTERIOR PAGE HERO
   ============================================= */

.page-hero {
    min-height: 300px;
    background: linear-gradient(135deg, #0a1628 0%, #0d2137 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.page-hero .hero-orb {
    opacity: 0.12;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding: 60px 0;
}

.page-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 20px 0 16px;
    letter-spacing: -0.3px;
}

.page-hero p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    line-height: 1.7;
    margin: 0;
}


/* =============================================
   SERVICE CARDS
   ============================================= */

.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    border: 1px solid #f0f0f0;
    height: 100%;
    transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 230, 118, 0.14);
    border-color: #10b981;
}

.service-card .service-icon {
    font-size: 2.4rem;
    color: #10b981;
    margin-bottom: 20px;
    display: block;
}

.service-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.service-card p {
    font-size: 0.91rem;
    color: #666;
    line-height: 1.68;
    margin-bottom: 18px;
}

.service-card .service-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #10b981;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.service-card .service-link:hover {
    gap: 10px;
}

/* Detailed service sections */
.service-detail {
    padding: 70px 0;
    border-bottom: 1px solid #f0f4f8;
}

.service-detail:last-of-type {
    border-bottom: none;
}

.service-detail h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
}

.service-detail .lead {
    color: #555;
}


/* =============================================
   PROCESS STEPS
   ============================================= */

.process-section {
    background: #f9fafb;
    padding: 70px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Process section heading — overrides inline styles */
.process-section h2 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    color: #111827 !important;
    text-align: center !important;
    font-size: clamp(1.7rem, 2.8vw, 2.2rem) !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.02em !important;
}

.process-section p[style] {
    text-align: center !important;
    color: #4b5563 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    max-width: 520px !important;
    margin: 0 auto 48px !important;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 48px;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
    position: relative;
}

/* Connector line between steps */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22px;
    right: -1px;
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, #10b981, rgba(52,152,219,0.2));
    border-radius: 2px;
}

.process-step:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 22px;
    left: -1px;
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, rgba(52,152,219,0.2), #10b981);
    border-radius: 2px;
}

.process-step-number {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #111827;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(0, 230, 118, 0.25);
    position: relative;
    z-index: 1;
}

.process-step i {
    font-size: 1.8rem;
    color: #10b981;
    margin-bottom: 14px;
    display: block;
}

.process-step h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #111827;
    margin-bottom: 10px;
    font-size: 1rem;
}

.process-step p {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.6;
}


/* =============================================
   CTA STRIP
   ============================================= */

.cta-strip {
    background: linear-gradient(135deg, #f0fdf9 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 64px 48px;
    text-align: center;
    margin: 64px 0;
    border: 1px solid rgba(0, 230, 118, 0.2);
    box-shadow: 0 4px 24px rgba(0, 230, 118, 0.06);
}

.cta-strip h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #111827;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    margin-bottom: 12px;
}

.cta-strip p {
    font-family: 'Poppins', sans-serif;
    color: #4b5563;
    font-size: 1.02rem;
    margin-bottom: 0;
}

.cta-strip-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
    flex-wrap: wrap;
}


/* =============================================
   VALUES CARDS (About page)
   ============================================= */

.values-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px 26px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-top: 3px solid #10b981;
    height: 100%;
    transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.values-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 230, 118, 0.12);
}

.values-card i {
    color: #10b981;
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.values-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.values-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
}


/* =============================================
   TEAM CARDS (About page)
   ============================================= */

.team-card {
    text-align: center;
    padding: 36px 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    border: 1px solid #f0f0f0;
    transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 230, 118, 0.12);
}

.team-avatar {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #e8f4fd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border: 3px solid rgba(0, 230, 118, 0.2);
}

.team-avatar i {
    font-size: 2.6rem;
    color: #10b981;
}

.team-card h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
    font-size: 1rem;
}

.team-card .team-role {
    font-size: 0.83rem;
    color: #888;
    font-family: 'Poppins', sans-serif;
}


/* =============================================
   TESTIMONIALS SECTION (Homepage)
   ============================================= */

.testimonials-section {
    padding: 70px 0 20px;
}

.testimonials-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #111827;
    text-align: center;
    font-size: clamp(1.7rem, 2.8vw, 2.2rem);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.testimonials-section > p {
    text-align: center;
    color: #4b5563;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto 48px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(0, 230, 118, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-quote-mark {
    font-size: 3.5rem;
    line-height: 1;
    color: #10b981;
    opacity: 0.6;
    font-family: Georgia, serif;
    margin-bottom: -12px;
}

.testimonial-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.93rem;
    color: #374151;
    line-height: 1.75;
    flex: 1;
}

.testimonial-stars {
    color: #f39c12;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 20px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #059669, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-author-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: #111827;
}

.testimonial-author-role {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    color: #6b7280;
    margin-top: 2px;
}


/* ══════════════════════════════════════════════════════════════════════════════
   Homepage — From the Blog Section
   ══════════════════════════════════════════════════════════════════════════════ */

.hp-blog-section {
    background: linear-gradient(160deg, #f0f4ff 0%, #f0fdf9 100%);
    padding: 80px 0 88px;
    margin: 0;
}
.hp-blog-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.hp-blog-header {
    text-align: center;
    margin-bottom: 48px;
}
.hp-blog-header h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: #0a1628;
    margin: 0.5rem 0 0.75rem;
}
.hp-blog-header p {
    font-size: .97rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ── Grid ────────────────────────────────────────────────────────────────── */
.hp-blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}
@media (max-width: 900px) { .hp-blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hp-blog-grid { grid-template-columns: 1fr; } }

/* ── Card ────────────────────────────────────────────────────────────────── */
.hp-blog-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.hp-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.hp-blog-card--featured {
    border-color: rgba(0,230,118,.25);
    box-shadow: 0 4px 20px rgba(0,230,118,.1), 0 2px 16px rgba(0,0,0,.06);
}
.hp-blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.hp-blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

/* ── Card meta (category badge + date + read time) ───────────────────────── */
.hp-blog-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.hp-blog-cat {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}
.hp-cat-labeling  { background: rgba(0,230,118,.12); color: #00874a; }
.hp-cat-aiml      { background: rgba(79,70,229,.1);  color: #4f46e5; }
.hp-cat-industry  { background: rgba(245,158,11,.12); color: #b45309; }
.hp-cat-news      { background: rgba(14,165,233,.12); color: #0369a1; }
.hp-blog-date     { font-size: .75rem; color: #94a3b8; margin-left: auto; }
.hp-blog-read     { font-size: .75rem; color: #94a3b8; }
.hp-blog-read i   { margin-right: 3px; }

/* ── Card title & excerpt ────────────────────────────────────────────────── */
.hp-blog-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #0a1628;
    line-height: 1.4;
    margin: 0;
}
.hp-blog-card--featured .hp-blog-card-title {
    font-size: 1.15rem;
}
.hp-blog-card-excerpt {
    font-size: .875rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Card footer ─────────────────────────────────────────────────────────── */
.hp-blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,.06);
}
.hp-blog-author {
    font-size: .78rem;
    color: #94a3b8;
}
.hp-blog-author i { margin-right: 4px; }
.hp-blog-readmore {
    font-size: .8rem;
    font-weight: 600;
    color: #00874a;
    white-space: nowrap;
    transition: gap .15s ease;
}
.hp-blog-card:hover .hp-blog-readmore { color: #059669; }

/* ── CTA button ──────────────────────────────────────────────────────────── */
.hp-blog-cta {
    text-align: center;
}
.hp-blog-cta-btn {
    display: inline-block;
    padding: 13px 36px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #0a1628;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,200,83,.3);
    transition: transform .2s ease, box-shadow .2s ease;
}
.hp-blog-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,200,83,.4);
    color: #0a1628;
}

/* ── Empty state ─────────────────────────────────────────────────────────── */
.hp-blog-empty {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}
.hp-blog-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
    opacity: .4;
}

/* =============================================
   COMPLIANCE / SECURITY BADGES (Homepage)
   ============================================= */

/* ── Compliance Roadmap ──────────────────────────────────────────────────── */
.compliance-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #f8faff 60%, #f3f4ff 100%);
    border: 1px solid rgba(34,197,94,.15);
    border-radius: 24px;
    padding: 56px 48px 52px;
    margin: 0 0 64px;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative glow */
.compliance-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(34,197,94,.08) 0%, transparent 70%);
    pointer-events: none;
}
.compliance-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: 10%;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(99,102,241,.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Header */
.cr-header {
    text-align: center;
    margin-bottom: 44px;
    position: relative; z-index: 1;
}
.cr-eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #16a34a;
    margin-bottom: 12px;
}
.cr-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #0d2b1a;
    margin: 0 0 16px;
    line-height: 1.2;
}
.cr-narrative {
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    color: #4b5563;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Three-phase columns */
.cr-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    position: relative; z-index: 1;
}

.cr-col {
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid transparent;
}

/* Active column */
.cr-col--active {
    background: #ffffff;
    border-color: rgba(22,163,74,.22);
    box-shadow: 0 2px 16px rgba(22,163,74,.07);
}
/* Progress column */
.cr-col--progress {
    background: #ffffff;
    border-color: rgba(217,119,6,.22);
    box-shadow: 0 2px 16px rgba(217,119,6,.07);
}
/* Roadmap column */
.cr-col--roadmap {
    background: #ffffff;
    border-color: rgba(99,102,241,.20);
    box-shadow: 0 2px 16px rgba(99,102,241,.06);
}

/* Column header */
.cr-col-head {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cr-col-phase {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.cr-col--active   .cr-col-phase { color: #4ade80; }
.cr-col--progress .cr-col-phase { color: #fbbf24; }
.cr-col--roadmap  .cr-col-phase { color: #a5b4fc; }

/* Status dots */
.cr-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.cr-dot--active {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,.25);
}
.cr-dot--progress {
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,.25);
    animation: cr-pulse 1.8s ease-in-out infinite;
}
.cr-dot--roadmap {
    background: transparent;
    border: 2px solid #818cf8;
}
@keyframes cr-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(245,158,11,.25); }
    50%       { box-shadow: 0 0 0 6px rgba(245,158,11,.08); }
}

/* Item list */
.cr-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}
.cr-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.cr-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}
.cr-col--active   .cr-icon { background: rgba(34,197,94,.15);  color: #4ade80; }
.cr-col--progress .cr-icon { background: rgba(245,158,11,.15); color: #fbbf24; }
.cr-col--roadmap  .cr-icon { background: rgba(129,140,248,.15);color: #a5b4fc; }

.cr-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cr-item-text strong {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #111827;
}
.cr-item-text span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.4;
}

/* Feature chips (active column) */
.cr-feats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(34,197,94,.18);
}
.cr-feat {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    color: #15803d;
    display: flex;
    align-items: center;
    gap: 7px;
}
.cr-feat i { font-size: 0.68rem; color: #16a34a; }

/* Progress bar (in-progress column) */
.cr-progress-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}
.cr-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(245,158,11,.18);
    border-radius: 3px;
    overflow: hidden;
}
.cr-progress-fill {
    height: 100%;
    width: 55%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 3px;
    animation: cr-fill-pulse 2.4s ease-in-out infinite;
}
@keyframes cr-fill-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.72; }
}
.cr-progress-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    color: #b45309;
    font-weight: 600;
    letter-spacing: 0.5px;
}


/* =============================================
   INTERIOR PAGE RESPONSIVE
   ============================================= */

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

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }

    .process-step::after,
    .process-step::before {
        display: none;
    }

    .cta-strip {
        padding: 44px 24px;
    }

    .cta-strip-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-strip-btns .hero-btn-primary,
    .cta-strip-btns .hero-btn-secondary {
        justify-content: center;
    }

    .compliance-section {
        padding: 40px 20px 36px;
        border-radius: 16px;
    }
    .cr-columns {
        grid-template-columns: 1fr;
    }
    .cr-title {
        font-size: 1.4rem;
    }
    .cr-col--progress {
        order: -1; /* SOC 2 first on mobile so it's prominent */
    }
}


/* =============================================
   STATS STRIP (Homepage)
   ============================================= */

.stats-strip {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 44px 0;
}

.stats-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-item {
    text-align: center;
    padding: 0 48px;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-divider {
    width: 1px;
    height: 52px;
    background: rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .stats-strip-inner { flex-wrap: wrap; gap: 32px; }
    .stat-divider { display: none; }
    .stat-item { padding: 0 24px; }
}


/* =============================================
   INDUSTRIES MARQUEE (Homepage)
   ============================================= */

.industries-strip {
    background: #f9fafb;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 28px 0;
    overflow: hidden;
}

.industries-strip-label {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 20px;
}

.industries-marquee-wrapper {
    overflow: hidden;
    position: relative;
}

/* Fade edges */
.industries-marquee-wrapper::before,
.industries-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.industries-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f9fafb, transparent);
}

.industries-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f9fafb, transparent);
}

.industries-marquee-track {
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    padding: 4px 0;
    animation: marqueeScroll 32s linear infinite;
}

.industries-marquee-wrapper:hover .industries-marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.industry-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 40px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    cursor: default;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
    user-select: none;
}

.industry-badge i {
    color: #10b981;
    font-size: 0.78rem;
}

.industry-badge:hover {
    background: #f0fdf9;
    border-color: rgba(0, 230, 118, 0.25);
    color: #111827;
}

@media (prefers-reduced-motion: reduce) {
    .industries-marquee-track {
        animation: none;
    }
}

/* ── Resource Pages (Datasets / Blogs / Benchmarks) ── */
.resource-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.15rem;
    margin-top: 2rem;
    margin-bottom: 0.6rem;
}
.resource-content p,
.resource-content li {
    color: #555;
    line-height: 1.85;
    font-size: 0.97rem;
}
.resource-content ul {
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}
.resource-content a {
    color: #3498db;
    text-decoration: none;
}
.resource-content a:hover {
    text-decoration: underline;
}

/* ── Legal Pages (Privacy Policy / Terms of Service) ── */
.legal-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.15rem;
    margin-top: 2rem;
    margin-bottom: 0.6rem;
}
.legal-content p,
.legal-content li {
    color: #555;
    line-height: 1.85;
    font-size: 0.97rem;
}
.legal-content ul {
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}
.legal-content a {
    color: #3498db;
    text-decoration: none;
}
.legal-content a:hover {
    text-decoration: underline;
}
/* ── Dataset Cards ──────────────────────────────────────────────────────────── */

/* Tab pill overrides for dataset tabs */
#datasetTabs .nav-link {
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}
#datasetTabs .nav-link.active,
#datasetTabs .nav-link:hover {
    background: var(--accent, #10b981);
    color: #111;
    border-color: var(--accent, #10b981);
}

/* Category heading row */
.dataset-category-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #1abc9c 100%);
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.dataset-category-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #2c3e50;
}

/* Card shell */
.dataset-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.dataset-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}

/* Card header area */
.dataset-card-header {
    padding: 1.25rem 1.25rem 0.75rem;
    flex-grow: 1;
}
.dataset-status-badge {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 3px 10px;
    margin-bottom: 0.6rem;
    display: inline-block;
}
.dataset-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}
.dataset-card-desc {
    font-size: 0.855rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Meta section (volume, formats) */
.dataset-card-meta {
    padding: 0.75rem 1.25rem;
    background: #f8fafc;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.dataset-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #555;
    margin-bottom: 0.4rem;
}
.dataset-meta-item i {
    color: #00b37a;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Format badges */
.dataset-format-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 4px;
    padding: 1px 7px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Tag pills */
.dataset-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.dataset-tag {
    display: inline-block;
    background: #eef2ff;
    color: #4338ca;
    border-radius: 50px;
    padding: 2px 10px;
    font-size: 0.73rem;
    font-weight: 500;
}

/* Card footer */
.dataset-card-footer {
    padding: 0.9rem 1.25rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

/* ── Admin dataset listing row ──────────────────────────────────────────────── */
.dataset-admin-row {
    transition: background 0.15s;
}
.dataset-admin-row:hover {
    background: #f8fafc;
}
.table-section-header {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #666;
}

/* ── Dataset sticky category nav ─────────────────────────────────────────── */
.dataset-nav-wrap {
    position: sticky;
    top: 72px;          /* matches navbar height — adjust if needed */
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
}

/* Scroll offset so anchors clear the sticky navbar */
.dataset-section {
    scroll-margin-top: 140px;  /* navbar (~72px) + sticky pill nav (~58px) + breathing room */
}

/* ══════════════════════════════════════════════════════════════════════════════
   Blog Listing – TED-inspired cards & featured post
   ══════════════════════════════════════════════════════════════════════════════ */

/* Scroll offset for sticky nav */
.blog-topic-section {
    scroll-margin-top: 140px;
}

/* ── Blog Card (3-col grid, image-top, no button) ── */
.blog-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.07);
    color: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.11);
    color: inherit;
}

/* Image area — 16:9, solid colour bg + faint watermark icon */
.blog-card-img-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}
.blog-card-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.35s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-card-img-icon {
    font-size: 5rem;
    opacity: 0.07;
    color: #000;
}

/* Text area */
.blog-card-body {
    padding: 1.1rem 1.2rem 1.3rem;
}
.blog-card-cat {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
    display: block;
}
.blog-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.42;
    color: #111;
    margin: 0 0 0.55rem;
}
.blog-card-excerpt {
    font-size: 0.855rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-meta {
    font-size: 0.75rem;
    color: #999;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.2rem;
}
.blog-card-author { color: #555; font-weight: 600; }
.blog-card-sep { opacity: 0.4; margin: 0 0.15rem; }

/* ── Featured post (horizontal split) ── */
.blog-featured-wrap { }
.blog-featured {
    display: grid;
    grid-template-columns: 45% 1fr;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.07);
    background: #fff;
    color: inherit;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.blog-featured:hover {
    box-shadow: 0 14px 44px rgba(0,0,0,0.12);
    transform: translateY(-3px);
    color: inherit;
}
.blog-featured-img {
    overflow: hidden;
}
.blog-featured-img-inner {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease;
}
.blog-featured-img-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-featured:hover .blog-featured-img-inner { transform: scale(1.04); }
.blog-featured-img-icon {
    font-size: 7rem;
    opacity: 0.07;
    color: #000;
}
.blog-featured-body {
    padding: 2.2rem 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-featured-tag {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}
.blog-featured-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.28;
    color: #111;
    margin: 0 0 0.85rem;
}
.blog-featured-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.75;
    margin: 0 0 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-featured-meta {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 1.4rem;
}
.blog-featured-meta .blog-card-author { color: #444; }
.blog-featured-cta {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.02em;
    border-bottom: 2px solid #111;
    padding-bottom: 1px;
    width: fit-content;
    transition: color 0.2s, border-color 0.2s;
}
.blog-featured:hover .blog-featured-cta { color: #00b37a; border-color: #00b37a; }

@media (max-width: 767px) {
    .blog-featured {
        grid-template-columns: 1fr;
    }
    .blog-featured-img-inner { min-height: 200px; }
    .blog-featured-body { padding: 1.4rem 1.3rem; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   Blog Listing – Hero Stats Row
   ══════════════════════════════════════════════════════════════════════════════ */

.hero-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.hero-stat {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
}
.hero-stat span {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.25);
}

/* ══════════════════════════════════════════════════════════════════════════════
   Blog – Post Detail Page (editorial / TED-style)
   ══════════════════════════════════════════════════════════════════════════════ */

/* Editorial header — white, clean */
.blog-post-header {
    padding: 3rem 0 2.5rem;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.blog-post-header .container { max-width: 820px; }

/* Breadcrumb in article header */
.blog-breadcrumb .breadcrumb-item a { color: #666; text-decoration: none; font-size: 0.82rem; }
.blog-breadcrumb .breadcrumb-item a:hover { color: #111; }
.blog-breadcrumb .breadcrumb-item.active,
.blog-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #aaa; font-size: 0.82rem; }

/* Category chip on white bg */
.blog-cat-chip {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

/* Article title */
.blog-post-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    line-height: 1.22;
    color: #111;
    margin: 0 0 1.1rem;
}

/* Author / date row */
.blog-post-byline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #777;
    flex-wrap: wrap;
}
.blog-post-byline-author {
    font-weight: 700;
    color: #333;
}
.blog-post-byline-sep { opacity: 0.35; }

/* Full-width cover band (below header, before article body) */
.blog-post-cover {
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    background: var(--cover-gradient, linear-gradient(135deg,#667eea,#764ba2));
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-post-cover img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}
.blog-post-cover-icon {
    font-size: 8rem;
    opacity: 0.12;
    color: #fff;
    padding: 3rem 0;
}

/* Post body — narrow, centred */
.blog-post-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1rem 2rem;
}
.blog-post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 2rem; }

/* Article typography */
.blog-post-content {
    font-size: 1.05rem;
    line-height: 1.92;
    color: #2d2d2d;
}
.blog-post-content h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #111;
    margin: 2.5rem 0 1rem;
}
.blog-post-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.18rem;
    color: #111;
    margin: 2rem 0 0.75rem;
}
.blog-post-content p { margin-bottom: 1.45rem; }
.blog-post-content ul,
.blog-post-content ol { padding-left: 1.6rem; margin-bottom: 1.4rem; }
.blog-post-content li { margin-bottom: 0.45rem; }
.blog-post-content strong { color: #111; }
.blog-post-content blockquote {
    border-left: 4px solid #00b37a;
    padding: 0.85rem 1.5rem;
    margin: 1.75rem 0;
    background: #f0fdf9;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    font-size: 1.08rem;
    color: #444;
}
.blog-post-content code {
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.88em;
    color: #e83e8c;
}
.blog-post-content pre {
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 12px;
    padding: 1.35rem;
    overflow-x: auto;
    margin: 1.75rem 0;
    font-size: 0.9rem;
}
.blog-post-content pre code { background: none; color: inherit; padding: 0; }
.blog-post-content img { max-width: 100%; border-radius: 10px; margin: 1rem 0; }
.blog-post-content a { color: #00b37a; }
.blog-post-content a:hover { color: #008f5e; }

/* Author bio box */
.blog-author-box {
    background: #f8fafc;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    padding: 1.6rem;
    margin-top: 3rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.blog-author-box-info { flex: 1; }
.blog-author-box-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #111;
    margin-bottom: 0.25rem;
}
.blog-author-box-bio {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

/* Related posts strip */
.blog-related-wrap {
    background: #f8fafc;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.blog-related-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #111;
}

/* ── Admin: blog content textarea ─────────────────────────────────────────── */
.blog-content-editor {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.88rem;
    line-height: 1.65;
    color: #1a1a2e;
    background: #fafbfc;
    resize: vertical;
}
