/* =========================================================
   Al Sehat Wal Seyahat - Medical Tourism Website
   ========================================================= */

:root {
  --primary: #0b6e78;
  --primary-dark: #084f57;
  --primary-light: #0fa3ac;
  --accent: #f5a623;
  --accent-dark: #d68c0f;
  --teal-bg: #e8f6f6;
  --text-dark: #1c2b2e;
  --text-mid: #4d5f63;
  --text-light: #7b8c8f;
  --white: #ffffff;
  --border: #e1ebec;
  --shadow: 0 8px 24px rgba(11, 110, 120, 0.08);
  --radius: 10px;
  --max-width: 1180px;
  --font: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 70px 0; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.22; letter-spacing: -0.02em; color: var(--text-dark); }

.eyebrow {
  display: inline-block;
  color: var(--primary);
  background: var(--teal-bg);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head h2 { font-size: 2rem; margin-bottom: 12px; }
.section-head p { color: var(--text-mid); }

.section-head.left { margin: 0 0 40px; text-align: left; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }

.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }

.btn-teal { background: var(--primary); color: var(--white); }
.btn-teal:hover { background: var(--primary-dark); }

.btn-block { display: block; width: 100%; text-align: center; }

/* Topbar */
.topbar {
  background: var(--primary-dark);
  color: #cfe9ea;
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar .contact-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .contact-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .social-links { display: flex; gap: 14px; }
.topbar .social-links a { color: #cfe9ea; font-weight: 600; }
.topbar .social-links a:hover { color: var(--accent); }

/* Header / Nav */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary-dark);
}
.logo .logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.logo .logo-text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-light);
  text-transform: uppercase;
}

.main-nav ul { display: flex; gap: 30px; align-items: center; }
.main-nav a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
}

.header-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--primary-dark); border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 900px 600px at 15% 20%, rgba(15,163,172,0.35), transparent 60%),
    linear-gradient(115deg, rgba(6,38,42,0.94) 0%, rgba(8,63,70,0.93) 45%, rgba(11,110,120,0.85) 100%),
    url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
  color: var(--white);
  padding: 110px 0 90px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 90px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 40%, 0 100%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  color: #eafbfb;
  padding: 7px 16px 7px 12px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero .hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; text-wrap: balance; }
.hero h1 span { color: var(--accent); }
.hero p.lead { color: #d6ecec; font-size: 1.08rem; margin-bottom: 32px; max-width: 520px; }
.hero .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero .btn-primary { box-shadow: 0 10px 24px rgba(245,166,35,0.35); }
.hero .hero-stats { display: flex; gap: 0; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 26px; }
.hero .hero-stats div { padding-right: 34px; margin-right: 34px; border-right: 1px solid rgba(255,255,255,0.16); }
.hero .hero-stats div:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero .hero-stats div strong { display: block; font-family: var(--font-heading); font-size: 1.7rem; font-weight: 800; color: var(--white); }
.hero .hero-stats div span { font-size: 0.8rem; color: #a9d9d9; }

.hero-form {
  background: var(--white);
  border-radius: 16px;
  padding: 34px;
  color: var(--text-dark);
  box-shadow: 0 30px 60px -15px rgba(4,30,34,0.45);
  border: 1px solid rgba(255,255,255,0.6);
}
.hero-form .badge {
  display: inline-block;
  background: var(--teal-bg);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.hero-form h3 { font-size: 1.3rem; margin-bottom: 6px; }
.hero-form p.sub { color: var(--text-mid); font-size: 0.88rem; margin-bottom: 6px; }
.hero-form label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; color: var(--text-mid); margin-bottom: 7px; margin-top: 16px; }
.hero-form input, .hero-form select, .hero-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: #fbfdfd;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.92rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.hero-form input:focus, .hero-form select:focus, .hero-form textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  background: var(--white);
}
.hero-form button { margin-top: 22px; font-size: 1rem; }
.hero-form .trust-line { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.78rem; color: var(--text-light); justify-content: center; }

/* Trust strip */
.trust-strip { background: var(--white); padding: 34px 0; border-bottom: 1px solid var(--border); }
.trust-strip .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.trust-strip span { color: var(--text-light); font-weight: 700; letter-spacing: 1px; font-size: 0.9rem; }
.trust-logos { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; }
.trust-logos div {
  padding: 10px 18px;
  background: var(--teal-bg);
  border-radius: 6px;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.88rem;
}

/* Grid card layouts */
.grid {
  display: grid;
  gap: 26px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* Treatment cards */
.treatment-card { padding: 30px 26px; text-align: left; }
.treatment-card .icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--teal-bg);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.treatment-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.treatment-card p { color: var(--text-mid); font-size: 0.92rem; margin-bottom: 16px; }
.treatment-card a.more { color: var(--primary); font-weight: 700; font-size: 0.88rem; }
.treatment-card a.more:hover { color: var(--accent-dark); }

.section-tinted { background: var(--teal-bg); }

/* Why choose us */
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.why-item { display: flex; gap: 16px; }
.why-item .num {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.why-item h4 { margin-bottom: 6px; font-size: 1.05rem; }
.why-item p { color: var(--text-mid); font-size: 0.9rem; }

.why-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* Process steps */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { text-align: center; position: relative; padding: 0 10px; }
.process-step .step-circle {
  counter-increment: step;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.process-step h4 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.86rem; color: var(--text-mid); }

/* Hospital / doctor cards */
.hospital-card img, .doctor-card img { height: 200px; object-fit: cover; width: 100%; }
.hospital-card .body, .doctor-card .body { padding: 20px; }
.hospital-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.hospital-card .meta { color: var(--text-light); font-size: 0.84rem; margin-bottom: 12px; }
.hospital-card .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.hospital-card .tags span { background: var(--teal-bg); color: var(--primary); padding: 4px 10px; border-radius: 14px; font-size: 0.76rem; font-weight: 600; }

.doctor-card { text-align: center; }
.doctor-card img { border-radius: 50%; width: 130px; height: 130px; margin: 26px auto 14px; }
.doctor-card h3 { font-size: 1.05rem; }
.doctor-card .role { color: var(--primary); font-weight: 600; font-size: 0.86rem; margin-bottom: 4px; }
.doctor-card .meta { color: var(--text-light); font-size: 0.82rem; margin-bottom: 16px; }

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
}
.testimonial-card .stars { color: var(--accent); margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p.quote { color: var(--text-mid); font-style: italic; margin-bottom: 20px; }
.testimonial-card .person { display: flex; align-items: center; gap: 12px; }
.testimonial-card .person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-card .person strong { display: block; font-size: 0.92rem; }
.testimonial-card .person span { font-size: 0.8rem; color: var(--text-light); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: var(--white);
  border-radius: var(--radius);
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; font-size: 1.7rem; }
.cta-band p { color: #dcf1f1; }

/* Blog cards */
.blog-card img { height: 190px; object-fit: cover; width: 100%; }
.blog-card .body { padding: 22px; }
.blog-card .meta { font-size: 0.78rem; color: var(--text-light); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.blog-card p { color: var(--text-mid); font-size: 0.9rem; margin-bottom: 14px; }
.blog-card a.more { color: var(--primary); font-weight: 700; font-size: 0.86rem; }

/* Page header (interior pages) */
.page-header {
  background: linear-gradient(120deg, rgba(8,79,87,0.94), rgba(11,110,120,0.88)), url('https://images.unsplash.com/photo-1504439468489-c8920d796a29?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.page-header h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 10px; }
.breadcrumb { font-size: 0.86rem; color: #cfe9ea; }
.breadcrumb a { color: var(--accent); font-weight: 600; }

/* Filters bar */
.filter-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}
.filter-bar button {
  padding: 9px 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--white);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  color: var(--text-mid);
}
.filter-bar button.active, .filter-bar button:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Detail pages */
.detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; }
.detail-main h2 { margin: 30px 0 14px; font-size: 1.4rem; }
.detail-main h2:first-child { margin-top: 0; }
.detail-main p { color: var(--text-mid); margin-bottom: 14px; }
.detail-main ul.checklist li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--text-mid); }
.detail-main ul.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

.sidebar-card {
  background: var(--teal-bg);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 26px;
}
.sidebar-card h4 { margin-bottom: 14px; }
.cost-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.cost-table td, .cost-table th { padding: 10px 0; border-bottom: 1px solid #d3e8e9; font-size: 0.88rem; text-align: left; }
.cost-table th { color: var(--text-light); font-weight: 600; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-top: 26px; }
.contact-info-list .item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-list .icon-box {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--teal-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.2rem;
}
.contact-info-list h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-list p { color: var(--text-mid); font-size: 0.88rem; }

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-card label { display: block; font-size: 0.85rem; font-weight: 600; margin: 14px 0 6px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--font); font-size: 0.92rem;
}
.map-frame { border-radius: var(--radius); overflow: hidden; margin-top: 40px; border: 1px solid var(--border); }
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 12px; color: var(--text-mid); font-size: 0.92rem; }

/* Footer */
.site-footer { background: var(--primary-dark); color: #cfe9ea; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-grid h4 { color: var(--white); margin-bottom: 18px; font-size: 1rem; }
.site-footer .logo { color: var(--white); margin-bottom: 16px; }
.site-footer p { font-size: 0.88rem; color: #a9cfd0; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { font-size: 0.88rem; color: #cfe9ea; }
.footer-grid ul li a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.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;
  font-size: 0.9rem;
}
.footer-social a:hover { background: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #a9cfd0;
}
.footer-bottom a { color: #a9cfd0; }
.footer-bottom a:hover { color: var(--accent); }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 300;
}

/* Responsive */
@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .main-nav { position: fixed; top: 76px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; box-shadow: var(--shadow); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nav-toggle { display: flex; }
  .header-cta .btn-teal { display: none; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .cta-band { flex-direction: column; text-align: center; }
  .topbar .container { justify-content: center; text-align: center; }
}
