@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

:root {
    /* GROOTS Pay — cyan & navy fintech theme */
    --primary: #00B4D8;
    --secondary: #0A2540;
    --accent: #00E5FF;
    --cta: #00B4D8;
    --cta-dark: #0088A8;
    --background: #F4FAFD;
    --card: #FFFFFF;
    --text: #0A2540;
    --surface: #FFFFFF;
    --surface-elevated: #E3F4FA;

    /* Legacy aliases (used across HTML) */
    --primary-mint: var(--primary);
    --primary-mint-dark: #0096B8;
    --accent-mint: var(--secondary);
    --bg-mint-light: var(--surface-elevated);
    --text-main: var(--text);
    --white: #FFFFFF;

    --primary-color: var(--primary);
    --primary-light: #5DD4F0;
    --primary-dark: #0096B8;
    --secondary-color: var(--secondary);
    --success-color: #10B981;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;

    --bg-darkest: var(--background);
    --bg-dark: var(--surface-elevated);
    --bg-card: var(--card);
    --bg-light: var(--surface-elevated);
    --bg-lighter: var(--background);

    --text-primary: var(--text);
    --text-secondary: #3D5A73;
    --text-tertiary: #5C7A94;
    --text-light: #8BA4B8;

    --border-color: rgba(10, 37, 64, 0.12);
    --border-light: rgba(10, 37, 64, 0.06);

    --primary-rgb: 0, 180, 216;
    --secondary-rgb: 10, 37, 64;

    /* Checkout / legacy page aliases */
    --light-bg: var(--background);
    --dark-text: var(--text);
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar — glass navy accent */
.navbar {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.18);
    box-shadow: 0 1px 3px rgba(var(--secondary-rgb), 0.04), 0 8px 30px rgba(var(--secondary-rgb), 0.06);
}

.navbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(var(--primary-rgb), 0.35) 20%,
        rgba(var(--secondary-rgb), 0.55) 50%,
        rgba(var(--primary-rgb), 0.35) 80%,
        transparent 100%
    );
    pointer-events: none;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    gap: 1.25rem;
    min-height: 88px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    width: auto;
    height: auto;
    max-width: min(320px, 42vw);
    line-height: 0;
    background: #ffffff;
    padding: 4px 10px 4px 6px;
    border-radius: 10px;
    overflow: visible;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.92;
}

.logo img {
    display: block;
    width: auto;
    height: 44px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    background-color: #ffffff;
    border-radius: 6px;
    padding: 2px 4px;
}

/* Search Bar */
.search-container {
    display: flex;
    align-items: center;
    background: #f4f6f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0 6px 0 16px;
    margin: 0 0.5rem;
    flex-grow: 1;
    max-width: 380px;
    min-height: 44px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.search-container:focus-within {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.search-container input {
    background: transparent;
    border: none;
    color: var(--text-main);
    padding: 10px 8px;
    outline: none;
    flex-grow: 1;
    font-size: 0.9rem;
}

.search-container input::placeholder {
    color: var(--text-tertiary);
}

.search-container button {
    background: var(--secondary);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--white);
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}

.search-container button:hover {
    background: var(--secondary);
    transform: scale(1.04);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.15rem;
    flex-shrink: 0;
    padding: 0.25rem;
    background: rgba(var(--primary-rgb), 0.06);
    border-radius: 12px;
    border: 1px solid rgba(var(--primary-rgb), 0.12);
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    text-transform: none;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:hover {
    color: var(--secondary);
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.nav-links a.nav-active {
    color: var(--secondary);
    background: #ffffff;
    font-weight: 700;
    box-shadow: 0 1px 6px rgba(var(--primary-rgb), 0.18);
}

/* Cart & Login — same labels */
.nav-links a.nav-cart {
    color: var(--secondary) !important;
    background: rgba(var(--primary-rgb), 0.1) !important;
    border: 1px solid rgba(var(--primary-rgb), 0.35);
    font-weight: 700 !important;
    margin-left: 0.25rem;
    padding: 0.5rem 0.95rem !important;
    box-shadow: none;
}

.nav-links a.nav-cart:hover {
    color: var(--white) !important;
    background: var(--primary) !important;
    border-color: var(--primary);
    box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.35);
}

.nav-links #authLink a,
.nav-links a.nav-auth-link {
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--secondary) 0%, #143052 100%) !important;
    border: 1px solid transparent;
    font-weight: 700 !important;
    padding: 0.5rem 1.2rem !important;
    margin-left: 0.25rem;
    box-shadow: 0 2px 8px rgba(var(--secondary-rgb), 0.25);
}

.nav-links #authLink a:hover,
.nav-links a.nav-auth-link:hover {
    color: var(--white) !important;
    background: linear-gradient(135deg, #143052 0%, var(--secondary) 100%) !important;
    box-shadow: 0 4px 12px rgba(var(--secondary-rgb), 0.35);
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1.35rem;
    cursor: pointer;
    color: #334155 !important;
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.hamburger:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    color: var(--secondary) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(
        135deg,
        #051525 0%,
        #0A2540 28%,
        #0D3B5C 52%,
        #0077A8 78%,
        #00B4D8 100%
    );
    background-size: 200% 200%;
    animation: heroGradientFlow 18s ease-in-out infinite;
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: -15%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.16) 0%, transparent 38%),
        radial-gradient(circle at 82% 72%, rgba(255, 255, 255, 0.1) 0%, transparent 34%);
    animation: heroAuraDrift 14s ease-in-out infinite alternate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 90% 55% at 12% 18%, rgba(0, 229, 255, 0.15) 0%, transparent 52%),
        radial-gradient(ellipse 60% 40% at 28% 75%, rgba(0, 180, 216, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
    animation: heroOverlayPulse 11s ease-in-out infinite alternate;
}

@keyframes heroGradientFlow {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes heroAuraDrift {
    from {
        transform: translate(0, 0) scale(1);
        opacity: 0.75;
    }
    to {
        transform: translate(2.5%, -2%) scale(1.05);
        opacity: 1;
    }
}

@keyframes heroOverlayPulse {
    from {
        opacity: 0.88;
    }
    to {
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content.hero-animate .hero-title {
    animation: heroTitleIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-content.hero-animate .hero-subtitle {
    opacity: 0;
    animation: heroSubtitleIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.hero-content.hero-animate .hero-cta {
    opacity: 0;
    animation: heroCtaIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

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

@keyframes heroSubtitleIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

@keyframes heroCtaIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-content h1,
.hero-content .hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-content .hero-subtitle {
    max-width: 720px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    color: var(--white);
}

.hero-subtitle-lead {
    margin: 0 0 0.65rem;
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    line-height: 1.35;
    font-style: italic;
    font-weight: 700;
    color: var(--white);
}

.hero-subtitle-lead strong {
    font-weight: inherit;
    font-style: inherit;
    color: inherit;
}

.hero-subtitle-detail {
    margin: 0;
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    line-height: 1.55;
    font-weight: 500;
    font-style: normal;
    color: rgba(255, 255, 255, 0.92);
}

.hero-content .hero-title {
    font-weight: 700;
    font-style: italic;
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.18);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 0.45s ease;
}

.hero:hover .hero-title {
    transform: translateY(-3px);
    text-shadow: 0 8px 30px rgba(255, 255, 255, 0.22);
}

.hero-content .hero-subtitle {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 0.45s ease;
}

.hero:hover .hero-subtitle {
    transform: translateY(-2px);
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.14);
}

.hero .hero-content .hero-cta.btn-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, filter 0.35s ease, background-color 0.35s ease;
}

.hero .hero-content .hero-cta.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
    z-index: 1;
}

.hero .hero-content .hero-cta.btn-primary:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 34px rgba(var(--primary-rgb), 0.48);
    filter: brightness(1.06);
}

.hero .hero-content .hero-cta.btn-primary:hover::before {
    animation: heroCtaShine 0.75s ease forwards;
}

@keyframes heroCtaShine {
    from {
        left: -130%;
    }
    to {
        left: 140%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero {
        animation: none;
        background-size: 100% 100%;
    }

    .hero::before,
    .hero::after {
        animation: none;
    }

    .hero:hover .hero-title,
    .hero:hover .hero-subtitle,
    .hero .hero-content .hero-cta.btn-primary:hover {
        transform: none;
    }

    .hero .hero-content .hero-cta.btn-primary:hover::before {
        animation: none;
    }
}

/* Homepage: Vision spotlight */
.vision-section {
    padding: 2.5rem 0 1.5rem;
    position: relative;
    background: linear-gradient(180deg, var(--background) 0%, #ffffff 100%);
    overflow: hidden;
}

.vision-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 180, 216, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 216, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
}

.vision-section > .container {
    position: relative;
    z-index: 1;
}

.vision-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    gap: 2rem;
    align-items: center;
    border-radius: 18px;
    padding: 1.15rem;
    background: linear-gradient(135deg, #051525 0%, #0A2540 50%, #0D3B5C 100%);
    box-shadow: 0 24px 58px rgba(10, 37, 64, 0.25);
    overflow: hidden;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.vision-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 10% 15%, rgba(0, 180, 216, 0.22) 0%, transparent 34%),
        radial-gradient(circle at 80% 95%, rgba(59, 130, 246, 0.18) 0%, transparent 36%);
    pointer-events: none;
}

.vision-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.09) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 95% 90% at 65% 50%, black 25%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 95% 90% at 65% 50%, black 25%, transparent 72%);
}

.vision-media-wrap,
.vision-copy {
    position: relative;
    z-index: 1;
}

.vision-media-wrap {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.vision-media {
    width: 100%;
    height: auto;
    display: block;
}

.vision-copy {
    color: #f8fafc;
    padding: 0.25rem 0.4rem;
}

.vision-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.85rem;
}

.vision-copy h2 {
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    line-height: 1.15;
    margin-bottom: 0.85rem;
    color: #ffffff;
}

.vision-headline-stack {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.vision-headline-stack span {
    display: block;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

.vision-copy p {
    color: rgba(226, 232, 240, 0.94);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.vision-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #00B4D8;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 180, 216, 0.3);
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.vision-link:hover {
    background: rgba(0, 180, 216, 0.18);
    transform: translateY(-1px);
}

/* Homepage: Knowledge layer block (near membership) */
.knowledge-layer-section {
    margin-top: 2.25rem;
}

.knowledge-layer-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.22);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.knowledge-layer-frame::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 38%;
    height: 20%;
    background: linear-gradient(180deg, rgba(202, 234, 196, 0.96) 0%, rgba(202, 234, 196, 0.88) 72%, rgba(202, 234, 196, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.knowledge-layer-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /* hide top nav text embedded in source image */
    object-position: center 82%;
}

.knowledge-layer-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(0.75rem, 2.2vw, 1.25rem);
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.22) 0%,
        rgba(15, 23, 42, 0.05) 35%,
        rgba(15, 23, 42, 0.34) 100%
    );
}

.knowledge-layer-bottom {
    display: grid;
    grid-template-columns: 1fr minmax(210px, 43%);
    gap: 1rem;
    align-items: end;
}

.knowledge-side-note {
    margin: 0;
    font-size: clamp(0.68rem, 1.2vw, 0.82rem);
    color: rgba(15, 23, 42, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.knowledge-main-copy {
    margin-left: auto;
    max-width: 420px;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.knowledge-subline {
    margin: 0 0 0.45rem;
    font-size: clamp(0.7rem, 1vw, 0.82rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #1e293b;
}

.knowledge-main-copy h3 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(0.9rem, 1.4vw, 1.12rem);
    line-height: 1.35;
    font-weight: 800;
}

/* Homepage: Learning hub dashboard (Grootspay Plus) */
.learning-hub-section {
    margin-top: 2.25rem;
}

.learning-hub-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.learning-hub-hero {
    position: relative;
    min-height: 220px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #0f172a;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
}

.learning-hub-hero-media {
    position: absolute;
    inset: 0;
}

.learning-hub-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    opacity: 0.55;
    transform: scale(1.02);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.learning-hub-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 48%, rgba(30, 64, 175, 0.35) 100%);
    pointer-events: none;
}

.learning-hub-hero-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    padding: clamp(1.25rem, 3vw, 2rem);
    color: #f8fafc;
}

.learning-hub-tag {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(0, 180, 216, 0.2);
    border: 1px solid rgba(0, 180, 216, 0.45);
    color: #fdba74;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.learning-hub-hero-content h3 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    line-height: 1.15;
    color: #ffffff;
}

.learning-hub-hero-content p {
    margin: 0 0 1rem;
    color: rgba(226, 232, 240, 0.9);
    line-height: 1.55;
    font-size: 0.95rem;
}

.learning-hub-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.62rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.86rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary) 0%, #0096B8 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 22px rgba(0, 180, 216, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.learning-hub-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 180, 216, 0.45);
    filter: brightness(1.05);
}

.learning-hub-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1rem;
}

.learning-hub-panel {
    border-radius: 18px;
    padding: 1rem;
    background: linear-gradient(160deg, #111827 0%, #1e293b 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.learning-hub-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.learning-hub-panel-head h4 {
    margin: 0;
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 700;
}

.learning-hub-filter {
    font-size: 0.72rem;
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
    background: rgba(15, 23, 42, 0.45);
}

.learning-course-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.learning-course-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.75rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.14);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.learning-course-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(59, 130, 246, 0.18);
    font-size: 1rem;
}

.learning-course-meta strong {
    display: block;
    color: #f1f5f9;
    font-size: 0.86rem;
    margin-bottom: 0.15rem;
}

.learning-course-meta span {
    display: block;
    color: #94a3b8;
    font-size: 0.72rem;
    margin-bottom: 0.35rem;
}

.learning-progress {
    height: 5px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.25);
    overflow: hidden;
}

.learning-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--secondary) 0%, #60a5fa 100%);
    transition: width 0.45s ease;
}

.learning-progress--complete span {
    background: linear-gradient(90deg, var(--accent) 0%, #4ade80 100%);
}

.learning-status {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
}

.learning-status--progress {
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.16);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.learning-status--done {
    color: #dcfce7;
    background: rgba(34, 197, 94, 0.16);
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.learning-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.learning-stat-card {
    position: relative;
    border-radius: 12px;
    padding: 0.75rem;
    min-height: 88px;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.16);
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.learning-stat-card p {
    margin: 0 0 0.35rem;
    color: #94a3b8;
    font-size: 0.72rem;
}

.learning-stat-card strong {
    color: #f8fafc;
    font-size: 1.35rem;
    line-height: 1;
}

.learning-stat-card strong span {
    font-size: 0.8rem;
    color: #cbd5e1;
    font-weight: 600;
}

.learning-stat-card small {
    display: block;
    margin-top: 0.25rem;
    color: #86efac;
    font-size: 0.68rem;
}

.learning-stat-card--wide {
    grid-column: span 2;
}

.learning-stat-card--accent {
    background: linear-gradient(145deg, rgba(30, 64, 175, 0.85) 0%, rgba(59, 130, 246, 0.75) 100%);
    border-color: rgba(96, 165, 250, 0.45);
}

.learning-stat-card--chart .learning-chart-line {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.65rem;
    height: 28px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, transparent 62%, rgba(96, 165, 250, 0.25) 62%),
        linear-gradient(135deg, transparent 40%, #60a5fa 40%, #60a5fa 43%, transparent 43%, transparent 58%, #93c5fd 58%, #93c5fd 61%, transparent 61%, transparent 74%, #3b82f6 74%);
    opacity: 0.85;
}

.learn-hover-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.learn-hover-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
    opacity: 0;
}

.learn-hover-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 56px rgba(30, 64, 175, 0.28);
}

.learn-hover-card:hover::before {
    opacity: 1;
    animation: learning-hub-shine 0.85s ease forwards;
}

.learn-hover-card:hover .learning-hub-hero-media img {
    transform: scale(1.06);
    opacity: 0.68;
}

@keyframes learning-hub-shine {
    from { left: -120%; }
    to { left: 130%; }
}

.learn-hover-panel:hover {
    border-color: rgba(96, 165, 250, 0.45);
    box-shadow: 0 22px 44px rgba(30, 64, 175, 0.24);
}

.learn-hover-row:hover {
    transform: translateX(4px);
    border-color: rgba(96, 165, 250, 0.45);
    background: rgba(30, 64, 175, 0.28);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.28);
}

.learn-hover-row:hover .learning-progress span {
    filter: brightness(1.15);
}

.learn-hover-stat:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 180, 216, 0.45);
    box-shadow: 0 14px 28px rgba(0, 180, 216, 0.2);
}

@media (max-width: 992px) {
    .learning-hub-grid {
        grid-template-columns: 1fr;
    }

    .learning-stat-card--wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .learning-course-row {
        grid-template-columns: auto 1fr;
    }

    .learning-status {
        grid-column: 2;
        justify-self: start;
        margin-top: 0.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .learning-hub-hero-media img,
    .learning-hub-cta,
    .learning-course-row,
    .learning-stat-card,
    .learn-hover-card {
        transition: none;
    }

    .learn-hover-card:hover::before {
        animation: none;
        opacity: 0;
    }

    .learn-hover-card:hover .learning-hub-hero-media img,
    .learn-hover-card:hover,
    .learn-hover-row:hover,
    .learn-hover-stat:hover {
        transform: none;
    }
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.45);
}

/* Homepage: Grootspay Advantage */
.advantage-section {
    padding: 4rem 0;
    background: var(--white);
}

.advantage-heading {
    text-align: center;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.advantage-card {
    text-align: center;
}

.advantage-visual {
    position: relative;
    width: min(280px, 100%);
    margin: 0 auto 1.25rem;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(30, 41, 59, 0.14);
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.advantage-visual--orange {
    background: #B8E8F5;
}

.advantage-visual--blue {
    background: #A8C8E8;
}

.advantage-visual--green {
    background: #8ED4E8;
}

.advantage-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

.advantage-caption {
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.45;
    max-width: 260px;
    margin: 0 auto;
}

/* Homepage: Subscribe / membership banner */
#membership,
#membership-details {
    scroll-margin-top: 92px;
}

.subscribe-section {
    padding: 2rem 0 4rem;
    background: var(--background);
}

.subscribe-banner,
.membership-home-banner {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 44%);
    gap: 2.5rem;
    align-items: center;
    background: linear-gradient(145deg, #051525 0%, #0A2540 40%, #0D3B5C 100%);
    border-radius: 16px;
    padding: 3rem 3rem 3rem 3.25rem;
    color: var(--white);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(10, 37, 64, 0.3);
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    position: relative;
}

.membership-home-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.subscribe-banner .membership-plan-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.75rem;
    background: rgba(var(--primary-rgb), 0.15);
    border-radius: 4px;
    border: 1px solid rgba(var(--primary-rgb), 0.35);
}

.membership-plan-price-tag--home {
    margin-bottom: 1.5rem;
    padding: 0.85rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.membership-details--home {
    margin-top: 2.5rem;
}

.membership-details--home .membership-details-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.membership-details--home h4 {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.subscribe-visual-main {
    position: relative;
}

.membership-home-visual .subscribe-visual-main {
    width: 78%;
    max-width: 300px;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
    background: #e2e8f0;
}

.membership-home-visual .subscribe-visual-main img:not(.membership-brand-logo) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.membership-home-visual .subscribe-visual-accent {
    width: 20%;
    max-width: 64px;
    min-height: 220px;
    border-radius: 14px;
    background: linear-gradient(
        180deg,
        rgba(167, 139, 250, 0.9) 0%,
        rgba(59, 130, 246, 0.85) 45%,
        rgba(34, 197, 94, 0.8) 100%
    );
}

.subscribe-content h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 1rem;
    font-weight: 700;
}

.subscribe-lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    max-width: 520px;
}

.subscribe-lead strong {
    color: var(--accent);
    font-weight: 700;
}

.subscribe-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    margin-bottom: 1.25rem;
}

.subscribe-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.45;
}

.subscribe-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

.subscribe-icon--primary {
    background: linear-gradient(135deg, var(--primary), #0096B8);
    color: var(--white);
}

.subscribe-icon--secondary {
    background: linear-gradient(135deg, #3B82F6, var(--secondary));
    color: var(--white);
}

.subscribe-icon--accent {
    background: linear-gradient(135deg, var(--accent), var(--cta-dark));
    color: var(--white);
}

.subscribe-icon--warm {
    background: linear-gradient(135deg, #F472B6, #EC4899);
    color: var(--white);
}

.subscribe-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.btn-subscribe-primary {
    display: inline-block;
    background: var(--white);
    color: #1E293B;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-subscribe-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: var(--secondary);
}

.subscribe-learn-more {
    color: var(--white);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 0.95rem;
}

.subscribe-learn-more:hover {
    color: var(--accent);
}

.subscribe-visual {
    position: relative;
    height: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.subscribe-visual-main {
    width: 72%;
    max-width: 280px;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 2;
}

.subscribe-visual-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subscribe-visual-accent {
    width: 22%;
    max-width: 72px;
    align-self: stretch;
    min-height: 200px;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    opacity: 0.95;
    z-index: 1;
}

@media (max-width: 992px) {
    .advantage-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 360px;
        margin: 0 auto;
    }

    .subscribe-banner {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .subscribe-visual {
        min-height: 220px;
        justify-content: center;
    }

    .subscribe-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .advantage-section {
        padding: 3rem 0;
    }

    .subscribe-banner {
        padding: 1.5rem;
    }
}

/* Homepage: Certifications */
.cert-section {
    padding: 0 0 4rem;
    background: var(--background);
}

.cert-banner {
    display: grid;
    grid-template-columns: minmax(240px, 38%) 1fr;
    gap: 2rem;
    align-items: stretch;
    background: linear-gradient(145deg, #1E293B 0%, #172554 55%, #1E3A5F 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem 2.5rem 2.5rem;
    color: var(--white);
    border: 1px solid rgba(0, 180, 216, 0.15);
    box-shadow: 0 12px 40px rgba(30, 41, 59, 0.2);
}

.cert-intro h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cert-intro p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.cert-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.cert-cta-link:hover {
    color: #FDBA74;
    gap: 0.55rem;
}

.cert-cta-link span {
    font-size: 1.1rem;
}

.cert-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.cert-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem 1rem 1.5rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.cert-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 180, 216, 0.45);
    transform: translateY(-4px);
}

.cert-badges {
    position: relative;
    height: 120px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-badge {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.65rem;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    color: var(--white);
}

/* CompTIA-style badges */
.cert-badges--comptia .cert-badge--lg {
    width: 56px;
    height: 56px;
    background: linear-gradient(145deg, #DC2626, #991B1B);
    font-size: 0.55rem;
    z-index: 3;
    top: 28%;
    left: 38%;
}

.cert-badges--comptia .cert-badge--md {
    width: 44px;
    height: 48px;
    background: linear-gradient(145deg, #EF4444, #B91C1C);
    top: 12%;
    left: 18%;
    z-index: 2;
}

.cert-badges--comptia .cert-badge:nth-child(1) {
    width: 38px;
    height: 38px;
    background: linear-gradient(145deg, #F87171, #DC2626);
    top: 50%;
    left: 8%;
    z-index: 1;
}

.cert-badges--comptia .cert-badge:nth-child(4) {
    width: 38px;
    height: 38px;
    background: linear-gradient(145deg, #FCA5A5, #EF4444);
    top: 55%;
    right: 12%;
    left: auto;
    z-index: 1;
}

.cert-badges--comptia .cert-badge--xs {
    width: 32px;
    height: 32px;
    background: linear-gradient(145deg, #FCA5A5, #EF4444);
    top: 8%;
    right: 15%;
    font-size: 0.5rem;
    z-index: 2;
}

/* AWS hex-style badges */
.cert-badge--hex {
    width: 42px;
    height: 48px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border-radius: 0;
    background: linear-gradient(160deg, #3B82F6, var(--secondary));
    font-size: 0.55rem;
}

.cert-badges--aws .cert-badge--hex:nth-child(1) {
    top: 20%;
    left: 12%;
    z-index: 1;
}

.cert-badges--aws .cert-badge--hex-lg {
    width: 52px;
    height: 58px;
    background: linear-gradient(160deg, #6366F1, #1E40AF);
    top: 30%;
    left: 36%;
    z-index: 3;
    font-size: 0.6rem;
}

.cert-badges--aws .cert-badge--hex:nth-child(3) {
    top: 18%;
    right: 18%;
    left: auto;
    background: linear-gradient(160deg, #818CF8, #4338CA);
    z-index: 2;
}

.cert-badges--aws .cert-badge--hex-sm {
    width: 36px;
    height: 40px;
    bottom: 8%;
    right: 22%;
    top: auto;
    left: auto;
    background: linear-gradient(160deg, #60A5FA, #2563EB);
    z-index: 1;
}

/* PMI round badges */
.cert-badge--round {
    border-radius: 50%;
    font-size: 0.55rem;
}

.cert-badge--pmp {
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, var(--primary), #0096B8);
    top: 25%;
    left: 35%;
    z-index: 3;
}

.cert-badge--capm {
    width: 42px;
    height: 38px;
    background: linear-gradient(145deg, var(--accent), var(--cta-dark));
    top: 12%;
    left: 15%;
    z-index: 2;
}

.cert-badge--rmp {
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #A855F7, #7C3AED);
    top: 45%;
    right: 18%;
    left: auto;
    z-index: 2;
}

.cert-card h3 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.cert-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 992px) {
    .cert-banner {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .cert-intro p {
        max-width: none;
    }

    .cert-cards {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .cert-section {
        padding-bottom: 3rem;
    }
}

/* Homepage: Career Accelerators */
.career-section {
    padding: 4.5rem 0;
    background: linear-gradient(
        145deg,
        #2E1065 0%,
        #4C1D95 28%,
        #5B21B6 52%,
        #6D28D9 78%,
        #7C3AED 100%
    );
    position: relative;
    overflow: hidden;
}

.career-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 45% at 15% 20%, rgba(167, 139, 250, 0.25) 0%, transparent 55%),
        radial-gradient(ellipse 45% 40% at 85% 80%, rgba(124, 58, 237, 0.2) 0%, transparent 50%);
}

.career-section > .container {
    position: relative;
    z-index: 1;
}

.career-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.career-subtitle {
    color: rgba(233, 213, 255, 0.88);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 640px;
    line-height: 1.55;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.career-card {
    background: var(--card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 4px 16px rgba(30, 41, 59, 0.06);
}

.career-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(46, 16, 101, 0.35);
    border-color: rgba(167, 139, 250, 0.45);
}

.career-card-visual {
    position: relative;
    height: 160px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1rem;
}

.career-card-visual--green {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 50%, #15803D 100%);
}

.career-card-visual--pink {
    background: linear-gradient(135deg, #F472B6 0%, #EC4899 45%, #7C3AED 100%);
}

.career-card-visual--purple {
    background: linear-gradient(135deg, #A855F7 0%, var(--secondary) 60%, #4338CA 100%);
}

.career-card-visual img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    mask-image: linear-gradient(to left, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 70%, transparent 100%);
}

.career-card-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 72px;
    height: 72px;
    color: rgba(255, 255, 255, 0.45);
    z-index: 2;
}

.career-card-icon svg {
    width: 100%;
    height: 100%;
}

.career-card-icon--chart {
    width: 64px;
    height: 64px;
    left: 1.5rem;
}

.career-card-icon--phone {
    width: 56px;
    height: 56px;
}

.career-card-body {
    padding: 1.25rem 1.25rem 1.5rem;
    flex: 1;
}

.career-card-body h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 1rem;
}

.career-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.career-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin-right: 0.25rem;
}

.career-star {
    color: var(--primary);
    font-size: 0.9rem;
}

.career-pill {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--surface-elevated);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    font-weight: 500;
}

@media (max-width: 992px) {
    .career-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .career-section {
        padding: 3rem 0;
    }
}

/* Homepage: Popular Skills */
.skills-section {
    padding: 4rem 0;
    background: var(--white);
    border-top: 1px solid var(--border-light);
}

.skills-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.skills-divider {
    height: 1px;
    background: var(--border-color);
    margin-bottom: 2.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 1fr;
    gap: 2rem 2.5rem;
    align-items: start;
}

.skills-featured-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.35;
    margin-bottom: 0.75rem;
    max-width: 220px;
}

.skills-column-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.25rem;
}

.skills-link {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.skills-link:hover {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.skills-featured .skills-link {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.skills-learners {
    display: block;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.skills-featured .skills-learners {
    margin-bottom: 2rem;
}

.skills-list {
    list-style: none;
}

.skills-list li {
    margin-bottom: 1.35rem;
}

.skills-list li:last-child {
    margin-bottom: 0;
}

.skills-show-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 260px;
    padding: 0.85rem 1.25rem;
    border: 2px solid var(--secondary);
    border-radius: 6px;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.skills-show-all:hover {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.skills-show-all svg {
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .skills-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .skills-featured {
        grid-column: 1 / -1;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--border-light);
    }

    .skills-featured-title {
        max-width: none;
    }
}

@media (max-width: 600px) {
    .skills-section {
        padding: 3rem 0;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Homepage: Testimonials */
.testimonials-section {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
    background: linear-gradient(
        145deg,
        #3b0505 0%,
        #6b1010 18%,
        #991b1b 42%,
        #b91c1c 62%,
        #7f1d1d 82%,
        #450a0a 100%
    );
}

.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 65% 50% at 15% 12%, rgba(254, 202, 202, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 88% 88%, rgba(127, 29, 29, 0.45) 0%, transparent 52%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.testimonials-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.14) 0%,
        rgba(255, 255, 255, 0.04) 16%,
        transparent 40%
    );
}

.testimonials-section > .container {
    position: relative;
    z-index: 1;
}

.testimonials-section .testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 14px 40px rgba(59, 7, 7, 0.45);
}

.testimonials-section .testimonial-card:hover {
    box-shadow: 0 18px 44px rgba(59, 7, 7, 0.52);
    border-color: rgba(254, 202, 202, 0.75);
}

.testimonials-section .testimonials-grid {
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 28px rgba(30, 41, 59, 0.08);
    border-color: rgba(30, 64, 175, 0.2);
}

.testimonial-quote-mark {
    display: block;
    font-size: 3rem;
    line-height: 1;
    color: var(--text-main);
    font-family: Georgia, 'Times New Roman', serif;
    margin-bottom: 0.25rem;
    user-select: none;
}

.testimonial-text {
    margin: 0 0 1.5rem;
    padding: 0;
    border: none;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
    flex: 1;
}

.testimonial-text strong {
    color: var(--text-main);
    font-weight: 700;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-top: 0.25rem;
}

.testimonial-initials {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

.testimonial-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 0.15rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.4;
}

.testimonial-link {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.testimonial-link:hover {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .testimonials-section {
        padding: 3rem 0;
    }
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.categories-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: var(--text-main);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.category-card {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(30, 41, 59, 0.06);
}

.category-card:hover {
    border-color: var(--primary-mint);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.25);
    background-color: var(--bg-mint-light);
}

.category-card h3 {
    margin-top: 1rem;
    color: var(--text-main);
}

/* Courses Section — All Programs */
.courses-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: linear-gradient(
        145deg,
        #051525 0%,
        #0A2540 25%,
        #0D3B5C 50%,
        #0077A8 75%,
        #00B4D8 100%
    );
}

.courses-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 12% 8%, rgba(0, 229, 255, 0.2) 0%, transparent 58%),
        radial-gradient(ellipse 55% 45% at 88% 92%, rgba(0, 180, 216, 0.18) 0%, transparent 52%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.courses-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.06) 18%,
        transparent 42%
    );
}

.courses-section > .container {
    position: relative;
    z-index: 1;
}

.courses-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(15, 23, 42, 0.35);
}

.courses-section .filter-section,
.courses-section .courses-grid {
    position: relative;
    z-index: 2;
}

.courses-section .filter-btn {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(0, 229, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(2, 6, 23, 0.28);
    text-shadow: 0 1px 2px rgba(10, 37, 64, 0.35);
}

.courses-section .filter-btn:hover,
.courses-section .filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 6px 22px rgba(var(--primary-rgb), 0.45);
}

.courses-section .course-card {
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 14px 40px rgba(2, 6, 23, 0.38);
}

.courses-section .course-card:hover {
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 18px 44px rgba(var(--primary-rgb), 0.2);
}

.courses-section .course-card h3 {
    color: var(--secondary);
}

.courses-section .course-info {
    color: var(--text-secondary);
}

.courses-section .course-badge {
    background-color: var(--surface-elevated);
    color: var(--secondary);
    border-color: rgba(var(--primary-rgb), 0.35);
}

.courses-section .course-price {
    color: #0096B8;
}

.courses-section .course-footer {
    border-top-color: rgba(30, 41, 59, 0.14);
}

.courses-section .course-btn {
    background-color: var(--cta);
    color: #ffffff;
}

.courses-section .course-btn-cart {
    color: #0096B8;
    border-color: #00B4D8;
    background-color: #ffffff;
}

.courses-section .course-btn-cart:hover {
    background-color: #F4FAFD;
    color: #c2410c;
}

.courses-section .btn.btn-primary {
    box-shadow: 0 10px 28px rgba(34, 197, 94, 0.5);
}

.filter-section {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--accent-mint);
    background-color: transparent;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.course-card {
    background-color: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 180, 216, 0.2);
    border-color: var(--accent-mint);
    background-color: var(--bg-mint-light);
}

.course-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: bold;
}

.course-content {
    padding: 1.5rem;
}

.course-badge {
    display: inline-block;
    background-color: var(--bg-mint-light);
    color: var(--primary-mint-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--accent-mint);
}

.course-card h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    color: var(--text-main);
}

.course-info {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.course-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-mint-dark);
}

.course-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.course-btn {
    background-color: var(--cta);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.course-btn:hover {
    background-color: var(--cta-dark);
    transform: scale(1.02);
}

.course-btn-cart {
    background-color: transparent;
    color: var(--primary-mint-dark);
    border: 2px solid var(--primary-mint);
}

.course-btn-cart:hover {
    background-color: var(--bg-mint-light);
    color: var(--primary-mint-dark);
    border-color: var(--primary-mint-dark);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-section h2,
.about-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.about-text.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-text.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.about-text.animate-in .about-title {
    animation: aboutTitleIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

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

.about-list-item {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease, color 0.2s ease;
    transition-delay: calc(0.1s + var(--i, 0) * 0.08s);
}

.about-text.animate-in .about-list-item {
    opacity: 1;
    transform: translateX(0);
}

.about-list-item:hover {
    color: var(--primary-mint-dark);
    padding-left: 8px;
}

.about-list {
    list-style: none;
}

.about-list li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background-color: var(--surface);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(30, 41, 59, 0.06);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    transition-delay: calc(0.15s + var(--i, 0) * 0.12s);
}

.stat.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stat:hover {
    box-shadow: 0 12px 28px rgba(0, 180, 216, 0.25);
    border-color: var(--accent-mint);
}

.stat-number {
    font-size: 2.5rem;
    color: var(--primary-mint-dark);
    margin-bottom: 0.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.stat:hover .stat-number {
    transform: scale(1.08);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-mint-dark);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-tertiary);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-inner {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.newsletter-inner.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.newsletter-inner.animate-in .newsletter-form {
    animation: newsletterFormIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

@keyframes newsletterFormIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form:focus-within {
    transform: scale(1.02);
}

.newsletter-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.newsletter-section p {
    margin-bottom: 2rem;
    opacity: 0.95;
    color: var(--white);
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background-color: var(--surface);
    color: var(--text-main);
    transition: box-shadow 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.4);
}

/* Site footer wrapper */
.site-footer {
    margin-top: 0;
}

/* Footer explore mega-menu (dark) */
.footer-explore {
    background: linear-gradient(180deg, #051525 0%, #0A2540 55%, #0D3B5C 100%);
    color: var(--white);
    padding: 3rem 0 3.5rem;
    border-top: 3px solid var(--primary);
}

.footer-explore-title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.footer-explore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 2.5rem;
}

.footer-explore-col h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-explore-col ul {
    list-style: none;
}

.footer-explore-col li {
    margin-bottom: 0.55rem;
}

.footer-explore-col a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.footer-explore-col a:hover {
    color: #FDBA74;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 992px) {
    .footer-explore-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem 2rem;
    }
}

@media (max-width: 600px) {
    .footer-explore {
        padding: 2.5rem 0;
    }

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

/* Footer main (light) */
.footer,
.footer-main {
    color: var(--text-secondary);
    padding: 60px 0 20px;
}

.site-footer .footer-main {
    position: relative;
    overflow: hidden;
    border-top: none;
    background: linear-gradient(
        145deg,
        #E3F4FA 0%,
        #ffffff 22%,
        #F4FAFD 48%,
        #E8F6FC 72%,
        #D6EEF8 100%
    );
}

.site-footer .footer-main::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 8% 0%, rgba(255, 255, 255, 0.95) 0%, transparent 58%),
        radial-gradient(ellipse 60% 50% at 92% 100%, rgba(191, 219, 254, 0.35) 0%, transparent 52%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.site-footer .footer-main::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.75) 0%,
        rgba(255, 255, 255, 0.2) 22%,
        transparent 45%
    );
}

.site-footer .footer-main > .container {
    position: relative;
    z-index: 1;
}

.site-footer .footer-main .footer-section h3 {
    color: #0f172a;
    font-weight: 800;
}

.site-footer .footer-main .footer-section p {
    color: #334155;
    line-height: 1.65;
}

.site-footer .footer-main .footer-section p strong {
    color: #0f172a;
}

.site-footer .footer-main .footer-section a,
.site-footer .footer-main .footer-contact-email {
    color: var(--primary-dark);
    font-weight: 500;
}

.site-footer .footer-main .footer-section a:hover,
.site-footer .footer-main .footer-contact-email:hover {
    color: var(--secondary);
}

.site-footer .footer-main .footer-legal-name {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.02em;
}

.site-footer .footer-main .footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(30, 64, 175, 0.18);
    color: #475569;
    font-weight: 500;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-section {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(0.1s + var(--i, 0) * 0.1s);
}

.footer-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--text-main);
    transition: color 0.2s ease;
}

.footer-section:hover h3 {
    color: var(--primary-mint-dark);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.2s ease;
}

.footer-section a:hover {
    color: var(--primary-mint);
    padding-left: 4px;
}

.footer-main .footer-contact-email {
    color: var(--text-tertiary);
}

.footer-main .footer-contact-email:hover {
    color: var(--primary-mint);
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.footer-bottom.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--surface);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    animation: slideIn 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    box-shadow: 0 12px 40px rgba(30, 41, 59, 0.15);
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--text-tertiary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--primary-mint);
}

.modal-details {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.modal-details p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

#enrollBtn {
    width: 100%;
    margin-top: 1rem;
}

/* Toast notification (add to cart, etc.) */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 10px 40px rgba(30, 41, 59, 0.12);
    z-index: 9999;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    max-width: calc(100vw - 32px);
}

.toast.toast-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-success {
    background: var(--primary-mint);
    color: var(--white);
    border: 1px solid var(--primary-mint-dark);
}

.toast-info {
    background: var(--surface-elevated);
    color: var(--text-main);
    border: 1px solid var(--accent-mint);
}

.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-message {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .toast {
        bottom: 16px;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    .toast-message {
        white-space: normal;
        max-width: 260px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        max-width: min(220px, 58vw);
    }
    .logo img {
        height: 34px;
    }
    
    .search-container {
        margin: 0 5px;
        order: 1; /* Move to center */
        padding: 0 5px;
    }
    
    .search-container input {
        width: 100px; /* Smaller input */
        font-size: 0.8rem;
    }

    .hamburger {
        display: block;
        order: 2; /* Move to right */
    }

    .navbar {
        position: sticky;
    }

    .nav-wrapper {
        flex-wrap: wrap;
        min-height: auto;
        padding: 0.5rem 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
        padding: 1rem;
        border: 1px solid #e8ecf1;
        border-top: none;
        border-radius: 0 0 14px 14px;
        margin: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 0;
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem !important;
        border-radius: 10px;
        font-size: 0.95rem;
    }

    .nav-links a.nav-cart,
    .nav-links #authLink a {
        text-align: center;
        margin-left: 0;
        margin-top: 0.25rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero {
        padding: 60px 20px;
    }

    .vision-section {
        padding: 1.75rem 0 1rem;
    }

    .vision-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.85rem;
    }

    .vision-copy {
        padding: 0.5rem 0.35rem 0.3rem;
    }

    .vision-copy h2 {
        font-size: 1.45rem;
    }

    .vision-copy p {
        font-size: 0.95rem;
    }

    .knowledge-layer-top {
        display: none;
    }

    .knowledge-layer-bottom {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .knowledge-main-copy {
        margin-left: 0;
        max-width: 100%;
        padding: 0.7rem 0.85rem;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .filter-section {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .filter-btn {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .categories-section h2,
    .courses-section h2,
    .about-section h2,
    .newsletter-section h2 {
        font-size: 1.5rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

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

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.pagination button {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination button:hover:not(:disabled) {
    background: var(--primary-mint);
    color: var(--white);
    border-color: var(--primary-mint);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Membership page — Udemy-style plan banner */
.membership-page-body {
    background: var(--background);
}

.membership-plan-page {
    padding: 2rem 0 3rem;
}

.membership-plan-banner {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 44%);
    gap: 2.5rem;
    align-items: center;
    background: linear-gradient(145deg, #1c1f26 0%, #1e293b 35%, #172554 100%);
    border-radius: 16px;
    padding: 3rem 3rem 3rem 3.25rem;
    color: var(--white);
    overflow: hidden;
    box-shadow:
        0 24px 64px rgba(15, 23, 42, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    margin-bottom: 3.5rem;
    position: relative;
}

.membership-plan-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(0, 180, 216, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.membership-plan-banner--compact {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
}

.membership-plan-banner--compact .membership-plan-visual {
    display: none;
}

.membership-plan-content {
    position: relative;
    z-index: 1;
}

.membership-plan-content--center {
    max-width: 520px;
    margin: 0 auto;
}

.membership-plan-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FDBA74;
    margin-bottom: 1rem;
    padding: 0.35rem 0.75rem;
    background: rgba(0, 180, 216, 0.15);
    border-radius: 4px;
    border: 1px solid rgba(0, 180, 216, 0.3);
}

.membership-plan-banner h1 {
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.membership-plan-title-sm {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.membership-plan-lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
    max-width: 520px;
}

.membership-plan-lead--sm {
    margin-bottom: 1.5rem;
    max-width: none;
}

.membership-plan-lead strong {
    color: #FDBA74;
    font-weight: 700;
}

.membership-plan-page .membership-plan-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.75rem;
    margin-bottom: 1.75rem;
}

.membership-plan-page .membership-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.45;
    border: none;
    padding: 0;
}

.membership-plan-page .membership-plan-features li::before {
    display: none;
}

.membership-plan-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

.membership-plan-icon--purple {
    background: linear-gradient(135deg, #7C3AED, #5B21B6);
}

.membership-plan-icon--blue {
    background: linear-gradient(135deg, #3B82F6, var(--secondary));
}

.membership-plan-icon--pink {
    background: linear-gradient(135deg, #F472B6, #EC4899);
}

.membership-plan-icon--green {
    background: linear-gradient(135deg, var(--accent), var(--cta-dark));
}

.membership-plan-price-tag {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    padding: 0.85rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.membership-plan-price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.membership-plan-price-period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.membership-plan-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.btn-membership-subscribe {
    display: inline-block;
    background: var(--white);
    color: #1c1f26;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-membership-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.25);
    background: #f8fafc;
}

.membership-plan-learn-more {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.membership-plan-learn-more:hover {
    color: #FDBA74;
}

.membership-plan-visual {
    position: relative;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    z-index: 1;
}

.membership-plan-visual-main {
    width: 78%;
    max-width: 300px;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
    position: relative;
    z-index: 2;
    background: #e2e8f0;
}

.membership-plan-visual-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(125deg, transparent 40%, rgba(124, 58, 237, 0.85) 40%, rgba(124, 58, 237, 0.85) 48%, transparent 48%),
        linear-gradient(215deg, transparent 55%, rgba(99, 102, 241, 0.7) 55%, rgba(99, 102, 241, 0.7) 62%, transparent 62%);
    pointer-events: none;
}

.membership-plan-visual-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.membership-plan-visual--logo .membership-plan-visual-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem;
    background: #ffffff;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(0, 180, 216, 0.35);
    box-shadow: 0 0 0 8px rgba(0, 180, 216, 0.1), 0 24px 48px rgba(0, 0, 0, 0.35);
}

.membership-plan-visual--logo .membership-brand-logo {
    width: 100%;
    max-width: 148px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
    object-position: center;
    z-index: 2;
    filter: drop-shadow(0 2px 8px rgba(10, 37, 64, 0.1));
}

.membership-plan-visual-accent {
    width: 20%;
    max-width: 64px;
    align-self: stretch;
    min-height: 220px;
    border-radius: 14px;
    background: linear-gradient(
        180deg,
        rgba(167, 139, 250, 0.9) 0%,
        rgba(59, 130, 246, 0.85) 45%,
        rgba(34, 197, 94, 0.8) 100%
    );
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.membership-details {
    margin-bottom: 3.5rem;
}

.membership-details-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 2rem;
}

.membership-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.membership-detail-card {
    background: var(--card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.membership-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 64, 175, 0.1);
}

.membership-detail-num {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.membership-detail-card h3 {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.membership-detail-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

.membership-faq-section--page {
    max-width: 720px;
    margin: 0 auto 3rem;
}

.membership-section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.membership-faq-section {
    max-width: 720px;
    margin: 0 auto 3rem;
}

.membership-faq-list {
    margin-top: 1.5rem;
}

.membership-faq-item {
    background: var(--card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.membership-faq-item summary {
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-main);
    list-style: none;
}

.membership-faq-item summary::-webkit-details-marker {
    display: none;
}

.membership-faq-item summary::after {
    content: '+';
    float: right;
    color: var(--primary);
    font-weight: 700;
}

.membership-faq-item[open] summary::after {
    content: '−';
}

.membership-faq-item p {
    padding: 0 1.25rem 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.membership-faq-item a {
    color: var(--secondary);
}

@media (max-width: 992px) {
    .membership-plan-banner {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .membership-plan-visual {
        min-height: 240px;
        justify-content: center;
    }

    .membership-plan-page .membership-plan-features {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 600px) {
    .membership-plan-page {
        padding: 1.25rem 0 2rem;
    }

    .membership-plan-banner {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .membership-details-grid {
        grid-template-columns: 1fr;
    }

    .btn-membership-subscribe {
        width: 100%;
        text-align: center;
    }
}

/* Info / legal / about / FAQ pages */
.info-page {
    padding: 4rem 0 5rem;
}

.info-page h1 {
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.info-page .info-lead,
.info-page .subtitle {
    color: var(--text-tertiary);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.info-page .updated {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.info-page h2 {
    font-size: 1.35rem;
    color: var(--text-main);
    margin: 2rem 0 0.75rem;
}

.info-page h3 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin: 1.25rem 0 0.5rem;
}

.info-page p,
.info-page li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.info-page ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

.info-page a {
    color: var(--primary-mint);
    text-decoration: none;
    font-weight: 600;
}

.info-page a:hover {
    text-decoration: underline;
}

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

.legal-page .highlight {
    background: var(--bg-mint-light);
    padding: 1rem 1.15rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-mint);
    margin: 1rem 0;
}

.about-page {
    max-width: 960px;
    margin: 0 auto;
}

.about-hero-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(23, 37, 84, 0.94) 100%);
    color: #f8fafc;
    border-radius: 16px;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
}

.about-hero-card p {
    color: rgba(226, 232, 240, 0.94);
    margin-bottom: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 2rem 0;
}

.about-stat-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(30, 41, 59, 0.06);
}

.about-stat-card strong {
    display: block;
    font-size: 1.75rem;
    color: var(--primary-mint-dark);
    margin-bottom: 0.35rem;
}

.about-stat-card span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-value-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.15rem 1.25rem;
}

.about-value-card h3 {
    margin-top: 0;
    color: var(--primary-mint-dark);
}

.faq-page {
    max-width: 820px;
    margin: 0 auto;
}

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

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(30, 41, 59, 0.05);
}

.faq-item details {
    padding: 0.15rem 0;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--text-main);
    padding: 1rem 1.15rem;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    float: right;
    color: var(--primary-mint);
    font-size: 1.2rem;
}

.faq-item details[open] summary::after {
    content: '−';
}

.faq-item details[open] summary {
    color: var(--primary-mint-dark);
}

.faq-item details p {
    padding: 0 1.15rem 1.15rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.75;
}

.faq-cta {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    background: var(--bg-mint-light);
    border: 1px solid rgba(0, 180, 216, 0.25);
}

.contact-page .contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.contact-page .contact-info,
.contact-page .contact-form {
    background: var(--surface);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-page .contact-form {
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.08);
}

.contact-page .contact-info h2 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.contact-page .contact-form label {
    display: block;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.contact-page .contact-form input,
.contact-page .contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 1rem;
    color: var(--text-main);
    background: var(--surface);
}

.contact-page .contact-form input:focus,
.contact-page .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-mint);
}

.contact-page .contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

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

    .contact-page .contact-wrap {
        grid-template-columns: 1fr;
    }
}
