/* ==========================================================================
   Premium Video Hero Section Styling
   Maheshwari Sales Corporation
   ========================================================================== */

.video-hero {
  position: relative;
  height: 92vh;
  min-height: 650px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #0b0f19; /* High-quality deep slate navy fallback background */
}

/* Video Background styling */
.video-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Stunning gradient overlay to make text highly readable */
.video-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(11, 15, 25, 0.92) 0%,
    rgba(11, 15, 25, 0.75) 45%,
    rgba(11, 15, 25, 0.3) 100%
  );
}

/* Content Container relative to overlay */
.video-hero__container {
  position: relative;
  z-index: 3;
  color: #ffffff;
}

.video-hero__content {
  max-width: 780px;
  text-align: left;
  padding-top: 60px; /* Offset for header overlaps on desktop */
}

/* Badge/Tagline styling with pulse animation */
.video-hero__tagline-wrapper {
  margin-bottom: 25px;
}

.video-hero__tagline {
  font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fbc708;
    background: #fbc70814;
    padding: 8px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #fbc70833;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.video-hero__tagline-dot {
  width: 8px;
  height: 8px;
  background-color: #fc0003;
  border-radius: 50%;
  margin-right: 10px;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
    box-shadow: 0 0 0 0 rgba(252, 0, 3, 0.7);
  }
  70% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 10px rgba(252, 0, 3, 0);
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
    box-shadow: 0 0 0 0 rgba(252, 0, 3, 0);
  }
}

/* Main Heading styling with modern gradient highlight */
.video-hero__title {
  font-family: 'Lexend', sans-serif;
  font-size: 62px;
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 25px;
  letter-spacing: -1px;
}

.video-hero__title--gradient {
  background: linear-gradient(90deg, #fbc708 0%, #7e58ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Description styling */
.video-hero__desc {
  font-family: 'Urbanist', sans-serif;
  font-size: 19px;
  line-height: 1.65;
  color: #cbd5e1; /* Elegant light slate gray */
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 680px;
}

/* Action buttons */
.video-hero__btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.video-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  font-family: 'Lexend', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.video-hero__btn--primary {
  background: linear-gradient(135deg, #341a8b 0%, #7d5de9 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 25px rgba(2, 132, 199, 0.35);
  border: 1px solid transparent;
}

.video-hero__btn--primary i {
  margin-left: 10px;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.video-hero__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.55);
  background: linear-gradient(135deg, #7d5de9 0%, #341a8b 100%);
}

.video-hero__btn--primary:hover i {
  transform: translateX(5px);
}

.video-hero__btn--secondary {
  background: rgb(255 0 0);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.video-hero__btn--secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 1200px) {
  .video-hero__title {
    font-size: 52px;
  }
}

@media (max-width: 991px) {
  .video-hero {
    height: auto;
    min-height: 600px;
    padding: 160px 0 100px 0;
  }
  .video-hero__content {
    padding-top: 0;
  }
  .video-hero__title {
    font-size: 46px;
  }
  .video-hero__desc {
    font-size: 18px;
    margin-bottom: 35px;
  }
}

@media (max-width: 767px) {
  .video-hero__title {
    font-size: 38px;
  }
  .video-hero__desc {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .video-hero {
    padding: 120px 0 40px 0; /* Added more top padding to clear floating header capsule cleanly */
  }
  .video-hero__tagline {
    font-size: 11px;
    letter-spacing: 0.8px;
    padding: 8px 14px;
    border-radius: 8px; /* Elegant modern tag container for multi-line text */
    display: inline-flex;
    align-items: flex-start;
    text-align: left;
    line-height: 1.4;
  }
  .video-hero__tagline-dot {
    margin-top: 5px; /* Perfect vertical alignment with the first line of text */
    flex-shrink: 0; /* Ensures dot maintains circular dimensions when text wraps */
  }
  .video-hero__title {
    font-size: 30px; /* Slightly reduced for perfect fit on smaller devices */
    line-height: 1.3;
  }
  .video-hero__desc {
    font-size: 15px;
    line-height: 1.6;
  }
  .video-hero__btns {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .video-hero__btn {
    width: 100%;
    padding: 14px 28px;
  }
}

/* ==========================================================================
   Premium Scroll To Top Button Redesign
   ========================================================================== */
.scroll-to-top {
  bottom: 30px !important; /* Stacked at the bottom of the floating actions */
  right: 30px !important;
  transform: none !important; /* Cancel legacy rotation */
  height: auto !important;
  width: auto !important;
}
.scroll-to-top__wrapper {
  display: none !important; /* Hide legacy progress line */
}
.scroll-to-top__text {
  margin-right: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #341a8b 0%, #7d5de9 100%) !important; /* Brand purple gradient */
  color: #ffffff !important;
  border-radius: 50%;
  font-size: 16px !important;
  box-shadow: 0 4px 15px rgba(125, 93, 233, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer;
}
.scroll-to-top__text:hover {
  transform: translateY(-5px) scale(1.05) !important;
  background: linear-gradient(135deg, #fc0003 0%, #ff5252 100%) !important; /* Glows brand red on hover */
  box-shadow: 0 6px 20px rgba(252, 0, 3, 0.5) !important;
}
.scroll-to-top__text i {
  transform: none !important; /* Upright icon direction */
}

/* ==========================================================================
   Floating Call and WhatsApp Buttons
   ========================================================================== */
.float-btn {
  position: fixed;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 99;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none !important;
}

.float-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Specific colors matching screenshot exactly */
.float-btn--call {
  bottom: 160px; /* Stacks at the top */
  background: #ff3b30 !important; /* Bright Red-Orange color exactly matching screenshot */
  font-size: 18px !important;
}

.float-btn--whatsapp {
  bottom: 95px; /* Stacks in the middle */
  background: #00a884 !important; /* Premium WhatsApp business teal green matching screenshot */
  font-size: 24px !important;
}

/* Tooltip Layout & Hover logic */
.whatsapp-tooltip {
  position: absolute;
  right: 68px; /* Safe space to the left of the button */
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.16);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid rgba(0, 0, 0, 0.04);
  z-index: 100;
}

.float-btn--whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.whatsapp-tooltip__logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff5f5; /* Premium soft background matching the screenshot icon container */
  border: 1px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.whatsapp-tooltip__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.whatsapp-tooltip__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}

.whatsapp-tooltip__name {
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1a202c !important; /* Dark bold text */
  line-height: 1.2;
  margin-bottom: 2px;
  white-space: nowrap;
}

.whatsapp-tooltip__status {
  font-family: 'Lexend', sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: #00a884; /* WhatsApp Green */
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.whatsapp-tooltip__status-dot {
  width: 8px;
  height: 8px;
  background-color: #25d366; /* Vibrant active green */
  border-radius: 50%;
  display: inline-block;
  animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Tooltip triangular pointer arrow */
.whatsapp-tooltip__arrow {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-top: 1.5px solid rgba(0, 0, 0, 0.04);
  border-right: 1.5px solid rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   Mobile Responsive Adjustments
   ========================================================================== */
@media (max-width: 767px) {
  .scroll-to-top {
    bottom: 20px !important;
    right: 20px !important;
  }
  .scroll-to-top__text {
    width: 44px !important;
    height: 44px !important;
    font-size: 14px !important;
  }
  .float-btn {
    right: 20px !important;
    width: 44px !important;
    height: 44px !important;
  }
  .float-btn--call {
    bottom: 140px !important;
    font-size: 16px !important;
  }
  .float-btn--whatsapp {
    bottom: 80px !important;
    font-size: 22px !important;
  }
  .whatsapp-tooltip {
    right: 58px !important;
    padding: 8px 12px !important;
    border-radius: 10px;
    gap: 8px;
  }
  .whatsapp-tooltip__logo {
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
  }
  .whatsapp-tooltip__name {
    font-size: 11px !important;
  }
  .whatsapp-tooltip__status {
    font-size: 8px !important;
    gap: 4px !important;
  }
  .whatsapp-tooltip__status-dot {
    width: 6px !important;
    height: 6px !important;
  }
}

