/* ArtPRC Healthcare — MediBd-inspired theme */
:root {
  --teal: #00bcd4;
  --teal-dark: #0097a7;
  --navy: #1a2b56;
  --navy-dark: #121d3d;
  --text: #4a5568;
  --text-dark: #2d3748;
  --white: #ffffff;
  --gray-bg: #f4f7fb;
  --border: #e2e8f0;
  --shadow: 0 10px 40px rgba(26, 43, 86, 0.08);
  --radius: 8px;
  --radius-pill: 50px;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--teal);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* Top bar */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.top-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.top-bar a {
  color: inherit;
}

.top-social {
  display: flex;
  gap: 0.75rem;
}

.top-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo-link img {
  height: 46px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  align-items: center;
}

.main-nav a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--teal);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
}

.header-cta .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal);
  color: #fff;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
}

.header-cta .btn-cta:hover {
  background: var(--teal-dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: #fff;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-dark);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(26, 43, 86, 0.92) 0%, rgba(26, 43, 86, 0.55) 55%, rgba(0, 188, 212, 0.25) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.25rem);
  max-width: 640px;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  color: var(--teal);
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 2rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--gray-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title .subtitle {
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

/* Service cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(0, 188, 212, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--teal);
}

.service-card .card-plus {
  margin-top: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

/* About split */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-images img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-images .img-secondary {
  position: absolute;
  width: 55%;
  bottom: -1.5rem;
  right: -0.5rem;
  border: 4px solid #fff;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
}

.stat-item strong {
  display: block;
  font-size: 1.75rem;
  color: var(--teal);
}

.stat-item span {
  font-size: 0.9rem;
  color: var(--text);
}

/* Appointment block */
.appointment-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.appointment-info {
  background: var(--white);
  padding: 2.5rem;
}

.appointment-info ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.appointment-info li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
}

.appointment-info li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
}

.appointment-form-panel {
  background: var(--navy);
  padding: 2.5rem;
  color: #fff;
}

.appointment-form-panel h3 {
  color: #fff;
}

/* Projects */
.projects-section {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy) 45%, var(--gray-bg) 45%);
  padding: 4.5rem 0 5rem;
}

.projects-section .section-title h2,
.projects-section .section-title .subtitle {
  color: #fff;
}

.projects-section .section-title .subtitle {
  color: var(--teal);
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
}

.project-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.project-card .project-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.project-caption .icon {
  color: var(--teal);
  font-size: 1.5rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  font-size: 4rem;
  color: var(--teal);
  opacity: 0.3;
  line-height: 1;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.stars {
  color: #f6ad55;
  letter-spacing: 2px;
}

/* Blog cards */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-card .blog-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-card .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.date-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--teal);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-card .blog-body {
  padding: 1.5rem;
}

/* Page banner */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #243a6e 100%);
  padding: 3.5rem 0;
  text-align: center;
}

.page-banner h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--teal);
}

/* Forms */
.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-group label .req {
  color: #e53e3e;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.2);
}

.form-control.is-invalid {
  border-color: #e53e3e;
}

.form-error {
  color: #e53e3e;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.light-label label {
  color: rgba(255, 255, 255, 0.95);
}

.light-label .form-control {
  background: rgba(255, 255, 255, 0.95);
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1.125rem minmax(0, 1fr);
  column-gap: 0.65rem;
  row-gap: 0.25rem;
  align-items: start;
  margin-bottom: 1rem;
  text-align: left;
}

.checkbox-group input[type="checkbox"] {
  grid-column: 1;
  grid-row: 1;
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  margin: 0.2rem 0 0;
  padding: 0;
  accent-color: var(--teal);
  cursor: pointer;
  vertical-align: top;
  justify-self: start;
  align-self: start;
}

.checkbox-group label {
  grid-column: 2;
  grid-row: 1;
  display: block;
  margin: 0;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
  padding-top: 0.05rem;
}

.checkbox-group label a {
  color: var(--teal-dark);
  text-decoration: underline;
}

.light-label .checkbox-group label {
  color: rgba(255, 255, 255, 0.95);
}

.light-label .checkbox-group label a {
  color: var(--teal);
}

.checkbox-group .form-error {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  padding: 0;
}

.form-success {
  display: none;
  background: rgba(0, 188, 212, 0.15);
  border: 1px solid var(--teal);
  color: var(--navy);
  padding: 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  margin-top: 1rem;
}

.form-success.visible {
  display: block;
}

/* Doctor cards */
.doctor-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.doctor-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.doctor-card .doctor-body {
  padding: 1.5rem;
}

.doctor-card .specialty {
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Pricing */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow);
  text-align: center;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}

.pricing-card.featured {
  border-color: var(--teal);
  transform: scale(1.03);
}

.pricing-card .price {
  font-size: 2.5rem;
  color: var(--teal);
  font-weight: 700;
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--text);
  font-weight: 400;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.pricing-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  padding-left: 1.5rem;
  position: relative;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* Legal content */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2.5rem;
  font-size: 1.35rem;
}

.legal-content h3 {
  margin-top: 1.75rem;
  font-size: 1.1rem;
}

.legal-content p,
.legal-content li {
  margin-bottom: 0.85rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.content-box {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-grid h4 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.footer-about img {
  height: 42px;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.footer-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

.footer-hours dl {
  margin: 0;
}

.footer-hours dt {
  font-weight: 600;
  color: #fff;
  margin-top: 0.5rem;
}

.footer-hours dd {
  margin: 0 0 0.5rem;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
}

.footer-social a:hover {
  background: var(--teal);
}

.footer-bottom {
  background: var(--teal);
  padding: 1rem 0;
  text-align: center;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-bottom a {
  color: var(--navy);
  font-weight: 600;
}

.footer-legal {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.footer-legal a {
  margin: 0 0.5rem;
}

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

.info-card {
  background: var(--gray-bg);
  padding: 1.75rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.info-card h4 {
  margin-bottom: 0.5rem;
}

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-end;
}

/* Responsive */
@media (max-width: 992px) {
  .split-row,
  .appointment-wrap,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-images .img-secondary {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-cta {
    display: none;
  }

  .site-header .container {
    position: relative;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 420px;
  }
}