* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: Matter-Light;
    src: url('/assets/matter-light.ttf');
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: Matter-Light;
}

header {
    width: 100%;
    padding-block: 1.5vw;
    position: relative;
}

header .main-img {
    margin: 2vw 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

header .main-img img {
    width: 85%;
    height: 40vw;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 30px;
    filter: brightness(.4);
}
.logo{
    width: 50px;
}
nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 6vw;
    /* gap: 5vw; */
}

nav ul {
    display: flex;
    gap: 5vw;
}

nav ul a {
    color: #25262A;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.3vw;

    &:hover {
        color: #004BFF;
    }
}

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;

    &:hover {
        background-color: #316bf3;
    }
}


/* -----------Text------------- */

.text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5vw;
}

.text h1 {
    font-size: 3vw;
}

.text p {
    font-size: 1.5vw;
    line-height: 2vw;
}

/* ----------Services------------ */
main {
    margin-top: 6vw;
}

#services {
    width: 85%;
    margin: 0 auto;
}

.firstpara-services {
    font-size: 3vw;
    font-weight: 700;
}

.services-parent {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1vw;
    margin-top: 4vw;
}

.service {
    border-radius: 30px;
    overflow: hidden;
    padding: 2.5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5vw;
    background-color: rgb(235, 235, 235);
}

.blue-ser {
    background: #004BFF;
    color: white;
}

.service span {
    font-size: 2vw;
    font-weight: 700;
}

.service p {
    font-size: 1.3vw;
    font-weight: 500;
}

#socialMedia{
    font-size: 1.8vw;
}
/* ------------Consultation CAll-------------- */

.consultation {
    margin-top: 6vw;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.consultation h1 {
    font-size: 4vw;
    font-weight: 900;
    margin-block: 3vw;
}

.btn {
    font-size: 1.2vw;
    font-family: Matter-Light;
}

/* -------------Footer------------ */
footer {
    color: white;
    margin-top: 6vw;
    width: 100%;
    display: flex;
    padding: 5vw;
    justify-content: space-between; /* Use space-between for better distribution */
    align-items: flex-start; /* Align items to the start for consistent top alignment */
    background-color: #004BFF;
}

footer div img {
    width: 50px;
 }

.footer-child1,
.footer-child2,
.footer-child3,
.footer-child4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1vw; /* Reduced gap for better spacing */
}
.footer-child2 h2,.footer-child3 h2,.footer-child4 h2 {
    color: white;

}

.links {
    display: flex;
    gap: 4vw;
    align-items: center; /* Use align-items for vertical centering */
    color: white;
}

.footer-child2 ul,
.footer-child3 ul,
.footer-child4 ul {
    margin-top: 1vw; /* Reduced margin for better alignment */
    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,
.footer-child3 ul a,
.footer-child4 ul a {
    padding: 0.5vw; /* Add padding for better clickability */
    transition: color 0.3s; /* Smooth transition for hover effect */
}

.footer-child2 ul a:hover,
.footer-child3 ul a:hover,
.footer-child4 ul a:hover {
    color: #aaccff; /* Change color on hover for better visibility */
}

.footer-child2 ul li,
.footer-child3 ul li,
.footer-child4 ul li {
    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;
}


/* --------------FAQ's------------ */

.faq-section {
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 30px;
    max-width: 80%;
    margin: 0 auto;
    margin-top: 10vw;
    border: 1px solid rgba(0, 0, 0, 0.432);
}

h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
    color: #2c3e50;
}

.faq-item {
    position: relative;
    margin-bottom: 30px;
    cursor: pointer;
    padding-right: 30px;
}

.faq-item span {
    display: block;
    font-size: 1.4em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    display: none;
    margin-bottom: 10px;
}

.icon {
    position: absolute;
    right: 0;
    top: 10px;
    font-size: 1.4em;
    color: #2c3e50;
    transition: transform 0.3s ease;
}

.faq-item.active .icon {
    transform: rotate(45deg);
    /* Changes + to x (minus) when active */
}

.faq-item.active p {
    display: block;
    /* Show answer when active */
}

.faq-item span:hover,
.faq-item .icon:hover {
    color: #3498db;
}


/* ----------Responsiveness--------------- */


@media screen and (max-width: 550px){
    header .main-img img{
        height: 100vw;
        margin-top: 17vw;
    }
    .text h1 {
        font-size: 5vw;
    }
    .text p {
        font-size: 3.5vw;
        line-height: 4vw;
    }
}



.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%;
}