/* =========================================
   GLOBAL STYLES
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #062c4c;;
    --primary-dark: #073c2d;
    --secondary: #f3b323;
    --light-green: #edf8f3;
    --light: #f8faf9;
    --dark: #17201c;
    --text: #5c6661;
    --white: #ffffff;
    --border: #e2e8e5;
    --shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* =========================================
   PAGE HERO
========================================= */

.page-hero {
    min-height: 350px;
    position: relative;

    background:
        linear-gradient(
            rgba(7, 60, 45, 0.35),
            rgba(7, 60, 45, 0.35)
        ),
        url("../img/sch-building.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.hero-content span {
    color: var(--secondary);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: clamp(40px, 6vw, 65px);
    margin: 10px 0;
}

.hero-content p {
    max-width: 650px;
    margin: auto;
    font-size: 17px;
    opacity: 0.92;
}


/* =========================================
   SECTION HEADING
========================================= */

.contact-section {
    padding: 90px 0;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
}

.section-heading span,
.form-header span {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-heading h2 {
    font-size: 38px;
    margin: 8px 0 15px;
    color: var(--primary-dark);
}

.section-heading p {
    color: var(--text);
}


/* =========================================
   CONTACT WRAPPER
========================================= */

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 45px;
    align-items: stretch;
}


/* =========================================
   CONTACT INFORMATION
========================================= */

.contact-info {
    background: var(--primary);
    padding: 45px;
    color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    font-size: 30px;
    margin-bottom: 10px;
}

.info-intro {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.info-card {
    display: flex;
    gap: 17px;
    margin-bottom: 25px;
}

.info-icon {
    min-width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--secondary);
    display: grid;
    place-items: center;
}

.info-card h4 {
    margin-bottom: 4px;
}

.info-card p,
.info-card a {
    color: rgba(255, 255, 255, 0.82);
    display: block;
    font-size: 14px;
}

.info-card a:hover {
    color: var(--secondary);
}

.quick-buttons {
    display: flex;
    gap: 12px;
    margin-top: 35px;
}

.call-btn,
.email-btn {
    padding: 13px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.call-btn {
    background: var(--secondary);
    color: var(--primary-dark);
}

.email-btn {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
}


/* =========================================
   CONTACT FORM
========================================= */

.contact-form-container {
    padding: 45px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    color: var(--primary);
    font-size: 28px;
    margin: 5px 0;
}

.form-header p {
    color: var(--text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 7px;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--light);
    padding: 14px 15px;
    border-radius: 5px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    transition: 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(12, 90, 67, 0.08);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    border: none;
    background: var(--primary);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}


/* =========================================
   MAP
========================================= */

.map-section {
    width: 100%;
}

.map-container {
    width: 100%;
    height: 420px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* =========================================
   CTA
========================================= */

.contact-cta {
    background:
        linear-gradient(100deg, rgba(5,48,98,.65), rgba(10,79,156,.65)),
        url("../img/gallery2.jpg") center/cover;
    color: #fff;
    padding: 70px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-content span {
    color: var(--secondary);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.cta-content h2 {
    font-size: 35px;
    color: white;
    margin: 5px 0;
}

.cta-content p {
    color: white;
}

.cta-btn {
    background: var(--primary);
    color: var(--white);
    padding: 15px 24px;
    border-radius: 5px;
    font-weight: bold;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-btn:hover {
    background: var(--primary-dark);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .navbar {
        gap: 15px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .top-content {
        justify-content: center;
        text-align: center;
    }

    .top-content > div:first-child {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .top-content span {
        margin-right: 0;
        font-size: 12px;
    }

    .social-links {
        display: none;
    }


    .nav-container {
        min-height: 70px;
    }

    .menu-btn {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);

        display: none;
        flex-direction: column;
        align-items: flex-start;

        padding: 20px 5%;
        gap: 0;

        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }

    .navbar.show {
        display: flex;
    }

    .navbar a {
        width: 100%;
        padding: 13px 0;
    }

    .navbar a::after {
        display: none;
    }


    .page-hero {
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 15px;
    }


    .contact-section {
        padding: 65px 0;
    }

    .section-heading h2 {
        font-size: 30px;
    }


    .contact-info,
    .contact-form-container {
        padding: 30px 22px;
    }


    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }


    .quick-buttons {
        flex-direction: column;
    }

    .call-btn,
    .email-btn {
        justify-content: center;
    }


    .map-container {
        height: 330px;
    }


    .cta-content h2 {
        font-size: 28px;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }


    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        text-align: center;
        padding: 20px 0;
    }

}