* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: #ffffff;
    color: #1b2b49;
}

html {
    scroll-behavior: smooth;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    padding: 14px;
    text-align: center;
    font-weight: 600;
    margin: 20px auto;
    width: 90%;
    border-radius: 6px;
}


/* HERO */
.contact-hero {
    background: linear-gradient(to right, #0b4fa3, #1b78d6);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.contact-hero h1 {
    font-size: 38px;
    margin-bottom: 10px;
}

/* MAIN SECTION */
.contact-section {
    padding: 70px 20px;
}

.contact-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* FORM */
.contact-form {
    background: #f4f6fb;
    padding: 40px;
    border-radius: 12px;
}

.contact-form h2 {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin: 15px 0 5px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form button {
    margin-top: 20px;
    padding: 12px;
    width: 100%;
    background: rgba(237, 167, 36, 0.995);
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}


/* DETAILS */
.contact-details h2 {
    margin-bottom: 15px;
}

.contact-details p {
    line-height: 1.8;
}

.info-block {
    margin-top: 20px;
}

.info-block h4 {
    margin-bottom: 5px;
}

/* SUBSCRIBE */
.subscribe {
    background: #fff4d6;
    padding: 60px 20px;
    text-align: center;
}

.youtube-btn img:hover{
    transform:scale(1.08);
}

.youtube-btn{
    display:inline-block;
    width:60px;
    height:60px;
    background:url("https://cdn-icons-png.flaticon.com/512/1384/1384060.png") no-repeat center;
    background-size:contain;
    margin-top:20px;
}

@media (max-width:768px){
    .youtube-btn{
        width:45px;
        height:45px;
    }
}


/* ================= FOOTER ================= */

.school-footer {
    background: #063360;
    color: #ffffff;
    padding-top: 50px;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* LOGO */
.footer-logo img {
    max-width: 140px;
    margin-bottom: 15px;
}

.footer-text {
    line-height: 1.6;
    opacity: 0.9;
}

/* COLUMNS */
.footer-col h4 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #facc15;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
}

.footer-col ul li a:hover {
    color: #facc15;
}

/* SOCIAL MEDIA */
/* .footer-social {
    margin-top: 30px;
    text-align: center;
} */


.footer-social {
    margin-top: 30px;
    text-align: center;
    display: flex;              /* make flex */
    justify-content: center;    /* center horizontally */
    align-items: center;
    gap: 20px;                  /* space between icons */
    flex-wrap: nowrap;          /* prevent wrapping */
}

.footer-social a {
    color: white;            /* icon color */
    font-size: 22px;
    margin: 0 10px;
    display: inline-block;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #ffd000;          /* hover color */
    transform: scale(1.2);
}


/* BOTTOM BAR */
.footer-bottom {
    margin-top: 30px;
    padding: 15px 20px;
    text-align: center;
    background: #063360;
    font-size: 13px;
}



/* ================= RESPONSIVE DESIGN ================= */

/* TABLETS */
@media (max-width: 768px) {

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 30px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* MOBILE */
@media (max-width: 768px) {

    
    /* ===== HERO ===== */
    .contact-hero {
        padding: 60px 15px;
    }

    .contact-hero h1 {
        font-size: 26px;
    }

    /* ===== CONTACT SECTION ===== */
    .contact-section {
        padding: 40px 15px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 25px;
    }

    .contact-form h2 {
        font-size: 20px;
    }

    /* DETAILS */
    .contact-details h2 {
        font-size: 20px;
    }

    .contact-details p {
        font-size: 14px;
    }

    /* SUBSCRIBE */
    .subscribe {
        padding: 40px 15px;
    }

    .subscribe-form {
        flex-direction: column;
        align-items: center;
    }

    .subscribe-form input {
        width: 100%;
        max-width: 320px;
    }

    .subscribe-form button {
        width: 100%;
        max-width: 320px;
    }

   /* ================= RESPONSIVE FOOTER ================= */

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto 15px;
    }

    .footer-col h4 {
        margin-top: 20px;
    }

    .footer-social a {
        display: block;
        margin: 10px 0;
    }


}
