/* ===== Athar Home Hero — compact creative composition ===== */
:root {
  --athar-hero-ink: var(--eduhive-primary, #584530);
  --athar-hero-copper: var(--eduhive-base, #7D684F);
  --athar-hero-accent: var(--eduhive-yellow2, #EF802B);
  --athar-hero-paper: var(--eduhive-light, #FFFAEF);
  --athar-hero-sand: #FFF3E7;
  --athar-hero-peach: #F6E6D4;
  --athar-hero-peach-deep: #EED4BC;
  --athar-hero-muted: #7a6a56;
  --athar-hero-hex: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

@keyframes atharHeroRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes atharHeroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes atharHeroDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10px, -12px) scale(1.05); }
}

@keyframes atharHeroSweep {
  0%, 100% { transform: translateX(-6%) rotate(-8deg); opacity: 0.55; }
  50% { transform: translateX(4%) rotate(-4deg); opacity: 0.85; }
}

.athar-hero.main-slider-one {
  background: transparent;
  overflow: hidden;
}

.athar-hero .main-slider-one__item,
.athar-hero__item {
  position: relative;
  padding: 108px 0 44px;
  background:
    radial-gradient(720px 280px at 88% 18%, rgba(239, 128, 43, 0.16), transparent 62%),
    radial-gradient(640px 260px at 8% 78%, rgba(125, 104, 79, 0.12), transparent 58%),
    linear-gradient(118deg, var(--athar-hero-paper) 0%, var(--athar-hero-sand) 52%, #fff 100%);
  overflow: hidden;
}

.athar-hero .main-slider-one__shape-one,
.athar-hero .main-slider-one__shape-two,
.athar-hero .main-slider-one__shape-three,
.athar-hero .main-slider-one__shape-four,
.athar-hero .main-slider-one__content__shape,
.athar-hero .main-slider-one__image__shape-one,
.athar-hero .main-slider-one__image__shape-two,
.athar-hero .main-slider-one__image__shape-three,
.athar-hero .main-slider-one__image__shape-four {
  display: none !important;
}

.athar-hero__ambiance {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.athar-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: atharHeroDrift 9s ease-in-out infinite;
}

.athar-hero__orb--1 {
  width: 180px;
  height: 180px;
  top: 12%;
  inset-inline-end: 8%;
  background: rgba(239, 128, 43, 0.18);
}

.athar-hero__orb--2 {
  width: 140px;
  height: 140px;
  bottom: 10%;
  inset-inline-start: 6%;
  background: rgba(125, 104, 79, 0.14);
  animation-delay: -3s;
}

.athar-hero__slash {
  position: absolute;
  top: 18%;
  inset-inline-end: -4%;
  width: min(46vw, 420px);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--athar-hero-accent), transparent);
  transform-origin: center;
  animation: atharHeroSweep 10s ease-in-out infinite;
}

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

.athar-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.athar-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  animation: atharHeroRise 0.7s ease both;
}

.athar-hero__brand {
  margin: 0 0 8px;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--athar-hero-ink);
}

.athar-hero__brand span {
  display: inline-block;
  background: linear-gradient(120deg, var(--athar-hero-ink) 0%, var(--athar-hero-copper) 55%, var(--athar-hero-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.athar-hero__brand-rule {
  display: block;
  width: 56px;
  height: 3px;
  margin: 10px 0 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--athar-hero-accent), var(--athar-hero-copper));
}

.athar-hero__eyebrow {
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--athar-hero-copper);
  opacity: 1 !important;
  transform: none !important;
}

.athar-hero__title,
.athar-hero .main-slider-one__title {
  display: block;
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem) !important;
  font-weight: 700;
  line-height: 1.3 !important;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--athar-hero-ink);
  opacity: 1 !important;
  transform: none !important;
  overflow: visible;
}

.athar-hero__title::before,
.athar-hero__title::after,
.athar-hero .main-slider-one__title::before,
.athar-hero .main-slider-one__title::after {
  display: none !important;
  content: none !important;
}

.athar-hero__lead,
.athar-hero .main-slider-one__description {
  margin: 0 0 18px;
  padding: 0 !important;
  max-width: 42ch;
}

.athar-hero__lead,
.athar-hero .main-slider-one__text,
.athar-hero .main-slider-one__text p {
  margin: 0;
  font-size: 0.98rem !important;
  line-height: 1.65;
  color: var(--athar-hero-muted);
  opacity: 1 !important;
  transform: none !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.athar-hero__cta,
.athar-hero .main-slider-one__button {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.athar-hero .main-slider-one__btn-1,
.athar-hero .main-slider-one__btn-2 {
  opacity: 1 !important;
  transform: none !important;
}

.athar-hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 440px);
  animation: atharHeroRise 0.8s ease 0.08s both;
}

.athar-hero__panel {
  position: relative;
  border-radius: 36px;
  padding: clamp(16px, 2.4vw, 22px);
  background:
    linear-gradient(155deg, var(--athar-hero-peach) 0%, #F9EDE0 48%, var(--athar-hero-peach-deep) 100%);
  box-shadow:
    0 18px 40px rgba(88, 69, 48, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  overflow: hidden;
}

.athar-hero__waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(125, 104, 79, 0.18);
  pointer-events: none;
  z-index: 0;
}

.athar-hero__cluster {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.78fr);
  grid-template-rows: minmax(0, 1.05fr) minmax(0, 0.78fr);
  gap: clamp(14px, 2.2vw, 20px);
  width: 100%;
  min-height: 250px;
  aspect-ratio: 1.12 / 1;
  max-height: 300px;
}

.athar-hero__shot {
  position: relative;
  min-width: 0;
  min-height: 0;
}

.athar-hero__shot img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block !important;
}

.athar-hero__shot--hex {
  grid-column: 1;
  grid-row: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.athar-hero__hex {
  position: relative;
  width: min(92%, 236px);
  aspect-ratio: 100 / 110;
  margin-inline: auto;
  animation: atharHeroFloat 6.5s ease-in-out infinite;
}

.athar-hero__hex-photo {
  position: absolute;
  inset: 7.5%;
  overflow: hidden;
  clip-path: var(--athar-hero-hex);
  -webkit-clip-path: var(--athar-hero-hex);
  background: var(--athar-hero-sand);
}

.athar-hero__hex-photo img {
  transform: scale(1.06);
}

.athar-hero__hex-border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.athar-hero__hex-border-outer {
  stroke: rgba(125, 104, 79, 0.85);
  stroke-width: 1.6;
}

.athar-hero__hex-border-inner {
  stroke: rgba(88, 69, 48, 0.55);
  stroke-width: 1.1;
}

.athar-hero__mark {
  position: absolute;
  z-index: 2;
  bottom: 2%;
  inset-inline: 0;
  width: fit-content;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(1rem, 1.9vw, 1.28rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--athar-hero-ink);
  white-space: nowrap;
  pointer-events: none;
}

.athar-hero__mark span {
  display: inline-block;
  background: linear-gradient(120deg, var(--athar-hero-ink) 0%, var(--athar-hero-copper) 55%, var(--athar-hero-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.athar-hero__shot--arch {
  grid-column: 2;
  grid-row: 1;
  overflow: hidden;
  border-radius: 999px 999px 14px 14px;
  box-shadow:
    0 10px 24px rgba(88, 69, 48, 0.14),
    0 0 0 2px rgba(255, 250, 239, 0.65);
  animation: atharHeroFloat 5.4s ease-in-out infinite reverse;
  animation-delay: -1.2s;
}

.athar-hero__shot--rect {
  grid-column: 2;
  grid-row: 2;
  overflow: hidden;
  border-radius: 18px;
  border: 2px solid rgba(125, 104, 79, 0.28);
  box-shadow: 0 10px 22px rgba(88, 69, 48, 0.12);
  animation: atharHeroFloat 7s ease-in-out infinite;
  animation-delay: -2.4s;
}

.athar-hero__frame {
  position: relative;
  z-index: 2;
  border-radius: 28px 28px 12px 28px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  max-height: 280px;
  box-shadow:
    0 18px 36px rgba(88, 69, 48, 0.14),
    0 0 0 1px rgba(125, 104, 79, 0.12);
  animation: atharHeroFloat 6.5s ease-in-out infinite;
}

.athar-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 45%, rgba(88, 69, 48, 0.28));
  pointer-events: none;
}

.athar-hero__frame img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block !important;
}

.athar-hero__carousel.owl-carousel .owl-dots {
  display: none !important;
}

.athar-hero__carousel.owl-carousel .owl-nav {
  position: absolute;
  inset-inline-end: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  margin: 0;
  flex-direction: column;
  gap: 8px;
}

.athar-hero__carousel.owl-carousel .owl-nav button {
  width: 40px;
  height: 40px;
  font-size: 14px;
  color: var(--athar-hero-ink);
  background-color: rgba(255, 250, 239, 0.92);
  box-shadow: 0 6px 16px rgba(88, 69, 48, 0.12);
}

.athar-hero__carousel.owl-carousel .owl-nav button:hover {
  color: #fff;
  background-color: var(--athar-hero-accent);
}

.athar-hero .main-slider-one__col-content,
.athar-hero .main-slider-one__col-image {
  width: 100%;
}

.athar-hero .main-slider-one__content {
  top: 0;
  overflow: visible;
}

.athar-hero .main-slider-one__image,
.athar-hero .main-slider-one__image__left,
.athar-hero .main-slider-one__image__one {
  opacity: 1 !important;
  transform: none !important;
  max-width: none;
  width: 100%;
  gap: 0;
}

.athar-hero .main-slider-one__image__one::after {
  display: none !important;
}

@media (max-width: 991px) {
  .athar-hero .main-slider-one__item,
  .athar-hero__item {
    padding: 96px 0 40px;
  }

  .athar-hero__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .athar-hero__visual {
    justify-self: stretch;
    width: min(100%, 380px);
    margin-inline: auto;
  }

  .athar-hero__cluster {
    min-height: 220px;
    max-height: 260px;
  }

  .athar-hero__hex {
    width: min(100%, 200px);
  }

  .athar-hero__frame {
    max-height: 220px;
  }

  .athar-hero__brand {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
  }

  .athar-hero__carousel.owl-carousel .owl-nav {
    display: none;
  }
}

@media (max-width: 575px) {
  .athar-hero .main-slider-one__item,
  .athar-hero__item {
    padding: 88px 0 36px;
  }

  .athar-hero__copy {
    max-width: none;
  }

  .athar-hero__visual {
    width: 100%;
  }

  .athar-hero__panel {
    border-radius: 28px;
    padding: 14px;
  }

  .athar-hero__cluster {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }

  .athar-hero__shot--hex {
    grid-column: 1;
    grid-row: auto;
  }

  .athar-hero__hex {
    width: min(72%, 210px);
  }

  .athar-hero__shot--arch,
  .athar-hero__shot--rect {
    display: none;
  }

  .athar-hero__frame {
    max-height: 180px;
    border-radius: 22px 22px 10px 22px;
  }

  .athar-hero__orb--1,
  .athar-hero__orb--2 {
    width: 96px;
    height: 96px;
  }

  .athar-hero__slash {
    display: none;
  }

  .athar-hero__cta .eduhive-btn {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .athar-hero__copy,
  .athar-hero__visual,
  .athar-hero__frame,
  .athar-hero__shot,
  .athar-hero__hex,
  .athar-hero__orb,
  .athar-hero__slash {
    animation: none !important;
  }
}
