/********** Contact Modal - Final Updated Version **********/
.contact-modal-modern {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 1.5rem;
  border: 1px solid rgba(32, 93, 84, 0.1);
  box-shadow: 0 12px 36px rgba(32, 93, 84, 0.2);
  max-width: 520px;
  margin: auto;
  overflow: hidden;
  transform: scale(0.95);
  opacity: 0;
  animation: modalPopIn 0.4s ease forwards;
}

/* Recent Live Work Section */
.recent-video-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.recent-video-card img.object-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recent-video-play button {
  background: rgba(32, 93, 84, 0.95);
  border: none;
}

.recent-video-play button i {
  color: #fff;
}

.gallery-thumb {
  cursor: pointer;
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform .25s, box-shadow .25s;
}

.gallery-thumb:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(10, 30, 45, 0.12);
}

#mediaContainer iframe,
#mediaContainer img {
  width: 100%;
  height: 70vh;
  max-height: 80vh;
  border-radius: 8px;
  display: block;
}

@media (max-width: 767.98px) {
  .gallery-thumb {
    height: 110px;
  }

  #mediaContainer iframe,
  #mediaContainer img {
    height: 50vh;
  }
}


/* Smooth pop-in animation */
@keyframes modalPopIn {
  0% {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* ===== HEADER SECTION ===== */
.contact-modal-modern .modal-header {
  background: #205d54;
  /* solid brand green */
  color: #ffffff;
  border-bottom: none;
  text-align: center;
  border-radius: 1.5rem 1.5rem 0 0;
  padding: 1.6rem 1rem 1.1rem;
  position: relative;
}

.contact-modal-modern .modal-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: #ffffff !important;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.contact-modal-modern .modal-header p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0;
  line-height: 1.5;
}

.contact-modal-modern .modal-header a {
  color: #ffeb99 !important;
  /* soft golden-yellow for link contrast */
  text-decoration: underline;
}

.contact-modal-modern .modal-header a:hover {
  color: #ffffff !important;
}

.contact-modal-modern .modal-header .text-danger {
  color: #ffb3b3 !important;
  /* visible light red */
  font-weight: 700;
}

/* Close Button */
.contact-modal-modern .btn-close {
  filter: invert(1) brightness(120%);
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-modal-modern .btn-close:hover {
  transform: rotate(90deg);
  opacity: 1;
}

/* ===== BODY SECTION ===== */
.contact-modal-modern .modal-body {
  padding: 2rem 1.5rem;
  background: #f9fdfc;
}

/* Floating Inputs */
.contact-modal-modern .form-floating>.form-control {
  border-radius: 0.75rem;
  border: 1px solid rgba(32, 93, 84, 0.25);
  background: #ffffff;
  box-shadow: inset 0 1px 4px rgba(32, 93, 84, 0.05);
  transition: all 0.2s ease;
}

.contact-modal-modern .form-floating>.form-control:focus {
  border-color: #205d54;
  box-shadow: 0 0 0 0.25rem rgba(32, 93, 84, 0.12);
}

/* Floating Labels */
.contact-modal-modern label {
  color: #205d54;
  font-weight: 600;
}

/* Validation feedback */
.contact-modal-modern .invalid-feedback {
  color: #d9534f;
  font-size: 0.9rem;
}

/* ===== BUTTON ===== */
.btn-primary-custom {
  background: #205d54;
  color: #ffffff;
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 6px 18px rgba(32, 93, 84, 0.15);
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background: #1a3c3b;
  box-shadow: 0 8px 24px rgba(32, 93, 84, 0.25);
  transform: translateY(-2px);
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 575.98px) {
  .contact-modal-modern {
    max-width: 95vw;
    padding: 0.5rem;
    border-radius: 1.2rem;
  }

  .contact-modal-modern .modal-header h2 {
    font-size: 1.35rem !important;
  }

  .contact-modal-modern .modal-header p {
    font-size: 0.9rem !important;
  }

  .contact-modal-modern .btn-primary-custom {
    font-size: 1rem !important;
  }

  .contact-modal-modern .modal-body {
    padding: 1.2rem 1rem;
  }
}

/* "Click Here" green arrow hint for mobile navbar */
.click-hint-mobile {
  display: flex;
  align-items: center;
  animation: blinkArrow 1.3s infinite;
}

/* subtle blink + right-slide effect */
@keyframes blinkArrow {

  0%,
  100% {
    opacity: 1;
    transform: translateX(0);
  }

  50% {
    opacity: 0.6;
    transform: translateX(3px);
  }
}

/* Show only on mobile */
@media (min-width: 992px) {
  .click-hint-mobile {
    display: none !important;
  }
}

/* Smaller font tweak for narrow phones */
@media (max-width: 400px) {
  .click-hint-mobile span {
    font-size: 0.8rem;
  }
}

/* Bootstrap green hamburger icon */
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(25,135,84)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-light .navbar-toggler {
  border-color: rgba(25, 135, 84, 0.4);
}

.btn-primary-custom {
  background: linear-gradient(90deg, #205d54 60%, #1a3c3b 100%);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(32, 93, 84, 0.08);
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-primary-custom:hover {
  background: linear-gradient(90deg, #1a3c3b 60%, #205d54 100%);
  box-shadow: 0 4px 16px rgba(32, 93, 84, 0.15);
}

.form-floating>.form-control:focus {
  border-color: #205d54;
  box-shadow: 0 0 0 0.2rem rgba(32, 93, 84, 0.08);
}

.modal-backdrop {
  opacity: 0 !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: none !important;
}

/* FAQ & Benefits Section Custom Styles */
.faq-benefits-section .bg-primary {
  background-color: #234c3c !important;
}

.faq-benefits-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #234c3c;
}

.faq-benefits-section .accordion-button {
  font-weight: 600;
  font-size: 1.08rem;
  color: #234c3c;
  background: #fff;
  border-radius: 8px;
  box-shadow: none;
  transition: background 0.2s;
}

.faq-benefits-section .accordion-button:not(.collapsed) {
  background: #eaf6f2;
  color: #1ec773;
}

.faq-benefits-section .accordion-item {
  border: none;
  box-shadow: 0 2px 12px rgba(30, 76, 60, 0.06);
  border-radius: 12px;
  margin-bottom: 18px;
}

.faq-benefits-section .accordion-body {
  background: #fff;
  border-radius: 0 0 12px 12px;
  color: #234c3c;
  font-size: 1rem;
}

.faq-benefits-section .bg-primary {
  background-color: #234c3c !important;
}

.faq-benefits-section .fa-quote-left {
  color: #eaf6f2;
}

.faq-benefits-section .rounded {
  border-radius: 16px !important;
}

.faq-benefits-section img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(30, 76, 60, 0.12);
}

@media (max-width: 991.98px) {
  .faq-benefits-section .col-lg-6 {
    margin-bottom: 32px;
  }
}

services__one-item-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

@media (max-width: 767.98px) {
  .services__one-item-image {
    aspect-ratio: 16/9 !important;
    min-height: 180px;
  }
}

.brand-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.brand-marquee {
  display: flex;
  gap: 2rem;
  animation: brandMove 18s linear infinite;
  will-change: transform;
}

@keyframes brandMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Hero image full width and remove ::before overlay for mobile */
@media (max-width: 767.98px) {
  .hero-header::before {
    display: none !important;
  }

  .hero-img-carousel {
    width: 100% !important;
  }

  .hero-img {
    width: 100% !important;
    max-width: 100vw !important;
    height: auto !important;
    object-fit: cover;
  }
}

/* Hide hero carousel arrows on small screens */
@media (max-width: 767.98px) {

  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next {
    display: none !important;
  }
}

/* --- Moved from index.html --- */
.services__one-item-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

@media (max-width: 767.98px) {
  .services__one-item-image {
    aspect-ratio: 16/9 !important;
    min-height: 180px;
  }
}

/* Responsive hero section styles */
.hero-img-cover {
  min-height: 350px;
  max-height: 100vh;
}

.hero-overlay-text {
  width: 100%;
  max-width: 700px;
}

.hero-title {
  font-size: 2.5rem;
}

.hero-lead {
  font-size: 1.25rem;
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 1.4rem;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .hero-overlay-text {
    padding: 0.5rem !important;
    max-width: 95vw;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.1rem;
  }

  .hero-lead {
    font-size: 0.85rem;
  }

  .hero-overlay-text {
    padding: 0.25rem !important;
  }

  .carousel-indicators {
    bottom: 10px;
  }
}

.carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.6;
}

.brand-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.brand-marquee {
  display: flex;
  gap: 2rem;
  animation: brandMove 18s linear infinite;
  will-change: transform;
}

@keyframes brandMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 767.98px) {
  .hero-header::before {
    display: none !important;
  }

  .hero-img-carousel {
    width: 100% !important;
  }

  .hero-img {
    width: 100% !important;
    max-width: 100vw !important;
    height: auto !important;
    object-fit: cover;
  }
}

/* Hero Section Styles (moved from index.html) */
.hero-slide {
  position: relative;
  min-height: 420px;
  background: transparent;
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.hero-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.18));
  border-radius: 16px;
  z-index: 1;
}

.hero-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
  z-index: 2;
  color: #fff;
  background: rgba(0, 0, 0, 0.32);
  padding: 32px 16px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

.hero-title {
  font-weight: 900;
  font-size: 2.2rem;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 128, 0, 0.18);
}

.hero-title-green {
  color: #1ec773;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(30, 199, 115, 0.18);
}

.hero-desc {
  font-size: 1.15rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 128, 0, 0.18);
  margin-top: 8px;
}

@media (max-width: 767.98px) {

  .hero-slide,
  .hero-img-wrapper {
    min-height: 260px;
    height: 260px;
    border-radius: 8px;
  }

  .hero-overlay-text {
    padding: 16px 6px;
    font-size: 1rem;
    width: 98%;
  }

  .hero-title {
    font-size: 1.25rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }
}

/* Mobile improvements for hero, services, team, faq */
@media (max-width: 768px) {

  /* make hero more compact and readable on phones */
  .hero-img-wrapper {
    height: 220px !important;
  }

  .hero-overlay-text {
    padding: 12px !important;
    max-width: 94vw;
  }

  .hero-title {
    font-size: 1.15rem !important;
    line-height: 1.15;
  }

  .hero-lead {
    font-size: 0.95rem !important;
  }

  /* services: stack and reduce image height for better fold */
  .services-section .service-img-wrapper {
    height: 160px !important;
  }

  .services-section .service-price-badge,
  .service-price-badge,
  .services-section .service-header {
    font-size: 0.92rem !important;
    padding: 0.45rem 0.6rem !important;
  }

  .services__one-item {
    border-radius: 12px;
  }

  /* team: reduce image height and ensure overlay is readable */
  .team-card img {
    height: 260px !important;
    object-fit: cover;
  }

  .team-info {
    bottom: 12px !important;
    width: calc(100% - 18px) !important;
    padding: 8px 10px !important;
  }

  .team-info h5 {
    font-size: 0.98rem !important;
  }

  /* faq: increase spacing and ensure accordion buttons are full-width touch friendly */
  .faq-section .accordion-button {
    padding: 1rem 1rem !important;
    font-size: 1rem !important;
  }

  .faq-section .accordion-item {
    margin-bottom: 0.8rem !important;
  }

  .faq-section .accordion-body {
    font-size: 0.96rem !important;
  }

  /* Additional FAQ mobile polish */
  .faq-section .accordion-button {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    /* avoid space-between which creates big gaps when text wraps */
    flex-wrap: wrap !important;
    gap: 0.6rem !important;
    min-height: 48px !important;
    line-height: 1.25 !important;
    text-align: left !important;
    padding-right: 2.25rem !important;
    /* keep room for caret */
  }

  .faq-section .accordion-button .bi {
    font-size: 1.12rem !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    color: var(--bs-primary) !important;
  }

  .faq-section .accordion-button::after {
    /* nudge caret down slightly so it appears centered with multi-line text */
    top: 12px !important;
    right: 12px !important;
  }

  .faq-section .accordion-body ul {
    padding-left: 1.05rem !important;
    margin-top: 0.5rem !important;
  }

  .faq-section .accordion-body li {
    margin-bottom: 0.45rem !important;
  }

  .faq-section .text-center {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* customer video: smaller cards */
  .customer-video-owl .card {
    min-width: 92vw !important;
    max-width: 95vw !important;
  }

  /* ensure marquee images don't overflow and are comfortably sized */
  .brand-marquee img {
    height: 56px !important;
  }

  .facts-section img {
    height: 36px !important;
    max-width: 90px !important;
  }

  /* reduce global paddings on very small screens */
  .container,
  .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

@media (max-width: 480px) {
  .hero-img-wrapper {
    height: 200px !important;
  }

  .team-card img {
    height: 220px !important;
  }

  .services-section .service-img-wrapper {
    height: 140px !important;
  }

  .hero-title {
    font-size: 1rem !important;
  }

  .hero-lead {
    font-size: 0.9rem !important;
  }
}

/* Vibrant Multi-Stop Gradients */
.facts-section {
  background: linear-gradient(135deg, #c8ede1 0%, #d4f1e8 40%, #e8f5e0 70%, #f0f9e8 100%);
  position: relative;
  overflow: hidden;
}

.services-section {
  background: linear-gradient(120deg, #d8f3e8 0%, #c8ede1 50%, #e0f7ed 100%);
  position: relative;
  overflow: hidden;
}

/* Reusable Gradient Classes for All Pages */
.gradient-section-a {
  background: linear-gradient(135deg, #c8ede1 0%, #d4f1e8 40%, #e8f5e0 70%, #f0f9e8 100%);
  position: relative;
  overflow: hidden;
}

.gradient-section-b {
  background: linear-gradient(120deg, #d8f3e8 0%, #c8ede1 50%, #e0f7ed 100%);
  position: relative;
  overflow: hidden;
}

.gradient-section-c {
  background: linear-gradient(150deg, #f5f9f7 0%, #e8f5e0 50%, #d8f3e8 100%);
  position: relative;
  overflow: hidden;
}

.facts-section::before,
.services-section::before,
.gradient-section-a::before,
.gradient-section-b::before,
.gradient-section-c::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(26, 92, 79, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.fact-item {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  box-shadow: 0 4px 15px rgba(26, 92, 79, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid rgba(26, 92, 79, 0.08);
  will-change: transform;

  /* Layout */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* Sizing */
  width: clamp(160px, 12vw, 220px);
  aspect-ratio: 1 / 1;
  min-width: clamp(140px, 10vw, 220px) !important;
}

.fact-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(26, 92, 79, 0.18);
  border-color: rgba(26, 92, 79, 0.2);
}

.services-section .service-card {
  border: 1px solid rgba(26, 92, 79, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.services-section .service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(26, 92, 79, 0.15) !important;
  border-color: rgba(26, 92, 79, 0.12);
}

.fact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(30, 40, 90, 0.1);
}

.fact-title {
  font-weight: 700;
  letter-spacing: 0.2px;
  /* responsive font-size to avoid overflow across small cards */
  font-size: clamp(0.9rem, 1.2vw, 1.02rem);
  line-height: 1.15;
}

/* Facts: make the icon containers perfectly circular and centered */
.fact-icon {
  width: 56px !important;
  height: 56px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  box-shadow: 0 6px 18px rgba(32, 93, 84, 0.08) !important;
  font-size: 1.2rem !important;
}

.fact-item .fact-icon i {
  margin: 0 !important;
  font-size: 1.15rem !important;
}

@media (max-width: 767.98px) {
  .fact-item {
    /* stack normally on small screens and remove square constraint */
    flex-direction: column;
    text-align: center;
    padding: 1rem 0.5rem;
    aspect-ratio: auto;
    width: auto;
    min-height: 0;
  }

  .fact-icon {
    margin-bottom: 0.5rem !important;
    margin-right: 0 !important;
  }
}

/********** Template CSS **********/
/* Remove default margin and padding from body and html */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  /* use 100% (not 100vw) to avoid horizontal shifts when the scrollbar appears */
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: none;
}

/*** 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;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Button ***/
.btn {
  transition: 0.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;
}

/*** Navbar ***/
.sticky-top {
  top: 0;
}

/* ============================
   Review Page Styles
   ============================ */

/* Page Header / Hero for Review Page */
.page-header {
  background: linear-gradient(rgba(32, 93, 84, 0.8), rgba(32, 93, 84, 0.8)), url(../img/slider/hero-slider-1.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 3rem;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: #e6cd97;
}

.page-header .breadcrumb-item.active {
  color: #fff;
}

/* Review Section Container */
.review-section {
  position: relative;
  background-image: url('../img/hero-bg.jpg');
  /* Fallback or specific dark poster */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Parallax-like effect */
  padding: 80px 0;
}

/* Dark Blur Overlay */
.review-overlay {
  background: rgba(14, 29, 26, 0.85);
  /* Dark Brand Green/Black Tint */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 60px 0;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Review Cards / Images */
.review-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.review-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.review-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: filter 0.3s ease;
}

/* Optional: Glint effect on hover */
.review-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 100%);
  transform: skewX(-25deg);
  transition: left 0.5s;
}

.review-card:hover::after {
  left: 200%;
}

/* Section Title in Dark Theme */
.review-section-title {
  color: #e6cd97;
  /* Gold/Cream accent */
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin-bottom: 3rem;
}

.review-section-subtitle {
  color: #b0c4c1;
}


.navbar {
  padding: 15px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
}

.navbar .navbar-nav .nav-link {
  margin-left: 30px;
  padding: 0;
  outline: none;
  color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
  color: var(--bs-white);
  background: var(--bs-primary);
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }
}

@media (max-width: 767.98px) {
  .hero-header::before {
    display: none !important;
  }

  .hero-img-carousel {
    width: 100% !important;
  }

  .hero-img {
    width: 100% !important;
    max-width: 100vw !important;
    height: 260px !important;
    object-fit: cover;
    border-radius: 8px;
  }

  .owl-carousel .owl-stage-outer {
    position: static !important;
    overflow: visible !important;
    -webkit-transform: none !important;
    transform: none !important;
  }

  /* Testimonial mobile improvements */
  .testimonial-item .row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .testimonial-item {
    width: 100% !important;
    margin: 0 auto 32px auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 340px !important;
    box-sizing: border-box;
  }

  .testimonial-img {
    padding: 0 !important;
    margin-bottom: 16px !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 180px !important;
  }

  .testimonial-img img {
    width: 180px !important;
    height: 180px !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .testimonial-text {
    padding: 0 8px !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Hero Header ***/
/* Update the hero header section CSS */
.hero-header {
  /* Keep existing styles if you want a full-width background */
  margin-top: -100px;
  padding-top: 150px;
  background: url(../img/hero-bg.jpg) top center no-repeat;
  background-size: cover;
}

/* New CSS to ensure the carousel content is centered and contained */
/* You can create a new class, e.g., '.hero-content-container' */
.hero-content-container {
  max-width: 1320px;
  /* Example max-width for large screens */
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  /* Add padding for smaller screens */
  padding-right: 15px;
}

/* To address the specific owl-carousel styles that may interfere with centering */
.header-carousel {
  /* Remove or adjust the padding that was pushing the content */
  padding: 45px 0;
  /* Example: use vertical padding only */
}

.header-carousel::before {
  /* Remove or adjust the specific width calculation */
  width: 100%;
  /* Make the background full-width if needed */
  /* Or remove the element entirely if it's no longer necessary */
}

.header-carousel .owl-dots {
  position: absolute;
  top: 50%;
  right: 38px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 5px 0;
  width: 15px;
  height: 15px;
  border: 2px solid var(--bs-white);
  transition: 0.5s;
}

.header-carousel .owl-dot.active {
  height: 30px;
  background: var(--bs-white);
}

/*** About ***/
.about-img {
  position: relative;
  overflow: hidden;
}

/* About Section Gradient */
.container-fluid.py-5:has(.about-img) {
  background: linear-gradient(150deg, #f5f9f7 0%, #e8f5e0 50%, #d8f3e8 100%);
  position: relative;
}

.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;
}

/*** Project ***/
.project-item img {
  transition: 0.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, 0.1) 50%, var(--bs-dark));
  z-index: 1;
}

/* Service Cards */
.service-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.service-img-wrapper {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.service-img {
  height: 240px;
  object-fit: cover;
  filter: brightness(0.9);
  transition: transform 0.4s ease;
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-header {
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
  color: #fff;
  font-weight: 600;
}

.price-bar {
  background: #0d6b68;
  font-size: 1rem;
  color: #fff;
  border-top: 1px solid #eee;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .service-img {
    height: 200px;
  }

  .price-bar {
    font-size: 0.95rem;
  }

  .service-title {
    font-size: 1rem;
  }

  .service-header {
    padding: 0.5rem 1rem;
  }

  .services-section h1 {
    font-size: 1.6rem;
  }

  .services-section p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .service-img {
    height: 180px;
  }

  .service-header {
    padding: 0.4rem 0.8rem;
  }

  .service-title {
    font-size: 0.95rem;
  }
}

/* Service price badge (moved from inline) */
.service-price-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.25rem 0.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  color: #d35400;
  border-radius: 0 0 0.5rem 0.5rem;
}

/* Brand marquee (moved from about/index) */
@keyframes brandScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.brand-marquee {
  min-width: 2000px;
  will-change: transform;
}

/* team-info alternate top variant used on about page */
.team-info.top-overlay {
  background: rgba(44, 62, 80, 0.7);
  color: #fff;
  width: 100%;
  left: 0;
  top: 0;
  transform: none;
  border-radius: 0.5rem 0.5rem 0 0;
}

/* FAQ page small helpers (moved from faq.html) */
.seo-highlight {
  color: #205d54;
  font-weight: 700;
  background: rgba(32, 93, 84, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}

.faq-conclusion {
  background: #f8f9fa;
  border-left: 4px solid #205d54;
  padding: 18px;
  border-radius: 6px;
  margin-top: 1.5rem;
  color: #333;
  font-size: 1.03rem;
}

@media (max-width: 575.98px) {
  .seo-highlight {
    padding: 1px 4px;
    font-size: 0.95rem;
  }

  .faq-conclusion {
    font-size: 0.98rem;
    padding: 14px;
  }
}

/* centralize image brightness control */
.service-img-wrapper img,
.project-img {
  filter: brightness(0.88);
}

@media (max-width: 991.98px) {
  .project-item .project-overlay {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }

  .project-item h5 {
    font-size: 1.1rem;
  }

  .project-item small {
    font-size: 0.95rem;
  }

  .project-item {
    margin-bottom: 1.5rem;
  }

  .container-fluid.px-3 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

@media (max-width: 767.98px) {
  .container-fluid.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .project-item .project-overlay {
    font-size: 0.98rem;
    padding: 0.6rem 0.7rem;
  }

  .project-item h5 {
    font-size: 1rem;
  }

  .project-item small {
    font-size: 0.9rem;
  }

  .project-item {
    margin-bottom: 1rem;
  }

  .bg-primary.p-4,
  .bg-primary.p-5 {
    padding: 1.2rem !important;
  }

  .bg-primary h2 {
    font-size: 1.4rem !important;
  }

  .bg-primary p {
    font-size: 1rem !important;
  }
}

/* Slightly increase image brightness for clarity */
.project-img {
  filter: brightness(1.08);
}

/*** Service ***/
.service-item {
  position: relative;
  padding: 30px 25px;
  transition: 0.5s;
}

.service-item.bg-primary:hover {
  background: var(--bs-light) !important;
}

.service-item.bg-primary p {
  color: var(--bs-light);
  transition: 0.5s;
}

.service-item.bg-primary:hover p {
  color: var(--bs-secondary);
}

.service-item.bg-light:hover {
  background: var(--bs-primary) !important;
}

.service-item.bg-light p {
  color: var(--bs-secondary);
  transition: 0.5s;
}

.service-item.bg-light:hover p {
  color: var(--bs-light);
}

.service-item .service-img h3 {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 12px 7px 0;
}

.service-item.bg-primary .service-img h3 {
  background: var(--bs-primary);
  color: var(--bs-white);
  transition: 0.5s;
}

.service-item.bg-primary:hover .service-img h3 {
  background: var(--bs-light);
  color: var(--bs-dark);
}

.service-item.bg-light .service-img h3 {
  background: var(--bs-light);
  color: var(--bs-dark);
  transition: 0.5s;
}

.service-item.bg-light:hover .service-img h3 {
  background: var(--bs-primary);
  color: var(--bs-white);
}

/* ================= Services Section Enhancements ================= */
.services__one-item {
  transition: box-shadow 0.3s, transform 0.3s;
}

.services__one-item:hover {
  box-shadow: 0 8px 32px rgba(44, 62, 80, 0.15), 0 1.5px 8px rgba(44, 62, 80, 0.08);
  transform: translateY(-6px) scale(1.03);
  z-index: 2;
}

.services-section {
  /* small visual lift to separate from background */
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.services-section .services__one-item {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.36s ease, box-shadow 0.36s ease;
}

.services-section .services__one-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(10, 30, 45, 0.12);
}

.services-section .service-img-wrapper {
  height: 320px;
  /* larger by default to make images more visible */
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem 0.75rem 0 0;
}

.services-section .service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.3s ease;
}

.services-section .services__one-item:hover .service-img-wrapper img {
  transform: scale(1.06);
  filter: brightness(1.03) saturate(1.05);
}

.services-section .service-gradient {
  border-radius: 0.75rem 0.75rem 0 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.06) 60%);
}

.services-section .service-header {
  z-index: 3;
  padding: 0.55rem 0.8rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  align-items: center;
}

.services-section .service-header .service-title {
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.services-section .service-header .service-contact .btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.services-section .service-img-wrapper .position-absolute.bottom-0.start-0 {
  background: rgba(255, 255, 255, 0.96) !important;
  color: #d35400 !important;
  font-weight: 700;
  padding: 0.6rem 0.75rem !important;
  border-radius: 0 0 0.75rem 0.75rem !important;
}

@media (min-width: 1400px) {
  .services-section .service-img-wrapper {
    height: 380px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .services-section .service-img-wrapper {
    height: 340px;
  }
}

@media (max-width: 1199.98px) and (min-width: 768px) {
  .services-section .service-img-wrapper {
    height: 260px;
  }
}

@media (max-width: 767.98px) {
  .services-section .service-img-wrapper {
    height: 200px;
  }
}

@media (max-width: 575.98px) {
  .services-section .service-img-wrapper {
    height: 160px;
  }

  .services-section .service-title {
    font-size: 0.98rem !important;
  }
}

/* Make the header icons slightly larger for clarity */
.services-section .service-header .service-icon {
  font-size: 1.25rem;
}

/* small accessibility tweak: ensure buttons are visible on dark overlays */
.services-section .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.18);
}

.service-header .service-icon,
.service-header .service-title {
  color: #fff !important;
  transition: color 0.2s;
  text-shadow: 0 2px 8px rgba(44, 62, 80, 0.18);
}

.service-header .service-icon:hover,
.service-header .service-title:hover {
  color: #007bff !important;
}

.service-header .service-contact .service-icon.fa-phone:hover {
  color: #0d6efd !important;
}

.service-header .service-contact .service-icon.fab.fa-whatsapp:hover {
  color: #25d366 !important;
}

.service-img-wrapper img {
  border-radius: 0.75rem 0.75rem 0 0;
  transition: filter 0.3s;
}

.services__one-item:hover .service-img-wrapper img {
  filter: brightness(1) saturate(1.1);
}

.service-gradient {
  pointer-events: none;
  border-radius: 0.75rem 0.75rem 0 0;
}

@media (max-width: 767.98px) {
  .service-img-wrapper {
    height: 170px;
  }

  .service-title {
    font-size: 1rem !important;
  }

  .service-header {
    padding: 0.5rem 0.75rem !important;
  }
}

@media (max-width: 575.98px) {
  .service-img-wrapper {
    height: 120px;
  }

  .service-title {
    font-size: 0.95rem !important;
  }
}

/***what we offer***/
.hover-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hover-effect:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.card:hover .icon-circle {
  transform: scale(1.1);
}

.card-title {
  color: #2c3e50;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.list-unstyled li {
  color: #555;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.list-unstyled li:hover {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .card {
    margin-bottom: 1rem;
  }
}

/*** Our Team ***/
.team-item img {
  transition: 0.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, 0.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);
}

/*** Testimonial ***/
.testimonial-img {
  position: relative;
  padding: 25px 0 25px 20px;
}

.testimonial-img::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: calc(50% + 45px);
  height: 100%;
  background: var(--bs-primary);
  z-index: -1;
}

.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-carousel .owl-dots {
  position: absolute;
  height: 17px;
  bottom: 0;
  right: 0;
  left: auto;
}

.testimonial-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: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  width: 30px;
  background: var(--bs-primary);
}

@media (max-width: 768px) {
  .testimonial-carousel .owl-dots {
    left: 0;
    right: auto;
  }

  .testimonial-carousel .owl-dot {
    margin-right: 10px;
    margin-left: 0;
  }
}

/* Testimonial avatar and mobile alignment improvements */
.testimonial-avatar {
  width: 200px;
  /* default desktop circle */
  height: 200px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 50%;
}

/* Ensure testimonial layout stacks and centers cleanly on small screens */
@media (max-width: 767.98px) {
  .testimonial-item .row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.75rem !important;
  }

  .testimonial-item .col-md-5,
  .testimonial-item .col-md-7 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .testimonial-avatar {
    width: 140px !important;
    height: 140px !important;
  }

  .testimonial-item {
    padding: 1.25rem 0.9rem !important;
  }

  .testimonial-item h3 {
    font-size: 1.03rem !important;
  }

  .testimonial-item .text-warning {
    margin-top: 0.45rem !important;
  }
}

@media (max-width: 480px) {
  .testimonial-avatar {
    width: 120px !important;
    height: 120px !important;
  }

  .testimonial-item h3 {
    font-size: 0.98rem !important;
  }
}

/* --- Styles moved from index.html internal <style> blocks --- */
@keyframes factsScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.facts-marquee {
  min-width: 3200px;
  will-change: transform;
}

@media (max-width: 768px) {
  .facts-marquee {
    min-width: 1800px;
  }

  .fact-item {
    min-width: 160px !important;
  }
}

.facts-section img {
  height: 40px !important;
  max-width: 120px !important;
  width: auto !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@keyframes brandScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.brand-marquee {
  min-width: 2000px;
  will-change: transform;
}

/* Customer video review moved styles */
.customer-video-review .card {
  transition: box-shadow 0.2s;
}

.customer-video-review .card:hover {
  box-shadow: 0 0 0.75rem rgba(44, 62, 80, 0.15), 0 2px 8px rgba(44, 62, 80, 0.08);
}

.customer-video-review .owl-carousel .card {
  margin: 0 auto;
}

@media (max-width: 576px) {
  .customer-video-review .card {
    max-width: 95vw;
  }
}

/* Hero fullscreen images: prefer css-based control rather than inline styles */
.hero-img-cover {
  width: 100%;
  height: 100vh;
  min-height: 350px;
  max-height: 100vh;
  object-fit: cover;
}

/* Project image hover handled via CSS - remove inline JS event handlers */
.project-item img {
  transition: transform 0.35s ease;
}

.project-item:hover img {
  transform: scale(1.05);
}

/*** Newsletter ***/
.newsletter {
  background: url(../img/hero-bg.jpg) bottom right no-repeat;
  background-size: cover;
}

@media (min-width: 992px) {
  .newsletter .container {
    max-width: 100% !important;
  }

  .newsletter .newsletter-text {
    padding-right: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .newsletter .newsletter-text {
    padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .newsletter .newsletter-text {
    padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/* Facebook Follow Section Enhancements */
.newsletter .btn-light:hover {
  background: #f1f5ff;
  box-shadow: 0 4px 16px rgba(59, 89, 152, 0.2);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}


/*** Footer ***/
.footer .btn.btn-link {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.5);
  font-weight: normal;
  transition: 0.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, 0.1);
}

.footer .copyright a {
  color: rgba(255, 255, 255, 0.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, 0.1);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

.footer {
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #1a5c4f 0%, #205d54 50%, #2a7063 100%);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.footer h6 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.08em;
  font-weight: bold !important;
}

.footer a.btn-outline-light:hover {
  background: #ffc107;
  color: #205d54 !important;
  border-color: #ffc107;
}

.footer-bottom {
  font-size: 0.97rem;
}

@media (max-width: 991.98px) {
  .footer .container .row>div {
    margin-bottom: 1.5rem;
  }

  .footer .container .row {
    gap: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .footer .container .row {
    flex-direction: column !important;
    gap: 0.5rem;
  }

  .footer .container .row>div {
    margin-bottom: 1.2rem;
    text-align: center !important;
  }

  .footer .footer-bottom {
    font-size: 0.92rem;
  }
}

@media (max-width: 575.98px) {
  .footer {
    padding-top: 2rem !important;
  }

  .footer .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .footer .container .row>div {
    margin-bottom: 1rem;
  }

  .footer-bottom {
    font-size: 0.89rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* ========================= Customer Video Review ========================= */
.customer-video-review h2 {
  font-size: 2rem;
}

.customer-video-carousel {
  position: relative;
}

.customer-video-owl .card {
  min-width: 320px;
}

.customer-video-owl .card .position-relative {
  height: 220px;
}

@media (max-width: 768px) {
  .customer-video-review h2 {
    font-size: 1.3rem;
  }

  .customer-video-owl .card {
    min-width: 220px;
  }

  .customer-video-owl .card .position-relative {
    height: 160px;
  }
}

.customer-video-prev,
.customer-video-next {
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.12);
}

.customer-video-prev {
  left: -20px;
}

.customer-video-next {
  right: -20px;
}

/* Mobile overrides to remove extra gaps caused by inline styles */
@media (max-width: 576px) {

  /* ensure cards are full-width-ish and remove forced min-height */
  .customer-video-owl .card {
    max-width: 95vw !important;
    min-width: 0 !important;
    min-height: auto !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    /* avoid large space-between gaps */
    padding-bottom: 0.75rem !important;
  }

  /* reduce image/card media height to avoid tall empty area */
  .customer-video-owl .card .position-relative {
    height: 140px !important;
  }

  .customer-video-owl .card img {
    height: 100% !important;
    object-fit: cover !important;
  }

  /* make play button slightly smaller on narrow screens */
  .customer-video-owl .btn.rounded-circle {
    width: 40px !important;
    height: 40px !important;
  }

  /* move carousel controls inward so they don't overlap page edges on small screens */
  .customer-video-prev {
    left: 6px !important;
  }

  .customer-video-next {
    right: 6px !important;
  }
}

/* ================= Counters ================= */
.counter-card {
  background: #f8f9fa;
  transition: box-shadow 0.2s;
}

.counter-card:hover {
  box-shadow: 0 0 1rem rgba(44, 62, 80, 0.12), 0 2px 8px rgba(44, 62, 80, 0.08);
}

.counter-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e9ecef;
}

@media (max-width: 576px) {
  .counter-card {
    padding: 2rem 0.5rem;
  }
}

/* ================= Team ================= */
.team-card {
  border: none;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  position: relative;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(12, 38, 63, 0.12);
}

.team-card img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 0.8rem;
  transition: transform 0.4s ease;
}

.team-card:hover img {
  transform: scale(1.03);
}

.team-info {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  width: calc(100% - 32px);
  background: rgba(20, 30, 40, 0.72);
  color: #fff;
  padding: 10px 14px;
  border-radius: 0.6rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(12, 38, 63, 0.12);
}

.team-info h5,
.team-info small {
  margin: 0;
  display: block;
}

.team-info h5 {
  font-size: 1rem;
  letter-spacing: 0.2px;
}

.team-info small {
  font-size: 0.85rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .team-card img {
    height: 300px;
  }

  .team-info {
    width: calc(100% - 20px);
    bottom: 14px;
  }
}

/* ============================
   Classy / Modern Style Refinements
   ============================ */

/* Modern Page Header with Gradient Overlay */
.page-header-modern {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin-bottom: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 -60px 80px rgba(0, 0, 0, 0.4);
}

.page-header-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(12, 38, 63, 0.85) 0%, rgba(12, 38, 63, 0.7) 50%, rgba(26, 92, 79, 0.75) 100%);
  z-index: 1;
}

.page-header-modern .container {
  position: relative;
  z-index: 2;
}

/* Ensure shadow and gradient work on mobile */
@media (max-width: 767.98px) {
  .page-header-modern {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), inset 0 -50px 60px rgba(0, 0, 0, 0.45) !important;
  }

  .page-header-modern::before {
    display: block !important;
    background: linear-gradient(135deg, rgba(12, 38, 63, 0.88) 0%, rgba(12, 38, 63, 0.75) 50%, rgba(26, 92, 79, 0.8) 100%) !important;
  }
}

/* Glassmorphism Card Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.12);
}

/* Enhanced Service/Feature Card */
.service-card-modern {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card-modern .service-icon {
  transition: transform 0.4s ease;
}

.service-card-modern:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Gallery Hover Overlay Modern */
.gallery-item-modern {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); */
  /* Default soft shadow */
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
  /* Smooth transition for lift & shadow */
}

/* Ensure image scales smoothly */
.gallery-item-modern img {
  transition: transform 0.6s ease;
  width: 100%;
  /* Ensure responsive width */
  display: block;
}

/* Hover Effects: Lift up + Stronger Shadow + Image Zoom */
.gallery-item-modern:hover {
  transform: translateY(-5px);
  /* Lift effect */
  /* box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); */
  /* Deep shadow on hover */
}

.gallery-item-modern:hover img {
  transform: scale(1.08);
}

.gallery-overlay-modern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(32, 93, 84, 0.9), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item-modern:hover .gallery-overlay-modern {
  opacity: 1;
}

/* FAQ Accordion Modern */
.accordion-modern .accordion-item {
  border: none;
  background: transparent;
  margin-bottom: 1rem;
}

.accordion-modern .accordion-button {
  background: #fff;
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  font-weight: 600;
  padding: 1.2rem;
  color: #205d54;
}

.accordion-modern .accordion-button:not(.collapsed) {
  background: #205d54;
  color: #fff;
  box-shadow: 0 8px 20px rgba(32, 93, 84, 0.3);
}

.accordion-modern .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-modern .accordion-body {
  background: #f9fdfc;
  border-radius: 12px;
  margin-top: 5px;
  padding: 1.5rem;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.02);
}

/* Contact Form Modern */
.contact-form-modern .form-floating>.form-control {
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  background: #f8f9fa;
}

.contact-form-modern .form-floating>.form-control:focus {
  background: #fff;
  border-color: #205d54;
  box-shadow: 0 0 0 0.25rem rgba(32, 93, 84, 0.1);
}


/* Contact Section Dark Theme (Matching Review Section) */
.contact-section-dark {
  position: relative;
  background: linear-gradient(rgba(12, 38, 63, 0.9), rgba(12, 38, 63, 0.95)), url(../img/hero-bg.jpg) center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 5rem 0;
  color: #fff;
  overflow: hidden;
}

.contact-section-dark .section-title {
  color: #fff !important;
}

.contact-section-dark .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.contact-section-dark .fw-bold span {
  color: #ffc107 !important;
  /* Gold highlight */
}

/* Watermark Logo Animation */
.watermark-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: url(../img/logo2.png) center center no-repeat;
  background-size: contain;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
  animation: pulseLogo 6s infinite ease-in-out;
}

@keyframes pulseLogo {
  0% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.03;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.06;
  }

  100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.03;
  }
}

/* Dark Form Styles */
.contact-form-modern.dark-mode .form-floating>.form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.contact-form-modern.dark-mode .form-floating>.form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffc107;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.2);
}

.contact-form-modern.dark-mode .form-floating>label {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form-modern.dark-mode .form-floating>.form-control:focus~label,
.contact-form-modern.dark-mode .form-floating>.form-control:not(:placeholder-shown)~label {
  color: #ffc107;
  opacity: 1;
}

/* =========================================================
   Lightbox Styles (Moved from review.html)
   ========================================================= */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10000;
}

.lightbox-close:hover {
  color: #bbb;
}

.cursor-pointer {
  cursor: pointer;
}

/* Review Gallery Image Styles */
/* Review Gallery Image Styles */
.review-gallery-img {
  width: 100%;
  height: auto;
  /* Allow image to define its own height */
  display: block;
  transition: transform 0.5s ease;
}

/* =========================================================
   Modern Testimonial Card Styles
   ========================================================= */
.testimonial-card-modern {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  margin: 10px;
  /* Spacing for carousel items */
}

.testimonial-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f8f9fa;
  margin-right: 15px;
  flex-shrink: 0;
}

.testimonial-info h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0c263f;
  font-family: 'Space Grotesk', sans-serif;
}

.testimonial-info small {
  color: #888;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 5px;
}

.testimonial-rating {
  color: #ffc107;
  font-size: 0.8rem;
}

.testimonial-body h5 {
  font-family: 'Space Grotesk', sans-serif;
  color: #205d54;
}

.testimonial-text {
  color: #555;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.quote-icon-bg {
  position: absolute;
  bottom: -20px;
  right: 20px;
  font-size: 120px;
  color: rgba(12, 38, 63, 0.05);
  font-family: serif;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

/* Carousel Item Padding for Shadows */
.testimonial-carousel .item {
  padding: 15px;
  /* Ensures hover shadows don't get clipped */
}

/********** CSS from ourwork.html - Gallery and Video Styles **********/
.gallery-item {
  transition: all 0.3s;
  height: 300px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

. gallery-overlay {
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: all 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.video-card {
  transition: all 0.3s;
}

.video-card:hover {
  transform: translateY(-5px);
}

/********** CSS from ourwork.html - Lightbox Styles **********/
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  animation: slideUp 0.3s ease-out;
}

.video-lightbox-content {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10000;
}

.lightbox-close:hover {
  color: #bbb;
}

.cursor-pointer {
  cursor: pointer;
}

/********** CSS from gallery.html - Gallery Item Modern Styles **********/
/* Internal styles to centralize repetitive gallery image rules - Updated for Modern Look */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px !important;
  /* Override bootstrap rounded if needed */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.4s ease;
  border: none !important;
  /* Remove border if present */
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
}

.gallery-item img {
  min-height: 220px !important;
  max-height: 320px !important;
  object-fit: cover !important;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: block;
  width: 100%;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/********** CSS from review.html - Custom Navbar Active State **********/
/* Custom Navbar Active State */
.nav-link.active {
  color: #205d54 !important;
}

/********** CSS from index.html - Animation Styles **********/
@keyframes bounceRight {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(5px);
  }
}

.animate-arrow {
  display: inline-block;
  color: #dc3545;
}

@keyframes locationScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.location-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.location-marquee {
  display: inline-block;
  min-width: 200%;
}

/* =========================================================
   11 Loader styles
   ========================================================= */
#spinner {
  z-index: 999999;
  background: #ffffff !important;
}

.loader-content {
  text-align: center;
}

.loader-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #205d54;
  letter-spacing: 2px;
  animation: textPulse 2s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-dots::after {
  content: '';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes textPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes dots {

  0%,
  20% {
    content: '';
  }

  40% {
    content: '.';
  }

  60% {
    content: '..';
  }

  80%,
  100% {
    content: '...';
  }
}

@media (max-width: 767.98px) {
  .loader-text {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
}