/* 
 * ELOHIM AGENCY AND LOGISTICS LTD
 * Custom Styles & Premium Design System
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  /* Brand Color Palette */
  --brand-navy: #0A2E5C;      /* Deep rich royal navy from the logo */
  --brand-green: #0B7C3F;     /* Forest Green from the logo circular arc */
  --brand-red: #D3122A;       /* Vibrant red accent from the cargo ship */
  
  /* Brand Color Hover States */
  --brand-navy-hover: #072244;
  --brand-green-hover: #086131;
  --brand-red-hover: #B30F22;
  
  /* Color Mappings for Backward Compatibility & UI Styling */
  --navy-dark: var(--brand-navy);
  --navy-medium: #051F42;
  --navy-light: #113D75;
  
  /* Keep --primary-red as Forest Green to preserve legacy template classes */
  --primary-red: var(--brand-green);
  --primary-red-hover: var(--brand-green-hover);
  --primary-red-rgb: 11, 124, 63;
  
  /* General Colors */
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  
  /* Typography & Effects */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Global Reset & Base Styles */
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  color: var(--navy-dark);
  font-weight: 700;
}

p {
  color: var(--text-muted);
}

a {
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--navy-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red);
}

/* Premium Buttons */
.btn-custom-red {
  background-color: var(--primary-red);
  color: var(--bg-white);
  font-weight: 600;
  font-family: var(--font-heading);
  padding: 10px 26px;
  border-radius: 4px;
  border: 2px solid var(--primary-red);
  transition: var(--transition-smooth);
}
.btn-custom-red:hover {
  background-color: var(--primary-red-hover);
  border-color: var(--primary-red-hover);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 124, 63, 0.2);
}

.btn-custom-outline {
  background-color: transparent;
  color: var(--bg-white);
  font-weight: 600;
  font-family: var(--font-heading);
  padding: 10px 26px;
  border-radius: 4px;
  border: 2px solid var(--bg-white);
  transition: var(--transition-smooth);
}
.btn-custom-outline:hover {
  background-color: var(--bg-white);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

/* Top Bar Styling */
.top-bar {
  background-color: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.825rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-smooth);
}
.top-bar a:hover {
  color: var(--primary-red);
}
.top-bar-divider {
  width: 1px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.2);
  display: inline-block;
  margin: 0 12px;
  vertical-align: middle;
}
.top-bar .social-icons a {
  margin-left: 14px;
  font-size: 0.9rem;
}

/* Navbar Customization */
.custom-navbar {
  background-color: var(--bg-white);
  padding: 16px 0;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}
.custom-navbar.navbar-scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  animation: slideDown 0.4s ease-out;
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.custom-navbar .nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--navy-dark);
  font-size: 0.95rem;
  padding: 8px 16px !important;
  position: relative;
  transition: var(--transition-smooth);
}
.custom-navbar .nav-link:hover, 
.custom-navbar .nav-link.active {
  color: var(--primary-red);
}
.custom-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: var(--primary-red);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}
.custom-navbar .nav-link:hover::after,
.custom-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.custom-navbar .navbar-brand svg {
  height: 48px;
  width: auto;
}

/* Hero Section with Parallax Slider */
.hero-slider-section {
  position: relative;
  min-height: 85vh;
  background-color: var(--navy-dark);
  overflow: hidden;
}
.hero-slider-section .carousel,
.hero-slider-section .carousel-inner,
.hero-slider-section .carousel-item {
  min-height: 85vh;
  height: 100%;
}
.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(7, 22, 44, 0.82) 0%, rgba(7, 22, 44, 0.6) 100%);
  z-index: 2;
}
.hero-slide-content {
  position: relative;
  z-index: 3;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: var(--bg-white);
  padding: 120px 0;
}
.hero-title {
  color: var(--bg-white);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  max-width: 650px;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.95);
}

/* Animations for slider content */
.carousel-item .hero-title {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}
.carousel-item .hero-subtitle {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}
.carousel-item .hero-btn-group {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.carousel-item.active .hero-title,
.carousel-item.active .hero-subtitle,
.carousel-item.active .hero-btn-group {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Slider Controls */
.hero-slider-section .carousel-control-prev,
.hero-slider-section .carousel-control-next {
  width: 8%;
  z-index: 10;
  opacity: 0.65;
  transition: var(--transition-smooth);
}
.hero-slider-section .carousel-control-prev:hover,
.hero-slider-section .carousel-control-next:hover {
  opacity: 1;
}
.hero-slider-section .carousel-control-prev-icon,
.hero-slider-section .carousel-control-next-icon {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition-smooth);
}
.hero-slider-section .carousel-control-prev-icon:hover,
.hero-slider-section .carousel-control-next-icon:hover {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
}
.hero-slider-section .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 6px;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  transition: var(--transition-smooth);
  position: relative;
  bottom: 20px;
}
.hero-slider-section .carousel-indicators .active {
  background-color: var(--brand-green);
  transform: scale(1.2);
}

/* Feature Grid Highlights */
.highlights-section {
  background-color: var(--bg-white);
  padding: 60px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.highlight-col {
  position: relative;
  padding: 20px 30px;
}
.highlight-col::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.08);
}
.highlight-col:last-child::after {
  display: none;
}
.highlight-icon {
  font-size: 2.2rem;
  color: var(--primary-red);
  margin-bottom: 18px;
  transition: var(--transition-smooth);
}
.highlight-col:hover .highlight-icon {
  transform: translateY(-5px) scale(1.05);
}
.highlight-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.highlight-text {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--text-muted);
}

/* About Us Section */
.about-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}
.about-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}
.about-image-wrapper:hover img {
  transform: scale(1.03);
}
.section-badge {
  font-family: var(--font-heading);
  color: var(--primary-red);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.section-badge::before {
  content: '';
  width: 18px;
  height: 2px;
  background-color: var(--primary-red);
  display: inline-block;
  margin-right: 8px;
}
.about-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.25;
}
.about-text {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}
.services-header {
  margin-bottom: 60px;
}
.services-header .section-badge {
  justify-content: center;
}
.services-header .section-badge::before {
  margin-right: 8px;
}
.services-header .section-badge::after {
  content: '';
  width: 18px;
  height: 2px;
  background-color: var(--primary-red);
  display: inline-block;
  margin-left: 8px;
}
.services-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.services-subtitle {
  font-size: 0.975rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: 6px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card-top {
  margin-bottom: 24px;
}
.service-icon-container {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(11, 124, 63, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  transition: var(--transition-smooth);
}
.service-icon-container i {
  font-size: 1.8rem;
  color: var(--primary-red);
  transition: var(--transition-smooth);
}
.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}
.service-card-link {
  font-family: var(--font-heading);
  color: var(--primary-red);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}
.service-card-link i {
  margin-left: 6px;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11, 124, 63, 0.15);
}
.service-card:hover .service-icon-container {
  background-color: var(--primary-red);
}
.service-card:hover .service-icon-container i {
  color: var(--bg-white);
  transform: rotate(360deg);
}
.service-card:hover .service-card-link i {
  transform: translateX(5px);
}

/* Statistics Counter Bar */
.stats-section {
  position: relative;
  background-image: url('../assets/hero-bg.png');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  padding: 80px 0;
  color: var(--bg-white);
}
.stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(7, 22, 44, 0.88);
  z-index: 1;
}
.stats-container {
  position: relative;
  z-index: 2;
}
.stats-item {
  display: flex;
  align-items: center;
  padding: 15px;
}
.stats-icon-box {
  font-size: 2.5rem;
  color: var(--bg-white);
  margin-right: 20px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stats-number {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--bg-white);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.stats-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

/* Footer Styling */
.footer-section {
  background-color: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0 0;
  font-size: 0.9rem;
}
.footer-logo-text {
  font-family: var(--font-heading);
  color: var(--bg-white);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 4px;
}
.footer-logo-sub {
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.footer-about-text {
  line-height: 1.6;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--bg-white);
  margin-right: 10px;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}
.footer-social-icons a:hover {
  background-color: var(--primary-red);
  color: var(--bg-white);
  transform: translateY(-3px);
}

.footer-column-title {
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}
.footer-column-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 25px;
  height: 2px;
  background-color: var(--primary-red);
}

.footer-links-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.footer-links-list li {
  margin-bottom: 12px;
}
.footer-links-list a {
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  transition: var(--transition-smooth);
}
.footer-links-list a:hover {
  color: var(--primary-red);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  margin-bottom: 16px;
}
.footer-contact-icon {
  color: var(--primary-red);
  font-size: 1.05rem;
  margin-right: 14px;
  margin-top: 3px;
}
.footer-contact-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.5;
}
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-contact-item a:hover {
  color: var(--primary-red);
}

.copyright-bar {
  background-color: var(--primary-red);
  color: var(--bg-white);
  padding: 16px 0;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 500;
}

/* Responsiveness Adjustments */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .highlight-col::after {
    display: none;
  }
  .highlight-col {
    padding: 20px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .highlight-col:last-child {
    border-bottom: none;
  }
  .about-section, .services-section {
    padding: 70px 0;
  }
  .about-image-wrapper {
    margin-bottom: 40px;
  }
  .stats-item {
    justify-content: center;
    margin-bottom: 25px;
  }
  .stats-item:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .top-bar {
    display: none; /* Hide top bar on very small devices */
  }
}

/* ==========================================
   SUBPAGE STYLING (Contact, Services, Projects)
   ========================================== */

/* Subpage Header Banner */
.page-header {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--bg-white);
  padding: 60px 0;
}
.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(7, 22, 44, 0.92) 0%, rgba(7, 22, 44, 0.65) 100%);
  z-index: 1;
}
.page-header-container {
  position: relative;
  z-index: 2;
}
.page-header-title {
  color: var(--bg-white);
  font-size: 2.85rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.page-header-breadcrumbs {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.page-header-breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
}
.page-header-breadcrumbs a:hover {
  color: var(--primary-red);
}
.page-header-breadcrumbs span {
  color: var(--primary-red);
}
.page-header-subtext {
  max-width: 650px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

/* Info Box Cards (Contact Page) */
.info-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  padding: 35px 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  height: 100%;
}
.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11, 124, 63, 0.15);
}
.info-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: rgba(11, 124, 63, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.35rem;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}
.info-card:hover .info-icon-circle {
  background-color: var(--primary-red);
  color: var(--bg-white);
}
.info-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--navy-dark);
}
.info-card-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.info-card-text p {
  margin-bottom: 8px;
}
.info-card-text p:last-child {
  margin-bottom: 0;
}
.info-card-text a {
  color: var(--text-muted);
}
.info-card-text a:hover {
  color: var(--primary-red);
}

/* Map Section Styles (Contact Page) */
.map-outer-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}
#contact-map {
  width: 100%;
  height: 480px;
  min-height: 400px;
  background-color: #e5e3df;
}
/* Leaflet brand adjustments */
.leaflet-popup-content-wrapper {
  border-radius: 6px !important;
  font-family: var(--font-body);
}
.leaflet-popup-content h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-dark);
}

/* Custom Checkbox Checklist for Services */
.service-checklist {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
}
.service-checklist li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  color: var(--text-dark);
}
.service-checklist li i {
  color: var(--primary-red);
  margin-right: 12px;
  font-size: 0.9rem;
}

/* Detailed Alternating Service Rows */
.service-detail-row {
  margin-bottom: 80px;
  align-items: center;
}
.service-detail-row:last-child {
  margin-bottom: 0;
}
.service-detail-img-box {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}
.service-detail-img-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}
.service-detail-img-box:hover img {
  transform: scale(1.03);
}

/* Why Choose Us Section Badge Grid */
.why-badge-col {
  padding: 20px 15px;
}
.why-badge-card {
  text-align: center;
  background-color: var(--bg-white);
  padding: 30px 20px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
  height: 100%;
}
.why-badge-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 124, 63, 0.12);
}
.why-badge-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(11, 124, 63, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.5rem;
  margin: 0 auto 20px auto;
  transition: var(--transition-smooth);
}
.why-badge-card:hover .why-badge-icon {
  background-color: var(--primary-red);
  color: var(--bg-white);
}
.why-badge-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0;
  color: var(--navy-dark);
}

/* Projects Counter Overlay Box */
.projects-counter-overlay {
  background-color: var(--bg-white);
  border-radius: 8px;
  padding: 25px;
  box-shadow: var(--shadow-lg);
  margin-top: -60px;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.projects-counter-item {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}
.projects-counter-item:last-child {
  border-right: none;
}
.projects-counter-icon {
  font-size: 2.2rem;
  color: var(--primary-red);
  margin-right: 20px;
}
.projects-counter-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.1;
  margin-bottom: 4px;
}
.projects-counter-lbl {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Project Highlights Cards */
.project-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  height: 100%;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.project-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.project-card:hover .project-card-img img {
  transform: scale(1.05);
}
.project-card-content {
  padding: 25px;
}
.project-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.project-card-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Esteemed Client List Items */
.client-list-box {
  background-color: var(--bg-light);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.02);
}
.client-item {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy-dark);
}
.client-item i {
  color: var(--primary-red);
  font-size: 0.85rem;
  margin-right: 12px;
}

/* Milestone Timeline Elements */
.milestone-timeline {
  position: relative;
  padding-left: 30px;
}
.milestone-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background-color: rgba(11, 124, 63, 0.15);
}
.milestone-item {
  position: relative;
  margin-bottom: 25px;
}
.milestone-item:last-child {
  margin-bottom: 0;
}
.milestone-marker {
  position: absolute;
  left: -30px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--primary-red);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 2px rgba(11, 124, 63, 0.2);
}
.milestone-year {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-red);
  margin-bottom: 4px;
}
.milestone-desc {
  font-size: 0.875rem;
  color: var(--text-dark);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Testimonial Bubble Layout */
.testimonial-block {
  margin-bottom: 25px;
}
.testimonial-block:last-child {
  margin-bottom: 0;
}
.testimonial-bubble {
  background-color: var(--bg-light);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.02);
  margin-bottom: 15px;
}
.testimonial-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 25px;
  width: 16px;
  height: 16px;
  background-color: var(--bg-light);
  transform: rotate(45deg);
  border-right: 1px solid rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}
.testimonial-text {
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--navy-dark);
}
.testimonial-author {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-red);
  padding-left: 20px;
}

/* Call to Action Bar Banner Strip */
.cta-strip {
  background-color: var(--primary-red);
  color: var(--bg-white);
  padding: 40px 0;
}
.cta-strip-dark {
  position: relative;
  background-image: url('../assets/hero-bg.png');
  background-size: cover;
  background-position: center center;
  padding: 50px 0;
  color: var(--bg-white);
}
.cta-strip-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(7, 22, 44, 0.92);
  z-index: 1;
}
.cta-strip-dark .container {
  position: relative;
  z-index: 2;
}

/* Responsiveness Subpages adjustments */
@media (max-width: 991.98px) {
  .page-header {
    height: 300px;
  }
  .page-header-title {
    font-size: 2.2rem;
  }
  .projects-counter-overlay {
    margin-top: 20px;
  }
  .projects-counter-item {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 15px 0;
  }
  .projects-counter-item:last-child {
    border-bottom: none;
  }
  .service-detail-row {
    margin-bottom: 50px;
  }
}

/* ==========================================
   OUR TEAM PAGE STYLING
   ========================================== */
.team-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  height: 100%;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11, 124, 63, 0.15);
}
.team-img-wrapper {
  position: relative;
  height: 320px;
  overflow: hidden;
  background-color: var(--bg-light);
}
.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: var(--transition-smooth);
}
.team-card:hover .team-img-wrapper img {
  transform: scale(1.04);
}
.team-card-content {
  padding: 25px;
}
.team-member-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 4px;
}
.team-member-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}
.team-member-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}
.team-member-contact {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 15px;
  font-size: 0.8rem;
}
.team-member-contact li {
  margin-bottom: 8px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}
.team-member-contact li:last-child {
  margin-bottom: 0;
}
.team-member-contact li i {
  color: var(--primary-red);
  margin-right: 10px;
  width: 14px;
  text-align: center;
}
.team-member-contact a {
  color: var(--text-muted);
}
.team-member-contact a:hover {
  color: var(--primary-red);
}

/* Redefine Bootstrap Danger text/background color mapping to Forest Green for brand harmony */
.text-danger {
  color: var(--primary-red) !important;
}
.bg-danger {
  background-color: var(--primary-red) !important;
}
.btn-danger {
  background-color: var(--primary-red) !important;
  border-color: var(--primary-red) !important;
}
.btn-danger:hover {
  background-color: var(--primary-red-hover) !important;
  border-color: var(--primary-red-hover) !important;
}

/* Ensure all highlight icons and list markers align to the Forest Green brand style */
.top-bar-contact i, 
.footer-contact-icon, 
.footer-contact-item i,
.contact-map-icon,
.info-icon-circle i,
.highlight-icon i,
.service-checklist li i,
.milestone-year,
.milestone-marker,
.testimonial-author i,
.client-item i {
  color: var(--primary-red) !important;
}


