/********** Template CSS **********/
/* Expose a topbar variable for consistent positioning elsewhere */
@import url("https://fonts.googleapis.com/css?family=Barlow:200,300,400,500,600,700,800,900|Teko:300,400,500,600,700&display=swap");

:root {
  --topbar-height: calc(var(--navbar-height, 80px) / 2);
  --topbar-height-sm: auto;
  /* added: global font variables */
  }
/* apply globally */

body {
    font-family: "Barlow", sans-serif;
    font-weight: normal;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Barlow", sans-serif;
    color: #0b1c39;
    margin-top: 0px;
    font-style: normal;
    font-weight: 500;
    text-transform: normal
}

p {
    font-family: "Barlow", sans-serif;
    color: "Barlow", sans-serif;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 15px;
    font-weight: normal
}
/*** Spinner ***/
#loader {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#loader.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

#contact-page{
        scroll-margin-top: calc(var(--navbar-height, 80px) + var(--topbar-height, 40px) + 20px);
}
#electrical,#power,#cables,#hvac,#substation,#amc,#security,#turnkey,#support{
        scroll-margin-top: calc(var(--navbar-height, 80px) + var(--topbar-height, 40px) + 100px);
}
.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}




.preloader {
    background-color: #f7f7f7;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    -webkit-transition: .6s;
    -o-transition: .6s;
    transition: .6s;
    margin: 0 auto
}

.preloader .preloader-circle {
    width: 150px;
    height: 150px;
    position: relative;
    border-style: solid;
    border-width: 1px;
    border-top-color: #ff5f13;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    z-index: 10;
    border-radius: 50%;
    -webkit-box-shadow: 0 1px 5px 0 rgba(35, 181, 185, 0.15);
    box-shadow: 0 1px 5px 0 rgba(35, 181, 185, 0.15);
    background-color: #ffffff;
    -webkit-animation: zoom 2000ms infinite ease;
    animation: zoom 2000ms infinite ease;
    -webkit-transition: .6s;
    -o-transition: .6s;
    transition: .6s
}

.preloader .preloader-circle2 {
    border-top-color: #0078ff
}

.preloader .preloader-img {
    position: absolute;
    top: 50%;
    z-index: 200;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    display: inline-block;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    padding-top: 6px;
    -webkit-transition: .6s;
    -o-transition: .6s;
    transition: .6s
}

.preloader .preloader-img img {
    max-width: 100%;
    border-radius:50%;
}

.preloader .pere-text strong {
    font-weight: 800;
    color: #dca73a;
    text-transform: uppercase
}

@-webkit-keyframes zoom {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .6s;
        -o-transition: .6s;
        transition: .6s
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
        -webkit-transition: .6s;
        -o-transition: .6s;
        transition: .6s
    }
}

@keyframes zoom {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .6s;
        -o-transition: .6s;
        transition: .6s
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
        -webkit-transition: .6s;
        -o-transition: .6s;
        transition: .6s
    }
}






/*** Button ***/
.btn {
  transition: .5s;
}

.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;
}
/* Topbar (inserted) */
.topbar {
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  /* height = half of navbar height variable set by JS (fallback 80px -> topbar 40px) */
  height: calc(var(--navbar-height, 80px) / 2);
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  z-index: 1215;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
}

.topbar-left,
.topbar-right,
.topbar-center {
  white-space: nowrap !important;
  font-size: clamp(0.5rem, 1.1rem, 1rem) !important;
  color: #fff;  
}

.topbar-left:hover {
  cursor: pointer;
  color:#fff;
}
/* Ensure sticky navbar stacks under topbar without layout shifts */
.sticky-top-1 {
  position: sticky;
}

@media (max-width: 576px) {
  .topbar {
    height: auto;
    padding: 0rem 0.01rem;
    text-align: center;
    display: flex;
    flex-direction: column;
  }

  .topbar-inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    flex-direction: column;
    gap: 0.1rem;
  }

  .topbar-left,
  .topbar-right,
  .topbar-center {
    font-size: 0.7rem !important;
    width: 100%;
  }

  .topbar-left {
    order: 1;
  }

  .topbar-right {
    order: 3;
  }
  .topbar-center{
    order:2;
  }
  
}

/*** Navbar ***/
.sticky-top {
  top: calc(var(--topbar-height, 40px)) !important;
   transition: .2s;
}

.navbar {
  padding: 10px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  justify-content: space-around;
  flex: 0 1 auto;
  flex-direction: row;
  display: flex;
}

.navbar .navbar-nav .nav-link {
  margin-left: 20px;
  padding: 0;
  outline: none;
  color: var(--bs-light);
  font-size: clamp(1.5rem, 2vw, 1.5rem);
}

.navbar .navbar-nav .nav-link.active {
  color: var(--bs-secondary);
  background:var(--bs-light);
  padding: 0 1rem !important;
  border-radius:3px;

}

/* Custom Dropdown (click-activated only on caret) */
.navbar .nav-item .dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
}

.navbar .nav-item .dropdown .dropdown-menu.show {
  display: block;
}

.navbar .dropdown-caret {
  cursor: pointer;
  font-size: 0.7rem;
  vertical-align: middle;
  user-select: none;
}

.navbar .nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.navbar .navbar-nav .nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.navbar .navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background-color: var(--bs-dark);
  border-radius: 2px;
  transition: height 0.3s ease;
  color:black;
}

.navbar .navbar-nav .nav-link:hover::before {
  height: 24px;  /* Keep fixed height, don't expand to 100% */
  width: 4px;    /* Keep narrow width */
  background-color: var(--bs-dark); /* Change to primary color */
}

.navbar .navbar-nav .nav-link:hover {
  color: var(--bs-light) !important;
  padding: 0 1rem !important;
  background-color: var(--bs-dark); /* Change to primary color */

}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }
}

.main-logo {
  display: flex;
  flex-wrap: wrap;
  height: clamp(4.2rem, 10vw, 8.5rem) !important;
  width: clamp(2.5rem, 7vw, 8.4rem) !important;
  margin-right: clamp(0.5rem, 1vw, 1.5rem);
  padding-top: clamp(0.75rem, 1.5vw, 1.5rem);
  justify-items: center;
  object-fit: contain;
  flex: 0 1 auto;
  
  
}

.navbar-brand {
  display: flex;
  align-items: start;
  gap: 0.1rem;
  margin-bottom: 0 !important;
  padding: 0 !important;
  flex-direction: column;
  flex: 0 0 auto;
  justify-content: center;
}

.navbar-brand h1 {
  font-size: clamp(1.2rem, 5vw, 2.5rem) !important;
  line-height: 1 !important;
  margin: 0 !important;
  white-space: nowrap;
}

.navbar-brand sub,
.navbar-brand span {
  display: flex;
  font-size: clamp(0.5rem, 1.2vw, 1.2rem) !important;
  line-height: 1 !important;
  opacity: 0.95;
  margin-top: 0.08rem;
  flex: 0 0 auto !important;
  margin-bottom: 0;
  color:white;
}

.navbar-toggler {
  display: flex;
  flex: 0 1 auto;
  margin-right: 0 !important;
  justify-content: center;
  align-items: center;
  width: clamp(30px, 10vw, 200px);
  padding: .25rem .50rem;
  font-size: 1.25rem;
  border-color: white !important;
}

.sticky-top.nav-sticky .navbar-toggler {
  border-color: var(--bs-dark) !important;
}
.sticky-top.nav-sticky .navbar-toggler i {
  color: var(--bs-dark) !important;
}
.sticky-top.nav-sticky {
  background: white !important;
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

/* Change navbar-brand colors when sticky */
.sticky-top.nav-sticky .navbar-brand h1 {
  color: var(--bs-primary) !important;
}

.sticky-top.nav-sticky .navbar-brand sub,
.sticky-top.nav-sticky .navbar-brand span {
  color: var(--bs-dark) !important;
}

/* Change nav-link colors when sticky */
.sticky-top.nav-sticky .nav-link {
  color: var(--bs-dark) !important;
}

.sticky-top.nav-sticky .nav-link:hover {
  color: var(--bs-primary) !important;
}

.sticky-top.nav-sticky .nav-link.active {
  color: var(--bs-primary) !important;
  background: var(--bs-dark) !important;
}
@media (min-width: 992px) {


  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: .5s;
    opacity: 1;
  }


}


/*** Hero Section Header ***/

.hero-section-header {
  margin-top: -200px;
  padding-top: 250px;
  background-size: cover;
  display: flex;
  width: 100%;
}

/* Dim hero background image and add overlay so foreground text stays readable */
.hero-section-header {
  position: relative;
  overflow: hidden;
}

/* Dark translucent overlay (adjust rgba to taste) */
.hero-section-header::before {
  content: "";
  position: absolute;
  inset: 0;
  filter:brightness(0.9) blur(10px) contrast(0.9) saturate(0.9);
  background: rgb(0,0,0,0.3); /* increase for darker, decrease for lighter */
  pointer-events: none;
  z-index: 0;
  transition: background 200ms ease;
}

.hero-header::before{
  content: "";
  position: absolute;
  inset: 0;
  filter:brightness(0.9) blur(10px) contrast(0.9) saturate(0.9);
  background: rgb(0,0,0,0.6); /* increase for darker, decrease for lighter */
  pointer-events: none;
  z-index: 0;
}
.hero-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* adjust opacity as needed */
  z-index: 1;
  pointer-events: none;
  display: flex;
}
.nav-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}

/* Make the bg image sit behind overlay and content, and apply subtle filter */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* behind overlay and content */
  filter: brightness(0.7) contrast(0.95) saturate(0.9);
  transition: filter 200ms ease, opacity 200ms ease;
  opacity: 1;
}

/* Ensure all hero content sits above the overlay */
.hero-section-header > .container,
.hero-section-header .hero-section-container,
.hero-section-header .hero-section-items,
.hero-section-header h1,
.hero-section-header .hero-section-items-2 {
  position: relative;
  z-index: 1;
  color: var(--bs-light); /* choose appropriate variable or hard color */
}


@media (prefers-reduced-motion: reduce) {
  .bg-video { transition: none; }
}

.hero-section-header .breadcrumb-item+.breadcrumb-item::before {
  color: var(--light);
}


.img-hero {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 400px;
  top:0; /* Reduces carousel image height */
  border-radius: 4px;  
}

.hero-section-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  /* adjust opacity as needed */
  z-index: 1;
  pointer-events: none;
  display: flex;
}

.hero-section-carousel {
  position: relative;
  padding: 15px 0 40px 70px;
  display: flex !important;
  width: 100%;
  flex: 1 1 600px;

}

.hero-section-carousel::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: clamp(30px, calc(40% + 45px), 700px);
  height: 95%;
  background: var(--bs-primary);
  /* This line was already correct, no change needed based on instruction */
  z-index: -1;
  display: flex;
  flex: 0 1 auto;
}

.hero-section-carousel .owl-dots {
  position: absolute;
  top: 50%;
  left: 38px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-section-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 5px 0;
  width: 15px;
  height: 15px;
  border: 2px solid var(--bs-white);
  /* This line was already correct, no change needed based on instruction */
  transition: .5s;
}

.hero-section-carousel .owl-dot.active {
  height: 30px;
  background: var(--bs-white);
  /* This line was already correct, no change needed based on instruction */
}

.hero-section-container {
  display: flex;
  flex-direction: row;
  flex: 0 1 768px;
  height: 80%;
  margin-left: 2rem;
}

@media (max-width:768px) {
  .hero-section-items {
    width: 100% !important;
    margin-top: 0;
    text-align: center;
  }

  .hero-section-container {
    flex-direction: column-reverse !important;
  }

  .hero-section-header .hero-section-items-2 {
    flex-direction: row;
  }

  .hero-section-header .hero-section-items-2>[class*="col-"] {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    display: flex;
    align-items: center;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    box-sizing: border-box;
  }

  /* Inner alignment */
  .hero-section-header .hero-section-items-2>[class*="col-"] .d-flex {
    width: 100%;
    align-items: center;
  }
}



/*** About ***/
.about-img {
  position: relative;
  overflow: hidden;
}

.about-img::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url(../img/bg-about-img.png) top left no-repeat;
  background-size: contain;
}




/**services**/

/* Service Image Styling */
.service-image {
    width: 100%;
    height: 10rem;
    object-fit: cover;
    filter: drop-shadow(0 4px 8px rgba(10, 75, 73, 0.2));
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.service-card-enhanced:hover .service-image {
    transform: scale(1.15);
    filter: drop-shadow(0 8px 16px rgba(10, 75, 73, 0.35));
}









.tree,
.tree:before,
.tree:after {
  box-sizing: border-box;
  display: flex;
  justify-self:center;

}

.tree ul {
  position: relative;
  padding: 3em 0;
  white-space: nowrap;
  margin: 0;
  top: 0;
  text-align: center;
  font-weight: bolder;
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 1000px;

}

.tree ul:after {
  content: "";
  display: table;
  clear: both;
}

.tree ul ul:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 1px solid black;
  width: 0;
  height: 3em;
}

.tree ul li {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  list-style-type: none;
  position: relative;
  padding: 2em 0.5em 0;
  margin-left: -0.25em;
  margin-right: -0.25em;
  margin-bottom: 0;
  font-weight: bolder;
}

.tree ul li:before,
.tree ul li:after {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 1px solid black;
  width: 50%;
  height: 2em;
}

.tree ul li:after {
  right: auto;
  left: 50%;
  border-left: 1px solid black;
}

.tree ul li:only-child:after,
.tree ul li:only-child:before {
  display: none;
}

.tree ul li:only-child {
  padding-top: 0;
}

.tree ul li:first-child:before,
.tree ul li:last-child:after {
  border: 0 none;
}

.tree ul li:last-child:before {
  border-right: 1px solid black;
  border-radius: 0 1em 0 0;
}

.tree ul li:first-child:after {
  border-radius: 1em 0 0 0;
}

.tree ul li h4 {
  border: 1px solid black;
  padding: 0.75em;
  text-decoration: none;
  display: inline-block;
  border-radius: 1em;
  color: black;
  position: relative;
  margin-bottom: 0;
}

.tree ul li h5 {
  border: 1px solid black;
  padding: 0.75em;
  text-decoration: none;
  display: inline-block;
  border-radius: 1em;
  color: black;
  position: relative;
  margin-bottom: 0;
}

.tree ul li h6 {
  border: 1px solid black;
  padding: 0.75em;
  text-decoration: none;
  display: inline-block;
  border-radius: 1em;
  color: black;
  position: relative;
}


/*** Project ***/
.project-item img {
  transition: .5s;
}

.project-item:hover img {
  transform: scale(1.2);
}

.project-overlay {
  position: absolute;
  padding: 25px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
  z-index: 1;
}




/*** Our Team ***/
.team-item img {
  transition: .5s;
}

.team-item:hover img {
  transform: scale(1.2);
}

.team-overlay {
  position: absolute;
  padding: 30px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
  z-index: 1;
}

.team-overlay small {
  display: inline-block;
  padding: 3px 15px;
  color: var(--bs-white);
  background: var(--bs-primary);
}



/**project**/

.table-projects {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), #fff);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.table-projects thead th {
  background: linear-gradient(90deg, rgba(11,86,83,0.06), rgba(163,210,219,0.06));
  color: var(--bs-dark);
  font-weight: 700;
  border-bottom: none;
  padding: 1rem 1.25rem;
}
.table-projects tbody td {
  padding: 0.9rem 1.25rem;
  vertical-align: middle;
  background: transparent;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.table-projects td .sn {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--bs-primary), #0a4b49);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(10,75,73,0.12);
}

.table-projects .addr {
  color: #6c757d;
  font-size: 0.95rem;
  margin-top: 3px;
}

.table-projects tbody tr {
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.table-projects tbody tr:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  background: #ffffff;
}

@media (max-width: 576px) {
  .table-projects thead { display: none; }
  .table-projects tbody td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
  }
  .table-projects tbody tr { margin-bottom: 0.75rem; border-radius: 8px; background: #fff; }
  .table-projects td .sn { width: 36px; height: 36px; font-size: 0.9rem; }
}





/***expanded gallery**/
.hello {
  opacity: 1 !important;
}
.full {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.full .content {
  background-color: rgba(0,0,0,0.75) !important;
  height: 100%;
  width: 100%;
  display: grid;
}
.full .content img {
  left: 50%;
  transform: translate3d(0, 0, 0);
  animation: zoomin 1s ease;
  max-width: 50%;
  max-height: 50%;
  margin: auto;
}

.gallery {
  display: grid;
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 5rem;
  padding:1rem;
}
.gallery img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 16px #333;
  transition: all 1.5s ease;
}
.gallery img:hover {
  box-shadow: 0 0 32px #333;
}
.gallery .content {
  padding: 4px;
}
.gallery .gallery-item {
  transition: grid-row-start 300ms linear;
  transition: transform 300ms ease;
  transition: all 0.5s ease;
  cursor: pointer;
}
.gallery .gallery-item:hover {
  transform: scale(1.025);
}
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
  }
}
@media (max-width: 400px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
  }
}
@-moz-keyframes zoomin {
  0% {
    max-width: 50%;
    transform: rotate(-30deg);
    filter: blur(4px);
  }
  30% {
    filter: blur(4px);
    transform: rotate(-80deg);
  }
  70% {
    max-width: 50%;
    transform: rotate(45deg);
  }
  100% {
    max-width: 100%;
    transform: rotate(0deg);
  }
}
@-webkit-keyframes zoomin {
  0% {
    max-width: 50%;
    transform: rotate(-30deg);
    filter: blur(4px);
  }
  30% {
    filter: blur(4px);
    transform: rotate(-80deg);
  }
  70% {
    max-width: 50%;
    transform: rotate(45deg);
  }
  100% {
    max-width: 100%;
    transform: rotate(0deg);
  }
}
@-o-keyframes zoomin {
  0% {
    max-width: 50%;
    transform: rotate(-30deg);
    filter: blur(4px);
  }
  30% {
    filter: blur(4px);
    transform: rotate(-80deg);
  }
  70% {
    max-width: 50%;
    transform: rotate(45deg);
  }
  100% {
    max-width: 100%;
    transform: rotate(0deg);
  }
}
@keyframes zoomin {
  0% {
    max-width: 50%;
    transform: rotate(-30deg);
    filter: blur(4px);
  }
  30% {
    filter: blur(4px);
    transform: rotate(-80deg);
  }
  70% {
    max-width: 50%;
    transform: rotate(45deg);
  }
  100% {
    max-width: 100%;
    transform: rotate(0deg);
  }
}



/*** Testimonial ***/
.testimonial-img {
  position: relative;
  padding: 45px 0 45px 90px;
}

.testimonial-img::before {
  position: absolute;
  content: "";
  top:0;
  left: 10%;
  width: calc(50% + 45px);
  height: 100%;
  background: var(--bs-primary);
  z-index: -1;
  border-radius:50% 50% 50% 0;
}

.testimonial-text h5 {
  position: relative;
  padding-left: 45px;
}

.testimonial-text h5::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 40px;
  height: 2px;
  background: var(--bs-primary);
}

.testimonial-section-carousel .owl-dots {
  position: absolute;
  height: 17px;
  bottom: 0;
  right: 0;
  left: auto;
}

.testimonial-section-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin-left: 10px;
  width: 15px;
  height: 15px;
  background: var(--bs-white);
  border: 2px solid var(--bs-primary);
  transition: .5s;
}

.testimonial-section-carousel .owl-dot.active {
  width: 30px;
  background: var(--bs-primary);
}

@media (max-width: 768px) {
  .testimonial-section-carousel .owl-dots {
    left: 0;
    right: auto;
  }

  .testimonial-section-carousel .owl-dot {
    margin-right: 10px;
    margin-left: 0;
  }
}





/** Contact **/


.wrapper {
  margin: 60px auto;
}

.neumorphism {
  background-color: #e0e5ec;
  box-shadow: 9px 9px 16px rgba(163, 177, 198, 0.6), -9px -9px 16px rgba(255, 255, 255, 0.5);
  transition: all 250ms ease-in-out;
}
.neumorphism:hover {
  box-shadow: 9px 9px 16px rgba(163, 177, 198, 0.6), -9px -9px 16px rgba(255, 255, 255, 0.5), inset 3px 3px 7px rgba(136, 165, 191, 0.48), inset -3px -3px 7px #ffffff;
}

.card-w {
  display: flex;
  margin-bottom: 20px;


}
.card-w .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 15px;
  border-radius: 30px;
  position: relative;
  background: transparent;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex: 1 1 auto;
  box-sizing: border-box;
    height: clamp(18rem, 70vw, 18rem);
  width: clamp(20rem, 70vw, 21.875rem);
}


/* inset */
.card.inset {
  box-shadow: inset 3px 3px 7px rgba(136, 165, 191, 0.48), inset -3px -3px 7px #FFFFFF;
  transition: all 250ms ease-in-out;
}
.card.inset i {
  text-shadow: 1px 1px 1px #d6e1ef99, 0 0 0 #000, 1px 1px 1px #d6e1ef00;
}

.card.active {
  box-shadow: 9px 9px 16px rgba(163, 177, 198, 0.6), -9px -9px 16px rgba(255, 255, 255, 0.5), inset 3px 3px 7px rgba(136, 165, 191, 0.48), inset -3px -3px 7px #FFFFFF;
  background: linear-gradient(318.32deg, rgba(163, 177, 198, 0.1) 0%, rgba(163, 177, 198, 0.1) 55%, rgba(163, 177, 198, 0.25) 100%);
}


/* changed code */
.card__icon-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10rem;
  height: 10rem;
}

.card__icon-1 .colorful-email {
  width: 8rem;
  height: 8rem;
  transition: transform 220ms ease, filter 220ms ease;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.12));
}

.card__icon-1:hover .colorful-email {
  transform: translateY(-4px) scale(2.06);
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.16));
}
/* changed code: colorful phone icon (uses bootstrap-icons font) */
.card__icon .phone-icon {
  width: 10rem;
  height: 10rem;
  font-size: 5rem;
  line-height: 1;
  display:flex;
  background: linear-gradient(135deg, #fd8831, #b34700);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.12));
  transition: transform 220ms ease, filter 220ms ease;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.card__icon .phone-icon:hover,
.card__icon:focus-within .phone-icon {
  transform: translateY(-4px) scale(1.5) rotate(-4deg);
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.16));
}
/* ...existing code... */
.card__icon-2 .address-icon {
  width: 10rem;
  height: 10rem;
  font-size: 5rem;
  line-height: 1;
  display: flex;
  background: linear-gradient(135deg, #fd8831, #3a2a20);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.12));
  transition: transform 220ms ease, filter 220ms ease;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}

.card__icon-2 .address-icon:hover,
.card__icon-2:focus-within .address-icon {
  transform: translateY(-4px) scale(1.6) rotate(-3deg);
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.16));
}

.card__text {
  font-family: "Space Grotesk", "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1rem);
  line-height: 1.45;
  color: black; /* deep teal */
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(253,136,49,0.04), rgba(12,96,94,0.03));
  border: 1px solid rgba(61, 33, 11, 0);
  box-shadow: 0 8px 20px rgba(10,75,73,0.06);
  backdrop-filter: blur(4px);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  display: flex;
  max-width: 100%;
  word-break: break-word;
  justify-content: center;
  align-items: center;
}

.card__text:hover,
.card__text:focus {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(10,75,73,0.12);
  background: linear-gradient(90deg, rgba(253,136,49,0.06), rgba(12,96,94,0.05));
}

/* Small screens: slightly tighter spacing */
@media (max-width: 576px) {
  .card__text {
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
  }
}


/*** Footer ***/
.footer .btn.btn-link {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  text-align: left;
  color: rgba(255, 255, 255, .5);
  font-weight: normal;
  transition: .3s;
}

.footer .btn.btn-link:hover {
  color: var(--bs-white);
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 14px;
  border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
  color: rgba(255, 255, 255, .5);
}

.footer .copyright a:hover {
  color: var(--bs-white);
}

.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;
}


/* Add at the end of the file, before closing brace */

@media (max-width: 990px) {
  .navbar .nav-item.dropdown .dropdown-menu {
    position: static !important;
    display: none !important;
    float: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
  }

  .navbar .nav-item.dropdown .dropdown-menu.show {
    display: block !important;
  }

  /* slightly indent dropdown items in mobile for clarity */
  .navbar .nav-item.dropdown .dropdown-menu .dropdown-item {
    padding-left: 1.25rem;
    padding-right: 1rem;
  }

  /* ensure caret is clearly clickable on mobile */
  .navbar .dropdown-caret {
    cursor: pointer;
    user-select: none;
  }
  /* Lock page scroll when nav open */
  .nav-open {
    overflow: hidden !important;

  }

  /* Backdrop: animates first on entrance */
  #nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    visibility: hidden;
    z-index: 1050;
    pointer-events: none;
  }

  /* Backdrop entrance animation */
  #nav-backdrop.visible {
    background: rgba(0, 0, 0, 0.45);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: backdrop-slide-in 0.4s ease-out forwards;
  }

  /* Backdrop exit animation */
  #nav-backdrop.exit {
    animation: backdrop-slide-out 0.4s ease-in forwards;
  }

  /* Backdrop entrance keyframes */
  @keyframes backdrop-slide-in {
    from {
      opacity: 0;
      visibility: hidden;
    }

    to {
      opacity: 1;
      visibility: visible;
    }
  }

  /* Backdrop exit keyframes */
  @keyframes backdrop-slide-out {
    from {
      opacity: 1;
      visibility: visible;
    }

    to {
      opacity: 0;
      visibility: hidden;
    }
  }

  /* Navbar: keep on top of collapse panel */
  .sticky-top,
  .navbar {
    z-index: 1200 !important;
    position: sticky !important;
  }

  /* navbar-short (logo + brand) stays visible */
  .navbar-short {
    z-index: 1200 !important;
    position: sticky;
  }

  /* White full-screen panel below navbar */
  .navbar-collapse {
    position: fixed !important;
    inset: 0 0 0 0 !important;
    padding-top: 10rem !important;
    box-sizing: border-box !important;
    background: #fff !important;
    z-index: 1095 !important;
    overflow: hidden !important;
    display: none !important;
    height: 100vh !important;
    width: 100vw !important;
  }

  /* Collapse entrance animation (after backdrop) */
  .navbar-collapse.show {
    display: flex !important;
    flex-direction: column;
    animation: collapse-slide-in 0.56s cubic-bezier(0.22, 0.9, 0.35, 1) forwards;
  }

  /* Collapse exit animation */
  .navbar-collapse.exit {
    animation: collapse-slide-out 0.48s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
  }

  /* Collapse entrance keyframes */
  @keyframes collapse-slide-in {
    from {
      transform: translateX(100%);
      opacity: 0;
    }

    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  /* Collapse exit keyframes */
  @keyframes collapse-slide-out {
    from {
      transform: translateX(0);
      opacity: 1;
    }

    to {
      transform: translateX(100%);
      opacity: 0;
    }
  }

  /* Scrollable nav content */
  .navbar-collapse .navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    max-height: calc(100vh - var(--navbar-height, 80px)) !important;
    padding: 1rem !important;
    margin: auto !important;
    margin-top: 0 !important;
    justify-content: flex-start;
  }

  /* Staggered nav items entrance */
  .navbar-collapse .nav-item {
    opacity: 0;
    transform: translateY(8px);
    flex-shrink: 0;
    padding: 0.75rem 1rem !important;
    border-radius: 0.5rem;
    cursor: pointer;
  }

  /* Show staggered items after collapse enters */
  .navbar-collapse.show .nav-item {
    opacity: 0;
    transform: translateY(0);
    animation: item-stagger 0.4s ease-out forwards;
    animation-delay: calc(var(--stagger-index, 0) * 80ms + 300ms);
  }

  /* Item stagger entrance keyframes */
  @keyframes item-stagger {
    from {
      opacity: 0;
      transform: translateY(8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Item exit keyframes */
  @keyframes item-stagger-out {
    from {
      opacity: 1;
      transform: translateY(0);
    }

    to {
      opacity: 0;
      transform: translateY(-8px);
    }
  }

  /* Exit stagger for items on close */
  .navbar-collapse.exit .nav-item {
    animation: item-stagger-out 0.3s ease-in forwards;
    animation-delay: calc((var(--stagger-index, 0) - var(--total-items, 8)) * 80ms);
  }

  /* Hover animation for nav items */
  .navbar-collapse .nav-item:hover {
    background-color: rgba(16, 26, 25, 0.1) !important;
    transform: translateX(8px);
      color: var(--bs-primary) !important;
  }

  .navbar-collapse.show .nav-item:hover {
    background-color: rgba(17, 25, 25, 0.15) !important;
    transform: translateX(8px);
    color: var(--bs-primary) !important;

  }

  /* Hide toggler when open */
  .navbar-toggler.nav-hidden,
  body.nav-open .navbar-toggler {
    display: none !important;
    pointer-events: none !important;
  }

  /* Mobile close button */
  .mobile-nav-close {
    position: fixed !important;
    top: 10rem !important;
    right: 12px !important;
    z-index: 1210 !important;
    display: none !important;
    pointer-events: none !important;
    width: 36px !important;
    height: 36px !important;
    background: transparent !important;
    border: 0 !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  body.nav-open .mobile-nav-close,
  .navbar-collapse.show .mobile-nav-close {
    display: flex !important;
    pointer-events: auto !important;
  }

  .mobile-nav-close::before {
    content: '\2715';
    color: #fd8831;
    font-size: 1.3rem;
    font-weight: bold;
  }
    
  .sticky-top.nav-sticky {
    background: white !important;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
  }

  /* Change navbar-brand colors when sticky */
  .navbar-brand h1 {
    color: var(--bs-primary) !important;
  }

 .navbar-brand sub,
 .navbar-brand span {
    color: var(--bs-dark) !important;
  }

  /* Change nav-link colors when sticky */
  .nav-link {
    color: var(--bs-dark) !important;
  }

  .navbar-nav .nav-link:hover {
    color: var(--bs-primary) !important;
  }

   .nav-link.active {
    color: var(--bs-primary) !important;
    background: var(--bs-dark) !important;
  }

}

@media (max-width: 1200px) {

  /* Make the tree block fluid and allow internal scrolling if needed */
  .tree {
    width: 100% !important;
    box-sizing: border-box;
    padding: .5rem 0.75rem;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    margin: auto;
    align-items: center;
    flex: 1 1 1000px;
  }

  .tree ul {
    list-style: none;
    margin: auto;
    align-items: center;
    justify-self: center;
    flex: 1 1 1000px;
  }

  .tree ul li {
    margin: auto;
    align-items: center;
    justify-self: center;
  }

  .tree li {
    margin: 0.45rem 0;
    padding-left: 0.25rem;
  }

  /* Headings act as toggles and remain readable on small screens */
  .tree h4,
  .tree h5,
  .tree h6 {
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.6rem;
    color: #0b5653;
  }

  /* small indicator (+ / −) using pseudo element */
  .tree h4::after,
  .tree h5::after,
  .tree h6::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: #0b5653;
    font-size: 1rem;
  }

  /* collapsed children: hide nested lists */
  .tree li>ul {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s ease;
  }

  /* expanded state */
  .tree li.expanded>ul {
    display: block;
    max-height: 2000px;
    /* large enough to reveal content; transition animates */
  }

  /* indicator when expanded */
  .tree li.expanded>h4::after,
  .tree li.expanded>h5::after,
  .tree li.expanded>h6::after {
    content: '−';
  }

  /* Improve spacing of leaf text */
  .tree li h6 {
    font-weight: 500;
    font-size: .95rem;
    color: #333;
  }

  /* Reduce font-size slightly for small screens */
  .tree {
    font-size: 0.95rem;
  }
}


@media(max-width:1200px) {
  .iq-features {
    display: flex !important;
    flex-direction: column-reverse !important;
  }
}


/*** services page***/
/* Services Section Enhancements */
.services-hero {
    background: linear-gradient(135deg, #0b4b49 0%, #0a8b87 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.services-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.services-hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    bottom: -50px;
    left: -100px;
}

.services-hero-content {
    position: relative;
    z-index: 2;
}

/* Service Cards */
.service-card-enhanced {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-left: 4px solid var(--bs-primary);
    position: relative;
}

.service-card-enhanced:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(10, 75, 73, 0.2);
    border-left-color: #0c605e;
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), #0c605e);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card-enhanced:hover::before {
    transform: scaleX(1);
}

.service-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bs-primary), #0c605e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(10, 75, 73, 0.15);
    transition: all 0.3s ease;
}

.service-card-enhanced:hover .service-icon-box {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(10, 75, 73, 0.25);
}

.service-header {
    padding: 30px 25px 20px;
    flex: 0 0 auto;
}

.service-header h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b3d3b;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.service-card-enhanced:hover .service-header h5 {
    color: var(--bs-primary);
}

.service-description {
    padding: 0 25px 20px;
    color: #312e2e;
    font-size: 1rem;
    line-height: 1.6;
    flex: 1 1 auto;
}

.service-footer {
    padding: 20px 25px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    transition: all 0.3s ease;
}

.service-card-enhanced:hover .service-footer {
    background: var(--bs-primary);
}

.service-footer a {
    color: var(--bs-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-card-enhanced:hover .service-footer a {
    color: white;
    transform: translateX(5px);
}

/* Tab Navigation */
.services-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
}

.service-tab-btn {
    padding: 10px 20px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #666;
}

.service-tab-btn:hover,
.service-tab-btn.active {
    border-color: var(--bs-primary);
    background: var(--bs-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(10, 75, 73, 0.2);
}

/* Counter Section */
.service-stats {
    background: linear-gradient(135deg, rgba(10, 75, 73, 0.05), rgba(12, 96, 94, 0.05));
    padding: 40px 0;
    margin: 60px 0;
    border-radius: 12px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-primary);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    color: #282424;
    margin-top: 10px;
    font-size: 1.2rem;
}

/* Process Timeline */
.service-process {
    position: relative;
    padding: 40px 0;
}

.process-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(180deg, var(--bs-primary), #ccc);
}

.process-step:last-child::before {
    display: none;
}

.process-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bs-primary), #0c605e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(10, 75, 73, 0.2);
}

.process-content h5 {
    color: #0b3d3b;
    margin-bottom: 10px;
    font-weight: 700;
}

.process-content p {
    color: #302c2c;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .services-hero {
        padding: 50px 0;
    }

    .service-icon-box {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .process-step {
        padding-left: 60px;
    }

    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
/* Service Detail Modal Styles */
.service-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-detail-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 0;
}

.modal-content-wrapper {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10000;
    width: 50px;
    height: 50px;
    border: none;
    background: white;
    border-radius: 50%;
    font-size: 24px;
    color: var(--bs-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: var(--bs-primary);
    color: white;
}

/* Service Detail Content */
.service-detail-header {
    position: relative;
    background: linear-gradient(135deg, #0b4b49 0%, #0a8b87 100%);
    color: white;
    overflow: hidden;
}

.detail-image-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.detail-image-wrapper:hover .detail-image {
    transform: scale(1.05);
}

.detail-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--bs-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.detail-title-section {
    padding: 40px 30px 30px;
    position: relative;
    z-index: 2;
}

.detail-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    border: 2px solid white;
}

.detail-title-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.detail-intro {
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
}

.detail-content {
    padding: 40px 30px;
}

.detail-description {
    margin-bottom: 40px;
}

.detail-description h3,
.detail-section h3 {
    font-size: 1.8rem;
    color: #0b3d3b;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.detail-description h3::after,
.detail-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), #0c605e);
    border-radius: 2px;
}

.detail-description p {
    color: #272222;
    font-size: 1.2rem;
    line-height: 1.8;
}

.detail-section {
    margin-bottom: 40px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(10, 75, 73, 0.05), rgba(12, 96, 94, 0.05));
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--bs-primary);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(10, 75, 73, 0.15);
    border-left-color: #0c605e;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bs-primary), #0c605e);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.1rem;
    color: #0b3d3b;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-card p {
    color: #252323;
    font-size: 1rem;
    line-height: 1.6;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.process-item:hover {
    background: linear-gradient(135deg, rgba(10, 75, 73, 0.08), rgba(12, 96, 94, 0.08));
}

.process-number {
    min-width: 45px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--bs-primary), #0c605e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.process-text {
    color: #0b3d3b;
    font-weight: 600;
    font-size: 1rem;
    padding-top: 5px;
}

/* Tools Container */
.tools-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tool-badge {
    background: white;
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.tool-badge:hover {
    background: var(--bs-primary);
    color: white;
    transform: translateY(-3px);
}

/* Info Box */
.detail-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(10, 75, 73, 0.08), rgba(12, 96, 94, 0.08));
    border-radius: 12px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    font-size: 28px;
    color: var(--bs-primary);
    flex-shrink: 0;
    margin-top: 5px;
}

.info-item strong {
    display: block;
    color: #0b3d3b;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* CTA Button */
.detail-cta {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.detail-cta .btn {
    padding: 15px 40px;
    font-size: 1.05rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.detail-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(10, 75, 73, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content-wrapper {
        padding: 10px;
    }

    .modal-content {
        border-radius: 15px;
    }

    .detail-title-section {
        padding: 25px 20px 20px;
    }

    .detail-title-section h2 {
        font-size: 1.8rem;
    }

    .detail-content {
        padding: 25px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .detail-info-box {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .modal-close {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .detail-image-wrapper {
        height: 200px;
    }

    .detail-title-section h2 {
        font-size: 1.5rem;
    }

    .detail-intro {
        font-size: 1rem;
    }

    .detail-description h3,
    .detail-section h3 {
        font-size: 1.4rem;
    }
}        




/*** gallery section ***/

.section-padding {
  padding-top: 80px;
}

.gallery-section {
  position: relative;
  z-index: 1;
    outline: none;
  visibility: visible;
  overflow-x: hidden;
}
.gallery-section * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;

}

.gallery-section a {
  text-decoration: none;
  cursor: pointer;
  outline: 0;
}

.filter {
  text-align: center;
  max-width: 1050px;
  margin: auto;
}


.btn-active {
  background: #f44336;
  color: #fff;
  -webkit-transform: translateY(3px);
  -ms-transform: translateY(3px);
  transform: translateY(3px);
}
.gallery {
  display: flex;
  justify-content: center;
  width: fit-content;
  max-width: 1320px;
  flex-wrap: wrap;
  margin: 25px auto;
  /* gap: 14px; */
}
.gallery a {
  display: flex;
}
.gallery img {
  width: 200px;
  height: 220px;
  object-fit: cover;
  transition: 0.3s ease-in-out;
  border-radius: 12px;
  overflow: hidden;
  margin: 10px 10px;
}

.gallery img:hover {
  transform: scale(1.1);
}

.sets .hide,
.sets .pophide {
  width: 0%;
  opacity: 0;
}

.closeBtn {
  position: absolute;
  font-size: 22px;
  font-weight: 500;
  right: 25px;
  top: 25px;
  color: white;
  transition: 0.5s linear;
  padding: 8px 40px;
  border-radius: 25px;
  background: red;
  outline-offset: -6px;
  outline: 2px solid #fff;
}
.closeBtn:hover {
  cursor: pointer;
  background: white;
  color: black;
  outline: 2px solid #000;
}

.openDiv {
  width: 100%;
  height: 100vh;
  background: #000000e7;
  position: fixed;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  left: 0;
  z-index: 9999;
}
.imgPreview {
  width: 70%;
  object-fit: scale-down;
  max-height: 40vw;
  height: auto;
}
.prevButton,
.nextButton {
  transition: 1s linear;
  padding: 10px 35px;
  font-size: 18px;
  border: none;
  color: white;
  background: #0005;
  border-radius: 10px;
  border: 1px solid white;
  margin: 10px;
}
.prevButton:hover,
.nextButton:hover {
  background: #fff;
  color: black;
}

/* resposive CSS Code */

@media (max-width: 1199px) {
  .section-padding {
    padding-top: 70px;
  }
}
@media (max-width: 991px) {
  .section-padding {
    padding-top: 50px;
  }
}
@media (max-width: 767px) {
  .title {
    font-size: 36px;
  }
  .gallery img {
    margin: 8px 8px;
    width: 175px;
  }
  .closeBtn {
    padding: 6px 25px;
  }
  .prevButton,
  .nextButton {
    font-size: 18px;
    padding: 8px 25px;
  }
}

@media (max-width: 540px) {
  .section-padding {
    padding-top: 30px;
  }
  
  .gallery img {
    margin: 8px 6px;
    width: 155px;
  }

  .closeBtn {
    font-size: 18px;
    border-radius: 15px;
  }
  .prevButton,
  .nextButton {
    font-size: 18px;
    padding: 6px 20px;
    border-radius: 10px;
    margin: 5px;
  }

  .imgPreview {
    width: 90%;
    max-height: 50vh;
    height: auto;
  }
  
}

