/* ==========================================
   DPS Mushkipur - Enhanced Stylesheet
   Theme: Green & Yellow
   ========================================== */

/* ==========================================
   CSS Variables
   ========================================== */
:root {
    /* Colors */
    --primary-green: #2d5016;
    --primary-green-light: #4a7c2c;
    --primary-green-dark: #1a3009;
    --primary-yellow: #ffd700;
    --primary-yellow-light: #ffed4e;
    --primary-yellow-dark: #d4af37;
    
    /* Neutrals */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-light: #f8f9fa;
    --bg-lighter: #ffffff;
    --border-color: #e0e0e0;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    --gradient-yellow: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-light) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    --radius-round: 50%;
    
    /* Container */
    --container-max: 1200px;
    --container-lg: 1140px;
    --container-md: 960px;
    --container-sm: 720px;
}

/* ==========================================
   Reset & Base
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-lighter);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    outline: none;
}

/* ==========================================
   Preloader
   ========================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-lighter);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-content {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--bg-light);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.preloader-content h3 {
    color: var(--primary-green);
    font-size: 18px;
    font-weight: 600;
}

/* ==========================================
   Container
   ========================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ==========================================
   Top Info Bar
   ========================================== */
.top-info-bar {
    background: var(--primary-green);
    color: var(--bg-lighter);
    padding: 12px 0;
    font-size: 14px;
}

.top-info-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-info-left {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item i {
    color: var(--primary-yellow);
    font-size: 14px;
}

.top-info-right {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-round);
    transition: var(--transition-base);
    font-size: 14px;
}

.social-link:hover {
    background: var(--primary-yellow);
    color: var(--primary-green);
    transform: translateY(-3px);
}

/* ==========================================
   Header
   ========================================== */
.header {
    background: var(--bg-lighter);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

/* Logo Section */
.logo-section {
    flex: 1;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.logo-text {
    line-height: 1.3;
}

.logo-title {
    font-size: 26px;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 3px;
}

.logo-tagline {
    font-size: 13px;
    color: var(--primary-yellow-dark);
    font-weight: 600;
    margin-bottom: 2px;
}

.logo-affiliation {
    font-size: 11px;
    color: var(--text-light);
    margin: 0;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    font-size: 14px;
    font-weight: 600;
    min-width: 120px;
}

.action-btn i {
    font-size: 24px;
}

.admission-btn {
    background: var(--gradient-primary);
    color: var(--bg-lighter);
}

.admission-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.online-btn {
    background: var(--gradient-yellow);
    color: var(--primary-green);
}

.online-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-btn {
    background: var(--bg-light);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.contact-btn:hover {
    background: var(--primary-green);
    color: var(--bg-lighter);
}

/* ==========================================
   Navigation
   ========================================== */
.main-navigation {
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: var(--primary-green);
    border-radius: var(--radius-sm);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--bg-lighter);
    transition: var(--transition-base);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    align-items: center;
    padding: 15px 0;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.nav-link i {
    font-size: 14px;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-green);
    color: var(--bg-lighter);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-lighter);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    min-width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-base);
    z-index: 100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    transition: var(--transition-base);
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-green);
    padding-left: 30px;
}

/* ==========================================
   Notice Ticker
   ========================================== */
.notice-ticker {
    background: var(--primary-yellow-light);
    border-top: 2px solid var(--primary-yellow-dark);
    border-bottom: 2px solid var(--primary-yellow-dark);
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-green);
    color: var(--bg-lighter);
    padding: 8px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.ticker-label i {
    color: var(--primary-yellow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    font-weight: 500;
    color: var(--primary-green-dark);
}

/* ==========================================
   Hero Slider
   ========================================== */
.hero-slider {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    text-align: center;
    color: var(--bg-lighter);
    max-width: 800px;
    margin: 0 auto;
}

.slide-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.slide-subtitle {
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--primary-yellow-light);
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-round);
    color: var(--bg-lighter);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-yellow);
    color: var(--primary-green);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 50px;
    height: 5px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition-base);
}

.indicator.active {
    background: var(--primary-yellow);
    width: 70px;
}

/* ==========================================
   Stats Counter
   ========================================== */
.stats-counter {
    background: var(--bg-lighter);
    padding: 60px 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box {
    background: var(--gradient-primary);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: var(--transition-slow);
}

.stat-box:hover::before {
    transform: translate(-25%, -25%);
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    font-size: 48px;
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

.stat-info h3 {
    font-size: 48px;
    font-weight: 800;
    color: var(--bg-lighter);
    margin-bottom: 5px;
}

.stat-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
}

/* ==========================================
   Section Utilities
   ========================================== */
.section {
    padding: 80px 0;
}

.section-label {
    display: inline-block;
    background: var(--primary-yellow-light);
    color: var(--primary-green);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-yellow);
    border-radius: 2px;
    margin-bottom: 30px;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.title-underline-center {
    width: 80px;
    height: 4px;
    background: var(--gradient-yellow);
    border-radius: 2px;
    margin: 0 auto 20px;
}

.section-description {
    color: var(--text-light);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.section-header-split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.white-text .section-label {
    background: rgba(255, 255, 255, 0.2);
    color: var(--bg-lighter);
}

.white-text .section-title {
    color: var(--bg-lighter);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-lighter);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-lighter);
    border-color: var(--bg-lighter);
}

.btn-secondary:hover {
    background: var(--bg-lighter);
    color: var(--primary-green);
}

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--bg-lighter);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

/* ==========================================
   Welcome Section
   ========================================== */
.welcome-section {
    background: var(--bg-light);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-image {
    position: relative;
}

.welcome-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    background: var(--gradient-yellow);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-content {
    text-align: center;
}

.badge-content h3 {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 5px;
}

.badge-content p {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-green);
    line-height: 1.3;
}

.welcome-content {
    padding-right: 20px;
}

.lead-text {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.8;
}

.welcome-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
}

.welcome-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg-lighter);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-yellow);
}

.feature-item i {
    color: var(--primary-green);
    font-size: 20px;
}

.feature-item span {
    font-weight: 600;
    color: var(--text-dark);
}

.welcome-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* ==========================================
   Why Choose Us
   ========================================== */
.why-choose-us {
    background: var(--bg-lighter);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-yellow);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-lighter);
}

.why-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    color: var(--bg-lighter);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
    transition: var(--transition-base);
}

.why-card:hover .why-icon {
    transform: rotateY(360deg);
    background: var(--gradient-yellow);
    color: var(--primary-green);
}

.why-card h3 {
    font-size: 22px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.why-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ==========================================
   Academic Programs
   ========================================== */
.academic-programs {
    background: var(--bg-light);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--bg-lighter);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    border: 2px solid transparent;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-yellow);
}

.program-card.featured {
    border-color: var(--primary-yellow);
    box-shadow: var(--shadow-lg);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gradient-yellow);
    color: var(--primary-green);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--bg-lighter);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
}

.program-card h3 {
    font-size: 24px;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.program-level {
    color: var(--primary-yellow-dark);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 20px;
}

.program-features {
    text-align: left;
    margin: 20px 0;
}

.program-features li {
    padding: 8px 0;
    color: var(--text-light);
    font-size: 14px;
}

.program-features i {
    color: var(--primary-green);
    margin-right: 10px;
}

/* ==========================================
   Facilities Showcase
   ========================================== */
.facilities-showcase {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.section-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px);
}

.facilities-tabs {
    position: relative;
    z-index: 1;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    color: var(--bg-lighter);
    font-weight: 600;
    transition: var(--transition-base);
    cursor: pointer;
}

.tab-btn i {
    font-size: 32px;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-yellow);
    color: var(--primary-green);
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
}

.tabs-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.facility-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: var(--bg-lighter);
    padding: 50px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.facility-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.facility-text h3 {
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.facility-text p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 16px;
}

.facility-list {
    margin: 25px 0;
}

.facility-list li {
    padding: 12px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.facility-list i {
    color: var(--primary-green);
    font-size: 18px;
}

/* ==========================================
   Testimonials
   ========================================== */
.testimonials-section {
    background: var(--bg-light);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-lighter);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.testimonial-quote {
    font-size: 48px;
    color: var(--primary-yellow);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--bg-light);
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-round);
    overflow: hidden;
    border: 3px solid var(--primary-yellow);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary-green);
    font-size: 16px;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 8px;
}

.rating {
    color: var(--primary-yellow);
    font-size: 14px;
}

/* ==========================================
   News & Events
   ========================================== */
.news-events-section {
    background: var(--bg-lighter);
}

.news-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.news-card-large {
    background: var(--bg-lighter);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.news-card-large:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.news-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card-large:hover .news-image img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-yellow);
    color: var(--primary-green);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: var(--shadow-md);
}

.news-content {
    padding: 30px;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-meta i {
    color: var(--primary-yellow);
}

.news-content h3 {
    font-size: 26px;
    color: var(--primary-green);
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-green);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-base);
}

.read-more:hover {
    color: var(--primary-yellow-dark);
    gap: 12px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-lighter);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.news-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
}

.news-item-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: var(--bg-lighter);
    border-radius: var(--radius-md);
}

.date-day {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.date-month {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-item-content h4 {
    font-size: 18px;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.news-item-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.news-item-content a {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-item-content a:hover {
    color: var(--primary-yellow-dark);
}

/* ==========================================
   Gallery Preview
   ========================================== */
.gallery-preview {
    background: var(--bg-light);
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item-preview {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
}

.gallery-item-preview.large {
    grid-row: span 2;
}

.gallery-item-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item-preview:hover img {
    transform: scale(1.15);
}

.gallery-overlay-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 80, 22, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.gallery-item-preview:hover .gallery-overlay-preview {
    opacity: 1;
}

.gallery-overlay-preview i {
    font-size: 48px;
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

.gallery-overlay-preview h4 {
    color: var(--bg-lighter);
    font-size: 20px;
}

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

/* ==========================================
   Call to Action
   ========================================== */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-text {
    color: var(--bg-lighter);
}

.cta-text h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.cta-text p {
    font-size: 18px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--primary-yellow);
    color: var(--primary-green);
    border: 2px solid var(--primary-yellow);
}

.btn-cta-primary:hover {
    background: var(--primary-yellow-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--bg-lighter);
    border: 2px solid var(--bg-lighter);
}

.btn-cta-secondary:hover {
    background: var(--bg-lighter);
    color: var(--primary-green);
}

/* ==========================================
   Footer (Enhanced)
   ========================================== */
.footer {
    background: var(--primary-green-dark);
    color: var(--bg-lighter);
}

.footer-main {
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-widget {
    line-height: 1.8;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
}

.footer-logo h3 {
    font-size: 24px;
    color: var(--primary-yellow);
}

.footer-about {
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-round);
    font-size: 18px;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary-yellow);
    color: var(--primary-green);
    transform: translateY(-5px);
}

.footer-widget-title {
    font-size: 20px;
    color: var(--primary-yellow);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-yellow);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
    transition: var(--transition-base);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-links i {
    font-size: 12px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact i {
    color: var(--primary-yellow);
    font-size: 18px;
    margin-top: 5px;
}

.footer-contact strong {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-yellow);
}

.footer-contact p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.6;
}

/* Footer Stats */
.footer-stats {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-item .stat-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-yellow);
    color: var(--primary-green);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.stat-content h4 {
    font-size: 28px;
    color: var(--primary-yellow);
    margin-bottom: 5px;
}

.stat-content p {
    font-size: 14px;
    opacity: 0.9;
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    opacity: 0.9;
}

.copyright i {
    color: var(--primary-yellow);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
}

.footer-bottom-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    opacity: 0.9;
    transition: var(--transition-base);
}

.footer-bottom-links a:hover {
    opacity: 1;
    color: var(--primary-yellow);
}

.footer-bottom-links span {
    opacity: 0.5;
}

/* ==========================================
   Scroll to Top & WhatsApp
   ========================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: var(--bg-lighter);
    border: none;
    border-radius: var(--radius-round);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 998;
    box-shadow: var(--shadow-lg);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--primary-yellow);
    color: var(--primary-green);
    transform: translateY(-5px);
}

.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: var(--shadow-xl);
    z-index: 998;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ==========================================
   Responsive Design
   ========================================== */

/* Tablets */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .welcome-grid,
    .contact-grid,
    .facility-content {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

/* Mobile Landscape & Tablets Portrait */
@media (max-width: 768px) {
    .top-info-content {
        flex-direction: column;
        text-align: center;
    }
    
    .top-info-left {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-main {
        flex-wrap: wrap;
    }
    
    .header-actions {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }
    
    .action-btn {
        flex: 1;
        min-width: auto;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }
    
    .nav-menu.active {
        max-height: 800px;
        padding: 20px 0;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: var(--bg-light);
        margin-top: 10px;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .slide-title {
        font-size: 36px;
    }
    
    .slide-subtitle {
        font-size: 18px;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .prev-btn {
        left: 15px;
    }
    
    .next-btn {
        right: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .why-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-nav {
        flex-direction: column;
    }
    
    .gallery-preview-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 250px);
    }
    
    .gallery-item-preview.large {
        grid-row: span 1;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-text h2 {
        font-size: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-stats .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .logo-title {
        font-size: 20px;
    }
    
    .logo-tagline,
    .logo-affiliation {
        font-size: 11px;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-title {
        font-size: 28px;
    }
    
    .slide-subtitle {
        font-size: 16px;
    }
    
    .slide-buttons {
        flex-direction: column;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .btn {
        width: 100%;
    }
    
    .welcome-features {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .top-info-bar,
    .header,
    .notice-ticker,
    .hero-slider,
    .cta-section,
    .footer,
    .scroll-top-btn,
    .whatsapp-float,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
    }
}