/* SCHOOL COLOR THEME */

:root {

    --school-primary: #0f766e;
    --school-accent: #f59e0b;
    --school-dark: #1f2937;
    --school-light: #f9fafb;
}

header {
    padding: 20px;
}

.logo {
    padding-left: 3%;
}

/* ABOUT SECTION */

.about-section {
    background: var(--school-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;

}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #444;
}

.about-highlight {

    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--school-accent);

}

.about-highlight h3 {

    margin-bottom: 15px;
    color: var(--school-primary);

}

.about-highlight ul {
    list-style: none;
}

.about-highlight li {
    padding-bottom: 8px;
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 3px solid var(--school-accent);

}

/* About CSS Ends Here */


/* SCHOOL INFO CARDS */

.info-card h3 {
    color: var(--school-primary);
}

@media (max-width:900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.info-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--school-accent);
}

.info-card a {
    color: #ff8c32;
    text-decoration: none;
    font-weight: 600;
}

.info-card a:hover {
    text-decoration: underline;
}

.card:hover {
    transform: translateY(-5px);
    border-top: 4px solid var(--school-accent);
}

/* --------------- contact section CSS ------------------ */

.contact-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-info p a {
    color: white;
}

.contact-info p a:hover {
    color: var(--school-accent);
    padding-left: 5px;
}

.contact-info h2 {
    color: var(--school-accent);
    margin-bottom: 1%;
}

.school-name {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
    color: var(--school-primary);
    white-space: nowrap;
    z-index: 5;
}

/* --- Mobile Specific Centering --- */
@media (max-width: 992px) {
    header {
        flex-direction: column;
        /* Stacks items vertically */
        padding: 15px 5%;
        gap: 10px;
    }

    .logo {
        width: 100%;
        display: flex;
        justify-content: center;
        /* Centers Logo & Text */
        margin-bottom: 5px;
    }

    .school-name {

        position: static;
        transform: none;
        left: auto;

        width: 100%;
        text-align: center;

        font-size: 0.9rem;
        order: 2;

        /* allow wrapping */
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Keeps the Hamburger Menu accessible */
    .menu-toggle {
        position: absolute;
        right: 20px;
        top: 25px;
    }
}

/* --- Professional School Footer --- */
.school-footer {
    background: #111827;
    color: #e5e7eb;
    padding: 60px 5% 20px;
    margin-top: 50px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-col h3 span {
    color: var(--secondary);
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--school-primary);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-col p {
    line-height: 1.6;
    font-size: 0.95rem;
    color: #9ca3af;
}

.school-badge {
    margin-top: 15px;
    display: inline-block;
    padding: 5px 15px;
    background: rgba(15, 118, 110, 0.2);
    border: 1px solid var(--school-primary);
    color: var(--school-primary);
    border-radius: 5px;
    font-size: 0.85rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--school-accent);
    padding-left: 5px;
}

.footer-contact-item {
    margin-top: 10px;
    color: #d1d5db !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
}

/* --- Footer Mobile Responsiveness --- */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        /* Stacks columns on phone */
        text-align: center;
        gap: 30px;
    }

    .footer-col h4 {
        border-bottom: none;
    }

    .footer-col h4::after {
        content: '';
        display: block;
        width: 50px;
        height: 2px;
        background: var(--school-primary);
        margin: 10px auto;
    }
}


/* SCHOOL MAP SECTION */

.map-section p {
    margin-top: 10px;
    font-size: 1rem;
    color: #444;
}

/* View on Google Maps Button */

.map-section a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background: var(--school-primary);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.map-section a:hover {
    background: var(--school-accent);
    transform: translateY(-2px);
}

/* Map Container */

.map-container {
    margin-top: 25px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Make iframe responsive */

.map-container iframe {
    width: 100%;
    height: 420px;
    border: none;
}

/* MOBILE RESPONSIVE */

@media (max-width:768px) {

    .map-section {
        text-align: center;
    }

    .map-container iframe {
        height: 300px;
    }

    .map-section a {
        padding: 10px 16px;
        font-size: 0.95rem;
    }

}


/* ---------------- LICENSE SECTION For school 3 ---------------------- */

.license-section {
    padding: 3rem 8% 3rem;
}

.license-section p {
    margin-top: 10px;
    color: #444;
}

/* PDF Viewer */

.pdf-container {
    margin-top: 15px;
    width: 100%;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.pdf-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Download Button */

.download-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--school-primary);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.download-btn:hover {
    background: var(--school-accent);
}

/* Mobile */

@media (max-width:768px){

.pdf-container{
    height: 400px;
}

}

/* -------------- adjusted language button for schools webpages -------------- */
.lang-wrapper {
    position: fixed;
    top: 17%; 
    left: 2%;
    z-index: 2000;
}
