/* =========================================================
   Landing Page Styles — Samarth Mathur
   Compact version with minimal vertical scroll
   ========================================================= */

/* -------------------------
   Hero Section
-------------------------- */
.hero-section {
  position: relative;
  padding: 2.5rem 0 1.5rem;
  margin-bottom: 2rem;
  margin-top: -2rem;
  overflow: hidden;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

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

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #030303, #004aad);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #030303;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-welcome-banner {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 74, 173, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 247, 255, 0.95));
  box-shadow: 0 8px 20px rgba(0, 74, 173, 0.12);
  color: #1f4f9e;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-description {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 1rem;
  color: #030303;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.page-content .hero-section {
  margin-top: -2rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll Animation Classes */
.scroll-animate {
  opacity: 0;
}

.scroll-animate.animate-in {
  animation-duration: 0.8s;
  animation-fill-mode: both;
  animation-timing-function: ease-out;
}

.animate-fade-up {
  animation-name: fadeInUp;
}

.animate-fade-left {
  animation-name: fadeInLeft;
}

.animate-fade-right {
  animation-name: fadeInRight;
}

.animate-scale {
  animation-name: scaleIn;
}

/* Stagger delays for multiple items */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }

/* -------------------------
   Expertise Tags
-------------------------- */
.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.expertise-tag {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  color: #030303;
  background: linear-gradient(
    135deg,
    rgba(234, 97, 92, 0.12),
    rgba(0, 74, 173, 0.12)
  );
  border: 2px solid rgba(234, 97, 92, 0.35);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.expertise-tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(234, 97, 92, 0.25);
}

/* -------------------------
   Stats Section - Compact Single Line
-------------------------- */
.stats-grid {
  max-width: 1200px;
  margin: 1rem auto 2.5rem;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-card {
  background: #FEF8F7;
  border-radius: 15px;
  padding: 1.2rem 1.8rem;
  text-align: center;
  overflow: hidden;
  border: 2px solid #fad1c5;
  box-shadow: 0 5px 20px rgba(234, 97, 92, 0.12);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 0 0 auto;
  min-width: 160px;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #EA615C, #004aad);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(234, 97, 92, 0.25);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #EA615C, #004aad);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.85;
  line-height: 1.2;
}

/* -------------------------
   Feature Sections
-------------------------- */
.features-section {
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #FEF8F7;
  padding: 2rem;
  border-radius: 20px;
  border: 2px solid #fad1c5;
  box-shadow: 0 5px 20px rgba(234, 97, 92, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(234, 97, 92, 0.25);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.feature-description {
  line-height: 1.6;
  opacity: 0.85;
  font-size: 0.95rem;
}

/* -------------------------
   CTA Section
-------------------------- */
.cta-section {
  max-width: 1100px;
  margin: 2.5rem auto 3rem;
  padding: 2rem 2rem;
  border-radius: 25px;
  background: linear-gradient(
    135deg,
    rgba(250, 209, 197, 0.35),
    rgba(254, 248, 247, 0.35)
  );
  border: 2px solid #fad1c5;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 0.5rem;
}

.cta-section p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

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

.btn-modern {
  padding: 0.8rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-modern {
  background: linear-gradient(135deg, #EA615C, #004aad);
  color: #FEF8F7;
}

.btn-secondary-modern {
  background: #FEF8F7;
  color: #004aad;
  border: 2px solid #004aad;
}

.btn-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* -------------------------
   Responsive
-------------------------- */
@media (max-width: 992px) {
  .stats-grid {
    gap: 1rem;
  }
  
  .stat-card {
    min-width: 140px;
    padding: 1rem 1.5rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .hero-title { 
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }
  
  .hero-subtitle { 
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .hero-description { 
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
  }

  .hero-welcome-banner {
    font-size: 0.72rem;
    margin-bottom: 0.8rem;
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    letter-spacing: 0.07em;
  }
  
  .hero-section {
    padding: 2rem 0 1rem;
    margin-bottom: 1.5rem;
  }
  
  .stats-grid {
    gap: 0.8rem;
    margin: 0.8rem auto 2rem;
  }
  
  .stat-card {
    min-width: 120px;
    padding: 0.8rem 1.2rem;
  }
  
  .stat-number {
    font-size: 1.6rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .features-section {
    margin: 2rem auto;
  }
  
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  
  .cta-section {
    margin: 2rem auto;
    padding: 1.5rem 1.5rem;
  }
  
  .cta-buttons { 
    flex-direction: column; 
  }
  
  .btn-modern { 
    width: 100%; 
    justify-content: center; 
  }
}

@media (max-width: 576px) {
  .stat-card {
    min-width: 100px;
    padding: 0.7rem 1rem;
  }
  
  .stat-number {
    font-size: 1.4rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
}
