/* ========================================
   MOBILE MENU HAMBURGER ICON FIX
   ======================================== */

.mobile-menu-btn {
    display: none;
    position: fixed !important;
    /* respect mobile safe areas (notches) and stay visible */
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px));
    /* ensure the hamburger sits above other floating UI (e.g. WhatsApp) */
    z-index: 100010 !important;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text);
    padding: 10px;
    width: 50px;
    height: 50px;
    transition: var(--transition);
}

.mobile-menu-btn i {
    display: block !important;
    font-size: 28px;
    color: #2d2d2d;
    line-height: 1;
}

/* Show hamburger menu on mobile */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Hide desktop navigation on mobile */
    nav ul {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        z-index: 9998;
    }

    nav ul.active {
        display: flex !important;
    }

    nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    nav ul li a.nav-link::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ========================================
   RESPONSIVE MEDIA — make images, media & frames scale across devices
   ======================================== */

/* Base: ensure common media elements never overflow their containers */
img, picture, video, canvas, svg, iframe, embed, object {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility classes for cover vs contain behaviours */
.img-fluid {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.responsive-iframe {
    width: 100%;
    border: 0;
    display: block;
    aspect-ratio: 16/9;
    height: auto;
}

/* Specific components adjustments (cards, galleries, modals, maps) */
.program-image { /* keep aesthetic card height on desktop but be responsive */
    height: 250px; /* desktop default - will be adjusted in breakpoints below */
}

.program-detail-image img,
.modal-image-content,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-detail-image img { object-fit: contain; } /* detail pages should show full image */

.map-container iframe {
    width: 100% !important;
    height: auto !important;
    min-height: 260px;
}

/* Breakpoints — adjust heights to fit smaller screens gracefully */
@media (max-width: 1200px) {
    .program-image { height: 220px; }
    .gallery-item { height: 260px; }
}

@media (max-width: 992px) {
    .program-image { height: 200px; }
    .gallery-item { height: 220px; }
}

@media (max-width: 768px) {
    .program-image { height: 180px; }
    .gallery-item { height: 200px; }
}

@media (max-width: 480px) {
    .program-image { height: 140px; }
    .gallery-item { height: 150px; }
    .modal-image-content { max-width: 95%; max-height: 70vh; }
}


/* ========================================
   WHATSAPP FLOATING BUTTON FIX
   ======================================== */

.whatsapp-float {
    position: fixed !important;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    z-index: 99999 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    visibility: visible !important;
    opacity: 1 !important;
    
    /* Remove all lines and decorations */
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    box-sizing: border-box;
}

.whatsapp-float a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
    color: white !important;
}

.whatsapp-float * {
    text-decoration: none !important;
    border: none !important;
}

.whatsapp-float:hover,
.whatsapp-float:focus,
.whatsapp-float:active {
    background-color: #128C7E;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
    text-decoration: none !important;
    outline: none !important;
}

.whatsapp-float i {
    color: white !important;
    font-size: 32px;
    display: block;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background-color: #25D366;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #25D366;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    right: 75px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile responsive for WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 56px !important;
        height: 56px !important;
        bottom: 70px !important;
        right: 15px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .whatsapp-float i {
        font-size: 28px !important;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        bottom: 60px !important;
        right: 12px !important;
    }
    
    .whatsapp-float i {
        font-size: 24px !important;
    }
    
    .mobile-menu-btn {
        top: calc(8px + env(safe-area-inset-top, 0px));
        right: calc(8px + env(safe-area-inset-right, 0px));
        width: 45px;
        height: 45px;
    }
    
    .mobile-menu-btn i {
        font-size: 24px;
    }
}

.whatsapp-float.hide {
    transform: translateY(100px);
    opacity: 0;
}

/* Ensure scroll-to-top button doesn't overlap WhatsApp */
.scroll-top-btn {
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9998 !important;
}

@media screen and (max-width: 767px) {
    .scroll-top-btn {
        bottom: 15px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
    }
}

/* Force visibility on all elements */
body .whatsapp-float {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body .mobile-menu-btn {
    visibility: visible !important;
}

@media (max-width: 768px) {
    body .mobile-menu-btn {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* ========================================
   RESET AND BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #D8A428;
    --secondary: #7A4B2F;
    --light: #f8f9fa;
    --dark: #343a40;
    --success: #28a745;
    --text: #2C2C2C;
    --text1: white;
    --text-light: #6c757d;
    --shadow: 0 4px 6px rgba(198, 147, 32, 0.2);
    --transition: all 0.3s ease;
    --logo-accent: #E3B53D;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 10px;
}

/* ========================================
   HEADER STYLES
   ======================================== */
header {
    background-color: #FFFFFF;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0; 
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px; 
    width: auto; 
    max-width: 100%;
    transform: translateZ(0);
    transition: transform 0.5s ease;
    background-color: transparent;
    mix-blend-mode: multiply;
    object-fit: contain;
}

.logo:hover img {
    transform: translateZ(25px) rotateY(10deg);
}

.logo-text h1 {
    font-size: 1.7rem;
    color: var(--text); 
}

.logo-text p {
    font-size: 0.85rem;
    color: var(--text);
}

/* Responsive sizing for different screens */
@media screen and (max-width: 1080px) {
    .logo img {
        height: 90px; 
    }
}

@media screen and (max-width: 720px) {
    .logo img {
        height: 80px; 
    }
}

/* ========================================
   NAVIGATION STYLES
   ======================================== */
nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 5px;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 15px;
    display: block;
}

nav ul li a.nav-link:hover {
    color: var(--primary);
}

nav ul li a.nav-link.active {
    color: var(--primary);
}

nav ul li a.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 15px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav ul li a.nav-link:hover::after,
nav ul li a.nav-link.active::after {
    width: calc(100% - 30px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(rgba(122, 75, 47, 0.7), rgba(122, 75, 47, 0.7)), url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #FFFFFF;
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    transform: translateZ(0);
    transition: transform 0.5s ease;
}

.hero:hover .hero-content {
    transform: translateZ(30px);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    transform: translateZ(0);
    perspective: 1000px;
    background-color: var(--primary);
    color: #FFFFFF;
    font-size: 1.1rem;
    margin: 10px;
}

.cta-button:hover {
    background-color: #C69320;
    transform: translateY(-3px) translateZ(20px);
    box-shadow: 0 10px 20px rgba(198, 147, 32, 0.4);
}

.cta-secondary {
    background-color: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
}

.cta-secondary:hover {
    background-color: #FFFFFF;
    color: var(--primary);
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
    background: linear-gradient(rgba(122, 75, 47, 0.8), rgba(122, 75, 47, 0.8)), url('https://images.unsplash.com/photo-1497633762265-9d179a990aa6?q=80&w=2073&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    text-align: center;
    padding: 150px 0 80px;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ========================================
   SECTION STYLES
   ======================================== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    transform: translateZ(0);
    transition: transform 0.5s ease;
}

.section-title:hover h2 {
    transform: translateZ(30px);
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   ABOUT PAGE SPECIFIC STYLES
   ======================================== */
.our-story-section {
    background-color: white;
    padding: 80px 0;
}

.section-label {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.story-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--primary);
}

.highlight-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text);
}

.highlight-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 30px;
    font-style: italic;
}

.image-caption i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.image-caption span {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* ========================================
   MISSION & VISION SECTION
   ======================================== */
.mission-vision-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission-box,
.vision-box {
    background-color: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mission-box:hover,
.vision-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #C69320 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.icon-wrapper i {
    font-size: 2.5rem;
    color: white;
}

.mission-box h2,
.vision-box h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.mission-points,
.vision-points {
    list-style: none;
    margin-top: 25px;
}

.mission-points li,
.vision-points li {
    padding: 12px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 15px;
}

.mission-points li i,
.vision-points li i {
    color: var(--success);
    font-size: 1.2rem;
}

.vision-points li i {
    color: var(--primary);
}

/* ========================================
   TIMELINE SECTION
   ======================================== */
.timeline-section {
    background-color: white;
    padding: 100px 0;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 50px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: white;
    border: 4px solid var(--primary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -13px;
}

.timeline-content {
    padding: 30px;
    background-color: white;
    position: relative;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, #C69320 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.timeline-content h3 {
    color: var(--text);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   ENHANCED TEAM SECTION
   ======================================== */
.team-section {
    background-color: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.team-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(216, 164, 40, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 15px;
}

.team-social a {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--dark);
    color: white;
    transform: translateY(-5px);
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--text);
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-bio {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ========================================
   RECOGNITION SECTION
   ======================================== */
.recognition-section {
    background-color: white;
    padding: 80px 0;
}

.recognition-content {
    max-width: 1000px;
    margin: 0 auto;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.award-item {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: var(--transition);
}

.award-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.award-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.award-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text);
}

.award-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.partners-section {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.partners-section h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text);
}

.partners-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.partner-logo {
    padding: 15px 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-weight: 600;
    color: var(--text);
}

/* ========================================
   STATS DETAILED SECTION
   ======================================== */
.stats-detailed-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #5a3822 100%);
    color: white;
    padding: 80px 0;
}

.stats-detailed-section .section-title h2 {
    color: white;
}

.stats-detailed-section .section-title p {
    color: rgba(255,255,255,0.9);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-box {
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.2);
}

.stat-box:hover {
    background-color: rgba(255,255,255,0.15);
    transform: translateY(-10px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon i {
    font-size: 2rem;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.stat-box p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.stat-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* ========================================
   PROGRAMS PAGE SPECIFIC STYLES
   ======================================== */
.programs-overview {
    background-color: white;
    padding: 80px 0;
}

.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.overview-card {
    text-align: center;
    padding: 40px 30px;
    background-color: #f8f9fa;
    border-radius: 15px;
    transition: var(--transition);
}

.overview-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.overview-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #C69320 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.overview-icon i {
    font-size: 2.5rem;
    color: white;
}

.overview-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
}

/* ========================================
   PROGRAM NAVIGATION
   ======================================== */
.program-nav-section {
    background-color: #f8f9fa;
    padding: 40px 0;
    position: sticky;
    top: 80px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.program-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.program-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background-color: white;
    border: 2px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.program-nav-item:hover {
    background-color: var(--primary);
    color: white;
}

.program-nav-item i {
    font-size: 1.2rem;
}

/* ========================================
   PROGRAM DETAIL SECTION
   ======================================== */
.program-detail-section {
    padding: 80px 0;
    background-color: white;
}

.program-detail-section.alternate {
    background-color: #f8f9fa;
}

.program-detail-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.program-detail-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 50px;
}

.program-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, #C69320 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-icon-large i {
    font-size: 3.5rem;
    color: white;
}

.program-detail-header h2 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: var(--text);
}

.program-tagline {
    font-size: 1.2rem;
    color: var(--primary);
    font-style: italic;
}

.program-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.program-detail-text {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.program-detail-section.alternate .program-detail-text {
    background-color: white;
}

.content-block {
    margin-bottom: 40px;
}

.content-block h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 15px;
}

.content-block h3 i {
    color: var(--primary);
}

.content-block h4 {
    font-size: 1.3rem;
    margin: 20px 0 10px;
    color: var(--text);
}

.content-block ul {
    margin-left: 20px;
}

.content-block ul li {
    padding: 8px 0;
    color: var(--text-light);
}

/* ========================================
   RATION ITEMS
   ======================================== */
.ration-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.ration-category {
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.ration-category h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.ration-category ul {
    list-style: none;
    margin: 0;
}

.ration-category ul li {
    padding: 8px 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.ration-category ul li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

/* ========================================
   BENEFICIARY TYPES
   ======================================== */
.beneficiary-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.beneficiary-item {
    text-align: center;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: var(--transition);
}

.beneficiary-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.beneficiary-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.beneficiary-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text);
}

.beneficiary-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   IMPACT STATS
   ======================================== */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, #C69320 100%);
    border-radius: 15px;
}

.impact-stat-item {
    text-align: center;
    color: white;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
}

/* ========================================
   EDUCATION PROGRAMS
   ======================================== */
.education-programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.education-item {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-top: 4px solid var(--primary);
}

.edu-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.edu-icon i {
    font-size: 2rem;
    color: white;
}

.education-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text);
}

.education-item ul {
    list-style: none;
    margin: 15px 0;
}

.education-item ul li {
    padding: 6px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.education-item ul li::before {
    content: '→';
    color: var(--primary);
}

/* ========================================
   SUPPORT GRID
   ======================================== */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.support-item {
    padding: 25px;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: var(--transition);
}

.support-item:hover {
    transform: translateY(-5px);
    background-color: white;
    box-shadow: var(--shadow);
}

.support-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* ========================================
   CAREER SERVICES
   ======================================== */
.career-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.service-card {
    padding: 30px;
    background-color: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, #C69320 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text);
}

.service-card ul {
    list-style: none;
    margin: 15px 0;
}

.service-card ul li {
    padding: 6px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card ul li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    margin-right: 10px;
}

/* ========================================
   INDUSTRY PROGRAMS
   ======================================== */
.industry-programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.program-pill {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.program-pill i {
    font-size: 2rem;
    color: var(--primary);
}

.program-pill h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text);
}

.program-pill p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   SECTORS GRID
   ======================================== */
.sectors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.sector-tag {
    padding: 12px 20px;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    color: var(--text);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.sector-tag:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.sector-tag i {
    font-size: 1.2rem;
}

/* ========================================
   SKILL COURSES
   ======================================== */
.skills-courses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.course-box {
    background-color: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.course-box:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.course-header {
    background: linear-gradient(135deg, var(--primary) 0%, #C69320 100%);
    color: white;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.course-header i {
    font-size: 2.5rem;
}

.course-header h4 {
    flex: 1;
    font-size: 1.4rem;
    margin: 0;
}

.course-duration {
    background-color: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.course-body {
    padding: 25px;
}

.course-body h5 {
    font-size: 1.1rem;
    margin: 20px 0 10px;
    color: var(--text);
}

.course-body ul {
    list-style: none;
    margin: 10px 0;
}

.course-body ul li {
    padding: 6px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-body ul li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    margin-right: 10px;
}

.course-fee {
    background-color: #f8f9fa;
    padding: 12px 20px;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: 600;
    color: var(--text);
}

/* ========================================
   ABOUT DETAILED SECTION
   ======================================== */
.about-detailed {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.about-text h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--text);
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
    transform: translateZ(0);
}

.about-image:hover img {
    transform: scale(1.05) translateZ(20px);
}

/* ========================================
   VALUES SECTION
   ======================================== */
.values-section {
    background-color: #f1f5f9;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.value-card:hover {
    transform: translateY(-10px) translateZ(20px);
    box-shadow: 0 15px 30px rgba(198, 147, 32, 0.2);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-section {
    background-color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(198, 147, 32, 0.2);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover img {
    transform: scale(1.1);
}

.team-card h3 {
    font-size: 1.3rem;
    margin: 20px 0 10px;
    color: var(--text);
}

.team-card p {
    color: var(--primary);
    padding-bottom: 20px;
}

/* ========================================
   IMPACT SECTION
   ======================================== */
.impact-section {
    background-color: var(--secondary);
    color: #FFFFFF;
    text-align: center;
}

.impact-section .section-title h2 {
    color: #FFFFFF;
}

.impact-section .section-title h2::after {
    background-color: var(--primary);
}

.impact-section .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

.impact-counters {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.counter {
    flex: 1;
    min-width: 200px;
    padding: 30px;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.5s ease;
}

.counter:hover {
    transform: translateY(-10px) translateZ(20px);
}

.counter i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.counter h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* ========================================
   PROGRAMS SECTION
   ======================================== */
.featured-programs,
.programs-detail {
    background-color: white;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.program-card:hover {
    transform: translateY(-10px) translateZ(20px);
    box-shadow: 0 15px 30px rgba(198, 147, 32, 0.2);
}

.program-image {
    height: 250px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-content {
    padding: 30px;
}

.program-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
}

.program-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* ========================================
   PROGRAM DETAIL PAGES
   ======================================== */
.program-detail {
    margin-bottom: 60px;
}

.program-detail-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.program-detail-content.reverse {
    flex-direction: row-reverse;
}

.program-detail-text {
    flex: 1;
}

.program-detail-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.program-detail-text h3 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: var(--primary);
}

.program-detail-text ul {
    list-style-position: inside;
    margin-bottom: 20px;
}

.program-detail-text ul li {
    padding: 8px 0;
    color: var(--text-light);
}

.program-detail-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.program-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.program-detail-image:hover img {
    transform: scale(1.05);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(rgba(216, 164, 40, 0.9), rgba(216, 164, 40, 0.9)), url('https://images.unsplash.com/photo-1532629345422-7515f3d16bb6?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* ========================================
   GALLERY STYLES
   ======================================== */
.gallery-filters {
    background-color: #f1f5f9;
    padding: 30px 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary);
    background-color: white;
    color: var(--primary);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: white;
}

.gallery-section {
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: var(--shadow);
    height: 300px;
    transition: var(--transition);
}

.gallery-item.hide {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(198, 147, 32, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: var(--primary);
}

/* ========================================
   IMAGE MODAL
   ======================================== */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

.modal-image-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from {transform: scale(0.5)}
    to {transform: scale(1)}
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 20px;
    font-size: 1.2rem;
}

/* ========================================
   SCHOLARSHIP STYLES
   ======================================== */
.scholarship-overview {
    background-color: white;
}

.scholarship-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.scholarship-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.scholarship-card.featured {
    border: 3px solid var(--primary);
    transform: scale(1.05);
}

.scholarship-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.scholarship-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(198, 147, 32, 0.2);
}

.scholarship-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.scholarship-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.scholarship-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
}

.scholarship-amount {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.scholarship-card ul {
    text-align: left;
    list-style-position: inside;
    margin: 20px 0;
}

.scholarship-card ul li {
    padding: 8px 0;
    color: var(--text-light);
}

/* ========================================
   ELIGIBILITY SECTION
   ======================================== */
.eligibility-section {
    background-color: #f1f5f9;
}

.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.eligibility-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.eligibility-item:hover {
    transform: translateY(-5px);
}

.eligibility-item i {
    font-size: 2.5rem;
    color: var(--success);
    margin-bottom: 15px;
}

.eligibility-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text);
}

/* ========================================
   FORM STYLES
   ======================================== */
.application-section,
.contact-form-section {
    background-color: white;
}

.scholarship-form-container,
.contact-layout {
    max-width: 900px;
    margin: 0 auto;
}

.scholarship-form,
.contact-form {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.required {
    color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(216, 164, 40, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* ========================================
   SUCCESS STORIES
   ======================================== */
.success-stories {
    background-color: #f1f5f9;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(198, 147, 32, 0.2);
}

.story-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.story-card h3 {
    font-size: 1.3rem;
    margin: 20px 20px 5px;
    color: var(--text);
}

.story-designation {
    color: var(--primary);
    font-weight: 600;
    margin: 0 20px 15px;
}

.story-card p:last-child {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */
.contact-info-section {
    background-color: #f1f5f9;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 2rem;
    color: white;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
}

.contact-info-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   CONTACT LAYOUT
   ======================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
}

.contact-form-side h2,
.contact-map-side h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text);
}
.contact-form-side h2,
.contact-map-loc h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text1);
}

.contact-form-side p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.map-container {
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.social-connect {
    margin-top: 30px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #181c24;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

.social-icon i {
    font-size: 1.3rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    color: #fff !important;
}

.social-icon.linkedin:hover {
    box-shadow: 0 4px 18px 0 #0A66C2cc;
    background: linear-gradient(135deg, #0A66C2 60%, #34b1e7 100%);
}

.social-icon.instagram:hover {
    box-shadow: 0 4px 18px 0 #E4405Fcc;
    background: linear-gradient(135deg, #FCAF45 0%, #E4405F 50%, #833AB4 100%);
}

.social-icon.facebook:hover {
    box-shadow: 0 4px 18px 0 #1877F2cc;
    background: linear-gradient(135deg, #1877F2 60%, #4ba3ff 100%);
}

.social-icon.youtube:hover {
    box-shadow: 0 4px 18px 0 #FF0000cc;
    background: linear-gradient(135deg, #FF0000 60%, #ff4d4d 100%);
}

.social-icon.x-twitter:hover {
    box-shadow: 0 4px 18px 0 #222c;
    background: linear-gradient(135deg, #000 60%, #333 100%);
}

.social-icon:hover i {
    transform: scale(1.15);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    background-color: #f1f5f9;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text);
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   MODAL STYLES
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 110%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: modalAppear 0.5s ease forwards;
}

@keyframes modalAppear {
    0% {
        opacity: 0;
        transform: translateY(-50px) rotateX(45deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    background: none;
    border: none;
}

.close-modal:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.qr-code {
    width: 250px;
    height: 250px;
    margin: 10px auto;
    background-color:black;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transform-style: preserve-3d;
    perspective: 800px;
    transition: transform 0.5s ease;
}

.qr-code:hover {
    transform: translateZ(20px);
}

.qr-code img {
    max-width: 100%;
    max-height: 100%;
}

.modal h3 {
    color: var(--text);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.modal p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.modal p strong {
    color: var(--text);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: var(--dark);
    color: #FFFFFF;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
    bottom: 0;
    left: 0;
}

.footer-column p {
    margin-bottom: 15px;
    color: #adb5bd;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
    transform: translateZ(0);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px) translateZ(10px);
}

#newsletterForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#newsletterForm input {
    padding: 12px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
}

#newsletterForm button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 992px) {
    .about-content,
    .program-detail-content {
        flex-direction: column;
    }
    
    .program-detail-content.reverse {
        flex-direction: column;
    }
    
    .hero h1,
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .program-detail-content {
        grid-template-columns: 1fr;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    nav ul li a.nav-link::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero,
    .page-header {
        padding: 130px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .scholarship-form,
    .contact-form {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item::after {
        left: 18px;
    }
    
    .timeline-item.right::after {
        left: 18px;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .counter h3 {
        font-size: 2rem;
    }

    .impact-counters {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .program-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================
   ADVANCED CSS ANIMATIONS AND KEYFRAMES
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    0% {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(216, 164, 40, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(216, 164, 40, 0.8), 0 0 30px rgba(216, 164, 40, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes morphing {
    0%, 100% {
        border-radius: 20px;
    }
    25% {
        border-radius: 50px 20px 50px 20px;
    }
    50% {
        border-radius: 20px 50px 20px 50px;
    }
    75% {
        border-radius: 50px;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.slide-in-left {
    animation: slideInFromLeft 0.8s ease forwards;
}

.slide-in-right {
    animation: slideInFromRight 0.8s ease forwards;
}

.slide-in-bottom {
    animation: slideInFromBottom 0.8s ease forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease forwards;
}

.rotate-in {
    animation: rotateIn 1s ease forwards;
}

.bounce-in {
    animation: bounceIn 0.8s ease forwards;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.morphing {
    animation: morphing 4s ease-in-out infinite;
}

/* ========================================
   ADVANCED CSS GRID AND FLEXBOX LAYOUTS
   ======================================== */
.advanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-rows: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    grid-auto-flow: dense;
}

.advanced-grid-item {
    grid-column: span 1;
    grid-row: span 1;
}

.advanced-grid-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.advanced-grid-item.wide {
    grid-column: span 2;
}

.advanced-grid-item.tall {
    grid-row: span 2;
}

.masonry-grid {
    column-count: 3;
    column-gap: 2rem;
    break-inside: avoid;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    display: inline-block;
    width: 100%;
}

.advanced-flexbox {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: stretch;
    justify-content: space-between;
}

.advanced-flexbox-item {
    flex: 1 1 300px;
    min-width: 0;
}

.advanced-flexbox-item.grow {
    flex-grow: 2;
}

.advanced-flexbox-item.shrink {
    flex-shrink: 2;
}

/* CSS Subgrid (Modern browsers) */
.subgrid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.subgrid-item {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
}

/* Advanced Flexbox with Gap */
.flex-gap {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.flex-gap > * {
    flex: 1 1 300px;
}

/* CSS Grid with Named Lines */
.named-grid {
    display: grid;
    grid-template-columns: [sidebar-start] 250px [sidebar-end main-start] 1fr [main-end];
    grid-template-rows: [header-start] auto [header-end content-start] 1fr [content-end footer-start] auto [footer-end];
    gap: 1rem;
    height: 100vh;
}

.sidebar {
    grid-column: sidebar;
    grid-row: content;
}

.main-content {
    grid-column: main;
    grid-row: content;
}

.header {
    grid-column: 1 / -1;
    grid-row: header;
}

.footer {
    grid-column: 1 / -1;
    grid-row: footer;
}

/* ========================================
   WHATSAPP FLOATING BUTTON - CLEAN VERSION
   ======================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    
    /* Remove all lines and decorations */
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    box-sizing: border-box;
}

.whatsapp-float * {
    text-decoration: none !important;
    border: none !important;
}

.whatsapp-float:hover,
.whatsapp-float:focus,
.whatsapp-float:active {
    background-color: #0af32daa;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
    text-decoration: none !important;
    outline: none !important;
}

.whatsapp-float i {
    color: white;
    font-size: 30px;
    display: block;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background-color: #25D366;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #25D366;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    right: 75px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(7, 210, 4, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 25px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

.whatsapp-float.hide {
    transform: translateY(100px);
    opacity: 0;
}
.coming-soon {
    opacity: 0.6;
    position: relative;
}
.coming-soon::after {
    content: "COMING SOON";
    position: absolute;
    top: 10px;
    right: -35px;
    background: #ff9800;
    color: #fff;
    padding: 5px 18px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(45deg);
    border-radius: 3px;
}
/* Mobile menu styles */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #333;
    }
    
    .header-container {
        position: relative;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.qr-code img {
    max-width: 200px;
    margin: 20px auto;
    display: block;
}

/* Counter animation */
.counter h3 {
    font-size: 48px;
    color: #2c3e50;
    transition: all 0.3s ease;
}
