/* Hero Section Styles - No Parallax */
.hero-section {
  position: relative; /* Changed from fixed */
  width: 100%;
  min-height: 100vh; /* Use min-height instead of fixed height */
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  min-height: 100vh; /* Use min-height */
  color: white;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding-top:120px;
  padding-bottom: 60px;
}

.hero-logo {
  position: absolute;
  top: 50px;
  left: 0px;
  z-index: 4;
  text-align: center;
  width: auto;
  max-width: none;
}

/* New text logo styles */
.hero-logo-title {
  margin: 0;
  font-size: clamp(90px, 18vw, 280px);
  line-height: 0.8;
}

.hero-logo-subtitle {
  margin: 15px 0 0 0;
  font-size: clamp(24px, 6vw, 80px);
  font-weight: 500;
  letter-spacing: 0.15em;
}

/* Hero logo image styles */
.hero-logo img {
  height: clamp(130px, 22vw, 390px);
  width: auto;
  max-width: 90vw;
}

.hero-text {
  max-width: 600px;
  text-align: left;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Tablet responsiveness */
@media (max-width: 1269px) {
  .hero-logo {
    left: 20px;
  }
}

/* Mobile responsiveness */
@media (max-width: 940px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 40px;
    gap: 40px;
  }

  .hero-logo {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    z-index: auto;
    order: 1;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: none;
  }

  .hero-logo-title {
    font-size: clamp(60px, 15vw, 120px);
    line-height: 0.9;
  }

  .hero-logo-subtitle {
    font-size: clamp(16px, 4vw, 30px);
    margin-top: 8px;
  }

  .hero-logo img {
    height: clamp(90px, 22vw, 165px);
    width: auto;
    max-width: 100%;
  }

  .hero-text {
    text-align: center;
    order: 2;
  }

  .hero-bottom {
    flex-direction: column;
    gap: 30px;
    order: 3;
  }
}



@media (max-width: 480px) {
  .hero-text {
    font-size: 0.9em;
  }
}

/* Second section */
.panel.second {
  position: relative;
  z-index: 2;
  background: white;
}

/* Promise Section Styles */
.promise-content {
  padding-left: 40px;
}

.promise-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.promise-item {
  position: relative;
  padding-top: 25px;
}

.promise-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-sage-500);
}

.promise-item p {
  color: #4b5563;
  line-height: 1.6;
}

/* Desktop 2x2 grid */
@media (min-width: 1024px) {
  .promise-items {
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
  }
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .promise-content {
    max-width: 100% !important;
    padding-left: 0;
  }
  
  .promise-items {
    gap: 30px;
  }
  
  .promise-item::before {
    height: 2px;
  }
}

/* Products */
.products {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.products-heading {
  flex: 1;
  position: static;
  height: fit-content;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.products-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.product-item {
  border-radius: 20px;
  padding-block: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.product-image img {
  width: 100%;
  max-width: 186px;
  height: auto;
  border-radius: 15px;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Tablet and up */
@media (min-width: 768px) {
  .products {
    flex-direction: row;
    padding: 60px 40px;
    gap: 60px;
  }

  .products-heading {
    position: sticky;
    top: 50%;
    padding-block: 40px;
  }

  .products-section {
    gap: 80px;
  }

  .product-item {
    flex-direction: row;
    text-align: left;
    gap: 50px;
    padding-block: 35px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .products {
    gap: 80px;
  }

  .products-section {
    gap: 100px;
  }

  .product-item {
    padding-block: 40px;
  }
}

/* Video Section */
.split-video-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  overflow: hidden;
}

.video-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.video-panel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.video-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: white;
  padding: 50px;
  max-width: 70%;
}

.left-panel .video-content {
  transform: translate(-70%, -50%);
}

.right-panel .video-content {
  transform: translate(-30%, -50%);
}

.video-content h3 {
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-align: left;
}

.video-content p {
  line-height: 1.6;
  opacity: 0.95;
  font-weight: 300;
  text-align: left;
}

/* Center Circle Carousel */
.center-carousel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 400px;
  height: 400px;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .center-carousel {
      width: 250px;
      height: 250px;
  }
}

@media (max-width: 768px) {
  .split-video-section {
      flex-direction: column;
      height: auto;
      min-height: 100vh;
  }

  .video-panel video {
      height: 50vh;
  }

  .video-content {
      padding: 20px;
      width: max-content;
      z-index: 12;
      max-width: 90%;
  }

  .left-panel .video-content {
    transform: translate(-50%, -80%);
  }

  .right-panel .video-content {
    transform: translate(-50%, -20%);
  }

  .video-content h3 {
    text-align: center;
    margin-bottom: 15px;
  }

  .video-content p {
    text-align: center;
  }

  .center-carousel {
      width: 200px;
      height: 200px;
      top: 50%;
      left: 50%;
  }
}

@media (max-width: 480px) {
  .center-carousel {
      width: 150px;
      height: 150px;
  }

  .carousel-container {
      border: 4px solid white;
  }
}

/* Animation for smooth transitions */
.video-panel {
  transition: transform 0.3s ease;
}