﻿/* --- CSS Variables for Brand Colors --- */
:root {
    --primary-purple: #B51B9D; /* From logo bird */
    --primary-gold: #F7931E;   /* From logo text */
    --dark-charcoal: #333333;  /* From logo background */
    --light-grey: #f4f4f4;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
}

/* --- Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-charcoal);
    line-height: 1.6;
    background-color: var(--light-grey);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-purple);
    font-size: 2.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: #d67a14;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-purple);
}

/* --- Header & Nav --- */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

/* Added via JS when scrolling */
.main-header.scrolled {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.logo img {
    height: 85px;
    width: auto;
}
.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem; /* Slightly increased to balance the larger logo */
    line-height: 1.2;
    color: var(--dark-charcoal);
}
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-charcoal);
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-purple);
}

.lang-toggle {
    border: 1px solid var(--primary-purple);
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--primary-purple) !important;
}

.lang-toggle:hover {
    background-color: var(--primary-purple);
    color: var(--white) !important;
}

/* --- Hero Section --- */
.hero {
    background-color: var(--dark-charcoal); /* Dark background to make gold/purple pop */
    color: var(--white);
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.hero h2 {
    font-size: 2.2rem;
    color: var(--primary-gold);
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 35px auto;
}

/* --- World-Class Focus Areas Grid --- */
.programs-section {
    padding: 100px 0;
    background-color: var(--light-grey);
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.focus-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-end; /* Pushes content to the bottom */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Dark gradient overlay so text is readable */
.focus-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

.focus-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: var(--white);
    transform: translateY(60px); /* Hides the paragraph initially */
    transition: transform 0.4s ease;
}

.focus-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
    display: block;
}

.focus-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
    line-height: 1.3;
}

.focus-content p {
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-bottom: 20px;
    opacity: 0; /* Hidden initially */
    transition: opacity 0.4s ease;
}

.focus-link {
    display: inline-block;
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0; /* Hidden initially */
    transition: opacity 0.4s ease, color 0.3s ease;
}

.focus-link:hover {
    color: var(--white);
}

/* Hover Animations */
.focus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.focus-card:hover .focus-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(181, 27, 157, 0.6) 100%); /* Adds a purple tint on hover */
}

.focus-card:hover .focus-content {
    transform: translateY(0); /* Slides text up */
}

.focus-card:hover .focus-content p,
.focus-card:hover .focus-link {
    opacity: 1; /* Fades text in */
}

/* Responsive */
@media (max-width: 768px) {
    .focus-card {
        height: 350px;
    }
    
    /* On mobile, show text by default instead of requiring hover */
    .focus-content {
        transform: translateY(0);
    }
    
    .focus-content p,
    .focus-link {
        opacity: 1;
    }
    
    .focus-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 100%);
    }
}

/* --- World-Class Footer Styles --- */
.main-footer {
    background-color: var(--dark-charcoal);
    color: var(--light-grey);
    padding: 70px 0 0 0;
    font-family: var(--font-body);
}

.footer-grid {
    display: grid;
    /* This creates a 4-column layout where the middle columns are slightly smaller */
    grid-template-columns: 1.2fr 0.8fr 1.2fr 1.2fr; 
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

/* Beautiful underline accent for footer headings */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-purple);
}

/* --- Column 1: About --- */
.footer-logo-wrapper {
    background-color: var(--white);
    display: inline-block;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 60px;
    width: auto;
    display: block;
}

.about-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ccc;
}

.footer-socials a {
    display: inline-block;
    width: 38px;
    height: 38px;
    background-color: rgba(255,255,255,0.05);
    color: var(--white);
    text-align: center;
    line-height: 38px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-socials a:hover {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: translateY(-3px);
}

/* --- Column 2: Links --- */
.links-col ul {
    list-style: none;
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.links-col ul li a i {
    color: var(--primary-purple);
    margin-right: 8px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.links-col ul li a:hover {
    color: var(--primary-gold);
}

.links-col ul li a:hover i {
    transform: translateX(4px);
    color: var(--primary-gold);
}

/* --- Column 3: Contact --- */
.contact-col ul {
    list-style: none;
    margin-bottom: 20px;
}

.contact-col ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
}

.contact-col ul li i {
    color: var(--primary-gold);
    margin-right: 15px;
    margin-top: 5px;
    font-size: 1.1rem;
}

.footer-reg-details {
    background-color: rgba(0,0,0,0.2);
    padding: 15px;
    border-left: 3px solid var(--primary-purple);
    border-radius: 4px;
}

.footer-reg-details p {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 5px;
}

.footer-reg-details p:last-child {
    margin-bottom: 0;
}

/* --- Column 4: Map --- */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.05);
}

/* --- Bottom Copyright Bar --- */
.footer-bottom {
    background-color: #1a1a1a; /* Darker than the main footer */
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
    letter-spacing: 0.5px;
}

/* --- Footer Responsiveness --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        height: 50px;
    }
}

/* --- Responsive Design (Mobile) --- */
/* --- Logo Sideways Text --- */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    color: var(--dark-charcoal);
}

.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-purple);
    cursor: pointer;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    /* Top Bar Adjustments */
    .top-bar-flex {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .top-social {
        margin-left: 0;
    }

    /* Header Adjustments */
    .header-wrapper {
        flex-wrap: wrap; /* Allows menu to drop below logo */
    }

    .mobile-menu-toggle {
        display: block; /* Show hamburger icon */
        order: 2; /* Place next to actions */
    }

    .header-actions {
        order: 1; /* Keep actions visible next to logo */
        margin-left: auto;
        margin-right: 15px;
    }

    /* Mobile Navigation Styling */
    .main-nav {
        display: none; /* Hidden by default */
        width: 100%;
        order: 3; /* Force to bottom row */
        margin-top: 15px;
    }

    .main-nav.active {
        display: block; /* Shown when toggled via JS */
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        background-color: var(--light-grey);
        border-radius: 5px;
        overflow: hidden;
    }

    .main-nav ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #ddd;
    }

    .main-nav ul li a:hover {
        background-color: var(--primary-purple);
        color: var(--white);
    }
}

@media (max-width: 768px) {
    /* Hide Language text on very small screens to save space */
    .lang-toggle {
        font-size: 0.8rem;
        padding: 4px 6px;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }

   

    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
}
/* --- Page Headers (For internal pages) --- */
.page-header {
    background-color: var(--primary-purple);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--white);
}

.page-header p {
    font-size: 1.1rem;
    color: var(--primary-gold);
}

/* --- Gallery Grid Layout --- */
.gallery-section {
    padding-bottom: 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background-color: var(--white);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 15px;
    text-align: center;
}

.gallery-caption h3 {
    color: var(--primary-purple);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-caption p {
    color: #666;
    font-size: 0.9rem;
}

/* --- Contact Page Layout --- */
.contact-section {
    padding-bottom: 80px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-info-box {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info-box h3 {
    color: var(--primary-gold);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.contact-info-box p {
    margin-bottom: 15px;
}

.contact-form-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form-box h3 {
    color: var(--primary-purple);
    margin-bottom: 25px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-charcoal);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
}

/* Responsive adjustments for Contact */
@media (max-width: 800px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}
/* --- Top Bar Styles --- */
.top-bar {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar-flex {
    justify-content: space-between;
}

.top-contact a {
    color: var(--white);
    text-decoration: none;
    margin-right: 25px;
    transition: color 0.3s ease;
    display: inline-block;
}

.top-contact a:hover {
    color: var(--primary-gold);
}

.top-contact i {
    margin-right: 8px;
}

.top-social a {
    color: var(--white);
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.top-social a:hover {
    color: var(--primary-gold);
    transform: translateY(-2px);
    display: inline-block;
}

/* --- Header Actions (Lang & Donate) --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
/* --- New Hero/Slider Styles --- */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 85vh; /* 85% of the screen height */
    padding: 0 !important; /* This completely removes the dark borders */
    margin: 0;
    background-color: var(--dark-charcoal);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

/* Background Overlay for text readability */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark charcoal overlay */
}

/* Content Box Styling */
.slide-content {
    position: relative; /* Position above overlay */
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 30px;
}

.slide-content h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary-purple);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.slide-content h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3.2rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.slide-content p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.3rem;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Slider Navigation Buttons (Next/Prev) */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: var(--white);
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.6s ease;
    user-select: none;
    border: none;
    background-color: transparent;
    z-index: 10; /* FIX: Ensures arrows stay above the text and overlay */
}

.prev {
    left: 0; /* FIX: Forces the left arrow to the left edge */
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0; /* Forces the right arrow to the right edge */
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(181, 27, 157, 0.8); /* purple overlay hover */
}

/* Slider Indicators (Dots) */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
    background-color: var(--primary-purple); /* Active dot is purple */
}

/* --- Responsive Adjustments for Slider --- */
@media (max-width: 768px) {
    .slide-content h3 {
        font-size: 2.2rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
}
/* --- Impact Section --- */
.impact-section {
    padding: 80px 0;
    background-color: var(--light-grey);
    text-align: center;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.impact-item {
    padding: 20px;
}

.impact-number {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 10px;
}

.impact-item h3.counter {
    font-size: 4.5rem;
    color: var(--primary-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
}

.impact-number span {
    font-size: 3rem;
    color: var(--primary-gold);
    font-family: var(--font-heading);
    font-weight: 700;
}

.impact-item h4 {
    font-size: 1.2rem;
    color: var(--primary-purple);
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.impact-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Impact Section Responsiveness */
@media (max-width: 992px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .impact-grid {
        grid-template-columns: 1fr;
    }
    .impact-item h3.counter {
        font-size: 3.5rem;
    }
}
/* --- How We Work (Difference) Section --- */
.difference-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.difference-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.difference-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 180px;
}

.circle-img-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #e0e0e0; /* Light grey border matching the screenshot */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.circle-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the circle without stretching */
    transition: transform 0.5s ease;
}

/* Hover Effects for interactivity */
.difference-item:hover .circle-img-wrapper {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.difference-item:hover .circle-img-wrapper img {
    transform: scale(1.1);
}

.difference-item h4 {
    color: var(--dark-charcoal);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.difference-item:hover h4 {
    color: var(--primary-purple);
}

/* Responsive adjustments for circles */
@media (max-width: 768px) {
    .difference-grid {
        gap: 20px;
    }
    
    .circle-img-wrapper {
        width: 130px;
        height: 130px;
    }
    
    .difference-item h4 {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .circle-img-wrapper {
        width: 110px;
        height: 110px;
    }
}
/* --- About Us Preview Section --- */
.about-preview {
    padding: 100px 0;
    background-color: var(--white);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: block;
}

/* Decorative Gold Accent behind the image */
.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 40%;
    height: 40%;
    border-top: 6px solid var(--primary-gold);
    border-left: 6px solid var(--primary-gold);
    border-radius: 8px 0 0 0;
    z-index: -1;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Responsive Adjustments for About Section */
@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr; /* Stacks the image on top of the text */
        gap: 40px;
    }
    
    .about-text .section-title {
        text-align: center !important;
    }
    
    .about-text h3 {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }
    
    .about-image::before {
        top: -15px;
        left: -15px;
    }
}
/* --- SLIDER BUG FIXES --- */

/* 1. Kills any accidental "ghost" background on the main container */
.hero, .slider-container, .slider-wrapper {
    background-image: none !important; 
    background-color: var(--dark-charcoal) !important;
}

/* 2. Gives a solid background so see-through slides don't happen */
.slide {
    background-color: var(--dark-charcoal);
    z-index: 1; /* Keeps inactive slides in the back */
}

/* 3. Forces the active slide to physically sit on top of everything */
.slide.active {
    opacity: 1;
    z-index: 5; 
}