:root {
    --primary: #6366f1;
    --secondary: #ec4899;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f1f5f9;
    --text: #1e293b;
    --text-light: #64748b;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: #cbd5e1;
    /* Set a default text color */
    background: linear-gradient(to bottom, #020617, #0f172a);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated background */
.space-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #020617, #0f172a, #1e293b);
    z-index: -1;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Header */
header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.logo-img {
    max-height: 80px;
    /* Adjusted for larger logo */
    height: auto;
    vertical-align: middle;
}

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

nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s;
}

nav a:hover::after,
nav a.current::after {
    width: 100%;
}

nav a:hover,
nav a.current {
    color: white;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    width: 25px;
    height: 2px;
    background: white;
    display: block;
    position: relative;
    transition: 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    width: 25px;
    height: 2px;
    background: white;
    position: absolute;
    transition: 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: rgba(15, 23, 42, 0.5);
}

.features h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Footer */
footer {
    background: rgba(2, 6, 23, 0.8);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    padding: 2rem;
    text-align: center;
    color: #64748b;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: #cbd5e1;
    font-size: 1.8rem;
    transition: color 0.3s ease-in-out;
}

.social-links a:hover {
    color: var(--secondary);
}

/* Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        transition: 0.3s;
        padding: 5rem 2rem;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

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

.blog-content p,
.article-full p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 2rem;
    text-align: center;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cbd5e1;
}

/* News Section */
.news {
    padding: 6rem 2rem;
    background: rgba(15, 23, 42, 0.5);
}

.news h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.news-source {
    font-weight: 600;
    color: var(--secondary);
}

.news-card h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.news-card h3 a:hover {
    color: var(--primary);
}

.news-card p {
    color: #94a3b8;
    line-height: 1.6;
}

.loading-message,
.no-news-message,
.error-message {
    text-align: center;
    font-size: 1.2rem;
    color: #cbd5e1;
    grid-column: 1 / -1;
    /* Span across all columns in the grid */
    padding: 2rem 0;
}

.error-message {
    color: #ef4444;
    /* Red color for errors */
}

/* Today's Moon Phase */
.astronomy-calendar {
    padding: 4rem 2rem;
    background: rgba(15, 23, 42, 0.5);
}

.astronomy-calendar h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.today-moon-phase {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.moon-phase-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.moon-phase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.moon-phase-image-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.moon-phase-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.moon-phase-info {
    text-align: center;
    color: white;
}

.moon-phase-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

.moon-illumination {
    font-size: 1.2rem;
    color: #cbd5e1;
    font-weight: 500;
}

/* Responsive adjustments for moon phase */
@media (max-width: 768px) {
    .astronomy-calendar {
        padding: 3rem 1rem;
    }

    .astronomy-calendar h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .moon-phase-card {
        padding: 1.5rem;
        gap: 1.2rem;
    }

    .moon-phase-image-container {
        width: 250px;
        height: 250px;
    }

    .moon-phase-info h3 {
        font-size: 1.3rem;
    }

    .moon-illumination {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .astronomy-calendar {
        padding: 2rem 0.5rem;
    }

    .astronomy-calendar h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .moon-phase-card {
        padding: 1rem;
        gap: 1rem;
    }

    .moon-phase-image-container {
        width: 200px;
        height: 200px;
    }

    .moon-phase-info h3 {
        font-size: 1.1rem;
    }

    .moon-illumination {
        font-size: 1rem;
    }
}


/* Blog Page Styles */
.blog-hero {
    padding: 6rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.15), transparent 50%);
    pointer-events: none;
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.blog-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.blog-hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.blog-content-section {
    padding: 4rem 2rem;
}

.featured-article {
    max-width: 900px;
    margin: 0 auto 4rem;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.featured-article:hover {
    border-color: var(--primary);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(99, 102, 241, 0.2);
    transform: translateY(-5px);
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.featured-badge i {
    font-size: 0.85rem;
}

.featured-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.featured-content .blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

.meta-item i {
    color: var(--primary);
    font-size: 0.85rem;
}

.article-full h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-full h3:first-of-type {
    margin-top: 0;
}

.highlight-box {
    display: flex;
    gap: 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.highlight-box:hover {
    background: rgba(99, 102, 241, 0.15);
    transform: translateX(5px);
}

.highlight-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.highlight-content {
    flex: 1;
}

.highlight-content strong {
    display: block;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.highlight-content p {
    color: #cbd5e1;
    margin: 0;
    line-height: 1.6;
}

.more-articles-header {
    text-align: center;
    margin-bottom: 3rem;
}

.more-articles-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.more-articles-header p {
    color: #94a3b8;
    font-size: 1.1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
}

.blog-card .blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.blog-card .blog-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-image::before {
    opacity: 1;
}

.blog-card .blog-image i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image i {
    transform: scale(1.2) rotate(5deg);
}

.blog-card .blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.blog-card .blog-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.blog-card .blog-tag i {
    font-size: 0.7rem;
}

.blog-card .blog-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #94a3b8;
    font-size: 0.8rem;
}

.blog-card .blog-date i {
    font-size: 0.7rem;
    color: #64748b;
}

.blog-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.4;
    flex: 1;
}

.blog-card p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.blog-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.blog-card .read-more i {
    transition: transform 0.3s ease;
}

.blog-card .read-more:hover {
    color: var(--secondary);
    gap: 0.75rem;
}

.blog-card .read-more:hover i {
    transform: translateX(5px);
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-hero {
        padding: 4rem 1.5rem 3rem;
    }

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

    .blog-subtitle {
        font-size: 1rem;
    }

    .blog-icon {
        font-size: 3rem;
    }

    .blog-content-section {
        padding: 3rem 1rem;
    }

    .featured-article {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }

    .featured-content h2 {
        font-size: 1.8rem;
    }

    .featured-content .blog-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .article-full h3 {
        font-size: 1.5rem;
    }

    .more-articles-header h2 {
        font-size: 2rem;
    }

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

@media (max-width: 480px) {
    .blog-hero {
        padding: 3rem 1rem 2rem;
    }

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

    .featured-article {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .featured-content h2 {
        font-size: 1.5rem;
    }

    .highlight-box {
        flex-direction: column;
        gap: 1rem;
    }

    .blog-card .blog-image {
        height: 150px;
        font-size: 3rem;
    }
}

/* About Page Styles */
.about-hero {
    padding: 6rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.15), transparent 50%);
    pointer-events: none;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.about-hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.about-content-section {
    padding: 4rem 2rem;
}

.about-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(99, 102, 241, 0.1);
}

.about-text {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.about-quote {
    margin-top: 2.5rem;
    padding: 2rem;
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    position: relative;
    text-align: center;
}

.about-quote i.fa-quote-left {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
}

.about-quote i.fa-quote-right {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
}

.about-quote p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary);
    font-weight: 500;
    margin: 0;
    padding: 0 2rem;
}

/* Coming Soon Page Styles */
.coming-soon-hero {
    padding: 6rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    position: relative;
    overflow: hidden;
}

.coming-soon-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.15), transparent 50%);
    pointer-events: none;
}

.coming-soon-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.coming-soon-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.coming-soon-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.coming-soon-section {
    padding: 4rem 2rem;
}

.coming-soon-card {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(99, 102, 241, 0.1);
    text-align: center;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
    }
}

.coming-soon-badge i {
    font-size: 0.9rem;
}

.coming-soon-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.coming-soon-card p {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.coming-soon-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    min-width: 150px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-item span {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Responsive Design for About and Coming Soon */
@media (max-width: 768px) {

    .about-hero,
    .coming-soon-hero {
        padding: 4rem 1.5rem 3rem;
    }

    .about-hero-content h1,
    .coming-soon-content h1 {
        font-size: 2.5rem;
    }

    .about-subtitle,
    .coming-soon-subtitle {
        font-size: 1rem;
    }

    .about-icon,
    .coming-soon-icon {
        font-size: 3rem;
    }

    .about-content-section,
    .coming-soon-section {
        padding: 3rem 1rem;
    }

    .about-card,
    .coming-soon-card {
        padding: 2rem 1.5rem;
    }

    .about-quote p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .coming-soon-card h2 {
        font-size: 1.8rem;
    }

    .coming-soon-features {
        gap: 1rem;
    }

    .feature-item {
        min-width: 120px;
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {

    .about-hero,
    .coming-soon-hero {
        padding: 3rem 1rem 2rem;
    }

    .about-hero-content h1,
    .coming-soon-content h1 {
        font-size: 2rem;
    }

    .about-card,
    .coming-soon-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .about-quote {
        padding: 1.5rem 1rem;
    }

    .about-quote i.fa-quote-left,
    .about-quote i.fa-quote-right {
        display: none;
    }

    .coming-soon-card h2 {
        font-size: 1.5rem;
    }

    .coming-soon-features {
        flex-direction: column;
        align-items: stretch;
    }

    .feature-item {
        min-width: auto;
    }
}

/* ===================================
   WordPress Blog – News Card Styling
=================================== */

/* Blog grid (reuse news layout) */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Individual post card */
.wp-post-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wp-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* Post title */
.wp-post-card h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.wp-post-card h2 a {
    color: #ffffff;
    text-decoration: none;
}

.wp-post-card h2 a:hover {
    text-decoration: underline;
}

/* Post meta (optional future use) */
.wp-post-meta {
    font-size: 13px;
    color: #9aa3c7;
    margin-bottom: 10px;
}

/* Excerpt */
.wp-post-card p {
    font-size: 15px;
    color: #d4d7e2;
    line-height: 1.6;
}

/* Single post content */
.single-post-content {
    max-width: 850px;
    margin: 0 auto;
}

.single-post-content h1 {
    margin-bottom: 25px;
}

.single-post-content p {
    margin-bottom: 18px;
}

/* Read more link */
.read-more {
    display: inline-block;
    margin-top: 15px;
    font-size: 14px;
    color: #4da3ff;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* ===================================
   Blog Enhancements
=================================== */

/* Featured image */
.wp-post-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Categories */
.post-categories {
    margin-bottom: 25px;
}

.post-categories a {
    display: inline-block;
    background: rgba(77, 163, 255, 0.15);
    color: #4da3ff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 8px;
    text-decoration: none;
}

.post-categories a:hover {
    background: rgba(77, 163, 255, 0.25);
}

/* Pagination */
.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: #cfd8ff;
    text-decoration: none;
    font-size: 14px;
}

.pagination .current {
    background: #4da3ff;
    color: #050814;
}


.outreach {
    padding: 80px 0;
    background: #0b0f1a;
    text-align: center;
}

.outreach h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #ccc;
    margin-bottom: 50px;
}

.outreach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.outreach-card {
    background: #111827;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.outreach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.outreach-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.outreach-content {
    padding: 20px;
}

.outreach-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}


.program-card {
    background: #111827;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.program-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.program-content {
    padding: 20px;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.program-tag {
    display: inline-block;
    margin-top: 12px;
    padding: 5px 12px;
    font-size: 0.8rem;
    border-radius: 20px;
    background: #2563eb;
    color: #fff;
}

.program-tag.upcoming {
    background: #eab308;
    color: #000;
}

.programs-section {
    padding: 70px 0;
    text-align: center;
}

.about-card {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #111827;
    padding: 40px;
    border-radius: 12px;
    flex-wrap: wrap;
}

.about-image {
    flex: 1 1 400px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .about-card {
        flex-direction: column;
    }
}

/* ═══════════════════════════════════════════
           EDUCATION PORTAL — Scoped styles only
           All base styles inherited from css/style.css
        ═══════════════════════════════════════════ */

.edu-portal {
    display: flex;
    min-height: 70vh;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* ── Sidebar ── */
.edu-sidebar {
    width: 270px;
    min-width: 270px;
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0 2rem;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
}

.edu-sidebar::-webkit-scrollbar {
    width: 4px;
}

.edu-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.edu-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.sidebar-heading {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    padding: 0 1.25rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 0.75rem;
}

.course-level-label {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.9rem 1.25rem 0.3rem;
    color: rgba(255, 255, 255, 0.4);
}

.course-nav-btn {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    padding: 0.6rem 1.25rem;
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.course-nav-btn:hover {
    background: rgba(255, 255, 255, 0.04);
}

.course-nav-btn.active {
    background: rgba(255, 255, 255, 0.07);
    border-left-color: #4a9eed;
}

.cnb-icon {
    font-size: 1.2rem;
    line-height: 1.4;
    flex-shrink: 0;
}

.cnb-text {
    flex: 1;
}

.cnb-title {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.35;
}

.course-nav-btn.active .cnb-title {
    color: #4a9eed;
}

.cnb-meta {
    display: block;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.1rem;
}

.level-badge {
    display: inline-block;
    font-size: 0.58rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: 0.25rem;
}

.badge-beginner {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
}

.badge-intermediate {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.badge-advanced {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
}

/* ── Content pane ── */
.edu-content {
    flex: 1;
    padding: 2rem 2.25rem;
    min-width: 0;
    overflow-y: auto;
}

/* ── Course panel ── */
.course-panel {
    display: none;
}

.course-panel.active {
    display: block;
    animation: eduFadeIn 0.28s ease;
}

@keyframes eduFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-panel-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 1.75rem;
}

.cph-icon {
    font-size: 2.2rem;
    line-height: 1;
    flex-shrink: 0;
}

.cph-body h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.3rem;
}

.cph-body p {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 0.75rem;
    line-height: 1.6;
}

.cph-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
}

.cph-stat {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.cph-stat strong {
    color: #4a9eed;
}

/* ── Section tabs ── */
.edu-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.edu-tab-btn {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.6rem 1.15rem 0.75rem;
    font-family: 'Roboto', sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    margin-bottom: -1px;
    transition: color 0.18s, border-color 0.18s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.edu-tab-btn:hover {
    color: rgba(255, 255, 255, 0.75);
}

.edu-tab-btn.active {
    color: #4a9eed;
    border-bottom-color: #4a9eed;
}

.edu-tab-section {
    display: none;
}

.edu-tab-section.active {
    display: block;
    animation: eduFadeIn 0.2s ease;
}

/* ── Section heading ── */
.edu-section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.edu-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
}

/* ── Lessons ── */
.lesson-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lesson-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s;
}

.lesson-item:hover {
    border-color: rgba(74, 158, 237, 0.35);
}

.lesson-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 1rem;
    cursor: pointer;
    user-select: none;
}

.lesson-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(74, 158, 237, 0.12);
    border: 1px solid rgba(74, 158, 237, 0.25);
    color: #4a9eed;
    font-size: 0.7rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.lesson-info {
    flex: 1;
}

.lesson-title {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

.lesson-duration {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.1rem;
}

.lesson-chevron {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.25);
    transition: transform 0.22s;
    flex-shrink: 0;
}

.lesson-item.open .lesson-chevron {
    transform: rotate(180deg);
}

.lesson-body {
    display: none;
    padding: 0 1rem 1rem;
}

.lesson-item.open .lesson-body {
    display: block;
}

.video-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 7px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.video-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── PDFs ── */
.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.85rem;
}

.pdf-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: border-color 0.2s, transform 0.18s;
}

.pdf-card:hover {
    border-color: rgba(74, 158, 237, 0.35);
    transform: translateY(-2px);
}

.pdf-card-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.pdf-card-name {
    font-size: 0.82rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.pdf-card-meta {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.3);
}

.pdf-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.8rem;
    border-radius: 5px;
    background: rgba(74, 158, 237, 0.1);
    border: 1px solid rgba(74, 158, 237, 0.22);
    color: #4a9eed;
    font-size: 0.73rem;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s;
    width: fit-content;
}

.pdf-dl-btn:hover {
    background: rgba(74, 158, 237, 0.2);
}

/* ── FAQ ── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.faq-q-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.18s;
}

.faq-q-btn:hover {
    color: #4a9eed;
}

.faq-arrow {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
    transition: transform 0.22s;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
    padding: 0 1.1rem;
}

.faq-item.open .faq-answer {
    max-height: 350px;
    padding: 0 1.1rem 1rem;
}

.faq-answer a {
    color: #4a9eed;
}

/* ── Quiz ── */
.quiz-start-box {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(74, 158, 237, 0.05);
    border: 1px solid rgba(74, 158, 237, 0.15);
    border-radius: 10px;
}

.quiz-start-box h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.4rem;
}

.quiz-start-box p {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 1.25rem;
}

.quiz-progress-bar-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.quiz-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.quiz-bar-fill {
    height: 100%;
    background: #4a9eed;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.quiz-bar-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

.question-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    padding: 1.35rem;
    margin-bottom: 0.85rem;
}

.question-text {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.1rem;
    line-height: 1.6;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-btn {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.9rem;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Roboto', sans-serif;
    font-size: 0.82rem;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.18s, color 0.18s;
}

.option-btn:hover:not(:disabled) {
    border-color: rgba(74, 158, 237, 0.45);
    color: rgba(255, 255, 255, 0.9);
}

.option-btn.correct {
    border-color: #34d399;
    background: rgba(52, 211, 153, 0.07);
    color: #34d399;
}

.option-btn.wrong {
    border-color: #f87171;
    background: rgba(248, 113, 113, 0.07);
    color: #f87171;
}

.opt-letter {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.68rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.quiz-nav-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.75rem;
}

.quiz-result-box {
    display: none;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.quiz-result-box.active {
    display: block;
    animation: eduFadeIn 0.25s ease;
}

.result-score-big {
    font-size: 3rem;
    font-weight: 700;
    color: #4a9eed;
    line-height: 1;
    margin: 0.75rem 0 0.4rem;
}

.result-msg {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.25rem;
}

/* ── Coming soon ── */
.course-coming-soon {
    text-align: center;
    padding: 3.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.course-coming-soon .cs-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.course-coming-soon h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.4rem;
}

.course-coming-soon p {
    font-size: 0.82rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .edu-portal {
        flex-direction: column;
    }

    .edu-sidebar {
        width: 100%;
        min-width: unset;
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        padding: 1rem 0;
    }

    .edu-content {
        padding: 1.25rem 1rem;
    }

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

/* ============================================================
   ASTROPHILES EDUCATION PORTAL — All CSS Additions
   ============================================================ */

/* ── NAV — Login Button ─────────────────────────────────── */
nav ul {
    align-items: center;
}

.nav-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    white-space: nowrap;
}

.nav-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.4);
}

.nav-login-btn::after {
    display: none !important;
}

/* ── NAV — User Pill ────────────────────────────────────── */
.nav-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem 0.4rem 0.5rem;
    border-radius: 20px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #e2e8f0 !important;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    white-space: nowrap;
}

.nav-user-pill:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: #6366f1;
}

.nav-user-pill::after {
    display: none !important;
}

.nav-avatar {
    font-size: 1.1rem;
}

.nav-uname {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Portal login banner ────────────────────────────────── */
.portal-login-banner {
    background: rgba(99, 102, 241, 0.08);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.85rem 1.5rem;
}

.portal-login-banner--loggedin {
    background: rgba(16, 185, 129, 0.07);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.plb-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.plb-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.plb-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.plb-text strong {
    color: #e2e8f0;
    font-size: 0.9rem;
}

.plb-sub {
    color: #64748b;
    font-size: 0.8rem;
}

.plb-actions {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}

.plb-btn-login,
.plb-btn-signup {
    padding: 0.45rem 1rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.plb-btn-login {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff;
}

.plb-btn-login:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.plb-btn-signup {
    background: transparent;
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.4);
}

.plb-btn-signup:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #e2e8f0;
}

/* ── Course lock overlay ────────────────────────────────── */
.course-locked-overlay {
    position: relative;
    margin-top: 1rem;
}

.lock-overlay {
    background: rgba(7, 11, 26, 0.92);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 16px;
    padding: 3.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(8px);
}

.lock-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.lock-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.lock-sub {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.lock-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.lock-btn-primary {
    padding: 0.75rem 1.8rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.25s;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.lock-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.45);
}

.lock-btn-secondary {
    padding: 0.75rem 1.8rem;
    border-radius: 12px;
    background: transparent;
    color: #818cf8;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid rgba(99, 102, 241, 0.35);
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.lock-btn-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #e2e8f0;
}

/* ── Enroll button & enrolled badge ─────────────────────── */
.enroll-btn {
    padding: 0.55rem 1.4rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.25s;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    text-decoration: none;
}

.enroll-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.45);
}

.enroll-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.enrolled-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    font-size: 0.82rem;
    font-weight: 700;
}

/* ── Mobile fixes ───────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-login-btn,
    .nav-user-pill {
        margin-left: 0;
        margin-top: 0.5rem;
        width: fit-content;
    }
    .lock-overlay { padding: 2.5rem 1.2rem; }
    .lock-title   { font-size: 1.1rem; }
    .lock-actions { flex-direction: column; align-items: center; }
    .lock-btn-primary,
    .lock-btn-secondary { width: 100%; justify-content: center; }
    .plb-actions { width: 100%; }
    .plb-btn-login,
    .plb-btn-signup { flex: 1; text-align: center; justify-content: center; }
    .plb-sub { display: none; }
}

/* ============================================================
   END OF PORTAL CSS ADDITIONS
   ============================================================ */
   
/* ===== SIMPLE TESTIMONIAL ===== */

.tsm-carousel {
    position: relative;
    overflow: hidden;
}

.tsm-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    background: rgba(15, 23, 42, 0.8);
    border: none;
    color: white;
    font-size: 24px;

    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;

    transition: 0.3s;
}

.tsm-btn:hover {
    background: var(--primary);
}

.tsm-prev {
    left: 10px;
}

.tsm-next {
    right: 10px;
}

.tsm-track {
    display: flex;
    gap: 24px;
    padding: 2rem;
    transition: transform 0.4s ease;
}

.tsm-card {
    min-width: 480px;
    max-width: 600px;
    flex: 0 0 auto;

    background: rgba(30, 41, 59, 0.8);
    border-radius: 18px;
    padding: 2.2rem;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 320px;

    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(99, 102, 241, 0.15);
        
    position: relative;
}

.tsm-card:hover {
    transform: perspective(1000px) translateY(-8px) scale(1.02);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(99, 102, 241, 0.35);
        
    border-color: rgba(99, 102, 241, 0.5);
}

.tsm-quote {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #e2e8f0;
    text-align: justify;
    text-justify: inter-word;
    padding-left: 28px;
}

.tsm-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.tsm-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.tsm-author h4 {
    margin: 0;
    font-size: 1rem;
    color: white;
}

.tsm-author span {
    font-size: 0.85rem;
    color: #94a3b8;
}

.tsm-card::before {
    content: "❝";
    position: absolute;

    top: 10px;
    left: 16px;

    font-size: 70px;

    color: rgba(99, 102, 241, 0.12);

    z-index: 0;
    pointer-events: none;
}

.tsm-card::after {
    content: "❞";
    position: absolute;

    bottom: 18px;
    right: 22px;

    font-size: 50px;
    color: rgba(99, 102, 241, 0.10);

    pointer-events: none;
}

@media (max-width: 768px) {

    .tsm-carousel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .tsm-track {
        gap: 16px;
        padding: 1rem;
    }

    .tsm-card {
        min-width: 90%;
        max-width: 90%;
        padding: 1.5rem;
        scroll-snap-align: center;
    }
    
    .tsm-btn {
        display: none;
    }
    
    .tsm-quote {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .tsm-header h2 {
        font-size: 1.8rem;
    }

    .tsm-header p {
        font-size: 0.9rem;
    }
    
    .tsm-author {
        gap: 8px;
    }

    .tsm-author img {
        width: 50px;
        height: 50px;
    }
    
    .tsm-carousel {
        scroll-behavior: smooth;
    }

}