
/* ==========================================
   CONTACT PAGE - VIVEHA TRUST
========================================== */


/* ================= BODY ================= */

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: #f5f7f9;
    color: #333;
}


/* ================= NAVIGATION ================= */

.navbar {
    background: #ffffff;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 8%;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

    position: sticky;
    top: 0;
    z-index: 1000;
}


.logo-area {
    display: flex;
    align-items: center;
}


.logo {
    width: 70px;
    margin-right: 15px;
}


.logo-area h2 {
    margin: 0;
    color: #0B6E4F;
}


nav ul {
    list-style: none;

    display: flex;

    gap: 25px;

    margin: 0;
    padding: 0;
}


nav ul li {
    display: inline;
}


nav ul li a {
    text-decoration: none;

    color: #333;

    font-weight: 600;

    transition: 0.3s;
}


nav ul li a:hover,
nav ul li a.active {
    color: #0B6E4F;
}


/* ================= HERO ================= */

.hero-contact {

    height: 400px;

    background:
        linear-gradient(
            rgba(11, 110, 79, 0.65),
            rgba(11, 110, 79, 0.65)
        ),
        url("./assets/Service/111.jpeg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    color: #ffffff;
}


.hero-contact h1 {
    font-size: 52px;

    margin: 0 0 15px;
}


.hero-contact p {
    font-size: 22px;

    margin: 0;

    padding: 0 20px;
}


/* ================= COMMON FRAME ================= */

.frame {

    width: 90%;

    max-width: 1200px;

    margin: 40px auto;

    background: #ffffff;

    border: 3px solid #0B6E4F;

    border-radius: 15px;

    padding: 35px;

    box-sizing: border-box;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
}


/* ================= INTRO ================= */

.contact-intro {
    text-align: center;
}


.contact-intro h2 {

    color: #0B6E4F;

    font-size: 28px;

    margin-top: 0;

    margin-bottom: 15px;
}


.contact-intro p {

    line-height: 1.8;

    font-size: 17px;

    margin: 0;
}


/* ================= CONTACT CARDS ================= */

.contact-container {

    width: 90%;

    max-width: 1200px;

    margin: 40px auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


.contact-card {

    background: #ffffff;

    border: 3px solid #0B6E4F;

    border-radius: 15px;

    padding: 35px 25px;

    text-align: center;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);

    transition: 0.3s;
}


.contact-card:hover {

    transform: translateY(-7px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* ================= ICON ================= */

.contact-icon {

    width: 75px;

    height: 75px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #0B6E4F;

    color: #ffffff;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 30px;
}


/* ================= CARD TEXT ================= */

.contact-card h2 {

    color: #0B6E4F;

    margin: 10px 0 15px;

    font-size: 23px;
}


.contact-card p {

    font-size: 16px;

    line-height: 1.8;

    margin: 0;
}


/* ================= FOOTER ================= */

footer {

    background: #0B6E4F;

    color: #ffffff;

    text-align: center;

    padding: 30px 20px;

    margin-top: 50px;
}


footer p {

    margin: 8px 0;
}


.copyright {

    font-size: 14px;

    margin-top: 15px;
}


/* ================= TABLET ================= */

@media (max-width: 1000px) {

    .contact-container {

        grid-template-columns: repeat(2, 1fr);
    }

}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

    /* Navigation */

    .navbar {

        flex-direction: column;

        padding: 12px 5%;
    }


    nav ul {

        flex-wrap: wrap;

        justify-content: center;

        margin-top: 15px;

        gap: 15px;
    }


    .logo {

        width: 60px;
    }


    .logo-area h2 {

        font-size: 21px;
    }


    /* Hero */

    .hero-contact {

        height: 300px;
    }


    .hero-contact h1 {

        font-size: 34px;
    }


    .hero-contact p {

        font-size: 18px;
    }


    /* Introduction */

    .frame {

        width: 92%;

        padding: 25px 20px;
    }


    .contact-intro h2 {

        font-size: 24px;
    }


    .contact-intro p {

        font-size: 15px;
    }


    /* Contact Cards */

    .contact-container {

        width: 92%;

        grid-template-columns: 1fr;
    }


    .contact-card {

        padding: 30px 20px;
    }

}


/* ================= SMALL MOBILE ================= */

@media (max-width: 480px) {

    .hero-contact h1 {

        font-size: 30px;
    }


    .hero-contact p {

        font-size: 16px;
    }


    .contact-icon {

        width: 65px;

        height: 65px;

        font-size: 26px;
    }


    .contact-card h2 {

        font-size: 21px;
    }

}
