* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #172b3a;
  background: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

/* Header */
.header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #005d8f, #00a8b5);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: bold;
}

.logo h2 {
  font-size: 22px;
  color: #004b75;
  line-height: 1;
}

.logo span {
  font-size: 13px;
  color: #00a8b5;
  font-weight: 600;
}

.menu {
  display: flex;
  gap: 24px;
  align-items: center;
}

.menu a {
  font-size: 15px;
  font-weight: 600;
  color: #19384d;
}

.menu a:hover {
  color: #00a8b5;
}

.nav-btn {
  background: #006d9c;
  color: white;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 700;
}

/* Hero */
.hero {
  background:
    linear-gradient(rgba(0, 58, 91, 0.88), rgba(0, 122, 146, 0.82)),
    url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 95px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero p {
  font-size: 18px;
  max-width: 650px;
  margin-bottom: 25px;
}

.check-list {
  list-style: none;
  margin-bottom: 32px;
}

.check-list li {
  margin-bottom: 12px;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  margin-right: 10px;
  color: #8ff4ff;
  font-weight: bold;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border-radius: 35px;
  font-weight: 700;
  display: inline-block;
}

.primary {
  background: #00a8b5;
  color: white;
}

.secondary {
  border: 2px solid white;
  color: white;
}

.hero-card {
  background: white;
  color: #172b3a;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #005d8f, #00c2c7);
  margin-bottom: 20px;
}

.hero-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.mini-stat {
  display: flex;
  justify-content: space-between;
  background: #eef9fb;
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 14px;
}

.mini-stat strong {
  color: #007d9c;
}

.chart-bars {
  height: 150px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 25px;
}

.chart-bars div {
  width: 100%;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(#00b8c8, #005d8f);
}

/* Sections */
section {
  padding: 80px 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px;
}

.section-heading h2,
.testimonials h2,
.platforms h2 {
  font-size: clamp(30px, 4vw, 44px);
  color: #004b75;
  margin-bottom: 14px;
}

.section-heading p {
  color: #5f6f7c;
}

/* Testimonials */
.testimonials {
  background: #f5fbfc;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.testimonial {
  background: white;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(0, 92, 120, 0.08);
}

.testimonial p {
  color: #526675;
  margin-bottom: 18px;
}

.testimonial h4 {
  color: #007d9c;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.stat-box {
  background: #ffffff;
  border: 1px solid #d9f1f4;
  border-radius: 22px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 70, 100, 0.06);
}

.stat-box h3 {
  font-size: 42px;
  color: #00a8b5;
}

.stat-box p {
  color: #5f6f7c;
  font-weight: 700;
}

/* Process */
.process {
  background: #eef9fb;
}

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

.process-step {
  background: white;
  padding: 24px;
  border-radius: 18px;
  text-align: center;
  font-weight: 700;
  color: #004b75;
  box-shadow: 0 10px 25px rgba(0, 70, 100, 0.07);
}

/* Why */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.info-card {
  padding: 34px;
  border-radius: 24px;
  background: white;
  border: 1px solid #dceff2;
  box-shadow: 0 12px 30px rgba(0, 70, 100, 0.06);
}

.icon {
  width: 58px;
  height: 58px;
  background: #e5fbfd;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 18px;
}

.info-card h3 {
  color: #004b75;
  margin-bottom: 12px;
}

.info-card p {
  color: #5f6f7c;
}

/* Platforms */
.platforms {
  background: #f7fbfc;
  text-align: center;
}

.logo-grid,
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 35px;
}

.logo-grid div,
.cert-grid div {
  background: white;
  padding: 24px;
  border-radius: 16px;
  font-weight: 800;
  color: #005d8f;
  border: 1px solid #e3f1f3;
  box-shadow: 0 8px 22px rgba(0, 70, 100, 0.05);
}

/* FAQ */
.faq {
  background: #eef9fb;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 45px;
  align-items: start;
}

.small-title {
  color: #00a8b5;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 13px;
}

.faq h2 {
  font-size: 40px;
  color: #004b75;
  margin: 14px 0;
  line-height: 1.2;
}

.contact-card {
  margin-top: 28px;
  background: white;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 10px 25px rgba(0, 70, 100, 0.07);
}

.contact-card strong {
  display: block;
  margin-top: 10px;
  color: #007d9c;
}

details {
  background: white;
  margin-bottom: 16px;
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: 0 8px 22px rgba(0, 70, 100, 0.06);
}

summary {
  cursor: pointer;
  font-weight: 800;
  color: #004b75;
}

details p {
  margin-top: 12px;
  color: #5f6f7c;
}

/* Footer */
.footer {
  background: #00364f;
  color: white;
  padding-top: 65px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 35px;
}

.footer h3,
.footer h4 {
  margin-bottom: 18px;
}

.footer p,
.footer a {
  color: #cce8ee;
  display: block;
  margin-bottom: 10px;
}

.copyright {
  text-align: center;
  padding: 22px;
  margin-top: 45px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #b7dce3;
}

/* Responsive */
@media (max-width: 950px) {
  .menu {
    display: none;
  }

  .hero-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .process-grid,
  .logo-grid,
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav-btn {
    display: none;
  }

  .hero {
    padding: 70px 0;
  }

  .stats-grid,
  .process-grid,
  .logo-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 34px;
  }

  .faq h2 {
    font-size: 30px;
  }
}
/* Medex Pro logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: 280px;
  max-height: auto;
  object-fit: contain;
}

.footer-logo {
  width: 280px;
  margin-bottom: 15px;
}

/* Experience Section */
.experience {
  padding: 80px 0;
  background: #ffffff;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 35px;
}

.experience-card {
  background: #f6fbfc;
  border: 1px solid #d9eef2;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0, 64, 96, 0.08);
  transition: 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-6px);
}

.experience-card h3 {
  color: #13456b;
  margin-bottom: 10px;
}

.experience-card p {
  color: #5d6f7c;
}

/* Billing Software Pictures */
.software-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 35px;
}

.software-card {
  background: #ffffff;
  border: 1px solid #d9eef2;
  border-radius: 18px;
  padding: 24px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(0, 64, 96, 0.08);
  transition: 0.3s ease;
}

.software-card:hover {
  transform: translateY(-6px);
}

.software-card img {
  max-width: 220px;
  max-height: 100px;
  object-fit: contain;
}

.software-card span {
  font-weight: 700;
  color: #073b63;
  text-align: center;
}

.software-fallback {
  display: none;
  width: 82px;
  height: 82px;
  border-radius: 20px;
  background: linear-gradient(135deg, #083b68, #12b8b5);
  color: #ffffff;
  font-weight: 900;
  place-items: center;
  text-align: center;
  padding: 20px;
}

/* Contact links */
.contact-card a,
.footer a {
  color: inherit;
  text-decoration: none;
}

.contact-card a:hover,
.footer a:hover {
  color: #12b8b5;
}

/* Responsive */
@media (max-width: 992px) {
  .experience-grid,
  .software-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-img,
  .footer-logo {
    width: 180px;
  }
}

@media (max-width: 576px) {
  .experience-grid,
  .software-grid {
    grid-template-columns: 1fr;
  }

  .logo-img,
  .footer-logo {
    width: 160px;
  }
}
.logo,
.logo-img,
.footer-logo {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.logo {
  padding: 0 !important;
  border-radius: 0 !important;
}

.logo-img {
  display: block;
  width: 250px;
  height: auto;
  object-fit: contain;
}
