/* =========================================================
   Prime Pest Control & Services — Brand Styles
   ========================================================= */

/* :root {
    --bs-primary: #93a92b;
    --bs-primary-rgb: 147, 169, 43;
    --bs-secondary: #388abc;
    --bs-secondary-rgb: 56, 138, 188;
    --bs-link-color: #2a6d96;
    --bs-link-hover-color: #1f5575;
    --bs-dark: #0f1c24;
    --bs-light: #f4f7f2;
    --brand-green: #93a92b;
    --brand-blue: #388abc;
    --brand-green-dark: #7a8f1f;
    --brand-blue-dark: #2a6d96;
    --surface: #ffffff;
    --muted: #5b6b73;
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --shadow: 0 10px 40px rgba(15, 28, 36, 0.08);
    --shadow-lg: 0 20px 60px rgba(15, 28, 36, 0.14);
    --transition: .35s cubic-bezier(.4, 0, .2, 1);
    --font-display: "Plus Jakarta Sans", "Nunito", system-ui, sans-serif;
    --font-body: "Manrope", "Open Sans", system-ui, sans-serif;
} */
:root {
  --bs-primary: #93a92b;
  --bs-primary-rgb: 147, 169, 43;

  /* Secondary ko bhi same brand family me rakha */
  --bs-secondary: #7a8f1f;
  --bs-secondary-rgb: 122, 143, 31;

  /* Links */
  --bs-link-color: #93a92b;
  --bs-link-hover-color: #6b7d1b;

  /* Base Colors */
  --bs-dark: #0f1c24;
  --bs-light: #f4f7f2;

  /* Brand Palette */
  --brand-green: #93a92b;
  --brand-green-light: #b4c95a;
  --brand-green-lighter: #d8e7a4;
  --brand-green-dark: #7a8f1f;
  --brand-green-darker: #5f7018;

  /* Blue variables replaced with green variants */
  --brand-blue: #93a92b;
  --brand-blue-dark: #7a8f1f;

  /* UI */
  --surface: #ffffff;
  --muted: #5b6b73;

  --radius: 1rem;
  --radius-lg: 1.5rem;

  --shadow: 0 10px 40px rgba(15, 28, 36, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 28, 36, 0.14);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: "Plus Jakarta Sans", "Nunito", system-ui, sans-serif;
  --font-body: "Manrope", "Open Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--bs-dark);
  background: var(--surface);
  overflow-x: hidden;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  transition: var(--transition);
}

.text-primary {
  color: var(--brand-green) !important;
}
.text-secondary {
  color: var(--brand-blue) !important;
}
.bg-primary {
  background-color: var(--brand-green) !important;
}
.bg-secondary {
  background-color: var(--brand-blue) !important;
}
.bg-dark {
  background-color: var(--bs-dark) !important;
}
.bg-light {
  background-color: var(--bs-light) !important;
}
.border-primary {
  border-color: var(--brand-green) !important;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
  background: linear-gradient(145deg, #0f1c24, #1a3340) !important;
}

#spinner.show {
  transition:
    opacity 0.6s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

#spinner .spinner-grow {
  color: var(--brand-green) !important;
  width: 2.5rem;
  height: 2.5rem;
}

/*** Buttons ***/
.btn {
  text-transform: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: var(--transition);
  padding: 0.85rem 1.75rem;
}

.btn.btn-primary {
  background: var(--brand-green) !important;
  background-color: var(--brand-green) !important;
  border-color: var(--brand-green) !important;
  color: #0f1c24 !important;
  --bs-btn-bg: #93a92b;
  --bs-btn-border-color: #93a92b;
  --bs-btn-hover-bg: #7a8f1f;
  --bs-btn-hover-border-color: #7a8f1f;
  --bs-btn-color: #0f1c24;
  --bs-btn-hover-color: #fff;
  box-shadow: 0 8px 24px rgba(147, 169, 43, 0.35);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background: var(--brand-green-dark) !important;
  border-color: var(--brand-green-dark) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(147, 169, 43, 0.45);
}

.btn.btn-secondary,
.btn.btn-dark {
  background: var(--brand-blue) !important;
  border-color: var(--brand-blue) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(56, 138, 188, 0.3);
}

.btn.btn-secondary:hover,
.btn.btn-dark:hover {
  background: var(--brand-blue-dark) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.btn.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn.btn-outline-light:hover {
  background: #fff;
  color: var(--bs-dark);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/*** Back to top + sticky CTA ***/
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: none;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  z-index: 99;
  box-shadow: var(--shadow);
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 96px;
  left: auto;
  z-index: 98;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (max-width: 576px) {
  .sticky-cta {
    right: 12px;
    left: auto;
    bottom: 90px;
  }
  .sticky-cta a {
    width: 48px;
    height: 48px;
  }
}

.sticky-cta a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.sticky-cta a:hover {
  transform: scale(1.08);
  color: #fff;
}

.sticky-cta .cta-call {
  background: var(--brand-green);
  color: #0f1c24 !important;
}
.sticky-cta .cta-wa {
  background: #25d366;
}
.sticky-cta .cta-mail {
  background: var(--brand-blue);
}

/*** Topbar ***/
.topbar-top {
  /* background: linear-gradient(
    90deg,
    #9bb82e 0%,
    #93a92b 40%,
    #388abc 100%
  ) !important; */
  background: linear-gradient(
    90deg,
    #9bb82e 0%,
    #93a92b 40%,
    #9bb82e 100%
  ) !important;
}

.topbar-info a,
.topbar-icon a {
  color: #0f1c24 !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
}

.topbar-info a:hover,
.topbar-icon a:hover {
  opacity: 0.8;
  text-decoration: none !important;
}

.search-btn {
  display: none !important;
}

@media (max-width: 992px) {
  .topbar-info a span {
    display: none;
  }
}

@media (max-width: 576px) {
  .topbar-top {
    display: none;
  }
}

/*** Navbar ***/
.navbar-wrap {
  background: rgba(15, 28, 36, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.navbar .navbar-nav {
  padding: 12px 0;
}

.navbar .navbar-nav .nav-link {
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  border-radius: 999px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(147, 169, 43, 0.2);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
}

.navbar-brand .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-blue), var(--brand-green));
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(147, 169, 43, 0.35);
}

.navbar-brand .brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px 12px 12px 10px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 40% 60% 55% 45%;
  clip-path: polygon(30% 10%, 70% 5%, 90% 40%, 75% 90%, 25% 85%, 10% 45%);
}

.navbar-brand .brand-text {
  line-height: 1.05;
}

.navbar-brand .brand-text strong {
  display: block;
  color: var(--brand-green);
  font-size: 1.45rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.navbar-brand .brand-text small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.navbar-toggler {
  background: var(--brand-green);
  padding: 6px 12px;
  border: none !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.dropdown .dropdown-menu {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  background: #fff;
}

.dropdown .dropdown-menu a {
  border-radius: 0.65rem;
  font-weight: 600;
  color: var(--bs-dark);
  padding: 0.65rem 1rem;
}

.dropdown .dropdown-menu a:hover,
.dropdown .dropdown-menu a.active {
  background: var(--brand-green);
  color: #0f1c24;
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: translateY(8px);
    transition: var(--transition);
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }
}

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

/*** Carousel / Hero ***/
.carousel-item {
  position: relative;
  min-height: 640px;
}

.carousel-item img {
  width: 100%;
  height: 640px;
  object-fit: cover;
}

.carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(15, 28, 36, 0.82) 0%,
    rgba(15, 28, 36, 0.45) 55%,
    rgba(56, 138, 188, 0.28) 100%
  );
}

.carousel-caption {
  height: 100%;
  display: flex;
  align-items: center;
  text-align: start;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0;
}

/* Prevent stacked captions from inactive slides (mobile glitch) */
.carousel-item:not(.active) .carousel-caption {
  display: none !important;
}

.carousel-item.active .carousel-caption {
  display: flex !important;
}

.carousel-content .badge-pill {
  display: inline-block;
  background: rgba(147, 169, 43, 0.2);
  border: 1px solid rgba(147, 169, 43, 0.5);
  color: #d8e88a;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.carousel-control-prev,
.carousel-control-next {
  width: 52px;
  height: 52px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brand-green);
  border-radius: 50%;
  opacity: 1;
  border: none;
}

.carousel-control-prev {
  left: 18px;
}
.carousel-control-next {
  right: 18px;
}

#carouselId .carousel-indicators li {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid var(--brand-green);
  border-radius: 50%;
  margin: 0 6px 24px;
}

#carouselId .carousel-indicators li.active {
  background: var(--brand-green) !important;
  width: 28px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .trust-strip .row {
    --bs-gutter-x: 0.75rem;
  }

  .trust-strip .col-6 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
    margin-bottom: 0.35rem;
  }

  .trust-strip .trust-item {
    justify-content: flex-start;
    font-size: 0.78rem;
    gap: 0.45rem;
    padding: 0.35rem 0;
    text-align: left;
    line-height: 1.25;
  }

  .trust-strip i {
    flex-shrink: 0;
    font-size: 1.1rem;
  }

  /* Compact sticky CTA — WhatsApp only on small phones */
  .sticky-cta .cta-call,
  .sticky-cta .cta-mail {
    display: none;
  }

  .sticky-cta {
    bottom: 24px;
    right: 16px;
  }

  .back-to-top {
    right: 16px;
    bottom: 84px;
    width: 46px;
    height: 46px;
  }
}

.page-header {
  background:
    linear-gradient(120deg, rgba(15, 28, 36, 0.85), rgba(56, 138, 188, 0.55)),
    url(../img/hero/service-1.jpg) center/cover no-repeat;
  margin-bottom: 0;
  padding: 5.5rem 0 4rem;
}

.page-header h1 {
  color: #fff;
  font-size: 2.75rem;
}

.breadcrumb {
  background: transparent;
  margin: 0;
}

.breadcrumb-item a {
  color: var(--brand-green);
}
.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.7);
}

/*** Section helpers ***/
.section-label {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--brand-green);
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-pad {
  padding: 5rem 0;
}

.quote-form-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(244, 247, 242, 0.98)
  );
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(147, 169, 43, 0.15);
  padding: 2.5rem;
}

.quote-form-card .form-control,
.quote-form-card .form-select {
  border: 1px solid rgba(15, 28, 36, 0.08);
  border-radius: 0.85rem;
  padding: 0.95rem 1.1rem;
  background: #fff;
}

.quote-form-card .form-control:focus,
.quote-form-card .form-select:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 0.2rem rgba(147, 169, 43, 0.2);
}

/*** About ***/
.about-img {
  position: relative;
  padding: 1.25rem;
  height: 100%;
}

.about-img img {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-img::before,
.about-img::after {
  content: "";
  position: absolute;
  border-radius: var(--radius-lg);
  z-index: 1;
}

.about-img::before {
  inset: 0 12% 40% 0;
  background: var(--bs-dark);
}

.about-img::after {
  inset: 40% 0 0 12%;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
}

.about-img .experiences {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.about-img .experiences h1 {
  color: var(--brand-green);
  margin: 0;
  line-height: 1;
}

.feature-mini {
  text-align: center;
  padding: 1rem 0.5rem;
  transition: var(--transition);
}

.feature-mini .icon-box {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, var(--bs-dark), #1a3340);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green);
  font-size: 1.6rem;
  transition: var(--transition);
}

.feature-mini:hover .icon-box {
  background: linear-gradient(145deg, var(--brand-green), var(--brand-blue));
  color: #fff;
  transform: translateY(-4px);
}

/*** Services ***/
.services-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  height: 100%;
  border: 1px solid rgba(15, 28, 36, 0.06);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.services-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
  transform: scaleX(0);
  transition: var(--transition);
}

.services-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.services-item:hover::before {
  transform: scaleX(1);
}

.services-inner-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(147, 169, 43, 0.15),
    rgba(56, 138, 188, 0.15)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.services-item:hover .services-inner-icon {
  background: linear-gradient(145deg, var(--brand-green), var(--brand-blue));
}

.services-item:hover .services-inner-icon i {
  color: #fff !important;
}

.services-item h4 {
  margin-bottom: 0.75rem;
}
.services-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
  height: 160px;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.services-item:hover .service-card-img img {
  transform: scale(1.06);
}

/*** Stats ***/
.stats-section {
  background: linear-gradient(
    125deg,
    var(--bs-dark) 0%,
    #1a3a4a 50%,
    var(--brand-blue-dark) 100%
  );
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(147, 169, 43, 0.12);
  top: -120px;
  right: -80px;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.stat-item h2 {
  font-size: 2.75rem;
  color: var(--brand-green);
  margin-bottom: 0.35rem;
}

.stat-item p {
  margin: 0;
  opacity: 0.85;
  font-weight: 600;
}

/*** Treatment methods timeline ***/
.methods-section {
  background: linear-gradient(180deg, var(--bs-light), #fff);
}

.method-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.method-timeline::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
  z-index: 0;
}

.method-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid rgba(56, 138, 188, 0.12);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.method-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-green);
}

.method-card .step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-green), var(--brand-blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(56, 138, 188, 0.3);
}

.method-card .method-icon {
  font-size: 2rem;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
}

.method-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}
.method-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 992px) {
  .method-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .method-timeline::before {
    display: none;
  }
}

@media (max-width: 576px) {
  .method-timeline {
    grid-template-columns: 1fr;
  }
}

/*** Anti-termite ***/
.termite-section {
  background: var(--bs-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.termite-section .warning-badge {
  display: inline-block;
  background: rgba(147, 169, 43, 0.2);
  border: 1px solid var(--brand-green);
  color: #dceb8f;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.termite-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.termite-list i {
  color: var(--brand-green);
  margin-top: 0.25rem;
}

.termite-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.termite-img img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

/*** Why choose ***/
.why-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 28, 36, 0.05);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.why-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: linear-gradient(
    135deg,
    rgba(147, 169, 43, 0.15),
    rgba(56, 138, 188, 0.2)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-blue);
  margin-bottom: 1.25rem;
}

/*** Projects / Gallery ***/
.project-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  height: 280px;
  box-shadow: var(--shadow);
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-item .project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(15, 28, 36, 0.88));
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 1;
}

.project-item .project-overlay span,
.project-item .project-overlay a {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.project-item:hover img {
  transform: scale(1.08);
}

.project-left,
.project-right {
  display: none;
}

/*** Certifications ***/
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.cert-badge {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 28, 36, 0.06);
  transition: var(--transition);
  height: 100%;
}

.cert-badge:hover {
  transform: translateY(-4px);
  border-color: var(--brand-green);
}

.cert-badge i {
  font-size: 2rem;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
}

.cert-badge h5 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.cert-badge p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.cert-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 220px;
  transition: var(--transition);
}

.cert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.cert-photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/*** Video gallery ***/
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
  height: 100%;
}

.video-card video {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.video-card .caption {
  padding: 1rem 1.25rem;
  background: #fff;
  font-weight: 700;
}

/*** CTA ***/
.call-to-action {
  background:
    linear-gradient(120deg, rgba(15, 28, 36, 0.9), rgba(56, 138, 188, 0.75)),
    url(../img/hero/service-2.jpg) center/cover no-repeat;
  border-radius: 0;
  margin: 0 !important;
  padding: 5rem 0;
}

.call-to-action img {
  border-radius: var(--radius-lg) !important;
  padding: 0 !important;
  object-fit: cover;
  height: 320px;
  width: 100%;
}

.cta-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

/*** Team ***/
.team-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: #fff;
  height: 100%;
}

.team-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: none !important;
}

.team-content {
  background: linear-gradient(
    90deg,
    var(--brand-green),
    var(--brand-blue)
  ) !important;
  color: #fff !important;
  padding: 1.1rem !important;
}

.team-content .fs-4,
.team-content span {
  color: #fff !important;
}
.team-content .text-muted {
  color: rgba(255, 255, 255, 0.85) !important;
}

.team-icon {
  display: none !important;
}

/*** Testimonial ***/
.testimonial {
  background: var(--bs-light);
}

.testimonial-content {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg) !important;
  border-left: 4px solid var(--brand-green);
}

.testimonial-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.blog-carousel .owl-nav,
.testimonial-carousel .owl-nav {
  margin-top: 1.5rem;
}

.blog-carousel .owl-nav .owl-prev,
.blog-carousel .owl-nav .owl-next,
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  width: 48px;
  height: 48px;
  background: var(--brand-green) !important;
  color: #0f1c24 !important;
  border-radius: 50%;
  margin: 0 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/*** Media / News cards ***/
.media-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
}

.media-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.media-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
}

.media-card .body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.media-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.media-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/*** Contact ***/
.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
  border: 1px solid rgba(15, 28, 36, 0.05);
}

.contact-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-green), var(--brand-blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.contact-form .form-control {
  border-radius: 0.85rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(15, 28, 36, 0.1);
}

.contact-form .form-control:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 0.2rem rgba(147, 169, 43, 0.2);
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

/*** Footer ***/
.footer {
  background: linear-gradient(160deg, #0a1419 0%, #0f1c24 40%, #163040 100%);
  margin-top: 0;
}

.footer-item h4 {
  position: relative;
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
}

.footer-item h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
  border-radius: 2px;
}

.footer-item p,
.footer-item a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-item .btn-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  padding: 0.35rem 0;
}

.footer-item .btn-link:hover {
  color: var(--brand-green);
  letter-spacing: 0.02em;
}

.copyright {
  background: #080f14 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.copyright-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/*** Trust strip ***/
.trust-strip {
  background: #fff;
  border-bottom: 1px solid rgba(15, 28, 36, 0.06);
  padding: 1.25rem 0;
}

.trust-strip .trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bs-dark);
  padding: 0.5rem;
}

.trust-strip i {
  color: var(--brand-green);
  font-size: 1.25rem;
}

/*** Process steps ***/
.process-step {
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.process-step .num {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brand-blue);
  box-shadow: var(--shadow);
}

/*** Utilities ***/
.text-muted-custom {
  color: var(--muted) !important;
}

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

.rounded-modern {
  border-radius: var(--radius-lg) !important;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
}

.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-6px);
}

@media (max-width: 768px) {
  .section-pad {
    padding: 3.5rem 0;
  }
  .display-5 {
    font-size: 1.85rem;
  }
  .about-img img {
    min-height: 300px;
  }
}

/* =========================================================
   FINAL POLISH PASS — Agency refinements
   ========================================================= */

a:not(.btn):not(.nav-link):not(.btn-link):not(.copyright-icon):not(
    .sticky-cta a
  ):not(.carousel-control-prev):not(.carousel-control-next) {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
}

a:not(.btn):not(.nav-link):not(.btn-link):not(.copyright-icon):not(
    .sticky-cta a
  ):hover {
  color: var(--brand-blue-dark);
  text-decoration: underline;
}

/* Contact cards — high contrast links */
.contact-card {
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(56, 138, 188, 0.2);
}

.contact-card a {
  color: var(--brand-blue) !important;
  font-weight: 700;
  text-decoration: none !important;
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--brand-blue-dark) !important;
  text-decoration: underline !important;
}

.contact-card .icon {
  width: 60px;
  height: 60px;
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
}

.navbar-wrap {
  padding: 0.15rem 0;
}

.navbar .navbar-nav .nav-link.active {
  background: rgba(147, 169, 43, 0.28);
  color: #fff;
}

.trust-strip {
  padding: 1.5rem 0;
}

.trust-strip .trust-item {
  font-size: 0.95rem;
  gap: 0.75rem;
}

.trust-strip i {
  font-size: 1.4rem;
  width: 1.5rem;
  text-align: center;
}

/* CTA polish */
.call-to-action {
  background:
    linear-gradient(120deg, rgba(15, 28, 36, 0.92), rgba(56, 138, 188, 0.7)),
    url(../img/cta-bg.jpg) center/cover no-repeat !important;
  padding: 4.5rem 0 !important;
}

.call-to-action .row {
  align-items: stretch !important;
}

.call-to-action .cta-visual {
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.call-to-action .cta-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg) !important;
  padding: 0 !important;
}

.cta-glass {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.75rem !important;
}

.media-card img {
  height: 260px;
}

.media-card .body {
  padding: 1.5rem 1.5rem 1.65rem;
}

.media-card h3,
.media-card .h4 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

/* Service icons consistency */
.services-inner-icon {
  width: 80px;
  height: 80px;
}

.services-inner-icon i {
  font-size: 1.75rem !important;
  line-height: 1;
}

.services-item {
  padding: 1.75rem 1.4rem 1.9rem;
}

.services-item .btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.feature-mini .icon-box {
  width: 68px;
  height: 68px;
  font-size: 1.45rem;
}

.feature-mini h6 {
  font-size: 0.9rem;
  margin: 0;
}

.method-card .method-icon {
  font-size: 1.75rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card .icon {
  width: 60px;
  height: 60px;
  font-size: 1.4rem;
}

.process-step .num {
  width: 58px;
  height: 58px;
  font-size: 1.15rem;
}

/* Footer credit */
.archonix-credit {
  color: rgba(255, 255, 255, 0.55) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.archonix-credit:hover {
  color: var(--brand-green) !important;
  border-bottom-color: var(--brand-green);
  text-decoration: none !important;
}

.copyright .credit-line {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.35rem;
}

/* Mobile overlay navigation */
@media (max-width: 991.98px) {
  .navbar-wrap {
    position: sticky;
    top: 0;
    z-index: 1030;
  }

  .navbar-toggler {
    position: relative;
    z-index: 1060;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
  }

  .navbar-toggler .fa-bars,
  .navbar-toggler .fa-times {
    color: #0f1c24 !important;
    font-size: 1.15rem;
  }

  #navbarCollapse {
    position: fixed !important;
    inset: 0;
    z-index: 1050;
    background: rgba(12, 20, 26, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    height: 100vh !important;
    max-height: 100vh !important;
    width: 100%;
    padding: 5.5rem 1.5rem 2.5rem;
    overflow-y: auto;
    display: block !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.32s ease,
      visibility 0.32s ease,
      transform 0.32s ease;
  }

  #navbarCollapse.collapsing {
    height: 100vh !important;
    transition:
      opacity 0.32s ease,
      transform 0.32s ease;
  }

  #navbarCollapse.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  #navbarCollapse .navbar-nav {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.35rem;
    padding-top: 1rem;
  }

  #navbarCollapse .nav-link {
    font-size: 1.2rem;
    padding: 1rem 1.15rem !important;
    border-radius: 0.85rem;
    text-align: left;
  }

  #navbarCollapse .btn-call {
    width: 100%;
    margin: 1rem 0 0 !important;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
  }

  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media (min-width: 992px) {
  #navbarCollapse {
    position: static !important;
    height: auto !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0 !important;
  }
}

/*** Mobile Offcanvas Navigation ***/
.mobile-nav-offcanvas {
  background: rgba(12, 20, 26, 0.98) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 0 !important;
  width: min(86vw, 360px) !important;
}

.mobile-nav-offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 1.35rem;
}

.mobile-nav-offcanvas .mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.5rem;
}

.mobile-nav-offcanvas .mobile-nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.95rem 1rem !important;
  border-radius: 0.85rem;
  text-decoration: none !important;
  transition: var(--transition);
}

.mobile-nav-offcanvas .mobile-nav-link:hover,
.mobile-nav-offcanvas .mobile-nav-link.active {
  background: rgba(147, 169, 43, 0.22);
  color: #fff !important;
}

.offcanvas-backdrop.show {
  opacity: 0.65;
}

body.nav-open,
body:has(.offcanvas.show) {
  overflow: hidden;
}

/* Hard isolation of carousel captions */
.carousel-inner .carousel-item {
  position: relative;
}
.carousel-inner .carousel-item:not(.active) {
  z-index: 0;
}
.carousel-inner .carousel-item.active {
  z-index: 2;
}
.carousel-inner .carousel-item:not(.active) .carousel-caption,
.carousel-inner .carousel-item:not(.active) .carousel-caption * {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.carousel-content .badge-pill {
  position: relative;
  z-index: 2;
}
.carousel-content h1 {
  position: relative;
  z-index: 2;
  clear: both;
}

.trust-strip {
  background: #fff !important;
  color: var(--bs-dark);
  position: relative;
  z-index: 3;
}
.topbar-top {
  background: linear-gradient(
    90deg,
    #93a92b 0%,
    #7f9a24 35%,
    #9bb82e 100%
  ) !important;
}
