/* ===================================
   INDEX PAGE SPECIFIC STYLES
   =================================== */

/* Hero Section - Homepage only */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(15, 23, 42, 0.52), rgba(15, 23, 42, 0.38)),
    url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #fff;
}

.hero-content {
  max-width: 760px;
  padding: 110px 0 90px;
}

.hero .eyebrow {
  color: #bae6fd;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.15;
  font-weight: 700;
}

.hero p {
  margin: 28px 0 0;
  font-size: 18px;
  color: #e2e8f0;
  max-width: 640px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

/* Section overrides for index page */
section {
  padding: 88px 0;
}

.section-light {
  background: #f8fafc;
}

.section-heading {
  text-align: center;
  margin-bottom: 46px;
}

.section-heading .label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #0369a1;
  margin-bottom: 14px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  color: #0f172a;
}

.divider {
  width: 72px;
  height: 1px;
  background: #cbd5e1;
  margin: 20px auto 0;
}

/* Greeting Section */
.greeting {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: #475569;
  font-size: 17px;
}

.greeting p {
  margin: 0 0 22px;
}

/* Cards Grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: #0f172a;
}

.card-body p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
}

/* News Box */
.news-box {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.news-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid #e2e8f0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-weight: 700;
  color: #0284c7;
}

.news-text {
  color: #334155;
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  background: url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.about-text h3 {
  margin: 0 0 18px;
  font-size: 34px;
  color: #0f172a;
}

.about-text p {
  margin: 0 0 16px;
  color: #475569;
  font-size: 16px;
}

/* CTA Section */
.cta {
  text-align: center;
  background: linear-gradient(135deg, #0f172a, #0f4c81);
  color: #fff;
  border-radius: 32px;
  padding: 56px 28px;
}

.cta h3 {
  margin: 0 0 12px;
  font-size: 34px;
}

.cta p {
  margin: 0 auto 28px;
  max-width: 680px;
  color: #dbeafe;
}

.cta .btn-primary {
  background: #fff;
  color: #0f172a;
}

.cta .btn-primary:hover {
  background: #e2e8f0;
}

/* Media Queries - Index specific */
@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  section {
    padding: 72px 0;
  }

  .hero-content {
    padding: 90px 0 70px;
  }

  .hero p {
    font-size: 16px;
  }

  .cta h3 {
    font-size: 28px;
  }
}
