/* ===== Base Styles ===== */
:root {
    /* Color Palette */
    --primary-color: #0d9488;       /* Teal */
    --primary-dark: #0f766e;        /* Darker Teal */
    --primary-light: #2dd4bf;       /* Lighter Teal */
    --secondary-color: #0ea5e9;     /* Blue */
    --secondary-dark: #0284c7;      /* Darker Blue */
    --accent-color: #06b6d4;        /* Cyan */
    --dark-color: #0f172a;          /* Dark Blue-Gray */
    --darker-color: #020617;        /* Near Black */
    --light-color: #f8fafc;         /* Off-White */
    --gray-color: #64748b;          /* Medium Gray */
    --light-gray: #e2e8f0;          /* Light Gray */
    --success-color: #10b981;       /* Green */
    --warning-color: #f59e0b;       /* Amber */
    --danger-color: #ef4444;        /* Red */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-dark: linear-gradient(135deg, var(--darker-color), #1e293b);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;
    --section-padding-mobile: 60px 0;
    
    /* Border Radius */
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-primary: 0 0 15px rgba(13, 148, 136, 0.5);
    --shadow-secondary: 0 0 15px rgba(14, 165, 233, 0.5);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --transition-fast: all 0.15s ease;
}

/* ===== Reset & Base Styles ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--light-color);
    background-color: var(--darker-color);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--light-color);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--light-color);
    opacity: 0.9;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.section-dark {
    background-color: rgba(15, 23, 42, 0.7);
    position: relative;
    z-index: 1;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(2, 6, 23, 0.95) 100%);
    z-index: -1;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--primary-light);
    margin-bottom: 0;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--light-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--darker-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.logo-shape {
    width: 80px;
    height: 80px;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    position: relative;
    animation: rotate 2s linear infinite;
    margin-bottom: 15px;
}

.logo-shape::before,
.logo-shape::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.logo-shape::before {
    width: 60px;
    height: 60px;
    border: 4px solid var(--secondary-color);
    top: 6px;
    left: 6px;
    animation: rotate 3s linear infinite reverse;
}

.logo-shape::after {
    width: 40px;
    height: 40px;
    border: 4px solid var(--accent-color);
    top: 16px;
    left: 16px;
    animation: rotate 4s linear infinite;
}

.preloader-logo span {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-color);
    margin-top: 10px;
    letter-spacing: 2px;
}

.preloader-progress {
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ===== Custom Cursor ===== */
.cursor,
.cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease, opacity 0.3s ease;
    will-change: transform;
    display: none;
}

.cursor {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    z-index: 10000;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    z-index: 9999;
    transition: all 0.3s ease-out;
    pointer-events: none;
    opacity: 0.7;
}

/* Show cursor only on desktop */
@media (min-width: 992px) {
    .cursor,
    .cursor-follower {
        display: block;
    }
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    padding: 15px 0;
    background: rgba(2, 6, 23, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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




/* Logo styles */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px; /* Adjust as needed */
    width: auto;
    margin-right: 10px;
}

/* Hide the text logo on mobile if needed */
@media (max-width: 768px) {
    .logo-text {
        display: none;
    }
    
    .logo-img {
        height: 35px; /* Slightly smaller on mobile */
    }
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 8px;
    margin-right: 10px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(10deg) scale(1.1);
}


.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-link {
    color: var(--light-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-light);
}

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

.nav-links .btn {
    margin-left: 20px;
    padding: 8px 20px;
    font-size: 0.8rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--light-color);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%), 
                url('../images/hero-bg.jpg') no-repeat center center/cover;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--light-color);
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.hero-buttons .btn {
    min-width: 180px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: var(--gradient-primary);
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.3);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(13, 148, 136, 0.4);
}

.hero-buttons .btn-secondary {
    background: transparent;
    border: 2px solid var(--light-color);
    color: var(--light-color);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--light-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
    opacity: 0.7;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.hero-scroll:hover {
    opacity: 1;
    color: var(--primary-light);
}

.scroll-icon {
    margin-top: 10px;
    position: relative;
    width: 24px;
    height: 40px;
    border: 2px solid var(--light-color);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.mouse {
    width: 4px;
    height: 10px;
    background-color: var(--light-color);
    border-radius: 2px;
    animation: scrollAnimation 2s infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(13, 148, 136, 0.1) 0%, rgba(2, 6, 23, 0.9) 70%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes scrollAnimation {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(13, 148, 136, 0.3);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
    color: white;
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.3);
    transition: var(--transition);
}

.about-card:hover .about-icon {
    transform: scale(1.1) rotate(5deg);
}

.about-card h3 {
    color: var(--primary-light);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.about-card p {
    color: var(--light-color);
    opacity: 0.9;
    margin-bottom: 0;
}

.values-section {
    margin-top: 80px;
    text-align: center;
}

.values-section h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--light-color);
    position: relative;
    display: inline-block;
}

.values-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 30px 25px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(13, 148, 136, 0.3);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
    transition: var(--transition);
}

.value-item:hover .value-icon {
    transform: rotateY(180deg);
}

.value-item h4 {
    color: var(--primary-light);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.value-item p {
    color: var(--light-color);
    opacity: 0.9;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===== Programs Section ===== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.program-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-lg);
    padding: 40px 25px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(13, 148, 136, 0.3);
}

.program-card:hover::before {
    height: 100%;
    opacity: 0.1;
}

.program-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
    color: white;
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.3);
    transition: var(--transition);
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-primary);
}

.program-card h3 {
    color: var(--light-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.program-card p {
    color: var(--light-color);
    opacity: 0.9;
    margin-bottom: 25px;
    min-height: 80px;
}

.program-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.program-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.program-link:hover {
    color: var(--secondary-color);
}

.program-link:hover i {
    transform: translateX(5px);
}

/* ===== Impact Section ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(13, 148, 136, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 10px;
    font-family: var(--font-heading);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--light-color);
    opacity: 0.9;
    font-weight: 500;
}

/* ===== Stories Section ===== */
.stories-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.stories-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.story-card {
    min-width: 100%;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(13, 148, 136, 0.3);
}

.story-content {
    position: relative;
    padding: 0 20px;
}

.quote-icon {
    position: absolute;
    top: -30px;
    left: -10px;
    font-size: 6rem;
    color: rgba(13, 148, 136, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.story-content p {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--light-color);
    opacity: 0.9;
}

.story-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
}

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

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary-light);
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== Get Involved Section ===== */
.involve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.involve-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.involve-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.involve-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(13, 148, 136, 0.3);
}

.involve-card:hover::before {
    height: 100%;
    opacity: 0.1;
}

.involve-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
    color: white;
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.3);
    transition: var(--transition);
}

.involve-card:hover .involve-icon {
    transform: scale(1.1) rotate(5deg);
}

.involve-card h3 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 1.75rem;
}

.involve-card p {
    color: var(--light-color);
    opacity: 0.9;
    margin-bottom: 30px;
}

.involve-card .btn {
    min-width: 180px;
}

/* ===== Partners Section ===== */
.partners-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.partner-logo {
    opacity: 0.7;
    transition: var(--transition);
    filter: grayscale(100%);
    max-width: 150px;
    padding: 15px;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-5px);
}

.partner-logo img {
    max-height: 60px;
    width: auto;
    margin: 0 auto;
    transition: var(--transition);
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.contact-info h2 {
    margin-bottom: 30px;
    color: var(--light-color);
}

.contact-info p {
    margin-bottom: 30px;
    max-width: 400px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 5px;
    color: var(--primary-light);
    font-size: 1.1rem;
}

.contact-text p, .contact-text a {
    margin: 0;
    color: var(--light-color);
    opacity: 0.9;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--primary-light);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--light-color);
    font-size: 16px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 148, 136, 0.3);
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-form h3 {
    margin-bottom: 25px;
    color: var(--light-color);
    font-size: 1.75rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--light-color);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(2, 6, 23, 0.9) 100%);
    text-align: center;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-text h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--light-color);
}

.newsletter-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--light-color);
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 1rem;
    color: var(--dark-color);
    background: white;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form .btn {
    border-radius: 0;
    padding: 15px 30px;
    font-weight: 600;
    white-space: nowrap;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about {
    padding-right: 20px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-about p {
    color: var(--light-color);
    opacity: 0.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--light-color);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-programs h4,
.footer-contact h4 {
    font-size: 1.25rem;
    color: var(--light-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-programs h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links ul,
.footer-programs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a,
.footer-programs a {
    color: var(--light-color);
    opacity: 0.7;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

.footer-links a::before,
.footer-programs a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition);
    color: var(--primary-color);
}

.footer-links a:hover,
.footer-programs a:hover {
    color: var(--primary-light);
    opacity: 1;
    transform: translateX(5px);
}

.footer-links a:hover::before,
.footer-programs a:hover::before {
    opacity: 1;
    left: -15px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--light-color);
    opacity: 0.7;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-info i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    text-align: center;
}

.copyright {
    color: var(--light-color);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-legal a {
    color: var(--light-color);
    opacity: 0.7;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-light);
    opacity: 1;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 20px rgba(13, 148, 136, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    border: none;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.4);
}

/* ===== Animations ===== */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(13, 148, 136, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(13, 148, 136, 0);
    }
}

/* ===== Responsive Styles ===== */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: rgba(2, 6, 23, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0 0 20px 0;
        width: 100%;
    }
    
    .nav-links .btn {
        margin: 20px 0 0;
        width: 100%;
        text-align: center;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-grid,
    .values-grid,
    .programs-grid,
    .involve-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        margin-bottom: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
        border-radius: var(--border-radius);
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
        padding: 15px 20px;
    }
    
    .newsletter-form .btn {
        border-radius: 0 0 var(--border-radius) var(--border-radius) !important;
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-about {
        padding-right: 0;
    }
    
    .footer-logo {
        font-size: 1.8rem;
    }
    
    .footer-links,
    .footer-programs,
    .footer-contact {
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .hero {
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .about-card,
    .program-card,
    .involve-card,
    .contact-form {
        padding: 30px 20px;
    }
    
    .story-card {
        padding: 30px 20px 30px 30px;
    }
    
    .quote-icon {
        font-size: 5rem;
        top: -25px;
        left: -5px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 15px;
        right: 15px;
    }
}
