:root {
  --primary: #0ea57a;
  --primary-light: #00d1a5;
  --primary-dark: #008166;
  --secondary: #060d13;
  --accent: #0e1a24;
  --glass: rgba(14, 26, 36, 0.7);
  --glass-border: rgba(0, 168, 132, 0.2);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --card-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}


/* --- Custom Cursor --- */
#custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.2s ease, background 0.3s ease, width 0.3s ease,
    height 0.3s ease;
  display: none;
}

#custom-cursor.hovering {
  transform: scale(3.5);
  background: rgba(0, 168, 132, 0.3);
  mix-blend-mode: normal;
}

#custom-cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.1s ease-out;
  display: none;
}

@media (min-width: 992px) {
  #custom-cursor,
  #custom-cursor-follower {
    display: block;
  }
}

/* --- Global Contrast Fix --- */
.text-muted {
  color: #94a3b8 !important;
}

p {
  color: #cbd5e1 !important;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #ffffff !important;
}

/* --- Form Controls --- */
.bg-darker {
  background-color: #0e1a24 !important;
  border-color: #334155 !important;
}

.form-control {
  color: #ffffff !important;
}

.form-control:focus {
  background-color: #0e1a24 !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 168, 132, 0.25) !important;
}

html,
body {
  font-family: "Inter", sans-serif;
  background-color: var(--secondary);
  color: var(--text-main);
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.6;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.03;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4,
.navbar-brand {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-dark);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- Scroll Progress --- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  z-index: 10001;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(0, 168, 132, 0.5);
}

/* --- Navbar --- */
.navbar {
  backdrop-filter: blur(15px);
  background: rgba(6, 13, 19, 0.8);
  border-bottom: 1px solid rgba(0, 168, 132, 0.1);
  padding: 1.25rem 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1000;
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(6, 13, 19, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar-toggler {
  padding: 0.5rem;
  z-index: 1001;
  border: none !important;
}

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

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  width: 32px;
  height: 32px;
}


.navbar-brand img {
  height: 48px;
  filter: brightness(1.1);
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  color: #cbd5e1 !important;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin: 0 1rem;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 10px;
  box-shadow: 0 0 10px var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-cta {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  box-shadow: 0 10px 20px -5px rgba(0, 168, 132, 0.3);
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(0, 168, 132, 0.4);
  color: white;
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Ffilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(6, 13, 19, 0.1) 0%,
    rgba(6, 13, 19, 0.6) 100%
  );
  z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.video-controls {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
}

#audioToggle {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

#audioToggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

#audioToggle i {
  font-size: 1.25rem;
}

/* --- Back to Top --- */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 1000;
  border: none;
  box-shadow: 0 10px 20px rgba(0, 168, 132, 0.3);
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:not(.visible) {
  transform: translateY(20px);
}

#backToTop:hover {
  background: var(--primary-light);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 168, 132, 0.4);
}

#backToTop i {
  font-size: 1.5rem;
}

.hero-badge {
  background: rgba(0, 168, 132, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid var(--primary);
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light);
  display: inline-block;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  background: linear-gradient(to right, #ffffff, var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #e2e8f0 !important;
  max-width: 650px;
  margin-bottom: 3.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

/* --- Services --- */
.section-padding {
  padding: 120px 0;
}

.section-header {
  max-width: 800px;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1.5rem;
  color: #ffffff !important;
}

.section-header p {
  color: #cbd5e1 !important;
  font-size: 1.25rem;
  opacity: 1;
  font-weight: 400;
}

.letter-spacing-2 {
  letter-spacing: 2px;
  color: var(--primary-light) !important;
  font-weight: 800 !important;
}

.service-card {
  background: var(--accent);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 3.5rem 2.5rem;
  height: 100%;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.service-card:hover {
  transform: translateY(-15px);
  border-color: var(--primary);
  background: rgba(0, 168, 132, 0.05);
  box-shadow: 0 40px 80px -20px rgba(0, 168, 132, 0.15);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(0, 168, 132, 0.2),
    rgba(0, 168, 132, 0.05)
  );
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2.5rem;
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  color: var(--text-main) !important;
}

.service-card p {
  color: var(--text-muted) !important;
  margin-bottom: 0;
}

/* --- Projects Grid --- */
.project-item {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 8, 13, 0.95) 0%,
    rgba(0, 168, 132, 0.4) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-overlay h5 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.project-overlay p {
  color: var(--primary-light) !important;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.7rem;
}

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

.project-item:hover .project-overlay {
  opacity: 1;
}

.project-overlay .exp-icon {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
  opacity: 1;
}


/* --- Safety Section --- */
.safety-highlight {
  background: linear-gradient(
    135deg,
    rgba(14, 26, 36, 0.8) 0%,
    rgba(6, 13, 19, 0.9) 100%
  );
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  padding: 5rem;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 100px 0 40px;
  background: #04080d;
}

.footer h5 {
  color: #ffffff !important;
  font-weight: 700;
}

.footer p,
.footer span {
  color: #cbd5e1 !important;
}

.footer-office h6 {
  color: var(--primary-light) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.footer-office p {
  color: #94a3b8 !important;
  line-height: 1.4;
}

.footer .text-muted {
  color: #94a3b8 !important;
}

/* --- Projects Hero --- */
.projects-hero {
    position: relative;
    padding-top: 220px;
    padding-bottom: 150px;
    background: #060d13;
    overflow: hidden;
}

.projects-hero-visuals {
    position: relative;
    width: 100%;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align visuals to the right */
}

/* Layer 1: Tower Base (Deep Background) */
.projects-hero-tower {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.9;
}

.projects-hero-tower img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-fit: cover;
    border-radius: 0;
}

/* Layer 2: Main Graphic (The "Green Thing") */
.projects-hero-main {
    position: absolute;
    width: 120%;
    height: auto;
    left: -10%;
    z-index: 2;
    will-change: transform;
}

.projects-hero-main img {
    width: 100%;
    height: auto;
    object-fit: contain;
    animation: projectZoom 40s infinite alternate ease-in-out;
    opacity: 1;
    border-radius: 0;
}

/* Layer 3: Person Foreground */
.projects-hero-person {
    position: absolute;
    bottom: -100px;
    right: 0;
    width: 95%;
    z-index: 3;
    will-change: transform;
    pointer-events: none;
}

.projects-hero-person img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 50px 100px rgba(0,0,0,0.8));
    border-radius: 0;
}

@keyframes projectZoom {
    0% { transform: scale(1) translateX(0); }
    100% { transform: scale(1.1) translateX(-20px); }
}

@media (max-width: 1200px) {
    .projects-hero-visuals {
        height: 600px;
    }
}

@media (max-width: 991px) {
    .projects-hero {
        padding-top: 160px;
        padding-bottom: 60px;
        text-align: center;
    }
    .projects-hero-visuals {
        display: none;
    }
    .projects-hero-tower {
        width: 100%;
        height: 100%;
        border-radius: 30px;
        overflow: hidden;
    }
    .projects-hero-tower img {
        border-radius: 30px;
    }
    .projects-hero-main {
        width: 130%;
        left: -15%;
    }
    .projects-hero-person {
        width: 100%;
        bottom: -30px;
        right: 0;
    }
    .projects-hero .hero-btns {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .projects-hero {
        padding-bottom: 40px;
    }
    .projects-hero-visuals {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .projects-hero-visuals {
        height: 320px;
    }
    .projects-hero-person {
        bottom: -20px;
    }
    .projects-hero-main {
        width: 150%;
        left: -25%;
    }
}

/* --- Responsive Adjustments --- */
/* --- Hero Carousel --- */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-carousel .swiper {
    width: 100%;
    height: 100%;
}

.hero-carousel .hero-sub {
    height: 100vh;
    min-height: 700px;
    padding-top: 100px;
    display: flex;
    align-items: center;
}

/* Swiper Navigation Customization */
.hero-carousel .swiper-button-next,
.hero-carousel .swiper-button-prev {
    color: #ffffff;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-carousel .swiper-button-next:after,
.hero-carousel .swiper-button-prev:after {
    font-size: 1.5rem;
    font-weight: bold;
}

.hero-carousel .swiper-button-next:hover,
.hero-carousel .swiper-button-prev:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.hero-carousel .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 6px !important;
}

.hero-carousel .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
}

/* Carousel Animations */
.hero-carousel .animate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-carousel .swiper-slide-active .animate-item {
    opacity: 1;
    transform: translateY(0);
}

.hero-carousel .swiper-slide-active .animate-item:nth-child(1) { transition-delay: 0.2s; }
.hero-carousel .swiper-slide-active .animate-item:nth-child(2) { transition-delay: 0.4s; }
.hero-carousel .swiper-slide-active .animate-item:nth-child(3) { transition-delay: 0.6s; }
.hero-carousel .swiper-slide-active .animate-item:nth-child(4) { transition-delay: 0.8s; }

@media (max-width: 991px) {
  .section-padding {
    padding: 80px 0;
  }
  .navbar-toggler {
    /* Resetting/Small spacing */
    margin-right: 10px; 
  }
  .safety-highlight {
    padding: 3rem 1.5rem;
  }
  .project-overlay {
    opacity: 1;
  }
  .hero-carousel, .hero-carousel .hero-sub {
    height: auto;
    min-height: 85vh;
    padding-top: 140px;
    padding-bottom: 80px;
  }
  .hero-carousel .swiper-button-next,
  .hero-carousel .swiper-button-prev {
      display: none;
  }
}

/* --- About Us Special Sections --- */
.bg-light { background-color: #f8f9fa !important; }
.bg-white { background-color: #ffffff !important; }
.text-dark { color: #1f1f25 !important; }

.lead-styled {
    font-size: 1.15rem;
    font-weight: 500;
    color: #475569 !important;
}

.mission-card-float {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    border: 1px solid rgba(0, 168, 132, 0.1);
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: #0ea57a;
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.experience-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

.exp-icon {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.experience-item h5 {
    color: #1f1f25 !important;
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.experience-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.experience-card .exp-icon {
    color: var(--primary-light);
    opacity: 1;
    font-size: 1.2rem;
}

.experience-card h5 {
    color: #ffffff !important;
    font-weight: 600;
}

.experience-card p {
    color: #94a3b8 !important;
    margin-bottom: 0;
    line-height: 1.5;
}


.project-mini-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.project-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.project-mini-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-mini-card h6 {
    color: #1f1f25 !important;
    margin-bottom: 0;
    font-weight: 700;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.03);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(0, 168, 132, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1.5rem;
}

.value-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 0.85rem;
    color: #94a3b8 !important;
    margin-bottom: 0;
}

.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 991px) {
    .col-lg-2-4 {
        width: 50%;
    }
}

@media (max-width: 575px) {
    .col-lg-2-4 {
        width: 100%;
    }
}

/* --- Hero Call Section --- */
.hero-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.hero-call-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-call-item:hover {
  transform: translateY(-2px);
}

.hero-call-icon {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-call-text span {
  display: block;
}

.hero-call-label {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.hero-call-number {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 768px) {
  .hero-cta-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

/* --- Safety Hero Specific --- */
.hero-sub.safety-hero {
    background-image: linear-gradient(rgba(10, 11, 14, 0.1), rgba(10, 11, 14, 0.4)), url('../assets/img/safety.png') !important;
    background-position: center 25% !important; /* Keeps heads in frame */
    background-size: cover;
    padding-top: 280px;
    padding-bottom: 120px;
}

@media (max-width: 991px) {
    .hero-sub.safety-hero {
        padding-top: 180px;
        padding-bottom: 60px;
        background-position: center 20% !important;
    }
}

.hidden-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* --- Map UI --- */
/* Styles for refined Leaflet markers, clusters and selected state */
.map-logo-marker {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  transform: translateY(-12px);
  border: 3px solid rgba(255, 255, 255, 0.04);
  background: #fff;
}

.map-logo-marker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
}

/* decorative stripe similar to reference */
.map-logo-marker::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 26px;
  height: 100%;
  transform: rotate(-18deg);
  background: linear-gradient(135deg, rgba(0,0,0,0.18) 0 40%, rgba(255,255,255,0.06) 40% 60%, rgba(0,0,0,0.18) 60%);
  mix-blend-mode: multiply;
  pointer-events: none;
  opacity: 0.9;
}

/* cluster bubble */
.map-cluster {
  background: rgba(54, 171, 216, 0.96);
  color: #fff;
  border-radius: 999px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(0,0,0,0.55);
  font-weight: 700;
  font-size: 16px;
  border: 3px solid rgba(255,255,255,0.06);
}

/* reset default DivIcon look */
.leaflet-div-icon {
  background: transparent !important;
  border: none !important;
}

/* selected location-card (keeps parity with map visual) */
.location-card.selected {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,217,163,0.18);
  border-color: #00D9A3 !important;
  background: rgba(0,217,163,0.06) !important;
}

/* responsive marker sizes on small screens */
@media (max-width: 768px) {
  .map-logo-marker { width: 48px; height: 48px; transform: translateY(-8px); }
  .map-cluster { width: 44px; height: 44px; font-size: 14px; }
}

/* --- Map color adjustments --- */
#map {
    position: relative;
    background: #1a4d3e;
}

/* Softer green tint on tiles */
.leaflet-tile-container img {
    filter: brightness(0.75) saturate(1.4) hue-rotate(25deg) contrast(1.05) !important;
}

/* Subtle green overlay */
#map::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 200, 160, 0.18);
    pointer-events: none;
    mix-blend-mode: multiply;
    z-index: 400;
}

@media (min-width: 1200px) {
    .leaflet-tile-container img {
        filter: brightness(0.72) saturate(1.5) hue-rotate(30deg) contrast(1.08) !important;
    }

    #map::after {
        background: rgba(0, 200, 160, 0.22);
    }
}

#map.no-tint::after {
    display: none;
}