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

body {
    font-family: 'Inter', sans-serif;
    background-color: #F8FAFF;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Enhanced Navigation with Zoom & Color Effects */
.nav-button {
    background: linear-gradient(135deg, #8ED16F 0%, #7BC95F  100%);
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(88, 199, 243, 0.3);
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,#E6B800 0%,  #C99700 100%);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-button:hover {
    background: linear-gradient(135deg, #FFE082 0%, #FFF4CC 100%);
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 12px 24px rgba(142, 209, 111, 0.4);
    color: white;
}

.nav-button:hover::before {
    left: 0;
}

.nav-button svg {
    transition: transform 0.3s ease;
}

.nav-button:hover svg {
    transform: scale(1.2) rotate(5deg);
}

.nav-button:active {
    transform: scale(1.05) translateY(-1px);
}

.nav-button.active {
    background: linear-gradient(135deg, #E6B800 0%, #B8860B 100%);
    box-shadow: 0 8px 16px rgba(154, 107, 216, 0.4);
    animation: pulse 2s infinite;
}

.nav-button.active svg {
    transform: scale(1.1);
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    display: inline-block;
    margin-left: 4px;
    transition: transform 0.3s ease;
    font-size: 10px;
}

.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.dropdown-item:first-child {
    padding-top: 16px;
}

.dropdown-item:last-child {
    padding-bottom: 16px;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(88, 199, 243, 0.1) 0%, transparent 100%);
    border-left-color: #74f358;
    padding-left: 24px;
    color: #ff4d4d;
}

.dropdown-item.active-subpage {
    background: linear-gradient(90deg, rgba(154, 107, 216, 0.15) 0%, transparent 100%);
    border-left-color: #9A6BD8;
    color: #9A6BD8;
    font-weight: 600;
}

/* Mobile Navigation */
.mobile-nav-item {
    background: linear-gradient(135deg, #58C7F3 0%, #4AB8E8 100%);
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mobile-nav-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.mobile-nav-item:hover::after {
    width: 300px;
    height: 300px;
}

.mobile-nav-item:hover {
    background: linear-gradient(135deg, #8ED16F 0%, #7BC95F 100%);
    transform: translateX(8px) scale(1.03);
    box-shadow: 0 8px 16px rgba(142, 209, 111, 0.3);
}

.mobile-nav-item.active {
    background: linear-gradient(135deg, #9A6BD8 0%, #8A5BC8 100%);
    box-shadow: 0 6px 12px rgba(154, 107, 216, 0.3);
}

.cta-mobile {
    background: linear-gradient(135deg, #F7B733 0%, #FFA94D 100%) !important;
    color: #1F2937 !important;
}

.cta-mobile:hover {
    background: linear-gradient(135deg, #FFA94D 0%, #FF9A33 100%) !important;
}

/* Mobile menu animation */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.show {
    max-height: 1200px;
}

/* Mobile Dropdown */
.mobile-dropdown {
    width: 100%;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.mobile-dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
    margin-left: auto;
}

.mobile-dropdown.open .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 20px;
}

.mobile-dropdown.open .mobile-submenu {
    max-height: 500px;
    margin-top: 8px;
}

.mobile-submenu-item {
    display: block;
    padding: 10px 16px;
    margin: 4px 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid #58C7F3;
}

.mobile-submenu-item:hover {
    background: rgba(247, 183, 51, 0.15);
    border-left-color: #F7B733;
    padding-left: 20px;
    color: #9A6BD8;
}

.mobile-submenu-item.active-subpage {
    background: rgba(154, 107, 216, 0.2);
    border-left-color: #9A6BD8;
    color: #9A6BD8;
    font-weight: 600;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #F7B733 0%, #58C7F3 50%, #9A6BD8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #7A5C00 0%, #D4A017 50%, #7A5C00 100%);
    color: white;
    padding: 80px 20px;
    margin-bottom: 0;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    animation: slideInLeft 0.8s ease-out;
}

.page-header p {
    font-size: 1.5rem;
    opacity: 0.95;
    animation: slideInRight 0.8s ease-out;
}

/* Cards with Enhanced Hover */
.program-card,
.info-box {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.program-card::before,
.info-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.program-card:hover,
.info-box:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.program-card:hover::before,
.info-box:hover::before {
    opacity: 1;
}

.program-card img,
.info-box img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-card:hover img,
.info-box:hover img {
    transform: scale(1.1) rotate(2deg);
}

/* Buttons with Zoom Effect */
.cta-button,
.submit-button {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-button::before,
.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover,
.submit-button:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.cta-button:hover::before,
.submit-button:hover::before {
    width: 400px;
    height: 400px;
}

.cta-button:active,
.submit-button:active {
    transform: scale(1.02) translateY(-2px);
}

/* Form Elements */
.form-input,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #58C7F3;
    box-shadow: 0 0 0 4px rgba(88, 199, 243, 0.1);
    transform: scale(1.02);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 15px;
}

/* Social Icons with Zoom */
.social-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
    transform: scale(1.25) rotate(10deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Blob decorations */
.blob {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(40px);
    opacity: 0.6;
    animation: blobAnimation 8s infinite;
}

@keyframes blobAnimation {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: scale(1) rotate(0deg);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
        transform: scale(1.1) rotate(90deg);
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: scale(0.9) rotate(180deg);
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
        transform: scale(1.05) rotate(270deg);
    }
}

/* Scroll to top button */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #58C7F3 0%, #9A6BD8 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(88, 199, 243, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

#scrollToTop:hover {
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 12px 30px rgba(88, 199, 243, 0.6);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: scale(1.08) translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.4s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.2) rotate(90deg);
}

/* Responsive */
@media (max-width: 1024px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 20px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
}

/* Loading Animation */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.submit-button.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Navbar sticky shadow */
#navbar {
    transition: box-shadow 0.3s ease;
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Link hover effects */
a {
    transition: all 0.3s ease;
}

/* Smooth transitions for all interactive elements */
button, input, select, textarea {
    transition: all 0.3s ease;
}