* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Matter-Light;
}

@font-face {
    font-family: Matter-Light;
    src: url('/assets/matter-light.ttf');
}

html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}


header {
    width: 100%;
    padding-block: 1.5vw;
    position: relative;
}
.logo{
    width: 50px;
}

nav {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 6vw;
}

nav ul {
    display: flex;
    gap: 5vw;
}

nav ul a {
    color: #25262A;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.3vw;

    &:hover {
        color: #004BFF;
    }
}

.logo {
    width: 50px;
}

nav ul a li {
    list-style: none;
}

.btn {
    background-color: #004BFF;
    padding: 1vw 2vw;
    border-radius: 10px;
    outline: none;
    border: none;
    cursor: pointer;
    color: white;
    font-weight: 700;
    font-size: 1.2vw;
    font-family: Matter-Light;

    &:hover {
        background-color: #316bf3;
    }
}


/* -----------Text------------- */

.text {
    width: 85%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2vw;
    margin: 0 auto;
    margin-top: 6vw;
}

.text h1 {
    font-size: 3vw;
}

.text h1 span {
    color: #004BFF;
}

.text p {
    text-align: center;
    width: 60%;
    margin: 0 auto;
    font-size: 1.5vw;
    line-height: 2vw;
}


/* --------------Contact-------------- */

section {
    width: 85%;
    margin: 0 auto;
    margin-top: 6vw;
    display: flex;
    gap: 3vw;
}

#formMain {
    width: 50%;
}

#formMain form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1vw;
    padding: 2vw;
}

#formMain form input,
#formMain form textarea {
    padding: 1vw;
    width: 100%;
    outline: none;
    border: 1px solid #000;
    background-color: #316bf318;
    border-radius: 15px;
    font-size: 1.3vw;
}

#formMain form h1 {
    font-size: 2.5vw;
    margin-bottom: 2vw;
}

#formMain form button {
    background-color: #004BFF;
    padding: 1vw;
    border-radius: 15px;
    color: white;
    font-size: 1.3vw;
    font-weight: 900;
    border: none;
    cursor: pointer;
    &:hover{
        background-color: #316bf3;
    }
}

.details {
    width: 50%;
    padding: 2vw;
    font-size: 2vw;
}
.details ul{
    display: flex;
    flex-direction: column;
    gap: 3vw;
}
.details ul li{
    list-style: none;
}
.details ul li span{
    margin-right: 20px;
}
.details h1 {
    font-size: 2.5vw;
    margin-bottom: 2vw;
}




/* -------------Footer------------ */

footer {
    color: white;
    margin-top: 6vw;
    width: 100%;
    display: flex;
    padding: 5vw;
    justify-content: space-evenly;
    align-items: center;
    background-color: #004BFF;
}

footer div img {
    width: 50px;
 }
.footer-child1,
.footer-child3,
.footer-child4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3vw;
}

.links {
    display: flex;
    gap: 4vw;
    place-items: center;
}

.footer-child2 ul,
.footer-child3 ul,
.footer-child4 ul {
    margin-top: 2vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1vw;
}

.footer-child2 ul a,
.footer-child3 ul a,
.footer-child4 ul a {
    color: white;
    text-decoration: none;
}

.footer-child2 ul a li,
.footer-child3 ul a li,
.footer-child4 ul a li {
    list-style: none;
}
 /* resonsive code */
 @media (max-width: 599px) {
    .text h1 {
        font-size: 8vw;
        margin-top: 30px;
    }
    .text p {
        font-size: 3vw;
        line-height: 3vw;
    }
    section {
        display: grid;
        place-items: center; 
        width: 100%;
        
    }
    #formMain form{
        gap: 2vw;
    }
    #formMain {
        width: 70%;
    }
    #formMain form h1 {
        font-size: 4.5vw;
    }
    #formMain form input, #formMain form textarea {
        padding: 2vw;
        font-size: 2.3vw;
    }

    #formMain form button {
        padding: 2vw;
        font-size: 2.3vw;
    }
    .details{
        width: 70%;
        padding: 30px;
    }
    footer{
        display: grid;
        place-items: center;
    }
    .footer-child2,
.footer-child3,
.footer-child4 {
   margin-top: 30px;
}
.footer-child2 h2,
.footer-child3 h2,
.footer-child4 h2{
   font-size: 1.1em;
}


 }
 @media (min-width:600px) and (max-width:767px) {
    .text h1 {
        font-size: 4vw;
    }
    .text p {
        width: 65%;
        font-size: 1.7vw;
    }
    #formMain form input, #formMain form textarea {
        padding: 1.5vw;
        font-size: 1.5vw;
    }
    #formMain form button {
        font-size: 1.7vw;
    }
    .footer-child2 h2{
        font-size: 1.2em;
    }
    .footer-child3 h2{
        font-size: 1.2em;
    }
    .footer-child4 h2{
        font-size: 1.2em;
    }
    .footer-child2 ul a li,
.footer-child3 ul a li,
.footer-child4 ul a li {
    font-size: 2.2vw;
    list-style: none;
}
 }


 
/* --------Modal---------------- */


.modal {
    display: none;
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    /* 15% from the top and centered */
    padding: 4vw;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
    border-radius: 30px;
    max-width: 500px;
    /* Optional: Limit the width */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.contact-options {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.contact-options div {
    flex: 1;
    padding: 10px;
}

.call-us {
    width: 15vw;
}

.call-us a {
    width: 100%;
    background-color: #004BFF;
    padding: 1vw;
    border-radius: 10px;
    outline: none;
    border: none;
    cursor: pointer;
    color: white;
    font-weight: 700;
    font-size: 1.2vw;
    text-decoration: none;
    font-family: Matter-Light;

    &:hover {
        background-color: #316bf3;
    }
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    justify-content: center;
    /* Center items */
    align-items: center;
    /* Align items vertically */
    margin: 20px 0;
    /* Add margin for spacing */
}

.call-us {
    display: flex;
    align-items: center;
    /* Align items vertically in the call-us section */
    background-color: #004BFF;
    /* Background color */
    border-radius: 10px;
    /* Rounded corners */
    padding: 10px;
    /* Padding inside the container */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* Add shadow for depth */
}


.call-input {
    background-color: transparent;
    /* Make input background transparent */
    border: none;
    /* Remove border */
    outline: none;
    /* Remove outline */
    color: white;
    /* Input text color */
    font-weight: 700;
    /* Font weight */
    font-size: 1rem;
    /* Font size */
    padding: 10px;
    /* Padding inside input */
    border-radius: 5px;
    /* Slightly rounded corners for input */
    width: 120px;
    /* Set a shorter width for the input */
}

.call-parent {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}
.call-parent .email-us{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(178, 178, 178, 0.236);
    gap: 1vw;
    border-radius: 10px;
}
.call-parent .email-us a{
    text-decoration: none;
    font-size: 1.5vw;
    font-weight: 700;
}
.call-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    /* Placeholder color */
    opacity: 1;
    /* Ensure full visibility */
}


.contact-email {
    border: 1px solid #004BFF;
    outline: none;
    /* Remove outline */
    text-align: center;
    padding: 10px;
    /* Padding inside input */
    border-radius: 10px;

    &:hover {
        background: #004cff21;
    }
}

.contact-email a {
    color: #004BFF;
    /* Input text color */
    font-weight: 700;
    /* Font weight */
    font-size: 1.5vw;
    /* Font size */
    text-decoration: none;
}

.menu-icon {
    display: none;
    position: fixed;
    right: 5%;
}

.mobile-navbar {
    background-color: #316bf3;
    z-index: 10000;
    padding: 5vw;
    width: 60%;
    height: 100vh;
    position: fixed;
    right: -100%;
    top: 0;
    transition: all 0.7s ease;
}

.mobile-navbar ul {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    margin-top: 45%;
}

.mobile-navbar ul a {
    color: white;
    font-size: 5vw;
}

.mobile-navbar ul svg {
    position: absolute;
    top: 5%;
    left: 8%;
}


#result {
    font-size: 1vw;
    color: black; 
    opacity: 0;
    transition-duration: 300ms;
  }
  
  @media (min-width: 768px) {
    #result {
      font-size: 2vw;
    }
  }
  