/* ==========================================================================
   HealthHands Healthcare Portal — Frontend Theme
   Palette: White / Blue (#0d6efd, #0d4a9e) / Green (#1fb389, #0e7a5b)
   ========================================================================== */

:root {
  --hc-blue: #0d6efd;
  --hc-blue-dark: #0d4a9e;
  --hc-green: #1fb389;
  --hc-green-dark: #0e7a5b;
  --hc-teal: #17a2b8;
  --hc-bg-soft: #f4f8fc;
  --hc-text: #2b3446;
  --hc-text-muted: #6b7686;
  --hc-radius: 1rem;
  --hc-radius-sm: 0.6rem;
  --hc-shadow: 0 10px 30px rgba(13, 74, 158, 0.08);
  --hc-shadow-hover: 0 16px 40px rgba(13, 74, 158, 0.16);
  --hc-transition: all 0.25s ease;
}

body {
  font-family: 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--hc-text);
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #17233b;
}

a {
  text-decoration: none;
  transition: var(--hc-transition);
}

img {
  max-width: 100%;
  height: auto;
}

.section-padding { padding: 80px 0; }
@media (max-width: 767.98px) { .section-padding { padding: 50px 0; } }

.bg-soft { background-color: var(--hc-bg-soft); }

.text-hc-blue { color: var(--hc-blue) !important; }
.text-hc-green { color: var(--hc-green) !important; }

.btn-hc-primary {
  background: linear-gradient(135deg, var(--hc-blue), var(--hc-blue-dark));
  border: none;
  color: #fff;
  border-radius: 50px;
  padding: 0.7rem 1.75rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
  transition: var(--hc-transition);
}
.btn-hc-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(13, 110, 253, 0.35); color: #fff; }

.btn-hc-outline {
  border: 2px solid var(--hc-blue);
  color: var(--hc-blue);
  border-radius: 50px;
  padding: 0.65rem 1.75rem;
  font-weight: 600;
  background: transparent;
  transition: var(--hc-transition);
}
.btn-hc-outline:hover { background: var(--hc-blue); color: #fff; }

.btn-hc-green {
  background: linear-gradient(135deg, var(--hc-green), var(--hc-green-dark));
  border: none;
  color: #fff;
  border-radius: 50px;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  transition: var(--hc-transition);
}
.btn-hc-green:hover { transform: translateY(-2px); color: #fff; }

.section-title .badge-label {
  display: inline-block;
  background: rgba(13, 110, 253, 0.1);
  color: var(--hc-blue);
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title h2 { font-size: 2.2rem; }
.section-title p { color: var(--hc-text-muted); }

/* ---------- Navbar ---------- */
.hc-navbar {
  transition: var(--hc-transition);
  background: #ffffff;
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}
.hc-navbar.scrolled { padding: 8px 0; box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.hc-navbar .navbar-brand img { height: 42px; }
.hc-navbar .nav-link {
  color: var(--hc-text);
  font-weight: 600;
  margin: 0 10px;
  position: relative;
}
.hc-navbar .nav-link.active,
.hc-navbar .nav-link:hover { color: var(--hc-blue); }
.hc-navbar .nav-call-btn {
  background: var(--hc-bg-soft);
  color: var(--hc-blue);
  border-radius: 50px;
  padding: 8px 16px;
  font-weight: 600;
  margin-right: 10px;
}
.hc-navbar .nav-whatsapp-btn {
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 8px 18px;
  font-weight: 600;
}
.hc-navbar .nav-whatsapp-btn:hover { color: #fff; opacity: 0.9; }

/* ---------- Hero Slider ---------- */
.hero-slider { position: relative; }
.hero-slide {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,20,40,0.72) 0%, rgba(10,20,40,0.35) 60%, rgba(10,20,40,0.15) 100%);
}
.hero-slide .hero-content { position: relative; z-index: 2; color: #fff; max-width: 640px; }
.hero-slide .hero-subtitle {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-slide h1 { font-size: 3rem; color: #fff; margin-bottom: 20px; line-height: 1.2; }
.hero-slide p { font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-bottom: 28px; }
@media (max-width: 767.98px) {
  .hero-slide { min-height: 480px; }
  .hero-slide h1 { font-size: 2rem; }
}
.hero-slider .swiper-pagination-bullet { background: #fff; opacity: 0.6; }
.hero-slider .swiper-pagination-bullet-active { opacity: 1; background: var(--hc-green); }
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev { color: #fff; opacity: 0.7; }
.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover { opacity: 1; }

/* ---------- About ---------- */
.about-image-wrap { position: relative; }
.about-image-wrap img { border-radius: var(--hc-radius); box-shadow: var(--hc-shadow); }
.about-experience-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: linear-gradient(135deg, var(--hc-blue), var(--hc-green));
  color: #fff;
  border-radius: var(--hc-radius);
  padding: 20px 26px;
  text-align: center;
  box-shadow: var(--hc-shadow-hover);
}
.about-experience-badge .num { font-size: 2rem; font-weight: 800; display: block; }
.mission-vision-box {
  background: var(--hc-bg-soft);
  border-radius: var(--hc-radius-sm);
  padding: 20px;
  border-left: 4px solid var(--hc-blue);
  margin-bottom: 16px;
}
.mission-vision-box.vision-box { border-left-color: var(--hc-green); }

/* ---------- Service Cards ---------- */
.service-card {
  background: #fff;
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
  overflow: hidden;
  transition: var(--hc-transition);
  height: 100%;
  border: 1px solid rgba(0,0,0,0.04);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--hc-shadow-hover); }
.service-card .service-img { height: 210px; overflow: hidden; }
.service-card .service-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--hc-transition); }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-card .service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--hc-blue), var(--hc-green));
  color: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-top: -46px;
  margin-left: 20px;
  position: relative;
  box-shadow: 0 8px 20px rgba(13,110,253,0.3);
}
.service-card .service-body { padding: 16px 20px 22px; }
.service-card .service-body h5 { margin-bottom: 10px; }
.service-card .service-body p { color: var(--hc-text-muted); font-size: 0.94rem; }
.service-card .service-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.service-card .service-actions .btn { flex: 1; font-size: 0.85rem; padding: 8px 12px; }

/* ---------- Why Choose Us ---------- */
.why-choose-card {
  background: #fff;
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
  padding: 30px 24px;
  text-align: center;
  height: 100%;
  transition: var(--hc-transition);
}
.why-choose-card:hover { transform: translateY(-6px); box-shadow: var(--hc-shadow-hover); }
.why-choose-card .icon {
  width: 70px; height: 70px;
  margin: 0 auto 20px;
  background: var(--hc-bg-soft);
  color: var(--hc-blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}

/* ---------- Statistics ---------- */
.stats-section {
  background: linear-gradient(135deg, var(--hc-blue-dark), var(--hc-blue));
  border-radius: var(--hc-radius);
  padding: 50px 20px;
  color: #fff;
}
.stat-item { text-align: center; }
.stat-item .stat-number { font-size: 2.6rem; font-weight: 800; display: block; }
.stat-item .stat-label { opacity: 0.85; font-weight: 500; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
  padding: 30px;
  height: 100%;
}
.testimonial-card .quote-icon { color: var(--hc-blue); opacity: 0.15; font-size: 2.5rem; }
.testimonial-card .testimonial-review { color: var(--hc-text-muted); margin: 14px 0 20px; }
.testimonial-card .testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-card .testimonial-author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.testimonial-card .rating { color: #ffb400; margin-bottom: 6px; }

/* ---------- Gallery ---------- */
.gallery-item {
  border-radius: var(--hc-radius-sm);
  overflow: hidden;
  position: relative;
  box-shadow: var(--hc-shadow);
}
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: var(--hc-transition); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(13,74,158,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--hc-transition);
  color: #fff; font-size: 1.4rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item {
  border: none;
  border-radius: var(--hc-radius-sm) !important;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--hc-shadow);
}
.faq-accordion .accordion-button {
  font-weight: 600;
  background: #fff;
  padding: 18px 22px;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--hc-blue);
  background: var(--hc-bg-soft);
  box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: none; }

/* ---------- Contact ---------- */
.contact-info-card {
  background: #fff;
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
  padding: 26px;
  /* height: 100%; */
  text-align: center;
  transition: var(--hc-transition);
}
.contact-info-card:hover { transform: translateY(-6px); }
.contact-info-card .icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--hc-bg-soft);
  color: var(--hc-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.contact-form-card {
  background: #fff;
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
  padding: 40px;
}
.contact-form-card .form-control,
.contact-form-card .form-select {
  border-radius: var(--hc-radius-sm);
  padding: 12px 16px;
  border: 1px solid #e3e8f0;
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--hc-blue);
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.12);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: var(--hc-radius); }

/* ---------- Footer ---------- */
.hc-footer { background: #0f2340; color: rgba(255,255,255,0.75); padding-top: 60px; }
.hc-footer h5 { color: #fff; margin-bottom: 20px; }
.hc-footer a { color: rgba(255,255,255,0.65); }
.hc-footer a:hover { color: #fff; }
.hc-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; padding: 20px 0; font-size: 0.9rem; }
.hc-footer .social-icons a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  margin-right: 8px;
}
.hc-footer .social-icons a:hover { background: var(--hc-blue); }

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  z-index: 1000;
  animation: hc-pulse 2.4s infinite;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
@keyframes hc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Misc / Animations ---------- */
[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-in { opacity: 1; transform: translateY(0); }

.page-header {
  background: linear-gradient(135deg, var(--hc-blue-dark), var(--hc-teal));
  padding: 90px 0 60px;
  color: #fff;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 10px; }
.page-header .breadcrumb { justify-content: center; }
.page-header .breadcrumb a { color: rgba(255,255,255,0.8); }
.page-header .breadcrumb .active { color: #fff; }

.rating-stars i { color: #ffb400; }
