/* custom.css - enhancements for the hero (video + toggle image) */
.hero {
  position: relative;
  padding-top: 90px; /* keep navbar comfortable */
  min-height: 80vh;
  overflow: hidden;
}

/* make video cover the hero area */
.hero-video,
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.02); /* small upscale to avoid black edges */
}

/* ensure the image is hidden by default (JS toggles display) */
.hero-img { display: none; }

/* overlay to darken video/image for readable text */
.hero-overlay {
 
  z-index: 1;
}

/* content above overlay */
.container.z-20 { z-index: 2; }

/* floating toggle button (top-right) */
/* toggle button */
.media-toggle-btn {
  position: fixed;
  right: 18px;
  top: 16px;
  z-index: 2100;
  /* background: rgba(0,0,0,0.45);  */
  color: #fff;
  border: none;
  padding: 8px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  /* backdrop-filter: blur(6px); */
  /* box-shadow: 0 6px 18px rgba(0,0,0,0.35); */
  /* cursor: pointer; */
}

/* keep icon background transparent and no extra border */
.media-toggle-btn img {
  display: block;
  background: transparent;
  border-radius: 4px;
  line-height: 0;
}

/* smaller on mobile */
@media (max-width: 768px) {
  .media-toggle-btn { padding: 6px 8px; right: 10px; top: 10px; }
  .media-toggle-btn img { width: 28px; height: 28px; }
}

/* hero text */
.display-4 {
  font-size: 33px;
  letter-spacing: 1px;
}

/* rounded-pill inputs */
.form-select {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
}

/* ensure placeholders are visible */
.form-select option { color: #111; }

/* button style */
.btn-success {
  background: #4caf50;
  border: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* bottom curved shape that overlays lower page (decorative) */
.hero-bottom-shape {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -40px;
  height: 80px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  z-index: 2;
}

/* small devices adjustments */
@media (max-width: 768px) {
  .display-4 { font-size: 1.6rem; }
  .form-select { font-size: 0.95rem; }
  .media-toggle-btn { padding: 8px 10px; right: 10px; top: 10px; }
}
/* Container position */
.enquire-tab{
  position: fixed;
  right: 0px;                 /* distance from right edge */
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  pointer-events: auto;
}

/* The pill/button */
.enquire-link{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;                 /* narrow width to match image */
  height: 180px;               /* tall pill */
  border-radius: 18px 0 0 18px;/* rounded left edge */
  background: linear-gradient(180deg, #39b54a 0%, #0077d6 100%);
  box-shadow: 0 8px 20px rgba(7, 55, 80, 0.18);
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
  -webkit-tap-highlight-color: transparent;
}

/* Vertical label: rotate text so it reads vertically (bottom → top) */
.enquire-label{
  display: inline-block;
  transform: rotate(-90deg);         /* rotate text */
  transform-origin: center;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.4px;
  white-space: nowrap;
  margin-right: -20px;                 /* space between text and arrow */
}

/* Right-side arrow (gives same look as screenshot) */
.enquire-arrow{
  display: inline-block;
  transform: rotate(-90deg);         /* keep arrow inline with label */
  font-size: 20px;
  opacity: 0.95;
}

/* Hover/focus effects */
.enquire-link:hover,
.enquire-link:focus{
  transform: translateX(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(7,55,80,0.26);
}

/* Hide on very small screens if you like (optional) */
@media (max-width: 520px){
  .enquire-tab{ display: unset; }
}
