:root {
    --primary-gradient: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
    --bg-gradient-hero: linear-gradient(
        180deg,
        rgba(240, 253, 250, 0.7) 0%,
        rgba(239, 246, 255, 0.4) 30%,
        #ffffff 100%
    );
    --bg-gradient-banner: linear-gradient(
        90deg,
        #14b8a6 0%,
        #3b82f6 50%,
        #8b5cf6 100%
    );

    --primary-color: #0d9488;
    --primary-hover: #0f766e;
    --text-primary: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg-card: #ffffff;
    --bg-muted: #f8fafc;
    --border-color: #e2e8f0;
    --border-glass: rgba(255, 255, 255, 0.2);
    --white: #ffffff;

    --cna-teal: #0d9488;
    --aide-emerald: #10b981;
    --hosp-purple: #8b5cf6;
    --cen-red: #ef4444;
    --fmp-orange: #f97316;
    --ccma-blue: #3b82f6;
    --dental-sky: #0ea5e9;
    --slp-pink: #ec4899;
    --coun-indigo: #6366f1;

    --font-heading:
        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    --font-sans:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
        sans-serif;

    --fs-xs: clamp(0.65rem, 0.5vw + 0.5rem, 0.75rem);
    --fs-sm: clamp(0.75rem, 0.6vw + 0.6rem, 0.875rem);
    --fs-base: clamp(0.85rem, 0.8vw + 0.7rem, 1rem);
    --fs-lg: clamp(1rem, 1vw + 0.8rem, 1.25rem);
    --fs-xl: clamp(1.15rem, 1.2vw + 1rem, 1.5rem);
    --fs-h2: clamp(1.5rem, 2.5vw + 1rem, 2.5rem);
    --fs-hero: clamp(1.8rem, 5vw + 1rem, 3.75rem);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md:
        0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg:
        0 10px 15px -3px rgba(20, 184, 166, 0.1),
        0 4px 6px -4px rgba(20, 184, 166, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(20, 184, 166, 0.15);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
}

.max-width-wrapper {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.small-max-width {
    max-width: 768px;
}

.navigation-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* FIXED */
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);

    transition: var(--transition-fast);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    /* FIXED */
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.nav-logo-group:hover .logo-icon-wrapper {
    box-shadow: none;
}

.cap-svg {
    display: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    line-height: 1;
}

.brand-accent {
    color: var(--primary-color);
}

.nav-links-desktop {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-dropdown-btn:hover {
    color: var(--text-primary);
    background-color: var(--bg-muted);
}

.nav-link.active {
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--primary-color);
}

.nav-dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition-fast);
}

.chevron-svg {
    width: 0.85rem;
    height: 0.85rem;
}

.nav-actions-desktop {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-image {
    width: 45px;
    height: 45px;
    object-fit: contain;
    display: block;
}

.menu-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    color: var(--text-primary);
}

.menu-icon-svg {
    width: 1.5rem;
    height: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.5rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: var(--fs-base);
}

.btn-text {
    background: transparent;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
}

.btn-text:hover {
    background-color: var(--bg-muted);
}

.btn-gradient {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    border: none;
    padding: 0.5rem 1.25rem;
}

.btn-gradient:hover {
    filter: brightness(1.05);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
    padding: 0.5rem 1.25rem;
}

.btn-outline:hover {
    background-color: var(--bg-muted);
}

.section-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 3.5rem;
    width: 100%;
}

.section-badge {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.section-subheading {
    font-size: var(--fs-base);
    color: var(--text-muted);
    max-width: 42rem;
    margin: 0 auto;
}

/* ==========================================================================
   HERO SECTION & ANIMATIONS
   ========================================================================== */
.hero-section {
    position: relative;
    padding: clamp(3rem, 6vw, 6.5rem) 0 4rem 0;
    background: var(--bg-gradient-hero);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-section .hero-background-media {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-section .bg-vector-img {
    background:
        radial-gradient(
            circle at top right,
            rgba(20, 184, 166, 0.05),
            transparent 40%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(59, 130, 246, 0.05),
            transparent 40%
        );
}

.hero-section .hero-container {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-section .trust-badge-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
    font-size: var(--fs-xs);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section .trust-stars-wrap {
    display: flex;
    gap: 0.1rem;
}

.hero-section .trust-star {
    width: 1rem;
    height: 1rem;
}

.hero-section .hero-headline {
    font-family: var(--font-heading);
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.035em;
    font-size: clamp(2rem, 6vw, 4.5rem);
}

/* Dynamic Sliding Headline Fixes */
.hero-section .hero-dynamic-headline {
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    letter-spacing: -0.03em;
}

.hero-section .headline-static-wrapper {
    color: #1e293b;
}

.hero-section .headline-sliding-wrapper {
    display: inline-block;
    position: relative;
    height: 1.2em;
    overflow: hidden;
    vertical-align: middle;
    text-align: left;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: width;
}

.hero-section .dynamic-rotating-text {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    white-space: nowrap;
    opacity: 0;
    color: #0d9488;
    transform: translateY(-100%);
}

.hero-section .dynamic-rotating-text.is-in {
    opacity: 1;
    transform: translateY(0);
    transition:
        transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.5s ease;
}

.hero-section .dynamic-rotating-text.is-out {
    opacity: 0;
    transform: translateY(100%);
    transition:
        transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.5s ease;
}

.hero-section .hero-lead-paragraph {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 auto 2.5rem auto;
    max-width: clamp(250px, 80vw, 550px);
    font-size: var(--fs-lg);
}

.hero-section .hero-lead-paragraph strong {
    color: #1e293b;
}

.hero-section .hero-cta-area {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: clamp(1rem, 4vw, 3rem);
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.hero-section .cta-flank-deco {
    width: clamp(70px, 10vw, 130px);
    display: none;
}

.hero-section .floating-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.05));
}

.hero-section .float-shape-1 {
    animation: floatY 5s ease-in-out infinite;
}

.hero-section .float-shape-2 {
    animation: floatY 6s ease-in-out infinite alternate-reverse;
}

@keyframes floatY {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.hero-section .hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
}

.hero-section .hero-cta-btn {
    text-decoration: none;
    border-radius: 9999px;
    padding: 0.85rem 2.25rem;
    font-weight: 700;
    font-size: var(--fs-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        filter var(--transition-fast);
}

.hero-section .hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -5px rgba(13, 148, 136, 0.15);
}

.hero-section .btn-secondary-gray {
    background-color: #f4f4f4;
    color: #1e293b;
}
.hero-section .btn-secondary-gray:hover {
    filter: brightness(0.97);
}
.hero-section .btn-primary-blue {
    background-color: #513deb;
    color: var(--white);
}
.hero-section .btn-primary-blue:hover {
    background-color: #4331cc;
}

.hero-section .btn-inner-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-section .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-section .btn-icon svg {
    width: 1rem;
    height: 1rem;
}

/* Social Proof Strip */
.hero-section .hero-social-proof-strip {
    width: 100%;
    background-color: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: none;
}

.hero-section .proof-header-bar {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
    text-align: left;
}

.hero-section .proof-section-title {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-section .proof-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.hero-section .proof-stat-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-section .stat-inner-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.hero-section .stat-icon-img-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-section .teal-glow {
    background-color: #ccfbf1;
    color: #0d9488;
}
.hero-section .blue-glow {
    background-color: #dbeafe;
    color: #2563eb;
}
.hero-section .amber-glow {
    background-color: #fef3c7;
    color: #d97706;
}

.hero-section .stat-inline-svg {
    width: 1.5rem;
    height: 1.5rem;
}

.hero-section .stat-copy {
    display: flex;
    flex-direction: column;
}

.hero-section .stat-number-title {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
}

.hero-section .stat-description-p {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    line-height: 1.3;
}

/* Base Fade Animations */
.hero-section .animated {
    opacity: 0;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
}

.hero-section .fadeInUp {
    animation-name: fadeInUp;
}
.hero-section .fadeInLeft {
    animation-name: fadeInLeft;
}
.hero-section .fadeInRight {
    animation-name: fadeInRight;
}

.hero-section .delay-1 {
    animation-delay: 0.1s;
}
.hero-section .delay-2 {
    animation-delay: 0.2s;
}
.hero-section .delay-3 {
    animation-delay: 0.3s;
}
.hero-section .delay-4 {
    animation-delay: 0.4s;
}
.hero-section .delay-5 {
    animation-delay: 0.5s;
}
.hero-section .delay-6 {
    animation-delay: 0.7s;
}
.hero-section .delay-7 {
    animation-delay: 0.8s;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Media Queries for Hero Section scaling */
@media (min-width: 576px) {
    .hero-section .hero-cta-group {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .hero-section {
        padding: 5rem 0;
    }
    .hero-section .hero-social-proof-strip {
        display: block;
    }
    .hero-section .proof-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .hero-section .cta-flank-deco {
        display: block;
    }
}

@media (min-width: 2000px) {
    .hero-section {
        padding: 8rem 0 6rem 0;
    }
    .hero-section .hero-cta-btn {
        max-width: 340px;
    }
}

/* ==========================================================================
   CERTIFICATIONS TABLE STYLING
   ========================================================================== */
.certifications-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.category-block {
    margin-bottom: 3rem;
}

.category-block:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.category-badge {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--fs-sm);
    font-weight: 800;
}

.cat-teal {
    background: var(--primary-gradient);
}
.cat-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
}
.cat-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.category-title {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--text-primary);
}

.responsive-table-container {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    background-color: var(--bg-card);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-sm);
    text-align: left;
}

.data-table th {
    background-color: var(--bg-muted);
    color: var(--text-muted);
    font-weight: 600;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.data-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.clickable-row {
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.clickable-row:hover {
    background-color: rgba(13, 148, 136, 0.03);
}

.col-id {
    width: 3.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.cert-flex-badge {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.indicator-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-teal {
    background: linear-gradient(135deg, #2dd4bf, #0d9488);
}
.dot-emerald {
    background: linear-gradient(135deg, #34d399, #059669);
}
.dot-purple {
    background: linear-gradient(135deg, #c084fc, #8b5cf6);
}
.dot-red {
    background: linear-gradient(135deg, #f87171, #ef4444);
}
.dot-orange {
    background: linear-gradient(135deg, #fb923c, #f97316);
}
.dot-blue {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
}
.dot-violet {
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
}
.dot-rose {
    background: linear-gradient(135deg, #fda4af, #f43f5e);
}
.dot-sky {
    background: linear-gradient(135deg, #7dd3fc, #0ea5e9);
}
.dot-pink {
    background: linear-gradient(135deg, #f472b6, #ec4899);
}
.dot-indigo {
    background: linear-gradient(135deg, #818cf8, #6366f1);
}
.dot-green {
    background: linear-gradient(135deg, #34d399, #10b981);
}

.cert-code {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--fs-base);
}

.code-teal {
    color: #0f766e;
}
.code-emerald {
    color: #047857;
}
.code-purple {
    color: #6d28d9;
}
.code-red {
    color: #b91c1c;
}
.code-orange {
    color: #c2410c;
}
.code-blue {
    color: #1d4ed8;
}
.code-violet {
    color: #5b21b6;
}
.code-rose {
    color: #be185d;
}
.code-sky {
    color: #0369a1;
}
.code-pink {
    color: #9d174d;
}
.code-indigo {
    color: #4338ca;
}
.code-green {
    color: #065f46;
}

.cat-rose {
    background-color: #ffe4e6;
    color: #be185d;
}
.cat-indigo {
    background-color: #e0e7ff;
    color: #4338ca;
}

.col-fullname {
    font-weight: 500;
}

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

.col-topics {
    width: 15rem;
}

.pill-badge-stack {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}
.pill-badge {
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    background-color: var(--bg-muted);
    color: var(--text-muted);
    font-size: 0.6875rem;
    font-weight: 600;
}

.book-info-row {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.book-mini-svg {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--text-light);
}

.diff-badge {
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
}

.diff-beginner {
    background-color: #dcfce7;
    color: #15803d;
}
.diff-intermediate {
    background-color: #fef3c7;
    color: #b45309;
}
.diff-advanced {
    background-color: #fee2e2;
    color: #b91c1c;
}

.row-arrow-svg {
    width: 1rem;
    height: 1rem;
    color: var(--text-light);
    transition:
        transform var(--transition-fast),
        color var(--transition-fast);
}

.clickable-row:hover .row-arrow-svg {
    transform: translateX(3px);
    color: var(--primary-color);
}

.roadmap-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.roadmap-flex-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.roadmap-col {
    flex: 1;
}

.roadmap-card {
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
}

.card-entry {
    background-color: #f0fdf4;
    border-color: #bbf7d0;
}
.card-intermediate {
    background-color: var(--bg-muted);
    border-color: var(--border-color);
}
.card-advanced {
    background-color: #0f2919;
    border-color: #14532d;
}

.roadmap-card-header {
    padding: 0.75rem 1.25rem;
}

.bg-green-light {
    background-color: #dcfce7;
}
.bg-slate-light {
    background-color: #f1f5f9;
}
.bg-green-dark {
    background-color: #14532d;
}

.badge-tag {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.tag-green {
    color: #166534;
}
.tag-slate {
    color: #334155;
}
.tag-green-light {
    color: #dcfce7;
}

.roadmap-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.roadmap-item {
    background-color: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.item-name {
    font-weight: 700;
    font-size: var(--fs-sm);
}

.item-meta {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.item-salary {
    font-weight: 700;
    font-size: var(--fs-sm);
    color: var(--aide-emerald);
}

.theme-dark-card .roadmap-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.05);
}

.text-white {
    color: var(--white);
}
.text-emerald {
    color: #34d399;
}

.roadmap-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.arrow-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.divider-arrow-svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--white);
}

.statistics-strip {
    background: var(--bg-gradient-banner);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.statistics-strip::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.15) 1px,
        transparent 1px
    );
    background-size: 24px 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.stat-box {
    text-align: center;
    color: var(--white);
}

.stat-icon {
    width: 2rem;
    height: 2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.comparison-section {
    padding: 5rem 0;
    background-color: var(--bg-muted);
}

.comparison-table-wrapper {
    background-color: var(--bg-card);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.scrollable-table-x {
    width: 100%;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-sm);
    text-align: left;
    min-width: 900px;
}

.comparison-table th {
    background-color: #1e293b;
    color: var(--white);
    font-weight: 600;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 1.25rem;
}

.comparison-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr {
    transition: background-color var(--transition-fast);
}

.comparison-table tr:hover {
    background-color: rgba(13, 148, 136, 0.03);
}

.comp-cert-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comp-emoji {
    font-size: 1.5rem;
}

.comp-name {
    font-weight: 800;
    color: var(--text-primary);
}

.comp-fullname {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.font-med {
    font-weight: 500;
}

.comp-diff {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
}

.diff-orange {
    background-color: #ffedd5;
    color: #c2410c;
}
.diff-red {
    background-color: #fee2e2;
    color: #b91c1c;
}

.text-salary {
    font-weight: 700;
    color: var(--aide-emerald);
}

.table-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: var(--fs-xs);
    transition: gap var(--transition-fast);
}

.table-link-btn:hover {
    gap: 0.5rem;
    color: var(--primary-hover);
}

.arrow-link-svg {
    width: 0.875rem;
    height: 0.875rem;
}

.stories-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.stories-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.tag-green-bg {
    background-color: #dcfce7;
    color: #15803d;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.stories-header-right {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    align-self: flex-start;
}

.star-rating-icon {
    width: 1rem;
    height: 1rem;
    color: #fbbf24;
    fill: #fbbf24;
}

.rating-badge-text {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: #92400e;
}

.stories-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.story-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.star-group-five {
    display: flex;
    gap: 0.125rem;
    margin-bottom: 1rem;
}

.gold-star {
    width: 1.15rem;
    height: 1.15rem;
    color: #fbbf24;
}

.story-text {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.story-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.story-author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: var(--fs-sm);
}

.author-role-before {
    font-size: var(--fs-xs);
    color: var(--text-light);
    margin-top: 0.125rem;
}

.author-role-now {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0.25rem;
}

.story-salary-box {
    text-align: right;
}

.salary-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 600;
}

.salary-val {
    font-weight: 800;
    font-size: var(--fs-sm);
    color: var(--aide-emerald);
}

.videos-section {
    padding: 5rem 0;
    background-color: var(--bg-muted);
}

.videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.video-card {
    background-color: var(--bg-card);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-info {
    padding: 1rem;
}

.video-category {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--primary-color);
}

.video-title {
    font-weight: 700;
    font-size: var(--fs-sm);
    color: var(--text-primary);
    margin-top: 0.25rem;
}
.video-poster {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e2e8f0;
    z-index: 0;
}

.video-preview-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(90deg, #cbd5e1 0%, #f1f5f9 50%, #cbd5e1 100%);
    background-size: 200% 100%;
    animation: videoShimmer 1.5s infinite linear;
    position: relative;
    overflow: hidden;
}

@keyframes videoShimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.video-preview-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

.faq-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.faq-accordion-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background-color: var(--bg-card);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--text-light);
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text-primary);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-chevron {
    width: 1rem;
    height: 1rem;
    color: var(--text-light);
    transition: transform var(--transition-normal);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-content {
    padding: 0 1.25rem 1rem 1.25rem;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.page-footer {
    background-color: #0d1f2d;
    color: var(--white);
    padding: 4rem 0 0 0;
}

.footer-main-content {
    padding-bottom: 3.5rem;
}

.footer-primary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-brand-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1rem;
}
.footer-logo-image {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
}

.text-white {
    color: var(--white);
}
.text-teal {
    color: #2dd4bf;
}

.footer-tagline {
    font-size: var(--fs-sm);
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 24rem;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-link-row {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: var(--fs-sm);
    transition: color var(--transition-fast);
}

.contact-link-row:hover {
    color: #2dd4bf;
}

.contact-svg {
    width: 1rem;
    height: 1rem;
}

.footer-cards-column {
    display: flex;
    flex-direction: column;
}

.footer-column-heading {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #cbd5e1;
    margin-bottom: 1.25rem;
}

.footer-cert-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.quick-cert-box {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
    text-decoration: none;
    transition:
        background-color var(--transition-fast),
        border-color var(--transition-fast);
}

.quick-cert-box:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.box-emoji {
    font-size: 1.5rem;
}

.box-name {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--white);
    transition: color var(--transition-fast);
}

.quick-cert-box:hover .box-name {
    color: #2dd4bf;
}

.box-count {
    font-size: 0.625rem;
    color: #475569;
}

.footer-links-row-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2.5rem;
}

.footer-list-heading {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links-list a {
    font-size: var(--fs-sm);
    color: #94a3b8;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links-list a:hover {
    color: #2dd4bf;
}

.footer-copyright-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
}

.copyright-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--fs-sm);
    color: #475569;
}

.love-notice {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.heart-mini-svg {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--slp-pink);
    fill: var(--slp-pink);
}

.floating-widget {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 90;
    width: calc(100% - 2rem);
    max-width: 20rem;
}

.widget-inner {
    background: linear-gradient(135deg, #14b8a6 0%, #2563eb 100%);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 20px 25px -5px rgba(20, 184, 166, 0.25);
    color: var(--white);
    position: relative;
}

.widget-close-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast);
}

.widget-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.close-svg {
    width: 1rem;
    height: 1rem;
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.widget-stars {
    width: 1.25rem;
    height: 1.25rem;
    color: #fcd34d;
}

.widget-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--fs-sm);
}

.widget-desc {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

.widget-action-btn {
    width: 100%;
    background-color: var(--white);
    color: #0f766e;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem;
    font-weight: 700;
    font-size: var(--fs-xs);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background-color var(--transition-fast);
}

.widget-action-btn:hover {
    background-color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 280px) {
    :root {
        --fs-hero: 1.25rem;
        --fs-h2: 1.15rem;
        --fs-lg: 0.8rem;
    }
    .nav-logo-group .logo-text {
        font-size: 0.95rem;
    }
    .logo-icon-wrapper {
        width: auto;
        height: auto;
    }
    .cap-svg {
        width: 0.9rem;
        height: 0.9rem;
    }
    .hero-cta-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    .btn {
        width: 100%;
        padding: 0.4rem;
        text-align: center;
    }
    .avatar-stack,
    .rating-stars {
        display: none;
    }
    .floating-widget {
        display: none !important;
    }
}

@media (min-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 576px) {
    .stories-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .hero-section {
        padding: 5rem 0;
    }
    .hero-social-proof-strip {
        display: block; /* Native Flex Grid on larger screens */
    }
    .proof-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-primary-grid {
        grid-template-columns: 280px 1fr;
    }
    .footer-cert-quick-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    .footer-links-row-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .copyright-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 992px) {
    .floating-deco {
        display: block;
    }
    .hero-absolute-deco-layer {
        display: block;
    }
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
    .menu-mobile-toggle {
        display: none;
    }
    .roadmap-flex-layout {
        flex-direction: row;
        align-items: stretch;
    }
    .roadmap-divider {
        padding: 0;
    }
    .stories-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stories-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
    .stories-header-right {
        align-self: auto;
    }
}

@media (max-width: 991px) {
    .nav-links-desktop,
    .nav-actions-desktop {
        display: none;
    }
    .menu-mobile-toggle {
        display: block;
    }
}

@media (min-width: 2000px) {
    :root {
        --fs-hero: 4.5rem;
        --fs-h2: 3rem;
        --fs-lg: 1.5rem;
    }
    .max-width-wrapper {
        max-width: 1800px;
    }
    .hero-section {
        padding: 8rem 0 6rem 0;
    }
    .hero-cta-btn {
        max-width: 340px;
        font-size: var(--fs-base);
    }
    .hero-lead-paragraph {
        max-width: 48rem;
    }
    .video-preview-box {
        height: 14rem;
    }
}
/* ==========================================================================
   NESTED DROPDOWN MENU STYLING
   ========================================================================== */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    border-radius: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--transition-fast),
        visibility var(--transition-fast),
        transform var(--transition-fast);
    min-width: 14rem;
    z-index: 50;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
}

.nav-dropdown-wrapper:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: var(--fs-sm);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 0.25rem;
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast);
    white-space: nowrap;
    font-weight: 500;
}

.dropdown-link:hover,
.dropdown-link:focus {
    background-color: var(--bg-muted);
    color: var(--primary-color);
}

.dropdown-group {
    position: relative;
    margin-top: 0.25rem;
}

.dropdown-group-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 0.25rem;
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast);
}

.dropdown-group-trigger:hover {
    background: var(--bg-muted);
    color: var(--text-primary);
}

.chevron-right-svg {
    width: 0.85rem;
    height: 0.85rem;
    transition: transform var(--transition-fast);
}

.dropdown-subcontent {
    position: absolute;
    top: -0.5rem;
    left: 100%;
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    border-radius: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--transition-fast),
        visibility var(--transition-fast),
        transform var(--transition-fast);
    transform: translateX(-10px);
    min-width: 20rem;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    margin-left: 0.25rem;
}

.dropdown-group:hover .dropdown-subcontent {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-group:hover .chevron-right-svg {
    transform: translateX(2px);
}

/* Edge-to-edge formatting & Smartwatch scaling */
@media (max-width: 991px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 0.5rem 0;
        background: transparent;
    }

    .nav-dropdown-wrapper:hover .dropdown-content,
    .nav-dropdown-wrapper:focus-within .dropdown-content {
        display: block;
    }

    .dropdown-subcontent {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--border-color);
        border-radius: 0;
        margin-left: 0.5rem;
        padding-left: 0.5rem;
        display: none;
        min-width: 100%;
        background: transparent;
    }

    .dropdown-group:hover .dropdown-subcontent,
    .dropdown-group:focus-within .dropdown-subcontent {
        display: block;
    }

    .dropdown-link {
        white-space: normal;
        word-wrap: break-word;
        padding: 0.65rem 0.5rem;
    }

    .chevron-right-svg {
        transform: rotate(90deg);
    }

    .dropdown-group:hover .chevron-right-svg {
        transform: rotate(90deg) translateY(2px);
    }
}

/* Certifications .page-footer */
.certifications-wrapper {
    padding: clamp(2rem, 4vw, 5rem) 0;
    background-color: var(--white);
}

.search-filter-area {
    background: var(--bg-gradient-hero);
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem) 0;
    border-bottom: 1px solid var(--border-color);
}

.search-box-container {
    width: 100%;
    max-width: 500px;
    margin: 1.5rem auto 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    color: var(--text-primary);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.1rem;
    height: 1.1rem;
    color: var(--text-light);
    pointer-events: none;
}

.filter-buttons-scroll {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0.25rem;
    margin-top: 1.5rem;
    scrollbar-width: none;
}

.filter-buttons-scroll::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    background: var(--bg-muted);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.cert-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cert-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-normal);
    position: relative;
    text-decoration: none;
    color: inherit;
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.cert-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-md);
}

.card-actions-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.card-meta-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: var(--fs-xs);
    margin: 1rem 0;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.meta-item svg {
    width: 0.875rem;
    height: 0.875rem;
}

/* Extreme Scaling and Smartwatch adjustments */
@media (max-width: 340px) {
    .search-input {
        padding-left: 2rem;
        font-size: 11px;
    }

    .search-icon {
        left: 0.6rem;
        width: 0.9rem;
        height: 0.9rem;
    }

    .card-actions-wrapper {
        grid-template-columns: 1fr;
    }

    .card-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
}

@media (min-width: 576px) {
    .cert-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .cert-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px) {
    .cert-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
