/* ==========================================================================
   MAX Digital - Stylesheet
   Brand Color Palette:
   - Primary: Cobalt Blue (#0046AB / RGB 0, 71, 171)
   - Secondary / Background Accent: Cream (#FAF4E6 / RGB 250, 244, 230)
   - Deep Navy / Dark Contrast: (#001F4D / #00173B)
   - Font Family: Montserrat (family)
   ========================================================================== */

/* --- CSS Variables --- */
:root {
  --primary-cobalt: #0046AB;
  --primary-cobalt-hover: #003787;
  --primary-cobalt-dark: #002B6B;
  --primary-cobalt-deep: #001F4D;
  --primary-cobalt-light: #1A5EC2;
  --color-cream: #FAF4E6;
  --color-cream-light: #FDFBF7;
  --color-cream-dark: #F0E5CC;
  --color-white: #FFFFFF;
  --text-dark: #1A2536;
  --text-muted: #556987;
  --bg-light: #FAF4E6;
  --bg-card: #FFFFFF;
  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* --- Reset & Global --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  color: var(--primary-cobalt-deep);
  margin-top: 0;
  font-weight: 700;
  letter-spacing: -0.2px;
}

p {
  margin: 0 0 15px 0;
}

a {
  color: var(--primary-cobalt);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover, a:focus {
  color: var(--primary-cobalt-light);
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.col-xs-12 { width: 100%; padding: 0 15px; }
.col-sm-4 { width: 100%; padding: 0 15px; }
.col-sm-6 { width: 100%; padding: 0 15px; }
.col-md-3 { width: 100%; padding: 0 15px; }
.col-md-4 { width: 100%; padding: 0 15px; }
.col-md-6 { width: 100%; padding: 0 15px; }
.col-md-12 { width: 100%; padding: 0 15px; }

@media (min-width: 768px) {
  .col-sm-4 { width: 33.333333%; }
  .col-sm-6 { width: 50%; }
}

@media (min-width: 992px) {
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.333333%; }
  .col-md-6 { width: 50%; }
  .col-md-12 { width: 100%; }
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* --- Common Headings & Badges --- */
.widget-title, .custom-heading .widget-title {
  font-family: var(--font-family);
  font-size: 32px;
  color: var(--primary-cobalt);
  margin-bottom: 25px;
  position: relative;
  font-weight: 800;
}

.widget-title span.light, .custom-heading .widget-title span.light {
  color: var(--primary-cobalt-deep);
  font-weight: 400;
}

.custom-heading:not(.no-border) {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.custom-heading:not(.no-border)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-cobalt);
}

.custom-heading.center {
  text-align: center;
}

.custom-heading.center::after {
  left: 50%;
  transform: translateX(-50%);
}

.btn {
  display: inline-block;
  font-family: var(--font-family);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 11px 26px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-primary {
  color: #FFFFFF;
  background-color: var(--primary-cobalt);
  border-color: var(--primary-cobalt);
}

.btn-primary:hover {
  color: #FFFFFF;
  background-color: var(--primary-cobalt-hover);
  border-color: var(--primary-cobalt-hover);
}

.btn-outline {
  color: #FFFFFF;
  background-color: transparent;
  border: 2px solid #FFFFFF;
}

.btn-outline:hover {
  color: var(--primary-cobalt-deep);
  background-color: var(--color-cream);
  border-color: var(--color-cream);
}

.btn-cream {
  color: var(--primary-cobalt);
  background-color: var(--color-cream);
  border-color: var(--color-cream);
  font-weight: 800;
}

.btn-cream:hover {
  color: #FFFFFF;
  background-color: var(--primary-cobalt);
  border-color: var(--primary-cobalt);
}

/* ==========================================================================
   1. TOPBAR (FULL-WIDTH END-TO-END)
   ========================================================================== */
.topbar {
  background-color: #001533;
  color: #CBD5E1;
  font-size: 13px;
  padding: 10px 40px;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar .tagline {
  line-height: 28px;
  color: var(--color-cream);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.topbar .widgets {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar .widget-icon-box {
  display: inline-flex;
  align-items: center;
}

.topbar .widget-icon-box i {
  color: var(--color-cream);
  margin-right: 8px;
  font-size: 13px;
}

.topbar .widget-icon-box .title {
  margin: 0;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  color: #E2E8F0;
}

.topbar .widget-icon-box a {
  color: var(--color-cream);
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.topbar .widget-icon-box a:hover {
  color: #FFFFFF;
}

.topbar .social-icons {
  display: inline-flex;
  gap: 14px;
}

.topbar .social-icons a {
  color: var(--color-cream);
  font-size: 14px;
  transition: all 0.2s;
}

.topbar .social-icons a:hover {
  color: #FFFFFF;
  transform: translateY(-1px);
}

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

/* ==========================================================================
   2. HEADER & NAVIGATION (FULL-WIDTH END-TO-END MATCHING IMAGE 1 REFERENCE)
   ========================================================================== */
.header {
  background-color: #FFFFFF;
  position: relative;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid #ECEFF2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

/* Brand Logo (Centered in left area per reference image) */
.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 4px 0;
  margin-left: 215px;
}

.navbar-brand-logo {
  height: 48px;
  max-height: 52px;
  width: auto;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  display: block;
}

.navbar-brand:hover .navbar-brand-logo {
  transform: scale(1.02);
  opacity: 0.95;
}

.footer-logo-wrap a {
  display: inline-block;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.footer-brand-logo {
  height: 52px;
  max-height: 55px;
  width: auto;
  border-radius: 0;
  box-shadow: none;
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-brand-logo:hover {
  transform: scale(1.03);
  opacity: 0.92;
}

/* Center / Right: Navigation Menu */
.main-navigation-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: auto;
  flex-grow: 0;
  background: transparent;
}

.main-navigation {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
}

.main-navigation > li {
  position: relative;
  background: transparent;
}

.main-navigation > li > a {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  color: #334155;
  background: transparent;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  transition: all 0.2s ease;
  border-radius: 4px;
  position: relative;
}

.main-navigation > li > a:hover {
  color: var(--primary-cobalt);
  background-color: rgba(0, 70, 171, 0.04);
}

.main-navigation > li.current-menu-item > a {
  color: var(--primary-cobalt);
  font-weight: 600;
  background-color: transparent;
}

.main-navigation > li > a i.nav-caret {
  margin-left: 5px;
  font-size: 10px;
  color: #94A3B8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.main-navigation > li:hover > a i.nav-caret {
  color: var(--primary-cobalt);
  transform: translateY(1px);
}

/* Dropdown Sub-menu */
.main-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  background-color: #FFFFFF;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  box-shadow: 0 10px 30px rgba(0, 15, 38, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 999;
  border-top: 3px solid var(--primary-cobalt);
  border-radius: 0 0 6px 6px;
  border-left: 1px solid #E2E8F0;
  border-right: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.main-navigation > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation .sub-menu li {
  width: 100%;
  border-bottom: 1px solid #F1F5F9;
}

.main-navigation .sub-menu li:last-child {
  border-bottom: none;
}

.main-navigation .sub-menu li a {
  display: block;
  padding: 9.5px 20px;
  color: #1E293B;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  white-space: nowrap;
  background: transparent;
  transition: all 0.2s ease;
}

.main-navigation .sub-menu li a:hover {
  color: var(--primary-cobalt);
  background-color: #F8FAFC;
  padding-left: 24px;
}

/* Far Right: Header Action Pill Button (Matching Reference Image 1) */
.header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 24px;
}

.header-actions .btn-header-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary-cobalt);
  color: #FFFFFF;
  padding: 9px 20px;
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 70, 171, 0.2);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.header-actions .btn-header-pill:hover {
  background-color: var(--primary-cobalt-hover);
  color: #FFFFFF;
  box-shadow: 0 5px 15px rgba(0, 70, 171, 0.32);
  transform: translateY(-1px);
}

.header-actions .btn-header-pill .btn-pill-icon {
  font-size: 11px;
}

.header-actions .btn-header-outline {
  border: 1.5px solid var(--primary-cobalt);
  color: var(--primary-cobalt);
  background: transparent;
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.header-actions .btn-header-filled {
  border: 1.5px solid var(--primary-cobalt);
  background-color: var(--primary-cobalt);
  color: #FFFFFF;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

/* Mobile Toggle */
.navbar-toggle {
  display: none;
  background-color: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 10px 14px;
  border-radius: 4px;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.navbar-toggle .navbar-toggle-text {
  color: #1A2536;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #1A2536;
  margin-bottom: 4px;
}

.navbar-toggle .icon-bar:last-child {
  margin-bottom: 0;
}

@media (max-width: 1350px) and (min-width: 1150px) {
  .header-container {
    padding: 0 24px;
  }
  .navbar-brand {
    margin-left: 120px;
  }
  .main-navigation-wrap {
    margin-left: auto;
  }
  .main-navigation > li > a {
    padding: 7px 9px;
    font-size: 13px;
  }
}

@media (max-width: 1149px) and (min-width: 992px) {
  .header-container {
    padding: 0 16px;
  }
  .navbar-brand {
    margin-left: 40px;
  }
  .main-navigation-wrap {
    margin-left: auto;
  }
  .main-navigation > li > a {
    padding: 6px 6px;
    font-size: 12px;
  }
  .header-actions {
    margin-left: 12px;
    margin-right: 0;
  }
  .header-actions .btn-header-pill {
    padding: 7px 12px;
    font-size: 11.5px;
  }
}

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

  .header-container {
    padding: 12px 20px;
    justify-content: space-between;
  }

  .navbar-brand {
    margin-left: 0;
  }

  .navbar-brand-logo {
    height: 46px;
  }

  .main-navigation-wrap {
    margin-left: 0;
  }

  .header-actions {
    display: none;
  }

  .navbar-toggle {
    display: flex;
  }

  .main-navigation-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    display: none;
    padding: 0;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    border-top: 1px solid #E2E8F0;
  }

  .main-navigation-wrap.open {
    display: block;
  }

  .main-navigation {
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 10px 0;
  }

  .main-navigation > li {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid #F1F5F9;
  }

  .main-navigation > li > a {
    width: 100%;
    padding: 14px 24px;
    color: #1A2536;
  }

  .main-navigation > li:hover > a,
  .main-navigation > li.current-menu-item > a {
    background-color: rgba(0, 70, 171, 0.08);
    color: var(--primary-cobalt);
  }

  .main-navigation > li.current-menu-item > a::after {
    display: none;
  }

  .main-navigation .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    width: 100%;
    display: none;
    border: none;
    background-color: #F8FAFC;
    border-left: 3px solid var(--primary-cobalt);
  }

  .main-navigation .sub-menu li {
    border-bottom: 1px solid #EDF2F7;
  }

  .main-navigation .sub-menu li a {
    color: #334155;
    padding: 11px 24px;
  }

  .main-navigation .sub-menu li a:hover {
    color: var(--primary-cobalt);
    background-color: #E2E8F0;
  }

  .main-navigation > li.open .sub-menu {
    display: block;
  }
}

/* ==========================================================================
   3. HERO CAROUSEL SLIDER (#jumbotron-fullwidth)
   Light, natural overlay with 10% blue transparency per user feedback!
   ========================================================================== */
#jumbotron-fullwidth {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background-color: #050B14;
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.carousel-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92); /* Bright, vivid original colors without heavy dark tint */
}

/* 10% Blue Transparency overlay: light and subtle, letting the real photos pop! */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 15, 38, 0.25) 0%, rgba(0, 70, 171, 0.10) 50%, rgba(0, 15, 38, 0.40) 100%);
}

.carousel-text-wrap {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-text {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.carousel-topheading {
  font-family: var(--font-family);
  font-size: 13.5px;
  color: var(--color-cream);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 16px;
  font-weight: 700;
  animation: fadeInDown 0.8s ease;
  display: inline-block;
  background: rgba(0, 31, 77, 0.65);
  padding: 6px 18px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(250, 244, 230, 0.35);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.carousel-heading-tag {
  font-family: var(--font-family);
  font-size: 44px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 25px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 4px 22px rgba(0, 0, 0, 0.65);
  animation: fadeInUp 0.8s ease;
}

.carousel-content {
  display: flex;
  justify-content: center;
  gap: 16px;
  animation: fadeInUp 1s ease;
}

.carousel-content .btn {
  padding: 13px 32px;
  font-size: 14px;
}

/* Carousel Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 31, 77, 0.85);
  color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 10;
  border-radius: 3px;
  cursor: pointer;
  border: 1px solid rgba(250, 244, 230, 0.3);
  transition: all 0.3s ease;
}

.carousel-control:hover {
  background-color: var(--primary-cobalt);
  color: #FFFFFF;
}

.carousel-control.left {
  left: 20px;
}

.carousel-control.right {
  right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  list-style: none;
  margin: 0;
  padding: 0;
}

.carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicators li.active {
  background-color: var(--color-cream);
  transform: scale(1.3);
  box-shadow: 0 0 8px var(--color-cream);
}

@media (max-width: 768px) {
  #jumbotron-fullwidth {
    height: 480px;
  }
  .carousel-heading-tag {
    font-size: 26px;
  }
  .carousel-topheading {
    font-size: 12px;
  }
  .carousel-control {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}

/* ==========================================================================
   4. FEATURED 4-COLUMN SERVICES BLOCK
   ========================================================================== */
.section-featured-services {
  padding: 55px 0 65px 0;
  background-color: #FFFFFF;
}

.featured-promo-box {
  border: 6px solid var(--color-cream);
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--color-cream-light);
  border-radius: 4px;
}

.featured-promo-box .custom-heading .widget-title {
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--primary-cobalt);
}

.featured-promo-box h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-cobalt-deep);
  margin-bottom: 14px;
}

.featured-promo-box p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.featured-promo-box a.more {
  display: inline-block;
  color: var(--primary-cobalt);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  margin-top: 15px;
  border-bottom: 2px solid var(--primary-cobalt);
  padding-bottom: 2px;
}

.featured-promo-box a.more:hover {
  color: var(--primary-cobalt-hover);
}

/* Post item card */
.post-item.page {
  background-color: #FFFFFF;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.post-item-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
}

.post-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-item-image .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 70, 171, 0.75);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-item-image .vertical-center span {
  display: inline-block;
  background-color: var(--color-cream);
  color: var(--primary-cobalt);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 2px;
  transition: all 0.25s ease;
}

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

.post-item-image:hover .overlay {
  opacity: 1;
}

.post-item-image:hover .vertical-center span {
  background-color: #FFFFFF;
  color: var(--primary-cobalt-deep);
  transform: scale(1.05);
}

.post-item h5.title {
  margin: 18px 0 10px 0;
  font-size: 18px;
}

.post-item h5.title a {
  color: var(--primary-cobalt-deep);
}

.post-item h5.title a:hover {
  color: var(--primary-cobalt);
}

.post-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

.post-item a.more {
  color: var(--primary-cobalt);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.post-item a.more:hover {
  color: var(--primary-cobalt-hover);
}

/* --------------------------------------------------------------------------
   4b. SERVICES CAPABILITIES MATRIX (6-COLUMN DIRECTORY)
   Matching User Reference Sketch
   -------------------------------------------------------------------------- */
.services-directory-wrapper {
  margin-top: 45px;
  padding-top: 40px;
  border-top: 1px solid #E2E8F0;
  clear: both;
}

.directory-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px auto;
}

.directory-badge {
  display: inline-block;
  background: rgba(0, 70, 171, 0.08);
  color: var(--primary-cobalt);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.directory-title {
  font-size: 26px;
  font-weight: 800;
  color: #1A2536;
  margin: 0 0 10px 0;
  letter-spacing: -0.3px;
}

.directory-subtitle {
  font-size: 14.5px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

.capabilities-matrix-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: stretch;
}

.capability-col-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 16px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.capability-col-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 70, 171, 0.1);
  border-color: #CBD5E1;
}

.capability-col-header {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid #F1F5F9;
}

.capability-col-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #1A2536;
  margin: 0;
  line-height: 1.35;
}

.capability-count-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--primary-cobalt);
  background: rgba(0, 70, 171, 0.08);
  padding: 1px 7px;
  border-radius: 10px;
}

.capability-item-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
}

.capability-item-list li {
  display: block;
  font-size: 12.5px;
  color: #334155;
  line-height: 1.5;
  padding: 4.5px 6px;
  border-radius: 4px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.capability-item-list li:hover {
  background-color: #F8FAFC;
  color: var(--primary-cobalt);
}

.capabilities-cta-bar {
  margin-top: 32px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.capabilities-cta-text {
  font-size: 13.5px;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.capabilities-cta-text strong {
  color: #1A2536;
  font-size: 14.5px;
}

@media (max-width: 1200px) {
  .capabilities-matrix-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 767px) {
  .capabilities-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .capabilities-cta-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .capabilities-matrix-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   5. PROJECT GALLERIES CAROUSEL
   ========================================================================== */
.section-project-galleries {
  background-color: var(--primary-cobalt-deep);
  background-image: radial-gradient(rgba(255,255,255,0.08) 15%, transparent 16%);
  background-size: 16px 16px;
  padding: 60px 0 70px 0;
  color: #FFFFFF;
}

.section-project-galleries .custom-heading .widget-title {
  color: var(--color-cream);
  margin-bottom: 12px;
}

.section-project-galleries .custom-heading .widget-title span.light {
  color: #FFFFFF;
}

.gallery-sub-desc {
  text-align: center;
  color: #CBD5E1;
  font-size: 15px;
  line-height: 1.7;
  max-width: 880px;
  margin: 0 auto 35px;
  padding: 0 15px;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.gallery-grid-item {
  width: 25%;
  padding: 0 10px;
  margin-bottom: 25px;
}

@media (max-width: 991px) {
  .gallery-grid-item {
    width: 50%;
  }
}

@media (max-width: 576px) {
  .gallery-grid-item {
    width: 100%;
  }
}

.grid-wrap {
  margin: 0;
  position: relative;
  overflow: hidden;
  background-color: #0A192F;
  border-radius: 4px;
  border: 1px solid rgba(250, 244, 230, 0.15);
}

.grid-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.grid-center {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 31, 77, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.grid-post-button {
  background-color: var(--color-cream);
  color: var(--primary-cobalt-deep);
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 13px;
  padding: 10px 22px;
  text-transform: uppercase;
  border-radius: 3px;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.grid-wrap:hover .grid-image img {
  transform: scale(1.08);
}

.grid-wrap:hover .grid-center {
  opacity: 1;
}

.grid-wrap:hover .grid-post-button {
  transform: translateY(0);
}

.grid-caption {
  display: block;
  text-align: center;
  padding: 14px 10px;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 15px;
  background-color: rgba(0, 15, 38, 0.6);
  transition: color 0.2s;
}

.grid-wrap:hover .grid-caption {
  color: var(--color-cream);
}

/* --------------------------------------------------------------------------
   Promotional Banner (Google My Business: "Check Our Latest Works" Slideshow)
   Blue & White Theme Matching Website
   -------------------------------------------------------------------------- */
.banner-promo-link {
  margin-top: 40px;
  text-align: center;
}

.gmb-showcase-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  max-width: 1120px;
  margin: 0 auto;
  box-shadow: 0 12px 35px rgba(0, 20, 50, 0.35);
  border: 2px solid #0046AB;
  position: relative;
}

.gmb-promo-left {
  background: linear-gradient(145deg, #00224F 0%, #0046AB 100%);
  padding: 28px 40px 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  flex-shrink: 0;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  min-width: 320px;
  color: #FFFFFF;
  z-index: 2;
}

.gmb-promo-tag {
  color: #E0E7FF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 20px;
}

.gmb-promo-tag i {
  color: #EA4335;
  font-size: 12px;
}

.gmb-promo-title {
  color: #FFFFFF;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.5px;
  margin: 0 0 10px 0;
  font-family: var(--font-family);
  text-transform: uppercase;
}

.gmb-accent-text {
  color: #F5A623;
}

.gmb-promo-sub {
  color: #E2E8F0;
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0 0 16px 0;
  max-width: 250px;
}

.btn-gmb-cta {
  background-color: #FFFFFF;
  color: #0046AB;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.btn-gmb-cta:hover {
  background-color: #F5A623;
  color: #00224F;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.gmb-promo-right {
  flex-grow: 1;
  position: relative;
  background-color: #F8FAFC;
  padding: 16px 20px 24px 10px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.gmb-slideshow-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gmb-slideshow-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.gmb-slide {
  min-width: 100%;
  box-sizing: border-box;
  opacity: 0.6;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.gmb-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.gmb-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 4px 6px;
}

.gmb-work-card {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #E2E8F0;
  text-decoration: none;
  background-color: #000;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gmb-work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 70, 171, 0.2);
}

.gmb-work-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gmb-work-card:hover img {
  transform: scale(1.05);
}

.gmb-work-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 15, 38, 0.88) 100%);
  padding: 16px 10px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.gmb-work-badge {
  background-color: #0046AB;
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
}

.gmb-work-title {
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.gmb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #0046AB;
  border: 1.5px solid #0046AB;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  z-index: 5;
}

.gmb-arrow:hover {
  background: #0046AB;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 70, 171, 0.35);
}

.gmb-arrow.prev {
  left: 2px;
}

.gmb-arrow.next {
  right: 2px;
}

.gmb-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.gmb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #CBD5E1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.gmb-dot.active {
  width: 22px;
  border-radius: 4px;
  background-color: #0046AB;
}

@media (max-width: 960px) {
  .gmb-showcase-container {
    flex-direction: column;
  }
  .gmb-promo-left {
    width: 100%;
    min-width: unset;
    clip-path: none;
    align-items: center;
    text-align: center;
    padding: 26px 20px;
  }
  .gmb-promo-sub {
    max-width: 450px;
  }
  .gmb-promo-right {
    padding: 16px 20px 22px 20px;
  }
}

@media (max-width: 600px) {
  .gmb-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .gmb-cards-grid .gmb-work-card:nth-child(3) {
    display: none;
  }
  .gmb-work-card img {
    height: 120px;
  }
}

@media (max-width: 420px) {
  .gmb-cards-grid {
    grid-template-columns: 1fr;
  }
  .gmb-cards-grid .gmb-work-card:nth-child(2) {
    display: none;
  }
  .gmb-work-card img {
    height: 130px;
  }
}

/* ==========================================================================
   6. SPLIT SECTION: ABOUT & REQUEST AN ESTIMATE
   ========================================================================== */
.section-about-estimate {
  padding: 65px 0;
  background-color: #FFFFFF;
}

.about-column {
  padding-right: 25px;
}

.about-column h4 {
  font-size: 18px;
  line-height: 1.5;
  color: var(--primary-cobalt-deep);
  margin-bottom: 18px;
}

.about-column p {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.7;
}

.about-column a.more {
  display: inline-block;
  color: var(--primary-cobalt);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  margin-top: 10px;
  border-bottom: 2px solid var(--primary-cobalt);
  padding-bottom: 3px;
}

.about-column a.more:hover {
  color: var(--primary-cobalt-hover);
}

/* Request An Estimate Box */
.estimate-form-wrap {
  border: 6px solid var(--color-cream);
  padding: 30px;
  background-color: var(--color-cream-light);
  border-radius: 4px;
}

.estimate-form-wrap .custom-heading {
  text-align: center;
}

.estimate-form-wrap .custom-heading .widget-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary-cobalt);
}

.estimate-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group-row {
  display: flex;
  gap: 14px;
}

.form-control-wrap {
  flex: 1;
}

.form-control-wrap input,
.form-control-wrap select,
.form-control-wrap textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-family);
  font-size: 14px;
  border: 1px solid #D1D5DB;
  border-radius: 3px;
  background-color: #FFFFFF;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.form-control-wrap input:focus,
.form-control-wrap select:focus,
.form-control-wrap textarea:focus {
  outline: none;
  border-color: var(--primary-cobalt);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 70, 171, 0.15);
}

.btn-submit-estimate {
  background-color: var(--primary-cobalt);
  color: #FFFFFF;
  width: 100%;
  padding: 14px;
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-submit-estimate:hover {
  background-color: var(--primary-cobalt-hover);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 70, 171, 0.3);
}

@media (max-width: 768px) {
  .form-group-row {
    flex-direction: column;
  }
}

/* ==========================================================================
   7. WHY CHOOSE US (6-ICON GRID)
   ========================================================================== */
.section-why-choose {
  padding: 55px 0 60px 0;
  background-color: #F8F9FA;
  background-image: url('../images/leaf-pattern-bg.png');
  background-repeat: repeat;
  background-size: 320px auto;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
}

.section-why-choose .custom-heading {
  text-align: center;
  margin-bottom: 45px;
}

.icon-box.align-left.icon-small {
  display: flex;
  align-items: flex-start;
  margin-bottom: 35px;
  padding: 0 10px;
}

.icon-box.align-left.icon-small i {
  font-size: 34px;
  color: var(--primary-cobalt);
  margin-right: 18px;
  margin-top: 4px;
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}

.icon-box.align-left.icon-small:hover i {
  color: var(--primary-cobalt-light);
  transform: scale(1.1);
}

.icon-box-content h5.title {
  font-size: 18px;
  margin: 0 0 8px 0;
  color: var(--primary-cobalt-deep);
  font-weight: 700;
}

.icon-box-content .subtitle p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   8. FULL-WIDTH CTA BANNER (Styled to match Image 2: Navy Dot Grid Pattern & Colors)
   ========================================================================== */
.section-cta-banner {
  background-color: #001F4D;
  background-image: url('../images/patterns/navy-dot-grid.png');
  background-repeat: repeat;
  background-position: 0 0;
  padding: 60px 0;
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.25);
}

.cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner-title {
  font-family: var(--font-family);
  font-size: 21px;
  line-height: 1.55;
  color: #FFFFFF;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.2px;
  max-width: 880px;
}

.cta-banner-buttons .btn {
  padding: 13px 30px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 4px;
  border: 1.5px solid #FFFFFF;
  color: #FFFFFF;
  background-color: transparent;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-banner-buttons .btn:hover {
  background-color: #FFFFFF;
  color: #001F4D;
  border-color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .cta-banner-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   9. LATEST NEWS / ARTICLES
   ========================================================================== */
.section-latest-news {
  padding: 55px 0 50px 0;
  background-color: #F8FAFC;
}

.block-posts-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 30px;
}

.block-posts-header .widget-title {
  margin: 0;
}

.block-posts-header a.more-news {
  color: var(--primary-cobalt);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
}

.block-posts-header a.more-news:hover {
  color: var(--primary-cobalt-hover);
}

.post-item.news {
  background-color: #FFFFFF;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 31, 77, 0.06);
  border: 1px solid #E2E8F0;
  margin-bottom: 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.post-item.news .post-item-image {
  aspect-ratio: 16 / 9;
  position: relative;
}

.post-item.news .label-wrap {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
}

.post-item.news .label.date {
  background-color: var(--primary-cobalt);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-item-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-item.news h5.title {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.post-item.news h5.title a {
  color: var(--primary-cobalt-deep);
}

.post-item.news h5.title a:hover {
  color: var(--primary-cobalt);
}

.post-item.news p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

.post-item.news a.more {
  color: var(--primary-cobalt);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  margin-top: 10px;
}

.post-item.news a.more:hover {
  color: var(--primary-cobalt-hover);
}

.posts-header-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gmb-live-badge {
  font-size: 13px;
  font-weight: 600;
  color: #4A5568;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid #EDF2F7;
}

.post-item.news .post-item-actions a.more {
  color: var(--primary-cobalt);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.post-item.news .post-item-actions a.more:hover {
  color: var(--primary-cobalt-hover);
}

.post-item-actions .post-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1a73e8;
  background-color: #E8F0FE;
  padding: 5px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.post-item-actions .post-call-btn:hover {
  background-color: #1a73e8;
  color: #FFFFFF;
}

/* ==========================================================================
   10. CLIENT TESTIMONIALS (COMPACT CAROUSEL SLIDESHOW LIKE FEATURED CLIENTS)
   ========================================================================== */
.section-testimonials {
  padding: 60px 0 65px 0;
  background-color: #001F4D;
  background-image: url('../images/blue-grid-pattern.png');
  background-repeat: repeat;
  position: relative;
  border-top: 1px solid rgba(250, 244, 230, 0.15);
  border-bottom: 1px solid rgba(250, 244, 230, 0.15);
}

.testimonials-header-center {
  text-align: center;
  margin-bottom: 35px;
}

.testimonials-header-center .widget-title {
  color: #FFFFFF;
  font-family: var(--font-family);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 8px 0;
}

.testimonials-subtitle {
  color: rgba(250, 244, 230, 0.8);
  font-size: 14.5px;
  margin: 0;
  font-weight: 400;
}

/* Testimonials Carousel Slider Structure */
.testimonials-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.testimonials-carousel-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.testimonials-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.testimonials-slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.testimonials-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.testimonial-card-item {
  background-color: #001533;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid rgba(250, 244, 230, 0.12);
  box-shadow: 0 6px 20px rgba(0, 15, 38, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 120px;
  box-sizing: border-box;
}

.testimonial-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 15, 38, 0.6);
  border-color: rgba(255, 193, 26, 0.4);
}

.testimonial-card-avatar-wrap {
  flex-shrink: 0;
}

.testimonial-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #FFC11A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(255, 193, 26, 0.25);
  background-color: #001F4D;
  color: #FFC11A;
  font-size: 15px;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card-item:hover .testimonial-card-avatar {
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(255, 193, 26, 0.45);
}

.testimonial-card-body {
  flex-grow: 1;
}

.testimonial-stars {
  color: #FFC11A;
  font-size: 11px;
  margin-bottom: 5px;
  display: flex;
  gap: 2px;
}

.testimonial-card-text {
  color: #E2E8F0;
  font-size: 12.5px;
  line-height: 1.55;
  margin: 0 0 7px 0;
  font-style: italic;
}

.testimonial-card-author {
  color: #FFFFFF;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 2px 0;
}

.testimonial-card-role {
  color: #FFC11A;
  font-size: 11px;
  font-weight: 500;
  display: block;
}

/* Testimonials Carousel Controls & Dots */
.testimonials-carousel-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #232C3A;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
  z-index: 5;
  outline: none;
  padding: 0;
}

.testimonials-carousel-arrow:hover {
  background-color: var(--primary-cobalt);
  border-color: #FFFFFF;
  color: #FFC11A;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 70, 171, 0.4);
}

.testimonials-carousel-arrow:active {
  transform: scale(0.96);
}

.testimonials-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #CBD5E1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background-color: #FFC11A;
  width: 26px;
  border-radius: 5px;
}

@media (max-width: 991px) {
  .testimonials-grid-4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .testimonial-card-item {
    padding: 14px 16px;
  }
}

@media (max-width: 767px) {
  .testimonials-carousel-wrapper {
    gap: 8px;
  }

  .testimonials-carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .testimonial-card-item {
    gap: 12px;
  }

  .testimonial-card-avatar {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }
}

/* ==========================================================================
   11. FEATURED CLIENTS
   ========================================================================== */
.section-featured-clients {
  padding: 50px 0 60px 0;
  background-color: #F8FAFC;
  background-image: url('../images/leaf-pattern-bg.png');
  background-repeat: repeat;
  background-size: 320px auto;
}

.section-featured-clients .custom-heading {
  text-align: center;
  margin-bottom: 8px;
}

.clients-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 35px;
}

/* Clients Carousel Slider */
.clients-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.clients-carousel-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.clients-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.clients-slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.clients-carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #232C3A;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
  z-index: 5;
  outline: none;
  padding: 0;
}

.clients-carousel-arrow:hover {
  background-color: var(--primary-cobalt);
  border-color: #FFFFFF;
  color: #FFC11A;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 70, 171, 0.4);
}

.clients-carousel-arrow:active {
  transform: scale(0.96);
}

.clients-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.client-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #CBD5E1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.client-dot.active {
  background-color: var(--primary-cobalt);
  width: 26px;
  border-radius: 5px;
}

@media (max-width: 767px) {
  .clients-carousel-wrapper {
    gap: 8px;
  }
  
  .clients-carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

.brand-logos-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}

.brand-col {
  width: 25%;
  padding: 0 8px;
  margin-bottom: 16px;
}

@media (max-width: 991px) {
  .brand-col {
    width: 25%;
  }
}

@media (max-width: 767px) {
  .brand-col {
    width: 50%;
  }
}

.brand-image {
  border: 1px solid #E2E8F0;
  padding: 14px 18px;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  border-radius: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.brand-image img {
  max-height: 55px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.brand-image img.brand-logo-prajay {
  max-height: 34px;
  max-width: 62%;
}

.brand-image:hover {
  border-color: var(--primary-cobalt);
  box-shadow: 0 6px 18px rgba(0, 70, 171, 0.15);
  transform: translateY(-2px);
}

.brand-image:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ==========================================================================
   12. FULL-WIDTH GOOGLE MAP & PLACE CARD
   ========================================================================== */
.google-map-wrap {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  border-top: 1px solid #E2E8F0;
  background-color: #E8EAED;
}

.google-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Floating Google Maps Place Card (Matches Google Maps Place Embed Card) */
.map-place-card {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2), 0 3px 12px rgba(0, 0, 0, 0.15);
  padding: 14px 16px;
  width: 340px;
  max-width: calc(100% - 32px);
  box-sizing: border-box;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  pointer-events: auto;
  transition: box-shadow 0.2s ease;
}

.map-place-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 6px 20px rgba(0, 0, 0, 0.18);
}

.map-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.map-card-title-wrap {
  flex: 1;
  min-width: 0;
}

.map-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #202124;
  line-height: 1.3;
  margin: 0;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.map-card-title:hover {
  color: #1a73e8;
  text-decoration: underline;
}

.map-card-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin-top: -2px;
}

.map-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #1a73e8;
  text-decoration: none;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.map-action-icon svg {
  display: block;
  flex-shrink: 0;
}

.map-action-icon:hover {
  background-color: rgba(26, 115, 232, 0.1);
  transform: scale(1.06);
}

.map-card-address {
  font-size: 12px;
  line-height: 1.45;
  color: #5f6368;
  margin-top: 6px;
  margin-bottom: 8px;
}

.map-card-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  line-height: 1;
}

.map-rating-score {
  font-weight: 600;
  color: #202124;
}

.map-rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #e37400; /* Google Maps gold star color */
  font-size: 11px;
}

.map-rating-count {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}

.map-rating-count:hover {
  text-decoration: underline;
}

.map-rating-info {
  display: inline-flex;
  align-items: center;
  color: #80868b;
  font-size: 11px;
  cursor: pointer;
  margin-left: 2px;
}

.map-rating-info:hover {
  color: #5f6368;
}

@media (max-width: 576px) {
  .google-map-wrap {
    height: 460px;
  }
  .map-place-card {
    top: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    padding: 12px 14px;
  }
  .map-card-title {
    font-size: 14px;
  }
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.footer {
  background-color: var(--primary-cobalt-deep);
  color: #CBD5E1;
  font-size: 14px;
}

.main-footer {
  padding: 60px 0 45px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.w-footer {
  margin-bottom: 30px;
}

.w-footer .widget-title {
  font-size: 18px;
  color: var(--color-cream);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.w-footer .widget-title span.light {
  color: #FFFFFF;
}

.w-footer .widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--color-cream);
}

.w-footer p {
  color: #CBD5E1;
  line-height: 1.7;
}

.w-footer ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.w-footer ul.menu li {
  margin-bottom: 9px;
  position: relative;
  padding-left: 14px;
}

.w-footer ul.menu li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--color-cream);
  font-size: 16px;
  font-weight: bold;
}

.w-footer ul.menu li a {
  color: #CBD5E1;
  transition: all 0.2s;
}

.w-footer ul.menu li a:hover {
  color: var(--color-cream);
  padding-left: 4px;
}

.bottom-footer {
  background-color: #00122E;
  padding: 22px 0;
  font-size: 13px;
  color: #94A3B8;
}

.bottom-footer .row {
  align-items: center;
}

.bottom-left p {
  margin: 0;
}

.bottom-right {
  text-align: right;
}

.bottom-right .social-icons {
  display: inline-flex;
  gap: 16px;
  align-items: center;
}

.bottom-right .social-icons a {
  color: var(--color-cream);
  font-size: 16px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bottom-right .social-icons a:hover {
  transform: translateY(-2px) scale(1.1);
}

.bottom-right .social-icons a[aria-label="Facebook"]:hover {
  color: #1877F2;
}

.bottom-right .social-icons a[aria-label="Instagram"]:hover {
  color: #E4405F;
}

.bottom-right .social-icons a[aria-label="YouTube"]:hover {
  color: #FF0000;
}

.bottom-right .social-icons a[aria-label="WhatsApp"]:hover {
  color: #25D366;
}

@media (max-width: 991px) {
  .bottom-left, .bottom-right {
    text-align: center;
    margin-bottom: 8px;
  }
}

/* ==========================================================================
   14. FLOATING UTILITIES (Call, WhatsApp & Back to Top)
   ========================================================================== */
.scrollToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  background-color: var(--primary-cobalt);
  color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border-radius: 3px;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 31, 77, 0.3);
  border: 1px solid var(--color-cream);
}

.scrollToTop.visible {
  opacity: 1;
  visibility: visible;
}

.scrollToTop:hover {
  background-color: var(--color-cream);
  color: var(--primary-cobalt);
}

/* Floating WhatsApp Widget */
.floating-wa-btn {
  position: fixed;
  bottom: 80px;
  right: 25px;
  width: 52px;
  height: 52px;
  background-color: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  z-index: 990;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

/* Floating Call Widget with Hover Tooltip */
.floating-call-btn-wrap {
  position: fixed;
  bottom: 144px;
  right: 25px;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.floating-call-btn {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #0056D2, #00368C);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 70, 171, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  animation: callPulse 2.5s infinite;
}

@keyframes callPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 70, 171, 0.6), 0 6px 18px rgba(0, 70, 171, 0.45);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(0, 70, 171, 0), 0 6px 18px rgba(0, 70, 171, 0.45);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 70, 171, 0), 0 6px 18px rgba(0, 70, 171, 0.45);
  }
}

.floating-call-btn-wrap:hover .floating-call-btn {
  transform: scale(1.1);
  background: linear-gradient(135deg, #0066FA, #0046AB);
  color: #FFC11A;
}

.floating-call-tooltip {
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background-color: #00173B;
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(250, 244, 230, 0.25);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.floating-call-tooltip::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 7px 0 7px 7px;
  border-style: solid;
  border-color: transparent transparent transparent #00173B;
}

.floating-call-btn-wrap:hover .floating-call-tooltip,
.floating-call-btn-wrap:focus .floating-call-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.floating-call-tooltip .call-name {
  display: block;
  color: #FFC11A;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.floating-call-tooltip .call-number {
  display: block;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  margin: 2px 0;
  letter-spacing: 0.3px;
}

.floating-call-tooltip .call-sub {
  display: block;
  color: #94A3B8;
  font-size: 11px;
  font-weight: 500;
}

.floating-call-tooltip .call-sub i {
  color: #25D366;
  margin-right: 4px;
}

@media (max-width: 767px) {
  .floating-call-btn-wrap {
    bottom: 130px;
    right: 18px;
  }

  .floating-call-btn {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .floating-wa-btn {
    bottom: 74px;
    right: 18px;
    width: 46px;
    height: 46px;
    font-size: 24px;
  }

  .scrollToTop {
    bottom: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
  }

  .floating-call-tooltip {
    right: 56px;
    padding: 8px 12px;
  }

  .floating-call-tooltip .call-name {
    font-size: 12px;
  }

  .floating-call-tooltip .call-number {
    font-size: 13px;
  }
}

/* Lightbox Modal (Multi-Image Project Gallery) */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 16px;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 15, 38, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1050px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  background-color: #00173B;
  border: 1px solid rgba(250, 244, 230, 0.22);
  border-radius: 12px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  animation: lightboxPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxPop {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background-color: #001026;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.lightbox-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lightbox-title {
  margin: 0;
  color: var(--color-cream);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.lightbox-counter {
  background-color: rgba(0, 70, 171, 0.6);
  color: #FFC11A;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 193, 26, 0.35);
  display: inline-block;
}

.lightbox-close {
  background: transparent;
  border: none;
  color: #CBD5E1;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s ease, transform 0.2s ease;
  outline: none;
}

.lightbox-close:hover {
  color: #FFC11A;
  transform: scale(1.15);
}

.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 280px;
  max-height: 60vh;
  background-color: #000B1A;
  overflow: hidden;
  padding: 10px 60px;
}

.lightbox-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#lightbox-img {
  max-width: 100%;
  max-height: 56vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#lightbox-img.fade-out {
  opacity: 0;
  transform: scale(0.98);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(0, 23, 59, 0.85);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
  outline: none;
  padding: 0;
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.lightbox-nav:hover {
  background-color: var(--primary-cobalt);
  border-color: #FFC11A;
  color: #FFC11A;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 18px rgba(0, 70, 171, 0.5);
}

.lightbox-footer {
  padding: 12px 18px 14px;
  background-color: #001026;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.lightbox-caption {
  color: #CBD5E1;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-thumbnails-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-cobalt) #001026;
}

.lightbox-thumbnails-wrapper::-webkit-scrollbar {
  height: 6px;
}

.lightbox-thumbnails-wrapper::-webkit-scrollbar-track {
  background: #001026;
}

.lightbox-thumbnails-wrapper::-webkit-scrollbar-thumb {
  background: var(--primary-cobalt);
  border-radius: 3px;
}

.lightbox-thumbnails {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lightbox-thumb {
  flex: 0 0 68px;
  height: 48px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: all 0.2s ease;
  background-color: #000;
}

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

.lightbox-thumb:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.lightbox-thumb.active {
  opacity: 1;
  border-color: #FFC11A;
  box-shadow: 0 0 10px rgba(255, 193, 26, 0.6);
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .lightbox-modal {
    padding: 8px;
  }

  .lightbox-container {
    max-height: 96vh;
    border-radius: 8px;
  }

  .lightbox-header {
    padding: 10px 14px;
  }

  .lightbox-title {
    font-size: 15px;
  }

  .lightbox-counter {
    font-size: 12px;
    padding: 2px 8px;
  }

  .lightbox-close {
    font-size: 26px;
  }

  .lightbox-stage {
    padding: 10px 45px;
    max-height: 50vh;
    min-height: 220px;
  }

  #lightbox-img {
    max-height: 48vh;
  }

  .lightbox-nav {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .lightbox-prev {
    left: 6px;
  }

  .lightbox-next {
    right: 6px;
  }

  .lightbox-footer {
    padding: 8px 12px 10px;
  }

  .lightbox-caption {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .lightbox-thumb {
    flex: 0 0 52px;
    height: 38px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
