:root {
  --primary: #1a3a52;
  --accent: #2c5aa0;
  --dha-green: #2e7d32;
  --bg-light: #fafbfc;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 1rem;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.skip-link:focus {
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  color: var(--text-dark);
  line-height: 1.65;
  background-color: #fff;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.nav-logo,
.stat-num,
.btn {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

#load-more-btn {
  font-family: "Poppins", sans-serif;
  padding: 10px 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#load-more-btn:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Navigation */
nav {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  margin-left: 25px;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Burger Menu Styling */
.burger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary);
  background: none;
  border: none;
  padding: 0.5rem;
}

.burger:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Focus styles for better keyboard navigation */
a:focus,
button:focus,
input:focus {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2);
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffc107;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 193, 7, 0.3);
}

/* Hero Section */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10%;
  background: radial-gradient(circle at top left, #eef4ff, #ffffff 60%);
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
}

/* Professional Profile Image - Subtle Hover Only */
.hero-img {
  flex: 0 0 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-img img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border: 10px solid #fff;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.hero-img img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.badge-container {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.badge-dha {
  display: inline-flex;
  align-items: center;
  background: #e8f5e9;
  color: var(--dha-green);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: bold;
  border: 1px solid #c8e6c9;
}

.badge-dha i {
  margin-right: 8px;
}

.badge-evc {
  display: inline-flex;
  align-items: center;
  background: #e3f2fd;
  color: var(--accent);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: bold;
  border: 1px solid #bbdefb;
}

.badge-evc i {
  margin-right: 8px;
}

.id-muted {
  font-size: 0.75rem;
  color: #666;
  font-weight: normal;
  display: block;
  margin-top: 2px;
}

.subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 25px;
  font-weight: 300;
}

.hero-desc {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 30px;
  text-align: justify;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  margin: 5px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: #0f2942;
  transform: none;
  box-shadow: var(--shadow-hover);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* Stats Bar Improved */
.stats-bar {
  background: var(--primary);
  color: #fff;
  display: flex;
  justify-content: space-around;
  padding: 60px 10%;
  flex-wrap: wrap;
  text-align: center;
  gap: 40px;
}

.stat-item {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.3s ease;
}

.stat-item:hover {
  transform: none;
}

.stat-icon {
  font-size: 2.2rem;
  color: #64b5f6;
  margin-bottom: 15px;
  opacity: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: #e3f2fd;
}

section {
  padding: 120px 10%;
  max-width: 100%;
  overflow-x: hidden;
}

.section-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 70px;
  position: relative;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 15px auto 0;
}

.section-title.left {
  text-align: left;
}

.section-title.left::after {
  margin: 15px 0 0 0;
}

/* Highlights Wrapper */
.highlights-wrapper {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
  align-items: stretch;
}

.highlights-column {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
}

.highlights-column.wide {
  flex: 1.4;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
}

.skill-item {
  background: var(--bg-light);
  padding: 15px 20px;
  border-radius: 6px;
  border-left: 4px solid var(--accent);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 0.3s;
}

.skill-item:hover {
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(2px);
}

.skill-item i {
  color: var(--accent);
  font-size: 1.1rem;
  width: 25px;
  text-align: center;
}

/* Credential Card Styles */
.highlight-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid #e8eaed;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.highlight-card-verified {
  position: relative;
  overflow: visible;
}

.highlight-card-verified::after {
  content: "✓ Verified";
  position: absolute;
  top: -8px;
  right: 10px;
  background: var(--dha-green);
  color: white;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
}

.highlight-card-passed {
  position: relative;
  overflow: visible;
}

.highlight-card-passed::after {
  content: "✓ Passed";
  position: absolute;
  top: -8px;
  right: 10px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.highlight-card-registered {
  position: relative;
  overflow: visible;
}

.highlight-card-registered::after {
  content: "✓ Registered";
  position: absolute;
  top: -8px;
  right: 10px;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 32, 96, 0.3);
}

.card-logo-box {
  width: 100px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Timeline Styles */
.timeline {
  border-left: 3px solid #e9ecef;
  margin-left: 20px;
  padding-left: 30px;
}

.timeline-item {
  position: relative;
  margin-bottom: 55px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -39px;
  top: 15px;
  width: 15px;
  height: 15px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #e9ecef;
  z-index: 1;
}

.timeline-content {
  flex: 1;
}

.exp-logo-container {
  width: 120px;
  height: 50px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

.edu-logo-container {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exp-logo-container a,
.edu-logo-container a,
.highlight-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.exp-logo-container a:hover,
.edu-logo-container a:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.exp-hospital-logo,
.edu-uni-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.95;
  transition: 0.3s;
}

.role {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.hospital {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: #555;
  font-weight: 600;
  margin-bottom: 0px;
}

.exp-list li {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 8px;
  text-align: justify;
}

.date {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

/* Language Cards */
.lang-column-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.lang-card {
  background: #fdfdfd;
  padding: 18px 20px;
  border-radius: 8px;
  border: 1px solid #eee;
  text-align: left;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

.lang-card:hover {
  border-color: var(--accent);
  background: #fff;
}

.lang-card span {
  font-size: 0.85rem;
  font-weight: normal;
  color: var(--text-light);
}

.lang-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-tag {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Side-by-Side Wrapper */
.side-container {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.main-column {
  flex: 1.6;
  min-width: 350px;
}

.side-column {
  flex: 1;
  min-width: 300px;
}

/* Publications Card */
.pub-card {
  background: var(--bg-light);
  padding: 24px;
  border-radius: 10px;
  margin-bottom: 18px;
  border-left: 3px solid var(--primary);
  transition: 0.3s;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.pub-card:hover {
  background: #fff;
  box-shadow: var(--shadow);
}

.pub-card i {
  color: var(--accent);
  margin-top: 5px;
}

.pub-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  font-weight: 500;
}

.pub-link:hover {
  border-bottom: 1px solid var(--accent);
  color: var(--primary);
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: #fff;
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  border-top: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.quote-icon {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.1;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 25px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.author-info strong {
  display: block;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #003399 100%);
  color: #fff;
  text-align: center;
  padding: 80px 10%;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  line-height: 1.8;
  color: #e3f2fd;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto 40px;
  max-width: 100%;
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--primary);
}

.cta-credentials {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-badge i {
  font-size: 1.1rem;
}

/* Footer */
.contact-section {
  background: #111;
  color: #fff;
  padding: 80px 10% 40px;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin: 40px auto;
  max-width: 1100px;
}

.contact-card {
  background: #1a1a1a;
  padding: 30px 20px;
  border-radius: 12px;
  border: 1px solid #222;
  transition: 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  background: #222;
}

.contact-card i {
  font-size: 2.2rem;
  color: var(--accent);
}

.contact-card h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
}

.contact-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #aaa;
}

.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 50px;
  padding-top: 30px;
  font-size: 0.9rem;
  color: #555;
}

/* Utilities */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 2000;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.back-to-top {
  position: fixed;
  bottom: 105px;
  right: 35px;
  background: var(--primary);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 2000;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 32, 96, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .side-container,
  .highlights-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .main-column,
  .side-column,
  .highlights-column {
    width: 100%;
    flex: none;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    width: 100%;
  }

  * {
    max-width: 100%;
  }

  nav {
    padding: 15px 5%;
    position: relative;
    width: 100%;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    border-top: 1px solid #eee;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: block;
  }

  header {
    flex-direction: column-reverse;
    text-align: center;
    padding: 40px 5%;
  }

  .hero-content {
    padding-right: 0;
  }

  h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  h2 {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  section {
    padding: 60px 5%;
    width: 100vw;
    max-width: 100%;
  }

  header {
    width: 100%;
    max-width: 100vw;
  }

  .timeline {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
  }

  .timeline-item {
    flex-direction: column;
    gap: 10px;
  }

  .timeline-item::before {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-img img {
    width: 280px;
    height: 280px;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-large {
    width: 100%;
    max-width: 300px;
  }

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

  /* Adjust floating buttons for mobile */
  .whatsapp-float {
    bottom: 20px;
    right: 10px;
    width: 55px;
    height: 55px;
    font-size: 26px;
  }

  .back-to-top {
    bottom: 90px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  /* Fix CTA buttons overflow on mobile */
  .cta-buttons {
    padding: 0 10px;
  }

  .btn-large {
    width: 100%;
    max-width: calc(100vw - 50px);
  }

  /* Reduce list margins on mobile for more text space */
  .exp-list,
  ul {
    padding-left: 20px;
    margin-left: 0;
  }

  .exp-list li {
    margin-bottom: 6px;
  }
}
