@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap');

:root {
    --blue: #0e4185;
    --black: #192a56;
    --light-color: #666;
    --box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .1);
}

* {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
  /*  text-transform: capitalize; */
    transition: all .2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 5.5rem;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* Fix Safari zoom issues */
}

body {
    max-width: 100%;
    overflow-x: hidden;
}

section {
    padding: 2rem 9%;
}

section:nth-child(even) {
    background: #fff;
}

.sub-heading {
    font-size: 2rem;
    color: var(--blue);
    text-align: center;
    padding-top: 1rem;
}


.heading {
    font-size: 3rem;
    color: var(--black);
    text-align: center;
    padding-bottom: 2rem;
    text-transform: uppercase;
}

.btn {
    margin-top: 1rem;
    display: inline-block;
    font-size: 1.7rem;
    color: #fff;
    background: var(--black);
    border-radius: 1rem;
    cursor: pointer;
    padding: .8rem 3rem;
    text-decoration: none;
}

.btn:hover {
    background: var(--blue);
    letter-spacing: .1rem;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: var(--box-shadow);
    width: 100%;
}


img {
    width: 120px;
    height: auto;
    object-fit: contain;
   
}

header .navbar a{
    font-size: 1.8rem;
    font-weight: 700;
   /* border-radius: .5rem; */
    padding: .5rem 1.5rem;
    color: var(--black);
}

header .navbar a {
    text-decoration: none;
}

header .navbar a:hover {
    color: var(--blue);
    cursor: pointer;
}

header .icons i {
    cursor: pointer;
    margin-left: .5rem;
    height: 4.5rem;
    line-height: 4.5rem;
    width: 4.5rem;
    text-align: center;
    font-size: 1.7rem;
    color: var(--black);
    border-radius: 50%;
    background: #eee;
}

header .icons i:hover {
    color: var(--blue);
    transform: rotate(360deg);
}

header .icons #menu-bar {
    display: none;
}


/* ================= HOME SECTION ================= */
.home {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: 6rem;
    background: #f9f9f9;
}

.home .home-slider .slide {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    width: 100%;
    padding: 5rem 9%;
}

.home .home-slider .slide .content {
    flex: 1 1 45%;
    text-align: left;
}

.home .home-slider .slide .content span {
    color: var(--blue);
    font-size: 2.5rem;
    font-weight: 600;
}

.home .home-slider .slide .content h3 {
    color: var(--black);
    font-size: 5rem;
    font-weight: 800;
}

.home .home-slider .slide .content p {
    color: var(--light-color);
    font-size: 2rem;
    padding: 1rem 0;
    line-height: 2.5rem;
}

.home .home-slider .slide .image {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
}

.home .home-slider .slide .image img {
    width: 100%;
    height: auto;
    max-width: 450px;
    object-fit: cover;
    border-radius: 10px;
}



.services .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: 1.5rem;
}

.services .box-container .box {
   padding: 2.5rem;
   background: #fff;
   border-radius: .5rem;
   box-shadow: var(--box-shadow);
   border: 1rem solid rgba(240, 237, 237, 0.2);
   position: relative;
   overflow: hidden;
}

.services .box-container .box h3 {
    font-size: 2.5rem;
    color: var(--black);
    text-align: center;
}

.services .box-container .box p {
    font-size: 2rem;
    color: var(--light-color);
    text-align: center;
}

.about .row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.about .row .image {
    flex: 1 1 45rem;
}

.about .row .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about .row .content {
    flex: 1 1 45rem;
}

.about .row .content h3 {
    font-size: 4rem;
    color: var(--black);
    padding: .5rem 0;
}

.about .row .content p {
    font-size: 2rem;
    color: var(--light-color);
    padding: .5rem 0;
    line-height: 2rem;
}

.about .row .content .icons-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
}

.about .row .content .icons-container .icons {
    background: #fff;
    border-radius: .5rem;
    border: 1rem solid rgba(250, 246, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex: 1 1 17rem;
}

.about .row .content .icons-container .icons i {
    font-size: 2.5rem;
    color: var(--blue);
}

.about .row .content .icons-container .icons span {
    font-size: 1.5rem;
    color: var(--black);
}

/* Reviews section*/

  .swiper-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: 1.5rem;
}
  
  .swiper-slide {
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    border: 1rem solid rgba(250, 247, 247, 0.12);
    position: relative;
    
  }

  .swiper-slide .user {
    display: grid; 
    gap: 1.5rem;
    align-items: center;
    padding-bottom: 7.5rem;
    justify-content: center;
    align-items: center;
}

.swiper-slide .user h3 {
    font-size: 2.5rem;
    color: var(--black);
    padding-bottom: .5rem; 
    text-align: center;
    
}

.swiper-slide .user i {
    font-size: 1.5rem;
    color: var(--blue);
}

.swiper-slide  p {
    font-size: 2rem;
    color: var(--light-color);
    line-height: 2rem;
    text-align: center;
    display: block;
    margin: 0 auto;
    max-width: 80%;
}

  .swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 100%;
    transform: translateX(-100%);
    z-index: 1;
  }


  .drop-review h3 {
    font-size: 2.5rem;
    color: var(--blue);
    text-align: center;
    padding-bottom: .5rem;
  }

    .drop-review p {
        font-size: 2rem;
        color: var(--light-color);
        line-height: 2rem;
        text-align: center;
    }

    .box {
        text-align: center;
        margin-top: 40px;
    }

    .button {
        font-size: 1.5rem;
     /*   padding: 15px 35px; */
        padding: .8rem 3rem;
        color: #fff;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.3s ease-out;
        background: var(--black);
        border-radius: 1rem;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.8);
        transition: opacity 500ms;
        visibility: hidden;
        opacity: 0;
    }

    .overlay:target {
        visibility: visible;
        opacity: 1;
        z-index: 2;
    }
  
    .drop-review .wrapper {
        margin: 70px auto;
        padding: 100px;
        background: #e7e7e7;
        border-radius: 5px;
        width: 30%;
        position: relative;
        transition: all 5s ease-in-out;
    }

    .drop-review .wrapper h2 {
        margin-top: 0;
        color: var(--black);
    }

    .close {
        position: absolute;
        top: 50px;
        right: 30px;
        font-size: 30px;
        text-decoration: none;
        transition: all 200ms;
        font-weight: bold;
        color: #333;
    }

    .drop-review .wrapper .content {
        max-height: 30%;
        overflow: auto;
    }

    .drop-review .container {
        border-radius: 5px;
        background: #e7e7e7;
        padding: 20px 0;
    }


    .image-slider {
        width: 100%;
        max-width: 1200px;
        margin: auto;
        padding: 20px;
    }
    
    .swiper {
        width: 100%;
        height: 500px;
    }
    
    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .item {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        border-radius: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); 
    }
    
    .contents {
        position: absolute;
        bottom: 20px;
        left: 20px;
        color: #fff;
       /* background: rgba(0, 0, 0, 0.5); */
        padding: 10px;
        border-radius: 8px;
        width: auto;
    }
    
    .name {
        font-size: 24px;
        font-weight: bold;
    }
    
    .des {
        font-size: 16px;
    }
    


    form label {
       text-transform: uppercase;
        font-weight: 500;
        letter-spacing: 3px;
    }

    input[type="text"], textarea {
        width: 100%;
        padding: 12px;
        margin-top: 6px;
        margin-bottom: 16px;
        box-sizing: border-box;
        border: 1px solid #ccc;
        border-radius: 5px;
        resize: vertical;
    }

    input[type="email"], textarea {
        width: 100%;
        padding: 12px;
        margin-top: 6px;
        margin-bottom: 16px;
        box-sizing: border-box;
        border: 1px solid #ccc;
        border-radius: 5px;
        resize: vertical;
        text-transform: lowercase;
    }


    input[type="submit"] {
        background-color: #192a56;
        color: #fff;
        padding: 15px 50px;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        font-size: 15px;
        text-transform: uppercase;
    }

    .contact form {
        max-width: 90rem;
        border-radius: .5rem;
        box-shadow: var(--box-shadow);
        border: 1rem solid rgba(253, 251, 251, 0.2);
        background: #fff;
        padding: 1.5rem;
        margin: 0 auto;
    }

    .contact form .input-box {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .contact form .input-box .input {
        width: 49%;
    }

    .contact form .input-box span {
        display: block;
        padding: .5rem 0;
        font-size: 1.5rem;
        color: var(--black);
    }

    .contact form .input-box .input input,
    .contact form .input-box .input textarea {
       background: #fff;
       border-radius: .5rem;
       padding: 1rem;
       font-size: 1.6rem;
       color: var(--light-color);
       text-transform: none;
       margin-bottom: 1rem;
       width: 100%;
    }

    .contact form .input-box .input input,
    .contact form .input-box .input textarea {
        border: .1rem solid var(--black); 
    }

    .contact form .input-box .input textarea {
        resize: none;
        height: 20rem;
    }

    .contact form .input-box .btn {
        margin-top: 0;
    }

    .footer .box-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
        gap: 1.5rem;
    }

    .footer .box-container .box h3 {
        font-size: 2.5rem;
        color: var(--black);
        padding-bottom: .5rem 0;
    }

    .footer .box-container .box a {
        display: block;
        font-size: 1.5rem;
        color: var(--black);
        padding-bottom: .5rem 0;
        text-decoration: none;
    }

    .footer .box-container .box a:hover {
        color: var(--blue);
        text-decoration: underline;
    }

    .footer .credit {
        font-size: 2rem;
        border-top: .1rem solid rgba(0, 0, 0, .1);
        color: var(--black);
        text-align: center;
        padding: .5rem;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    .footer .credit span {
        color: var(--blue);
    }


    /* Social Media Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    color: white;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}



/* Individual Icon Colors 
.whatsapp {
    background-color: #25D366;
}

.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.gmail {
    background-color: #EA4335;
}
    */

/* Hover Effects  */
.social-icons a:hover {
    transform: scale(1.1);
}
   






    @media (max-width: 450px) {
  
        html {
            font-size: 50%;
        }
    
        .services .box-container .box i {
            height: auto;
            width: 100%;
        }
        
        .contact form .input-box .input {
            width: 100%;
        }
        .home .home-slider .slide .image {
            display: none; /* Fully hides the image */
            height: 0;
            overflow: hidden;
            visibility: hidden;
        }
        
        .home .home-slider .slide {
            justify-content: center; /* Center text properly */
            text-align: center;
        }
    }
    
    
    @media (max-width: 600px) {
        .home .home-slider .slide {
            padding: 2rem 3%;
        }
    
        .home .home-slider .slide .content span {
            font-size: 2rem;
        }
    
        .home .home-slider .slide .content h3 {
            font-size: 3.5rem;
        }
    
        .home .home-slider .slide .content p {
            font-size: 1.6rem;
            line-height: 2rem;
        }
    
       /* .home .home-slider .slide .image img {
            max-width: 100%;
        
        } */
        .home .home-slider .slide .image img {
            display: none; /* Fully hides the image */
            height: 0;
            overflow: hidden;
            visibility: hidden;
        }
        
        .home .home-slider .slide {
            justify-content: center; /* Center text properly */
            text-align: center;
        }
    }


   /* Mobile View Fix */
@media (max-width: 600px) {
    .swiper {
        height: 400px;
    }

    .content {
        width: 90%;
    }

    .name {
        font-size: 18px;
    }

    .des {
        font-size: 14px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .swiper {
        height: 400px;
    }

    .content {
        width: 90%;
    }

    .name {
        font-size: 18px;
    }

    .des {
        font-size: 14px;
    }
}


    @media (max-width: 768px) {
        header .icons #menu-bar {
            display: block;
            font-size: 2rem;
            cursor: pointer;
        }
        
    
        header .navbar {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #fff;
            padding: 1rem;
            flex-direction: column;
            gap: 1rem;
            text-align: center;
            border-top: 1px solid rgba(0, 0, 0, .1);
            display: none;
        }
    
        header .navbar.active {
            display: flex;
        }
    
        header .navbar a {
            font-size: 1.6rem;
            padding: 1rem 0;
        }
    
        .home .home-slider .slide .content h3 {
            font-size: 5rem;
        }
    
        .drop-review .wrapper {
            width: 90%;
        }
        .home .home-slider .slide .image img {
            display: none; 
            height: 0;
            overflow: hidden;
            visibility: hidden;
        }
        
        .home .home-slider .slide {
            justify-content: center; 
            text-align: center;
        }
    }
    

    /* Responsive Fix for Smaller Screens */
@media (max-width: 991px) {
    .home .home-slider .slide {
        flex-direction: column;
        text-align: center;
        padding: 3rem 5%;
    }

    .home .home-slider .slide .content h3 {
        font-size: 4rem;
    }

    .home .home-slider .slide .image img {
        display: none; 
        height: 0;
        overflow: hidden;
        visibility: hidden;
    }

    .home .home-slider .slide .content p {
        font-size: 1.8rem;
    }
}


/* media queries */

@media (max-width: 991px) {
  
    html {
        font-size: 55%;
    }

    header {
        padding: 1rem 2rem;
    }

    section {
        padding: 2rem;
    }

    .services .box-container .box i {
        height: auto;
        width: 100%;
    }

    .contact form .input-box .input {
        width: 100%;
    }

}

/* Responsive Fix for Smaller Screens */
@media (max-width: 991px) {
    .home .home-slider .slide {
        flex-direction: column;
        text-align: center;
        padding: 3rem 5%;
    }

    .home .home-slider .slide .content {
        flex: 1 1 100%;
    }

    .home .home-slider .slide .image img  {
        display: none;
        height: 0;
        overflow: hidden;
        visibility: hidden;
    }

    .home .home-slider .slide .content h3 {
        font-size: 4rem;
    }

    .home .home-slider .slide .content p {
        font-size: 1.8rem;
    }
}

