:root {
  --primary: #0a75bb;
  --primary-dark: #085d96;
  --primary-light: #3b9ad4;
  --primary-bg: #e8f4fd;
  --secondary: #1e293b;
  --accent: #f59e0b;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-gray: #f1f5f9;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER / NAVBAR ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header.scrolled { background: rgba(255,255,255,0.98); box-shadow: var(--shadow-sm); }

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.nav-brand .brand-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
}

.nav-links { display: flex; align-items: center; gap: 8px; }

.nav-links a {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary-bg);
  color: var(--primary-dark);
}

.nav-links .btn-appoint {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-links .btn-appoint:hover { transform: translateY(-1px);   box-shadow: 0 4px 12px rgba(10,117,187,0.4); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  border: none;
  background: none;
}

.hamburger span {
  width: 26px; height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #e8f4fd 0%, #f0f7ff 50%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(10,117,187,0.08), transparent 70%);
  border-radius: 50%;
}

.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(10,117,187,0.1);
  color: var(--primary-dark);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero h1 span { color: var(--primary); }

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,117,187,0.35); }

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}

.btn-outline:hover { background: var(--primary-bg); }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stats .stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-stats .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image .img-placeholder {
  width: 100%;
  max-width: 500px;
  height: 500px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 50% 50% 50% 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 6rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-image .float-card {
  position: absolute;
  background: white;
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
}

.hero-image .float-card:nth-child(2) { top: 20%; right: -10%; animation-delay: 0.5s; }
.hero-image .float-card:nth-child(3) { bottom: 20%; left: -10%; animation-delay: 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(10,117,187,0.1);
  color: var(--primary-dark);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== FEATURES / SERVICES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-light); }

.feature-icon {
  width: 60px; height: 60px;
  background: var(--primary-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
}

.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== ABOUT / WHY US ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  width: 100%;
  height: 450px;
  background: linear-gradient(135deg, #d4e9f7, #a8d1ef);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image .exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: white;
  padding: 20px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-image .exp-badge .num {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.about-image .exp-badge .label {
  font-size: 0.8rem;
  opacity: 0.9;
}

.about-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-content > p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about-list { display: flex; flex-direction: column; gap: 16px; }

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px; height: 24px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ===== TREATMENTS ===== */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.treatment-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.treatment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.treatment-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-bg), #d4e9f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

.treatment-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.treatment-body { padding: 24px; }

.treatment-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.treatment-body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }

.treatment-body .learn-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ===== DOCTOR PROFILE ===== */
.doctor-profile {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: start;
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.doctor-img {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(10,117,187,0.15);
  border: 4px solid white;
  position: relative;
}

.doctor-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius-lg) - 4px);
  border: 2px solid rgba(10,117,187,0.2);
  pointer-events: none;
}

.doctor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doctor-info h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.doctor-info .doc-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.doctor-info .doc-specialty {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.doc-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 24px;
}

.doc-stats .stat { text-align: center; }
.doc-stats .stat .num { font-size: 1.5rem; font-weight: 800; color: var(--primary); display: block; }
.doc-stats .stat .lbl { font-size: 0.8rem; color: var(--text-muted); }

.doc-description { color: var(--text-muted); margin-bottom: 24px; line-height: 1.8; }

.doc-qualifications h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.doc-qualifications ul { display: flex; flex-direction: column; gap: 8px; }

.doc-qualifications ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.doc-qualifications ul li::before {
  content: '▸';
  color: var(--primary);
  font-weight: 700;
}

/* ===== DIET CHART ===== */
.diet-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  color: var(--text-muted);
}

.diet-category { margin-bottom: 48px; }

.diet-category:last-child { margin-bottom: 0; }

.diet-category h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.diet-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.diet-table th {
  background: var(--primary);
  color: white;
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
}

.diet-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.diet-table tr:last-child td { border-bottom: none; }

.diet-table tr:hover td { background: var(--primary-bg); }

.diet-table .good { color: var(--primary); font-weight: 600; }
.diet-table .avoid { color: #dc2626; font-weight: 600; }

.diet-tip {
  margin-top: 32px;
  background: linear-gradient(135deg, var(--primary-bg), #e8f4fd);
  padding: 24px 32px;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.diet-tip h4 { font-size: 1rem; margin-bottom: 8px; }
.diet-tip p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: var(--primary-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-item h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p { font-size: 0.9rem; color: var(--text-muted); }

.contact-form { background: white; padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }

.contact-form h3 { font-size: 1.3rem; margin-bottom: 24px; }

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-light);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  background: white;
  box-shadow: 0 0 0 4px rgba(10,117,187,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== APPOINTMENT ===== */
.appointment-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.appointment-form-wrap {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.appointment-form-wrap h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.appointment-form-wrap > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.appointment-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.appointment-info .info-card {
  background: white;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.appointment-info .info-card h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.appointment-info .info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: white;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.testimonial-card .stars {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author .avatar {
  width: 40px; height: 40px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.testimonial-card .author .name { font-weight: 600; font-size: 0.9rem; }
.testimonial-card .author .role { font-size: 0.8rem; color: var(--text-muted); }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0;
  text-align: center;
  color: white;
}

.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  background: white;
  color: var(--primary-dark);
}

.cta-section .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ===== FOOTER ===== */
.footer {
  background: var(--secondary);
  color: var(--text-light);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-brand { color: white; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; opacity: 0.7; max-width: 300px; }

.footer h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 0.9rem;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-links a:hover { opacity: 1; color: var(--primary-light); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #e8f4fd, #f0f7ff);
  text-align: center;
}

.page-header h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 20px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    box-shadow: var(--shadow);
  }

  .nav-links.open { transform: translateY(0); opacity: 1; }

  .nav-links a { width: 100%; padding: 12px 16px; }

  .hero .container,
  .about-grid,
  .contact-grid,
  .appointment-wrap { grid-template-columns: 1fr; }

  .hero { min-height: auto; padding: 100px 0 60px; text-align: center; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image .img-placeholder { height: 320px; font-size: 4rem; }
  .hero-image .float-card { display: none; }

  .doctor-profile { grid-template-columns: 1fr; padding: 24px; }

  .section-header h2 { font-size: 1.8rem; }

  .page-header h1 { font-size: 2rem; }

  .form-row { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .treatments-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .diet-table { font-size: 0.85rem; }
  .diet-table th, .diet-table td { padding: 10px 12px; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 0 auto; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .doc-stats { flex-wrap: wrap; }
}

/* ===== PAGE SPECIFIC ===== */
.page-content { padding: 60px 0; }

.bg-white { background: white; }
