/* ==========================================================================
   Cure Vital Health - Comprehensive Medical & Wellness Stylesheet (2026)
   Website: curevitalhealth.com
   ========================================================================== */

:root {
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --primary-light: #eff6ff;
  --secondary: #10b981;
  --secondary-dark: #059669;
  --accent: #0284c7;
  --dark: #0f172a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(13,110,253,0.1), 0 4px 6px -2px rgba(0,0,0,0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition: all 0.25s ease-in-out;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Top Announcement Bar --- */
.top-bar {
  background-color: var(--dark);
  color: #f1f5f9;
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
}
.top-bar a:hover {
  text-decoration: underline;
}

/* --- Navigation --- */
.navbar {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  transition: var(--transition);
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--dark) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-brand img {
  height: 42px;
  width: 42px;
}
.navbar-brand span {
  color: var(--primary);
}
.nav-link {
  font-weight: 600;
  color: var(--text-main) !important;
  margin: 0 0.35rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
  background-color: var(--primary-light);
}
.btn-appointment {
  background-color: var(--primary);
  color: #fff !important;
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
  transition: var(--transition);
}
.btn-appointment:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(13, 110, 253, 0.35);
}

/* --- Hero Section --- */
.hero-section {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.hero-title span {
  color: var(--primary);
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #dbeafe;
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}
.stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0;
}
.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  font-weight: 500;
}

/* --- Section Headers --- */
.section-padding {
  padding: 5.5rem 0;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* --- Service Cards --- */
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #93c5fd;
}
.service-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-img-wrapper img {
  transform: scale(1.06);
}
.service-body {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.btn-service {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-service:hover {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

/* --- Why Choose Us --- */
.feature-box {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius-md);
  height: 100%;
  transition: var(--transition);
}
.feature-box:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 1.25rem;
}

/* --- About Summary Section --- */
.about-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.about-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--dark);
}
.about-feature-list li i {
  color: var(--secondary);
  font-size: 1.25rem;
}

/* --- Testimonials Section (Updated: just profile image, name and review) --- */
.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-style: italic;
  color: var(--text-main);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}
.testimonial-user img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}
.user-info h5 {
  margin: 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
}

/* --- Blog Card --- */
.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-img {
  height: 200px;
  overflow: hidden;
}
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-img img {
  transform: scale(1.05);
}
.blog-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.blog-title {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  text-decoration: none;
}
.blog-title:hover {
  color: var(--primary);
}

/* --- FAQ Accordion --- */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) !important;
  margin-bottom: 1rem;
  overflow: hidden;
}
.accordion-button {
  font-weight: 700;
  color: var(--dark);
  background-color: #ffffff;
  padding: 1.25rem 1.5rem;
}
.accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: var(--primary-light);
  box-shadow: none;
}
.accordion-body {
  color: var(--text-muted);
  line-height: 1.7;
  padding: 1.5rem;
}

/* --- Call To Action (CTA) Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  margin: 3rem 0;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.cta-banner p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
}

/* --- Footer (Updated: ALL paragraphs, headings, copyright, and links color white #ffffff) --- */
.footer {
  background-color: var(--dark);
  color: #ffffff !important;
  padding: 5rem 0 2rem;
  font-size: 0.95rem;
}
.footer p,
.footer span,
.footer div,
.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6,
.footer .text-muted,
.footer .text-light,
.footer .small,
.footer-desc,
.footer-contact-item,
.footer-title,
.footer-bottom {
  color: #ffffff !important;
}
.footer-logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffffff !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}
.footer-logo img {
  width: 40px;
  height: 40px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a,
.footer a {
  color: #ffffff !important;
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover,
.footer a:hover {
  color: #e0f2fe !important;
  text-decoration: underline !important;
  padding-left: 4px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
}
.footer-contact-item i {
  color: var(--secondary) !important;
  font-size: 1.2rem;
  margin-top: 3px;
}
.footer-bottom {
  border-top: 1px solid #334155;
  margin-top: 4rem;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
/* Ensure form input inside footer is dark text on white background */
.footer input.form-control {
  color: #1e293b !important;
  background-color: #ffffff !important;
}

/* --- Forms & Inputs --- */
.form-control, .form-select {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}
.form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

/* --- USA Badge Accent --- */
.usa-badge {
  background-color: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* --- Responsive Helpers --- */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .cta-banner h2 {
    font-size: 2rem;
  }
}
@media (max-width: 767px) {
  .hero-stats {
    flex-direction: column;
    gap: 1.25rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.blog-content {
  text-align: justify;
}