/* ===== Variables – International Medical Clinic Look ===== */
:root {
  --primary: #0d4f6b;
  --primary-dark: #0a3a4f;
  --accent: #1a8a8a;
  --accent-light: #e6f5f5;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --bg: #ffffff;
  --bg-alt: #f7f9fb;
  --border: #e5e9ed;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(13, 79, 107, 0.08);
  --shadow-lg: 0 12px 40px rgba(13, 79, 107, 0.12);
  --radius: 12px;
  --transition: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 79, 107, 0.25);
}

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

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

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

.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* Top Bar */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.top-contact a:hover { color: #fff; }
.top-links {
  display: flex;
  gap: 16px;
}
.top-links a:hover { color: #fff; text-decoration: underline; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 8px 12px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.logo-text strong {
  font-size: 0.95rem;
  color: var(--text);
}
.logo-text small {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Logo image + 3D rotate */
.logo-3d-wrap {
  width: 52px;
  height: 52px;
  perspective: 600px;
  flex-shrink: 0;
}
.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}
.logo-3d {
  animation: logoSpin3d 8s linear infinite;
  transform-style: preserve-3d;
}
@keyframes logoSpin3d {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
.logo:hover .logo-3d {
  animation-play-state: paused;
}

.hero-logo-wrap {
  margin-bottom: 20px;
  perspective: 800px;
}
.hero-logo {
  width: 120px;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
}
.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 12px;
  border-radius: 8px;
}

/* Gallery Slider */
.slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto 24px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e8eef2;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.slider-track {
  display: flex;
  transition: transform 0.45s ease;
}
.slide {
  min-width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e8eef2 0%, #d0dce6 100%);
  color: var(--primary);
}
.slide-inner span { font-weight: 600; font-size: 1.3rem; }
.slide-inner small { margin-top: 6px; opacity: 0.75; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(13, 79, 107, 0.85);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
  line-height: 1;
}
.slider-btn:hover { background: var(--primary); }
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: rgba(255,255,255,0.9);
}
.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #b0c0cc;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.slider-dots button.active {
  background: var(--primary);
  transform: scale(1.25);
}

@media (max-width: 768px) {
  .logo-text { display: none; }
  .logo-3d-wrap, .logo-img { width: 44px; height: 44px; }
  .hero-logo { width: 90px; }
  .slider-btn { width: 36px; height: 36px; font-size: 1.3rem; }
  .slide { aspect-ratio: 4/3; }
}

.nav {
  display: flex;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--accent-light);
}
.header-cta { flex-shrink: 0; }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0d4f6b 0%, #0a3a4f 50%, #1a5a6b 100%);
  color: #fff;
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(26, 138, 138, 0.25) 0%, transparent 55%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.hero-degrees {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 12px;
  line-height: 1.5;
}
.hero-tagline {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 36px;
}
.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}
.hero-stat span {
  font-size: 0.85rem;
  opacity: 0.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Trust Strip */
.trust-strip {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  text-align: center;
}
.trust-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
}

/* Sections */
.section {
  padding: 88px 0;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* About */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-content .lead {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.7;
}
.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}
.about-list {
  margin: 20px 0 24px;
}
.about-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 500;
}
.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.about-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.about-numbers strong {
  display: block;
  font-size: 1.4rem;
  color: var(--primary);
}
.about-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.about-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--primary);
}
.about-card ul {
  margin-bottom: 24px;
}
.about-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
}
.about-card li:last-child { border-bottom: none; }

/* Services */
.services { background: var(--bg-alt); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-icon {
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}
.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Training */
.training { background: var(--bg); }
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.training-card {
  background: var(--bg-alt);
  border-left: 4px solid var(--primary);
  padding: 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.training-card h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.training-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Chambers */
.chambers { background: var(--bg-alt); }
.chambers-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}
.chamber-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.chamber-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.chamber-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.chamber-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.chamber-address {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.chamber-card ul {
  margin-bottom: 20px;
}
.chamber-card li {
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--text);
}

/* Gallery */
.gallery { background: var(--bg); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #e8eef2 0%, #d0dce6 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  text-align: center;
  padding: 12px;
}
.gallery-placeholder span {
  font-weight: 600;
  font-size: 1rem;
}
.gallery-placeholder small {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 4px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.gallery-note code {
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
}
.gallery-social {
  text-align: center;
  margin-top: 16px;
}

/* Videos */
.videos { background: var(--bg-alt); }
.videos-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}
.video-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
  background: #111;
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.video-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.video-list ul {
  margin: 12px 0 20px;
}
.video-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--text);
}
.video-list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
}

/* Map */
.map-section {
  margin-top: 48px;
  text-align: center;
}
.map-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 6px;
}
.map-subtitle {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.98rem;
}
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 960px;
  margin: 0 auto 24px;
  background: #e8eef2;
}
.map-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 380px;
}
.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Reviews */
.reviews { background: var(--bg); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}
.stars {
  color: #e6a817;
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.review-card p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.6;
  font-style: italic;
}
.review-card cite {
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 64px 24px;
}
.cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  margin-bottom: 12px;
}
.cta p {
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Contact */
.contact { background: var(--bg-alt); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}
.contact-item {
  margin-bottom: 24px;
}
.contact-item h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 6px;
}
.contact-item p,
.contact-item a {
  color: var(--text);
  font-size: 0.98rem;
}
.contact-item a:hover { color: var(--primary); }
.contact-note {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-note h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary);
}
.contact-note p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-mark {
  display: inline-block;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.5;
}
.footer-links h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.footer-links a {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  opacity: 0.85;
}
.footer-links a:hover {
  opacity: 1;
  color: #fff;
}
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 980px) {
  .about-grid,
  .chambers-grid,
  .contact-grid,
  .videos-grid {
    grid-template-columns: 1fr;
  }
  .services-grid,
  .training-grid,
  .reviews-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .hero { min-height: auto; padding: 60px 0 50px; }
  .hero-stats { gap: 20px; }
  .section { padding: 60px 0; }
  .services-grid,
  .training-grid,
  .reviews-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .logo-text { display: none; }
}
