/********** Template CSS **********/


:root {
    --primary: #3E8DA8;
    --secondary: #34AD54;
    --light: #06b7f1;
    --white: #FFFFFF;
    --dark: #04536d;
}



.bg-brand-color{
    background: var(--primary);
}

.text-brand-color{
    color: var(--primary);
}

.btn-brand-color{
    background: var(--primary);
    color: var(--white);
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-brand-color:hover {
    box-shadow: inset 0 0 0 0 var(--light);
    color: var(--white);
}

.bg-dark-color{
    background: var(--dark);
}

.text-dark-color{
    color: var(--dark);
}




/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary); 
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}

body{
    font-family: 'Maven Pro', sans-serif;
}

/*** Button ***/
.btn {
    
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/* Navbar Start */
.navbar {
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    background: var(--primary);
  }
  .navbar .navbar-brand img {
    max-width: 100px;
  }
  .navbar .navbar-nav .nav-link {
    color: var(--white);
  }
  @media screen and (min-width: 1024px) {
    .navbar {
      letter-spacing: 0.03em;
    }
    .navbar .navbar-nav .nav-link {
      padding: 0.5em 1em;
    }
    .search-and-icons {
      width: 50%;
    }
    .search-and-icons form {
      flex: 1;
    }
  }
  @media screen and (min-width: 768px) {
    .navbar .navbar-brand img {
      max-width: 7em;
    }
    .navbar .navbar-collapse {
      display: flex;
      flex-direction: column-reverse;
      align-items: flex-end;
    }
    .search-and-icons {
      display: flex;
      align-items: center;
    }
  }
  
  .offcanvas-close {
    filter: invert(1);
    background-color: transparent; /* Background color for the close button */
    opacity: 1; /* Ensures full opacity if needed */
    }
    .offcanvas-close:hover {
        filter: invert(0);
        background-color: white; /* Keep it white on hover */
        opacity: 0.8; /* Optional: add slight transparency on hover */
    }
       


  .search-and-icons form input {
    border-radius: 0;
    height: 2em;
    background: var(--primary);
    padding-right: 0.5em; /* To make space for the search icon */
  }
  .search-and-icons form input:focus {
    background: var(--light);
    box-shadow: none;
  }
  .search-and-icons .user-icons div {
    padding-right: 1em;
  }
  .contact-info p,
  .contact-info a {
    font-size: 0.9em;
    padding-right: 1em;
    color: var(--white);
  }
  .contact-info a {
    padding-right: 0;
  }
  
  .navbar .navbar-nav .dropdown-menu{
    background: var(--primary);
  }
  
  .navbar .navbar-nav .dropdown-menu .dropdown-item {
    color: var(--white);
  }
  
  .navbar .navbar-nav .dropdown-menu .dropdown-item:hover {
    background: #079ff1;
  }
  
  .offcanvas {
    background-color: var(--primary);
  }

  .sticky-nav {
        position: -webkit-sticky; /* For Safari */
        position: sticky;
        top: 0;
        z-index: 1020;
    }

    .is-sticky {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1020;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

  /* Navbar End */
  

  /* Style for the popup */
  /* Style for the popup */
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* Above other elements */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
}

/* Popup content box */
    .popup-content {
        background-color: #fff;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 20px;
        border-radius: 10px;
        width: 80%;
        max-width: 400px;
        text-align: center;
    }

    /* Close button in the top right corner */
    .popup-close-btn {
        position: absolute;
        top: 10px;
        right: 20px;
        font-size: 24px;
        cursor: pointer;
    }

    /* Button at the bottom center */
    #popupButton {
        background-color: var(--primary);
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    #popupButton:hover {
        background-color: var(--light);
    }

    /* Style for the popup  End*/

/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .7);
    z-index: 1;
}

@media (min-width: 992px) {
.slider-top{
 top: 0px !important;
}

.about-top{
    margin-top: 0px;
}
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

/* @-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
} */

@keyframes section-title-run {
    0% { left: 0; }
    50% { left: 145px; }
    100% { left: 0; }
}

@keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; }
    50% { left: 50%; margin-left: 45px; }
    100% { left: 50%; margin-left: -75px; }
}

@keyframes section-title-run-sm {
    0% { left: 0; }
    50% { left: 85px; }
    100% { left: 0; }
}

/*** Service ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item button.btn{
    position: absolute;
    top: -20px;
}

.service-item a.btn {
    position: absolute;
    /* width: 140px; */
    bottom: -48px;
    left: 45%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -14px;
    opacity: 1;
}

/* Category */
.category-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px; /* Adds a gap between the cards */
}

.category-item {
    flex: 1 1 calc(12.5% - 10px); /* 8 cards per row for larger screens */
    box-sizing: border-box;
    margin-bottom: 20px; /* Adds margin below each card */
}

.category-image {
    width: 100%;
}

.category-label {
    text-align: center;
    font-size: 14px;
}

.category-container a {
    text-decoration: none;
}

/* Media Query for mobile devices */
@media (max-width: 768px) {
    .category-item {
        flex: 1 1 calc(33.33% - 10px); /* 3 cards per row for smaller screens */
    }
}

/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}

.testimonial-item{
    position: relative;
}
.testimonial-item a.btn{
    position: absolute;
    left: 40%;
}


/* Home Page Accordation */
.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.faq-question {
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question.active {
    color: #007bff;
}

.faq-icon {
    font-size: 28px;
    font-weight: bold;
    transition: 0.3s;
}

.faq-answer {
    display: none;
    padding: 10px;
    background: #ffffff;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}


@media (min-width:991px) {
    .team-item .image-size img
    {
        height: 300px;
    }
}

@media (min-width:450px) and (max-width:990px) {
    .team-item .image-size img
    {
        height: 250px;
    }
}

@media (min-width:250px) and (max-width:449px) {
    .team-item .image-size img
    {
        height: 250px;
    }
}


@media (min-width:991px) {
    .team-equal-height
    {
        height: 350px;
    }
}

@media (min-width:450px) and (max-width:990px) {
    .team-equal-height
    {
        height: 450px;
    }
}

@media (min-width:250px) and (max-width:449px) {
    .team-equal-height
    {
        height: 450px; 
    }
}


.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 1000;
}

@media screen and (max-width: 768px) {
    .back-to-top {
        right: 25px;
        bottom: 65px;
    }
}


.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}

/* Mobile Footer Container */
/* (visible only on mobile) */
.mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /* background-color: #333; */
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none; /* Hide by default */
}

/* Each Button in the Footer */
.mobile-footer-button a {
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Icon Size */
.mobile-footer-button i {
    font-size: 24px;
    margin-bottom: 5px;
}

/* Hover effect */
.mobile-footer-button a:hover {
    color: #ff9800;
}

.footer-dropdownCSS{
    background: var(--primary);
}

.footer-dropdownCSS .fontSize{
    font-size: 15px !important;
}

/* Show the footer only for screens smaller than 768px (mobile) */
@media screen and (max-width: 768px) {
    .mobile-footer {
        display: flex;
    }
}



.product-fluid {
    height: 100%;
    display: grid;
    align-items: center;
    justify-content: center;
    background: var(--primary);
}

.product-title {
    color: var(--primary);
}

.reviews {
    display: flex;
    margin: 16px 0;
}
.reviews p {
    font-size: 15px;
    color: #777;
    margin: 0;
    margin-left: 8px;
    line-height: 19px;
}
.reviews i {
    color: var(--primary);
}



      /* Checkout Payment start */
      .tabs {
        display: flex;
        flex-direction: column;
    }
    .tabs section {
      display: none;
      padding: 20px 0 0;
      border:none;
      padding: 20px 0 0;
      border: none;
    }
    
    .tabs input {
      display: none;
    }
    
    .tabs label {    
      display: block;
      margin: 0 10px 0 0;
      padding: 5px 10px;
      font-weight: 600;
      color: #000;
      background:#FFF;
      border: none;
    }
    
    .tabs label:before {
      font-family: fontawesome;
      font-weight: normal;
      margin-right: 10px;
    }
    
    
    .tabs label:hover {
      color: #888;
      cursor: pointer;
    }
    
    .tabs input:checked + label {
      color: #ffffff;
      background: #0d6efd;
      border: none;
    }
    
    .tabs #tab1:checked ~ #content1,
    .tabs #tab2:checked ~ #content2,
    .tabs #tab3:checked ~ #content3,
    .tabs #tab4:checked ~ #content4,
    .tabs #tab5:checked ~ #content5 {
        display: block;
    }
      /* Checkout Payment end */





