/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10% 120px;
  /* extra bottom padding */
  min-height: 100vh;
  background: url("../../img/dubai-skyline-desert-2.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  /* parallax effect */
  overflow: hidden;
  flex-wrap: wrap;
}



.hero-text {
  padding-top:30px;
    margin-left: auto;
  margin-right: auto;
  text-align: center;
  min-width: 280px;
  max-width: 600px;
  animation: fadeInUp 1s ease forwards;
  position: relative;
  z-index: 2;
  /* background-color:rgba(255,255,255,0.3);
      border-radius:.25em;
      box-shadow:0 0 .25em rgba(0,0,0,.15); */

}

.hero-text .heading {
  display: inline-flex;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #0a58ca;
  text-align: justify;
}

.hero-text h1 .orange {
  color: #fdb72e;
}

.hero-content {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-content: space-between;
  background: rgba(255, 193, 7, 0.03);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(8.5px);
-webkit-backdrop-filter: blur(8.5px); 
}

@media (max-width: 768px) {
  .hero-content {
    
  flex-wrap: wrap;
    align-items: center;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.hero-content .pbuttons {
  display: inline-flex;
  max-width: 350px;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: space-around;
  align-items: center;
}


@media (max-width: 768px) {
.hero-content .pbuttons {
  display: inline-flex;
  max-width: 350px;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: flex-start;
  align-items: center;
  /* From https://css.glass */
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5.5px);
  -webkit-backdrop-filter: blur(5.5px);
  border: 1px solid rgba(255, 255, 255, 0.27);
}

  }

.hero-content p {

  --hue: 320;
  /* change me */
  --bg: oklch(35% .3 var(--hue));
  --text: oklch(85% .1 var(--hue));
  --shadow: oklch(25% .2 var(--hue));
  --highlight: oklch(98% .05 var(--hue));
  font-size: 1.1rem;
  margin: 0px 25px 25px 25px;
  color: #084298;
  text-align: justify;
  font-weight: 700;
  text-shadow:0 .15ch 15px rgb(206 227 243 / 80%), 1px -2px 0 #fff;

}

@media (max-width: 768px) {
 .hero-content p {

  --hue: 320;
  /* change me */
  --bg: oklch(35% .3 var(--hue));
  --text: oklch(85% .1 var(--hue));
  --shadow: oklch(25% .2 var(--hue));
  --highlight: oklch(98% .05 var(--hue));
  font-size: 1.1rem;
  margin: 0px 25px 25px 25px;
  color: #084298;
  text-align: justify;
  text-shadow:
    /* regular text-shadow */
    0 .15ch 15px #ffc107,
    /* text-shadow highlight */
    0 -2px 0 var(--highlight);

}

}

.hero-text img {
  max-height: 100px;
}

.hero-buttons {
  justify-self: center;
  padding-bottom: 20px;
  width: 100%;
  display: flex;
  gap: 20px;
}

.hero-buttons a {
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  font-size: 0.75rem;
  background: none;
  transition: background 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  overflow: hidden;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.75), inset 0 0 0 2px rgba(0, 0, 0, 0.3), inset 0 -6px 6px -3px rgba(0, 129, 174, 0.2);
  position: relative;
  text-align: center;

}


.hero-buttons a.appointment {
  background-image: radial-gradient(circle at center, rgba(8, 66, 152, 0.25), rgba(8, 66, 152, 0.2));
}

.hero-buttons a.explore {
  background-image: radial-gradient(circle at center, rgba(255, 183, 77, 0.25), rgba(255, 183, 77, 0.2));
}
.hero-buttons a:after {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  backdrop-filter: blur(3px) saturate(400%);
  -webkit-backdrop-filter: blur(3px) saturate(400%);
}
.hero-buttons a.appointment:after {
  background: rgba(0, 167, 225, 0.2);
}
.hero-buttons a.explore:after {
  background: rgba(255, 183, 77, 0.2);
}

.hero-buttons a:before {
  content: "";
  display: block;
  position: absolute;
  width: calc(100% - 4px);
  height: 35px;
  background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  top: 2px;
  left: 2px;
  border-radius: 30px 30px 200px 200px;
  opacity: 0.7;
}


.hero-buttons a:hover {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}
.hero-buttons a:hover:before {
  opacity: 1;
}
.hero-buttons a:active {
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.9);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.75), inset 0 0 0 2px rgba(0, 0, 0, 0.3), inset 0 -6px 6px -3px rgba(0, 129, 174, 0.2);
}
.hero-buttons a:active:before {
  height: 25px;
}

.hero-buttons a .text {
  position: relative;
  z-index: 2;

}
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 280px;
  margin-top: 20px;
  animation: fadeIn 1.5s ease forwards;
  position: relative;
  z-index: 2;
  top: 0;
}

.hero-image img {
  width: 90%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px 100px;
    background-attachment: scroll;
    /* disables parallax for mobile for performance */
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    margin-top: 30px;
  }
}


/* Hero Cards */

/* Section styling */
.intro-section {
  position: relative;
  text-align: center;
  padding: 25px 20px 80px;
  /* extra bottom for wave */
  overflow: hidden;
  background: linear-gradient(to bottom, #fdfdfd, #ffffff);
}

/* Parallax background */
.parallax-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #e0f7fa, #ffffff 70%);
  background-attachment: fixed;
  z-index: -1;
}

/* Logo container */
.logo-container {
  margin-bottom: 40px;
}

.nectar-logo {
  max-width: 260px;
  height: auto;
}

.tagline {
  font-size: 1.8rem;
  color: #084298;
  margin-top: 10px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* space between text and drop */
}

.drop-icon {
  font-size: 1.6rem;
  color: #fdb72e;
  /* golden drop */
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
  max-width: 30px;
}


/* Life boxes */
.life-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.life-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 6px solid #fdb72e;
  /* golden accent */
}

.life-box h3 {
  color: #084298;
  margin-bottom: 12px;
  padding-top: 5px;
}

.life-box p {
  color: #444;
  font-size: 0.95rem;
}

.life-box .image-box {
  padding-bottom: 15px;
  width: 100%;
}

.life-box img {
  width: 500px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  -webkit-box-shadow: 0px 10px 13px -7px #fdb72e, 5px 5px 15px 5px rgba(255, 197, 59, 0);
  box-shadow: 0px 10px 13px -7px #fdb72e, 5px 5px 15px 5px rgba(255, 197, 59, 0);
  transition: transform ease 0.5s, box-shadow ease 0.5s;
}

.life-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  border-top-color: #bc8e05;
  /* dark gold on hover */
}

/* Special last box */
.special-box {
  text-align: center;
  background: linear-gradient(135deg, #fdb72e22, #ffffff);
}

.nectar-logo-small {
  max-width: 100px;
  margin-bottom: 12px;
}

/* Wave */
.wave-container {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  line-height: 0;
}

.wave-container svg {
  display: block;
  width: 100%;
  height: 120px;
}


/* Life icons */
.life-icon {
  font-size: 2.2rem;
  color: #bc8e05;
  margin-bottom: 12px;
}

/* --- Carousel Mobile Optimizations --- */
@media (max-width: 768px) {
  .carousel-item {
    animation-duration: 0.6s !important;
    transition-duration: 0.2s !important;
  }
}