/* ========================================
   HERO SECTION - PERFECT LAYOUT
   ======================================== */

/* Hero Section Container */
.hero-section {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6rem, 14vh, 11rem) 0 clamp(3rem, 8vh, 7rem);
  background: #ffffff;
}

.hero-section .row {
  width: 100%;
  margin: 0;
}

/* Left Side: Text Content */
.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  padding-right: clamp(1rem, 3vw, 3rem);
}

.hero-title {
  font-size: clamp(1.75rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: #1a202c;
  margin: 0;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: clamp(0.95rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: #4a5568;
  margin: 0;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.5rem;
}

.hero-buttons .btn {
  white-space: nowrap;
}

/* Right Side: Video Container */
.hero-video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 68%; /* Slightly increased aspect ratio */
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.08);
  background: #f7fafc;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-video-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 28px 80px rgba(0, 0, 0, 0.15),
    0 12px 36px rgba(0, 0, 0, 0.1);
}

.hero-demo-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Desktop and Above (992px+) - Video MUST be on the right */
@media (min-width: 992px) {
  .hero-section .row {
    flex-wrap: nowrap;
  }
  
  .hero-section .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .hero-text-content {
    padding-right: 4rem;
  }
  
  .hero-video-wrapper {
    border-radius: 28px;
  }
}

/* Desktop (1200-1399px) */
@media (max-width: 1399.98px) {
  .hero-section {
    padding: clamp(7rem, 14vh, 9rem) 0 clamp(4rem, 8vh, 6rem);
  }
}

/* Tablet Landscape (992-1199px) */
@media (max-width: 1199.98px) {
  .hero-section {
    min-height: 85vh;
    padding: clamp(6rem, 12vh, 8rem) 0 clamp(3.5rem, 7vh, 5rem);
  }
  
  .hero-text-content {
    gap: 2rem;
    padding-right: 2rem;
  }
  
  .hero-video-wrapper {
    border-radius: 20px;
    padding-bottom: 70%; /* Adjust aspect ratio */
  }
}

/* Tablet Portrait and Mobile (< 992px) */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding: clamp(4.5rem, 9vh, 6rem) 0 clamp(2rem, 4vh, 3rem);
  }
  
  .hero-text-content {
    padding-right: 0;
    gap: 1.5rem;
    text-align: left;
  }
  
  .hero-description {
    max-width: 100%;
  }
  
  .hero-video-wrapper {
    margin-top: 2.5rem;
    padding-bottom: 75%;
  }
}

/* Mobile (576-767px) */
@media (max-width: 767.98px) and (min-width: 480px) {
  .hero-section {
    padding: clamp(5.5rem, 11vh, 7rem) 0 clamp(1.5rem, 3vh, 2.5rem);
  }
  
  .hero-text-content {
    gap: 1.15rem;
  }
  
  .hero-video-wrapper {
    border-radius: 16px;
    padding-bottom: 78%;
    margin-top: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Small Mobile (480-575px) */
@media (max-width: 575.98px) and (min-width: 480px) {
  .hero-section {
    padding: clamp(5rem, 10vh, 6rem) 0 clamp(1.25rem, 2.5vh, 2rem);
  }
  
  .hero-text-content {
    gap: 1rem;
  }
  
  .hero-video-wrapper {
    border-radius: 14px;
    padding-bottom: 82%;
    margin-top: 1.5rem;
  }
  
  .hero-section .container-fluid {
    padding: 0 1rem !important;
  }
}

/* Extra Small Mobile (< 480px) */
@media (max-width: 479.98px) {
  .hero-section {
    padding: 4rem 0 clamp(1rem, 2vh, 1.5rem);
    min-height: auto;
    margin-top: 100px;
  }
  
  .hero-text-content {
    gap: 0.65rem;
  }
  
  .hero-title {
    font-size: clamp(1.3rem, 5.5vw, 1.85rem);
    line-height: 1.3;
    margin-bottom: 0;
  }
  
  .hero-description {
    font-size: clamp(0.875rem, 2.1vw, 0.95rem);
    line-height: 1.5;
  }
  
  .hero-buttons {
    gap: 0.5rem;
    margin-top: 0.25rem;
  }
  
  .hero-buttons .btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.15rem;
  }
  
  .hero-video-wrapper {
    border-radius: 12px;
    padding-bottom: 85%;
    margin-top: 0.5rem;
  }
  
  .hero-section .container-fluid {
    padding: 0 0.875rem !important;
  }
}
