/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #14a085;
  --secondary-color: #0d7377;
  --accent-color: #d4af37;
  --light-accent: #effcf7;
  --white: #ffffff;
  --bg-primary: #f8fbfd;
  --bg-secondary: #edf4f7;
  --bg-tertiary: #ffffff;
  --gray-100: #f8fafc;
  --gray-200: #e5edf2;
  --gray-400: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --success: #10b981;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.08);
  --shadow-md: 0 6px 12px -2px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 10px 18px -3px rgba(15, 23, 42, 0.16);
  --shadow-xl: 0 18px 32px -6px rgba(15, 23, 42, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: transparent;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1rem;
}

/* Scroll Entrance Animations */
section:not(.hero-section),
.footer {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

section.is-visible,
.footer.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-visible .section-title {
  animation: fadeInDown 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 0.05s;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg,
      var(--secondary-color),
      var(--accent-color));
  border-radius: 2px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(248, 251, 253, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(20, 160, 133, 0.2);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.nav-brand h2 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0;
}

.nav-brand span {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--secondary-color);
}

.nav-menu a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  background: linear-gradient(135deg,
      var(--bg-primary) 0%,
      var(--bg-secondary) 50%,
      var(--bg-tertiary) 100%);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(20, 160, 133, 0.18) 0%, transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(212, 175, 55, 0.14) 0%, transparent 28%),
    radial-gradient(circle at 80% 80%, rgba(13, 115, 119, 0.18) 0%, transparent 35%);
  color: var(--white);
  padding-top: 80px;
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: floatAmbient 9s ease-in-out infinite alternate;
}

.hero-section::before {
  width: 260px;
  height: 260px;
  top: 12%;
  left: -60px;
  background: rgba(20, 160, 133, 0.18);
}

.hero-section::after {
  width: 220px;
  height: 220px;
  right: -40px;
  bottom: 8%;
  background: rgba(212, 175, 55, 0.16);
  animation-delay: -3s;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.28);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10rem;
  animation: heroPop 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: 0.05s;
  transform-origin: center;
  align-items: center;
  max-width: 1200px;
  padding: 2.5rem;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(239, 252, 247, 0.78));
  border: 1px solid rgba(20, 160, 133, 0.18);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(10px);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  animation: imagePop 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: 0.35s;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(20, 160, 133, 0.12), rgba(212, 175, 55, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 6px 9px rgba(15, 23, 42, 0.14);
  border: 2px solid rgba(20, 160, 133, 0.18);
  object-fit: cover;
  background: var(--bg-secondary);
}

.hero-text {
  text-align: left;
  overflow: hidden;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  animation: heroWordSlide 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--word-index, 0) * 0.08s + 0.12s);
  will-change: transform, opacity;
}

.hero-name {
  font-size: 3.8rem;
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-shadow: none;
}

.hero-qualification {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  opacity: 0.95;
}

.hero-specialization {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.hero-location {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-tagline {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(18px);
  animation: heroWordSlide 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 0.9s;
}

.btn {
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.28);
}

.btn-primary:hover {
  background: var(--secondary-color);
  box-shadow: 0 14px 28px rgba(20, 160, 133, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(20, 160, 133, 0.18);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: var(--white);
  opacity: 0.8;
}

.scroll-indicator span {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 10px;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: var(--white);
  margin: 0 auto;
  position: relative;
  animation: scrollDown 2s infinite;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}

@keyframes scrollDown {

  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }

  50% {
    opacity: 0.3;
    transform: translateY(10px);
  }
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background: transparent;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.lead-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateX(-28px);
}

.about-text p:nth-child(even) {
  transform: translateX(28px);
}

.about-sentence {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
}

.about-section.is-visible .about-text p {
  animation: aboutSlideLeft 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--p-index, 0) * 0.35s + 0.50s);
}

.about-section.is-visible .about-text p:nth-child(even) {
  animation-name: aboutSlideRight;
}

.about-section.is-visible .about-sentence {
  animation: aboutSentenceDrop 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--sent-index, 0) * 0.50s + 0.30s);
}

.highlight-text {
  background: var(--light-accent);
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 2rem;
}

/* Education Section */
.education-section {
  padding: 6rem 0;
  background: var(--white);
}

.timeline {
  max-width: 800px;
  margin: 0 auto 4rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-color);
  opacity: 0.3;
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
  opacity: 0;
  transform: translateY(24px);
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year {
  width: 120px;
  height: 120px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
  margin-top: 2rem;
  transform: scale(0.35);
  opacity: 0;
  transform-origin: center;
}

.timeline-content {
  flex: 1;
  padding: 2rem;
  background: var(--bg-tertiary);
  border-radius: 12px;
  margin: 0 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(20, 160, 133, 0.2);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-30px);
}

.timeline-item:nth-child(even) .timeline-content {
  transform: translateX(30px);
}

.timeline-item .timeline-content::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, rgba(20, 160, 133, 0.10), rgba(212, 175, 55, 0.08));
  z-index: 0;
}

.timeline-item .timeline-content>* {
  position: relative;
  z-index: 1;
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.institution {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.academic-honors {
  margin-top: 4rem;
}

.honors-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(18px);
}

.academic-honors.is-visible .honors-title {
  animation: fadeInDown 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 0.2s;
}

.honors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.honor-card {
  background: var(--bg-tertiary);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(20, 160, 133, 0.2);
  opacity: 0;
  transform: translateY(24px);
}

.honor-card:nth-child(1) {
  transform: translate(28px, 24px);
}

.honor-card:nth-child(2) {
  transform: translateY(24px);
}

.honor-card:nth-child(3) {
  transform: translate(-28px, 24px);
}

.honor-card.is-visible:nth-child(1) {
  animation: honorCardLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.honor-card.is-visible:nth-child(2) {
  animation: honorCardPop 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.honor-card.is-visible:nth-child(3) {
  animation: honorCardRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.honor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.education-section.is-visible .timeline-item {
  animation: fadeInDown 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--item-index, 0) * 1.35s);
}

.education-section.is-visible .timeline-item .timeline-year {
  animation: growCircle 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--item-index, 0) * 1.35s + 0.08s);
}

.education-section.is-visible .timeline-item .timeline-content {
  animation: wipeInLeft 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--item-index, 0) * 1.35s + 0.22s);
}

.education-section.is-visible .timeline-item:nth-child(even) .timeline-content {
  animation-name: wipeInRight;
}

.education-section.is-visible .timeline-item .timeline-content::before {
  animation: wipeBand 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--item-index, 0) * 1.35s + 0.22s);
}

.education-section.is-visible .edu-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  animation: eduWordSlide 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--item-index, 0) * 1.35s + 0.45s + var(--word-index, 0) * 0.05s);
}

.honor-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.honor-card h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.honor-card p {
  color: var(--text-secondary);
}

/* Experience Section */
.experience-section {
  padding: 6rem 0;
  background: transparent;
}

.experience-timeline {
  max-width: 900px;
  margin: 0 auto;
}

.exp-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--bg-tertiary);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(20, 160, 133, 0.2);
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  z-index: 1;
}

.exp-item.is-visible:nth-child(odd) {
  animation: experienceRevealLeft 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.exp-item.is-visible:nth-child(even) {
  animation: experienceRevealRight 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.exp-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-xl);
}

.exp-period {
  min-width: 150px;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
  padding-top: 0.5rem;
}

.exp-details h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.exp-institution {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
}

.exp-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

.experience-section.is-visible .exp-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  animation: expWordSlide 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--card-index, 0) * 0.25s + var(--word-index, 0) * 0.08s + 0.12s);
}

/* Expertise Section */
.expertise-section {
  padding: 6rem 0;
  background: var(--white);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.expertise-card {
  background: var(--bg-tertiary);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 2px solid rgba(20, 160, 133, 0.2);
  opacity: 0;
  transform: translateY(24px);
}

.expertise-section.is-visible .expertise-card {
  animation: expertiseCardReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.expertise-section.is-visible .expertise-card:nth-child(odd) {
  animation: expertiseSlideFromRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.expertise-section.is-visible .expertise-card:nth-child(even) {
  animation: expertiseSlideFromLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.expertise-section.is-visible .expertise-card:nth-child(1) {
  animation-delay: 0.10s;
}

.expertise-section.is-visible .expertise-card:nth-child(2) {
  animation-delay: 0.20s;
}

.expertise-section.is-visible .expertise-card:nth-child(3) {
  animation-delay: 0.30s;
}

.expertise-section.is-visible .expertise-card:nth-child(4) {
  animation-delay: 0.40s;
}

.expertise-section.is-visible .expertise-card:nth-child(5) {
  animation-delay: 0.50s;
}

.expertise-section.is-visible .expertise-card:nth-child(6) {
  animation-delay: 0.60s;
}

.expertise-section.is-visible .expertise-card:nth-child(7) {
  animation-delay: 0.70s;
}

.expertise-section.is-visible .expertise-card:nth-child(8) {
  animation-delay: 0.80s;
}

.expertise-section.is-visible .expertise-card:nth-child(9) {
  animation-delay: 0.90s;
}

.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
  background: var(--bg-secondary);
}

.expertise-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.expertise-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.expertise-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Achievements Section */
.achievements-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 2rem;
}

.achievement-card {
  background: var(--bg-tertiary);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid rgba(20, 160, 133, 0.2);
  opacity: 0;
  transform: translateY(24px);
}

.achievements-section.is-visible .achievement-card {
  animation-fill-mode: forwards;
}

.achievement-card.is-visible:nth-child(1) {
  animation: achievementSlideFromRight 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.achievement-card.is-visible:nth-child(2) {
  animation: achievementSlideFromLeft 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.achievement-card.is-visible:nth-child(3) {
  animation: achievementSlideFromRightTop 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.achievement-card.is-visible:nth-child(4) {
  animation: achievementSlideFromLeftTop 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.achievement-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.achievement-card.highlight-stat {
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  color: var(--white);
}

.achievement-card.highlight-stat h3,
.achievement-card.highlight-stat p {
  color: var(--white);
}

.achievement-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
}

.achievement-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  opacity: 0;
  transform: translateY(10px);
}

.achievement-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(10px);
}

.achievements-section.is-visible .achievement-icon,
.achievements-section.is-visible .achievement-card h3,
.achievements-section.is-visible .achievement-card p {
  animation: achievementTextSlide 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.achievements-section.is-visible .achievement-icon {
  animation-delay: 0.35s;
}

.achievements-section.is-visible .achievement-card h3 {
  animation-delay: 0.45s;
}

.achievements-section.is-visible .achievement-card p {
  animation-delay: 0.55s;
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  background: var(--white);
}

.testimonial-carousel {
  max-width: 900px;
  margin: 0 auto 4rem;
  position: relative;
}

.testimonial-track {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.testimonial-slide {
  display: none;
  padding: 3rem;
  background: var(--bg-tertiary);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(20, 160, 133, 0.2);
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-content {
  text-align: center;
}

.testimonial-rating {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #fbbf24;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-slide.active .testimonial-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px);
  animation: testimonialWordSlide 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--word-index) * 70ms + 100ms);
}

@keyframes testimonialWordSlide {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.testimonial-slide.active .testimonial-author {
  opacity: 0;
  transform: translateY(18px);
  animation: testimonialAuthorSlide 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 2.5s;
}

@keyframes testimonialAuthorSlide {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  background: var(--bg-tertiary);
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

.testimonial-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-600);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background: var(--secondary-color);
  transform: scale(1.2);
}

.testimonial-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-tertiary);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(20, 160, 133, 0.2);
  opacity: 0;
  transform: translateY(24px);
}

.testimonials-section.is-visible .stat-item {
  animation: statCardSlideUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.testimonials-section.is-visible .stat-item:nth-child(1) {
  animation-delay: 0.10s;
}

.testimonials-section.is-visible .stat-item:nth-child(2) {
  animation-delay: 0.25s;
}

.testimonials-section.is-visible .stat-item:nth-child(3) {
  animation-delay: 0.40s;
}

.stat-item h3,
.stat-item p {
  opacity: 0;
  transform: translateY(10px);
}

.testimonials-section.is-visible .stat-item h3,
.testimonials-section.is-visible .stat-item p {
  animation: statTextSlide 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.testimonials-section.is-visible .stat-item:nth-child(1) h3,
.testimonials-section.is-visible .stat-item:nth-child(1) p {
  animation-delay: 0.35s;
}

.testimonials-section.is-visible .stat-item:nth-child(2) h3,
.testimonials-section.is-visible .stat-item:nth-child(2) p {
  animation-delay: 0.50s;
}

.testimonials-section.is-visible .stat-item:nth-child(3) h3,
.testimonials-section.is-visible .stat-item:nth-child(3) p {
  animation-delay: 0.65s;
}

@keyframes statCardSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes statTextSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Consultation Section */
.consultation-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.clinics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.clinic-card {
  background: var(--bg-tertiary);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid rgba(20, 160, 133, 0.2);
  opacity: 0;
  transform: scale(0.92) translateY(18px);
}

.consultation-section.is-visible .clinic-card {
  animation: clinicCardGrow 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.consultation-section.is-visible .clinic-card:nth-child(1) {
  animation-delay: 0.10s;
}

.consultation-section.is-visible .clinic-card:nth-child(2) {
  animation-delay: 0.35s;
}

.consultation-section.is-visible .clinic-card:nth-child(3) {
  animation-delay: 0.60s;
}

.consultation-section.is-visible .clinic-card h3,
.consultation-section.is-visible .clinic-card .clinic-location,
.consultation-section.is-visible .clinic-card .clinic-timing,
.consultation-section.is-visible .clinic-card .clinic-fee {
  opacity: 0;
  transform: translateY(12px);
  animation: clinicTextSlide 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.consultation-section.is-visible .clinic-card:nth-child(1) h3 {
  animation-delay: 0.30s;
}

.consultation-section.is-visible .clinic-card:nth-child(1) .clinic-location {
  animation-delay: 0.60s;
}

.consultation-section.is-visible .clinic-card:nth-child(1) .clinic-timing {
  animation-delay: 0.80s;
}

.consultation-section.is-visible .clinic-card:nth-child(1) .clinic-fee {
  animation-delay: 0.110s;
}

.consultation-section.is-visible .clinic-card:nth-child(2) h3 {
  animation-delay: 0.55s;
}

.consultation-section.is-visible .clinic-card:nth-child(2) .clinic-location {
  animation-delay: 0.65s;
}

.consultation-section.is-visible .clinic-card:nth-child(2) .clinic-timing {
  animation-delay: 0.75s;
}

.consultation-section.is-visible .clinic-card:nth-child(2) .clinic-fee {
  animation-delay: 0.85s;
}

.consultation-section.is-visible .clinic-card:nth-child(3) h3 {
  animation-delay: 0.80s;
}

.consultation-section.is-visible .clinic-card:nth-child(3) .clinic-location {
  animation-delay: 0.90s;
}

.consultation-section.is-visible .clinic-card:nth-child(3) .clinic-timing {
  animation-delay: 1.00s;
}

.consultation-section.is-visible .clinic-card:nth-child(3) .clinic-fee {
  animation-delay: 1.10s;
}

.consultation-section.is-visible .consultation-cta .btn {
  opacity: 0;
  transform: translateY(14px);
  animation: consultationButtonSlide 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.consultation-section.is-visible .consultation-cta .btn:first-child {
  animation-delay: 0.55s;
}

.consultation-section.is-visible .consultation-cta .btn:last-child {
  animation-delay: 0.70s;
}

.clinic-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.clinic-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.clinic-location {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.clinic-timing {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.clinic-fee {
  color: var(--text-primary);
  font-weight: 500;
}

.consultation-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

@keyframes clinicCardGrow {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(30px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes clinicTextSlide {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes consultationButtonSlide {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Section */
.media-section {
  padding: 6rem 0;
  background: var(--white);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.media-card {
  background: var(--bg-tertiary);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid rgba(20, 160, 133, 0.2);
  opacity: 0;
  transform: translateY(20px);
}

.media-card.is-visible:nth-child(odd) {
  animation: experienceSlideFromRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.media-card.is-visible:nth-child(even) {
  animation: experienceSlideFromLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.media-section.is-visible .media-card:nth-child(1) {
  animation-delay: 0.15s;
}

.media-section.is-visible .media-card:nth-child(2) {
  animation-delay: 0.30s;
}

.media-section.is-visible .media-card:nth-child(3) {
  animation-delay: 0.45s;
}

.media-section.is-visible .media-card:nth-child(4) {
  animation-delay: 0.60s;
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.media-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.media-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.media-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.contact-content-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}





/* Footer */
.footer {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(20, 160, 133, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 1.25rem;
}

.footer-section p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--secondary-color);
}

.social-media-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-tertiary);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid rgba(20, 160, 133, 0.2);
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateX(5px);
  border-color: var(--primary-color);
}

.social-link:hover span {
  color: var(--white);
}

.social-icon {
  font-size: 1.5rem;
  display: inline-block;
}

.social-icon img {
  width: 18px;
  height: 18px;
  display: block;
}

.social-link span:not(.social-icon) {
  color: var(--text-primary);
  font-weight: 500;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(20, 160, 133, 0.2);
  color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: var(--bg-secondary);
    width: 100%;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
    gap: 1rem;
    border-top: 1px solid rgba(20, 160, 133, 0.2);
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    max-width: 300px;
    margin: 0 auto 2rem;
  }

  .hero-text {
    text-align: center;
  }

  .hero-name {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 80px;
  }

  .timeline-year {
    position: absolute;
    left: 0;
    width: 60px;
    height: 60px;
    font-size: 0.9rem;
  }

  .timeline-content {
    margin: 0;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .hero-buttons,
  .consultation-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .expertise-grid,
  .achievements-grid,
  .clinics-grid {
    grid-template-columns: 1fr;
  }
}

/* Smooth Animations */
@media (prefers-reduced-motion: no-preference) {

  .expertise-card.is-visible,
  .achievement-card.is-visible,
  .clinic-card.is-visible {
    animation: fadeInUp 0.6s ease forwards;
  }

  .expertise-card.is-visible:nth-child(1) { animation-delay: 0.1s; }
  .expertise-card.is-visible:nth-child(2) { animation-delay: 0.2s; }
  .expertise-card.is-visible:nth-child(3) { animation-delay: 0.3s; }
  .expertise-card.is-visible:nth-child(4) { animation-delay: 0.4s; }
  .expertise-card.is-visible:nth-child(5) { animation-delay: 0.5s; }
  .expertise-card.is-visible:nth-child(6) { animation-delay: 0.6s; }
}

@keyframes expertiseCardReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expertiseSlideFromRight {
  from {
    opacity: 0;
    transform: translateX(60px) translateY(8px);
  }

  55% {
    opacity: 1;
    transform: translateX(-6px) translateY(-2px);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes expertiseSlideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-60px) translateY(8px);
  }

  55% {
    opacity: 1;
    transform: translateX(6px) translateY(-2px);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes expertiseSlideFromDown {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  55% {
    opacity: 1;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes achievementSlideFromRight {
  from {
    opacity: 0;
    transform: translate(80px, 30px);
  }

  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes achievementSlideFromLeft {
  from {
    opacity: 0;
    transform: translate(-80px, 30px);
  }

  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes achievementSlideFromRightTop {
  from {
    opacity: 0;
    transform: translate(80px, -30px);
  }

  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes achievementSlideFromLeftTop {
  from {
    opacity: 0;
    transform: translate(-80px, -30px);
  }

  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes achievementTextSlide {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes experienceRevealLeft {
  0% {
    opacity: 0;
    transform: perspective(1200px) rotateY(-20deg) translateX(-100px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: perspective(1200px) rotateY(0) translateX(0) scale(1);
  }
}

@keyframes experienceRevealRight {
  0% {
    opacity: 0;
    transform: perspective(1200px) rotateY(20deg) translateX(100px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: perspective(1200px) rotateY(0) translateX(0) scale(1);
  }
}

@keyframes honorCardLeft {
  from {
    opacity: 0;
    transform: translateX(-80px) rotate(-2deg);
  }

  to {
    opacity: 1;
    transform: translateX(0) rotate(0);
  }
}

@keyframes honorCardRight {
  from {
    opacity: 0;
    transform: translateX(80px) rotate(2deg);
  }

  to {
    opacity: 1;
    transform: translateX(0) rotate(0);
  }
}

@keyframes honorCardPop {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes growCircle {
  from {
    opacity: 0;
    transform: scale(0.35);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes wipeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes wipeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes wipeBand {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes eduWordSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expWordSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contentPop {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  60% {
    opacity: 1;
    transform: translateY(-2px) scale(1.01);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroWordSlide {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aboutSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes aboutSlideRight {
  from {
    opacity: 0;
    transform: translateX(28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes aboutSentenceDrop {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPop {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(18px);
  }

  60% {
    opacity: 1;
    transform: scale(1.02) translateY(-4px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes imagePop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(14px);
  }

  60% {
    opacity: 1;
    transform: scale(1.03) translateY(-3px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatAmbient {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(12px, -10px, 0) scale(1.08);
  }
}

/* Restored Missing Keyframes */
@keyframes achievementSlideFromRight {
  0% {
    opacity: 0;
    transform: perspective(1000px) rotateY(-15deg) translateX(60px);
  }
  100% {
    opacity: 1;
    transform: perspective(1000px) rotateY(0) translateX(0);
  }
}

@keyframes achievementSlideFromLeft {
  0% {
    opacity: 0;
    transform: perspective(1000px) rotateY(15deg) translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: perspective(1000px) rotateY(0) translateX(0);
  }
}

@keyframes achievementSlideFromRightTop {
  0% {
    opacity: 0;
    transform: perspective(1000px) rotateX(-10deg) rotateY(-10deg) translate(40px, 40px);
  }
  100% {
    opacity: 1;
    transform: perspective(1000px) rotateX(0) rotateY(0) translate(0, 0);
  }
}

@keyframes achievementSlideFromLeftTop {
  0% {
    opacity: 0;
    transform: perspective(1000px) rotateX(-10deg) rotateY(10deg) translate(-40px, 40px);
  }
  100% {
    opacity: 1;
    transform: perspective(1000px) rotateX(0) rotateY(0) translate(0, 0);
  }
}

@keyframes achievementTextSlide {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes experienceSlideFromLeft {
  0% {
    opacity: 0;
    transform: perspective(1000px) rotateY(12deg) translateX(-40px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: perspective(1000px) rotateY(0) translateX(0) scale(1);
  }
}

@keyframes experienceSlideFromRight {
  0% {
    opacity: 0;
    transform: perspective(1000px) rotateY(-12deg) translateX(40px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: perspective(1000px) rotateY(0) translateX(0) scale(1);
  }
}

/* Background Doctor Doodles */
.background-doodles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.doodle {
  position: absolute;
  opacity: 0.3;
  animation: doodleFloat 8s ease-in-out infinite;
}

.doodle-stethoscope-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.doodle-plus {
  width: 70px;
  height: 70px;
  top: 20%;
  right: 10%;
  animation-delay: 2s;
}

.doodle-medicine {
  width: 60px;
  height: 60px;
  bottom: 25%;
  left: 8%;
  animation-delay: 4s;
}

.doodle-syringe {
  width: 75px;
  height: 75px;
  top: 50%;
  right: 5%;
  animation-delay: 3s;
}

.doodle-clipboard {
  width: 65px;
  height: 65px;
  top: 65%;
  left: 12%;
  animation-delay: 1s;
}

.heart-beat {
  width: 100px;
  height: 100px;
  opacity: 0;
  animation: heartBeat 2s infinite ease-in-out;
}

.heart-beat-1 {
  top: 15%;
  right: 15%;
  animation-delay: 0s;
}

.heart-beat-2 {
  bottom: 20%;
  left: 20%;
  animation-delay: 1s;
}

@keyframes doodleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(2deg); }
  50% { transform: translateY(-30px) rotate(-2deg); }
  75% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes heartBeat {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.1); }
}

/* Premium Mesh Background */
.mesh-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  background: var(--bg-primary);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: floating 25s infinite alternate ease-in-out;
}

.blob-primary {
  width: 600px;
  height: 600px;
  background: rgba(20, 160, 133, 0.2);
  top: -100px;
  right: -100px;
}

.blob-secondary {
  width: 800px;
  height: 800px;
  background: rgba(13, 115, 119, 0.15);
  bottom: -200px;
  left: -200px;
  animation-delay: -5s;
}

.blob-tertiary {
  width: 500px;
  height: 500px;
  background: rgba(212, 175, 55, 0.1);
  top: 40%;
  left: 30%;
  animation-delay: -12s;
}

@keyframes floating {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(100px, 100px) scale(1.1); }
}

/* Phone Card Styles - Premium Look */
.phone-card {
  width: 100%;
  max-width: 600px;
  opacity: 1;
}

.contact-item.phone-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2.5rem 3rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(20, 160, 133, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.phone-card .contact-icon {
  font-size: 2.8rem;
  background: var(--light-accent);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.phone-card .contact-details h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.phone-card .contact-details a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}

/* Map Styles - Premium Look */
.contact-map {
  width: 100%;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  position: relative;
  background: var(--bg-tertiary);
  border: 1px solid rgba(20, 160, 133, 0.2);
}

.map-entrance-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.1);
}

.map-entrance-pin {
  width: 100px;
  opacity: 0;
  transform: scale(0);
}

.contact-section.is-visible .map-entrance-pin {
  animation: mapPinZoomReveal 2.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 1s ease;
}

.contact-section.is-visible iframe {
  animation: mapFrameFadeIn 1.4s ease 1.6s forwards;
}

@keyframes mapPinZoomReveal {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  35% {
    opacity: 1;
    transform: scale(1.2);
  }
  65% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(25);
  }
}

@keyframes mapFrameFadeIn {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Background Doctor Doodles */
.background-doodles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.doodle {
  position: absolute;
  opacity: 0.3;
  animation: doodleFloat 8s ease-in-out infinite;
}

.doodle-stethoscope-1 { width: 80px; height: 80px; top: 10%; left: 5%; }
.doodle-plus { width: 70px; height: 70px; top: 20%; right: 10%; animation-delay: 2s; }
.doodle-medicine { width: 60px; height: 60px; bottom: 25%; left: 8%; animation-delay: 4s; }
.doodle-syringe { width: 75px; height: 75px; top: 50%; right: 5%; animation-delay: 3s; }
.doodle-clipboard { width: 65px; height: 65px; top: 65%; left: 12%; animation-delay: 1s; }

.heart-beat {
  width: 100px;
  height: 100px;
  opacity: 0;
  animation: heartBeat 2s infinite ease-in-out;
}

.heart-beat-1 { top: 15%; right: 15%; }
.heart-beat-2 { bottom: 20%; left: 20%; animation-delay: 1s; }

@keyframes doodleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(2deg); }
  50% { transform: translateY(-30px) rotate(-2deg); }
  75% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes heartBeat {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.1); }
}

/* Premium Mesh Background */
.mesh-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  background: #f8fbfd;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: floating 25s infinite alternate ease-in-out;
}

.blob-primary { width: 600px; height: 600px; background: rgba(20, 160, 133, 0.2); top: -100px; right: -100px; }
.blob-secondary { width: 800px; height: 800px; background: rgba(13, 115, 119, 0.15); bottom: -200px; left: -200px; animation-delay: -5s; }
.blob-tertiary { width: 500px; height: 500px; background: rgba(212, 175, 55, 0.1); top: 40%; left: 30%; animation-delay: -12s; }

@keyframes floating {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(100px, 100px) scale(1.1); }
}