:root {
  --bs-primary: #2c5b9d; /* Main brand color (dark blue) */
  --bs-secondary: #e85337; /* Accent color (yellow/gold) */
  --bs-white: #ffffff;
  --bs-dark: #000000;
  --bs-light: #f8f9fa;

  /* Optional additional colors */
  --accent-color: var(--bs-primary);
  --contrast-color: var(--bs-white);
}
.bg-secondary {
  background-color: var(--bs-secondary) !important;
}
.bg-primary {
  background-color: var(--bs-primary) !important;
}
/* Global rule stays */
/* html, body {
  width: 100%;
  overflow-x: hidden !important;
} */

/* 🔥 FIX: allow navbar to escape */
/* .nav-bar,
.navbar,
.navbar-collapse,
.mega-dropdown,
.mega-menu {
  overflow: visible !important;
} */

body,
h1, h2, h3, h4, h5, h6,
p, span, a, button {
  font-family: 'Poppins', sans-serif !important;
}


/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}
/*** Spinner End ***/

/* left arrow button */
/* .back-to-top-left {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 99;
} */
.back-to-top-left {
  position: fixed;
  right: 30px;
  bottom: 30px;

  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  z-index: 99;

  padding: 0;            /* IMPORTANT */
  line-height: 1;        /* IMPORTANT */
}

.back-to-top-left i {
  font-size: 18px;
  line-height: 1;
  margin: 15px;
}

/* right floating action (+) group */
.fab-container-right {
  position: fixed;
  left: 30px;
  bottom: 30px;
  z-index: 99;
}

/* main + button */
.fab-main {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* sub icons (hidden by default) */
.fab-icon {
  position: absolute;
  right: 10px;
  bottom: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d6efd;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: 0.3s;
}

.fab-icon:hover {
  background: #0d6efd;   /* keep blue */
  color: #fff;           /* force white */
}

/* also force icon inside */
.fab-icon:hover i {
  color: #fff;
}


/* open state: show and offset vertically */
.fab-container-right.open .fab-whatsapp {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50px);
}

.fab-container-right.open .fab-phone {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-100px);
}

.fab-container-right.open .fab-email {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-150px);
}


/*** Button Start ***/
.text-secondary {
  color: var(--bs-secondary) !important;
}
.btn {
  font-weight: 600;
  transition: 0.5s;
}

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

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

.btn-md-square {
  width: 44px;
  height: 44px;
}

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

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

.btn.btn-primary {
  background: var(--bs-secondary) !important;
  color: var(--bs-white) !important;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  transition: 0.5s;
  border: none ;
}

.btn.btn.btn-primary:hover {
  background:  #c74730 !important;
  color: white;
  border: none!important;
  outline: none;
}
.btn.btn.btn-primary:focus{
  background:  #c74730 !important;
  color: white;
  border: none!important;
  outline: none;
  box-shadow: none!important;
}

.btn.btn-secondary {
  background: transparent;
  color: var(--bs-secondary);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  border: none;
  transition: 0.5s;
}

.btn.btn-secondary:hover {
  color: var(--bs-primary) !important;
}
.icon-box {
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* mega-menu */
/* Mega menu container */
.mega-menu {
    width: 100%;
    max-width: 1250px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 10px;
    background: #fff;
    top: 80% !important;

}

/* Titles */
/* .mega-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--bs-primary);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #eaeaea;
} */

/* Links */
.mega-link {
    display: flex;
    align-items: center;
    color: #0a1a44;
     gap: 0px !important;
    font-size: 14.5px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #0a1a44 !important;
}

.mega-link i {
  margin-right: 0 !important;
    line-height: 0;

    font-size: 15px;
    color: #0a1a44 !important;
}

/* Hover */
.mega-link:hover {
    color: var(--bs-light) !important;
    padding-left: 5px;

}

/* FIX column width (4 per row on large) */
.mega-menu .col-lg-3 {
    padding-left: 10px !important;
}

/* Dropdown on hover (desktop) */
@media (min-width: 992px) {
    .mega-dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Mobile & Tablet Fix */
@media (max-width: 991px) {
    .mega-menu {
        position: static !important;
        transform: none !important;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        padding: 15px !important;
    }

    .mega-link {
        padding: 6px 0;
    }
}

.mega-menu {
    max-height: 520px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* scrollbar */
.mega-menu::-webkit-scrollbar {
    width: 6px;
}

.mega-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.mega-menu::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 10px;
}

.mega-menu::-webkit-scrollbar-thumb:hover {
    background: #0b5ed7;
}

/* === FORCE EQUAL HEIGHT FOR MEGA MENU HEADERS === */
.mega-title {
    height: 48px;                /* 👈 fixed equal height */
    display: flex;
    align-items: center;         /* vertical center */
    border-bottom: 2px solid #eaeaea;
    margin-bottom: 12px;
    padding-bottom: 6px;
    font-weight: 700;
    font-size: 16px;
    color: var(--bs-primary);
}

/* Text control inside title */
.mega-title-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;       /* max 2 lines inside fixed height */
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    line-height: 1.3;
}


/* hover fix */
@media (min-width: 992px) {
    .mega-dropdown:hover > .dropdown-menu,
    .mega-dropdown .dropdown-menu:hover {
        display: block;
    }
}



/* Slider Card */
.team-slider {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

/* Image wrapper */
.team-slide {
  position: relative;
}

.team-slide img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

/* Gradient Overlay */
.team-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.1)
  );
}

/* Text overlay */
.team-overlay {
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;       
  z-index: 2;
  color: #fff;
}


.team-overlay h5 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #fff;

  white-space: nowrap;        
  overflow: hidden;
  text-overflow: ellipsis;    /* 🔑 ... */
  max-width: 100%;
}


.team-overlay span {
  font-size: 14px;
  opacity: 0.85;

  display: -webkit-box;
  -webkit-line-clamp: 2;      /* 🔑 max 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

/* Mobile */
@media (max-width: 768px) {
  .team-slide img {
    height: 300px;
  }
}

.team-highlight {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 18px 15px;
  text-align: center;
  border: 1px solid #eaeaea;
  transition: 0.3s;
}

.team-highlight h4 {
  margin: 0;
  font-weight: 700;
  color: var(--bs-primary);
}

.team-highlight span {
  font-size: 13px;
  color: #555;
}

.team-highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}


/* Left Accordion Styles */
.service-accordion .accordion-button.custom-accordion-btn {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
  padding: 14px 18px;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
  font-size: 15px;
}

.service-accordion .accordion-button:not(.collapsed) {
  background: var(--bs-primary) !important;
  color: #fff !important;
  box-shadow: none;
}

.service-accordion .accordion-item {
  border-radius: 10px !important;
  border: 1px solid #eee !important;
  background: #fff;
}

/* Hover Effect */
.service-accordion .accordion-button:hover {
  background: #e9f2ff;
}

/* Service Lists */
.service-list li {
  list-style: none;
  margin-bottom: 8px;
}

.service-list li a {
  text-decoration: none;
  font-size: 14px;
  color: #555;
  transition: 0.3s;
  padding: 6px 4px;
  display: block;
  border-radius: 6px;
}

.service-list li a i {
  font-size: 12px;
  margin-right: 6px;
  color:var(--bs-primary);
}

.service-list li a:hover {
  background: #f1f7ff;
  color: var(--bs-primary);
}

/* Right Side Content */
.service-details {
  line-height: 1.7;
  font-size: 15.5px;
}

.service-details h3 {
  margin-top: 25px;
  border-left: 4px solid var(--bs-primary);
  padding-left: 10px;
}

.custom-img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 12px;
}

/* Mobile Spacing */
@media (max-width: 768px) {
  .service-details {
    padding: 20px;
  }
}

/*** Section Title Start ***/
.section-title {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.section-title .sub-style {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.section-title .sub-style::before {
  content: "";
  width: 100px;
  position: absolute;
  bottom: 50%;
  left: 0;
  transform: translateY(-50%);
  margin-bottom: -6px;
  margin-left: -100px;
  border: 1px solid var(--bs-secondary) !important;
}

.section-title .sub-style::after {
  content: "";
  width: 50px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  margin-top: -8px;
  margin-left: -50px;
  border: 1px solid var(--bs-primary) !important;
}

.sub-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.sub-title::before {
  content: "";
  width: 100px;
  position: absolute;
  bottom: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-bottom: -8px;
  margin-right: -100px;
  border: 1px solid var(--bs-secondary) !important;
}

.sub-title::after {
  content: "";
  width: 50px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-top: -6px;
  margin-right: -50px;
  border: 1px solid var(--bs-primary) !important;
}

/*** Topbar Start ***/
.fixed-top .container {
  transition: 0.5s;
}

.topbar {
  padding: 2px 10px 2px 20px;
  background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
  transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
  color: var(--bs-secondary) !important;
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
}
/*** Topbar End ***/

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
  font-family: "Poppins", sans-serif;
  position: relative;
  margin-right: 25px;
  padding: 35px 0;
  color: var(--bs-primary) !important;
  font-size: 17px;
  font-weight: 400;
  outline: none;
  transition: 0.5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
  padding: 20px 0;
  color: var(--bs-primary) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--bs-secondary) !important;
}

.navbar-light .navbar-brand img {
  max-height: 50px;
  transition: 0.5s;
}

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

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  vertical-align: middle;
}

@media (min-width: 1200px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    border: 0;
    border-radius: 10px;
    transition: 0.5s;
    opacity: 0;
  }
}

.dropdown .dropdown-menu a:hover {
  background: var(--bs-primary);
  color: var(--bs-secondary);
}

.navbar .nav-item:hover .dropdown-menu {
  transform: rotateX(0deg);
  visibility: visible;
  background: var(--bs-light) !important;
  transition: 0.5s;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .sticky-top {
    position: sticky;
    background: var(--bs-white);
  }

  .navbar.navbar-expand-lg .navbar-toggler {
    
    
    color: var(--bs-primary);
  }

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

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

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

@media (min-width: 991.98px) {
  .sticky-top .navbar-light {
    background: var(--bs-light) !important;
  }

  /*** Top and Bottom borders go out ***/
  .navbar-light .navbar-nav .nav-link:after,
  .navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    top: 30px;
    bottom: 30px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: var(--bs-primary);
    opacity: 0;
    transition: all 0.5s;
  }

  .navbar-light .navbar-nav .nav-link:before {
    bottom: auto;
  }

  .navbar-light .navbar-nav .nav-link:after {
    top: auto;
  }

  .navbar-light .navbar-nav .nav-link:hover:before,
  .navbar-light .navbar-nav .nav-link.active:before {
    top: 20px;
    opacity: 1;
  }

  .navbar-light .navbar-nav .nav-link:hover::after,
  .navbar-light .navbar-nav .nav-link.active::after {
    bottom: 20px;
    opacity: 1;
  }
}


#searchModal .modal-content {
  background: rgba(240, 245, 251, 0.5);
}
/*** Navbar End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
  background: linear-gradient(rgba(0, 58, 102, 0.9), rgba(0, 58, 102, 0.8)),
    url(../img/new/about-img.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: initial;
  background-size: cover;
  padding: 100px 0 60px 0;
}
/*** Single Page Hero Header End ***/

/*** Carousel Hero Header Start ***/
.carousel-header .carousel-control-prev .carousel-control-prev-icon,
.carousel-header .carousel-control-next .carousel-control-next-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-left: -60px;
  border-radius: 50%;
  background-size: 60% 60%;
  transition: 0.5s;
}

.carousel-header .carousel-control-next .carousel-control-next-icon {
  margin-left: 0;
  margin-right: -60px;
}

.carousel-header .carousel .carousel-indicators {
  padding-bottom: 0;
  transition: 0.5s;
}

.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li {
  width: 8px;
  height: 8px;
  border: 8px solid var(--bs-primary);
  border-radius: 50%;
  margin-right: 30px;
  transition: 0.5s;
}

.carousel-header .carousel .carousel-indicators li.active {
  width: 8px;
  height: 8px;
  border: 8px solid var(--bs-secondary);
}

.carousel-header .carousel-inner .carousel-item {
  position: relative;
  min-height: 100vh;
}

.carousel-header .carousel-inner .carousel-item img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-header .carousel-inner .carousel-item .carousel-caption {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  background-size: cover;
}



  /* ===============================
   HERO – GLOBAL (ALL SCREENS)
================================ */

.carousel-header {
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;              /* 🔥 prevents ANY scrollbar */
}

.carousel-header .carousel-inner,
.carousel-header .carousel-item,
.carousel-header .carousel-item img {
  height: 100%;
}

.carousel-header .carousel-item img {
  object-fit: cover;
}

/* Overlay */
.carousel-header .carousel-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0,0,0,0.6);
  padding: 80px 20px 140px;       /* space for dots + button */
  box-sizing: border-box;
}

/* Indicators */
.carousel-header .carousel-indicators {
  bottom: 30px;
}

/* ===============================
   MOBILE CLEAN FIX
================================ */
@media (max-width: 938px) {

  .carousel-header .carousel-control-next .carousel-control-next-icon {
 
  margin-left: -60px;
  margin-top: 200%; 
}
.carousel-header .carousel-control-prev .carousel-control-prev-icon{
 
  margin-right: -60px;
  margin-top: 200%;
}

}
@media (max-width: 768px) {

  /* Mobile-safe viewport */
  .carousel-header {
    height: 100svh;               /* 🔥 no browser-bar bug */
    max-height: 100svh;
  }

  /* Clamp titles */
  .carousel-header h5 {
    font-size: 14px;
  }
 

  .carousel-header h3 {
    font-size: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3;        /* max 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 🔥 HIDE DESCRIPTION COMPLETELY */
  .carousel-header p {
    display: none;
  }

  /* Button spacing */
  .carousel-header .btn {
    padding: 12px 28px;
    font-size: 15px;
  }

  
.carousel-header .carousel-control-next .carousel-control-next-icon {
 
  margin-left: -60px;
  margin-top: 250% ;
}
.carousel-header .carousel-control-prev .carousel-control-prev-icon{
 
  margin-right: -60px;
  margin-top: 250%;
}
}


/*** Carousel Hero Header End ***/

/*** service Start ***/
.service .service-item {
  position: relative;
  overflow: hidden;
}
.service .service-item {
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.service .service-item .service-inner .service-title {
  position: relative;
  margin-top: -30px;
  text-align: center;
  transition: 0.5s;
}

.service .service-item .service-inner .service-title .service-content {
  position: absolute;
  bottom: -100%;
  left: 0;
  margin-left: 30px;
  margin-right: 30px;
  text-align: center;
  border-radius: 10px;
  background: var(--bs-primary);
  opacity: 0;
  transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-content {
  bottom: 0;
  opacity: 1;
}

.service .service-item .service-inner .service-title .service-content a h4 {
  border-bottom: 1px solid rgba(256, 256, 256, 0.1);
}

.service .service-item .service-inner .service-title .service-title-name {
  transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-title-name {
  opacity: 0;
}

.service .service-item .service-inner .service-img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.service .service-item .service-inner .service-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  transition: 0.5s;
  opacity: 0;
}

.service .service-item:hover .service-inner .service-img::after {
  height: 100%;
  opacity: 1;
}

.service .service-item .service-inner .service-img img {
  transition: 0.5s;
}

.service .service-item:hover .service-inner .service-img img {
  transform: scale(1.3);
}
/*** Service End ***/

/*** testimonial Start ***/
.testimonial .owl-carousel.testimonial-carousel {
  position: relative;
}

.testimonial
  .owl-carousel.testimonial-carousel
  .testimonial-item
  .testimonial-content {
  position: relative;
  border-radius: 10px;
  background: var(--bs-light);
}

.testimonial
  .owl-carousel.testimonial-carousel
  .testimonial-item
  .testimonial-content::after {
  position: absolute;
  content: "";
  width: 45px;
  height: 45px;
  bottom: -20px;
  left: 30px;
  transform: rotate(45deg);
  background: var(--bs-light);
  z-index: -1;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav {
  position: absolute;
  top: -51px;
  right: 0;
  display: flex;
  font-size: 32px;
  color: var(--bs-primary);
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
  margin-right: 40px;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next {
  transition: 0.5s;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--bs-secondary);
}

/* ================= OWL LAYOUT ================= */

.testimonial .owl-stage {
  display: flex;
  
}

.testimonial .owl-item {
  display: flex;
  justify-content: center;
}

/* ================= CARD SIZE ================= */

.testimonial .testimonial-item {
  width: 100%;
  max-width: 520px;   
  display: flex;
  flex-direction: column;
}

/* ================= CONTENT HEIGHT ================= */

.testimonial .testimonial-content {
  flex: 1;
  min-height: 240px;  /* keeps all cards same height */
  background: var(--bs-light);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

/* ================= TEXT LIMIT ================= */

.testimonial .testimonial-content p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================= USER INFO ALIGN ================= */

.testimonial .testimonial-item > .d-flex {
  margin-top: auto;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .testimonial .testimonial-item {
    max-width: 100%;
  }

  
}
.testimonial .owl-item {
  display: flex;
  justify-content: center;
}

/*** testimonial end ***/

/*** Contact Start ***/
.contact .office .office-item {
  text-align: center;
  border-radius: 10px;
  /* box-shadow: 0 0 45px rgba(0, 0, 0, 0.2); */
  background: var(--bs-light);
  transition: 0.5s;
}

/* .contact .office .office-item:hover {
  box-shadow: 20px 20px 20px rgba(0, 58, 102, 0.3);
} */

.contact .office .office-item .office-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 100%;
}

.contact .office .office-item .office-img img {
  transition: 0.5s;
}

.contact .office .office-item:hover .office-img img {
  transform: scale(1.3);
}

.contact .office .office-item .office-content a.text-secondary,
.contact .office .office-item .office-content a.text-muted {
  transition: 0.5s;
}

.contact .office .office-item .office-content a.text-muted:hover {
  color: var(--bs-secondary) !important;
}

.contact .office .office-item .office-content a.text-secondary:hover {
  color: var(--bs-primary) !important;
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
  background: var(--bs-primary);
}
.footer .footer-item a {
  line-height: 36px;
  color: var(--bs-white);
  transition: 0.5s;
}
.footer .footer-item p {
  line-height: 30px;
}
.footer .footer-item a:hover {
  
  color: var(--bs-secondary);
}
.btn-social {
    width: 40px;             /* Set equal width */
    height: 40px;            /* Set equal height */
    display: flex;
    align-items: center;     /* Center icon vertically */
    justify-content: center; /* Center icon horizontally */
    border-radius: 50%;      /* Perfect circle */
    font-size: 18px;
    transition: 0.3s;
    padding: 0;              /* Remove inner spacing */
}
.btn-social i {
    line-height: 1;
}


/*** Footer End ***/

/*** copyright Start ***/
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bs-secondary) !important;
}
/*** copyright end ***/
.service .service-item {
  height: 100%;
}
.service .service-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service .service-title-name {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service .service-title-name > a.btn {
  margin-top: 10px; /* PUSHES BUTTON DOWN */
}
/* blog */
.office .col-md-6,
.office .col-lg-6,
.office .col-xl-3 {
  display: flex;
}

.office-item {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.office-item {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.office-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.office-content a {
  margin-top: auto; /* Push 'Read Article' to the bottom */
}

/* blog */
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--bs-secondary);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
/* why */
/* Section */
/* Subtitle */

/* Main Title */


.wc-title span {
  color:#e85437; /* orange highlight */
}

/* Right Paragraph */
.wc-desc {
  color: #6c6c6c;
  font-size: 16px;
  line-height: 1.7;
}

/* Cards Section */
/* Card Container */
.wc-card-box {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e6e6e6;
  padding: 35px 20px;
  transition: 0.3s ease;
  height: 100%;
  box-shadow: 0px 3px 12px rgba(0,0,0,0.05);
  position: relative;
}

/* Hover effect */
.wc-card-box:hover {
  transform: translateY(-6px);
  box-shadow: 0px 10px 28px rgba(0,0,0,0.08);
  border-color: #e85437; /* orange theme */
}

/* Icon box */
.wc-card-icon {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background: #f9f9f9;
  border: 2px solid #e6e6e6;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px auto;
  font-size: 32px;
  color: #2c5b9d;
  transition: 0.3s;
}

/* Icon hover style */
.wc-card-box:hover .wc-card-icon {
  border-color: #e85437;
  color: #e85437;
}

/* Title */
.wc-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #2c5b9d; /* deep blue */
  margin-bottom: 10px;
}

/* Text */
.wc-card-text {
  font-size: 14px;
  color: #6c6c6c;
  margin: 0;
}

/* Gold Divider (Between Cards) */


/* Mobile Responsive */
/* faq */

/* FAQ Section */
.wc-faq-section {
    max-width: 1000px;
}

.wc-faq-heading {
    font-weight: 700;
    font-size: 32px;
    color: #0d6efd;
}

/* Card Styles */
.wc-faq-card {
    border: none;
    margin-bottom: 12px;
    border-radius: 10px;
    
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.wc-faq-header {
    background: #f7f9fc;
    border-bottom: none;
    padding: 0;
}

.wc-faq-btn {
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    background: none;
    outline: none;
    border: none;
    box-shadow: none;
    position: relative;
}

.wc-faq-btn:after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 22px;
    font-weight: bold;
    transition: 0.3s;
}

.wc-faq-btn[aria-expanded="true"]:after {
    content: "-";
    transform: rotate(180deg);
}

.wc-faq-body {
    background: #fff;
    padding: 16px 20px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}
.fab-container-right {
  display: none;
}
.back-to-top-left{
  display: none;
}
.industries-section .wc-card-icon {
  font-size: 36px;
  color: var(--bs-primary); /* golden accent */
  margin-bottom: 15px;
}

.industries-section .wc-card-box {
  padding: 30px 20px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.industries-section .wc-card-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.industries-section .wc-card-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.industries-section .wc-card-text {
  font-size: 14.5px;
  color: #555;
}
/* crausel */

/* Keep indicators inside carousel */
.carousel-header .carousel-indicators {
  bottom: 30px;
}

/* Lift content so it never touches indicators */
.carousel-header .carousel-caption {
  padding-bottom: 150px; /* space for button + dots */
}



/* crausel */

/* expertise */
/* Clamp text */

.clamp-3 {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.5 !important; /* Standardize line height */
  max-height: 4.5em !important; /* 3 lines * 1.5 */
  word-break: break-word; /* Better wrapping */
}
.wc-card-title, .wc-card-text {
  position: relative; /* Helps clipping */}

.team-overlay h5,
.team-overlay span {
  display: block;
  white-space: nowrap;        /* force single line */
  overflow: hidden;
  text-overflow: ellipsis;    /* show ... */
  max-width: 100%;
}
/* service */
/* Service image container */
.service-img {
  width: 100%;
  height: 220px;              /* 👈 adjust if needed (200–240px) */
  border-radius: 12px;
  overflow: hidden;
}

/* Image itself */
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* 👈 MOST IMPORTANT */
  display: block;
}
@media (max-width: 768px) {
  .service-img {
    height: 180px;
  }
}

.service .service-item .service-content {
  height: 100%;               /* fill card */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


/* service */
/* Blog image container */
.office-img {
  width: 100%;
  height: 360px !important;              /* FIXED HEIGHT */
  overflow: hidden;
  border-radius: 12px;
  background: #f3f3f3;        /* handles transparent images */
  display: block;
}

/* Image */
.office-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}
/* testimonial */

/* Avatar container */
.testimonial-item .rounded-circle {
  width: 100px;
  height: 100px;
  overflow: hidden;
  flex-shrink: 0;
}

/* Avatar image */
.testimonial-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* 🔥 KEY */
  object-position: center;
  display: block;
}
.presence-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}
.presence-address {
  display: -webkit-box;
  -webkit-line-clamp: 2;      /* 🔥 2 lines only */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}
.text-ellipsis-input {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* Fix hamburger appearance */


.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Fix FAQ title overlapping issue */
.wc-faq-btn {
    white-space: normal !important;   /* allow wrapping */
    text-align: left;
    width: 100%;
    padding-right: 40px;              /* space for icon / scrollbar */
    word-break: break-word;
}

/* Ensure header doesn't overflow */
.wc-faq-header {
    overflow: hidden;
}

/* Optional: cleaner look */
.wc-faq-btn:focus {
    box-shadow: none;
    text-decoration: none;
}
.blog-meta span {
    white-space: normal;
    margin-bottom: 6px;
    font-size: 14px;
}

@media (max-width: 576px) {
    .blog-meta span {
        width: 100%;
    }
}
.card-img-top {
    height: 190px;
    object-fit: cover;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
}

.card-text {
    font-size: 14.5px;
    line-height: 1.6;
}
/* Base */
/* Card structure */
.service-item,
.service-inner,
.service-title {
  height: 75%;
}

.service-inner {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

/* Hover layer – completely removed when hidden */
.service-content {
  position: absolute;
  inset: 0;
  background: #0d5aa7;
  color: #fff;

  display: flex;
  flex-direction: column;
  padding: 30px 25px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 2;
}

/* Show hover */
.service-item:hover .service-content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Default content */
.service-title-name {
  position: relative;
  z-index: 1;
  transition: 0.3s ease;
}

.service-item:hover .service-title-name {
  opacity: 0;
  visibility: hidden;
}

/* Button pinned */
.service-content .btn {
  margin-top: auto;
  background-color: #e85337;
}
/* ===============================
   SERVICE IMAGE FIX (370 x 220)
================================ */

.service-img {
  width: 370px!important;          /* 👈 exact width */
  height: 295px !important;         /* 👈 exact height */
  margin: 0 auto;        /* center image block */
  border-radius: 12px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* 👈 keeps aspect ratio, no stretch */
  display: block;
}
/* ===============================
   CARD STRUCTURE
================================ */

.service-item,
.service-inner {
  height: 100%;
}

.service-inner {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

/* ===============================
   IMAGE
================================ */

.service-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===============================
   OUTSIDE TITLE (FIX UNEVEN UI)
================================ */

.service-title-pill {
  height: 58px;                /* 🔒 FIXED HEIGHT */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Clamp title text */
.service-title-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;       /* max 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
  text-decoration: none;
}

/* ===============================
   DEFAULT CONTENT
================================ */

.service-default {
  text-align: center;
  transition: 0.35s ease;
}

/* ===============================
   HOVER CONTENT (FIX HEIGHT)
================================ */

.service-hover {
  position: absolute;
  inset: 0;
  background: #0a5fa5;
  color: #fff;

  display: flex;
  flex-direction: column;
  padding: 28px 25px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 5;

  transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* Show hover */
.service-inner:hover .service-hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Hide default on hover */
.service-inner:hover .service-default {
  opacity: 0;
  visibility: hidden;
}

/* ===============================
   HOVER TITLE
================================ */

/* ===============================
   COMMON 2-LINE ELLIPSIS
================================ */

.service-title-hover,
.service-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;        /* 👈 2 lines only */
  -webkit-box-orient: vertical;
  overflow: hidden;

  white-space: normal;
  word-break: break-word;
}

/* Title specific */
.service-title-hover {
  text-align: center;
  font-weight: 600;
}

/* Description specific */
.service-desc {
  text-align: center;
  font-size: 14.5px;
  line-height: 1.6;
}


/* ===============================
   BUTTON ALWAYS VISIBLE
================================ */

.service-hover .btn {
  margin-top: auto;            /* 🔥 pins button */
  align-self: center;
  background: #ff5722;
  border: none;
  color: #fff;
}

.service-hover .btn:hover {
  background: #e64a19;
}

/* ===============================
   MOBILE SAFETY
================================ */

@media (max-width: 575px) {
  .service-img {
    height: 180px;
  }

  .service-desc {
    -webkit-line-clamp: 2;
  }
}

/* ===============================
   TABLET IMAGE HEIGHT FIX
   (581px – 991px)
================================ */

@media (min-width: 581px) and (max-width: 991px) {

  .service-img {
  height: clamp(240px, 28vw, 340px);
}

}


/* ===============================
   FIX SUB-STYLE OVERFLOW
================================ */

@media (max-width: 576px) {
    .sub-style::before,
    .sub-style::after,
    .sub-title::after,
    .sub-title::before {
        display: none;  
    }
}
/* ===============================
   TABLET TEXT TRUNCATION
================================ */

@media (min-width: 768px) and (max-width: 991px) {

  .testimonial-name,
  .testimonial-designation {
    max-width: 120px;              /* controls ~10 characters */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;       /* 🔥 shows ... */
    display: block;
  }
}
@media (max-width: 576px) {

   .testimonial-name,
  .testimonial-designation {
    max-width: 120px;              /* controls ~10 characters */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;       /* 🔥 shows ... */
    display: block;
  }

  
}

/* Fix for small HEIGHT screens */
@media (max-height: 550px) {

  #phone-tada i.bi-telephone-outbound {
    font-size: 1.6rem !important;
  }

  #phone-tada .bi-chat-dots-fill {
    font-size: 0.8rem;
    top: -6px !important;
    left: 30px !important;
  }

  .call-info span:first-child {
    font-size: 13px;
  }

  .call-info span:last-child {
    font-size: 14px;
    letter-spacing: 1px !important;
  }

  /* Stack vertically */
  .phone-wrapper {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 6px;
  }

  /* Optional: disable animation on short screens */
  .wow.tada {
    animation: none !important;
  }
}

.about-img-box {
  height: 100%;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}
@media (max-width: 991px) {
  .about-img {
    height: auto;
  }
}

@media (max-width: 991px) and (min-width: 768px) {

  
  .service-title-pill {
     max-width: 60% !important;
    margin-left: 136px !important;
    margin-right: 0 !important;
    padding:1rem 1rem !important;
    border-radius: 12px !important;
    height:100%;
  }

  
  .service-title-text {
    display: block;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.4;
  }

  
  .service-title-name > a.btn {
    width: 100%;
    max-width: 55%;
    text-align: center;
    padding: 0.75rem 1rem !important;
    margin-left: 152px;
  }

  
  .service-title-name {
    padding-left: 12px;
    padding-right: 12px;
  }
}
