/* ======================= GLOBAL STYLES & VARIABLES ======================= */
:root {
    --color-dark: #1E1E24;
    --color-accent: #FB9F89;
    --color-tan: #C4AF9A;
    --color-light: #F0F0F0;
    --color-text: #BDBDBD;

    --font-family: 'Inter', sans-serif;
    --transition-speed: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-dark);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

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

h1, h2, h3 {
    color: var(--color-light);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition-speed); }
a:hover { color: var(--color-light); }

img { max-width: 100%; display: block; }
section { padding: 80px 0; overflow-x: hidden;}

.section-title {
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

/* ======================= REUSABLE COMPONENTS ======================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-speed);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-dark);
}
.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-light);
    border-color: var(--color-tan);
}
.btn-secondary:hover {
    background-color: var(--color-tan);
    color: var(--color-dark);
    transform: translateY(-3px);
}

/* ======================= HEADER ======================= */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(30, 30, 36, 0.8);
    backdrop-filter: blur(10px);
    transition: background-color var(--transition-speed);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-light);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--color-light);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-speed);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-light);
    margin: 5px 0;
    transition: all var(--transition-speed);
}

/* ======================= 1. HERO SECTION ======================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/hero-bg.webp') no-repeat center center/cover;
    opacity: 0.2;
    z-index: -1;
}
.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent, var(--color-dark) 80%);
}

.hero-section .container {
    max-width: 800px;
}
.hero-title {
    font-weight: 900;
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-light);
    margin-bottom: 2rem;
}
.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ======================= 2. FEATURES SECTION ======================= */
/* ======================= 2. FEATURES SECTION (Redesigned) ======================= */
.features-section {
    background-color: #1A1A20;
}

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

@media (min-width: 992px) {
    .features-container {
        grid-template-columns: 1fr 1fr;
    }
}

.features-content .section-description {
    font-size: 1.1rem;
    color: var(--color-light);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    background: var(--color-dark);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #333;
    cursor: pointer;
    transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.feature-item-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.feature-item h3 {
    margin: 0;
    color: var(--color-light);
    transition: color var(--transition-speed);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--color-tan);
    transition: color var(--transition-speed), transform var(--transition-speed);
}

.feature-item-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-in-out, margin-top 0.4s ease-out;
}

.feature-item-body p {
    margin: 0;
    padding-left: calc(48px + 1.5rem); /* Align with title */
    color: var(--color-text);
}

/* --- Interactive Hover State --- */
.feature-item:hover {
    background-color: #25252D;
    border-left-color: var(--color-accent);
}

.feature-item:hover .feature-icon {
    color: var(--color-accent);
    transform: scale(1.1);
}

.feature-item:hover h3 {
    color: var(--color-accent);
}

.feature-item:hover .feature-item-body {
    max-height: 200px; /* Adjust if content is taller */
    opacity: 1;
    margin-top: 1rem;
}
/* ======================= 3. FEATURED COURSES SECTION ======================= */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.course-card {
    background-color: #25252D;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.course-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.course-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.course-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.course-category {
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.course-link {
    margin-top: auto;
    font-weight: 600;
}

/* ======================= 4. TESTIMONIALS SECTION ======================= */
.testimonials-section {
    position: relative;
    background: url('images/testi-bg.webp') no-repeat center center/cover;
    background-attachment: fixed;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 30, 36, 0.7);
}
.testimonials-section .container {
    position: relative;
    z-index: 2;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
}
.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--color-light);
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}
.author-name {
    display: block;
    font-weight: 700;
    color: var(--color-light);
}
.author-title {
    color: var(--color-tan);
}

/* ======================= 5. PROCESS SECTION ======================= */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.process-step {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.process-step:nth-child(even) {
    flex-direction: row-reverse;
}
.process-image-wrapper {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
}
.process-image-wrapper img {
    transition: transform 0.4s ease-out;
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.process-step:hover .process-image-wrapper img {
    transform: scale(1.05);
}
.process-content {
    flex: 1;
}
.process-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-tan);
    opacity: 0.3;
}

/* ======================= 6. TUTORS SPOTLIGHT SECTION ======================= */
.tutors-spotlight-section {
    background-color: #1A1A20;
}
.tutors-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 768px) {
    .tutors-container {
        grid-template-columns: 1fr 1.2fr;
    }
}
.tutor-image-wrapper img {
    border-radius: 12px;
    width: 100%;
    height: 400px;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}
.spotlight-tag {
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.tutor-specialization {
    color: var(--color-tan);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* ======================= 7. CTA SECTION ======================= */
.cta-section {
    background: linear-gradient(45deg, var(--color-accent), var(--color-tan));
}
.cta-container {
    text-align: center;
}
.cta-title {
    color: var(--color-dark);
    font-weight: 900;
}
.cta-subtitle {
    color: var(--color-dark);
    max-width: 600px;
    margin: 1rem auto 2rem;
}
.cta-btn {
    background: var(--color-dark);
    color: var(--color-light);
    border-color: var(--color-dark);
}
.cta-btn:hover {
    background: transparent;
    color: var(--color-dark);
}

/* ==========================================================================
   COURSES PAGE STYLES
   ========================================================================== */

/* ======================= 1. Courses Hero Section ======================= */
.page-hero-section {
    padding: 120px 0 80px;
    background: var(--color-dark);
}
.page-hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 992px) {
    .page-hero-container {
        grid-template-columns: 1.2fr 1fr;
    }
}
.page-hero-tagline {
    color: var(--color-tan);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}
.page-hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    margin-bottom: 1rem;
}
.page-hero-subtitle {
    font-size: 1.1rem;
    max-width: 550px;
}
.page-hero-image-wrapper img {
    border-radius: 12px;

    object-fit: cover;
    width: 100%;
    height: 400px;
}

/* ======================= 2. Course Categories Section ======================= */
.course-categories-section {
    background-color: #1A1A20;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.category-card {
    border: 1px solid #333;
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 10px;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}
.category-card:hover {
    background-color: var(--color-dark);
    transform: translateY(-8px);
}
.category-icon {
    width: 80px; /* You can adjust size here */
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--color-accent); /* Sets the color of the SVG strokes */
    transition: color var(--transition-speed);
}

.category-card:hover .category-icon {
    color: var(--color-light); /* Changes color on hover of the parent card */
}
.category-card h3 {
    margin-bottom: 0.5rem;
    color: var(--color-light);
}

/* ======================= 3. Featured Course Deep Dive Section ======================= */
.featured-course-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 992px) {
    .featured-course-container {
        grid-template-columns: 1fr 1.2fr;
    }
}
.featured-course-gallery {
    position: relative;
}
.featured-main-image {
    border-radius: 12px;
    width: 100%;
    height: 400px;
    object-fit: cover;
    aspect-ratio: 3 / 4;
}
.featured-thumb-image {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 50%;
    border-radius: 8px;
    border: 4px solid var(--color-dark);
}
.course-highlights {
    list-style: none;
    margin: 1.5rem 0;
}
.course-highlights li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}
.course-highlights span {
    color: var(--color-accent);
    margin-right: 0.75rem;
    font-weight: 700;
}

/* ======================= 4. Learning Platform Features Section ======================= */
/* ======================= 4. Learning Platform Features Section (Redesigned) ======================= */
.platform-features-section {
    background-color: #1A1A20;
    overflow: visible;
}

.platform-features-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column for mobile */
    gap: 3rem;
    margin-top: 4rem;
}

/* This is the main layout for desktop */
@media (min-width: 992px) {
    .platform-features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.platform-image-panel {
    position: relative;
    /* On mobile, it's just a regular block */
}

/* The magic happens on desktop screens */
@media (min-width: 992px) {
    .platform-image-panel {
        position: sticky; /* The panel sticks to the viewport */
        top: 100px; /* Offset for the fixed header */
        height: calc(100vh - 200px); /* Adjust height to fit screen */
        min-height: 500px;
    }
}

.platform-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.platform-image-container img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.platform-image-container img.active {
    opacity: 1;
    transform: scale(1);
}

.platform-text-panel {
    position: relative;
    z-index: 10;
}

.feature-description-block {
    padding: 2rem;
    margin-bottom: 2rem; /* Default for mobile */
    background-color: rgba(30, 30, 36, 0.5);
    border: 1px solid #333;
    border-radius: 12px;
}

/* For mobile, we pair an image before each text block */
@media (max-width: 991.98px) {
    .platform-image-panel {
        display: none; /* Hide the sticky panel on mobile */
    }
    .feature-description-block::before {
        content: '';
        display: block;
        width: 100%;
        aspect-ratio: 16 / 10;
        border-radius: 8px;
        margin-bottom: 1.5rem;
        background-size: cover;
        background-position: center;
    }
    /* Manually assign background images for mobile */
    .feature-description-block[data-feature="feedback"]::before {
        background-image: url('images/platform-1.webp');
    }
    .feature-description-block[data-feature="assignments"]::before {
        background-image: url('images/platform-2.webp');
    }
    .feature-description-block[data-feature="community"]::before {
        background-image: url('images/platform-3.webp');
    }
}

/* On desktop, we want more vertical space to make scrolling feel good */
@media (min-width: 992px) {
    .feature-description-block {
        min-height: 60vh; /* This ensures each block takes up space */
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: transparent; /* No background on desktop */
        border: none;
        padding-left: 0;
        padding-right: 0;
    }
}

.feature-description-block h3 {
    color: var(--color-tan);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.feature-description-block p {
    font-size: 1.1rem;
    max-width: 50ch;
}

/* ======================= 5. Course Bundles Section ======================= */
/* ======================= 5. Course Bundles Section (Redesigned) ======================= */
.course-bundles-section {
    background-color: #1A1A20;
}

.bundles-container {
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first: single column */
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 992px) {
    .bundles-container {
        grid-template-columns: 1.1fr 1fr; /* Two columns on desktop */
        gap: 3rem;
    }
}

.bundles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bundle-accordion-item {
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    background: #25252D;
    transition: background-color var(--transition-speed);
}

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

.bundle-header h3 {
    margin: 0;
    color: var(--color-light);
}

.bundle-toggle-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.4s ease;
}
.bundle-toggle-icon::before,
.bundle-toggle-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background-color: var(--color-tan);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}
.bundle-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.bundle-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.4s ease-out, margin-top 0.5s ease-out;
}
.bundle-body p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.included-courses {
    list-style: none;
    margin-bottom: 1.5rem;
}
.included-courses li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}
.included-courses span {
    color: var(--color-accent);
    margin-right: 0.75rem;
}

.bundle-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- Active State --- */
.bundle-accordion-item.active {
    background: var(--color-dark);
}
.bundle-accordion-item.active .bundle-toggle-icon {
    transform: rotate(135deg);
}
.bundle-accordion-item.active .bundle-body {
    max-height: 500px; /* Adjust if content is taller */
    opacity: 1;
    margin-top: 1.5rem;
}

/* --- Visuals Panel --- */
.bundles-visuals {
    display: none; /* Hide on mobile by default */
}

@media (min-width: 992px) {
    .bundles-visuals {
        display: block; /* Show on desktop */
        position: sticky;
        top: 100px;
        height: calc(100vh - 200px);
        min-height: 500px;
    }
}

.bundles-visuals-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--color-dark);
}
.bundles-visuals-inner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.bundles-visuals-inner img.active {
    opacity: 1;
    transform: scale(1);
}

/* For mobile, show a simplified image inside the expanded accordion */
@media (max-width: 991.98px) {
    .bundle-body::before {
        content: '';
        display: block;
        width: 100%;
        aspect-ratio: 16 / 10;
        border-radius: 8px;
        margin-bottom: 1.5rem;
        background-size: cover;
        background-position: center;
    }
    .bundle-accordion-item[data-bundle="filmmaker"] .bundle-body::before {
        background-image: url('images/bundle-1.webp');
    }
    .bundle-accordion-item[data-bundle="photographer"] .bundle-body::before {
        background-image: url('images/bundle-2.webp');
    }
     .bundle-accordion-item[data-bundle="motion"] .bundle-body::before {
        background-image: url('images/bundle-3.webp');
    }
}
/* ======================= 6. Free Workshop Section ======================= */
.free-workshop-section {
    background-color: var(--color-tan);
    color: var(--color-dark);
}
.workshop-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 3rem;
}
@media (min-width: 992px) {
    .workshop-container {
        grid-template-columns: 1.2fr 1fr;
    }
}
.workshop-content .section-title {
    color: var(--color-dark);
}
.workshop-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}
.workshop-form input {
    flex-grow: 1;
    padding: 14px 20px;
    border-radius: 50px;
    border: 2px solid rgba(30, 30, 36, 0.3);
    background: transparent;
    font-family: var(--font-family);
    font-size: 1rem;
}
.workshop-form input::placeholder {
    color: #333;
}
.workshop-image img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* ======================= 7. FAQ Section ======================= */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #333;
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-light);
    cursor: pointer;
    text-align: left;
}
.faq-icon {
    font-size: 1.8rem;
    color: var(--color-tan);
    transition: transform var(--transition-speed);
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--color-text);
}

/* ==========================================================================
   TUTORS PAGE STYLES
   ========================================================================== */

/* ======================= 1. Tutors Hero Section ======================= */
.tutors-hero-section {
    position: relative;
    height: 85vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
.tutors-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    z-index: -2;
    filter: grayscale(100%);
    opacity: 0.15;
}
.tutors-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tutors-hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 0%, var(--color-dark) 90%);
    z-index: -1;
}
.tutors-hero-content {
    max-width: 800px;
}

/* ======================= 2. Meet the Team Grid Section ======================= */
/* ==========================================================================
   SLICK TUTOR SLIDER STYLES
   ========================================================================== */

.team-slider-section {
    background-color: #1A1A20;
    padding-bottom: 120px; /* Add padding to make space for the overflowing slider */
}

.tutor-slider-container {
    position: relative;
    width: 100%;
    margin-top: 4rem;
    cursor: grab;
}
.tutor-slider-container.is-grabbing {
    cursor: grabbing;
}

.tutor-slider-track {
    display: flex;
    align-items: center; /* Vertically align slides */
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.tutor-slide {
    flex: 0 0 70%; /* Each slide takes up 70% of the container width */
    max-width: 400px; /* But doesn't get larger than 400px */
    padding: 0 1rem; /* Creates space between slides */
    box-sizing: content-box;
    transform: scale(0.85);
    opacity: 0.5;
    filter: blur(4px);
    transition: transform 0.5s ease, opacity 0.5s ease, filter 0.5s ease;
    user-select: none; /* Prevent text selection while dragging */
}

.tutor-slide.is-active {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
}

/* Make images and info inside the slide un-draggable */
.tutor-slide img,
.tutor-slide .tutor-info {
    pointer-events: none;
}

.tutor-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}

.tutor-info {
    padding: 1.5rem 0.5rem;
    text-align: center;
}

.tutor-name {
    color: var(--color-light);
    margin-bottom: 0.25rem;
}

.tutor-specialty {
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.tutor-bio {
    font-size: 0.9rem;
}

/* --- Slider Navigation --- */
.slider-nav {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    max-width: 700px;
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* Let clicks pass through to the slider container */
}

.slider-arrow {
    background-color: rgba(30, 30, 36, 0.7);
    border: 1px solid #444;
    color: var(--color-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: grid;
    place-content: center;
    pointer-events: all; /* Make the buttons clickable again */
    transition: all var(--transition-speed);
}

.slider-arrow:hover {
    background-color: var(--color-dark);
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tutor-slide {
        flex-basis: 80%;
        padding: 0 0.5rem;
    }
    .slider-nav {
        display: none; /* Hide arrows on mobile, rely on swipe */
    }
}

/* ======================= 3. Teaching Philosophy Section ======================= */
/* ======================= 3. Teaching Philosophy Section (Redesigned) ======================= */
.philosophy-section {
    background-color: #1A1A20;
    padding: 120px 0; /* Add more vertical space for the overlapping design */
}

.philosophy-layout {
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first: single column stack */
    align-items: center;
    gap: 2rem;
}

@media (min-width: 992px) {
    .philosophy-layout {
        /* A 12-column grid for precise overlapping control */
        grid-template-columns: repeat(12, 1fr);
    }
}

/* --- Image Panel --- */
.philosophy-image-panel {
    position: relative;
    border-radius: 12px;
}

.image-gradient-border {
    position: absolute;
    inset: -3px; /* Creates the border thickness */
    background: linear-gradient(45deg, var(--color-tan), var(--color-accent));
    border-radius: 14px; /* Slightly larger than the image's radius */
    z-index: 1;
    opacity: 0.5;
}

.philosophy-image-panel img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* --- Content Panel --- */
.philosophy-content-panel {
    padding: 2.5rem;
    position: relative;
    z-index: 10; /* Ensure text is on top */
}

.philosophy-content-panel p {
    max-width: 55ch; /* Control line length for readability */
}

/* --- Desktop Layout: The Overlap --- */
@media (min-width: 992px) {
    .philosophy-image-panel {
        /* Span from the 6th column to the end */
        grid-column: 6 / 13;
        grid-row: 1 / 2; /* Both items are in the same grid row */
    }
    .philosophy-content-panel {
        /* Span from the 1st column to the 8th, creating the overlap */
        grid-column: 1 / 8;
        grid-row: 1 / 2;
    }
}

/* --- Pillars List --- */
.philosophy-pillars {
    list-style: none;
    margin-top: 2rem;
    padding: 0;
}

.philosophy-pillars li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.philosophy-pillars li:last-child {
    margin-bottom: 0;
}

.pillar-icon {
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-top: 0.2rem;
}

.philosophy-pillars h4 {
    margin: 0 0 0.25rem 0;
    color: var(--color-light);
}

.philosophy-pillars p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ======================= 4. Areas of Expertise Section ======================= */
.expertise-section {
    background-color: #1A1A20;
}
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.expertise-card {
    background-image: linear-gradient(rgba(30, 30, 36, 0.6), rgba(30, 30, 36, 0.6)), url('images/expertise-bg.webp');
    background-size: cover;
    background-position: center;
    padding: 3rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 150px;
    transition: all var(--transition-speed);
}
.expertise-card:hover {
    transform: scale(1.05);
    background-image: linear-gradient(rgba(251, 159, 137, 0.2), rgba(251, 159, 137, 0.2));
}
.expertise-card h3 {
    color: var(--color-light);
    font-size: 1.3rem;
}

/* ======================= 5. Tutor Spotlight Section ======================= */
.tutor-spotlight-parallax {
    padding: 100px 0;
    background-image: url('images/tutor-parallax-bg.webp');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    color: var(--color-light);
}
.tutor-spotlight-parallax::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(30, 30, 36, 0.75);
}
.tutor-spotlight-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}
.spotlight-quote {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 2rem;
}
.spotlight-author {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}
.spotlight-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-tan);
}

/* ======================= 6. Mentorship Process Section ======================= */
.process-steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
}
/* Optional connecting line for desktop */
@media (min-width: 992px) {
    .process-steps-container::before {
        content: '';
        position: absolute;
        top: 35px;
        left: 5%;
        width: 90%;
        height: 2px;
        background: linear-gradient(to right, var(--color-tan), var(--color-accent));
        opacity: 0.2;
        z-index: -1;
    }
}
.process-step-card {
    background-color: #25252D;
    padding: 2rem;
    border-radius: 10px;
    position: relative;
}
.step-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-dark);
    -webkit-text-stroke: 1px var(--color-tan);
    opacity: 0.5;
}
.process-step-card h3 {
    margin-bottom: 1rem;
}

/* ======================= 7. Join Our Team CTA Section ======================= */
.join-team-cta-section {
    background-color: #1A1A20;
    padding: 60px 0;
}
.join-team-container {
    text-align: center;
    max-width: 700px;
    border-top: 2px solid var(--color-tan);
    padding-top: 60px;
}
.join-team-container h2 {
    margin-bottom: 1rem;
}
.join-team-container p {
    margin-bottom: 2rem;
}

/* ==========================================================================
   PORTFOLIO PAGE STYLES
   ========================================================================== */

/* ======================= 1. Portfolio Hero Section ======================= */
.portfolio-hero-section {
    padding: 120px 0;
    text-align: center;
    background-image: linear-gradient(rgba(30, 30, 36, 0.8), var(--color-dark)), url('images/portfolio-bg.webp');
    background-size: cover;
    background-position: center;
}
.portfolio-hero-section .container {
    max-width: 800px;
}

/* ======================= 2. Filterable Gallery Section ======================= */
.gallery-section {
    background-color: #1A1A20;
}
.filter-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.filter-btn {
    background: none;
    border: 1px solid #444;
    color: var(--color-text);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-speed);
}
.filter-btn:hover {
    background-color: var(--color-tan);
    border-color: var(--color-tan);
    color: var(--color-dark);
}
.filter-btn.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-dark);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 30, 36, 0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
.portfolio-item:hover .item-overlay {
    opacity: 1;
    transform: translateY(0);
}
.portfolio-item:hover img {
    transform: scale(1.05);
}
.item-overlay h3 {
    color: var(--color-light);
    margin: 0;
}
.item-overlay p {
    color: var(--color-accent);
    margin: 0;
}

/* ======================= 3. Project Case Study Section ======================= */
.case-study-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 992px) {
    .case-study-container {
        grid-template-columns: 1fr 1fr;
    }
}
.case-study-visuals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.case-study-visuals figure {
    margin: 0;
}
.case-study-visuals img {
    border-radius: 8px;
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.case-study-visuals figcaption {
    text-align: center;
    margin-top: 0.5rem;
    color: var(--color-tan);
    font-weight: 600;
}

/* ======================= 4. Student Spotlights Section ======================= */
/* ======================= 4. Student Spotlights Section (Redesigned) ======================= */
.student-spotlights-section {
    background-image: url('images/student-bg.webp');
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    padding-bottom: 120px; /* More space at the bottom */
}
.student-spotlights-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 30, 36, 0.75);
}
/* The container is only for the header in this design */
.student-spotlights-section .section-header {
    position: relative;
    z-index: 5;
}

/* --- Asymmetric Layout Grid --- */
.spotlights-layout {
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first stack */
    gap: 2rem;
    position: relative;
    z-index: 2;
    margin-top: 3rem;
    padding: 0 20px; /* Basic padding for mobile */
}

/* The desktop grid for the asymmetric layout */
@media (min-width: 992px) {
    .spotlights-layout {
        grid-template-columns: repeat(10, 1fr);
        grid-template-rows: auto auto;
        padding: 0; /* Remove padding, we'll use the grid */
    }
}

/* --- Main Spotlight --- */
.spotlight-main-image {
    border-radius: 12px;
    overflow: hidden;
}
.spotlight-main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.spotlight-main-content {
    padding: 2.5rem;
}
.spotlight-main-content h3 { color: var(--color-light); }
.spotlight-main-content span {
    color: var(--color-accent);
    display: block;
    margin: 0.25rem 0 1rem;
    font-weight: 600;
}
.spotlight-main-content p {
    font-size: 1.1rem;
    font-style: italic;
    max-width: 45ch;
}

/* --- Secondary Spotlight --- */
.spotlight-secondary-card {
    background: var(--color-dark);
    border: 1px solid #444;
    border-radius: 12px;
    padding: 2rem;
    transition: all var(--transition-speed);
}
.spotlight-secondary-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-tan);
}

.secondary-card-content {
    display: flex;
    flex-direction: column; /* Mobile stack */
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .secondary-card-content {
        flex-direction: row; /* Desktop side-by-side */
        text-align: left;
    }
}
.secondary-card-content img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid var(--color-tan);
}
.secondary-card-content h3 { margin: 0 0 0.25rem; color: var(--color-light); }
.secondary-card-content span { color: var(--color-accent); font-size: 0.9rem; }
.secondary-card-content p { margin-top: 0.5rem; font-size: 0.9rem; }

/* --- CTA Button --- */
.spotlights-cta {
    display: flex;
    justify-content: center;
}

/* --- Desktop Grid Placement --- */
@media (min-width: 992px) {
    .spotlight-main-image {
        grid-column: 1 / 6; /* Bleeds to the left edge */
        grid-row: 1 / 3;
    }
    .spotlight-main-content {
        grid-column: 4 / 9; /* Overlaps the image */
        grid-row: 1 / 2;
        align-self: end; /* Aligns to the bottom of its grid area */
        margin-bottom: 2rem;
    }
    .spotlight-secondary-card {
        grid-column: 7 / 11; /* Sits to the right */
        grid-row: 2 / 3;
        align-self: start; /* Aligns to the top */
    }
    .spotlights-cta {
        grid-column: 1 / 11;
        grid-row: 3 / 4;
        margin-top: 2rem;
    }
}

/* ======================= 5. By the Numbers Section ======================= */
.stats-section {
    background-color: #1A1A20;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
}
.stat-label {
    font-size: 1.1rem;
    color: var(--color-tan);
    font-weight: 600;
}

/* ======================= 6. Visual Process Section ======================= */
.process-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}
.flow-step {
    text-align: center;
    padding: 1rem;
}
.flow-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1rem;
}
.flow-step h4 {
    color: var(--color-light);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   RESOURCES PAGE STYLES
   ========================================================================== */


/* ======================= 2. Featured Guide Section (Redesigned) ======================= */
.guide-feature-section {
    background-color: #1A1A20;
    padding: 120px 0;
    position: relative;
    overflow: hidden; /* Important for containing the parallax image */
}

.guide-feature-layout {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: Simple stack */
    gap: 2rem;
    position: relative;
}

/* --- The Image Panel (Background Element) --- */
.guide-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.guide-image-wrapper img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}
/* Subtle overlay for better text contrast where overlap occurs */
.guide-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(30, 30, 36, 0.4) 0%, transparent 100%);
}


/* --- The Content Panel (Foreground Element) --- */
.guide-content-wrapper {
    padding: clamp(1.5rem, 5vw, 3rem); /* Responsive padding */
    z-index: 10;
    position: relative; /* Stacking context */
}

.guide-content-wrapper .section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.guide-content-wrapper p {
    font-size: 1.1rem;
    max-width: 50ch;
    margin-bottom: 2rem;
}

/* --- Desktop Layout: The Magic --- */
@media (min-width: 992px) {
    .guide-feature-layout {
        display: block; /* Disable grid on desktop to use absolute positioning */
        min-height: 550px; /* Ensure section has height */
    }

    .guide-image-wrapper {
        position: absolute;
        top: 0;
        right: 0;
        width: 60%;
        height: 120%; /* Make it taller to allow for parallax movement */
        transform: translateY(-10%);
        will-change: transform; /* Performance optimization for parallax */
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    }

    .guide-content-wrapper {
        position: absolute;
        top: 20%;
        left: 0;
        transform: translateY(-50%);
        width: 55%;
        max-width: 600px;
    }
}

   
/* ======================= 2. Featured Guide Section ======================= */
.featured-guide-section {
    background-color: #1A1A20;
}
.featured-guide-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 992px) {
    .featured-guide-container {
        grid-template-columns: 0.8fr 1.2fr;
    }
}
.featured-guide-image img {
    border-radius: 12px;
    object-fit: cover;
    height: 400px;
    width: 100%;
}
.featured-guide-content p {
    max-width: 65ch;
}

/* ======================= 3. Free Assets Section ======================= */
/* ======================= 3. Free Assets Section (Redesigned) ======================= */
.asset-showcase-section {
    background-color: var(--color-dark);
    overflow: hidden; /* Crucial for clipping the rotated container */
    padding-top: 80px;
    padding-bottom: 120px;
}

/* This container is rotated */
.asset-diagonal-container {
    padding: 4rem 0;
    background-color: #1A1A20;
    /* The magic: rotate the container */
    transform: rotate(-3deg) scale(1.1);
}

.asset-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* The card itself is counter-rotated to be straight */
.asset-preview-card {
    position: relative;
    display: block;
    flex: 0 0 340px; /* Give cards a fixed base width */
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    /* The magic: counter-rotate the card to be upright */
    transform: rotate(3deg);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.asset-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.asset-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(30, 30, 36, 0.2) 0%, rgba(30, 30, 36, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.asset-overlay h3 {
    color: var(--color-light);
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.download-icon {
    margin-top: 1rem;
    width: 44px;
    height: 44px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: grid;
    place-content: center;
    color: var(--color-accent);
    transform: translateY(10px);
    transition: transform 0.4s ease, background-color 0.4s ease;
}

/* --- Hover Effects --- */
.asset-preview-card:hover {
    transform: rotate(3deg) scale(1.08) translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.asset-preview-card:hover .asset-bg-image {
    transform: scale(1.1);
}

.asset-preview-card:hover .asset-overlay {
    opacity: 1;
}

.asset-preview-card:hover .asset-overlay h3,
.asset-preview-card:hover .download-icon {
    transform: translateY(0);
}

.asset-preview-card:hover .download-icon {
    background-color: var(--color-accent);
    color: var(--color-dark);
}

/* --- Responsive Fallback for Mobile --- */
@media (max-width: 992px) {
    .asset-showcase-section {
        padding-bottom: 80px;
    }
    
    /* Straighten everything out on mobile */
    .asset-diagonal-container {
        transform: none;
        padding: 0;
        background: none;
    }
    
    .asset-list {
        flex-direction: column;
        align-items: center;
    }
    
    .asset-preview-card {
        transform: none; /* Remove counter-rotation */
        width: 100%;
        max-width: 400px; /* Limit width on mobile */
    }

    /* On mobile, the overlay is always visible for clarity */
    .asset-overlay {
        opacity: 1;
        background: linear-gradient(180deg, rgba(30, 30, 36, 0) 0%, rgba(30, 30, 36, 0.8) 100%);
        justify-content: flex-end; /* Align content to the bottom */
        padding-bottom: 1.5rem;
    }
    .asset-overlay h3,
    .asset-overlay .download-icon {
        transform: none;
    }
    .download-icon {
        display: none; /* Hide the icon on mobile to simplify */
    }
    .asset-overlay h3 {
        font-size: 1.2rem;
    }
}

/* ======================= 4. Recommended Tools Section ======================= */
.tools-section {
    background-color: #1A1A20;
}
.tools-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 768px) {
    .tools-container {
        grid-template-columns: 1fr 1fr;
    }
}
.tool-category h3 {
    color: var(--color-tan);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #333;
}
.tool-category ul {
    list-style: none;
    padding-left: 0;
}
.tool-category li {
    margin-bottom: 1.5rem;
}
.tool-category li strong {
    color: var(--color-light);
}

/* ======================= 5. Latest Articles Section ======================= */
/* ======================= 5. Latest Articles Section (Redesigned) ======================= */
.latest-articles-section {
    background-color: var(--color-dark);
}

.blog-interactive-layout {
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first: single column */
    gap: 2rem;
    margin-top: 3rem;
}

/* --- The Article List (Styled as Cards on Mobile) --- */
.blog-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-nav-item {
    display: block;
    background: #1A1A20;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #333;
    transition: all var(--transition-speed);
}
.blog-item-image {
    width: 100%;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
}
.blog-item-content {
    padding: 1.5rem;
}
.blog-item-content .article-meta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-tan);
    margin-bottom: 0.5rem;
}
.blog-item-content h3 {
    margin: 0;
    color: var(--color-light);
}

/* Hide the preview pane on mobile */
.blog-preview-pane {
    display: none;
}


/* --- Desktop Interactive Layout --- */
@media (min-width: 992px) {
    .blog-interactive-layout {
        grid-template-columns: 1fr 1fr; /* Two columns */
        gap: 3rem;
        min-height: 500px;
    }

    /* Re-style the nav list for desktop */
    .blog-nav-item {
        background: none;
        border: none;
        border-left: 3px solid transparent;
        border-radius: 0;
        padding: 1.5rem;
    }
    .blog-nav-item:hover {
        background-color: #1A1A20;
    }
    .blog-nav-item.active {
        background-color: #1A1A20;
        border-left-color: var(--color-accent);
    }
    
    /* Hide the small image inside the nav list on desktop */
    .blog-item-image {
        display: none;
    }
    
    .blog-item-content {
        padding: 0;
    }

    /* --- Style the Preview Pane for Desktop --- */
    .blog-preview-pane {
        display: block;
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        background-color: var(--color-dark);
    }
    .blog-preview-card {
        position: absolute;
        inset: 0;
        opacity: 0;
        transform: scale(0.98);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .blog-preview-card.active {
        opacity: 1;
        transform: scale(1);
    }
    .preview-bg-image {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        transition: transform 0.5s ease;
    }
    .blog-preview-card.active .preview-bg-image {
        transform: scale(1.05); /* subtle zoom on active */
    }
    .preview-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 2rem;
        background: linear-gradient(transparent, rgba(30, 30, 36, 0.9) 50%);
        color: var(--color-light);
    }
    .preview-content p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    .preview-read-more {
        font-weight: 600;
        color: var(--color-accent);
    }
}
/* ======================= 6. Video Tutorial Spotlight ======================= */
.video-tutorial-section {
    background-color: #1A1A20;
}
.video-tutorial-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 992px) {
    .video-tutorial-container {
        grid-template-columns: 1fr 1.5fr;
    }
}
.video-player-mockup {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}
.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(251, 159, 137, 0.9);
    border-radius: 50%;
    display: grid;
    place-content: center;
    font-size: 2rem;
    color: var(--color-dark);
    transition: all var(--transition-speed);
}
.video-player-mockup:hover .play-button-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--color-accent);
}

/* ======================= 7. Newsletter CTA Section ======================= */
.newsletter-cta-section {
    background-color: var(--color-dark);
    padding: 60px 0;
}
.newsletter-cta-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    background-color: var(--color-tan);
    color: var(--color-dark);
    padding: 3rem;
    border-radius: 12px;
}
@media (min-width: 768px) {
    .newsletter-cta-container {
        flex-direction: row;
    }
}
.newsletter-content h3 {
    color: var(--color-dark);
    margin: 0;
}
.newsletter-content p {
    margin: 0;
}
.newsletter-form {
    display: flex;
    border-radius: 50px;
    background: rgba(30, 30, 36, 0.1);
    overflow: hidden;
}
.newsletter-form input {
    border: none;
    background: transparent;
    padding: 12px 20px;
    font-family: var(--font-family);
    color: var(--color-dark);
    min-width: 250px;
}
.newsletter-form input::placeholder {
    color: rgba(30, 30, 36, 0.7);
}
.newsletter-form button {
    background: var(--color-accent);
    color: var(--color-dark);
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}
.newsletter-form button:hover {
    background: #e68a73;
}

/* ==========================================================================
   PRICING PAGE STYLES
   ========================================================================== */

/* ======================= 1. Pricing Hero Section ======================= */
.pricing-hero-section {
    padding: 100px 0;
    text-align: center;
    background-color: #1A1A20;
}
.pricing-hero-section .container {
    max-width: 750px;
}

/* ======================= 2. Pricing Tiers Section ======================= */
.pricing-tiers-section {
    background-color: var(--color-dark);
}
.pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    color: var(--color-light);
    font-weight: 600;
}
.pricing-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.pricing-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.pricing-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 34px;
}
.pricing-toggle .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--color-tan);
    transition: .4s;
    border-radius: 50%;
}
.pricing-toggle input:checked + .slider {
    background-color: var(--color-accent);
}
.pricing-toggle input:checked + .slider:before {
    transform: translateX(26px);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}
.pricing-card {
    background-color: #1A1A20;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    border: 2px solid #333;
    transition: all var(--transition-speed);
    height: 100%;
}
.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--color-accent);
    position: relative;
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
}
.card-header {
    text-align: center;
    border-bottom: 1px solid #333;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}
.card-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-light);
    margin: 1rem 0;
}
.price-period {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 400;
}
.card-description {
    font-size: 0.9rem;
    min-height: 40px;
}
.card-features {
    list-style: none;
    margin-bottom: 2rem;
}
.card-features li {
    margin-bottom: 0.75rem;
}
.card-features li[disabled] {
    opacity: 0.5;
    text-decoration: line-through;
}
.card-cta {
    width: 100%;
}

/* ======================= 3. All Plans Include Section ======================= */
.all-plans-include-section {
    background-color: #1A1A20;
}
.features-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.feature-item {
    text-align: center;
}
/* Updated styling for SVG feature icons */
.feature-item-icon {
    width: 64px; /* A slightly smaller size often looks better for icons */
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--color-tan); /* Sets the color of the SVG strokes */
}
.feature-item h4 {
    color: var(--color-light);
    margin-bottom: 0.5rem;
}

/* ======================= 4. One-Time Purchases Section ======================= */
.one-time-purchase-section {
    background-color: var(--color-dark);
}
.bundle-card-alt {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background-color: #25252D;
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
}
@media (min-width: 768px) {
    .bundle-card-alt {
        grid-template-columns: 300px 1fr;
    }
}
.bundle-card-alt img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.bundle-content-alt {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}
.bundle-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.bundle-price-alt {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
}

/* ======================= 5. Value Proposition Section ======================= */
.value-prop-section {
    background-color: #1A1A20;
}
.value-prop-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 992px) {
    .value-prop-container {
        grid-template-columns: 1fr 1fr;
    }
}
.value-prop-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.value-prop-images img {
    border-radius: 8px;
    width: 100%;
}
.value-prop-images img:first-child {
    grid-column: 1 / -1;
    height: 400px;
    object-fit: cover;
}

/* ======================= 6. FAQ Section (uses existing styles) ======================= */
.faq-section {
    background-color: var(--color-dark);
}

/* ======================= 7. Guarantee Section ======================= */
/* ======================= 7. Guarantee Section (Redesigned) ======================= */
.guarantee-seal-section {
    background: var(--color-dark);
    padding-bottom: 180px; /* Crucial: Creates space for the bottom half of the seal */
    position: relative;
    z-index: 10;
}

.guarantee-seal {
    position: relative;
    width: clamp(300px, 90vw, 500px); /* Responsive width */
    aspect-ratio: 1 / 1; /* Ensures it's always a perfect circle */
    margin: 0 auto;
    
    background: #1A1A20;
    border-radius: 50%;
    border: 4px solid var(--color-tan);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: clamp(1.5rem, 8vw, 4rem);
}

.guarantee-icon {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.guarantee-title {
    color: var(--color-light);
    font-size: clamp(1.5rem, 5vw, 2rem);
    line-height: 1.2;
}

.guarantee-text {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    max-width: 35ch; /* Controls line length for readability inside the circle */
    margin-top: 1rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.guarantee-cta {
    /* Uses existing .btn-primary styles */
}

/* This positions the section's container so the seal can overlap the footer.
   It assumes the footer is the next element in the HTML. */
.pricing-page main { /* Add a class to your main tag if needed, e.g., <main class="pricing-page"> */
    position: relative;
    z-index: 1; /* Ensure the footer goes behind the seal */
}

/* On desktop, we can make the overlap more dramatic */
@media (min-width: 768px) {
    .guarantee-seal-section {
        padding-bottom: 250px; /* More space for a larger seal */
    }
}

/* Animate the seal itself for a more dynamic entry */
.guarantee-seal.is-visible {
    animation: dropIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes dropIn {
    from {
        transform: translateY(-40px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* ==========================================================================
   IMPACT PAGE STYLES
   ========================================================================== */

/* ======================= 1. Impact Hero Section ======================= */
.impact-hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
.impact-hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}
.impact-hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.impact-hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 30, 36, 0.7);
    z-index: -1;
}
.impact-hero-content {
    max-width: 800px;
}

/* ======================= 2. Career Transformation Section ======================= */
.career-transform-section {
    background-color: #1A1A20;
}
.career-transform-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 992px) {
    .career-transform-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.stat-item-alt {
    margin-bottom: 2rem;
}
.stat-number-alt {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1.1;
}
.stat-label-alt {
    color: var(--color-tan);
    font-weight: 600;
}
.career-transform-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.career-transform-images img {
    border-radius: 12px;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}
.career-transform-images img:first-child {
    margin-top: -2rem;
}
.career-transform-images img:last-child {
    margin-top: 2rem;
}

/* ======================= 3. Global Community Section ======================= */
/* ======================= 3. Global Community Section (Redesigned) ======================= */
.community-globe-section {
    background-color: var(--color-dark);
    padding: 100px 0;
    overflow: hidden;
}

.community-globe {
    position: relative;
    width: clamp(320px, 90vw, 700px); /* Responsive globe size */
    aspect-ratio: 1 / 1; /* Always a perfect circle */
    margin: 0 auto;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Content in the Center --- */
.globe-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}
.globe-content .section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
}
.globe-content p {
    max-width: 35ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

/* --- Animated Rings --- */
.globe-rings {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.globe-rings svg {
    width: 100%;
    height: 100%;
}
.globe-rings circle {
    fill: none;
    stroke: #2a2a33;
    stroke-width: 1;
    stroke-dasharray: 4 8; /* Creates the dashed line effect */
}
.globe-rings circle:nth-child(1) { animation: rotate-clockwise 40s linear infinite; }
.globe-rings circle:nth-child(2) { animation: rotate-counter-clockwise 30s linear infinite; }
.globe-rings circle:nth-child(3) { animation: rotate-clockwise 50s linear infinite; }

/* --- Orbiting Avatars --- */
.globe-avatars {
    position: absolute;
    inset: 0;
    z-index: 5;
}
.avatar-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(var(--orbit-radius) * 2);
    height: calc(var(--orbit-radius) * 2);
    transform: translate(-50%, -50%);
    animation: rotate-clockwise var(--orbit-duration) linear infinite;
    animation-delay: var(--orbit-delay, 0s);
}
.avatar-orbit img {
    position: absolute;
    top: -25px; /* Half the image size to sit on the line */
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-tan);
    background-color: var(--color-dark);
    /* Counter-rotate the image so it stays upright */
    animation: rotate-counter-clockwise var(--orbit-duration) linear infinite;
    animation-delay: var(--orbit-delay, 0s);
}
@media (min-width: 768px) {
    .avatar-orbit img {
        width: 60px;
        height: 60px;
        top: -30px;
    }
}

/* --- Keyframe Animations --- */
@keyframes rotate-clockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-counter-clockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* ======================= 4. Social Initiative Section ======================= */
/* ======================= 4. Social Initiative Section (Redesigned) ======================= */
.social-initiative-section {
    background-color: #1A1A20;
    padding: 120px 0;
}

.initiative-layout {
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first stack */
    gap: 2rem;
    position: relative;
}

/* --- Background Image --- */
.initiative-background-image {
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
}
.initiative-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Content Panel --- */
.initiative-content-panel {
    padding: clamp(1.5rem, 5vw, 2.5rem);
    position: relative;
    z-index: 10;
}
.initiative-content-panel .section-title {
    margin-bottom: 2rem;
}

/* --- Inset Image --- */
.initiative-inset-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    float: left; /* Classic technique for text wrapping */
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.initiative-inset-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* --- Desktop Asymmetric & Overlapping Layout --- */
@media (min-width: 992px) {
    .initiative-layout {
        /* Use a 12-column grid for precise control */
        grid-template-columns: repeat(12, 1fr);
        align-items: center;
    }

    .initiative-background-image {
        /* Span from column 1 to 8, bleeding left */
        grid-column: 1 / 9;
        grid-row: 1 / 2;
        height: 550px; /* Taller on desktop */
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    }

    .initiative-content-panel {
        /* Span from column 7 to 13 (edge), overlapping */
        grid-column: 7 / 13;
        grid-row: 1 / 2;
        /* Remove the mobile margin */
        margin-top: 0; 
    }
}
/* ======================= 5. Industry Partnerships Section ======================= */
.partnerships-section {
    background-color: var(--color-dark);
}
.logo-wall {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 3rem;
}
.logo-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    opacity: 0.6;
    transition: all var(--transition-speed);
}
.logo-item:hover {
    opacity: 1;
    color: var(--color-light);
    transform: scale(1.1);
}

/* ======================= 6. The Ripple Effect Section ======================= */
.ripple-effect-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}
.ripple-effect-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.ripple-effect-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    filter: blur(5px);
}
.ripple-effect-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent, var(--color-dark) 80%);
    z-index: -1;
}
.ripple-effect-story {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
}
.ripple-student-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--color-accent);
    margin: 0 auto 1.5rem;
}
.ripple-effect-story h3 {
    margin-bottom: 1rem;
}

/* ======================= 7. Join the Movement CTA ======================= */
.join-movement-section {
    background: linear-gradient(45deg, var(--color-accent), var(--color-tan));
}
.join-movement-container {
    text-align: center;
}
.join-movement-container .cta-title {
    color: var(--color-dark);
}
.join-movement-container .cta-subtitle {
    color: var(--color-dark);
    max-width: 600px;
    margin: 1rem auto 2rem;
}
.join-movement-container .cta-btn {
    background: var(--color-dark);
    color: var(--color-light);
    border-color: var(--color-dark);
}
.join-movement-container .cta-btn:hover {
    background: transparent;
    color: var(--color-dark);
}

/* ======================= FOOTER ======================= */
.site-footer {
    background-color: #1A1A20;
    padding: 60px 0;
    font-size: 0.9rem;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.footer-about p {
    margin-top: 1rem;
}
.footer-links h3, .footer-social h3 {
    color: var(--color-tan);
    margin-bottom: 1rem;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.5rem;
}
.footer-links a {
    color: var(--color-text);
}
.footer-links a:hover {
    color: var(--color-accent);
}
.social-icons {
    display: flex;
    gap: 1rem;
}
.social-icons a {
    width: 40px;
    height: 40px;
    display: grid;
    place-content: center;
    border: 1px solid var(--color-tan);
    border-radius: 50%;
}
.social-icons svg {
    width: 20px;
    height: 20px;
    fill: var(--color-tan);
    transition: fill var(--transition-speed);
}
.social-icons a:hover svg {
    fill: var(--color-accent);
}
.social-icons a:hover {
    border-color: var(--color-accent);
}


/* ======================= ANIMATIONS ======================= */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0s);
}
.fade-in.is-visible {
    opacity: 1;
}
.slide-up {
    transform: translateY(40px);
}
.slide-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================= RESPONSIVE DESIGN ======================= */
@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--color-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-speed);
        display: flex;
    }
    .main-nav.is-active {
        right: 0;
    }
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .main-nav a { font-size: 1.5rem; }
    .header-cta { display: none; }
    .mobile-menu-toggle { display: block; }

    .mobile-menu-toggle.is-active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.is-active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .process-step,
    .process-step:nth-child(even) {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

/* ==========================================================================
   LEGAL PAGES STYLES (Privacy Policy, Terms, etc.)
   ========================================================================== */

.legal-hero {
    padding: 100px 0 60px;
    text-align: center;
    background-color: #1A1A20;
}
.legal-page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0.5rem;
}
.legal-page-subtitle {
    font-size: 1.2rem;
    color: var(--color-tan);
}

.legal-content {
    padding: 80px 0;
    background-color: var(--color-dark);
}
.legal-content-container {
    max-width: 800px;
}
.last-updated {
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 2rem;
}
.legal-content article {
    margin-bottom: 3rem;
}
.legal-content h2 {
    color: var(--color-light);
    margin-bottom: 1rem;
}
.legal-content p, .legal-content li {
    line-height: 1.8;
    color: var(--color-text);
}
.legal-content ul {
    list-style-position: inside;
    padding-left: 1rem;
}
.legal-content li {
    margin-bottom: 0.75rem;
}
.legal-content strong {
    color: var(--color-light);
}

/* ==========================================================================
   UTILITY & THANK YOU PAGE STYLES
   ========================================================================== */

.utility-page-body {
    display: grid;
    place-items: center;
    min-height: 100vh;
    background-color: var(--color-dark);
}

.confirmation-main {
    padding: 20px;
}

.confirmation-box {
    background-color: #1A1A20;
    padding: clamp(2rem, 8vw, 4rem);
    border-radius: 12px;
    text-align: center;
    max-width: 550px;
    width: 100%;
    border: 1px solid #333;
    animation: fadeInUp 0.8s 0.2s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

.confirmation-box h1 {
    color: var(--color-light);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.confirmation-box p {
    color: var(--color-text);
    max-width: 45ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* --- Animated Checkmark --- */
.checkmark-container {
    height: 100px;
    width: 100px;
    margin: 0 auto;
}

.checkmark-svg {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: var(--color-tan);
    fill: none;
    animation: draw-circle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 4;
    stroke: var(--color-accent);
    fill: none;
    animation: draw-check 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}


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

@keyframes draw-circle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes draw-check {
    to {
        stroke-dashoffset: 0;
    }
}