.hero-section {
position: relative;
width: 100vw;
overflow: hidden;
/* Height set by JS to fit viewport minus navbar */
}

.hero-slide {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background-size: cover;
background-position: center;
opacity: 0;
transition: opacity 0.7s;
z-index: 1;
display: flex;
align-items: center;
}

.hero-slide.active {
opacity: 1;
z-index: 2;
position: relative;
}

.hero-slide-content {
position: relative;
z-index: 10;
height: 100%;
display: flex;
align-items: center;
}

.hero-slide-left {
color: #fff;
padding: 2rem 1rem 2rem 0;
background: rgba(5,15,25,0.16);
border-radius: 1rem;
}

.hero-title {
font-size: clamp(2rem, 5vw, 3rem);
font-weight: 700;
margin-bottom: 1rem;
}

.hero-desc {
font-size: 1rem;
}

.hero-cta {
background: #fff;
color: #0a1835;
font-weight: 600;
font-size: 1rem;
padding: 0.67em 2em;
border-radius: 0.3em;
border: none;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
transition: background .22s, color .22s;
}
.hero-cta:hover,
.hero-cta:focus {
background: #0a83ef;
color: #fff;
}

/* Dots navigation at bottom */
.carousel-dots {
position: absolute;
left: 50%;
bottom: 20px;
transform: translateX(-50%);
z-index: 50;
display: flex;
gap: 14px;
}

.carousel-dot {
    display: inline-block;
    width: 32px;            /* Dash length */
    height: 8px;            /* Dash thickness */
    background: #fff;       /* Dash color */
    border: none;
    border-radius: 3px;     /* Slightly rounded ends */
    margin: 0 2px;
    cursor: pointer;
}
.carousel-dot.active,
.carousel-dot:hover,
.carousel-dot:focus {
background: #eb3136;
outline: none;
}

/* RESPONSIVE */
@media (max-width: 991px) {
.hero-slide-left {
    padding: 1.3rem 0.8rem;
    text-align: center;
    border-radius: 1rem;
}
.hero-title {
    font-size: 2rem;
}
.hero-desc {
    font-size: 1rem;
}
}
@media (max-width: 767px) {
.hero-slide-content .row {
    flex-direction: column !important;
    text-align: center;
}
.hero-title {
    font-size: 1.1rem;
}
.hero-desc {
    font-size: 1rem;
}
.hero-slide-left, .hero-slide-right {
    padding: 1.1rem 0 !important;
}
.carousel-dots {
    bottom: 12px;
}
}
/* images hexagons */
/* Fixed background section */
.fixed-bg-section {
    background-image: url('assets/home/why.jpg'); /* Replace with your correct image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
    padding: 60px 0; /* Vertical padding for spacing */
  }
  
  /* Overlay to improve text readability */

  
  /* Make sure container and lineEl content are above overlay */
  .fixed-bg-section .container,
  .fixed-bg-section .lineEl {
    position: relative;
    z-index: 3;
  }
  
  /* Section base padding */
  .section {
    padding: 4rem 0;
  }
  
  /* Container max width & centering */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* Center text utility */
  .text-center {
    text-align: center;
  }
  
  /* Stats Grid */
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  @media (min-width: 768px) {
    .stats-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  /* Stat Card */
  .stat-card {
    background: white;
    padding: 2rem 1rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 2px 12px 0 #0001;
    border: 1px solid #e5e7eb;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .fixed-bg-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.7); /* Adjust opacity/color as needed */
    pointer-events: none;
    z-index: 2;
  }
  .stat-card:hover {
    border-color: #ef4444;
    box-shadow: 0 4px 20px 0 #ef444420;
  }
  
  /* Stat number */
  .stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #ef4444;
    margin-bottom: 0.5rem;
  }
  
  /* Stat label */
  .stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
  }
  
  /* Stat sub text */
  .stat-sub {
    color: #6b7280;
    font-size: 0.97rem;
  }
  
  /* Responsive font sizes */
  @media (max-width: 991px) and (min-width: 768px) {
    .stat-number {
      font-size: 1.5rem;
    }
    .stat-label {
      font-size: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .stat-card {
      padding: 1.3rem 0.7rem;
    }
    .stat-number {
      font-size: 1.2rem;
    }
  }
  