/* Homepage refresh styles */

body.homepage {
  background-color: #f5f7fb;
  color: #1f2749;
}

body.homepage main {
  background-color: #f5f7fb;
}

.homepage .text-muted {
  color: #5d6b88 !important;
}

.homepage .eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8fd7d0;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.homepage .section-title {
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #142042;
}

.homepage .section-intro {
  font-size: 1.05rem;
  color: #4a5773;
  max-width: 680px;
}

.homepage .hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
}

.homepage .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.homepage .hero-media video,
.homepage .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.homepage .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11, 25, 69, 0.75) 0%, rgba(11, 25, 69, 0.45) 55%, rgba(11, 25, 69, 0.2) 100%);
}

.homepage .hero-container {
  position: relative;
  z-index: 2;
  padding-top: clamp(4rem, 10vw, 8rem);
  padding-bottom: clamp(4rem, 10vw, 8rem);
}

.homepage .hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 720px;
}

.homepage .hero-copy p {
  font-size: 1.1rem;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.85);
}

.homepage .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.homepage .hero-actions .btn-primary {
  background-color: #59cdc1;
  border-color: #59cdc1;
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  font-weight: 600;
}

.homepage .hero-actions .btn-outline-light {
  border-radius: 999px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  border-width: 2px;
}

.homepage .contact-strip {
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(20, 32, 66, 0.06);
  border-radius: 24px;
  margin-top: -3.5rem;
  position: relative;
  z-index: 3;
  padding: 1.5rem;
}

.homepage .contact-strip-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.homepage .contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid #e0e7f5;
  color: inherit;
  transition: all 0.25s ease;
}

.homepage .contact-item:hover {
  text-decoration: none;
  transform: translateY(-4px);
  border-color: #59cdc1;
  box-shadow: 0 16px 40px rgba(17, 31, 74, 0.1);
}

.homepage .contact-item .icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #59cdc1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.homepage .contact-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6c7a8f;
  display: block;
}

.homepage .contact-item .value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #142042;
}

.homepage .feature-links {
  padding-top: 4rem;
  padding-bottom: 1rem;
}

.homepage .feature-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 18px 45px rgba(20, 32, 66, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(89, 205, 193, 0.18);
}

.homepage .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(20, 32, 66, 0.12);
}

.homepage .feature-card .feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(89, 205, 193, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.homepage .feature-card img {
  max-width: 42px;
}

.homepage .feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: #142042;
}

.homepage .feature-card p {
  font-size: 0.95rem;
  color: #5a6681;
  margin-bottom: 1.5rem;
}

.homepage .feature-card a {
  font-weight: 600;
  color: #1f6ed4;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.homepage .feature-card a i {
  font-size: 0.95rem;
}

.homepage .service-finder {
  margin-top: 3rem;
  background: linear-gradient(135deg, #283b6a 0%, #0f2248 100%);
  border-radius: 28px;
  padding: clamp(2.25rem, 5vw, 3.25rem);
  color: #ffffff;
}

.homepage .service-finder h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.homepage .service-finder form {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.5rem;
}

.homepage .service-finder .form-control,
.homepage .service-finder .form-select {
  border-radius: 12px;
  border: none;
  padding: 0.85rem 1rem;
}

.homepage .service-finder button {
  border-radius: 999px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  background: #59cdc1;
  border: none;
  color: #0b1b45;
  transition: background 0.25s ease;
}

.homepage .service-finder button:hover {
  background: #48b7ad;
}

.homepage .highlights {
  padding: 4rem 0 1rem;
}

.homepage .highlight-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 18px 45px rgba(20, 32, 66, 0.08);
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.homepage .highlight-card .icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(40, 59, 106, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #283b6a;
}

.homepage .highlight-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: #142042;
}

.homepage .highlight-card p {
  margin: 0;
  color: #5a6681;
}

.homepage .service-grid {
  padding: 4rem 0;
}

.homepage .service-grid .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.homepage .service-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 2rem 1.6rem;
  text-align: center;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  box-shadow: 0 20px 55px rgba(20, 32, 66, 0.08);
  height: 100%;
}

.homepage .service-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 1.1rem;
}

.homepage .service-card h3 {
  font-size: 1.1rem;
  color: #142042;
}

.homepage .service-card p {
  color: #5a6681;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.homepage .service-card a {
  color: #1f6ed4;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.homepage .service-card:hover {
  border-color: #59cdc1;
  transform: translateY(-6px);
}

.homepage .why-zyio {
  padding: 4rem 0;
}

.homepage .why-zyio .content-card {
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 24px 60px rgba(20, 32, 66, 0.09);
}

.homepage .why-zyio .badge-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.homepage .why-zyio .badge-item {
  background: rgba(89, 205, 193, 0.14);
  color: #142042;
  border-radius: 16px;
  padding: 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

.homepage .why-zyio .figure img {
  border-radius: 22px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homepage .doctors {
  padding: 4rem 0;
}

.homepage .doctors .scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 260px);
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}

.homepage .doctors .scroller::-webkit-scrollbar {
  height: 6px;
}

.homepage .doctors .scroller::-webkit-scrollbar-thumb {
  background: rgba(40, 59, 106, 0.35);
  border-radius: 3px;
}

.homepage .doctor-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(20, 32, 66, 0.1);
  scroll-snap-align: start;
  border: 1px solid rgba(224, 231, 245, 0.9);
}

.homepage .doctor-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.homepage .doctor-card .card-body {
  padding: 1.3rem 1.5rem 1.6rem;
  color: #142042;
}

.homepage .doctor-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.homepage .doctor-card p {
  font-size: 0.9rem;
  color: #5a6681;
  margin-bottom: 0;
}

.homepage .insurance {
  padding: 4rem 0;
}

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

.homepage .insurance-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.75rem;
  border: 1px solid rgba(224, 231, 245, 0.9);
  height: 100%;
  box-shadow: 0 18px 45px rgba(20, 32, 66, 0.07);
}

.homepage .insurance-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: #142042;
}

.homepage .insurance-card p {
  font-size: 0.9rem;
  color: #5a6681;
  margin-bottom: 1rem;
}

.homepage .insurance-card a {
  font-weight: 600;
  color: #1f6ed4;
}

.homepage .updates {
  padding: 4rem 0;
}

.homepage .updates .card {
  border: none;
  border-radius: 20px;
  padding: 1.9rem;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(20, 32, 66, 0.08);
  height: 100%;
}

.homepage .updates .card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  color: #142042;
}

.homepage .updates .card p {
  color: #5a6681;
  font-size: 0.95rem;
}

.homepage .updates .card a {
  font-weight: 600;
  color: #1f6ed4;
}

.homepage .cta-banner {
  margin: 4rem 0 2rem;
  border-radius: 28px;
  background: linear-gradient(120deg, #283b6a 0%, #1f2749 60%, #101934 100%);
  color: #ffffff;
  padding: clamp(2.5rem, 4vw, 3.5rem);
  box-shadow: 0 28px 70px rgba(12, 25, 59, 0.35);
}

.homepage .cta-banner h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.4rem);
  margin-bottom: 1rem;
}

.homepage .cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  max-width: 620px;
}

.homepage .cta-banner .btn {
  margin-top: 1.5rem;
  border-radius: 999px;
  padding: 0.85rem 2.2rem;
  font-weight: 600;
}

@media (max-width: 991px) {
  .homepage .hero {
    min-height: 65vh;
  }

  .homepage .hero-copy h1 {
    font-size: clamp(2.1rem, 6vw, 3.2rem);
  }

  .homepage .contact-strip {
    margin-top: -2.5rem;
    padding: 1.2rem;
  }

  .homepage .service-finder form {
    grid-template-columns: 1fr;
  }

  .homepage .why-zyio .figure {
    margin-top: 2rem;
  }
}

@media (max-width: 575px) {
  .homepage .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .homepage .hero-actions .btn-primary,
  .homepage .hero-actions .btn-outline-light {
    width: 100%;
    text-align: center;
  }

  .homepage .contact-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .homepage .contact-item .icon {
    margin-bottom: 0.75rem;
  }

  .homepage .doctors .scroller {
    grid-auto-columns: minmax(75%, 85%);
  }
}
