/* ===================================================================
   OSOSA Alumni Website - Consolidated CSS File
   All CSS styles consolidated from header, footer, and slider files
   =================================================================== */

/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --text-dark: #374151;
    --text-light: #6b7280;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --gradient-2: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --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);
}

/* ===================================================================
   BASE STYLES
   =================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ===================================================================
   HEADER STYLES
   =================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.header.scrolled .nav-link {
    color: var(--text-dark);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 200px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.join-btn {
    background: var(--gradient-1);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================================================
   MOBILE NAVIGATION
   =================================================================== */

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.3s ease;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    position: relative;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo {
    display: flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
}

.mobile-logo img {
    height: 50px;
    width: auto;
    max-width: 150px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-logo img:hover {
    transform: scale(1.05);
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.mobile-nav-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 40px 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    transform: translateX(-50px);
    opacity: 0;
    animation: slideInMobile 0.5s ease forwards;
}

.mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-link:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav-link:nth-child(4) { animation-delay: 0.4s; }

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--gradient-1);
    transform: translateX(0) scale(1.02);
}

.mobile-nav-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.mobile-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-2);
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 25px;
    border-radius: 12px;
    margin-top: 20px;
    transition: all 0.3s ease;
    transform: translateY(30px);
    opacity: 0;
    animation: slideUpMobile 0.5s ease forwards 0.5s;
}

.mobile-nav-cta:hover {
    transform: translateY(0) scale(1.05);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.mobile-nav-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: scale(0);
    animation: scaleInMobile 0.4s ease forwards;
}

.mobile-social-link:nth-child(1) { animation-delay: 0.6s; }
.mobile-social-link:nth-child(2) { animation-delay: 0.7s; }
.mobile-social-link:nth-child(3) { animation-delay: 0.8s; }
.mobile-social-link:nth-child(4) { animation-delay: 0.9s; }

.mobile-social-link:hover {
    background: var(--gradient-1);
    transform: scale(1.1);
}

.mobile-nav-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* ===================================================================
   HERO SLIDER SECTION
   =================================================================== */

.hero-slider {
    position: relative;
    height: 60vh;
    max-height: 500px;
    min-height: 400px;
    overflow: hidden;
    margin: 100px auto 40px auto;
    padding-top: 0;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    max-width: 1200px;
    width: calc(100% - 40px);
    --watermark-bg: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--watermark-bg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    z-index: 2;
    pointer-events: none;
    transition: background-image 0.5s ease;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.7);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    max-width: 800px;
    width: 90%;
}

.slide-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease forwards 0.5s;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease forwards 0.7s;
}

.slide-content .hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease forwards 0.9s;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 16px 32px;
    border: 2px solid var(--white);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--white);
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

/* Progress Bar */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 3;
}

.progress-fill {
    height: 100%;
    background: var(--white);
    width: 0%;
    transition: width 6s linear;
}

/* ===================================================================
   UI COMPONENTS
   =================================================================== */

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--gradient-2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* Loading Progress Bar */
.loading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loading-progress.active {
    opacity: 1;
}

.loading-progress-bar {
    height: 100%;
    background: var(--gradient-1);
    width: 0%;
    transition: width 0.3s ease;
}

/* Page Transition Loader */
.page-transition-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.page-transition-loader .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-color);
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(37, 99, 235, 0.1);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ===================================================================
   PAGE SECTIONS
   =================================================================== */

/* Page Header */
.page-header {
    background: var(--gradient-1);
    padding: 140px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--light-color);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--dark-color);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    font-weight: 500;
}

/* News & Events Section */
.news-events {
    padding: 100px 0;
    background: var(--light-color);
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.news-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.news-content {
    padding: 24px;
}

.news-date {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 16px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: var(--secondary-color);
    gap: 12px;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--gradient-2);
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 24px;
}

.cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* ===================================================================
   ABOUT PAGE STYLES
   =================================================================== */

.about-content {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 24px;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Mission Vision Values */
.mvv-section {
    background: var(--light-color);
    padding: 100px 0;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.mvv-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 32px;
    color: var(--white);
}

.mvv-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.mvv-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Timeline */
.timeline-section {
    padding: 100px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 60%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 60%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.timeline-year {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.timeline-desc {
    color: var(--text-light);
    line-height: 1.7;
}

/* Leadership Team */
.leadership-section {
    background: var(--light-color);
    padding: 100px 0;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* Leadership Grid Responsive Design */
@media (max-width: 1200px) {
    .leadership-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

.leader-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.leader-card:hover::before {
    transform: scaleX(1);
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.leader-image {
    width: 100%;
    max-width: 200px;
    height: 200px;
    border-radius: 12px;
    margin: 0 auto 20px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-image .leader-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 12px;
}

.leader-image .leader-placeholder i {
    font-size: 50px;
    color: var(--white);
    opacity: 0.8;
}

.leader-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.leader-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 16px;
}

.leader-bio {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* View More Section */
.view-more-section {
    text-align: center;
    margin-top: 60px;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-1);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
    color: var(--white);
}

.view-more-btn i {
    transition: transform 0.3s ease;
}

.view-more-btn:hover i {
    transform: translateX(3px);
}

/* About Page Leadership Section - Unique Classes to Avoid Conflicts */
.about-leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.about-leader-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
}

.about-leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-leader-card:hover::before {
    transform: scaleX(1);
}

.about-leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-leader-image {
    width: 100%;
    max-width: 200px;
    height: 200px;
    border-radius: 12px;
    margin: 0 auto 20px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.about-leader-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 12px;
}

.about-leader-placeholder i {
    font-size: 50px;
    color: var(--white);
    opacity: 0.8;
}

.about-leader-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.about-leader-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 16px;
}

.about-leader-bio {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.about-leader-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.about-leader-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    color: var(--white);
}

.about-view-more-section {
    text-align: center;
    margin-top: 60px;
}

.about-view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-1);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.about-view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
    color: var(--white);
}

.about-view-more-btn i {
    transition: transform 0.3s ease;
}

.about-view-more-btn:hover i {
    transform: translateX(3px);
}

/* About Leadership Grid Responsive Design */
@media (max-width: 1200px) {
    .about-leadership-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-leadership-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-leader-image {
        max-width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .about-leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .about-leader-image {
        max-width: 120px;
        height: 120px;
    }
    
    .about-leader-card {
        padding: 20px;
    }
}

/* ===================================================================
   GALLERY STYLES
   =================================================================== */

.filter-section {
    padding: 80px 0 40px;
    background: var(--light-color);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.filter-btn {
    background: var(--white);
    color: var(--text-dark);
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.gallery-section {
    padding: 0 0 100px;
    background: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 48px;
    color: var(--white);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 30px 20px 20px;
}

.gallery-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-category {
    font-size: 0.9rem;
    opacity: 0.8;
}

.gallery-item.hidden {
    display: none !important; /* Force hide with !important */
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-item.visible {
    display: block !important; /* Force show with !important */
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
    animation: fadeInScale 0.3s ease-in-out;
}

/* Add smooth fade-in animation for filtered items */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-title {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 25px;
    max-width: 80%;
    text-align: center;
}

.lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
}

/* ===================================================================
   CONTACT PAGE STYLES
   =================================================================== */

.contact-section {
    padding: 100px 0;
    background: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light-color);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--secondary-color);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.form-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group.focused label {
    transform: translateY(-20px) scale(0.85);
    color: var(--primary-color);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.form-group label {
    position: absolute;
    top: 12px;
    left: 12px;
    transition: all 0.3s ease;
    pointer-events: none;
    color: var(--text-light);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input,
.form-group textarea {
    padding-top: 20px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: var(--gradient-1);
    color: var(--white);
    padding: 18px 32px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Social Links */
.social-section {
    margin-top: 50px;
    text-align: center;
}

.social-section h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--white);
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.map-header {
    margin-bottom: 50px;
}

.map-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.map-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.map-embed {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    border: none;
    box-shadow: var(--shadow-lg);
}

/* Success/Error Messages */
.success-message {
    background: #10b981;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideDown 0.3s ease;
}

.error-message {
    background: #ef4444;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.error-message.show {
    display: block;
    animation: slideDown 0.3s ease;
}

.error-text {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 5px;
}

/* ===================================================================
   FOOTER STYLES
   =================================================================== */

.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================================================
   ANIMATIONS & KEYFRAMES
   =================================================================== */

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInMobile {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideUpMobile {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleInMobile {
    to {
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Image Loading */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .join-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header::before {
        opacity: 0.12;
    }

    .hero-slider {
        height: 50vh;
        min-height: 350px;
        max-height: 400px;
    }

    .hero-slider::before {
        opacity: 0.12;
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-arrow.prev {
        left: 15px;
    }

    .slider-arrow.next {
        right: 15px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-card {
        margin: 0 auto;
        max-width: 400px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
    }    .timeline-dot {
        left: 20px;
    }

    .filter-buttons {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info,
    .contact-form {
        padding: 40px 30px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-info h2,
    .form-header h2,
    .map-header h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
        top: 10px;
        right: 10px;
    }
    
    .lightbox-title {
        font-size: 16px;
        padding: 8px 16px;
        bottom: 10px;
    }
}

/* ===================================================================
   LEADERSHIP CAROUSEL STYLES
   =================================================================== */

.leadership-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    overflow: visible; /* Change from hidden to visible for arrow positioning */
}

.leadership-carousel {
    position: relative;
    overflow: hidden;
    min-height: 350px;
    margin: 0 30px; /* Add margin for arrow space */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    align-items: stretch;
}

.leader-card-carousel {
    flex: 0 0 25%; /* Default 4 columns */
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.leader-card-carousel .leader-image {
    width: 300px;
    height: 300px;
    margin: 0 auto 20px;
    border-radius: 12px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.leader-card-carousel .leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-card-carousel .leader-image i {
    font-size: 40px;
    color: var(--white);
}

.leader-card-carousel .leader-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.leader-card-carousel .leader-position {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.leader-card-carousel .leader-bio {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 60px;
    flex-grow: 1;
}

.leader-details-btn {
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.leader-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 -10px; /* Extend outside container */
    pointer-events: none;
    z-index: 10; /* Ensure controls are above carousel content */
}

.carousel-btn {
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 11;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

.carousel-btn:disabled:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Touch/Swipe support for mobile */
.leadership-carousel-container {
    touch-action: pan-y;
    user-select: none;
}

/* Responsive Carousel Styles */
@media (max-width: 1200px) {
    .leader-card-carousel {
        flex: 0 0 33.333%; /* 3 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .leadership-carousel {
        margin: 0; /* Remove margin on mobile */
    }
    
    .carousel-controls .prev-btn,
    .carousel-controls .next-btn {
        left: auto;
        right: auto;
        position: static;
        margin: 0 10px;
    }
    
    .carousel-controls {
        position: static;
        transform: none;
        display: flex;
        justify-content: center;
        margin-top: 20px;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .leader-card-carousel {
        flex: 0 0 100%; /* 1 column on mobile */
    }

    .leadership-carousel-container {
        padding: 20px 10px;
    }    .leader-card-carousel .leader-bio {
        min-height: auto;
    }
}

/* ===================================================================
   LEADERS PAGE STYLES
   =================================================================== */

.leaders-content {
    padding: 60px 0;
    background: var(--light-color);
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* Leaders Page Grid Responsive Design */
@media (max-width: 1024px) {
    .leaders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .leaders-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .leaders-content .leader-image-container {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .leaders-content .leader-image-container {
        height: 160px;
    }
}

.leader-card-detailed {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.leader-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.leaders-content .leader-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.leaders-content .leader-image-container .leader-image {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: var(--gradient-1);
}

.leaders-content .leader-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;    background: var(--gradient-1);
    color: var(--white);
    font-size: 2rem;
}

/* Leaders Page Specific Styling - Only affects leaders.blade.php */
.leaders-content .leader-info {
    padding: 20px;
}

.leaders-content .leader-info .leader-name {
    text-align: center;
}

.leaders-content .leader-info .leader-position {
    text-align: center;
}

.leaders-content .leader-info .leader-contact {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.leaders-content .leader-info .contact-link {
    width: 35px;
    height: 35px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.leaders-content .leader-info .contact-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Profile Details Page Styles */
.profile-details-content {
    padding: 80px 0;
    background: var(--white);
}

.profile-details-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-details-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    background: var(--gradient-1);
}

.profile-details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
    background: var(--gradient-1);
}

.profile-details-info {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.profile-details-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    text-align: center;
}

.profile-position {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.profile-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--light-color);
    border-radius: 12px;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.profile-contact-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.profile-contact-item i {
    width: 20px;
    font-size: 1.1rem;
}

.profile-bio {
    margin-bottom: 30px;
}

.profile-bio h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.profile-bio p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.profile-actions {
    margin-top: 40px;
}

.profile-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.profile-back-btn:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.more-leaders-section {
    padding: 80px 0;
    background: var(--light-color);
}

.more-leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.more-leader-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.more-leader-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.more-leader-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--gradient-1);
}

.more-leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.more-leader-info {
    padding: 20px;
    text-align: center;
}

.more-leader-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.more-leader-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.more-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.more-view-btn:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .profile-details-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .profile-details-info {
        padding: 30px;
    }
    
    .profile-details-info h2 {
        font-size: 2rem;
    }
    
    .more-leaders-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .profile-details-content {
        padding: 60px 0;
    }
    
    .profile-details-container {
        gap: 30px;
    }
    
    .profile-details-info {
        padding: 20px;
    }
    
    .profile-details-info h2 {
        font-size: 1.8rem;
    }
    
    .more-leader-image {
        height: 180px;
    }
}
.single-leader-content {
    padding: 80px 0;
    background: var(--white);
}

.single-leader-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.single-leader-photo {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    background: var(--gradient-1);
}

.single-leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.single-leader-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
    background: var(--gradient-1);
}

.single-leader-profile {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.single-leader-profile h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    text-align: center;
}

.single-leader-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Single Leader Contact Items */
.single-leader-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.single-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--light-color);
    border-radius: 12px;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.single-contact-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.single-contact-item i {
    width: 20px;
    font-size: 1.1rem;
}

/* Single Leader Biography Section */
.single-leader-biography {
    margin-bottom: 30px;
}

.single-leader-biography h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.single-leader-biography p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Single Leader Navigation */
.single-leader-navigation {
    margin-top: 40px;
}

.single-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.single-back-btn:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Related Leaders Section */
.related-leaders-section {
    padding: 80px 0;
    background: var(--light-color);
}

.related-leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.related-leader-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.related-leader-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.related-leader-photo {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.related-leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.related-leader-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    color: var(--white);
    font-size: 2rem;
}

.related-leader-details {
    padding: 20px;
    text-align: center;
}

.related-leader-details h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.related-leader-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.related-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.related-view-btn:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
}

/* Single Leader Details Responsive Design */
@media (max-width: 768px) {
    .single-leader-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .single-leader-profile {
        padding: 30px;
    }
    
    .single-leader-profile h2 {
        font-size: 2rem;
    }
      .related-leaders-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .single-leader-content {        padding: 60px 0;
    }
    
    .single-leader-layout {
        gap: 30px;
    }
    
    .single-leader-profile {
        padding: 20px;
    }
    
    .single-leader-profile h2 {
        font-size: 1.8rem;
    }
    
    .related-leader-photo {
        height: 180px;
    }
}

/* ===================================================================
   CUSTOM STYLES
   =================================================================== */

/* Add any custom styles below this line */

/* Leader Overlay and Detail Button for Leaders Page */
.leader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.leader-image-container:hover .leader-overlay {
    opacity: 1;
    visibility: visible;
}

.leader-detail-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.leader-image-container:hover .leader-detail-btn {
    transform: translateY(0);
}

.leader-detail-btn:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.05);
}

.leader-detail-btn i {
    font-size: 1.2rem;
}

.leader-detail-btn span {
    font-size: 0.9rem;
}