/********** Template CSS **********/
:root {
    --primary: #216e6f;
    --light: #F3F6F8;
    --dark: #216e6f;
}


/*** Spinner ***/
#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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #FFFFFF;
}

.sticky-top.navbar .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.sticky-top.navbar .navbar-nav .nav-link:hover,
.sticky-top.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar {
        position: relative;
        background: #FFFFFF;
    }

    .navbar .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar .navbar-nav .nav-link,
    .sticky-top.navbar .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark);
    }

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active {
        color: var(--primary);
    }

    .navbar .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .2);
        z-index: 999;
    }
    
    .sticky-top.navbar {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 2px;
        bottom: 10px;
        left: 0;
        background: #FFFFFF;
        opacity: 0;
        transition: .5s;
    }

    .sticky-top.navbar .navbar-nav .nav-link::before {
        background: var(--primary);
    }

    .navbar .navbar-nav .nav-link:hover::before,
    .navbar .navbar-nav .nav-link.active::before {
        bottom: -1px;
        left: 0;
        opacity: 1;
    }

    .navbar .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-bottom: 6rem;
    padding: 12rem 0 9rem 0;
    background: url(../img/shape-bottom.png) center bottom no-repeat;
}

.page-header {
    margin-bottom: 6rem;
    padding: 12rem 0 6rem 0;
}

@media (max-width: 991.98px) {
    .hero-header {
        padding: 6rem 0 9rem 0;
    }

    .page-header {
        padding: 6rem 0;
    }
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(256, 256, 256, .5);
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
}

.service-item:hover {
    box-shadow: none;
    border-color: var(--primary);
}

.service-item .service-icon,
.service-item .service-btn {
    margin: -1px 0 0 -1px;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 5px 0;
    transition: .5s;
}

.service-item .service-btn {
    margin: -1px -1px 0 0;
    border-radius: 0 5px;
    opacity: 0;
}

.service-item:hover .service-btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transform: scale(.85);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: none;
    border-color: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-item img {
    width: 50px;
    height: 50px;
}

.testimonial-carousel .owl-nav {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Team ***/
.team-item {
    position: relative;
    padding:20px;
    text-align: center;
    transition: .5s;
    z-index: 1;
}

.team-item::before,
.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height:30%;
    top: 0;
    left: 0;
    border-radius: 5px;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
    z-index: -1;
}

.team-item::after {
    top: auto;
    bottom: 0;
}

.team-item:hover::before,
.team-item:hover::after {
    background: var(--primary);
}

.team-item h5,
.team-item p {
    transition: .5s;
}

.team-item:hover h5,
.team-item:hover p {
    color: #FFFFFF;
}

.team-item img {
    padding: 15px;
    border: 1px solid var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 15px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}







/* ************************************************** */




/* Service Cards Styling */
        .service-item {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.4s ease;
            border: none;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            position: relative;
            z-index: 1;
        }
        
        .service-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
            opacity: 0;
            z-index: -1;
            transition: opacity 0.4s ease;
        }
        
        .service-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            color: var(--primary);
        }
        
        .service-item:hover::before {
            opacity: 1;
        }
        
        .service-item:hover h5,
        .service-item:hover span {
            color: var(--primary);
        }
        
        .service-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2rem;
            transition: all 0.4s ease;
        }
        
        .service-item:hover .service-icon {
            background:white;
            color: var(--primary);
            transform: scale(1.1) rotate(10deg);
        }
        
        .service-btn {
            width: 40px;
            height: 40px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.4s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .service-item:hover .service-btn {
            opacity: 1;
            transform: translateY(0);
        }
        
        .service-content {
            position: relative;
            z-index: 2;
        }
        
        h5 {
            font-weight: 600;
            font-size: 1.4rem;
            margin-bottom: 15px;
            transition: color 0.4s ease;
        }
        
        span {
            color: #6b7280;
            transition: color 0.4s ease;
            line-height: 1.6;
        }
        
        /* Animation */
        @keyframes float {
            0% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
            100% {
                transform: translateY(0);
            }
        }
        
        .wow {
            visibility: hidden;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            h2 {
                font-size: 2rem;
            }
            
            .service-item {
                margin-bottom: 20px;
            }
        }
        
        .header-text {
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto 40px;
            color: #6b7280;
        }
        
        /* Decorative elements */
        .floating-shape {
            position: absolute;
            opacity: 0.1;
            z-index: 0;
        }
        
        .shape-1 {
            top: 10%;
            left: 5%;
            animation: float 7s ease-in-out infinite;
        }
        
        .shape-2 {
            bottom: 10%;
            right: 5%;
            animation: float 9s ease-in-out infinite;
        }


        .front-content {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.back-content {
  opacity: 0;
  transform: translateX(100%);
  z-index: 1;
}

.service-item.slide .front-content {
  opacity: 0;
  transform: translateX(-100%);
  z-index: 1;
}

.service-item.slide .back-content {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}



.page-header1 {
  background-image: url('../img/3232.jpg'); /* Replace with your actual image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Optional: creates parallax effect */
  padding: 100px 0; /* Adjust height as needed */
  position: relative;
  z-index: 1;
}

.page-header1 {
  width: 100%; /* Full width of the viewport */
  height: 60vh; /* You can adjust this value as needed */
  background-image: url('../img/3232.jpg'); /* Replace with your actual image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* Or 'fixed' for parallax effect */
  position: relative;
  z-index: 1;
}

.page-header1::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay */
  z-index: -1;
}



.policy-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.policy-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  padding: 20px;
  transition: transform 0.3s ease;
}

.policy-card:hover {
  transform: translateY(-5px);
}

.policy-card h5 {
  color: #216e6f;
  margin-bottom: 10px;
}

.policy-card p {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: #216e6f;
  text-decoration: none;
  font-weight: 500;
}
.read-more:hover {
  text-decoration: underline;
}



  .floating-image {
    animation: floatUpDown 3s ease-in-out infinite;
  }

  @keyframes floatUpDown {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-20px); }
    100% { transform: translateY(0); }
  }








  /* Container & positioning */
.services-slider {
  position: relative;
  padding: 60px 20px;
  overflow: hidden;
  background: #f8f9fa;
}

/* Floating shapes (background garnish) */
.floating-shape {
  position: absolute;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 5%;
}

.shape-2 {
  width: 180px;
  height: 180px;
  bottom: 15%;
  right: 8%;
  animation-duration: 12s;
}

/* Keyframe for floating effect */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}

/* Swiper wrapper size */
.swiper-container {
  width: 100%;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Service card styling */
.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  max-width: 280px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Icon circle */
.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  background: #216e6f;
  color: #fff;
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon {
  background: #0056b3;
}

/* Headings & paragraphs */
.service-card h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #343a40;
}

.service-card p {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.5;
}

/* Swiper nav & pagination overrides */
.swiper-button-prev,
.swiper-button-next {
  color: #216e6f;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.swiper-pagination-bullet {
  background: #216e6f;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}


* {
  font-family: "Poppins", sans-serif;
  font-weight:400;
  font-style: normal;
}


.testimonial-item {
    width: 100%; /* or set a fixed width like 350px */
    min-height: 300px; /* increase height */
    padding: 30px; /* more space inside the card */
    font-size: 16px; /* slightly larger text */
    box-sizing: border-box;
       box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #eee;

}


.step-card {
  background-color: #f9f9f9;
  border-left: 5px solid #216e6f;
  transition: all 0.3s ease;
}
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.badge {
  font-size: 1rem;
  padding: 0.5em 0.75em;
}


.card3 {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  border: 2px solid transparent;

}

.card3:hover {
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 0 15px rgba(6, 135, 139, 0.6);

}



/* Modal Overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
}

/* Modal Content */
.modal-content {
  background: #ffffff;
  border-radius: 12px;
  max-width:650px;
  margin: auto;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.5s ease-in-out;

  height: 80vh; /* 80% of the viewport height */
  overflow-y: auto;
}

/* Close Button */
.close-btn {
  float: right;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* Modal Body Layout */
.modal-body {
  /* display: flex;
  flex-direction: column; */
  align-items: center;
}


.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  border-radius: 10px;

}

.slide.active {
  opacity: 1;
}

/* Text Content */
.modal-right h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #222;
}

.modal-right p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  text-align: center;
}

/* Button Styling */
.modal-right button {
  padding: 12px 24px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-right button:hover {
  background-color: #0056b3;
}

.modal-right {
  display: flex;
  flex-direction: column;
  align-items: center; /* Horizontally center */
  justify-content: center; /* Vertically center if needed */
  text-align: center;
  padding: 20px;
}


/* Responsive Layout */
@media (min-width: 600px) {
  .modal-body {
    flex-direction: row;
    gap: 30px;
  }

  .modal-right {
    flex: 1;
    text-align: left;
  }
}

/* Fade-in Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Animations */
@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pill-button {
  display: inline-block;
  padding: 10px 24px;
  margin-bottom: 1rem;
  border: 2px solid #007bff;
  border-radius: 50px;
  color: white;
  background: linear-gradient(135deg, #e0f0ff, #ffffff);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;

}




.after-line {
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
}
 
.after-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px; /* Thickness of the line */
  background-color: #3fbd9f; /* Same color as your text */
}


