/* Home Page Specific Styles */

/* ==================== HERO SECTION WITH VIDEO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0A1628;
}

/* Video Background */
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* Video Overlay - DARK with more transparency to show video */
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.60) 0%,
    rgba(13, 31, 45, 0.55) 50%,
    rgba(10, 22, 40, 0.65) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Add subtle vignette effect - DARK VERSION */
.hero-video-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at center, transparent 0%, rgba(10, 22, 40, 0.3) 100%);
  pointer-events: none;
}

/* Ensure container is above video */
.hero .container {
  position: relative;
  z-index: 2;
}

/* ==================== HERO CAROUSEL ==================== */
.hero-carousel-wrapper {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  padding: 4rem 2rem;
}

.hero-text-carousel {
  position: relative;
  min-height: 280px;
  margin-bottom: 3rem;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.hero-slide.slide-out {
  opacity: 0;
  transform: translateX(-100%);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem) !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #45E3D4 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  text-shadow: none !important;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem) !important;
  color: #E5E7EB !important;
  margin-bottom: 0 !important;
  line-height: 1.6 !important;
  max-width: 800px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Hero-specific button styles for dark video background */
.hero .btn-teal-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF !important;
  border: 2px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero .btn-teal-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #45E3D4;
  color: #FFFFFF !important;
  box-shadow: 0 6px 25px rgba(69, 227, 212, 0.4);
  transform: translateY(-2px);
}

.hero .btn-primary {
  background: linear-gradient(135deg, #18AA9C, #45E3D4);
  box-shadow: 0 6px 25px rgba(24, 170, 156, 0.5);
  border: none;
  color: #FFFFFF !important;
}

.hero .btn-primary:hover {
  box-shadow: 0 8px 35px rgba(69, 227, 212, 0.6);
  transform: translateY(-2px);
}

.hero-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  align-items: center;
}

.hero-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  position: relative;
}

.hero-indicator.active {
  background: #45E3D4;
  border-color: #45E3D4;
  width: 32px;
  border-radius: 5px;
  box-shadow: 0 0 12px rgba(69, 227, 212, 0.6);
}

.hero-indicator:hover:not(.active) {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.hero-carousel {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 16px;
  background: #F8F9FA;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.carousel-slide.active {
  opacity: 1;
}

.slide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
}

.slide-image svg {
  width: 100%;
  height: auto;
  max-width: 450px;
}

.slide-text {
  text-align: left;
}

.slide-text h3 {
  font-size: 2rem;
  color: #212529;
  margin-bottom: 1rem;
  font-weight: 700;
}

.slide-text p {
  font-size: 1.25rem;
  color: #495057;
  line-height: 1.6;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #18AA9C;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-medium);
  padding: 0;
}

.indicator.active {
  background: #18AA9C;
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(24, 170, 156, 0.5);
}

/* ==================== PILLARS SECTION ==================== */
.pillars-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pillar-card {
  text-align: center;
  height: 100%;
}

.pillar-card .card-icon {
  margin-left: auto;
  margin-right: auto;
  font-size: 2rem;
  width: 72px;
  height: 72px;
}

.pillar-card:hover .card-icon {
  background: rgba(24, 170, 156, 0.2);
  box-shadow: var(--glow-teal);
}

/* ==================== PLATFORM FLOW ==================== */
.platform-flow {
  background: var(--bg-primary);
  position: relative;
}

.platform-flow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(24, 170, 156, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(69, 227, 212, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.flow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  position: relative;
}

.flow-step {
  flex: 1;
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: all var(--transition-medium);
}

.flow-step:hover {
  transform: translateY(-4px);
  border-color: var(--teal-primary);
  box-shadow: var(--glow-teal);
}

.flow-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  background: rgba(24, 170, 156, 0.08);
  border: 1px solid rgba(24, 170, 156, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #18AA9C;
  transition: all var(--transition-medium);
}

.flow-step:hover .flow-icon {
  background: rgba(24, 170, 156, 0.15);
  border-color: rgba(24, 170, 156, 0.4);
  transform: translateY(-2px);
}

.flow-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.flow-description {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.flow-arrow {
  color: var(--teal-primary);
  font-size: 1.5rem;
  flex-shrink: 0;
  opacity: 0.6;
}

/* ==================== BENEFITS SECTION ==================== */
.benefits-grid {
  margin-top: 3rem;
}

.benefit-card {
  text-align: center;
}

.benefit-card .card-icon {
  margin-left: auto;
  margin-right: auto;
}

.benefit-card:hover .card-icon {
  background: rgba(24, 170, 156, 0.2);
  transform: scale(1.1);
}

/* ==================== WHO SECTION ==================== */
.who-section {
  background: var(--bg-primary);
}

.audience-grid {
  margin-top: 3rem;
}

.audience-card {
  padding: 2.5rem;
  text-align: center;
}

.audience-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(24, 170, 156, 0.08);
  border: 1px solid rgba(24, 170, 156, 0.2);
  transition: all var(--transition-medium);
}

.audience-card:hover .audience-icon {
  background: rgba(24, 170, 156, 0.15);
  border-color: rgba(24, 170, 156, 0.4);
  transform: translateY(-4px);
}

.audience-card .card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* ==================== OUTCOMES SECTION ==================== */
.outcomes-grid {
  margin-top: 3rem;
  gap: 2rem;
  grid-template-columns: repeat(4, 1fr) !important;
}

.outcome-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  transition: all var(--transition-medium);
}

.outcome-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal-primary);
  box-shadow: var(--shadow-md);
}

.outcome-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: rgba(24, 170, 156, 0.08);
  border: 1px solid rgba(24, 170, 156, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #18AA9C;
  transition: all var(--transition-medium);
}

.outcome-card:hover .outcome-icon {
  background: rgba(24, 170, 156, 0.15);
  border-color: rgba(24, 170, 156, 0.4);
  transform: translateY(-2px);
}

.outcome-title {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.outcome-description {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

/* ==================== INTEGRATIONS SECTION ==================== */
.integrations-section {
  background: var(--bg-primary);
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.integration-category {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-left: 4px solid var(--teal-primary);
  border-radius: 8px;
  transition: all var(--transition-medium);
}

.integration-category:hover {
  transform: translateX(4px);
  border-left-color: var(--teal-bright);
  box-shadow: var(--shadow-md);
}

.integration-category h4 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.integration-category h4 i {
  color: var(--teal-primary);
  font-size: 1.25rem;
}

.integration-category p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-grid {
  margin-top: 3rem;
}

.testimonial-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100%;
}

.testimonial-quote {
  flex: 1;
}

.testimonial-quote i {
  color: var(--teal-primary);
  font-size: 2rem;
  opacity: 0.3;
  margin-bottom: 1rem;
}

.testimonial-quote p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-author strong {
  color: #FFFFFF !important;
  font-size: 1rem;
  font-weight: 600;
}

.testimonial-author span {
  color: #18AA9C !important;
  font-size: 0.9rem;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(24, 170, 156, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(69, 227, 212, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.cta-logo {
  margin-bottom: 2rem;
}

.cta-logo-img {
  height: 60px;
  width: auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--teal-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

.cta-btn-primary i {
  color: #FFFFFF !important;
}

/* ==================== MADE IN INDIA SECTION ==================== */
.made-in-india-section {
  position: relative;
}

/* Flow grid - 2x2 layout */
.flow-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* India grid - 3 columns in 1 row */
.india-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.made-in-india-content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem;
  background: #0D1B2E;
  border: 1px solid #1A2942;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.made-in-india-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    #FF9933 0%, #FF9933 33.33%, 
    #FFFFFF 33.33%, #FFFFFF 66.66%, 
    #138808 66.66%, #138808 100%
  );
}

.made-in-india-content .section-title {
  margin-top: 1rem;
}

.made-in-india-content .india-grid {
  margin-top: 3rem;
}
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: all var(--transition-medium);
}

.india-stat:hover {
  border-color: var(--teal-primary);
  transform: translateY(-4px);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(24, 170, 156, 0.08);
  border: 1px solid rgba(24, 170, 156, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #18AA9C;
  flex-shrink: 0;
}

.stat-content strong {
  display: block;
  color: var(--text-primary);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.stat-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
  .hero-carousel-wrapper {
    padding: 3rem 1.5rem;
  }
  
  .hero-text-carousel {
    min-height: 300px;
  }
  
  .slide-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .slide-image {
    order: 2;
  }
  
  .slide-text {
    order: 1;
    text-align: center;
  }
  
  .carousel-container {
    height: 600px;
  }
  
  .flow-container {
    flex-wrap: wrap;
  }
  
  .flow-arrow {
    display: none;
  }
  
  .flow-step {
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 1.5rem 60px;
  }
  
  .hero-carousel-wrapper {
    padding: 2rem 1rem;
  }
  
  .hero-text-carousel {
    min-height: 250px;
  }
  
  .hero-title {
    font-size: clamp(2rem, 6vw, 2.5rem) !important;
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.125rem) !important;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .flow-grid {
    grid-template-columns: 1fr !important;
  }
  
  .india-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Optimize video for mobile */
  .hero-video-bg {
    min-width: 100%;
    width: 100%;
    height: 100vh;
  }
  
  /* Slightly stronger overlay on mobile for better readability */
  .hero-video-overlay {
    background: linear-gradient(
      135deg,
      rgba(10, 22, 40, 0.70) 0%,
      rgba(13, 31, 45, 0.65) 50%,
      rgba(10, 22, 40, 0.75) 100%
    );
  }
  
  .carousel-container {
    height: auto;
    min-height: 500px;
  }
  
  .carousel-slide {
    padding: 2rem;
  }
  
  .slide-text h3 {
    font-size: 1.5rem;
  }
  
  .slide-text p {
    font-size: 1rem;
  }
  
  .flow-container {
    flex-direction: column;
    padding: 1.5rem;
  }
  
  .flow-step {
    width: 100%;
  }
  
  .integrations-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  .made-in-india-content {
    padding: 2rem;
  }
  
  .india-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .outcomes-grid {
    grid-template-columns: 1fr !important;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .flow-step {
    padding: 1.5rem 1rem;
  }
  
  .flow-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
}
