*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Navigation Styles */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 0;
    height: 0.125rem;
    background-color: #f15a24;
    transition: all 0.3s;
}

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

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: rgba(30, 41, 59, 0.85) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sticky-nav.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

/* Mobile menu styles */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

#mobile-menu.open {
    max-height: 500px;
    display: block;
}

/* Desktop menu should always be visible */
@media (min-width: 768px) {
    #mobile-menu {
        max-height: none;
        overflow: visible;
        display: flex !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        max-width: none !important;
        width: auto !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-top: 0 !important;
        background-color: transparent !important;
    }
    
    #mobile-menu ul {
        flex-direction: row !important;
        gap: 1.5rem !important;
    }
    
    #mobile-menu .flex.items-center {
        width: auto !important;
        margin-top: 0 !important;
        border-top: none !important;
        flex-direction: row !important;
    }
    
    #mobile-menu .apply-btn {
        width: auto !important;
    }
}

/* Teacher card styles */
.teacher-card {
    transition: all 0.3s ease;
}

.teacher-card:hover .teacher-overlay {
    background: rgba(220, 78, 65, 0.8);
}

.teacher-social {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.5s ease;
}

.teacher-card:hover .teacher-social {
    opacity: 1;
    transform: translateY(0);
}

.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Leadership image: fill container height-first and zoom in */
.leadership-img {
    overflow: hidden;
}

.leadership-card .leadership-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.08);
    transition: transform 0.7s ease;
}

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

@media (max-width: 768px) {
    /* On small screens use full width and natural height */
    .leadership-card .leadership-img img {
        width: 100%;
        height: auto;
        transform: scale(1);
        object-position: center;
    }
}

/* Stats counter */
.stat-item {
    transition: all 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-5px);
}

/* Footer Animations */
.reveal-up {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s ease;
}

.reveal-up.animate {
opacity: 1;
transform: translateY(0);
}

.social-icon {
transition: all 0.3s ease;
}

/* Mobile Responsive Improvements */
@media (max-width: 768px) {
    .teacher-card {
        margin: 0 auto;
    }
    
    .teacher-card .w-48 {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .stat-item {
        padding: 1rem !important;
    }
}
/* WhatsApp Button Styles */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1101;
    text-decoration: none;
    max-width: 220px;
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.whatsapp-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.whatsapp-text {
    overflow: hidden;
    min-width: 100px;
}

.whatsapp-text-inner {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    line-height: 1.3;
}

.whatsapp-text-inner.show-second {
    transform: translateY(-100%);
}

.whatsapp-hint {
    font-size: 12px;
    opacity: 0.9;
}

.whatsapp-message {
    font-size: 12px;
    opacity: 0.9;
    white-space: nowrap;
}

.whatsapp-btn:hover .whatsapp-icon {
    transform: rotate(20deg) scale(1.1);
}

/* Pulsing animation for attention */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    }
    50% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
    }
    100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    }
}

.whatsapp-btn.pulse {
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

/* Mobile styles */
@media (max-width: 760px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px;
        font-size: 13px;
        max-width: 150px;
    }
    
    .whatsapp-icon {
        width: 20px;
        height: 20px;
        font-size: 16px;
    }
    
    .whatsapp-hint {
        font-size: 11px;
    }
    
    .whatsapp-message {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .whatsapp-btn {
        bottom: 60px;
        right: 6px;
        padding: 10px 15px;
        font-size: 12px;
        max-width: 120px;
        gap: 8px;
    }
    
    .whatsapp-icon {
        width: 14px;
        height: 14px;
        font-size: 14px;
    }
    
    .whatsapp-hint {
        font-size: 8px;
        color:#c3ff00;
    }
    
    .whatsapp-message {
        font-size: 10px;
    }
}