/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Global Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
    overflow-x: hidden;
}

address {
    text-align: center;
    font-weight: bold;
    color: #8e5102;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo Animation Screen */
.logo-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.logo-screen img {
    width: 150px;
    opacity: 0;
}

/* Header */
header {
    background: #8e5102;
    color: white;
    padding: 1px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    width: 100%;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    transition: all 0.3s;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* About Section */
.about-section {
    background: url('./images/schoolImage.jpg') no-repeat center center/cover;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    gap: 20px;
    text-align: center;
}

.about-section h2 {
    color: white;
    font-size: clamp(24px, 3vw, 32px);
}

h2,
h3 {
    color: #8e5102;
}

/* Image Container */
.image-container img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
}

/* Career Section */
.career-section {
    text-align: center;
    padding: 40px 20px;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: clamp(14px, 2vw, 16px);
}

/* Contact Section */
#contact {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#contact h2 {
    color: #333;
    font-size: clamp(22px, 3vw, 26px);
}

#contact p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

#contact a {
    color: #0073e6;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

.frame-container {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.frame-container.visible {
    display: block;
    opacity: 1;
}

iframe {
    width: 100%;
    height: 800px;
    border: none;
    /* Remove iframe border */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-section {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: row;
        text-align: center;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .about-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 15px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    footer {
        font-size: 14px;
    }
}