/* ============================================
   BORA FOUNDATION - Modern Website Design
   Complete Redesign with Fresh Aesthetics
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Modern Color Palette */
    --primary-color: #8B5CF6;
    --primary-dark: #7C3AED;
    --primary-light: #A78BFA;
    --secondary-color: #10B981;
    --secondary-dark: #059669;
    --accent-color: #F59E0B;
    --accent-light: #FBBF24;
    
    /* Neutral Colors */
    --dark: #1F2937;
    --dark-light: #374151;
    --text-dark: #111827;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border: #E5E7EB;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    --gradient-secondary: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    --gradient-dark: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    
    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

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: 1.25rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-primary);
}

/* ===== UTILITIES ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 800;
}

.section-title.light {
    color: var(--bg-white);
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-gray);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

.section-description.light {
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 12px 24px;
    z-index: 999;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    top: 0;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.navbar {
    padding: 16px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

.logo a:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}

.hamburger {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #F9FAFB 0%, #E5E7EB 100%);
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    top: -200px;
    right: -200px;
    animation: float 20s infinite ease-in-out;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-secondary);
    bottom: -100px;
    left: -100px;
    animation: float 15s infinite ease-in-out reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 10s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.15; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.2);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: 12px;
    font-size: 1.5rem;
}

.stat-content {
    text-align: left;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-scroll a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    padding: 16px 24px;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-xl);
}

.about-badge i {
    font-size: 1.5rem;
}

.about-text h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 24px;
}

.about-text > p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: 12px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== PROGRAMS SECTION ===== */
.programs {
    background: var(--bg-light);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.program-card {
    position: relative;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.program-featured {
    background: var(--gradient-primary);
    color: var(--bg-white);
}

.program-featured h3,
.program-featured p,
.program-featured .program-features {
    color: var(--bg-white);
}

.program-featured .program-features li {
    color: var(--bg-white);
    font-weight: 500;
}

.program-featured .program-icon {
    background: rgba(255, 255, 255, 0.2);
}

.program-featured .program-number {
    color: rgba(255, 255, 255, 0.3);
}

.program-featured .program-features li i {
    color: var(--bg-white);
    font-size: 1.25rem;
}

.program-featured .program-link {
    color: var(--bg-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.program-featured .program-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    padding: 8px 20px;
    background: var(--gradient-accent);
    color: var(--bg-white);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: var(--shadow-lg);
}

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.program-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: 16px;
    font-size: 2rem;
}

.program-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
}

.program-card h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.program-card > p {
    margin-bottom: 24px;
    line-height: 1.7;
}

.program-features {
    margin-bottom: 32px;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-gray);
}

.program-features li i {
    color: var(--secondary-color);
    font-size: 1.125rem;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--border);
    border-radius: 50px;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
}

.program-link:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.program-link i {
    transition: var(--transition);
}

.program-link:hover i {
    transform: translateX(5px);
}

/* ===== IMPACT SECTION ===== */
.impact {
    position: relative;
    background: var(--gradient-dark);
    color: var(--bg-white);
    overflow: hidden;
}

.impact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
    opacity: 0.5;
}

.impact .container {
    position: relative;
    z-index: 2;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.impact-card {
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition);
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.impact-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: 20px;
    font-size: 2.5rem;
    margin: 0 auto 24px;
}

.impact-content h3 {
    font-size: 3.5rem;
    color: var(--bg-white);
    margin-bottom: 12px;
    font-weight: 800;
}

.impact-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.impact-detail {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== GALLERY SECTION ===== */
.gallery {
    background: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--bg-light);
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    color: var(--bg-white);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.gallery-overlay h4 {
    color: var(--bg-white);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-intro {
    margin-bottom: 32px;
}

.contact-intro h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 16px;
}

.contact-intro p {
    font-size: 1.0625rem;
    line-height: 1.7;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: 12px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.contact-details p {
    color: var(--text-gray);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: 12px;
    font-size: 1.125rem;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Contact Form */
.contact-form {
    background: var(--bg-white);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    padding: 18px 32px;
    font-size: 1.0625rem;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    color: var(--bg-white);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: 50px;
}

.footer-logo h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--bg-white);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-logo span {
    font-size: 0.625rem;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-top: 4px;
}

.footer-about p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--bg-white);
    font-size: 1.125rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: 24px;
    font-size: 1.125rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-section ul li a i {
    font-size: 0.75rem;
    color: var(--primary-light);
}

.footer-section ul li a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: var(--primary-light);
    font-size: 1rem;
    margin-top: 2px;
}

.footer-bottom {
    padding: 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 -24px;
    padding: 32px 24px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.footer-bottom i {
    color: #EF4444;
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.3);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--bg-white);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-2xl);
    cursor: pointer;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet - 1024px and below */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image img {
        min-height: 400px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 82px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 82px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 40px 24px;
        gap: 0;
        box-shadow: var(--shadow-2xl);
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-link {
        display: block;
        padding: 20px 0;
        font-size: 1.125rem;
    }
    
    /* Hero */
    .hero {
        min-height: 60vh;
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    .hero-content {
        padding: 0 8px;
    }
    
    .hero-tag {
        font-size: 0.875rem;
        padding: 8px 20px;
        margin-top: 20px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 16px;
        margin-bottom: 40px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item {
        padding: 16px;
    }
    
    /* About Section */
    .about-image img {
        min-height: 300px;
    }
    
    .about-badge {
        bottom: 20px;
        left: 20px;
        padding: 12px 20px;
        font-size: 0.875rem;
    }
    
    .feature-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto;
    }
    
    /* Programs */
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .program-card {
        padding: 32px 24px;
    }
    
    .program-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .program-number {
        font-size: 3rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-item {
        height: 280px;
    }
    
    .gallery-overlay {
        padding: 24px;
    }
    
    /* Contact */
    .contact-intro h3 {
        font-size: 1.5rem;
    }
    
    /* Stack contact items vertically on mobile */
    .contact-items {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-item {
        flex-direction: row;
        text-align: left;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }
    
    .contact-icon {
        flex-shrink: 0;
    }
    
    .contact-details {
        text-align: left;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
        text-align: center;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* About section (first child) takes full width */
    .footer-about {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 4px;
        padding-bottom: 16px;
    }
    
    /* Hide Quick Links on mobile (2nd child) */
    .footer-section:nth-child(2) {
        display: none;
    }
    
    /* Show only Programs and Contact in 2 columns */
    .footer-section:nth-child(3),
    .footer-section:nth-child(4) {
        text-align: center;
        padding: 0 8px;
        min-width: 0;
        overflow: hidden;
    }
    
    /* Compact footer styling */
    .footer-logo {
        justify-content: center;
        margin-bottom: 12px;
    }
    
    .footer-logo img {
        height: 40px;
        width: 40px;
    }
    
    .footer-logo h3 {
        font-size: 1.25rem;
    }
    
    .footer-logo span {
        font-size: 0.5rem;
    }
    
    .footer-about p {
        font-size: 0.8125rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .footer-social {
        justify-content: center;
        gap: 8px;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Footer section headings - much smaller */
    .footer-section h4 {
        font-size: 0.5625rem;
        margin-bottom: 6px;
        font-weight: 700;
        padding-bottom: 3px;
        word-break: break-word;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
        width: 24px;
        height: 1.5px;
    }
    
    /* Footer links - much smaller */
    .footer-section ul {
        padding: 0;
    }
    
    .footer-section ul li {
        margin-bottom: 3px;
    }
    
    .footer-section ul li a {
        font-size: 0.5625rem;
        justify-content: center;
        gap: 2px;
        line-height: 1.3;
        display: block;
        word-break: break-word;
        hyphens: auto;
    }
    
    .footer-section ul li a i {
        font-size: 0.5rem;
    }
    
    /* Contact info - much smaller and aligned */
    .footer-contact li {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 0.5625rem;
        margin-bottom: 6px;
        gap: 3px;
        line-height: 1.3;
    }
    
    .footer-contact li i {
        font-size: 0.625rem;
        margin-bottom: 2px;
        display: block;
    }
    
    .footer-contact li span {
        display: block;
        word-break: keep-all;
        white-space: nowrap;
        text-align: center;
        width: 100%;
        font-size: 0.5625rem !important;
        max-width: 100%;
        font-variant-numeric: normal;
    }
    
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 16px 8px;
        margin-top: 16px;
    }
    
    .footer-bottom p {
        font-size: 0.6875rem;
        line-height: 1.5;
        max-width: 100%;
    }
    
    .footer-links {
        font-size: 0.75rem;
    }
    
    .developer-credit {
        color: #F59E0B;
        font-weight: 600;
    }
    
    /* Scroll to Top */
    .scroll-top {
        width: 50px;
        height: 50px;
        bottom: 24px;
        right: 24px;
    }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
    :root {
        --section-padding: 50px 0;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 32px;
    }
    
    .section-tag {
        font-size: 0.75rem;
        padding: 6px 16px;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        margin-bottom: 16px;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* Header */
    .navbar {
        padding: 12px 0;
    }
    
    .logo-img {
        height: 40px;
        width: 40px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .logo-sub {
        font-size: 0.5rem;
    }
    
    /* Hero */
    .hero {
        min-height: 50vh;
        padding-top: 80px;
        padding-bottom: 30px;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 5.5vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 0.9375rem;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    /* About */
    .about-image img {
        min-height: 250px;
    }
    
    .about-badge {
        padding: 10px 16px;
        font-size: 0.8125rem;
    }
    
    .about-badge i {
        font-size: 1.25rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Programs */
    .program-card {
        padding: 28px 20px;
    }
    
    .program-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .program-number {
        font-size: 2.5rem;
    }
    
    .program-card h3 {
        font-size: 1.5rem;
    }
    
    .featured-badge {
        font-size: 0.6875rem;
        padding: 6px 16px;
    }
    
    /* Impact */
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .impact-card {
        padding: 32px 24px;
    }
    
    .impact-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .impact-content h3 {
        font-size: 2.5rem;
    }
    
    /* Gallery */
    .gallery-item {
        height: 250px;
    }
    
    .gallery-grid {
        gap: 16px;
    }
    
    .gallery-overlay {
        padding: 20px;
    }
    
    .gallery-overlay h4 {
        font-size: 1.25rem;
    }
    
    .gallery-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    /* Contact */
    .contact-form {
        padding: 24px 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px 18px;
        font-size: 0.9375rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 50px 0 0;
    }
    
    .footer-content {
        gap: 32px;
    }
    
    .footer-logo img {
        height: 45px;
        width: 45px;
    }
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
    
    .footer-logo span {
        font-size: 0.5625rem;
    }
    
    .footer-section h4 {
        font-size: 1.125rem;
        margin-bottom: 20px;
    }
    
    .footer-section ul li a,
    .footer-contact li,
    .footer-about p {
        font-size: 0.9375rem;
    }
    
    .footer-social a {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
    }
    
    .footer-bottom {
        padding: 20px 12px;
    }
    
    .footer-bottom p {
        font-size: 0.875rem;
    }
    
    /* Scroll to Top */
    .scroll-top {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
        font-size: 1.125rem;
    }
}

/* Extra Small Mobile - 360px and below */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
    
    .program-card {
        padding: 24px 16px;
    }
    
    .gallery-item {
        height: 220px;
    }
    
    .contact-form {
        padding: 20px 16px;
    }
}

/* ===== MOBILE TOUCH OPTIMIZATIONS ===== */

/* Improve tap targets for mobile */
@media (max-width: 768px) {
    a, button, input, select, textarea, .btn, .nav-link {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove tap highlight color on mobile */
    * {
        -webkit-tap-highlight-color: rgba(139, 92, 246, 0.2);
        -webkit-touch-callout: none;
    }
    
    /* Prevent zoom on input focus (iOS) */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px !important;
    }
    
    /* Smooth scrolling for mobile */
    html {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Better button press feedback */
    .btn:active,
    button:active,
    a:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* Landscape mode optimization for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .nav-menu {
        height: calc(100vh - 70px);
    }
}

/* High DPI screens (Retina displays) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ===== AOS ANIMATIONS ===== */
[data-aos] {
    pointer-events: auto;
}

/* ===== PRINT STYLES ===== */
@media print {
    .header, .nav-toggle, .scroll-top, .hero-buttons, .contact-form {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    body {
        font-size: 12pt;
    }
}
