/* Section 1 - Carousel Styles */

#section-1 {
  width: 100%;
  height: 100vh;
  display: block;
  min-height: 600px;
  overflow: hidden;
}

/* Carousel Container */
.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Carousel Wrapper - holds all slides */
.carousel-wrapper {
  position: absolute;
  width: 70%;
  height: 100%;
  z-index: 1;
}

/* Individual Carousel Slides */
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Content Panel - overlays on the carousel */
.content-panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 15px;
  top: 30vh;
  right: 0;
  max-width: 750px;
  height: 500px;
  background: rgba(45, 45, 45, 0.85);
  padding: 40px;
  z-index: 10;
  color: white;
  font-family: "Cera Godrej Interio", sans-serif;
  backdrop-filter: blur(5px);
}

.content-panel h1 {
  font-size: 3rem;
  font-weight: bold;
  margin: 0 0 20px 0;
  line-height: 1.2;
  letter-spacing: -1px;
}

.content-panel p {
  font-size: small;
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 300;
}

.hero_card-slider-controls {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.hero-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 40%;
  flex-wrap: wrap;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
}

@keyframes rp-blink {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }

  50% {
    opacity: 0.15;
    transform: translateY(-2px);
  }
}

.hero-card__features span {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  padding: 10px 10px;
  text-align: center;
  font-size: medium;
  border-radius: 8px;
  animation: rp-blink 1.6s ease-in-out infinite;
}

.hero-card__features span:nth-child(1) {
  animation-delay: 0s;
}

.hero-card__features span:nth-child(2) {
  animation-delay: 0.13s;
}

.hero-card__features span:nth-child(3) {
  animation-delay: 0.26s;
}

.hero-card__features span:nth-child(4) {
  animation-delay: 0.39s;
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.arrow-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: transform 0.3s ease;
}

.arrow-btn:hover {
  transform: scale(1.15);
}

.arrow-btn img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.prev-btn img {
  transform: rotate(180deg);
}

.divider {
  width: 1px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.4);
}

.count {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 500;
  min-width: 40px;
  text-align: right;
}

.whatsapp-fab {
  position: fixed;
  background: transparent !important;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  pointer-events: auto;
}

.whatsapp-fab__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(2, 10, 30, 0.28);
  text-decoration: none;
  color: white;
  position: relative;
  overflow: visible;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

/* slightly lift on hover/focus */
.whatsapp-fab__link:hover,
.whatsapp-fab__link:focus {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(2, 10, 30, 0.32);
}

/* tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  /* place to left of the FAB */
  bottom: 50%;
  transform: translateY(50%) translateX(6px);
  background: #25d366 !important;
  color: #ffffff !important;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

/* show tooltip on hover or focus */
.whatsapp-fab__link:hover .whatsapp-tooltip,
.whatsapp-fab__link:focus .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(50%) translateX(0);
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
}

/* ---------- CALL FAB & TOOLTIP (final) ---------- */
.call-fab {
  position: fixed;
  bottom: 80px;     /* adjust to sit above WhatsApp */
  right: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  pointer-events: auto;
  /* allow children to handle pointer */
}

.call-fab__link {
  pointer-events: auto;
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(11, 36, 64, 0.18);
  text-decoration: none;
  position: relative;
  visibility: visible;
}

/* phone icon */
.call-icon {
  width: 20px;
  height: 20px;
  fill: blue; /* white icon */
}



/* tooltip bubble (hidden by default) */
.call-tooltip {
  position: absolute;
  right: 70px;
  bottom: 50%;
  transform: translateY(50%) translateY(6px);
  background: #0b69ff;        /* same blue */
  color: #ffffff !important;  /* FORCE white text */
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(11,36,64,0.12);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 1200;
  pointer-events: none;
}



/* little hover for icon circle */
.call-fab__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11,36,64,0.18);
}

.call-fab__link:hover .call-tooltip,
.call-fab__link:focus .call-tooltip {
  opacity: 1;
  transform: translateY(50%) translateX(0);
}

@media (max-width: 768px) {
.call-fab {
    bottom: 70px !important;
}

.call-icon{
  width: 20px;
}
  
.call-fab__link{
  width: 40px;
  height: 40px;
}
}
/* ===== TABLET & DESKTOP BREAKPOINT (1200px) ===== */
@media (max-width: 1200px) {
  #section-1 {
    min-height: 550px;
  }

  .carousel-wrapper {
    width: 65%;
  }

  .content-panel {
    max-width: 600px;
    height: 450px;
    padding: 35px;
    gap: 30px;
    top: 25vh;
  }

  .content-panel h1 {
    font-size: 2.5rem;
    margin: 0 0 15px 0;
  }

  .content-panel p {
    font-size: 0.95rem;
  }

  .arrow-btn img {
    width: 45px;
    height: 45px;
  }

  .divider {
    height: 60px;
  }

  .count {
    font-size: 12px;
  }
}

/* ===== TABLET BREAKPOINT (900px) ===== */
@media (max-width: 900px) {
  #section-1 {
    min-height: 500px;
  }

  .carousel-wrapper {
    width: 55%;
  }

  .content-panel {
    max-width: 500px;
    height: 400px;
    padding: 30px;
    gap: 25px;
    top: 20vh;
    right: 5px;
  }

  .content-panel h1 {
    font-size: 2rem;
    margin: 0 0 10px 0;
  }

  .content-panel p {
    font-size: 0.9rem;
    margin: 0 0 20px 0;
  }

  .arrow-btn img {
    width: 40px;
    height: 40px;
  }

  .divider {
    height: 50px;
  }

  .count {
    font-size: 11px;
  }

  .slider-controls {
    gap: 12px;
  }
}

/* ===== MOBILE BREAKPOINT (520px) ===== */
@media (max-width: 520px) {
  #section-1 {
    min-height: 450px;
    height: auto;
  }

  .carousel-container {
    flex-direction: column;
    justify-content: flex-start;
  }

  .carousel-wrapper {
    width: 100%;
    height: 300px;
    position: relative;
  }

  .carousel-slide img {
    height: 100%;
    object-fit: cover;
  }

  .content-panel {
    position: relative;
    max-width: 100%;
    width: 100%;
    height: auto;
    padding: 25px 20px;
    gap: 20px;
    top: 0;
    right: 0;
    background: rgba(45, 45, 45, 0.9);
    justify-content: flex-start;
  }

  .content-panel h1 {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    line-height: 1.3;
  }

  .content-panel p {
    font-size: 0.85rem;
    margin: 0 0 15px 0;
    line-height: 1.5;
  }

  .slider-controls {
    gap: 10px;
  }

  .arrow-btn {
    padding: 6px;
  }

  .arrow-btn img {
    width: 35px;
    height: 35px;
  }

  .divider {
    height: 40px;
  }

  .count {
    font-size: 10px;
    min-width: 35px;
  }
}

/* ===== SMALL MOBILE BREAKPOINT (375px) ===== */
@media (max-width: 375px) {
  #section-1 {
    min-height: 400px;
  }

  .carousel-wrapper {
    height: 250px;
  }

  .content-panel {
    padding: 20px 15px;
    gap: 15px;
  }

  .content-panel h1 {
    font-size: 1.2rem;
    margin: 0 0 8px 0;
  }

  .content-panel p {
    font-size: 0.8rem;
    margin: 0 0 12px 0;
  }

  .slider-controls {
    gap: 8px;
  }

  .arrow-btn {
    padding: 5px;
  }

  .arrow-btn img {
    width: 30px;
    height: 30px;
  }

  .divider {
    height: 35px;
  }

  .count {
    font-size: 9px;
    min-width: 30px;
  }
}
