/* --- FGA ACADEMY SPECIFIC STYLES --- */

/* --- ANIMATED ACADEMY HERO --- */
.academy-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Keeps the zooming images contained */
}

/* Slideshow Container (Reusing the logic from lab.css) */
.academy-hero .slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.academy-hero .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0; 
    animation: luxuryFade 15s infinite;
}

.academy-hero .slide-1 { animation-delay: 0s; }
.academy-hero .slide-2 { animation-delay: 5s; }
.academy-hero .slide-3 { animation-delay: 10s; }

/* Dark Overlay so the white text always pops */
.academy-hero .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 1;
}

/* Text Formatting */
.academy-hero-content {
    position: relative;
    z-index: 2; /* Keeps text above the slideshow and overlay */
    padding: 0 20px;
    max-width: 900px;
    color: #FFFFFF;
}

.academy-hero-content h1 {
    font-family: var(--font-serif);
    /* Reduced clamp max size slightly so it fits perfectly on mobile */
    font-size: clamp(2rem, 5vw, 3.5rem); 
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.academy-hero-content p {
    font-size: 1.15rem;
    color: #F0F0F0;
}

/* Heritage Section */
.heritage-section {
    padding: 80px 5%;
    text-align: center;
    background-color: var(--color-bg-white);
    max-width: 900px;
    margin: 0 auto;
}

.heritage-section h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-accent-gold);
    margin-bottom: 20px;
}

.heritage-section p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
}

/* Courses Grid */
.courses-section {
    padding: 80px 5%;
    background-color: var(--color-section-gray);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.course-image {
    width: 100%;
    height: 220px;
    background-color: #EAEAEA;
    object-fit: cover;
}

.course-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-content h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-text-black);
    margin-bottom: 15px;
}

.course-content p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Why Choose Us List */
.features-wrapper {
    max-width: 1000px;
    margin: 60px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 20px;
}

.feature-box h4 {
    color: var(--color-accent-gold);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Instructors Section */
.faculty-section {
    padding: 80px 5%;
    background-color: var(--color-bg-white);
}

.faculty-grid-lead {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.faculty-grid-assoc {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.instructor-card {
    text-align: center;
    max-width: 280px;
}

.instructor-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-accent-gold);
    margin-bottom: 20px;
    padding: 5px;
}

.instructor-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-text-black);
    margin-bottom: 5px;
}

.instructor-card span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
}

/* Ready to Enroll CTA */
.enroll-cta {
    background-color: var(--color-text-black);
    color: var(--color-bg-white);
    text-align: center;
    padding: 80px 5%;
}

.enroll-cta h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-accent-gold);
}

.enroll-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 40px;
    background-color: var(--color-accent-gold);
    color: var(--color-text-black);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.enroll-btn:hover {
    background-color: #FFF;
}