/* ============================================
   MASTERCLASS MENTOR AFRICA - MODERN THEME
   Yellow & Maroon Color Theme
   Mobile-first, Clean & Professional Design
============================================= */

/* CSS Variables - Theme Colors */
:root {
    /* Primary Colors - Maroon & Yellow */
    --maroon: #800000;
    --maroon-dark: #660000;
    --maroon-light: #993333;
    --maroon-transparent: rgba(128, 0, 0, 0.1);
    
    --yellow: #FFD700;
    --yellow-dark: #FFC300;
    --yellow-light: #FFEC8B;
    --yellow-transparent: rgba(255, 215, 0, 0.1);
    
    --gold: #D4AF37;
    
    /* Neutral Colors */
    --dark: #1A1A1A;
    --dark-light: #2D2D2D;
    --gray-dark: #4A4A4A;
    --gray: #666666;
    --gray-light: #E5E5E5;
    --light: #FAFAFA;
    --white: #FFFFFF;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.18);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px; /* For fixed navbar */
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--dark);
}

h1 { 
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 { 
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 { 
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 { 
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: var(--space-md);
    color: var(--gray-dark);
    font-size: 1rem;
    line-height: 1.7;
}

a {
    color: var(--maroon);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--maroon-dark);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all var(--transition-normal);
    text-decoration: none;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1) rotate(10deg);
    box-shadow: var(--shadow-xl);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--dark);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* WhatsApp social icon specific */
.social-links .whatsapp-social {
    background-color: #25D366;
    color: white;
}

.social-links .whatsapp-social:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

/* ============================================
   BACK TO TOP BUTTON
============================================= */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--maroon);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--maroon-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.back-to-top:active {
    transform: translateY(-1px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-to-top.visible {
    animation: fadeInUp 0.3s ease-out;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--maroon);
    color: var(--white);
    border-color: var(--maroon);
}

.btn-primary:hover {
    background-color: var(--maroon-dark);
    border-color: var(--maroon-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--yellow);
    color: var(--dark);
    border-color: var(--yellow);
}

.btn-secondary:hover {
    background-color: var(--yellow-dark);
    border-color: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--maroon);
    border-color: var(--maroon);
}

.btn-outline:hover {
    background-color: var(--maroon);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.btn-small {
    padding: 0.5rem 1rem !important;
    font-size: 0.75rem !important;
}

/* ============================================
   LOGO IMAGE STYLES
============================================= */
.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    border: 2px solid var(--maroon);
}

.footer-logo-img {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

/* ============================================
   HERO SECTION WITH BACKGROUND IMAGE
============================================= */
.hero {
    position: relative;
    padding: 6rem 0 4rem;
    color: var(--white);
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.8) 0%, rgba(168, 0, 0, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-stats {
    position: relative;
    z-index: 2;
}

/* Remove old hero gradient */
.hero::before {
    content: none;
}

.hero-badge {
    display: inline-block;
    background-color: var(--yellow);
    color: var(--dark);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: var(--space-xl);
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.hero-badge:hover::before {
    left: 100%;
}

@keyframes pulse {
    0% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    70% { 
        transform: scale(1.05); 
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--white);
    font-weight: 800;
}

.hero-line {
    display: block;
}

.hero-line.accent {
    color: var(--yellow);
    position: relative;
    display: inline-block;
}

.hero-line.accent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--yellow-transparent);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: var(--space-xs);
    font-family: var(--font-secondary);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Sections */
.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-title {
    color: var(--dark);
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--maroon), var(--yellow));
    border-radius: var(--radius-full);
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.125rem;
    max-width: 600px;
    margin: var(--space-lg) auto 0;
    line-height: 1.6;
}

.section-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

/* ============================================
   FIXED NAVIGATION BAR - ALWAYS STICKY
============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-normal);
    transform: translateY(0);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.logo-text {
    color: var(--dark);
}

.logo-accent {
    color: var(--maroon);
    background: linear-gradient(45deg, var(--maroon), var(--maroon-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.nav-menu {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-dark);
    padding: 0.5rem 0;
    position: relative;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--maroon);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--maroon);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--maroon);
    font-weight: 600;
}

/* ============================================
   MOBILE TOGGLE - HAMBURGER TO X
============================================= */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
    padding: 0;
}

.mobile-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark);
    border-radius: var(--radius-sm);
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-toggle span:nth-child(1) {
    top: 0px;
}

.mobile-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-toggle span:nth-child(3) {
    top: 20px;
}

.mobile-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* ============================================
   MOBILE CONTACT INFO IN NAVBAR
============================================= */
.mobile-contact-info {
    display: none;
    gap: var(--space-sm);
    align-items: center;
}

.mobile-contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--maroon-transparent);
    color: var(--maroon);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.mobile-contact-link:hover {
    background-color: var(--maroon);
    color: white;
    transform: scale(1.1);
}

/* Program Cards */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.program-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--maroon), var(--maroon-light));
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.program-card:hover::before {
    background: linear-gradient(to bottom, var(--yellow), var(--yellow-dark));
}

.program-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: var(--yellow-transparent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--maroon);
}

.program-year {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--maroon);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.program-title {
    color: var(--maroon);
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
}

.program-desc {
    color: var(--gray);
    margin-bottom: var(--space-lg);
    flex-grow: 1;
    font-size: 0.875rem;
    line-height: 1.6;
}

.program-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.program-meta span {
    background-color: var(--gray-light);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    color: var(--gray-dark);
    font-weight: 500;
}

.program-link {
    color: var(--maroon);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: auto;
}

.program-link:hover {
    color: var(--maroon-dark);
    gap: var(--space-sm);
}

/* Founder Spotlight */
.founder-spotlight {
    background: linear-gradient(135deg, var(--light) 0%, var(--yellow-transparent) 100%);
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.founder-text {
    padding-right: var(--space-xl);
}

.founder-name {
    font-size: 2.5rem;
    color: var(--maroon);
    margin-bottom: var(--space-xs);
    background: linear-gradient(45deg, var(--maroon), var(--maroon-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-title {
    color: var(--gray);
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.founder-bio {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    color: var(--gray-dark);
}

.founder-image {
    position: relative;
}

.founder-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--yellow), var(--maroon));
    border-radius: var(--radius-2xl);
    z-index: 1;
}

.image-placeholder {
    position: relative;
    z-index: 2;
    background: var(--white);
    border-radius: var(--radius-xl);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    padding: var(--space-lg);
    font-weight: 600;
    text-align: center;
}

/* Testimonials */
.testimonials {
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.testimonial-card {
    background-color: var(--light);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
    border: 1px solid var(--gray-light);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    font-family: var(--font-secondary);
    color: var(--yellow-transparent);
    line-height: 1;
}

.testimonial-text {
    color: var(--gray-dark);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    padding-left: var(--space-md);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding-left: var(--space-md);
}

.testimonial-author strong {
    color: var(--maroon);
    font-size: 1.125rem;
}

.testimonial-author span {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Upcoming Events */
.upcoming-events {
    background: linear-gradient(135deg, var(--maroon-transparent) 0%, var(--yellow-transparent) 100%);
}

.events-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.event-card-preview {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-light);
}

.event-card-preview:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    color: var(--white);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.date-day {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.date-month {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.date-year {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 0.125rem;
}

.event-details {
    flex-grow: 1;
}

.event-details h3 {
    color: var(--maroon);
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.event-details p {
    color: var(--gray);
    margin-bottom: var(--space-md);
    font-size: 0.9375rem;
}

.event-link {
    color: var(--maroon);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.event-link:hover {
    color: var(--maroon-dark);
    gap: var(--space-sm);
}

/* ============================================
   RESPONSIVE CONTACT LINKS
============================================= */
.responsive-contact-link {
    color: var(--gray-dark);
    text-decoration: none;
    transition: all var(--transition-fast);
    word-break: break-all;
    display: inline-block;
}

.responsive-contact-link:hover {
    color: var(--maroon);
    transform: translateX(3px);
}

/* Quick contact buttons for mobile */
.quick-contact-buttons {
    display: none;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

.quick-contact-buttons .btn {
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

.quick-contact-buttons .btn i {
    margin-right: var(--space-xs);
}

/* ============================================
   COMPACT CONTACT SECTION
============================================= */

.contact-section {
    background-color: var(--white);
    padding: var(--space-2xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-md);
    background-color: var(--light);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.contact-item:hover {
    border-color: var(--yellow);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.25rem;
    color: var(--maroon);
    background-color: var(--yellow-transparent);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--maroon);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-details p {
    color: var(--gray-dark);
    margin-bottom: 0;
    font-size: 0.875rem;
}

.contact-form {
    background-color: var(--light);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
}

.contact-form h3 {
    color: var(--maroon);
    margin-bottom: var(--space-lg);
    text-align: center;
    font-size: 1.25rem;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    transition: all var(--transition-normal);
    background-color: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px var(--maroon-transparent);
}

.form-input::placeholder {
    color: var(--gray);
}

.contact-form .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

/* ============================================
   FOOTER - ALL SECTIONS PROPERLY ALIGNED
============================================= */

.footer {
    background: linear-gradient(135deg, var(--dark) 0%, #2a2a2a 100%);
    color: var(--white);
    padding: var(--space-lg) 0 var(--space-sm);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--maroon), var(--yellow));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

/* ============================================
   FOOTER BRAND - MOVED SLIGHTLY LEFT
============================================= */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding-right: var(--space-sm);
    position: relative;
    left: -12px; /* Moves the entire section slightly left */
}

.footer-logo {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    padding-left: 0.5rem;
}

.footer-logo .logo-text {
    color: var(--white);
    font-weight: 700;
}

.footer-logo .logo-accent {
    color: var(--yellow);
    font-weight: 800;
    background: none;
    -webkit-text-fill-color: var(--yellow);
    position: relative;
}

.footer-logo .logo-accent::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--yellow), transparent);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 250px;
    margin-bottom: var(--space-xs);
    padding-left: 0.5rem;
}

/* Adjust social links to stay aligned */
.social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-left: 0.5rem;
    position: relative;
    left: -2px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--white);
    transition: all var(--transition-normal);
    font-size: 0.875rem;
}

.social-link:hover {
    background-color: var(--yellow);
    color: var(--dark);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER LINKS - MOVED FURTHER RIGHT
============================================= */
.footer-links {
    padding-left: 2.5rem; /* Increased from 2rem to 2.5rem - MOVED FURTHER RIGHT */
    position: relative;
}

.footer-links::before {
    content: '';
    position: absolute;
    left: 1.5rem; /* Adjusted from 1rem to 1.5rem */
    top: 2.5rem;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05), 
        rgba(255, 255, 255, 0.1)
    );
}

.footer-links h4 {
    color: var(--yellow);
    margin-bottom: 0.875rem;
    font-size: 1rem;
    position: relative;
    padding-bottom: 0.375rem;
    font-weight: 600;
    padding-left: 1.5rem; /* Increased from 1.25rem to 1.5rem */
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.5rem; /* Increased from 1.25rem to 1.5rem */
    width: 25px;
    height: 2px;
    background-color: var(--maroon);
}

.footer-links ul {
    list-style: none;
    padding-left: 1.5rem; /* Increased from 1.25rem to 1.5rem */
}

.footer-links li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem; /* Increased from 0.25rem to 0.5rem */
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem; /* Increased right padding from 0.25rem to 0.5rem */
    border-radius: var(--radius-sm);
    position: relative;
    left: 0;
    transition: left 0.2s ease;
}

.footer-links a:hover {
    color: var(--yellow);
    transform: translateX(3px);
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 0.75rem; /* Increased from 0.5rem to 0.75rem */
}

/* ============================================
   FOOTER CONTACT - ADJUSTED TO MATCH
============================================= */
.footer-contact {
    padding-left: 1.5rem;
    position: relative;
}

.footer-contact::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 2.5rem;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05), 
        rgba(255, 255, 255, 0.1)
    );
}

.footer-contact h4 {
    color: var(--yellow);
    margin-bottom: 0.875rem;
    font-size: 1rem;
    position: relative;
    padding-bottom: 0.375rem;
    font-weight: 600;
    padding-left: 0.75rem;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    width: 25px;
    height: 2px;
    background-color: var(--maroon);
}

.footer-contact .contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 0.75rem;
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
    padding: 0.125rem 0.25rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.contact-line:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(3px);
}

.contact-line i {
    color: var(--yellow);
    font-size: 0.875rem;
    min-width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.contact-line span,
.contact-line a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.5;
}

.contact-line a:hover {
    color: var(--yellow);
}

/* ============================================
   FOOTER NEWSLETTER - ADJUSTED TO MATCH
============================================= */
.footer-newsletter {
    padding-left: 1.5rem;
    position: relative;
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 2.5rem;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05), 
        rgba(255, 255, 255, 0.1)
    );
}

.footer-newsletter h4 {
    color: var(--yellow);
    margin-bottom: 0.875rem;
    font-size: 1rem;
    position: relative;
    padding-bottom: 0.375rem;
    font-weight: 600;
    padding-left: 0.75rem;
}

.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    width: 25px;
    height: 2px;
    background-color: var(--maroon);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.875rem;
    font-size: 0.875rem;
    line-height: 1.5;
    padding-left: 0.75rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 0.75rem;
}

.newsletter-form input {
    padding: 0.625rem 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--yellow);
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin: 0;
    padding: 0.5rem 0;
}

/* ============================================
   RESPONSIVE DESIGN
============================================= */
@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 5rem 0 3rem;
    }
    
    .founder-content {
        gap: var(--space-2xl);
    }
    
    .contact-grid {
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .mobile-contact-info {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        padding: var(--space-2xl) var(--space-md);
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        gap: var(--space-lg);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        padding: 4rem 0 2rem;
        text-align: center;
        min-height: 70vh;
    }
    
    .hero-bg-image {
        object-position: center;
    }
    
    .hero-overlay {
        background: linear-gradient(135deg, rgba(128, 0, 0, 0.85) 0%, rgba(168, 0, 0, 0.95) 100%);
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .founder-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .founder-text {
        padding-right: 0;
        text-align: center;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .events-preview {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
    
    .contact-section {
        padding: var(--space-xl) 0;
    }
    
    .contact-grid {
        gap: var(--space-lg);
    }
    
    .contact-form {
        padding: var(--space-lg);
    }
    
    .quick-contact-buttons {
        display: flex;
    }
    
    .contact-item .contact-details p a {
        font-size: 0.875rem;
        word-break: break-all;
    }
    
    .contact-item {
        padding: var(--space-sm);
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Footer Mobile Adjustments */
    .footer {
        padding: var(--space-md) 0 var(--space-xs);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .footer-brand {
        grid-column: span 2;
        text-align: center;
        padding-right: 0;
        padding-bottom: var(--space-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        left: 0; /* Reset left positioning for mobile */
    }
    
    .footer-logo {
        padding-left: 0;
        justify-content: center;
    }
    
    .footer-desc {
        padding-left: 0;
        max-width: 100%;
        margin: 0 auto var(--space-sm);
        font-size: 0.8125rem;
    }
    
    .footer-links,
    .footer-contact,
    .footer-newsletter {
        padding-left: 0;
        text-align: center;
    }
    
    .footer-links::before,
    .footer-contact::before,
    .footer-newsletter::before {
        display: none;
    }
    
    .footer-links h4,
    .footer-contact h4,
    .footer-newsletter h4 {
        padding-left: 0;
    }
    
    .footer-links h4::after,
    .footer-contact h4::after,
    .footer-newsletter h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links ul {
        padding-left: 0;
    }
    
    .footer-links li {
        padding-left: 0;
    }
    
    .footer-links a {
        justify-content: center;
        padding: 0.125rem 0;
        font-size: 0.8125rem;
    }
    
    .footer-contact .contact-details {
        padding-left: 0;
    }
    
    .contact-line {
        justify-content: center;
        padding: 0.125rem 0;
    }
    
    .contact-line span,
    .contact-line a {
        font-size: 0.8125rem;
    }
    
    .footer-newsletter p {
        padding-left: 0;
        font-size: 0.8125rem;
    }
    
    .newsletter-form {
        padding-left: 0;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .social-links {
        padding-left: 0;
        justify-content: center;
        left: 0; /* Reset left positioning for mobile */
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 70px;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .program-card,
    .event-card-preview,
    .contact-form {
        padding: var(--space-lg);
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 80px;
        right: 20px;
        font-size: 1rem;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .quick-contact-buttons {
        flex-direction: column;
    }
    
    .quick-contact-buttons .btn {
        width: 100%;
    }
    
    /* Footer Extra Small Adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .footer-brand {
        grid-column: span 1;
        padding-bottom: var(--space-sm);
    }
    
    .footer-logo {
        font-size: 1.25rem;
    }
    
    .footer-links,
    .footer-contact,
    .footer-newsletter {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: var(--space-sm);
        text-align: center;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
    
    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.p-relative { position: relative; }
.p-absolute { position: absolute; }

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
}

/* Form Error Messages */
.field-error {
    color: var(--maroon);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Success Message Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message {
    animation: slideIn 0.3s ease-out;
}