:root {
    /* --- COLOR VARIABLES (White & Light Purple Theme) --- */
    --brand-primary: #8B5CF6;        /* Vibrant Purple */
    --brand-accent: #C084FC;         /* Soft Light Purple */
    
    --topbar-bg: #F8FAFC;            
    --topbar-text: #475569;          
    
    --nav-bg: #8B5CF6;               /* Purple Nav */
    --nav-text: #FFFFFF;             /* White Nav Text */
    
    --body-text: #1E293B;            /* Deep Slate for body text */
    --sub-text: #64748B;             /* Muted gray for descriptions */
    
    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: #FFFFFF; 
    color: var(--body-text);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--body-text);
    margin-bottom: 40px;
}
/* Header Container */
#site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
/* --- Top Info Bar --- */
.top-bar {
    background-color: var(--topbar-bg);
    color: var(--topbar-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    font-size: 0.85rem;
    height: 40px; 
    overflow: hidden;
    transition: height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.top-bar-content {
    display: flex;
    align-items: center;
    gap: 15px;
}
a {
    text-decoration: none;
}

.divider {
    color: #475569;
}

.info-item i {
    color: var(--brand-accent);
    margin-right: 6px;
}

.top-bar-social a {
    color: var(--topbar-text);
    margin-left: 20px;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.top-bar-social a:hover {
    color: var(--brand-accent);
}

/* --- Main Navigation Bar --- */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--nav-bg); /* Uses the purple variable */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--nav-text); /* White text */
}

.brand-icon {
    color: var(--nav-text); /* White icon */
}

.brand-accent {
    color: #E9D5FF; /* Light purple for "HUB" */
    font-weight: 400;
}

.nav-right-cluster {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--nav-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #E9D5FF;
}

/* --- Call to Action Button --- */
.btn-primary {
    background-color: #FFFFFF; /* White button on purple nav */
    color: var(--brand-primary); /* Purple text */
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background-color: #F8FAFC; 
    transform: translateY(-2px);
}

/* SCROLLING STATE */
#site-header.scrolled .top-bar {
    height: 0;
    opacity: 0;
}

/* --- Dropdown Menu System --- */
.dropdown {
    position: relative;
    padding-bottom: 20px; 
    margin-bottom: -20px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FFFFFF;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
    border-radius: 4px;
    list-style: none;
    padding: 15px 0;
    display: none; 
    flex-direction: column;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    color: var(--body-text) !important; /* Dark text for the white dropdown */
    padding: 12px 24px;
    display: block;
    font-size: 0.95rem;
    font-weight: 400;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
    background-color: #F8FAFC; 
    color: var(--brand-primary) !important;
}

/* ------------------------------------------------------------------------- */
/* --- Block 1: Hero Slider System --- */
.hero-slider {
    position: relative;
    width: 100%;
    margin-top: 115px; 
    height: calc(100vh - 115px); 
    overflow: hidden;
    background-color: #0F172A; 
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; 
    transition: opacity 1s ease-in-out; 
    display: flex;
    align-items: center;
    padding-left: 10%; 
    z-index: 1;
}

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

.slide-content {
    color: #FFFFFF;
    max-width: 800px;
    transform: translateY(20px);
    transition: transform 1s ease-in-out;
}

.slide.active .slide-content {
    transform: translateY(0);
}

.slide-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    text-transform: uppercase;
}

.slide-subtitle::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 3px;
    background-color: var(--brand-accent); 
}

.slide-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #FFFFFF; /* Ensure it stays white on the slider */
}

.slide-desc {
    font-size: 1.3rem;
    font-weight: 300;
    color: #E2E8F0;
    max-width: 600px;
}

.slider-dots {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: transparent;
    border: 2px solid #FFFFFF;
    box-shadow: inset 0 0 0 2px #FFFFFF;
}

/* Adjust main content padding so sections can span full width */
.main-content {
    min-height: 100vh;
    padding: 0; /* CHANGED: Removed the 5% padding so backgrounds stretch to the edges */
}

/* ------------------------------------------------------------------------- */
/* =========================================
   BLOCK 2: ABOUT US SECTION
   ========================================= */

.about-section {
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--body-text);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.header-divider {
    height: 3px;
    width: 60px;
    background-color: var(--brand-primary);
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 80px; 
    align-items: center;
}

.about-image-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15); 
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 400px; 
    background-color: #F1F5F9; 
}

.about-content .sub-heading {
    display: block;
    color: var(--brand-accent);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.about-content .main-heading {
    font-size: 2.5rem;
    color: var(--body-text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content .description {
    color: var(--sub-text);
    font-size: 1.05rem;
    line-height: 1.85; 
    margin-bottom: 40px; 
}

.feature-list {
    list-style: none;
    margin-bottom: 35px;
}

.feature-list li {
    font-size: 1.1rem;
    color: var(--body-text);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.feature-list i {
    color: var(--brand-primary); 
    font-size: 1.2rem;
}

.about-btn {
    margin-bottom: 40px;
    background-color: var(--brand-primary);
    color: #FFFFFF;
}

.about-btn:hover {
    background-color: var(--body-text);
    color: #FFFFFF;
}

/* Statistics Row */
.stats-row {
    display: flex;
    justify-content: space-around; 
    align-items: center;
    border-top: 1px solid #E2E8F0;
    padding-top: 40px; 
    margin-top: 60px; 
    max-width: 1000px; 
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}

.stat-num {
    font-size: 2.2rem; 
    font-weight: 800;
    color: var(--brand-primary); 
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--sub-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .stats-row { flex-wrap: wrap; gap: 20px; }
}

/* =========================================
   BLOCK 3: FEATURED COURSES
   ========================================= */

.courses-section {
    padding: 20px 5%;
    background-color: var(--topbar-bg); 
    border-radius: 20px; 
    margin: 40px 0;
}

.section-subtitle {
    color: var(--sub-text);
    font-size: 1.1rem;
    margin: 20px 0;
    text-align: center;
}

.courses-btn {
    margin-bottom: 40px;
    background-color: var(--brand-primary);
    color: #FFFFFF;
    margin-left: auto;
    margin-right: auto;
}

.courses-btn:hover {
    background-color: var(--body-text);
    color: #FFFFFF;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.15); 
}

.course-img-wrapper {
    width: 100%;
    height: 200px;
    background-color: #E2E8F0;
    overflow: hidden;
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.course-title {
    font-size: 1.2rem;
    color: var(--body-text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-web { color: #3B82F6; }  
.icon-seo { color: #10B981; }  
.icon-ebay { color: #F59E0B; } 

.course-desc {
    font-size: 0.95rem;
    color: var(--sub-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.rating i { color: #F59E0B; margin-right: 5px; }
.rating { color: var(--body-text); }

.students i { color: var(--brand-accent); margin-right: 5px; }
.students { color: var(--sub-text); }

.course-meta {
    border-top: 1px solid #F1F5F9;
    padding-top: 15px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: var(--sub-text);
    display: flex;
    align-items: center;
}

.course-meta i {
    margin-right: 8px;
    color: var(--brand-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    padding: 10px 0;
    width: 100%;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto; 
}

.btn-outline:hover {
    background-color: var(--brand-primary);
    color: #FFFFFF;
}

@media (max-width: 900px) {
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .courses-grid { grid-template-columns: 1fr; }
}

/* =========================================
   BLOCK 4: WHY CHOOSE US
   ========================================= */

.why-choose-section {
    padding: 30px 5%;
    background-color: #FFFFFF; 
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px; 
    margin: 50px auto 0;
}

.feature-card {
    background-color: #F8FAFC; 
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.1); 
    border-color: var(--brand-accent); 
}

.icon-3d-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06); 
    overflow: hidden; 
}

.icon-3d {
    width: 110%; 
    height: 110%; 
    object-fit: cover; 
    transition: transform 0.3s ease;
}

.feature-card:hover .icon-3d {
    transform: scale(1.2); 
}

.feature-card h4 {
    font-size: 1.25rem;
    color: var(--body-text);
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    font-size: 1rem;
    color: var(--sub-text);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .features-grid { grid-template-columns: 1fr; }
}
/* =========================================
   BLOCK 5: HOW IT WORKS
   ========================================= */

.how-it-works-section {
    padding: 80px 5%;
    border-radius: 3%;
    background-color: var(--topbar-bg); /* Soft off-white to alternate section backgrounds */
}

.how-it-works-container {
    max-width: 1100px;
    margin: 0 auto;
    
}

/* Remove the default purple dash under this specific header to match your wireframe */
.how-it-works-section .section-header {
    margin-bottom: 30px;
}
.how-it-works-section .header-divider {
    display: none; 
}

/* Full Width Thin Divider */
.steps-divider {
    width: 100%;
    height: 1px;
    background-color: #E2E8F0;
    margin-bottom: 50px;
}

/* 4-Column Grid Layout */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Individual Step Styling */
.step-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* Circled Step Numbers */
.step-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sub-text);
    border: 2px solid #CBD5E1;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

/* Icon & Title Row */
.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.step-header i {
    font-size: 1.5rem;
    color: var(--brand-accent); /* Soft Light Purple Icons */
}

.step-header h4 {
    font-size: 1.25rem;
    color: var(--body-text);
    font-weight: 700;
}

.step-card p {
    font-size: 1rem;
    color: var(--sub-text);
    line-height: 1.6;
    margin-bottom: 30px; /* Creates space for the arrows below */
}

/* Bottom Connecting Lines */
.bottom-connector {
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: auto; /* Pushes the line to the very bottom of the card */
    padding-right: 20px; /* Keeps a small gap between the lines so they don't look like one giant border */
}
.connector-line {
    height: 1px;
    background-color: #CBD5E1;
    flex-grow: 1; /* Makes the line stretch to fill the space */
}

.bottom-connector i {
    color: #CBD5E1;
    font-size: 0.6rem; /* Small arrowhead */
    margin-left: 3px;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid on tablets */
    }
    .bottom-connector {
        display: none; /* Hide lines when grid breaks to prevent messy overlaps */
    }
}

@media (max-width: 600px) {
    .steps-grid {
        grid-template-columns: 1fr; /* Stack vertically on phones */
    }
}
/* =========================================
   ABOUT PAGE: TESTIMONIALS CAROUSEL
   ========================================= */

.testimonials-section {
    padding: 0 5% 100px;
    background-color: #FFFFFF;
}

.testimonials-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* Hide overflowing cards so we can slide them */
.carousel-viewport {
    overflow: hidden;
    width: 100%;
    padding: 15px 0; /* Prevents shadow clipping */
}

/* The sliding track */
.carousel-track {
    display: flex;
    gap: 25px;
    transition: transform 0.5s ease-in-out;
}

.testi-card {
    /* 3 cards visible on desktop minus the gaps */
    flex: 0 0 calc(33.333% - 16.66px); 
    background-color: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.quote-icon {
    width: 45px;
    height: 45px;
    background-color: #F3E8FF; /* Light purple */
    color: var(--brand-primary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testi-text {
    font-size: 0.95rem;
    color: var(--sub-text);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes author info to the bottom */
}

.testi-stars {
    color: #F59E0B; /* Golden star color */
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Author block adjusted to look great without a profile picture */
.testi-author h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--body-text);
    margin-bottom: 4px;
}

.testi-author span {
    font-size: 0.85rem;
    color: var(--sub-text);
    font-weight: 500;
}

/* --- Carousel Dots --- */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #E2D4F5; /* Inactive light purple */
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: var(--brand-primary); /* Active solid purple */
    transform: scale(1.3); /* Makes the active dot slightly larger */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1000px) {
    .testi-card {
        /* 2 cards visible on tablets */
        flex: 0 0 calc(50% - 12.5px); 
    }
}

@media (max-width: 650px) {
    .testi-card {
        /* 1 card visible on phones */
        flex: 0 0 100%; 
    }
}
/* =========================================
   BLOCK 7: OUR IMPACT (STATISTICS)
   ========================================= */

.impact-section {
    padding: 80px 5%;
    background-color: var(--brand-primary); /* Deep Purple Background */
    color: #FFFFFF;
    
}

.impact-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Force header text to white inside this section */
.impact-header h2 {
    color: #FFFFFF;
    margin-bottom: 10px;
}

.impact-header .section-subtitle {
    color: #E9D5FF; /* Light purple for subtitle */
    font-size: 1.15rem;
}

/* Thin White Dividers */
.impact-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 40px 0;
}

/* 4-Column Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--brand-accent); /* Soft Light Purple Icon */
    margin-bottom: 20px;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 5px;
}

.stat-number, .stat-symbol {
    font-size: 3rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
}

.stat-text {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #E9D5FF; /* Light purple label */
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .impact-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   BLOCK 8: CALL TO ACTION
   ========================================= */

.cta-section {
    padding: 80px 5%;
    background-color: var(--topbar-bg); /* Soft off-white to alternate section backgrounds */
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.cta-card {
    background-color: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Soft shadow to lift the card */
}

.cta-card h2 {
    font-size: 2.2rem;
    color: var(--body-text);
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-card p {
    font-size: 1.1rem;
    color: var(--sub-text);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Button Layout */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Specific CTA Button Styles */
.cta-btn-primary, .cta-btn-outline {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Solid Purple Button */
.cta-btn-primary {
    background-color: var(--brand-primary);
    color: #FFFFFF;
    border: 2px solid var(--brand-primary);
}

.cta-btn-primary:hover {
    background-color: #FFFFFF; /* Changes to dark slate on hover */
    border-color: var(--body-text);
    transform: translateY(-2px);
    color:  #000000 ;
}

/* Outlined Purple Button */
.cta-btn-outline {
    background-color: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}

.cta-btn-outline:hover {
    background-color: var(--brand-primary);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .cta-card {
        padding: 40px 20px; /* Reduced padding on small screens */
    }
    
    .cta-card h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column; /* Stack buttons vertically on phones */
        gap: 15px;
    }
    
    .cta-btn-primary, .cta-btn-outline {
        width: 100%; /* Full width buttons on phones */
    }
}
/* =========================================
   BLOCK 9: FOOTER
   ========================================= */

.site-footer {
    background-color: #0F172A; /* Deep Slate Background */
    color: #F8FAFC; /* Off-white text */
    padding: 70px 5% 30px;
    font-size: 0.95rem;
}

/* --- Top Grid --- */
.footer-grid {
    display: grid;
    /* 5 Columns: Logo and Newsletter take slightly more space */
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr; 
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: #94A3B8;
    line-height: 1.6;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: var(--brand-accent); /* Light purple on hover */
    padding-left: 5px; /* Slight indent effect */
}

/* Newsletter */
.newsletter-col p {
    color: #94A3B8;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    background-color: #1E293B;
    border: 1px solid #334155;
    color: #FFFFFF;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--brand-accent);
}

.subscribe-btn {
    width: 100%;
    justify-content: center;
}

/* --- Middle Section (Contact Info) --- */
.footer-middle {
    max-width: 1200px;
    margin: 50px auto;
    padding: 30px 0;
    border-top: 1px solid #334155;
    border-bottom: 1px solid #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #E2E8F0;
    font-size: 1rem;
}

.contact-item i {
    color: var(--brand-accent); /* Purple icons */
    font-size: 1.2rem;
}

/* --- Bottom Section (Copyright & Socials) --- */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94A3B8;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: #94A3B8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--brand-accent);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on tablet */
    }
    .brand-col, .newsletter-col {
        grid-column: span 3; /* Logo and Newsletter span full width */
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr; /* 1 column on phones */
    }
    .brand-col, .newsletter-col {
        grid-column: span 1;
    }
    .footer-middle {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .footer-socials {
        justify-content: center;
        width: 100%;
    }
}