/* =============================================
   PAGES & SECTIONS STYLES - Premium Refined
   ============================================= */

/* Hero Sections */
.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.9;
  margin-bottom: 30px;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 17.5px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  margin-bottom: 18px;
  display: block;
  opacity: 0.95;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  align-items: center;
}

.feature-image-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 15px 45px -12px rgba(0, 0, 0, 0.15);
}

/* Subpage Hero */
.subpage-hero {
  height: 60vh;
  min-height: 400px;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.form-group {
  margin-bottom: 30px;
}

.form-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 15px 0;
  border: none;
  border-bottom: 1px solid #ddd;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-bottom-color: var(--primary-color);
}

textarea.form-control {
  height: 150px;
  resize: none;
}

/* =============================================
   RESPONSIVE UPDATES (CRITICAL FIXES)
   ============================================= */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 24px;
  }

  .stat-number {
    font-size: 51px;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    max-width: 245px;
    margin-left: auto;
    margin-right: auto;
  }

  .stat-item {
    padding: 8px 0;
  }

  .stat-number {
    font-size: 52px;
  }

  .stat-label {
    font-size: 13.5px;
    max-width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* Extra mobile polish */
@media (max-width: 480px) {
  .stat-number {
    font-size: 47px;
  }
}
/* Mobile spacing fix for Sustainability Highlights only */
@media (max-width: 768px) {
  .sustainability-highlights-section {
    height: auto !important;
    min-height: 640px !important;
    padding-top: 110px;
    padding-bottom: 110px;
  }
}

@media (max-width: 480px) {
  .sustainability-highlights-section {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

/* Specific fix for iPhone SE (375x667) and other small screens for index.html hero text overlapping navbar */
@media screen and (max-width: 480px) {
  .home-page .hero-content {
    margin-top: 100px; /* Push content down to avoid navbar collision */
  }
  .home-page .hero-subtitle {
    font-size: 13.5px;
    letter-spacing: 0.25em;
    line-height: 1.4;
  }
  .home-page .hero-title {
    font-size: 2.5rem;
  }
}


