/* ========================================
   ROOT VARIABLES & TYPOGRAPHY
======================================== */
:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #dbeafe;
  --secondary: #10b981;
  --accent: #f59e0b;
  --text-dark: #1e293b;
  --text-medium: #475569;
  --text-light: #64748b;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-lighter: #f1f5f9;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

section {
  scroll-margin-top: 90px;
  padding: 5rem 0;
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.brand-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  margin-right: 12px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.brand-subtitle {
  font-size: 12px;
  color: var(--text-medium);
  font-weight: 500;
}

.navbar-nav .nav-link {
  color: var(--text-medium);
  font-weight: 500;
  font-size: 15px;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

.btn-appointment {
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-appointment:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
  color: white;
}

/* ========================================
   PAGE HEADER
======================================== */
.page-header {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  padding: 8rem 0 4rem;
  text-align: center;
}

.page-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  border: 1px solid #bfdbfe;
  border-radius: 50px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.page-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-description {
  font-size: 1.2rem;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ========================================
   PROFILE SECTION
======================================== */
.profile-section {
  background: var(--bg-white);
  padding: 4rem 0;
}

.profile-image-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.profile-image-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), #e0f2fe);
  border-radius: var(--radius-xl);
  top: 20px;
  left: 20px;
  z-index: -1;
}

.profile-image {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.experience-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 3px solid var(--primary);
}

.experience-badge strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.experience-badge span {
  display: block;
  font-size: 14px;
  color: var(--text-medium);
  font-weight: 600;
  margin-top: 0.25rem;
}

.stats-badge {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 2rem;
  border: 1px solid var(--border);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stat-item i {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
}

.stat-item strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.stat-item small {
  display: block;
  font-size: 11px;
  color: var(--text-medium);
  margin-top: 2px;
}

.profile-content {
  padding-left: 2rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
}

.lead-text {
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.profile-text {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.profile-highlights {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.highlight-item i {
  color: var(--secondary);
  font-size: 18px;
  flex-shrink: 0;
}

.highlight-item span {
  color: var(--text-medium);
  font-size: 15px;
}

/* ========================================
   QUALIFICATIONS SECTION
======================================== */
.qualifications-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 5rem 0;
}

.section-label {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 650px;
  margin: 0 auto;
}

.qualification-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  gap: 1.5rem;
}

.qualification-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.qualification-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-light), #e0f2fe);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 30px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.qualification-card:hover .qualification-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.qualification-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.qualification-content .institution {
  font-size: 1rem;
  color: var(--text-medium);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.qualification-content .year {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.qualification-content .description {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   EXPERTISE SECTION
======================================== */
.expertise-section {
  background: var(--bg-white);
  padding: 5rem 0;
}

.expertise-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.expertise-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.expertise-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-light), #e0f2fe);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
  font-size: 30px;
  transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  transform: scale(1.1);
}

.expertise-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.expertise-card p {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   PHILOSOPHY SECTION
======================================== */
.philosophy-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 5rem 0;
}

.philosophy-text {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.philosophy-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.philosophy-point {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.philosophy-point:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateX(5px);
}

.point-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
  flex-shrink: 0;
}

.point-content h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.point-content p {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin: 0;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.stat-card p {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin: 0;
  line-height: 1.5;
}

/* ========================================
   MEMBERSHIPS SECTION
======================================== */
.memberships-section {
  background: var(--bg-white);
  padding: 5rem 0;
}

.membership-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.membership-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.membership-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.membership-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.membership-card p {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   AWARDS SECTION
======================================== */
.awards-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 5rem 0;
}

.award-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.award-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.award-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), #fbbf24);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 36px;
}

.award-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.award-year {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.award-card p {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
  background: var(--bg-white);
  padding: 4rem 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 3rem;
  border-radius: var(--radius-xl);
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta-content h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-content p {
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.95;
  max-width: 600px;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-cta-primary {
  background: white;
  color: var(--primary);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
  color: var(--primary);
}

.btn-cta-secondary {
  background: transparent;
  color: white;
  padding: 0.85rem 2rem;
  border: 2px solid white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-cta-secondary:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
}

/* ========================================
   FOOTER
======================================== */
.footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #cbd5e1;
  padding: 3rem 0 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer-brand i {
  font-size: 24px;
  color: var(--primary);
}

.footer-text {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
  color: white;
}

.btn-footer {
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-footer:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  color: white;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0.25rem 0;
}

/* ========================================
   ANIMATIONS
======================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 991px) {
  .page-title {
    font-size: 2.5rem;
  }

  .page-header {
    padding: 6rem 0 3rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .profile-content {
    padding-left: 0;
    margin-top: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-badge {
    position: static;
    transform: none;
    margin-top: 2rem;
    flex-direction: column;
    gap: 1rem;
  }

  .qualification-card {
    flex-direction: column;
    text-align: center;
  }

  .qualification-icon {
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .page-title {
    font-size: 2rem;
  }

  .page-description {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cta-box {
    padding: 2rem 1.5rem;
  }

  .cta-content h3 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .experience-badge {
    right: 10px;
    top: 10px;
    padding: 1rem;
  }

  .experience-badge strong {
    font-size: 2rem;
  }

  .philosophy-point {
    flex-direction: column;
    text-align: center;
  }

  .point-icon {
    margin: 0 auto;
  }
}