/* ============================================
   TrueCare Hospitality - Index Page Styles
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e3a5f 0%, #2f6da5 50%, #4fb6c2 100%);
  color: #ffffff;
  text-align: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

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

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
  line-height: 1.8;
}

/* Decorative Shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: #ffffff;
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 250px;
  height: 250px;
  bottom: -50px;
  left: -50px;
  animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  left: 15%;
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: 100px 0;
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.3rem;
  color: #1e3a5f;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us {
  padding: 100px 0;
  background: #f4f8fb;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

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

.feature-item h3 {
  font-size: 1.1rem;
  color: #1e3a5f;
  margin-bottom: 0.6rem;
}

.feature-item p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #4fb6c2, #7bc67b);
  text-align: center;
  color: #ffffff;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

/* ============================================
   INDEX PAGE RESPONSIVE
   ============================================ */

/* Large monitors (1400px+) */
@media (min-width: 1400px) {
  .hero h1 {
    font-size: 3.6rem;
  }

  .hero p {
    font-size: 1.2rem;
    max-width: 720px;
  }

  .cta h2 {
    font-size: 2.8rem;
  }
}

/* Tablet (768px – 991px) */
@media (max-width: 991px) {
  .hero {
    padding: 120px 0 70px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .services {
    padding: 70px 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .why-us {
    padding: 70px 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .cta {
    padding: 70px 0;
  }

  .cta h2 {
    font-size: 2rem;
  }
}

/* Mobile (481px – 767px) */
@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding: 130px 0 70px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .services {
    padding: 60px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .why-us {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-item {
    padding: 30px 20px;
  }

  .cta {
    padding: 60px 0;
  }

  .cta h2 {
    font-size: 1.7rem;
  }

  .cta p {
    font-size: 1rem;
  }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 1.55rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 0.93rem;
  }

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

  .service-card {
    padding: 28px 20px;
  }

  .service-icon {
    font-size: 2.4rem;
  }

  .cta h2 {
    font-size: 1.4rem;
  }

  .cta p {
    font-size: 0.93rem;
  }
}
