/* Google Fonts - Inter: clean geometric modern typeface */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;1,14..32,300&display=swap');
/* Montserrat Black for logo C letters */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap');

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

:root {
    /* Cyan-teal primary — dominant in AI circuits, data network, dashboard glow */
    --primary-color: #0DA8C8;
    --primary-hover: #0888A5;
    --primary-bright: #00D4F0;   /* bright cyan for glows on dark bg */

    /* Gold — warm energy accent from sparkle particles & bokeh */
    --secondary-color: #D4A843;
    --gold-light: #E8C060;

    /* Deep midnight navy backgrounds — matches all 4 image atmospheres */
    --dark-bg: #080F1E;
    --dark-mid: #0D1B2E;
    --dark-card: #101F34;
    --steel-blue: #1A4060;

    /* Light surfaces */
    --light-bg: #F0F5FA;
    --white: #ffffff;

    /* Text */
    --text-dark: #0A1520;
    --text-light: #5A7A90;
    --text-muted: #7A9AAE;

    /* Utility */
    --success: #0DA8C8;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.10);
    --cyan-glow: rgba(13, 168, 200, 0.28);
    --gold-glow: rgba(212, 168, 67, 0.28);

    /* Gradients */
    --gradient: linear-gradient(135deg, #080F1E 0%, #0D1F38 100%);
    --gradient-cyan: linear-gradient(135deg, #0DA8C8 0%, #0888A5 100%);
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ─── Header ─────────────────────────────────────────────── */
header {
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-svg {
    width: 36px;
    height: 36px;
}

.logo-gold {
    color: var(--secondary-color);   /* #D4A843 golden yellow */
}

.logo-cyan {
    color: var(--primary-color);     /* #0DA8C8 cyan-teal */
}

.logo-c {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
}

.logo-c-gold {
    color: var(--secondary-color);
}

.logo-c-cyan {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    transition: color 0.25s;
    position: relative;
}

nav a:hover,
nav a.active {
    color: var(--secondary-color);   /* gold on hover */
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);   /* gold underline */
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* ─── Hero Section ───────────────────────────────────────── */
.hero {
    background: var(--gradient);
    color: var(--white);
    padding: 90px 20px 80px;
    border-bottom: 1px solid var(--dark-mid);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: var(--white);
    animation: fadeInUp 0.8s ease;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 2.2rem;
    color: rgba(255, 255, 255, 0.7);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* Hero with image layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-with-image {
    text-align: left;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* ─── CTA Buttons ─────────────────────────────────────────── */
.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 13px 34px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

/* No slide-in animation inside the banner */
.promo-slide-text .cta-button {
    animation: none;
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--cyan-glow);
}

.cta-button.cta-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.cta-button.cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    box-shadow: none;
}

/* ─── Circle Highlights (Why Choose Us) ─────────────────── */
.circle-highlights-section {
    background: var(--dark-bg);
    padding: 64px 20px;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.circle-highlights {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.circle-item {
    text-align: center;
    color: var(--white);
}

.circle-icon {
    width: 110px;
    height: 110px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--primary-bright);   /* bright cyan icons */
    background: var(--glass);
    transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.circle-item:hover .circle-icon {
    border-color: var(--primary-color);
    background: rgba(13, 168, 200, 0.12);
    transform: scale(1.06);
}

.circle-item span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1.5;
    color: var(--text-muted);
}

/* ─── Section Images ──────────────────────────────────────── */
.section-image {
    width: 100%;
    border-radius: 10px;
    margin-top: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ─── Section Styles ──────────────────────────────────────── */
section {
    padding: 80px 20px;
}

section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.8px;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 400;
    margin-top: -2rem;
    margin-bottom: 3rem;
    letter-spacing: 0.2px;
}

/* ─── About Section ───────────────────────────────────────── */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h3 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    margin-bottom: 0.75rem;
}

.about-text ul {
    list-style: none;
    margin-top: 1.5rem;
}

.about-text li {
    padding: 0.45rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-text li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.about-highlights {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #E2EAF0;
}

.highlight-item {
    margin-bottom: 1.75rem;
}

.highlight-item:last-child {
    margin-bottom: 0;
}

.highlight-item h4 {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
    margin-bottom: 0.4rem;
}

/* ─── Courses Grid ────────────────────────────────────────── */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.75rem;
    margin-top: 3rem;
}

.course-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #E2EAF0;
    box-shadow: 0 4px 16px rgba(15, 30, 43, 0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(15, 30, 43, 0.14);
}

.course-header {
    background: var(--gradient);
    color: var(--white);
    padding: 1.75rem 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.course-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 0.4rem;
}

.course-duration {
    font-size: 0.82rem;
    opacity: 0.7;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.course-body {
    padding: 1.75rem 2rem;
}

.course-body ul {
    list-style: none;
    margin: 1.25rem 0;
}

.course-body li {
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
}

.course-body li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 500;
}

.course-actions {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-top: 1rem;
}

.course-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    transition: background 0.25s, box-shadow 0.25s;
}

.course-button:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 16px var(--cyan-glow);
}

/* ─── Features / Learning Approach ───────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    text-align: left;
    padding: 1.75rem;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid #E2EAF0;
    transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 30, 43, 0.08);
}

.feature-icon {
    font-size: 1.6rem;
    margin-bottom: 0.85rem;
}

.feature-card h3 {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.2px;
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ─── Contact Section ─────────────────────────────────────── */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #E2EAF0;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    color: var(--text-dark);
    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #D0DDE8;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.submit-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 36px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: background 0.25s, box-shadow 0.25s;
}

.submit-btn:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 16px var(--cyan-glow);
}

.contact-info {
    padding: 0.5rem 0;
}

.contact-item {
    margin-bottom: 2rem;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 2px;
}

.contact-item h4 {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
    margin-bottom: 0.35rem;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ─── Footer ──────────────────────────────────────────────── */
footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 3rem 20px 1.5rem;
    border-top: 1px solid var(--glass-border);
}

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

.footer-section h3 {
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--glass-border);
    transition: background 0.25s, color 0.25s, transform 0.25s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ─── Course Detail Page ──────────────────────────────────── */
.course-detail-hero {
    background: var(--gradient);
    color: var(--white);
    padding: 60px 20px;
    border-bottom: 1px solid var(--glass-border);
}

.course-detail-hero h1 {
    font-weight: 700;
    letter-spacing: -0.8px;
}

.course-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.course-main {
    background: var(--white);
}

.course-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.info-box {
    background: var(--light-bg);
    padding: 1.75rem;
    border-radius: 10px;
    border: 1px solid #E2EAF0;
    margin-bottom: 1.5rem;
}

.info-box h3 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    margin-bottom: 1rem;
}

.module {
    background: var(--light-bg);
    padding: 1.75rem;
    border-radius: 10px;
    border: 1px solid #E2EAF0;
    margin-bottom: 1.5rem;
}

.module h3 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    margin-bottom: 1rem;
}

/* ─── Promo Banner Slider — split screen ──────────────────── */
.promo-slider {
    position: relative;
    height: 480px;
    overflow: hidden;
    background: var(--dark-bg);
}

.promo-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}

.promo-slide.active {
    opacity: 1;
    z-index: 1;
}

/* ── Left: text panel */
.promo-slide-text {
    background: var(--gradient);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 3.5rem;
    position: relative;
}

/* Subtle vertical cyan line accent on the right edge of text panel */
.promo-slide-text::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
}

.promo-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

.promo-slide-text h1,
.promo-slide-text h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
    line-height: 1.18;
    margin-bottom: 1.1rem;
}

/* First slide hero heading is slightly larger */
.promo-slide-text h1 {
    font-size: 2.8rem;
    letter-spacing: -1.4px;
}

.promo-slide-text h1 span,
.promo-slide-text h2 span {
    color: var(--primary-bright);
}

.promo-desc {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 380px;
}

.promo-cta {
    display: inline-block;
    color: var(--primary-bright);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(13, 168, 200, 0.4);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
    width: fit-content;
}

.promo-cta:hover {
    color: var(--white);
    border-color: var(--white);
}

/* ── Right: image panel */
.promo-slide-img {
    position: relative;
    overflow: hidden;
}

.promo-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 6s ease;
}

/* Slow Ken Burns zoom on active slide */
.promo-slide.active .promo-slide-img img {
    transform: scale(1.06);
}

/* Subtle dark fade on left edge of image (blends into text panel) */
.promo-slide-img::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to right, rgba(8, 15, 30, 0.5), transparent);
    z-index: 1;
    pointer-events: none;
}

/* Navigation dots — sit inside the text panel at bottom */
.promo-dots {
    position: absolute;
    bottom: 1.75rem;
    left: 3.5rem;
    display: flex;
    gap: 0.45rem;
    z-index: 10;
}

.promo-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, width 0.3s;
}

.promo-dot.active {
    background: var(--primary-color);
    width: 20px;
    border-radius: 3px;
}

/* Prev / Next arrows — on the image side */
.promo-arrow {
    position: absolute;
    bottom: 1.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: var(--white);
    width: 38px;
    height: 38px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 10;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, border-color 0.25s;
    backdrop-filter: blur(4px);
}

.promo-prev { right: calc(50% - 90px); }
.promo-next { right: calc(50% - 46px); }

.promo-arrow:hover {
    background: rgba(13, 168, 200, 0.25);
    border-color: var(--primary-color);
}

/* Progress bar */
.promo-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    width: 0%;
    z-index: 10;
    transition: width linear;
}

@media (max-width: 900px) {
    .promo-slider { height: auto; }

    /* Switch from stacked absolute to single visible slide */
    .promo-slide {
        position: relative;
        inset: auto;
        display: none;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        opacity: 1;
    }

    .promo-slide.active {
        display: grid;
    }

    .promo-slide-img {
        height: 220px;
        order: -1;   /* image on top on mobile */
    }

    .promo-slide-text {
        padding: 2rem 1.75rem 4rem;
        min-height: 300px;
    }

    .promo-slide-text::after { display: none; }

    .promo-slide-text h1,
    .promo-slide-text h2 { font-size: 1.8rem; }

    .promo-dots { left: 1.75rem; }

    .promo-prev { right: calc(50% - 86px); }
    .promo-next { right: calc(50% - 42px); }
}

/* ─── Course Card Image Overlay ───────────────────────────── */
.course-card-img {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.course-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.course-card:hover .course-card-img img {
    transform: scale(1.04);
}

.course-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 15, 30, 0.1) 0%,
        rgba(8, 15, 30, 0.75) 100%
    );
    pointer-events: none;
}

.course-card-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1.5rem;
    z-index: 1;
    color: var(--white);
}

.course-card-img-overlay h3 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.course-card-img-overlay .course-duration {
    font-size: 0.78rem;
    opacity: 0.75;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Course detail hero image */
.course-detail-hero .hero-image img {
    border-radius: 14px;
    filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.6));
}

/* Course meta tags in detail hero */
.course-meta-tags {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}

.course-meta-tags span {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.2px;
}

.course-meta-tags strong {
    color: var(--secondary-color);   /* gold labels */
    font-weight: 600;
}

/* ─── Animations ──────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Content Manager Styles ──────────────────────────────── */
.admin-header {
    background: var(--dark-bg);
    color: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.content-sections {
    display: grid;
    gap: 2rem;
}

.admin-section {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid #E2EAF0;
    box-shadow: 0 2px 10px rgba(15, 30, 43, 0.06);
}

.admin-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: left;
    font-size: 1.5rem;
    font-weight: 700;
}

.course-list {
    display: grid;
    gap: 1rem;
}

.course-item {
    background: var(--light-bg);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #E2EAF0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edit-btn, .delete-btn, .add-btn {
    padding: 7px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    transition: background 0.25s;
}

.edit-btn {
    background: var(--primary-color);
    color: var(--white);
    margin-right: 0.5rem;
}

.delete-btn {
    background: #C0392B;
    color: var(--white);
}

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

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid #E2EAF0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s;
}

.close-btn:hover {
    color: var(--text-dark);
}

/* ─── Responsive Design ───────────────────────────────────── */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-with-image {
        text-align: center;
    }

    .hero-image img {
        max-width: 80%;
    }

    .circle-highlights {
        gap: 1.5rem;
    }

    .circle-icon {
        width: 85px;
        height: 85px;
    }

    .circle-icon svg {
        width: 28px;
        height: 28px;
    }

    .circle-item span {
        font-size: 0.68rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo {
        padding-left: 0.75rem;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--glass-border);
    }

    nav ul.active {
        display: flex;
    }

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

    .about-content,
    .contact-content,
    .course-detail-content {
        grid-template-columns: 1fr;
    }

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

    .course-sidebar {
        position: static;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
        letter-spacing: -0.8px;
    }

    .hero p {
        font-size: 0.95rem;
    }

    section h2 {
        font-size: 1.7rem;
    }
}

/* ─── Enroll Button ───────────────────────────────────────── */
.enroll-btn {
    flex: 1;
    background: var(--secondary-color);
    color: var(--white);
    padding: 13px 16px;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.enroll-btn:hover {
    background: #b8922e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--gold-glow);
}

/* ─── Enrollment modal loading spinner ────────────────────── */
#enrollLoadingView::before {
    content: '';
    display: block;
    width: 36px;
    height: 36px;
    border: 3px solid #E2EAF0;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spinLoader 0.8s linear infinite;
}

@keyframes spinLoader {
    to { transform: rotate(360deg); }
}
