/* ============================================================
   ebhro10 — Hero Slider Section
   Namespace  : ebhro10
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap');

/* 1. Variables & Colors */
.ebhro10 {
  --ebhro10-bg:              #1a1a1a;
  --ebhro10-text:            #f0f0f0;
  --ebhro10-title:           #ffffff;
  --ebhro10-border:          rgba(255, 255, 255, 0.25);

  --ebhro10-overlay-bg:      rgba(20, 20, 30, 0.62);

  --ebhro10-btn-bg:          #5DA5D8;
  --ebhro10-btn-text:        #ffffff;
  --ebhro10-btn-bg-hover:    #204A7B;
  --ebhro10-btn-shadow:      rgba(37, 52, 143, 0.35);

  --ebhro10-desc-text:       rgba(230, 230, 230, 0.88);

  --ebhro10-section-height:  80vh;

  --ebhro10-padding-top:     0;
  --ebhro10-padding-bottom:  0;
}

/* 2. Reset inside namespace */
*,
.ebhro10 *,
.ebhro10 *::before,
.ebhro10 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 3. Base Styles — Mobile */
.ebhro10 {
  font-family: "El Messiri", sans-serif;
  direction: ltr;
  position: relative;
  width: 100%;
  height: var(--ebhro10-section-height);
  min-height: 30rem;
  max-height: 30rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--ebhro10-padding-top);
  padding-bottom: var(--ebhro10-padding-bottom);
  background-color: var(--ebhro10-bg);
}

/* Slider background layer */
.ebhro10__slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.ebhro10__track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
}

.ebhro10__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: grab;
}

.ebhro10__slide:active {
  cursor: grabbing;
}

.ebhro10__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16 / 9;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Overlay — fixed above slider */
.ebhro10__overlay {
  position: absolute;
  inset: 0;
  background: var(--ebhro10-overlay-bg);
  z-index: 1;
  pointer-events: none;
}

/* Content container — fixed above overlay */
.ebhro10__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding:0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ebhro10__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.ebhro10__title {
  color: var(--ebhro10-title);
  font-size: clamp(1.4rem, 5.5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-shadow: 0 0.125rem 1.5rem rgba(0,0,0,0.55);
}

.ebhro10__desc {
  color: var(--ebhro10-desc-text);
  font-size: clamp(0.82rem, 2.8vw, 1.05rem);
  font-weight: 400;
  line-height: 1.7;
  max-width: 38rem;
  text-shadow: 0 0.0625rem 0.75rem rgba(0,0,0,0.45);
}

.ebhro10__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--ebhro10-btn-bg);
  color: var(--ebhro10-btn-text);
  font-family: "El Messiri", sans-serif;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 0.25rem 1.25rem var(--ebhro10-btn-shadow);
  cursor: pointer;
  margin-top: 0.25rem;
}

.ebhro10__btn:hover,
.ebhro10__btn:focus-visible {
  background: var(--ebhro10-btn-bg-hover);
  transform: translateY(-0.125rem);
  box-shadow: 0 0.4rem 1.75rem var(--ebhro10-btn-shadow);
  outline: none;
}

.ebhro10__btn:active {
  transform: translateY(0);
}

.ebhro10__btn-icon {
  font-size: 1.15em;
}

/* 4. Breakpoints */
@media (min-width: 481px) {
  .ebhro10__content {
    gap: 1.1rem;
  }
}

@media (min-width: 601px) {
  .ebhro10__container {
    padding: 2rem 2rem;
  }
  .ebhro10__content {
    gap: 1.25rem;
  }
}

@media (min-width: 769px) {
  .ebhro10__container {
    padding: 2.5rem 3rem;
  }
  .ebhro10__content {
    gap: 1.4rem;
  }
}

@media (min-width: 1025px) {
  .ebhro10__btn {
    padding: 0.85rem 2.25rem;
  }
}

@media (min-width: 1281px) {
  .ebhro10__container {
    max-width: 64rem;
  }
}

@media (min-width: 1441px) {
  .ebhro10 {
    --ebhro10-section-height: 60vh;
  }
}

@media (min-width: 1921px) {
  .ebhro10__container {
    max-width: 72rem;
  }
}