/* CSS Variables & Theme */
:root {
    /* Colors */
    --bg-dark: #0f172a;
    /* Deep Slate Blue/Black */
    --bg-darker: #020617;
    /* Almost Black */
    --bg-card: #1e293b;
    /* Lighter Slate for cards */
    --bg-card-hover: #334155;

    --text-primary: #f8fafc;
    /* Off-White */
    --text-secondary: #94a3b8;
    /* Muted Blue-Grey */
    --text-accent: #38bdf8;
    /* Light Blue highlight */

    --primary: #3b82f6;
    /* Blue - Trust/Professional */
    --primary-hover: #2563eb;
    --secondary: #f59e0b;
    /* Amber - Warmth/Energy */
    --youtube-red: #ff0000;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.highlight {
    color: var(--secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-secondary);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-youtube-red {
    background-color: var(--youtube-red);
    color: white;
    padding: 10px 24px;
}

.btn-youtube-red:hover {
    background-color: #cc0000;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:not(.btn):hover,
.nav-links a.active {
    color: var(--text-primary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--bg-darker);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--text-accent);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 400px;
    height: 500px;
    background-color: var(--bg-card);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--bg-dark);
    border: 2px dashed var(--text-secondary);
    position: relative;
}

/* Section Common */
.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.text-center {
    text-align: center;
}

/* About Section */
.about {
    background-color: var(--bg-dark);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.image-placeholder-rect {
    width: 100%;
    height: 400px;
    background-color: var(--bg-card);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-secondary);
}

.about-text {
    flex: 1;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.features-list li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li i {
    color: var(--secondary);
}

/* Courses Section */
.courses {
    background-color: var(--bg-darker);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-card-hover);
    border-color: rgba(59, 130, 246, 0.3);
}

.highlight-card {
    border-color: var(--secondary);
    position: relative;
}

.highlight-card::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--secondary);
    color: var(--bg-darker);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.course-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.course-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.course-features li {
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-features li::before {
    content: '•';
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 0;
}

.btn-text {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary);
    font-weight: 600;
    transition: gap 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-text:hover {
    gap: 12px;
    color: var(--text-accent);
}

/* YouTube Section */
.youtube-section {
    background-color: var(--bg-dark);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 15px;
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    position: relative;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 3rem;
}

/* Navbar Logo Image */
.nav-logo {
    height: 40px;
    width: auto;
    display: block;
}

/* Hero Image - Sir */
.image-wrapper-sir {
    position: relative;
    z-index: 2;
}

.sir-photo {
    max-height: 550px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* About Image */
.image-wrapper-about {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-photo {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper-about:hover .about-photo {
    transform: scale(1.02);
}

/* YouTube Section Enhancements */
.section-desc-sm {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.channel-banner-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.channel-banner {
    width: 100%;
    height: auto;
    display: block;
}

.video-categories-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.v-tag {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
    cursor: default;
}

.v-tag:hover {
    background-color: var(--bg-card-hover);
    color: var(--primary);
    border-color: var(--primary);
}

/* YouTube Content Hub Styles - Phase 7 Refactor */

/* Filter Buttons */
.video-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

/* Video Categories Tabs */
.video-category {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.video-category.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Card Links */
.video-card-link {
    display: block;
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.video-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.video-card-link h4 {
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card-link:hover .thumbnail-wrapper img {
    transform: scale(1.05);
}

/* Play Overlay */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.video-card-link:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    background: #ff0000;
    border-color: #ff0000;
}

.play-overlay i {
    color: #fff;
    font-size: 1.5rem;
    margin-left: 2px;
    /* Visual centering adjustment */
}

/* Layout Specifics */
.featured-first {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

@media (min-width: 992px) {
    .featured-first {
        grid-template-columns: 1.6fr 1fr 1fr;
    }

    .video-card-link.featured h4 {
        font-size: 1.2rem;
        color: var(--highlight);
    }
}

.single-feature-centered {
    display: flex;
    justify-content: center;
}

.large-feature {
    max-width: 700px;
    width: 100%;
}

/* General overrides for video cards in this section */
.video-card h4 {
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 500;
}

/* Results Section */
.results {
    background-color: var(--bg-darker);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.result-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    position: relative;
}

.score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.student-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.testimonial {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    background-color: var(--bg-dark);
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 5px;
}

.contact-item h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-secondary);
}

.map-container {
    flex: 1;
    min-width: 300px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    background-color: var(--bg-darker);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary);
    color: white;
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

/* Resources Section */
.resources {
    background-color: var(--bg-dark);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.resource-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.resource-icon {
    font-size: 2.5rem;
    color: var(--text-accent);
    margin-bottom: 20px;
}

.resource-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.resource-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Methodology Section (Timeline) */
.methodology {
    background-color: var(--bg-darker);
}

.methodology-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Core Method Grid */
.core-method-wrapper {
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
}

.core-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.core-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: var(--bg-card);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.core-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.core-item i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.pathway-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.highlight-pathway {
    border: 1px solid var(--secondary);
    position: relative;
    background: linear-gradient(to bottom, rgba(245, 158, 11, 0.05), var(--bg-card));
}

.pathway-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pathway-header i {
    font-size: 1.8rem;
    color: var(--primary);
}

.highlight-pathway .pathway-header i {
    color: var(--secondary);
}

.pathway-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

/* Timeline Styling */
.timeline {
    list-style: none;
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.1);
}

.timeline li {
    position: relative;
    margin-bottom: 30px;
    padding-left: 20px;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--bg-darker);
    border: 2px solid var(--primary);
}

.highlight-pathway .timeline li::before {
    border-color: var(--secondary);
}

.timeline .time {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline p {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.timeline p strong {
    color: var(--text-accent);
    display: block;
    margin-bottom: 3px;
}

/* Learning Modes Section */
.modes {
    background-color: var(--bg-dark);
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mode-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.mode-card:hover {
    transform: translateY(-5px);
}

.highlight-mode {
    border-color: var(--primary);
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.05), var(--bg-card));
}

.mode-icon {
    font-size: 2.5rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.highlight-mode .mode-icon {
    color: var(--primary);
}

.mode-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.mode-desc {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mode-features {
    text-align: left;
    margin-top: 20px;
}

.mode-features li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.mode-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

/* Community Section */
.community {
    background-color: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.community-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.community-text {
    flex: 1;
}

.community-features {
    margin-top: 40px;
}

.c-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.c-feature i {
    font-size: 1.8rem;
    color: var(--secondary);
    background-color: rgba(245, 158, 11, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.c-feature h5 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.c-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.community-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.quote-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 400px;
}

.quote-card i {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
    margin-bottom: 20px;
}

.quote-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.quote-card span {
    display: block;
    text-align: right;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Add JS toggle later */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-darker);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 80px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .about-container {
        flex-direction: column;
    }

    .community-wrapper {
        flex-direction: column;
    }
}

/* =========================================
   Phase 8: Conversion & Trust Enhancements
   ========================================= */

/* 1. Sticky Mini Navbar */
.sticky-nav {
    position: fixed;
    top: -80px;
    /* Hidden by default */
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1001;
    padding: 10px 0;
    transition: top 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sticky-nav.visible {
    top: 0;
}

.sticky-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-sm {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-sm span {
    color: var(--secondary);
}

.sticky-links {
    display: none;
    /* Hidden on mobile */
}

.sticky-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.sticky-links a:hover {
    color: var(--secondary);
}

@media (min-width: 768px) {
    .sticky-links {
        display: block;
    }
}

/* 2. Teaching Difference Section */
.teaching-difference {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.diff-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.diff-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.diff-icon {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.diff-card h5 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.diff-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 3. FAQ Section */
.faq {
    background-color: var(--bg-dark);
    padding: 60px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    margin: 0;
}

.faq-question i {
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* 4. YouTube Explore Link */
.youtube-explore-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.youtube-explore-link:hover {
    color: var(--text-primary);
}

.youtube-explore-link i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s;
}

.youtube-explore-link:hover i {
    transform: translateX(5px);
}