@media (max-width: 767.98px) {
  .efbi-hero-content h1 {
    font-size: 1.5rem;
  }
  .efbi-hero-content {
    padding: 1.2rem 0.5rem;
  }
  .efbi-hero-content p {
    font-size: 1rem;
    word-break: break-word;
    white-space: normal;
    max-width: 100vw;
    overflow-wrap: break-word;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }
}
/* Responsive button group for hero section */
.hero-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1.5rem;
}

@media (max-width: 767.98px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

/* Hide top header bar on mobile */
@media (max-width: 1023px) {
  .header-top {
    display: none !important;
  }
}


.efbi-hero-section {
  width: 100vw;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: #0a192f;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.efbi-hero-slider {
  width: 100vw;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.efbi-hero-slide {
  min-height: 100vh;
  height: 100vh;
  width: 100vw;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.efbi-hero-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,25,47,0.6);
  z-index: 1;
}

.efbi-hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
  color: #fff;
  text-align: center;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2.5rem 1.5rem;
  background: rgba(23, 42, 69, 0);
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  backdrop-filter: blur(1px);
  border: 1.5px solid rgba(255,255,255,0.08);
}

.efbi-hero-content h1 {
  font-size: 2.7rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.efbi-hero-content p {
  font-size: 1.22rem;
  margin-bottom: 2.2rem;
  opacity: 0.97;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.13);
}
.efbi-hero-btn {
  display: inline-block;
  margin: 0.5rem 0.5rem 0 0.5rem;
  padding: 0.85rem 2.5rem;
  font-size: 1.13rem;
  font-weight: 700;
  border-radius: 2.2rem;
  border: none;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  letter-spacing: 0.5px;
  outline: none;
  cursor: pointer;
}
.efbi-hero-btn-primary {
  background: #C3392E;
  color: #fff;
  border: 2px solid #C3392E;
}
.efbi-hero-btn-primary:hover, .efbi-hero-btn-primary:focus {
  background: #9E2D24;
  color: #fff;
  border-color: #9E2D24;
  box-shadow: 0 4px 18px rgba(195,57,46,0.18);
}
.efbi-hero-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.efbi-hero-btn-outline:hover, .efbi-hero-btn-outline:focus {
  background: #fff;
  color: #C3392E;
  border-color: #fff;
  box-shadow: 0 4px 18px rgba(255,255,255,0.13);
}
/* Tiny Slider Controls & Dots Polishing */
.tns-nav {
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 38px;
  margin: 0 auto;
  z-index: 12;
}
.tns-nav button {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #C3392E;
  margin: 0 6px;
  opacity: 0.5;
  transition: all 0.2s;
  display: inline-block;
  padding: 0;
}
.tns-nav button.tns-nav-active {
  background: #C3392E;
  opacity: 1;
  border-color: #C3392E;
  transform: scale(1.18);
}
.tns-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}
.tns-controls button {
  pointer-events: auto;
  background: rgba(23,42,69,0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, transform 0.18s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
}
.tns-controls button:hover, .tns-controls button:focus {
  background: #C3392E;
  color: #fff;
  transform: scale(1.12);
}

@media (max-width: 768px) {
  .efbi-hero-content h1 {
    font-size: 1.5rem;
  }
  .efbi-hero-content {
    padding: 1.2rem 0.5rem;
  }
}



.hero-slider .container {
  position: relative;
  z-index: 2;
  height: 100%;
  /* container can be auto-height; centering handled by .hero-center */
  display: block;
  /* Remove asymmetric padding so content centers properly on large screens */
  padding-top: 0;
  padding-bottom: 0;
}

.hero-slider .row {
  width: 100%;
  justify-content: center;
  margin: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  max-width: 1200px;
  width: 100%;
  padding: 0 15px;
  width: 100%;
  text-align: center;
}

/* Absolute centering wrapper */
.hero-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  padding: 0 15px;
}

.owl-item.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-slider h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-slider .lead {
  font-size: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  font-weight: 400;
  line-height: 1.6;
}

.hero-slider .btn {
  padding: 0.8rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-slider .btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.hero-slider .btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-slider .btn-outline-light {
  border-width: 2px;
  background: transparent;
}

.hero-slider .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
  .hero-slider h1 {
    font-size: 3rem;
  }
  
  .hero-slider .lead {
    font-size: 1.3rem;
  }
  /* Add balanced vertical padding on medium screens */
  .hero-slider .container {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media (max-width: 991.98px) {
  .hero-slider h1 {
    font-size: 2.5rem;
  }
  
  .hero-slider .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  
  .hero-slider .btn {
    padding: 0.7rem 2rem;
    font-size: 1rem;
  }
  /* Slightly more padding on smaller screens for breathing space */
  .hero-slider .container {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

@media (max-width: 767.98px) {
  .hero-slider-section,
  .hero-slider .position-relative {
    height: 90vh;
    min-height: 600px;
  }
  
  .hero-slider h1 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
  }
  
  .hero-slider .lead {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero-slider .d-flex {
    flex-direction: column;
    gap: 1rem !important;
  }
  
  .hero-slider .btn {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
  .hero-slider .container {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (max-width: 575.98px) {
  .hero-slider h1 {
    font-size: 1.8rem;
  }
  
  .hero-slider .lead {
    font-size: 1rem;
  }
  
  .hero-slider .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}
  
.btn-outline-light {
  padding: 0.8rem 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-width: 2px;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #a52e25;
  border-color: #a52e25;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline-light:hover, .btn-outline-light:focus {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Scroll Down Indicator */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.scroll-down:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(5px);
}

.mouse {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 15px;
  position: relative;
  margin: 0 auto 10px;
}

.hero-slider .position-relative {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.hero-slider .position-relative::after {
  content: '';
  display: block;
  width: 120px;
  height: 120px;
  background: url('../images/hero-1.jpg') center/cover no-repeat;
  opacity: 0.12;
  position: absolute;
  bottom: 10%;
  right: 10%;
  z-index: 1;
  pointer-events: none;
}
.hero-slider .position-relative::after {
  content: '';
  display: block;
  width: 120px;
  height: 120px;
  background: url('../images/hero-1.jpg') center/cover no-repeat;
  opacity: 0.12;
  position: absolute;
  bottom: 10%;
  right: 10%;
  z-index: 1;
  pointer-events: none;
  border-radius: 3px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s ease infinite;
}

/* Hero Slider Navigation */
.hero-slider-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.hero-slider-prev,
.hero-slider-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.25rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  backdrop-filter: blur(5px);
}

.hero-slider-prev {
  left: 30px;
}

.hero-slider-next {
  right: 30px;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

/* Hero Slider Dots */
.hero-slider-dots {
  z-index: 10;
}

.hero-slider-dots .owl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5) !important;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.hero-slider-dots .owl-dot.active {
  background: var(--bs-primary) !important;
  transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
  .hero-slider-section,
  .hero-slider .position-relative {
    height: 80vh;
    min-height: 600px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 767.98px) {
  .hero-slider-section,
  .hero-slider .position-relative {
    height: 70vh;
    min-height: 500px;
  }
  
  .hero-content {
    padding: 1rem !important;
  }
  
  .hero-content h1 {
    font-size: 2rem !important;
  }
  
  .hero-slider-prev,
  .hero-slider-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .hero-slider-prev {
    left: 15px;
  }
  
  .hero-slider-next {
    right: 15px;
  }
}

/* Animation for Hero Content */
.owl-item.active .hero-content.animate-fadeInUp {
  opacity: 1;
  transform: translateY(0);
}

.arrow-down {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin: 0 auto;
  animation: arrowDown 2s ease infinite;
}

@keyframes scroll {
  0% { transform: translateY(0) translateX(-50%); opacity: 1; }
  100% { transform: translateY(15px) translateX(-50%); opacity: 0; }
}

@keyframes arrowDown {
  0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
  40% { transform: rotate(45deg) translateY(-10px); }
  60% { transform: rotate(45deg) translateY(-5px); }
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
  .hero-slider h1 {
    font-size: 3rem;
  }
  
  .hero-slider .lead {
    font-size: 1.3rem;
  }
}

@media (max-width: 767.98px) {
  .hero-slider-section,
  .hero-slider .position-relative {
    height: 90vh;
    min-height: 600px;
  }
  
  .hero-slider h1 {
    font-size: 2.5rem;
  }
  
  .hero-slider .lead {
    font-size: 1.1rem;
  }
  
  .btn-primary, 
  .btn-outline-light {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .hero-slider h1 {
    font-size: 2rem;
  }
  
  .hero-slider .lead {
    font-size: 1rem;
  }
  
  .btn-primary, 
  .btn-outline-light {
    display: block;
    width: 80%;
    margin: 0.5rem auto;
  }
}

/* Animation Delays */
.hero-content h6 { animation-delay: 0.3s !important; }
.hero-content h1 { animation-delay: 0.5s !important; }
.hero-content p { animation-delay: 0.7s !important; }
.hero-content .btn:first-child { animation-delay: 0.9s !important; }
.hero-content .btn:last-child { animation-delay: 1.1s !important; }
