@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

*{
    margin: 0;
    padding: 0;
}

/* Common Colors */

:root{
    --black: #2D2D2D;
    --white: #f8f5e3;
    --red: #D30505;
    --lightred: #f55f45;
    --grey: #767676;
    --blue: #003769;
    --lightblue: #31BBE0;
    --lightblue2: #d4effa;
    /* --grey: rgb(187, 187, 187); */
    --card-border: rgb(221, 221, 221);
}

/* Heading #03AF9E */

html, body {
    overflow-x: clip;
}

body{
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

/* Common Elements */
.btn{
    box-shadow: none;
}

.btn:hover .btn:focus{
    box-shadow: none;
}

.mobile-show{
    display: none;
}

@media (max-width: 767px){
    .mobile-hide{
    display: none;
}

    .mobile-show{
    display: block;
}
}
/* Header Section 1 */
.header1-bg{
    background: linear-gradient(to right, var(--red), var(--lightred));
    padding: 0.6rem 0rem;
}

.header1-container{
    display: flex;
}

.header1-text{
    display: inline-block;
    font-size: 0.9rem;
    color: white;
    text-decoration: none;
}

.header1-text:hover{
    color: white;
}

@media (max-width: 767px){
    .header1-container{
        display: block;
    }    
}
/* Navbar Section */
.navbar{
    background-color: white;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    z-index: 1;
}

@media (max-width: 767px){
    .navbar{
        border-radius: 0px;
    }
}

.nav-text{
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    margin-right: 2rem;
}

.nav-text:hover{
    color: var(--blue);
}

.navbar-btn{
    border: 2px dotted var(--red);
    color: var(--red);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0px;
    padding: 0.6rem 1rem;
}

.navbar-btn:hover{
    border: 2px dotted var(--blue);
    color: var(--blue);
}

.dropdown:hover .dropdown-menu{
    display: block;
}

.dropdown-menu{
    border: none;
    border-top: 2px solid var(--blue);
    border-radius: 0px;
    padding: 0px;
}

.dropdown-item{
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s linear;
}

.dropdown-item:hover{
    background-color: white;
    color: var(--blue);
    padding-left: 0.7rem;
}

/* Carousel Section */
.carousel{
    position: relative;
    margin-top: -5rem;
}

.carousel-content{
    position: absolute;
    top: 35%;
    left: 7%;
    width: 50%;
}

.hr-carousel{
    background-color: white;
    opacity: 1;
    width: 3.5rem;
    padding: 2px;
    margin-top: 0.4rem;
}

.carousel-text{
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.carousel-heading{
    font-size: 3rem;
    color: white;
    margin: 1rem 0rem;
}

.carousel-btn-outer{
    border: 1px solid var(--grey);
    width: 9.2rem;
    border-radius: 8px;
    margin-top: 3rem;
    margin-left: 1rem;
    padding-bottom: 1rem;
    transition: all 0.2s ease-in;
}

.carousel-btn{
    background: linear-gradient(to right, var(--red), var(--lightred));
    color: white;
    text-transform: capitalize;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1.1px;
    padding: 0.7rem 2rem;
    border-radius: 8px;
    margin-left: -1rem;
    margin-top: -1rem;
    transition: all 0.2s ease-in;
    box-shadow: 0px 0px 8px var(--lightred);
}

.carousel-btn-outer:hover{
    padding-bottom: 0rem;
    margin-left: 0rem;
}

.carousel-btn-outer:hover .carousel-btn{
    margin-left: 0rem;
    color: white;
    /* box-shadow: 0px 0px 8px var(--lightred); */
}

.carousel .carousel-indicators button{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    /* clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); */
}

.carousel .carousel-indicators .active{
    /* color: var(--lightred); */
    background-color: var(--lightred);
    border: 1px solid var(--red);
}

.carousel .carousel-indicators{
    position: absolute;
    display: block;
    top: 45%;
    left: 60%;
}

@media (max-width: 991px){
    .carousel-content{
        position: absolute;
        top: 30%;
        left: 10%;
        width: 70%;
    }    

    .carousel .carousel-indicators{
        position: absolute;
        display: block;
        top: 40%;
        left: 70%;
    }
    
}

@media (max-width: 433px){

    .carousel-heading{
        font-size: 2rem;
        color: white;
        margin: 1rem 0rem;
    }
    
}
/* @media (max-width: 669px){
    .carousel-content{
        position: absolute;
        top: 10%;
        left: 5%;
        width: 90%;
    }

    .carousel-heading{
        font-size: 2rem;
        color: white;
        margin: 0.5rem 0rem;
    }
    
    .carousel-btn-outer{
        width: 9.2rem;
        border-radius: 8px;
        margin-top: 2rem;
        margin-left: 1rem;
        padding-bottom: 1rem;
        transition: all 0.2s ease-in;
    }

    .carousel .carousel-indicators{
        position: absolute;
        display: block;
        top: 30%;
        left: 80%;
    }
    
    .carousel-btn-outer{
        width: 9.2rem;
        margin-top: 1rem;
        margin-left: 0.5rem;
        padding-bottom: 0.5rem;
        transition: all 0.2s ease-in;
    }
    
    .carousel-btn{
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 1.1px;
        padding: 0.7rem 1.8rem;
        border-radius: 8px;
        margin-left: -0.5rem;
        margin-top: -0.5rem;
        transition: all 0.2s ease-in;
        box-shadow: 0px 0px 8px var(--lightred);
    }
    
} */

/* @media (max-width: 500px){
    .carousel-content{
        position: absolute;
        width: 90%;
    }

    .carousel-heading{
        font-size: 1.5rem;
        color: white;
        margin: 0.5rem 0rem;
    }
   
} */

/* Features Section */

.hr-img{
    width: 8rem;
}

.feature-area{
    height: 16rem;
    padding: 1rem;
    margin: 2rem 0rem;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    box-shadow: 0px 0px 8px 1px var(--lightblue2);
    transition: all 0.2s linear;
}

.feature-area:hover{
    margin-top: 1rem;
}

.feature-icon{
    background: linear-gradient(to left, var(--red), var(--lightred));
    font-size: 1.5rem;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    margin: 1rem 0rem;
}

/* About Section */
.about-icon{
    color: var(--lightred);
    font-size: 1.2rem;
}

.about-right{
    position: relative;
}

.about-img1{
    position: absolute;
    top: 0;
    right: 0;
    height: 12rem;
}

.about-img2{
    position: absolute;
    top: 20%;
    right: 30%;
    height: 12rem;
    z-index: 1;
}

.about-img3{
    position: absolute;
    bottom: 10%;
    right: 10%;
    height: 12rem;
}

/* Background Image Section */
.banner-bg{
    background-image: url("../images/slider1.png");
    background-size: cover;
    background-position: center center;
    padding: 4rem 0rem;
}

/* Product Section */
.product-area{
    display: flex;
    text-align: start;
    transition: all 0.2s linear;
}

.product-area:hover{
    background-color: white;
    box-shadow: 0px 0px 10px 1px var(--card-border);
}

.product-img{
    padding: 1rem;
    /* height: 6rem; */
}

.product-link{
    color: var(--black);
    text-decoration: none;
    font-size: 0.9rem;
}

.product-link:hover{
    color: var(--blue);
}

/* Counter Section */
.counter-bg{
    background-image: url("../images/slider1.png");
    background-size: cover;
    background-position: center center;
    padding: 5rem 0rem;
}

.num-counter{
    font-size: 2rem;
    color: white;
}

.num-counter::after{
    content: "+";   
    font-size: 1.5rem;
    padding-left: 4px;
    color: white;
}
.counter-icon{
    font-size: 3rem;
    padding: 1rem;
    color: var(--red);
}

/* Testimonials Section */
.client-icon{
    color: rgb(243, 206, 39);
}

.client-img{
    border-radius: 50%;
    border: 1px solid var(--grey);
    height: 3.5rem;
    margin-right: 1rem;
}

/* Footer Section */
.footer-bg{
    background-image: url("../images/slider1.png");
    background-size: cover;
    background-position: center center;
    padding: 3rem 0rem;
}

.footer-hr{
    width: 3rem;
    padding: 1px;
    color: var(--lightred);
    opacity: 1;
}

.footer-text{
    color: var(--card-border);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s linear;
}

.footer-text:hover{
    color: var(--lightred);
}

.footer-icon{
    border: 1px solid white;
    color: white;
    padding: 0.4rem;
    border-radius: 50%;
    transition: all 0.2s linear;
}

.footer-icon:hover{
    background-color: var(--lightred);
    border: 1px solid var(--lightred);
    cursor: pointer;
}

.footer-hr1{
    border: 1px dashed var(--card-border);
    margin: 0.5rem 0rem;
    width: 80%;
}


/* Scroll to top */
#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 90px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    border: none;
    background: linear-gradient(to right, var(--red), var(--lightred));
    z-index: 99; /* Make sure it does not overlap */
    cursor: pointer; /* Add a mouse pointer on hover */
    transition: all 0.2s linear;
    padding: 0.5rem 0.7rem;
    border-radius: 0.4rem;
  }
  
  .scroll-btn{
    color: white; /* Text color */
    font-size: 1.5rem; /* Increase font size */
  }

  /* #myBtn:hover .scroll-btn{
    color: var(--red);
    border: 2px solid var(--red);
} */

/* About Page */
.page-header-img{
    background-image: url("../images/header-img1.png");
    background-size: cover;
    background-position: center center;
    padding: 10rem 0rem 4rem 0rem;
    margin-top: -5rem;
}

.page-header-img-heading{
    color: white;
    margin: 1rem 0rem;
    font-size: 3rem;
}

.breadcrumb-link{
    color: white;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1.1px;
}

.breadcrumb-link:hover{
    color: white;
}

/* Gallery Page */
.gallery-area{
    position: relative;
    background-color: var(--card-border);
    transition: all 0.2s linear;
}

.gallery-img{
    height: 15rem;
    width: 100%;
}

.gallery-area:hover{
    margin-top: -0.4rem;
    filter: brightness(50%);
}

.gallery-area:hover .gallery-img{
    animation: slide-out 0.8s;
}

/* .gallery-icon-area{
    position: absolute;
    top: 0;
    width: 0%;
    background: var(--black);
    opacity: 0.9;
    height: 100%;
} */

.gallery-icon{
    position: absolute;
    left: 45%;
    top: 40%;
    font-size: 3rem;
    color: var(--lightred);
    display: none;
}

.gallery-area:hover .gallery-icon{
    display: block;
}

/* .gallery-area:hover .gallery-icon-area{
    animation: slide-out 0.8s;
    left: 0%;
    width: 100%;
}  */

@keyframes slide-out{
    0%{
        width: 0%;    
    }

    100%{
        width: 100%;
    }
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99; /* Sit on top */
    padding-top: 4rem; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (Image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
  
  /* Caption of Modal Image (Image Text) - Same Width as the Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation - Zoom in the Modal */
  .modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 10px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* 100% Image Width on Smaller Screens */
  @media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
  }

/* Contact Section */
.contact-icon{
    font-size: 1.8rem;
    color: white;
    background: linear-gradient(to left, var(--red), var(--lightred));
    padding: 1rem 1.1rem;
    border-radius: 50%;
}

/* Services Page */
.service-left{
    border: 1px solid var(--card-border);
}

.service-title{
    margin: 0rem;
    padding: 0.8rem;
    border-bottom: 1px solid var(--card-border);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.service-title:hover{
    background-color: var(--red);
    color: white;
}

.service-title1{
    margin: 0rem;
    padding: 0.8rem;
    background-color: var(--red);
    color: white;
    cursor: pointer;
}

table{
    font-size: 0.9rem;
}

table th, td{
    padding: 0.4rem;
}


/* Filter Products */
.filterDiv {
    border: 2px solid var(--card-border);
    margin-top: -2px;
    border-top: none;
    padding: 1rem;
    display: none;
}
  
  /* The "show" class is added to the filtered elements */
  .show {
    display: block;
  }
  
  /* Style the buttons */
  .name-btn {
    border: 2px solid var(--card-border);
    background-color: white;
    padding: 0.5rem 0.636rem;
    transition: all 0.2s linear;
    font-size: 0.9rem;
  }
  
  /* Add a light grey background on mouse-over */
  .name-btn:hover {
    color: var(--red);
    border-top: 2px solid var(--red);
    border-bottom: none;
  }
  
  /* Add a dark background to the active button */
  .name-btn.active {
    color: var(--red);
    border-top: 2px solid var(--red);
    border-bottom: none;
  }