/* ===== Header / Desktop Nav ===== */
/* Brand palette: indigo (primary) + yellow (secondary). */
:root {
    --indigo-100: #daccff;
    --indigo-200: #bea6ff;
    --indigo-300: #ab8cff;
    --indigo-800: #2f127d;
    --indigo-900: #251257;
    --indigo-950: #1a0d3d;
    --yellow-300: #ffda70;
    --yellow-400: #ffcc3c;

    /* Nav roles mapped onto the palette. */
    /* Bar uses the page purple (v2 hero gradient #291154 -> #1e0c3f), not the bluer
       indigo scale, so it runs straight into every hero without a seam. */
    --nav-bg: #291154;
    --nav-line: rgba(171, 140, 255, 0.16); /* indigo-300 */
    --nav-text: #ffffff;
    --nav-text-muted: var(--indigo-200);
    --nav-label: var(--indigo-300);

    /* Mega panel: light indigo surface with dark indigo type. */
    --nav-panel-bg: rgba(218, 204, 255, 0.8); /* indigo-100, slightly see-through */
    --nav-panel-title: var(--indigo-950);
    --nav-panel-desc: #4623a3;  /* indigo-700 */
    --nav-panel-label: #4623a3; /* indigo-700 */
    --nav-panel-hover-bg: #ece5ff; /* indigo-50 */
    --nav-panel-hover-title: #5428c7; /* indigo-600 */
    --nav-accent: var(--yellow-400);
    --nav-accent-hover: var(--yellow-300);
    --nav-ink: var(--indigo-950);
    --footer-bg: #170a30;
}

.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--nav-bg);
}

body.mega-menu-active::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    transition: opacity 0.2s ease;
}

.nav_bar {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    height: 80px;
    margin: 0 auto;
    background: var(--nav-bg);
}

.nav_bar .context {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 91px;
    width: 100%;
    max-width: 1144px;
    padding: 0 24px;
}

.logo {
    flex-shrink: 0;
}

.logo a { display: inline-flex; }

/* Logo artwork is dark; render it white on the dark bar. */
.nav_bar .logo img {
    filter: brightness(0) invert(1);
}

.logo img {
    height: 20px;
    width: 117px;
}

/* ---- Top-level nav menu ---- */
.nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    flex: 1;
}

.nav-menu > li {
    position: relative;
    display: flex;
    align-items: center;
    padding: 28px 18px;
}

.nav-menu > li.bringits-has-mega-menu {
    position: static;
}

.nav-menu > li > a {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--nav-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.nav-menu > li.mega-menu-open > a,
.nav-menu > li > a:hover,
.nav-menu > li > a:focus-visible,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
    color: var(--nav-accent);
}

.nav-chevron {
    display: inline-flex;
    align-items: center;
    transition: transform 0.25s ease;
}

.nav-chevron svg {
    width: 20px;
    height: 20px;
}

.nav-menu > li.mega-menu-open .nav-chevron {
    transform: rotate(180deg);
}

/* ---- Mega Menu Panel ---- */
.bringits-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-width: 1440px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 100;
}

.mega-menu-open > .bringits-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-menu-inner {
    display: flex;
    flex-direction: row;
    gap: 40px;
    max-width: 1144px;
    margin: 0 auto;
    padding: 24px 24px;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 366px;
    flex-shrink: 0;
}

.mega-section-label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.02em;
    color: #B0B0B0;
    text-transform: uppercase;
    padding: 0 16px;
    margin-bottom: 0;
}

.mega-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ---- Product / Doc cards ---- */
.mega-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 4px 0 4px 12px;
    border-radius: 18px;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.mega-card:hover {
    background: #EDECF0;
}

.mega-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    min-width: 65px;
}

.mega-card-icon img {
    max-width: 100%;
    max-height: 100%;
}

.mega-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    flex: 1;
    min-width: 0;
}

.mega-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #262626;
}

.mega-card-desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #262626;
}

/* Desktop mega panel on the dark nav palette (the mobile overlay reuses the card classes, so scope here). */
/* Light panel (indigo-100) under the dark bar; dark indigo type, hover lifts the card to indigo-50. */
.bringits-mega-menu {
    background: var(--nav-panel-bg);
    /* Blur what shows through so the menu text stays crisp. */
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 48px rgba(26, 13, 61, 0.35);
}

.bringits-mega-menu .mega-section-label {
    color: var(--nav-panel-label);
}

.bringits-mega-menu .mega-card-title {
    color: var(--nav-panel-title);
    transition: color 0.15s ease;
}

.bringits-mega-menu .mega-card-desc {
    color: var(--nav-panel-desc);
}

.bringits-mega-menu .mega-card:hover,
.bringits-mega-menu .mega-card:focus-visible {
    background: var(--nav-panel-hover-bg);
}

.bringits-mega-menu .mega-card:focus-visible {
    outline: 2px solid var(--nav-panel-hover-title);
    outline-offset: 2px;
}

.bringits-mega-menu .mega-card:hover .mega-card-title,
.bringits-mega-menu .mega-card:focus-visible .mega-card-title {
    color: var(--nav-panel-hover-title);
}

/* ---- Header actions (desktop) ---- */
.header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.btn-primary {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    height: 48px;
    background: var(--primary-color);
    border: 2px solid #262626;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary span {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #262626;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Header CTA: brand yellow, no outline, trailing arrow (v2 design). */
.header-actions .btn-primary {
    gap: 8px;
    background: var(--nav-accent);
    border-color: var(--nav-accent);
    color: var(--nav-ink);
}

.header-actions .btn-primary span {
    color: var(--nav-ink);
}

.header-actions .btn-primary:hover {
    background: var(--nav-accent-hover);
    border-color: var(--nav-accent-hover);
}

.btn-primary__arrow {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.header-actions .btn-primary:hover .btn-primary__arrow {
    transform: translateX(2px);
}

.btn-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #262626;
    text-decoration: none;
}

.header-actions .btn-text {
    font-weight: 400;
    color: var(--nav-text);
}

.header-actions .btn-text.btn-contact:hover,
.header-actions .btn-text.btn-contact:focus-visible {
    color: var(--nav-accent);
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.btn-contact__icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.btn-text.btn-contact:hover {
    color: var(--secondary-color, #3716DE);
}

.btn-text.btn-contact:hover .btn-contact__icon {
    transform: translateY(-1px);
}

.mobile-cta.btn-contact {
    justify-content: center;
}

/* ---- Mobile hamburger toggle (hidden on desktop) ---- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 28px;
    height: 28px;
    color: var(--nav-text);
    transition: color 0.15s ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
    color: var(--nav-accent);
}

/* ---- Responsive header: swap desktop nav for hamburger ---- */
@media (max-width: 768px) {
    .main-navigation,
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ---- Mobile menu overlay (hidden on desktop) ---- */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFFFFF;
    z-index: 999;
    overflow-y: auto;
    flex-direction: column;
}

.mobile-menu-overlay.open {
    display: flex;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    height: 60px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(27, 31, 29, 0.05);
    flex-shrink: 0;
}

.mobile-menu-header .logo img {
    height: 20px;
    width: 117px;
}

.mobile-menu-close {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1B1F1D;
}

.mobile-menu-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
}

.mobile-navigation {
    flex: 1;
}

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

.mobile-nav-item {
    border-top: 1px solid #E7E7E7;
}

.mobile-nav-item:last-child {
    border-bottom: 1px solid #E7E7E7;
}

.mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 32px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #1B1F1D;
    text-align: left;
}

.mobile-nav-toggle .nav-chevron {
    display: inline-flex;
    align-items: center;
    transition: transform 0.25s ease;
}

.mobile-nav-toggle .nav-chevron svg {
    width: 20px;
    height: 20px;
}

.mobile-nav-item__row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
}

.mobile-nav-link--expandable-primary {
    flex: 1;
    min-width: 0;
}

.mobile-nav-toggle--split {
    width: auto;
    flex-shrink: 0;
    padding: 16px 32px 16px 12px;
}

.mobile-nav-item--expandable.expanded > .mobile-nav-toggle,
.mobile-nav-item--expandable.expanded .mobile-nav-toggle--split {
    font-weight: 600;
}

.mobile-nav-item--expandable.expanded > .mobile-nav-toggle .nav-chevron,
.mobile-nav-item--expandable.expanded .mobile-nav-toggle--split .nav-chevron {
    transform: rotate(180deg);
}

.mobile-nav-submenu {
    display: none;
    padding-bottom: 8px;
}

.mobile-nav-item--expandable.expanded > .mobile-nav-submenu {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 16px 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #1B1F1D;
    text-decoration: none;
}

.mobile-nav-link--top {
    font-size: 18px;
    line-height: 28px;
}

/* Mobile section labels */
.mobile-mega-section .mega-section-label {
    padding: 2px 32px;
    margin-bottom: 4px;
    margin-top: 8px;
}

/* Mobile product/doc cards */
.mobile-mega-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 12px 0 12px 32px;
    text-decoration: none;
}

.mobile-mega-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
}

.mobile-mega-card-icon img {
    max-width: 100%;
    max-height: 100%;
}

.mobile-mega-card-body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-mega-card .mega-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #1B1F1D;
}

.mobile-mega-card .mega-card-desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #1B1F1D;
}

/* Nested accordion (Docs inside Resources) */
.mobile-nav-item--nested {
    border-top: none;
}

.mobile-nav-item--nested:last-child {
    border-bottom: none;
}

.mobile-nav-toggle--sub {
    padding: 16px 32px;
    font-size: 16px;
    line-height: 24px;
}

.mobile-nav-item--nested.expanded > .mobile-nav-toggle--sub {
    font-weight: 600;
}

.mobile-nav-item--nested.expanded > .mobile-nav-toggle--sub .nav-chevron {
    transform: rotate(180deg);
}

.mobile-nav-item--nested > .mobile-nav-submenu {
    display: none;
}

.mobile-nav-item--nested.expanded > .mobile-nav-submenu {
    display: block;
}

/* Mobile CTAs */
.mobile-menu-ctas {
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding: 32px;
    border-top: 2px solid rgba(27, 31, 29, 0.05);
    flex-shrink: 0;
}

.mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid #1B1F1D;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #1B1F1D;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.mobile-cta--primary {
    background: #FFE482;
}

.mobile-cta--secondary {
    background: #FFFFFF;
    flex: 1;
}

/* Footer Styles */
.site-footer {
    width: 100%;
    background: var(--footer-bg);
    border-top: 1px solid var(--nav-line);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 64px 20px 32px;
    background: var(--footer-bg);
    box-sizing: border-box;
}

.footer-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 64px;
    width: 100%;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    flex: 0 0 auto;
    width: min(360px, 100%);
}

.footer-logo-wrap .custom-logo-link,
.footer-logo-link {
    display: inline-block;
    line-height: 0;
}

.footer-logo,
.footer-logo-wrap .custom-logo {
    width: 225px;
    max-width: 100%;
    height: auto;
}

/* Logo artwork is dark; render it white on the dark footer (matches the nav bar). */
.site-footer .footer-logo,
.site-footer .footer-logo-wrap .custom-logo {
    filter: brightness(0) invert(1);
}

.footer-tagline {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--nav-text-muted);
    text-align: left;
}

.footer-contact-email {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact-email a {
    color: var(--nav-text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-contact-email a:hover,
.footer-contact-email a:focus-visible {
    color: var(--nav-accent);
    text-decoration: underline;
}

.footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 4px;
    box-sizing: border-box;
}

.footer-social-icon img {
    width: 36px;
    height: 36px;
    /* Icons are drawn in color; render them white on the dark footer. */
    filter: brightness(0) invert(1);
    opacity: 0.72;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.footer-social-icon:hover img,
.footer-social-icon:focus-visible img {
    opacity: 1;
    transform: translateY(-1px);
}

.footer-nav {
    flex: 0 1 auto;
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
    padding-left: 48px;
    border-left: 1px solid var(--nav-line);
}

.footer-columns {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 48px 64px;
    max-width: 100%;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 0 0 auto;
    min-width: 140px;
}

.footer-col-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: default;
    text-align: left;
    font: inherit;
    color: inherit;
}

.footer-col-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nav-label);
}

.footer-col-chevron {
    display: none;
    flex-shrink: 0;
    color: var(--nav-text);
    transition: transform 0.2s ease;
}

.footer-col-panel {
    display: block;
}

.footer-col-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-col-links li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .footer-col-link a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 4px 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: var(--nav-text);
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer .footer-col-link a:hover,
.site-footer .footer-col-link a:focus-visible {
    color: var(--nav-accent);
}

.footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding-top: 24px;
    border-top: 1px solid var(--nav-line);
}

.footer-bottom:not(:has(.footer-trust-line)) {
    justify-content: flex-end;
}

.footer-trust-line,
.footer-copyright {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--nav-text-muted);
}

.footer-bottom-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 16px;
}

.footer-cookie-settings,
.footer-cookie-settings:hover {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--nav-text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}

.footer-cookie-settings:hover,
.footer-cookie-settings:focus-visible {
    color: var(--nav-accent);
}

/* Tablet: stack brand above nav */
@media (max-width: 1023px) {
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav {
        width: 100%;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        justify-content: flex-start;
    }

    .footer-columns {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 32px 48px;
    }
}

/* Mobile accordion */
@media (max-width: 767px) {
    .footer-content {
        gap: 32px;
        padding-top: 48px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-tagline {
        text-align: center;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-nav {
        width: 100%;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        justify-content: stretch;
    }

    .footer-columns {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
    }

    .footer-col {
        border-bottom: 1px solid var(--nav-line);
    }

    .footer-col:first-child {
        border-top: 1px solid var(--nav-line);
    }

    .footer-col-toggle {
        min-height: 44px;
        padding: 10px 0;
        cursor: pointer;
        pointer-events: auto;
    }

    .footer-col-chevron {
        display: flex;
    }

    .footer-col.is-open .footer-col-chevron {
        transform: rotate(180deg);
    }

    .footer-col-panel {
        display: none;
        padding-bottom: 12px;
    }

    .footer-col.is-open .footer-col-panel {
        display: block;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .footer-trust-line,
    .footer-copyright {
        font-size: 12px;
    }
}

/* Tablet/desktop: all columns visible, no accordion chrome */
@media (min-width: 768px) {
    .footer-col-panel {
        display: block !important;
    }

    .footer-col {
        border: none;
    }

    .footer-col-toggle {
        pointer-events: none;
        min-height: 0;
        padding: 0;
    }

    .footer-col-chevron {
        display: none !important;
    }

    .footer-brand {
        align-items: flex-start;
        text-align: left;
    }

    .footer-tagline {
        text-align: left;
    }

    .footer-social-icons {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .footer-logo,
    .footer-logo-wrap .custom-logo {
        width: 180px;
    }

    .footer-tagline {
        font-size: 14px;
    }
}

/* --- Featured Blogs Section --- */
.featured-blogs-section {
    width: 100%;
    background: rgba(244, 249, 255, 0.6);
    padding: 80px 0 110px;
}

.featured-blogs-container {
    max-width: 1144px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.featured-blogs-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.featured-blogs-chip {
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-blogs-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    border-radius: 100px;
    background: #ffffff;
    border: 1px solid #413bb4;
    color: #413bb4;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.featured-blogs-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary, #000000);
    margin: 20px;
    max-width: 740px;
}

.featured-blogs-title strong {
    font-weight: 800;
}

.featured-blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 317px);
    justify-content: center;
    gap: 16px;
    width: 100%;
    align-items: stretch;
}

.featured-blogs-card {
    width: 100%;
    min-width: 0;
    box-shadow: none;
    border: 2px solid black;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.featured-blogs-card .learn-blog-card-image-wrapper {
    flex-shrink: 0;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.33%; /* 167.81/253 - fixed aspect ratio */
    overflow: hidden;
}

.featured-blogs-card .learn-blog-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: none;
    border-radius: 28px 28px 0 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-blogs-card .learn-blog-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
    flex: 1;
    min-width: 0;
    min-height: 0;
}

.featured-blogs-card .learn-blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    display: block;
}

.featured-blogs-card .learn-blog-card-content-wrapper {
    padding: 24px 20px;
    gap: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.featured-blogs-card .learn-blog-card-meta {
    margin-bottom: 0;
    flex-shrink: 0;
}

.featured-blogs-card .learn-blog-card-date {
    font-weight: 300;
    font-size: 12px;
    line-height: 18px;
    color: #999999;
}

.featured-blogs-card .learn-blog-card-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    color: #383838;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.featured-blogs-card .learn-blog-card-title a {
    display: block;
    text-align: left;
}

.featured-blogs-card .learn-blog-card-author {
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #999999;
    margin-top: auto;
    flex-shrink: 0;
}

.featured-blogs-actions {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.featured-blogs-link {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #413bb4;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    min-height: auto;
    transition: opacity 0.2s ease;
}

.featured-blogs-link:hover {
    opacity: 0.85;
    color: #413bb4;
    text-decoration: underline;
}

.featured-blogs-empty-state {
    margin: 32px 0 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #5d5d5d;
}

@media (max-width: 991px) {
    .featured-blogs-section {
        padding: 56px 0 80px;
    }

    .featured-blogs-container {
        padding: 0 24px;
        gap: 40px;
    }

    .featured-blogs-grid {
        grid-template-columns: repeat(2, minmax(0, 317px));
        justify-content: center;
    }

    .featured-blogs-card {
        max-width: 317px;
    }

    .featured-blogs-card .learn-blog-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .featured-blogs-title {
        font-size: 40px;
    }
}

@media (max-width: 600px) {
    .featured-blogs-section {
        padding: 40px 0 64px;
        overflow-x: hidden;
    }

    .featured-blogs-container {
        padding: 0 16px;
        gap: 32px;
    }

    .featured-blogs-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        width: 100%;
    }

    .featured-blogs-card {
        width: 100%;
        max-width: 317px;
    }

    .featured-blogs-card .learn-blog-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .featured-blogs-title {
        font-size: 30px;
    }
} 