/* === CSS Variables (School Colors: Yellow & Blue-Black) === */
:root {
    --yellow-primary: #F9A825;
    --yellow-light: #FFD54F;
    --yellow-dark: #F57F17;
    --blue-black: #1A237E;
    --blue-black-light: #283593;
    --white: #FFFFFF;
    --off-white: #F5F7FA;
    --gray-light: #E0E0E0;
    --gray: #666666;
    --gray-dark: #333333;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--off-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Page Header === */
.page-header {
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.55)
        ),
        url('../img/O7.png') center center / cover no-repeat;

    color: var(--white);
    padding: 170px 0;
    width: 100%;
    height: 500px;
    text-align: center;
    position: relative;
    overflow: hidden;
}



.page-header h1 {
    font-family: 'Roboto Slab', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* === Section Titles === */
.section-title {
    font-family: 'Roboto Slab', serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: var(--blue-black);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--yellow-primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* === Contact Overview === */
.contact-overview {
    padding: 70px 0 30px;
}

.overview-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.overview-container p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

/* === Contact Cards === */
.contact-cards {
    padding: 30px 0 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.contact-card {
    background: var(--white);
    padding: 36px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--yellow-light);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(249, 168, 37, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 28px;
    color: var(--yellow-dark);
}

.contact-card h3 {
    font-family: 'Roboto Slab', serif;
    color: var(--blue-black);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.contact-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue-black);
    font-weight: 600;
    text-decoration: none;
    margin-top: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.contact-link:hover {
    color: var(--yellow-dark);
}

.contact-link:hover i {
    transform: translateX(4px);
}

/* === Form & Map Section === */
.contact-form-map {
    padding: 50px 0;
}

.form-map-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form-container h3 {
    font-family: 'Roboto Slab', serif;
    color: var(--blue-black);
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-dark);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.required {
    color: #E53935;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--off-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--yellow-primary);
    box-shadow: 0 0 0 3px rgba(249, 168, 37, 0.2);
    background: var(--white);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--blue-black);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--yellow-primary);
    color: var(--blue-black);
}

.btn-secondary:hover {
    background: var(--yellow-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.form-status {
    margin-bottom: 16px;
    font-size: 0.9rem;
    font-weight: 500;
}

.success-msg {
    color: #2E7D32;
    background: #E8F5E9;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
}

.error-msg {
    color: #C62828;
    background: #FFEBEE;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
}

/* Map */
.map-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 520px;
}

#map {
    height: 100%;
    width: 100%;
    z-index: 1;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(26, 35, 126, 0.92);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    z-index: 10;
    backdrop-filter: blur(4px);
}

.map-overlay h4 {
    font-family: 'Roboto Slab', serif;
    margin-bottom: 4px;
    font-size: 1rem;
}

.map-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 4px;
}

.map-overlay i {
    color: var(--yellow-primary);
    margin-right: 6px;
}

/* Custom Leaflet Marker */
.custom-marker {
    background: none !important;
    border: none !important;
}

/* === FAQ Section === */
.faq-section {
    padding: 70px 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--off-white);
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--blue-black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

.faq-question i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--yellow-dark);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-answer.active {
    max-height: 400px;
    padding: 0 24px 20px;
}

/* === Visit Section === */
.visit-info {
    padding: 60px 0 70px;
}

.visit-container {
    text-align: center;
}

.visit-card {
    background: var(--white);
    max-width: 500px;
    margin: 30px auto 0;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--yellow-primary);
    transition: var(--transition);
}

.visit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.visit-card i {
    font-size: 42px;
    color: var(--yellow-dark);
    margin-bottom: 16px;
}

.visit-card h4 {
    font-family: 'Roboto Slab', serif;
    color: var(--blue-black);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.visit-card p {
    color: var(--gray);
    margin-bottom: 8px;
}

/* === Animations === */
.animate-on-scroll, .animate-left, .animate-right {
    opacity: 0;
    transition: all 0.8s ease;
}

.animate-on-scroll {
    transform: translateY(30px);
}

.animate-left {
    transform: translateX(-40px);
}

.animate-right {
    transform: translateX(40px);
}

.animate-on-scroll.animated, 
.animate-left.animated, 
.animate-right.animated {
    opacity: 1;
    transform: translate(0);
}

/* === Responsive Design === */
@media (max-width: 992px) {
    .form-map-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .map-container {
        height: 400px;
    }
    
    .contact-form-container {
        padding: 30px 24px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-overview {
        padding: 50px 0 20px;
    }
    
    .faq-section {
        padding: 50px 0;
    }
    
    .visit-info {
        padding: 40px 0 50px;
    }
    
    .map-overlay {
        position: static;
        border-radius: 0;
        margin-top: -4px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .contact-form-container {
        padding: 24px 16px;
    }
    
    .contact-card {
        padding: 28px 16px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}