/* ===========================
   Global Styles - ENHANCED
=========================== */
:root {
    --primary-color: #2563eb;
    --secondary-color: #0ea5e9;
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* ENHANCED SHADOWS WITH GLOW */
    --shadow-sm: 0 2px 8px rgba(102, 126, 234, 0.12);
    --shadow-md: 0 4px 16px rgba(102, 126, 234, 0.18);
    --shadow-lg: 0 8px 32px rgba(102, 126, 234, 0.25);
    
    /* NEW: GLOW EFFECTS */
    --glow-primary: 0 0 20px rgba(37, 99, 235, 0.4);
    --glow-secondary: 0 0 20px rgba(14, 165, 233, 0.4);
    --glow-white: 0 0 25px rgba(255, 255, 255, 0.5);
    
    /* SMOOTH TRANSITIONS */
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all var(--transition-smooth);
}

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

/* REDUCED VERTICAL GAPS */
section {
    padding: 80px 0;  /* Reduced from 100px */
    position: relative;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

/* ===========================
   Navbar - GLOWING EFFECTS
=========================== */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(102, 126, 234, 0.08);
    padding: 15px 0;
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(102, 126, 234, 0.15);
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-smooth);
}

.navbar-brand i {
    font-size: 32px;
    transition: all var(--transition-smooth);
}

.navbar-brand:hover i {
    transform: scale(1.1);
    filter: drop-shadow(var(--glow-primary));
}

.brand-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    font-size: 15px;
    transition: all var(--transition-smooth);
}

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

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

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-primary {
    background: var(--gradient);
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-primary), 0 8px 25px rgba(102, 126, 234, 0.45);
}

.btn-outline-danger {
    border: 2px solid #ef4444;
    color: #ef4444;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-smooth);
}

.btn-outline-danger:hover {
    background: #ef4444;
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
    transform: translateY(-2px);
}

.navbar-logo {
    height: 32px;
    width: 34px;
    margin-right: 6px;
    vertical-align: middle;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    object-fit: cover;
    transition: all var(--transition-smooth);
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
    box-shadow: var(--glow-primary);
}

/* ===========================
   Hero Section - CAMP STYLE DESIGN
=========================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    /* padding-top: 120px; */
}

/* Hero Overlay - Radial Gradients */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    z-index: 1;
}

/* Hero Pattern - Diagonal Lines */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(30deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
        linear-gradient(150deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03));
    background-size: 80px 80px;
    z-index: 1;
}

/* Hero Content - Above overlays */
.hero-content {
    position: relative;
    z-index: 2;
    
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
    animation: fadeInUp 1s ease;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 550px;
    animation: fadeInUp 1s ease 0.2s backwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--glow-white), 0 8px 25px rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}



.hero-stats {
    display: flex;
    gap: 50px;
    animation: fadeInUp 1s ease 0.6s backwards;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeInUp 1s ease 0.8s backwards;
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 25px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

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

/* ===========================
   Features Section - GLOWING CARDS
=========================== */
.features-section {
    margin-top: -60px;
    padding: 0 0 80px 0;  /* Reduced bottom padding */
    position: relative;
    z-index: 10;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all var(--transition-smooth);
    height: 100%;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary), 0 15px 50px rgba(102, 126, 234, 0.3);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: white;
    transition: all var(--transition-smooth);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: var(--glow-primary);
}

.feature-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    margin: 0;
}

/* ===========================
   About Section - REDUCED PADDING
=========================== */
.about-section {
    background: var(--bg-light);
    padding: 70px 0;  /* Reduced from 100px */
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
    transition: all var(--transition-smooth);
}

.about-image-wrapper:hover img {
    transform: scale(1.02);
    box-shadow: var(--glow-primary), 0 20px 50px rgba(102, 126, 234, 0.25);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--gradient);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: var(--glow-primary);
    text-align: center;
    transition: all var(--transition-smooth);
}

.about-badge:hover {
    transform: scale(1.05);
}

.about-badge i {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

.about-badge span {
    font-size: 14px;
    font-weight: 600;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-weight: 500;
    transition: all var(--transition-smooth);
    padding: 8px;
    border-radius: 8px;
}

.about-feature-item:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(5px);
}

.about-feature-item i {
    color: var(--primary-color);
    font-size: 20px;
    transition: all var(--transition-smooth);
}

.about-feature-item:hover i {
    transform: scale(1.2);
    filter: drop-shadow(var(--glow-primary));
}

/* ===========================
   Services Section - GLOWING HOVER
=========================== */
.services-section {
    background: white;
    padding: 70px 0;  /* Reduced */
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary), 0 15px 45px rgba(102, 126, 234, 0.25);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.service-icon-img {
    height: 32px;
    width: auto;
       border: 2px solid var(--primary-color);
    border-radius: 50%;
    object-fit: cover;
    transition: all var(--transition-smooth);
}

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

.service-card:hover .service-icon-img {
    filter: none;
}

.service-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    transition: all var(--transition-smooth);
}

.service-link i {
    transition: transform var(--transition-smooth);
}

.service-card:hover .service-link {
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

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

/* ===========================
   Doctors Section - GLOWING EFFECTS
=========================== */
.doctors-section {
    background: var(--bg-light);
    padding: 70px 0;  /* Reduced */
}

.doctor-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
    border: 2px solid transparent;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary), 0 20px 50px rgba(102, 126, 234, 0.25);
    border-color: var(--primary-color);
}

.doctor-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.1);
}

.doctor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.doctor-card:hover .doctor-overlay {
    opacity: 0.6;
}

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

.doctor-social a {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.doctor-social a:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-white);
    background: var(--primary-color);
    color: white;
}

.doctor-info {
    padding: 25px 20px;
    text-align: center;
}

.doctor-info h5 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.doctor-info p {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.doctor-degree {
    font-size: 13px;
    color: var(--text-light);
}

/* ===========================
   Camps Section - GLOWING ACCENTS
=========================== */
.camps-section {
    background: white;
    padding: 70px 0;  /* Reduced */
}

.camp-card {
    background: white;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all var(--transition-smooth);
    height: 100%;
    border: 2px solid transparent;
}

.camp-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.35), 0 15px 45px rgba(245, 158, 11, 0.2);
}

.camp-date {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--gradient);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--glow-primary);
    transition: all var(--transition-smooth);
}

.camp-card:hover .camp-date {
    transform: scale(1.05) rotate(-3deg);
}

.camp-date .day {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.camp-date .month {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
    text-transform: uppercase;
}

.camp-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFF4E6 0%, #FFE8CC 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #FF9800;
    margin-bottom: 20px;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
}

.camp-icon-img {
    height: 32px;
    width: auto;
       border: 2px solid var(--primary-color);
    border-radius: 50%;
    object-fit: cover;
    transition: all var(--transition-smooth);
}

.camp-card:hover .camp-icon-img {
    transform: scale(1.15);
}

.camp-card:hover .camp-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.5);
}

.camp-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.camp-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
}

.camp-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.camp-details span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 14px;
    transition: all var(--transition-smooth);
}

.camp-details span:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.camp-details i {
    color: var(--primary-color);
    width: 20px;
    transition: all var(--transition-smooth);
}

.camp-details span:hover i {
    filter: drop-shadow(var(--glow-primary));
}

/* Empty State for Home Camps */
.empty-state-home {
    text-align: center;
    padding: 80px 20px;  /* Reduced */
}

.empty-state-home .empty-illustration {
    margin-bottom: 40px;
}

.empty-state-home .empty-circle {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 56px;
    color: #667eea;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.empty-state-home .empty-circle.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: var(--glow-primary);
    }
}

.empty-state-home .empty-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.empty-state-home .empty-text {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 32px;
}

.empty-state-home .btn-modern-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
     margin-bottom: 0;
}

.empty-state-home .btn-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-primary), 0 8px 24px rgba(102, 126, 234, 0.4);
    color: white;

}

/* ===========================
   Gallery Section
=========================== */
.gallery-section {
    background: var(--bg-light);
    padding: 70px 0;  /* Reduced */
}

.gallery-card {
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    background: #fff;
    transition: all var(--transition-smooth);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary), 0 12px 35px rgba(102, 126, 234, 0.25);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    height: 300px;
    background: #000;
    transition: all var(--transition-smooth);
}

.gallery-item:hover {
    box-shadow: var(--glow-primary), 0 15px 40px rgba(102, 126, 234, 0.3);
}

.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: black;
}

.gallery-item iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    transition: transform var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-item video + .gallery-overlay,
.gallery-item iframe + .gallery-overlay {
    display: none;
}

.gallery-footer {
    padding: 10px;
    text-align: center;
    background: #fff;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    border-top: 1px solid #eee;
    transition: all var(--transition-smooth);
}

.gallery-card:hover .gallery-footer {
    color: var(--primary-color);
}

.gallery-item video,
.gallery-item iframe {
    position: relative;
    z-index: 1;
}

/* ===========================
   Director Message Section
=========================== */
.director-message-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.director-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.12);
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-smooth);
}

.director-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary), 0 15px 50px rgba(102, 126, 234, 0.2);
}

.director-image-wrapper {
    position: relative;
    text-align: center;
}

.director-image {
    width: 100%;
    max-width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
    transition: all var(--transition-smooth);
}

.director-image:hover {
    transform: scale(1.05);
    box-shadow: var(--glow-primary);
}

.director-badge {
    position: absolute;
    bottom: 10px;
    right: calc(50% - 100px + 20px);
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.5);
    transition: all var(--transition-smooth);
}

.director-badge:hover {
    transform: scale(1.1) rotate(5deg);
}

.director-content {
    padding-left: 20px;
}

.director-message {
    font-size: 15px;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.director-info h5 {
    font-size: 22px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 5px;
}

.director-title {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.director-credentials {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.director-credentials span {
    font-size: 13px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-smooth);
}

.director-credentials span:hover {
    color: var(--primary-color);
}

.director-credentials i {
    color: var(--primary-color);
    font-size: 14px;
    transition: all var(--transition-smooth);
}

.director-credentials span:hover i {
    filter: drop-shadow(var(--glow-primary));
}

/* ===========================
   CTA Section - GLOWING
=========================== */
.cta-section {
    background: var(--gradient);
    color: white;
    padding: 70px 0;  /* Reduced */
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, -30px); }
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-text {
    font-size: 18px;
    opacity: 0.95;
    margin: 0;
}

.cta-section .btn-light {
    background: white;
    color: var(--primary-color);
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.cta-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-white), 0 12px 35px rgba(255, 255, 255, 0.5);
}

/* ===========================
   Footer - GLOWING LINKS
=========================== */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 70px 0 0;  /* Reduced */
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    box-shadow: var(--glow-primary);
}

.footer-title {
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 25px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-smooth);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

.footer-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a,
.footer-links li {
    color: rgba(255,255,255,0.7);
    transition: all var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
    width: 20px;
    filter: drop-shadow(var(--glow-primary));
}

.footer-bottom {
    margin-top: 50px;  /* Reduced */
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
    margin: 0 8px;
    transition: all var(--transition-smooth);
}

.footer-bottom a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
}

.footer-logo {
    width: 32px;
    height: 32px;
    
     border: 2px solid var(--primary-color);
    border-radius: 50%;
    object-fit: cover;
    /* object-fit: contain; */
    vertical-align: middle;
    margin-right: 8px;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.4));
    
}

.footer .brand-text {
    vertical-align: middle;
    font-weight: 600;
    color: white;
}

/* ===========================
   Scroll to Top - GLOWING
=========================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
    z-index: 1000;
    box-shadow: var(--glow-primary);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.7);
}

/* ===========================
   Responsive - MAINTAINED
=========================== */
@media (max-width: 992px) {
    .section-title {
        font-size: 36px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-section {
        padding: 150px 0 100px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-section .btn-light {
        margin-top: 20px;
    }
    
    .director-message-section {
        padding: 40px 0;
    }
    
    .director-card {
        padding: 25px;
    }
    
    .director-image {
        max-width: 150px;
        height: 150px;
    }
    
    .director-badge {
        width: 40px;
        height: 40px;
        font-size: 18px;
        right: calc(50% - 75px + 15px);
    }
    
    .director-content {
        padding-left: 0;
        margin-top: 20px;
    }
    
    .director-message {
        font-size: 14px;
        padding-left: 15px;
    }
    
    .director-info h5 {
        font-size: 20px;
    }
    
    .director-credentials {
        flex-direction: column;
        gap: 8px;
    }
}

/* Services expand / collapse */
#services .service-hidden {
    display: none !important;
}

#toggleArrow {
    transition: transform var(--transition-smooth);
    margin-left: 8px;
}

html {
    scroll-behavior: smooth;
}
.footer-section, .cta-section {
    opacity: 1 !important;
    transform: none !important;
}




@media (max-width: 767px) {
    .hero-buttons {
        display: flex;
        flex-direction: column; /* stack vertically */
        gap: 8px; /* space between buttons */
        align-items: flex-start; /* keep normal size, not full width */
    }

    .hero-buttons .btn {
        margin: 0; /* remove old margins that cause overlap */
    }
}
/* ==========================
   GLOBAL RESPONSIVE FIX
   Prevent horizontal scroll, fit all screens
========================== */

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Make all sections responsive */
section, .container, .row, .col-lg-*, .col-md-*, .feature-card, .service-card, .hero-buttons, .about-image-wrapper, .doctor-card, .camp-card, .gallery-card, .director-card {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Make all images/videos responsive */
img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Reduce padding/margins on mobile to avoid overflow */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .hero-buttons a.btn {
        margin-right: 10px;
        margin-bottom: 10px;
    }
    .about-section .col-lg-6 {
        padding-left: 10px;
        padding-right: 10px;
    }
    .features-section .feature-card,
    .services-section .service-card {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Optional: smooth scaling for cards/content inside rows */
.row {
    margin-left: 0;
    margin-right: 0;
}

.youtube-blocked {
    position: relative;
    text-align: center;
    margin-bottom: 15px;
}

.youtube-thumb-link {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px; /* optional, rounded corners */
}

.youtube-thumb {
    width: 100%;
    display: block;
}

/* Play button overlay */
.youtube-thumb-link .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.youtube-thumb-link .play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 22px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}


/* Make gallery-item relative for overlay */
.gallery-item {
    position: relative;
}

/* Make overlay centered on video/iframe */
.play-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    pointer-events: none; /* clicks still reach video/iframe */
    z-index: 10;
    transition: opacity 0.2s ease;
}

/* Triangle */
.play-center::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 22px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

/* Hide overlay when playing */
.gallery-item.playing .play-center {
    opacity: 0;
}

/* Accessibility Focus */
.btn-primary:focus, .btn-outline-light:focus, .nav-link:focus,
.doctor-card:focus, .camp-card:focus, .feature-card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    box-shadow: var(--glow-primary);
}
a.btn {
    text-decoration: none !important; /* remove underline */
}

a.btn::after {
    content: none !important; /* remove hover underline effect */
}
/* About badge — even smaller on mobile */
@media (max-width: 768px) {
  .about-badge {
    bottom: 10px;
    right: 10px;
    padding: 6px 10px;    /* smaller width & height */
    border-radius: 8px;   /* slightly sharper corners */
    font-size: 0.85rem;   /* overall text scaling */
  }

  .about-badge i {
    font-size: 16px;      /* smaller icon */
    margin-bottom: 2px;   /* tighter spacing */
  }

  .about-badge span {
    font-size: 9px;       /* smaller text */
  }
}