/* === ACADEMICS PAGE SPECIFIC STYLES === */

/* Academics Hero Section */
#academics-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--color-purple), #d4b8d4);
    padding: 0 2rem;
    overflow: hidden;
}

.academics-hero-content {
    position: relative;
    z-index: 2;
}

.academics-hero-content h1 {
    color: var(--color-white);
    font-size: 5rem;
    text-shadow: 4px 4px 0px var(--color-red);
    animation: bounce 2s ease 1;
    margin-bottom: 0.5rem;
}

.academics-hero-location {
    font-size: 2rem;
    color: var(--color-yellow);
    text-shadow: 2px 2px 0px var(--color-red);
    display: block;
    margin-bottom: 1.5rem;
}

/* Programs Overview */
#programs-overview {
    text-align: center;
}

.intro-text {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--color-text);
}

.programs-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.highlight-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1rem;
}

/* Enhanced Program Cards */
.program-card {
    position: relative;
    overflow: hidden;
}

.program-age {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.program-features {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.8rem;
    font-weight: bold;
}

.program-highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-style: italic;
}

/* Daily Schedule */
#daily-schedule {
    background: var(--color-blue);
}

#daily-schedule h2 {
    color: var(--color-white);
    text-shadow: 2px 2px 0px var(--color-text);
}

.schedule-container {
    max-width: 800px;
    margin: 0 auto;
}

.schedule-timeline {
    position: relative;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-white);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-time {
    background: var(--color-yellow);
    color: var(--color-text);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    min-width: 120px;
    text-align: center;
    margin-right: 2rem;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    flex: 1;
}

.timeline-content h4 {
    color: var(--color-blue);
    margin-bottom: 0.5rem;
}

/* Learning Approach */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.approach-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.approach-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Special Programs */
#special-programs {
    background: var(--color-green);
}

#special-programs h2 {
    color: var(--color-white);
    text-shadow: 2px 2px 0px var(--color-text);
}

.special-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.special-program-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.special-program-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: var(--shadow-hover);
}

.special-program-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* CTA Section */
#academics-cta {
    background: var(--color-red);
    text-align: center;
}

#academics-cta h2 {
    color: var(--color-white);
    text-shadow: 2px 2px 0px var(--color-text);
}

#academics-cta p {
    color: var(--color-white);
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .academics-hero-content h1 {
        font-size: 3.5rem;
    }
    
    .academics-hero-location {
        font-size: 1.5rem;
    }
    
    .program-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-time {
        margin-right: 0;
        margin-bottom: 1rem;
        align-self: flex-start;
    }
    
    .schedule-timeline::before {
        left: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        margin: 0.5rem 0;
    }
}

/* Animation for program cards */
@keyframes programFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.program-card:hover {
    animation: programFloat 2s ease-in-out infinite;
}