﻿.contact-hero {
    position: relative;
    padding: 40px 0;
    color: #fff;
    background-image: url('../images/Contact.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
/* Dark overlay for readability */
.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 31, 75, 0.75); /* school blue overlay */
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-hero h1 {
    font-size: 48px;
    font-weight: 700;
}

.contact-hero p {
    font-size: 18px;
    opacity: 0.95;
}


/* Section */
.contact-section {
    padding: 80px 0;
    background: #f4b400;
}

/* Info Card */
.contact-info-card {
    background: linear-gradient(180deg,#0b1f4b,#08163a);
    color: #fff;
    padding: 40px;
    border-radius: 16px;
    height: 100%;
}

    .contact-info-card h3 {
        margin-bottom: 30px;
        font-weight: 700;
    }

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 16px;
}

    .info-item i {
        color: #f4b400;
        font-size: 20px;
    }

/* Social */
.contact-social a {
    color: #fff;
    font-size: 20px;
    margin-right: 15px;
    transition: .3s;
}

    .contact-social a:hover {
        color: #f4b400;
    }

/* Form */
.contact-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
}

    .contact-form-card h3 {
        margin-bottom: 25px;
        font-weight: 700;
    }

.form-control {
    border-radius: 8px;
    padding: 12px;
}

/* Button */
.btn-contact {
    background: #f4b400;
    color: #fff;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    border: none;
}

    .btn-contact:hover {
        background: #d89e00;
    }

/* ================= CONTACT MAP SPLIT SECTION ================= */

.contact-map-section {
    padding: 60px 0 80px; /* 👈 bottom padding kam */
    background: #f8f9fb;
}


/* LEFT INFO */
.contact-map-info {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

    .contact-map-info h3 {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 15px;
        color: #0b1f4b;
    }

    .contact-map-info p {
        font-size: 16px;
        color: #555;
        margin-bottom: 20px;
        line-height: 1.7;
    }

    .contact-map-info ul {
        list-style: none;
        padding: 0;
        margin-bottom: 25px;
    }

        .contact-map-info ul li {
            display: flex;
            gap: 12px;
            margin-bottom: 14px;
            font-size: 15.5px;
            color: #333;
        }

            .contact-map-info ul li i {
                color: #f4b400;
                font-size: 18px;
                margin-top: 2px;
            }

/* BUTTON */
.btn-map {
    background: #0b1f4b;
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
}

    .btn-map:hover {
        background: #f4b400;
        color: #000;
    }

/* RIGHT MAP */
.map-wrapper {
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

    .map-wrapper iframe {
        width: 100%;
        height: 100%;
        min-height: 200px; /* 👈 pehle 380px tha */
        border: 0;
    }


/* MOBILE */
@media (max-width: 768px) {
    .map-wrapper iframe {
        min-height: 300px;
    }
}

/* ================= ANIMATION ================= */

.animate-left,
.animate-right {
    opacity: 0;
    transition: all 0.9s ease;
}

.animate-left {
    transform: translateX(-80px);
}

.animate-right {
    transform: translateX(80px);
}

    .animate-left.active,
    .animate-right.active {
        opacity: 1;
        transform: translateX(0);
    }

/* MOBILE */
@media (max-width:768px) {
    .contact-hero h1 {
        font-size: 34px;
    }
}
/* ================= PAGE LOAD ANIMATION ================= */

.load-left {
    opacity: 0;
    transform: translateX(-60px);
    animation: loadLeft 0.9s ease forwards;
}

.load-right {
    opacity: 0;
    transform: translateX(60px);
    animation: loadRight 0.9s ease forwards;
}

@keyframes loadLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes loadRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
