@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
    --primary-color: #BF1E2E;
    --primary-color-dark: #93222D;
    --primary-color-light: #EBEEF1;
    --secondary-color: #53565B;
    --text-dark: #333333;
    --text-light: #767268;
    --white: #ffffff;
    --max-width: 1200px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    width: 100%;
    background-color: #fff;
}


.navbar {
    margin: 0 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.nav {
    position: fixed;
    top: 10px;
    left: 150px;
    right: 150px;
    padding: 5px 20px;
    transition: background-color 0.3s ease;
    z-index: 1000;
    border-radius: 10px;
    justify-content: space-between;
}

.nav.scrolled {
    background-color: hsla(0, 0%, 100%, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav,
.nav .nav-links {
    display: flex;
    align-items: center;
}

a {
    text-decoration: none;
}

.logo {
    max-width: 70px;
    display: inline-block;
}

.logo img {
    width: 80%;
}

.nav .nav-links {
    column-gap: 20px;
    list-style: none;
}

.nav .nav-links a {
    transition: all 0.2s linear;
    color: #000;
    text-decoration: none;
}

.nav .nav-links a:hover {
    color: #BF1E2E;
}

.active {
    color: #BF1E2E;
}

.nav .navOpenBtn,
.nav .navCloseBtn {
    display: none;
}

.contact1 {
    display: none;
}

.contact2 {
    list-style: none;
    padding: 10px 15px;
    background-color: var(--primary-color);
    border-radius: 25px;
    color: #fff;
}

.contact2:hover {
    background-color: var(--secondary-color);
}

/* responsive */
@media screen and (max-width: 1024px) {
    .navbar {
        margin: 0 40px;
    }

    .nav {
        left: 40px;
        right: 40px;
        padding: 0px 10px;
    }

    .nav .nav-links {
        column-gap: 15px;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        margin: 0 20px;
    }

    .nav {
        left: 20px;
        right: 20px;
        padding: 5px 15px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .nav .logo {
        display: flex;
        flex: 1 1 100%;
        text-align: center;
        justify-content: center;
    }

    .nav .navOpenBtn,
    .nav .navCloseBtn {
        display: block;
    }

    .contact1 {
        display: block;
    }

    .contact2 {
        display: none;
    }

    .nav .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100%;
        max-width: 280px;
        width: 100%;
        padding-top: 100px;
        row-gap: 30px;
        flex-direction: column;
        background-color: var(--primary-color-light);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
        z-index: 100;
    }

    .nav.openNav .nav-links {
        left: 0;
    }

    .nav .navOpenBtn {
        color: #000;
        font-size: 20px;
        cursor: pointer;
    }

    .nav .navCloseBtn {
        position: absolute;
        top: 20px;
        right: 20px;
        color: #000;
        font-size: 20px;
        cursor: pointer;
    }

}




.section-one {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0px 36px;
}

.contact-container {
    display: flex;
    max-width: 1000px;
    width: 90%;
    overflow: hidden;
    gap: 30px;
}

.form-conainer {
    width: 50%;
}

.contact-form {
    flex: 1;
    padding: 30px 0px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.topic {
    font-size: 32px;
    font-weight: 500;
    color: #000;
}

.important-field {
    color: var(--primary-color);
}

.contact-form label {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: #131313;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: var(--primary-color-light);
    font-size: 16px;
    font-family: "Poppins", sans-serif;
}

.phone-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.flag img {
    width: 24px;
    height: auto;
}

.phone-code {
    font-size: 16px;
    color: #333;
}

.send-button {
    padding: 10px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.send-button:hover {
    background-color: #131313;
}

.map-container {
    width: 50%;
    height: auto;
    border-radius: 8px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Ensure all input fields have the same width */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
}

/* specific styling for intl-tel-input to match the width */
.contact-form .iti {
    width: 100%;
}

/* margin between flag dropdown and phone number field */
.contact-form .iti__flag-container {
    margin-right: 8px;
}

/* Tablet view */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .form-conainer,
    .map-container {
        width: 100%;
    }

    .contact-form {
        padding: 20px;
    }
}

/* Mobile view */
@media (max-width: 480px) {
    .contact-container {
        padding: 0 10px;
    }

    .contact-form label {
        font-size: 14px;
    }

    .contact-form input,
    .contact-form textarea,
    .send-button {
        font-size: 14px;
        padding: 8px;
    }

    .send-button {
        font-size: 16px;
        padding: 12px;
    }

    .map-container {
        height: 250px;
    }
}


.whatsapp_float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
}

.whatsapp-icon {
    margin-top: 16px;
}

@media screen and (max-width: 767px) {
    .whatsapp-icon {
        margin-top: 18px;
    }

    .whatsapp_float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 10px;
        font-size: 22px;
    }
}

