/* ==========================
   faq.css - Video & Layout Only
   ========================== */

/* Reset & base */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* Root variables */
:root {
  --navbar-height: 80px;
  --scroll-bg: rgba(255, 211, 89, 0.8);    /* normal background - more transparent */
  --scroll-hover: rgba(255, 229, 102, 0.95); /* hover background - more transparent */
  --arrow-color: #2d2d62;
}
/* ==========================
   Navbar (for layout only)
   ========================== */
.navbar {
  margin: 0;
  padding: 0;
  height: var(--navbar-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* ==========================
   Video / Hero section
   ========================== */
.video-section {
  position: relative;
  width: 100vw;
  height: 80vh;
  margin-top: var(--navbar-height);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: black;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.video-overlay {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10%;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ==========================
   Buttons
   ========================== */
.inquire-btn {
  background-color: rgba(255, 255, 255, 0.6);
  color: #2d2d62;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: bold;
  border: 2px solid #ffe28a;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.inquire-btn:hover {
  background-color: #ffd359;
  text-decoration: none;
}

.scroll-down-btn {
  position: static;
  background: var(--scroll-bg);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.scroll-down-btn:hover {
  background: var(--scroll-hover);
  transform: translateY(-5px);
}

.scroll-down-btn .double-v {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
}

.scroll-down-btn .double-v::before,
.scroll-down-btn .double-v::after {
  content: '';
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--arrow-color);
  animation: faqBounce 1.5s infinite;
}

.scroll-down-btn .double-v::after {
  top: 12px;
  animation-delay: 0.2s;
}

.btn-container {
  position: absolute;
  bottom: 5%; /* keep ~5% padding from bottom */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column; /* keeps Inquire Now above Scroll button */
  align-items: center;
  gap: 15px; /* space between the two buttons */
  z-index: 3; /* ensures buttons stay above video */
}

@keyframes faqBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(5px); }
  60% { transform: translateY(3px); }
}

/* ==========================
   FAQ container removed - kept video layout intact
   ========================== */

/* ==========================
   Responsive scaling
   ========================== */
@media (max-width: 1500px) {
  .scroll-down-btn { width: 50px; height: 50px; }
  .scroll-down-btn .double-v { width: 20px; height: 20px; }
  .scroll-down-btn .double-v::before,
  .scroll-down-btn .double-v::after {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--arrow-color);
  }
  .scroll-down-btn .double-v::after { top: 10px; }
}

@media (max-width: 1200px) {
  .scroll-down-btn { width: 45px; height: 45px; }
  .scroll-down-btn .double-v { width: 18px; height: 18px; }
  .scroll-down-btn .double-v::before,
  .scroll-down-btn .double-v::after {
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid var(--arrow-color);
  }
  .scroll-down-btn .double-v::after { top: 9px; }
}

@media (max-width: 900px) {
  .scroll-down-btn { width: 40px; height: 40px; }
  .scroll-down-btn .double-v { width: 16px; height: 16px; }
  .scroll-down-btn .double-v::before,
  .scroll-down-btn .double-v::after {
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--arrow-color);
  }
  .scroll-down-btn .double-v::after { top: 8px; }
}

@media (max-width: 600px) {
  .scroll-down-btn { width: 35px; height: 35px; }
  .scroll-down-btn .double-v { width: 14px; height: 14px; }
  .scroll-down-btn .double-v::before,
  .scroll-down-btn .double-v::after {
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid var(--arrow-color);
  }
  .scroll-down-btn .double-v::after { top: 7px; }
}

@media (max-width: 767px) {
  .scroll-down-btn { display: none !important; }
}

@media (max-width: 1600px) {
  .video-section { height: auto; }
  .bg-video { object-fit: contain; height: auto; }
}

@media (max-width: 768px) {
  .video-overlay { bottom: 60px; }
  .inquire-btn { font-size: 16px; padding: 12px 24px; }
}

@media (max-width: 480px) {
  .video-overlay { bottom: 50px; }
  .inquire-btn { font-size: 15px; padding: 10px 20px; }
}

@media (min-width: 1100px) and (max-width: 1999px) {
  .video-overlay { bottom: 180px; }
}

@media (min-width: 2000px) {
  .video-overlay { bottom: 220px; }
}

@media (min-width: 3000px) {
  .video-section {
    height: calc(100vh - var(--navbar-height));
    margin-top: var(--navbar-height);
    overflow: visible;
  }
  .bg-video { object-position: center; }
  .video-overlay { bottom: 100px; padding-top: var(--navbar-height); }
}
