:root {
  --primary: #0066cc;
  --primary-dark: #004c99;
  --accent: #00a8e8;
  --text: #1a1a1a;
  --text-light: #666;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --border: #e1e8f0;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,102,204,0.08);
  --shadow-lg: 0 10px 40px rgba(0,102,204,0.15);
}

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}

a { color: var(--primary); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--primary-dark); }

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

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

/* HEADER */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky; top: 0; z-index: 1000;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0;
}
.logo { font-size: 1.4rem; font-weight: 700; color: var(--primary); }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 25px; list-style: none; }
.nav a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.nav a:hover, .nav a.active { color: var(--primary); }
.btn-cta {
  background: var(--primary); color: #fff !important;
  padding: 10px 22px; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem;
}
.btn-cta:hover { background: var(--primary-dark); transform: translateY(-2px); }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* HERO */
.hero {
  background: linear-gradient(135deg, #0066cc 0%, #00a8e8 100%);
  color: #fff; padding: 100px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/hero.jpg') center/cover;
  opacity: 0.15;
}
.hero-inner { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; font-weight: 700; }
.hero p { font-size: 1.15rem; opacity: 0.95; margin-bottom: 30px; }
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 50px;
  font-weight: 600; transition: 0.3s; border: none; cursor: pointer;
}
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; margin-left: 10px; }
.btn-outline:hover { background: #fff; color: var(--primary); }

/* SECTIONS */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  text-align: center; font-size: 2.2rem; margin-bottom: 15px;
  color: var(--text); font-weight: 700;
}
.section-subtitle {
  text-align: center; color: var(--primary); font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem;
  margin-bottom: 10px;
}
.section-desc {
  text-align: center; color: var(--text-light); max-width: 700px;
  margin: 0 auto 50px;
}

/* GRID */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* CARDS */
.card {
  background: #fff; border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
  transition: 0.3s; border: 1px solid var(--border);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 60px; height: 60px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 20px; color: #fff;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text); }
.card p { color: var(--text-light); font-size: 0.95rem; }

/* SERVICE CARD */
.service-card { overflow: hidden; padding: 0; }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card-body { padding: 25px; }
.service-card h3 { color: var(--primary); }

/* STATS */
.stats { background: linear-gradient(135deg, #0066cc, #00a8e8); color: #fff; padding: 60px 0; }
.stats .grid-4 { text-align: center; }
.stat-num { font-size: 3rem; font-weight: 700; line-height: 1; }
.stat-label { font-size: 0.95rem; opacity: 0.9; margin-top: 8px; }

/* DOCTOR */
.doctor-card { text-align: center; }
.doctor-card img {
  width: 150px; height: 150px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 20px; border: 4px solid var(--bg-alt);
}
.doctor-card h3 { color: var(--primary); font-size: 1.1rem; }
.doctor-card .spec { color: var(--text-light); font-size: 0.9rem; }

/* ARTICLE */
.article-card { overflow: hidden; padding: 0; }
.article-card img { width: 100%; height: 180px; object-fit: cover; }
.article-card-body { padding: 20px; }
.article-card .meta { color: var(--text-light); font-size: 0.85rem; margin-bottom: 8px; }
.article-card h3 { font-size: 1.05rem; line-height: 1.4; }
.article-card h3 a { color: var(--text); }
.article-card h3 a:hover { color: var(--primary); }

/* FOOTER */
.footer { background: #0a1628; color: #a8b8cc; padding: 60px 0 20px; }
.footer h4 { color: #fff; margin-bottom: 20px; font-size: 1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: #a8b8cc; font-size: 0.9rem; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 15px; }
.footer-bottom {
  border-top: 1px solid #1a2840; margin-top: 40px; padding-top: 20px;
  text-align: center; font-size: 0.85rem;
}
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: #1a2840; display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.social a:hover { background: var(--primary); }

/* FLOATING BUTTONS */
.float-wa {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex;
  align-items: center; justify-content: center; font-size: 1.8rem;
  box-shadow: 0 5px 20px rgba(37,211,102,0.4);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* PAGE HEADER */
.page-header {
  background: linear-gradient(135deg, #0066cc, #00a8e8);
  color: #fff; padding: 60px 0; text-align: center;
}
.page-header h1 { font-size: 2.5rem; margin-bottom: 10px; }
.breadcrumb { opacity: 0.9; font-size: 0.9rem; }
.breadcrumb a { color: #fff; }

/* CONTENT */
.content { padding: 60px 0; }
.content h2 { color: var(--primary); margin: 30px 0 15px; font-size: 1.6rem; }
.content h3 { margin: 25px 0 12px; font-size: 1.25rem; }
.content p { margin-bottom: 15px; color: var(--text-light); }
.content ul, .content ol { margin: 15px 0 15px 25px; color: var(--text-light); }
.content li { margin-bottom: 8px; }
.content img { border-radius: var(--radius); margin: 20px 0; }

/* RESPONSIVE */
@media (max-width: 968px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 20px;
    box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .mobile-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-title { font-size: 1.6rem; }
}
