

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

body {
    overflow-x: hidden;
    background-color: #F8F8F8;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 12vh;
    font-family: 'Poppins';
    background-color: #3E4E50;
}

p {
    font-family: 'Poppins';
}

.logo {
    color: #f8f8f8;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    border-bottom: 1px solid #D5A021;
}

.logo img {
    width: 40px;
    height: 40px;
}

.logo a {
    text-decoration: none;
    color: #f8f8f8;
}

.logo-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1em;
}

.logo p {
    font-size: 14px;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.nav-links li:nth-of-type(6) {
    background-color: #D5A021;
    border-radius: 35px;
    padding: 1rem 1.2rem;
}

.nav-links li:nth-of-type(6):hover {
    opacity: 0.8;
}

.nav-links li {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.5rem;
    transition: 0.3s;
    background-color: #3E4E50;
    position: relative;
}

.nav-links li .under-line {
    width: 100%;
    height: 1px;
    background-color: #D5A021;
    position: absolute;
    left: 0px;
    bottom: 0px;
    display: none;
} 

.nav-links li:hover .under-line {
    display: block;
}

.nav-links a {
    text-decoration: none;
    color: #F8F8F8;
    letter-spacing: 3px;
    font-weight: bold;
}

.sub-menu {
    display: block;
    position: absolute;
    background-color: #3E4E50;
    padding: 10px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    display: none;
    top: 56px;
}

.sub-menu-button {
    position: relative;
}

.caret {
    position: absolute;
    right: 5px;
    top: 25px;
}

#for-small-menu {
    display: none;
}

.sub-menu-button:hover .sub-menu {
    display: block;
}

.sub-menu li {
    width: 180px;
    border-radius: 1px;
    transition: 0.3s;
    padding: 1rem 1rem;
    cursor: pointer;
    position: relative;
    
}

.sub-menu li .under-line {
    width: 100%;
    height: 1px;
    background-color: #D5A021;
    position: absolute;
    left: 0px;
    bottom: 0px;
    display: none;
} 

.sub-menu li:hover .under-line {
    display: block;
}

.caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #F8F8F8;
}

.burger {
    display: none;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #D5A021;
    margin: 5px;
    transition: all 0.3s ease;
}

.section1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
    padding: 75px;
    gap: 2em;
    
}




.first-image img {
   width: 100%;
   min-width: 300px;
   max-width: 1000px;
}

.upper-catch h2 {
    color: #3E4E50;
    font-size: 35px;
    font-weight: 300;
    line-height: 40px;
    margin-bottom: 10px;
}


.catch-and-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    font-family: 'poppins';
    width: 80%;
}

@media (max-width: 978px) and (min-width: 841px) {
    
.button {
display: flex;
flex-direction: column;
gap: 1em;
}

.first-button {
    max-width: 80%;
}

}

@media (max-width: 978px) {
    .nav-links {
        gap: 0.5em;
    }
}





.first-button {
background-color: #3E4E50;
color: #f8f8f8;
text-decoration: none;
padding: 1rem 1.5rem;
border-radius: 25px;
border: none;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
font-family: 'poppins';
}

.fa-phone {
    margin-right: 2px;
    
}

.section2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
    padding: 0 50px;

}

.icon {
    
    background-color: #3E4E50;
    border-radius: 15px;
    position: relative;
    margin-bottom: 5px;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 20px;
}

.top-box {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 20px;
}

.fa-question {
    color: #f8f8f8;
    top: 5px;
    left: 10px;
    position: absolute;
}

.fa-forward-fast {
    color: #f8f8f8;
    top: 5px;
    left: 7px;
    position: absolute;
}

.fa-user-tie {
    color: #f8f8f8;
    top: 5px;
    left: 8px;
    position: absolute;
}

.fa-gears {
    color: #f8f8f8;
    top: 5px;
    left: 5px;
    position: absolute;
}

.box1 {
    padding: 20px 10px;
    border-radius: 15px;
    width: 45%;
    height: 150px;
    background-color: #f8f8f8;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1)
}

.box1 h3 {
    color: #3E4E50;
    font-family: 'poppins';
    font-weight: 400;
    line-height: 20px;
    margin-left: 40px;
}

.box1 p {
    font-family: 'poppins';
    color: #3E4E50;
    font-size: 14px;
}


.section3 {
    padding: 75px;
}

.section3 h2 {
    color: #3E4E50;
    margin-bottom: 3rem;
    font-family: 'poppins';
}

.section3 p {
    color: #3E4E50;
    font-size: 14px;
  
}

.why-us-p2 {
    color: #3E4E50;
    font-size: 14px;
    font-family: 'poppins';
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1em;
    
}

.why-us-sub-p2 {
    width: 100%;
}


.image-why-us {
    min-width: 40%;
    display: flex;
    justify-content: center;
    border-radius: 50%;
}

.image-why-us img {
    width: 90%;
    border-radius: 35px;
    position: sticky;
    top: 200px;
    max-height: 300px;
}

@media (max-width: 948px) {
    .why-us-p2 {
        display: flex;
        flex-direction: column;
    }

    .image-why-us {
        width: 100%;
    }

    .image-why-us img {
        max-width: 500px;
    }

    .why-us-sub-p2 {
        margin-bottom: 50px;
    }
}

.section4 {
    padding: 50px;
    margin-bottom: 75px;
}

.section4 h2 {
    color: #3E4E50;
    font-family: 'poppins';
}

.section4 p {
    margin-bottom: 2rem;
    font-family: 'poppins';
    color: #3E4E50;

}

.boxes {
    display: flex;
    justify-content: space-around;
    gap: 3rem;
}

.box {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
    width: 30%;
}

.box h3 {
    background-color: #f8f8f8;
    color: #3E4E50;
    border-radius: 19% 81% 15% 85% / 22% 50% 50% 78%;
    padding: 5px;
    font-family: 'poppins';
    font-weight: 400;
    margin-bottom: 20px;
}


.image-box img {
    height: 250px;
    width: 100%;
}

.box p {
    font-size: 14px;
    color: #3E4E50;
    margin: 0;
}

.container {
    width: 1600px;
    margin: auto;
}

.subcontainer {
    width: 85%;
    margin: auto;
}

#cookies {
    width: 100%;
    position: fixed;
    bottom: 0;
    color: #F8F8F8;
    background-color: #3E4E50;
    z-index: 11;
    display: none;
}

.cookies {
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cookies a {
    color: #D5A021;
    font-weight: 500;
    text-decoration: none;
}

#cookies-btn {
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 1rem;
    font-family: 'poppins';
    cursor: pointer;
    border: 3px solid #f8f8f8;
    background-color: #3E4E50;
    color: #F8F8F8;
}

@media (max-width: 1600px){
    .container {
        width: 100% ;
    }
}

@media(max-width: 1024px) {
    .cookies{
        padding: 10px 0;
    }
}

footer {
    width: 100%;
    background-color: #3E4E50;
    padding: 75px;
    border-top-left-radius: 125px;
    font-size: 13px;
    line-height: 20px;;
}

footer p {
    color: #f8f8f8;
}

.logo2 img{
   height: 45px;
   width: 45px;
}

.row {
    width: 85%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.col {
    flex-basis: 30%;
    padding: 10px;
}

.col:nth-child(2), .col:nth-child(3) {
    flex-basis: 15%;
}

.logo2 {
    font-size: 30px;
    font-family: 'poppins';
    margin-bottom: 2rem;
    color: #f8f8f8;
}

.col h3 {
    width: fit-content;
    margin-bottom: 40px;
    position: relative;
    color: #f8f8f8;
    font-family: 'poppins';
}

.col h4 {
    color: #f8f8f8;
    border-bottom: #f8f8f8 solid 1px;
    padding-bottom: 2px;
}

.email-id {
    width: fit-content;
    border-bottom: 1px solid #f8f8f8;
    margin: 20px 0;
}

.footer-lists li {
    list-style: none;
    margin-bottom: 12px;
}

.footer-lists li a {
    text-decoration: none;
    color: #f8f8f8;
    font-family: 'poppins';
}

.footer-lists li a:hover {
    border-bottom: #D5A021 1px solid;
}

form {
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f8f8f8;
    margin-bottom: 10px;
}

form .fa {
    font-size: 18px;
    margin-right: 10px;
}

.fa-envelope {
    color: #F8F8F8;
}

form input {
    width: 100%;
    background: transparent;
    color: #f8f8f8;
    border: 0;
    outline: none;
    margin-left: 10px;
}

form button {
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
}

form button .fa-solid {
    font-size: 16px;
    color: #f8f8f8;
}

.privacy {
    margin-bottom: 10px;
}

.privacy p{
    font-size: 11px;
}

.privacy a {
    color: #f8f8f8;
    margin-left: 5px;
}


.social-icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 250px;
    min-width: 220px;
}

.social-icons .fa-brands {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    color: #3E4E50;
    background: #f8f8f8;
    margin-right: 15px;
    cursor: pointer;
}

hr {
    width: 90%;
    border: 0;
    border-bottom: 1px solid #D5A021;
    margin: 20px auto;
}

.copyright {
    text-align: center;
}

.copyright a {
    color: #f8f8f8;
    text-decoration: none;
    font-family: 'poppins';
}

.underline {
    width: 100%;
    height: 5px;
    background: #D5A021;
    border-radius: 3px;
    position: absolute;
    top: 25px;
    left: 0;
    overflow: hidden;

}

.underline span {
    width: 15px;
    height: 100%;
    background: #f8f8f8;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 10px;
    animation: moving 2s linear infinite;
}

@keyframes moving {
    0%{
        left: -20px;
    }
    100%{
        left: 100%;
    }
}

@media screen and (max-width: 1048px) {
    .section4 {
        padding: 25px;
    }

    .boxes {
        gap: 1.5rem;
    }

    .box {
        padding: 5px;
    }
}

@media screen and (max-width: 986px) {
    .section2 {
        flex-direction: column;
        width: 100%;

    }

    .box1 {
        width: 90%;
        padding: 30px;
    }

    .box1 h3 {
        text-align: left;
        font-weight: 400;
    }
}


@media screen and (max-width: 840px) {
    .section1 {
        flex-direction: column;
        gap: 1em;
        padding: 15px;
        margin-top: 25px;
    }

    .button {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1em;
        justify-content: center;
        align-items: center;
    }
    .first-button {
        text-align: center;
        max-width: 90%;
        min-width: 60%;
    }

    .upper-catch h2 {
        text-align: center;
    }

    .upper-catch p {
        text-align: center;
    }

   
}



@media screen and (max-width: 786px ) {
    .nav-links {
        gap: 0;
    }
    

    .nav-links a {
        font-size: 12px;
    }

    footer {
        bottom: unset;
    }

    .col {
        flex-basis: 100%;
        min-width: 180px;
    }
    
    .col:nth-child(2), .col:nth-child(3) {
        flex-basis: 100%;
    }

    .section2 {
        padding: 15px;
    }

    .icon {
        top: 25px;
    }

    .why-us-p2 {
        flex-direction: column;
        gap: 1rem;
    }

    .image-why-us img {
        min-width: 450px;
    }

    .section4 {
        padding: 15px;
    }

    .boxes {
        display: grid;
        grid-template-columns: 300px 300px;
        gap: 1rem;
    }

    .box {
        width: 100%;
    }
}

@media  screen and (max-width: 678px) {
    .section2 {
        flex-direction: column;
        gap: 1em;
    }

    .box1 {
        width: 100%;
    }

    .section3 {
        padding: 15px;
    }
}

@media screen and (max-width: 620px) {
    .boxes {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 70%;
    }

    footer {
        padding: 50px;
    }

  
    
}

@media screen and (max-width: 720px) {

    nav {
        position: fixed;
        width: 100%;
        z-index: 111;
        top: 0;
    }

    .nav-links {
        position: fixed;
        right: 0;
        height: 88vh;
        top: 12vh;
        background-color: #3E4E50;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 100;
    }
    

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
        cursor: pointer;
        
    }
    .sub-menu-button {
        display: none;
    }
    
    #for-small-menu {
        display: block;
    }

    .section1 {
        padding-top: 100px;
    }

}
    

@media screen and (max-width: 480px) {
    

    .section2 {
        margin-bottom: 2em;
    }

    .section3 {
        padding: 15px;
    }

    .image-why-us img {
        width: 100%;
        min-width: 350px;
    }

    .box {
        width: 90%;
    }




}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);

}






