/* Professional Hero Section for Zero Waste Gujarat */

:root {
  --primary-color: #215f44;
  --secondary-color: #fff6ea;
  
  
  --text-dark: #333333;
  
  --white: #FFFFFF;
  --transition: all 0.3s ease;
}

/* Professional Hero Section */
.hero {
  position: relative;
  min-height: 90vh; /* Reduced from 100vh to ensure content fits */
  max-height: 100vh; /* Add maximum height constraint */
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    rgba(33, 95, 68, 0.1) 0%,
    rgba(33, 95, 68, 0.08) 20%,
    rgba(33, 95, 68, 0.05) 40%,
    rgba(33, 95, 68, 0.02) 70%,
    rgba(255, 255, 255, 1) 100%
  );
}

/* Remove the ::before pseudo-element that was creating gradient boxes */
/* .hero::before - REMOVED FOR SMOOTH BACKGROUND */

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-10px, -10px) rotate(0.5deg);
  }
  50% {
    transform: translate(10px, -20px) rotate(-0.5deg);
  }
  75% {
    transform: translate(-5px, 10px) rotate(0.25deg);
  }
}

/* Hero Container */
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem; /* Reduced padding */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; /* Reduced gap from 4rem */
  align-items: center;
  min-height: 85vh; /* Reduced from 100vh */
  max-height: 95vh; /* Add maximum height constraint */
}

/* Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Reduced from 2rem */
  max-width: 700px; /* Increased from 600px to accommodate buttons */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(33, 95, 68, 0.08);
  border: 1px solid rgba(33, 95, 68, 0.15);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-color);
  width: fit-content;
}

.badge-icon {
  font-size: 1.2rem;
}

.hero-title {
  font-size: clamp(1.5rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-dark);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.title-highlight {
  background: var(--primary-color);
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.title-main {
  color: var(--text-dark);
  font-weight: 700;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #666;
  max-width: 500px;
  font-weight: 400;
  margin: 0;
}

/* Hero Metrics */
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-number span {
  font-size: 0.7em;
  font-weight: 600;
  color: var(--primary-color);
}

.metric-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  text-align: center;
}

.metric-divider {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--secondary-color), transparent);
  margin: 0 1rem;
}

/* Vision Expansion Section */
.vision-expansion {
  margin-top: 2rem;
  padding: 2rem 0;
}

.vision-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: left;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.vision-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.vision-item.current {
  background: rgba(33, 95, 68, 0.08);
  border: 2px solid rgba(33, 95, 68, 0.2);
}

.vision-item.future {
  background: rgba(255, 246, 234, 0.5);
  border: 2px solid rgba(33, 95, 68, 0.1);
}

.vision-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(33, 95, 68, 0.15);
}

.vision-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  flex-shrink: 0;
}

.vision-item.future .vision-icon {
  background: rgba(33, 95, 68, 0.6);
}

.vision-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 0 0.25rem 0;
}

.vision-status {
  font-size: 0.8rem;
  font-weight: 500;
  color: #666;
}

.vision-item.current .vision-status {
  color: var(--primary-color);
  font-weight: 600;
}

/* Vision Footer */
.vision-footer {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(33, 95, 68, 0.05) 0%, rgba(255, 246, 234, 0.8) 100%);
  border-radius: 16px;
  border: 1px solid rgba(33, 95, 68, 0.1);
  text-align: center;
}

.vision-tagline {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 0;
}

.vision-tagline strong {
  color: var(--primary-color);
  font-weight: 700;
}

/* Enhanced Action Buttons */
.hero-actions {
  display: flex;
  gap: 1.25rem; /* Slightly reduced gap */
  margin-top: 1.5rem; /* Reduced from 2rem */
  flex-wrap: wrap;
  max-width: 100%; /* Ensure full width is used */
}

.btn-primary-hero,
.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem; /* Reduced gap between content and icon */
  padding: 0;
  border: none;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-height: 64px;
  backdrop-filter: blur(10px);
  flex: 0 1 auto; /* Allow flexible sizing */
  min-width: 200px; /* Minimum width to ensure content fits */
}

.btn-primary-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, rgba(33, 95, 68, 0.9) 100%);
  color: white;
  padding: 1.1rem 1.75rem; /* Reduced padding */
  box-shadow: 
    0 8px 32px rgba(33, 95, 68, 0.3),
    0 4px 16px rgba(33, 95, 68, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary-hero .btn-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.btn-primary-hero .btn-text {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.btn-primary-hero .btn-subtext {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.2;
}

.btn-primary-hero .btn-icon {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-primary-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.btn-primary-hero:hover::before {
  left: 100%;
}

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 12px 40px rgba(33, 95, 68, 0.4),
    0 6px 20px rgba(33, 95, 68, 0.3);
}

.btn-primary-hero:hover .btn-icon {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.btn-secondary-hero {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  border: 2px solid rgba(33, 95, 68, 0.15);
  padding: 1.1rem 1.75rem; /* Reduced padding */
  box-shadow: 
    0 8px 32px rgba(33, 95, 68, 0.1),
    0 4px 16px rgba(33, 95, 68, 0.05);
}

.btn-secondary-hero .btn-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.btn-secondary-hero .btn-text {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.btn-secondary-hero .btn-subtext {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.8;
  line-height: 1.2;
}

.btn-secondary-hero .btn-icon {
  background: rgba(33, 95, 68, 0.1);
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-secondary-hero:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 
    0 12px 40px rgba(33, 95, 68, 0.3),
    0 6px 20px rgba(33, 95, 68, 0.2);
}

.btn-secondary-hero:hover .btn-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(33, 95, 68, 0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.trust-icon {
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(33, 95, 68, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trust-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.2;
}

.trust-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.2;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-container {
  position: relative;
  width: 100%;
  max-width: 600px; /* Increased from 450px */
  height: 500px; /* Increased from 400px */
  min-height: 400px; /* Increased from 320px */
  margin: 0 auto; /* Center the container */
}

/* Background removed as requested */

.hero-image {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  transition: all 0.4s ease;
  max-width: 100%;
}

/* Background removed as requested */

/* Background pattern removed as requested */

.hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 1;
  max-width: 100%;
  max-height: 100%;
  border-radius: 13px;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

@keyframes fadeInImage {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-image:hover {
  transform: translateY(-5px);
}

.hero-image:hover .hero-main-image {
  transform: scale(1.02);
}

/* Image overlay removed as requested */

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Floating Stats Cards */
/* Responsive Design */
@media (max-width: 1200px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  
  .hero-content {
    max-width: 700px;
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
    max-width: 100%;
  }
  
  .visual-container {
    max-width: 550px; /* Increased proportionally */
    height: 450px; /* Increased proportionally */
  }
  
  .vision-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .vision-item {
    padding: 0.75rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 85vh; /* Reduced for mobile */
    max-height: 95vh; /* Ensure content fits */
  }
  
  .hero-container {
    padding: 1rem;
    gap: 1.5rem; /* Reduced gap */
    min-height: 80vh; /* Reduced for mobile */
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-metrics {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 0;
  }
  
  .metric-divider {
    width: 60px;
    height: 2px;
    margin: 0;
  }
  
  .hero-content {
    gap: 1.25rem; /* Reduced gap for mobile */
  }
  
  .hero-actions {
    margin-top: 1rem; /* Reduced margin for mobile */
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .btn-primary-hero,
  .btn-secondary-hero {
    flex: 0 1 auto;
    min-width: 200px;
    max-width: 250px;
    justify-content: center;
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  
  .trust-item {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .visual-container {
    height: 350px; /* Increased from 300px */
  }
  
  .vision-expansion {
    margin-top: 1.5rem;
    padding: 1.5rem 0;
  }
  
  .vision-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .vision-item {
    padding: 0.75rem;
  }
  
  .vision-icon {
    width: 35px;
    height: 35px;
    font-size: 1.25rem;
  }
  
  .vision-content h4 {
    font-size: 0.9rem;
  }
  
  .vision-status {
    font-size: 0.75rem;
  }
  
  .vision-footer {
    margin-top: 1.5rem;
    padding: 1rem;
  }
  
  .vision-tagline {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 80vh; /* Further reduced for small screens */
  }
  
  .hero-container {
    padding: 0.5rem;
    gap: 1rem; /* Reduced gap */
    min-height: 75vh; /* Further reduced */
  }
  
  .hero-content {
    gap: 1rem; /* Further reduced gap */
  }
  
  .hero-actions {
    margin-top: 0.75rem; /* Further reduced margin */
    gap: 1rem; /* Reduced gap for small screens */
  }
  
  .btn-primary-hero,
  .btn-secondary-hero {
    min-width: 140px;
    max-width: 180px;
    padding: 1rem 1.5rem; /* Reduced padding for small screens */
  }
  
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  
  .vision-grid {
    grid-template-columns: 1fr;
  }
  
  .vision-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .vision-footer {
    margin-top: 1rem;
    padding: 0.75rem;
  }
  
  .vision-tagline {
    font-size: 0.95rem;
  }
}

/* High contrast and accessibility */
@media (prefers-reduced-motion: reduce) {
  .btn-primary-hero:hover,
  .btn-secondary-hero:hover {
    transform: none;
  }
}

@media (prefers-contrast: high) {
  .hero-badge {
    background: white;
    border: 2px solid var(--primary-color);
  }
  
  .hero-image {
    border: 2px solid var(--primary-color);
  }
}

/* Focus states for accessibility */
.btn-primary-hero:focus,
.btn-secondary-hero:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}
