
/* Mobile Menu Button Styles */
  
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 0.2rem 0.6rem;
  margin-left: 0.5rem;
  cursor: pointer;
  z-index: 1100;
}

.menu-icon svg {
  display: block;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: inline-block;
    vertical-align: middle;
  }
  .nav-links {
    margin-top: 0.5rem;
  }
}
/* Root Variables */
:root {
  --primary: #0B2D5B;
  --secondary: #B7882E;
  --background: #F4F6F8;
  --surface: #FFFFFF;
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, #0B2D5B 0%, #1a4d8f 100%);
  --gradient-light: linear-gradient(135deg, rgba(11, 45, 91, 0.05) 0%, rgba(11, 45, 91, 0.02) 100%);
  /* Responsive base sizing (approx. 80% of original design) */
  font-size: clamp(12px, 1vw + 8px, 12.8px);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lora', Georgia, serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1.05rem;
  max-width: 1920px;
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 700;
  color: var(--primary);
}

a {
  color: var(--primary);
  text-decoration: underline;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary);
  text-decoration: underline;
  transform: translateY(-1px);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(11, 45, 91, 0.95) 0%, rgba(26, 77, 143, 0.95) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.8rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, rgba(11, 45, 91, 0.98) 0%, rgba(26, 77, 143, 0.98) 100%);
}

.nav-brand {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.95);
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.92);
}

/* Hero & About Combined Section */
.hero-about-combined {
  min-height: clamp(600px, 85vh, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4.8rem 5% 3.2rem;
  background: linear-gradient(135deg, #0B2D5B 0%, #1a4d8f 100%);
  color: white;
}

.hero-content {
  width: 100%;
  max-width: 90%;
  margin: 0 auto 4rem;
  display: flex;
  align-items: center;
  gap: 3.2rem;
}

.intro-content-merged {
  width: 100%;
  max-width: 90%;
  background: rgba(255, 255, 255, 0.15);
  padding: 2.4rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.intro-content-merged .intro-title {
  font-size: clamp(1.15rem, 3.6vw, 1.5rem);
  color: white;
  margin-bottom: 1.2rem;
  text-align: center;
}

.intro-content-merged .intro-paragraphs {
  color: white;
}

.intro-content-merged .intro-paragraphs p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  text-align: justify;
}

.intro-content-merged .intro-paragraphs p:last-child {
  margin-bottom: 0;
}

.intro-toggle-btn {
  display: none;
  margin-top: 0.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border: none;
  padding: 0;
  border-radius: 0;
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.intro-toggle-btn:hover {
  color: rgba(255, 255, 255, 1);
}

.hero-image-container {
  flex-shrink: 0;
}

.hero-image {
  width: clamp(110px, 28vw, 240px);
  height: clamp(110px, 28vw, 240px);
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.hero-image:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 16px 40px rgba(183, 136, 46, 0.4), 0 8px 20px rgba(0, 0, 0, 0.4);
  border-color: rgba(183, 136, 46, 0.6);
}

.hero-text h1 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: white;
  margin-bottom: 0.4rem;
}

.hero-text h2 {
  font-size: clamp(0.65rem, 2.5vw, 1.2rem);
  color: var(--secondary);
  margin-bottom: 0.8rem;
  white-space: nowrap;
}

.hero-text p {
  font-size: clamp(0.95rem, 2.8vw, 1rem);
  margin-bottom: 1.6rem;
  opacity: 0.9;
}

/* Typewriter cursor animation */
#heroTagline::after {
  content: '|';
  color: var(--accent);
  animation: blink 0.8s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

/* Animated wave icon */
.wave {
  animation: wave-animation 2.5s infinite;
  transform-origin: 70% 70%;
  display: inline-block;
  font-size: 1.5em;
}

@keyframes wave-animation {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30% {
    transform: rotate(14deg);
  }
  20%, 40% {
    transform: rotate(-8deg);
  }
  50%, 70% {
    transform: rotate(14deg);
  }
  60%, 80% {
    transform: rotate(-4deg);
  }
  90% {
    transform: rotate(0deg);
  }
}

.hero-socials {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

.social-link {
  width: clamp(28px, 7.5vw, 36px);
  height: clamp(28px, 7.5vw, 36px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.9rem, 2.8vw, 1rem);
  color: white;
  transition: all 0.3s ease;
}

/* Bigger socials on the first (hero) page */
.hero-socials .social-link {
  width: clamp(40px, 11vw, 66px);
  height: clamp(40px, 11vw, 66px);
  font-size: clamp(1.15rem, 4vw, 1.85rem);
}

.social-link:hover {
  background: var(--secondary);
  transform: translateY(-2.4px);
}

.cta-btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(135deg, var(--primary) 0%, #1a4d8f 100%);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(11, 45, 91, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.cta-btn:hover::before {
  width: 300px;
  height: 300px;
}

.cta-btn:hover {
  background: linear-gradient(135deg, #1a4d8f 0%, var(--primary) 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(11, 45, 91, 0.35);
  color: white;
}

/* Section Styles */
section {
  max-width: 100%;
  width: 100%;
  padding: 4rem 5%;
  animation: fadeInUp 0.6s ease-out;
  scroll-margin-top: 50px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Scroll-Triggered Reveal Animation System */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Instant reveal for scroll up or navigation jumps */
.scroll-reveal.instant-reveal {
  transition: opacity 0.2s ease-out, transform 0.2s ease-out !important;
  transition-delay: 0s !important;
}

/* Stagger delays for sequential reveal */
.scroll-reveal:nth-child(1) { transition-delay: 0s; }
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.25s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(7) { transition-delay: 0.35s; }
.scroll-reveal:nth-child(8) { transition-delay: 0.4s; }
.scroll-reveal:nth-child(9) { transition-delay: 0.45s; }
.scroll-reveal:nth-child(10) { transition-delay: 0.5s; }
.scroll-reveal:nth-child(n+11) { transition-delay: 0.5s; }

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.section-title {
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
  text-align: center;
  margin-bottom: 2.8rem;
  position: relative;
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  letter-spacing: -0.02em;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  color: var(--secondary);
  margin-right: 0.2em;
  animation: scaleIn 0.5s ease-out 0.2s both;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

/* About Section */
#about {
  background: var(--surface);
  border-radius: 8px;
  padding: 3.2rem 2.4rem;
  margin-top: 1.6rem;
  box-shadow: 0 1.6px 8px var(--shadow);
}

#aboutText {
  font-size: 1.25rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Introduction Section */
#introduction {
  display: none; /* Hidden as it's merged into hero */
}

.intro-paragraphs p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.intro-paragraphs p:last-child {
  margin-bottom: 0;
}

/* Expertise Areas Section */
#expertiseList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  margin-top: 1.2rem;
}

.expertise-card {
  background: var(--surface);
  padding: 0.5rem;
  border-radius: 5px;
  box-shadow: 0 1.6px 6.4px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-align: center;
  min-height: 75px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.expertise-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px var(--shadow-hover);
}

.expertise-icon {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
  color: white;
  font-size: 0.95rem;
}

.expertise-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.25;
}

.expertise-description {
  display: none;
}

/* Experience Cards */
.experience-card {
  background: var(--surface);
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 8px;
  box-shadow: 0 1.6px 8px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-2px) scale(1.005);
  box-shadow: 0 4px 12px var(--shadow-hover);
}

.exp-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  gap: 1rem;
}

.exp-logo-role {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.exp-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.1em;
  flex-shrink: 0;
}

.exp-logo-img {
  width: 3.5em;
  height: 3.5em;
  object-fit: contain;
  border-radius: 0.3em;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  margin-right: 0.3em;
}

.exp-toggle {
  background: none;
  border: none;
  padding: 0.2em 0.5em;
  cursor: pointer;
  font-size: 1.2em;
  color: var(--secondary);
  vertical-align: middle;
  transition: color 0.2s;
}
.exp-toggle:focus {
  outline: 2px solid var(--secondary);
}
.chevron {
  display: inline-block;
  transition: transform 0.2s;
}

.exp-role {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.exp-org {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.exp-supervisor {
  font-size: 0.81rem;
  color: var(--secondary);
  font-style: normal;
  font-weight: 600;
}

.exp-meta {
  text-align: right;
  flex-shrink: 0;
}

.exp-period {
  display: block;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.15rem;
  font-size: 0.92rem;
}

.exp-location {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.exp-highlights {
  list-style: none;
  padding-left: 0;
}

.exp-highlights li {
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
}

.exp-highlights li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

/* Education Card */
.education-card {
  background: var(--surface);
  padding: 0.75rem;
  border-radius: 8px;
  box-shadow: 0 1.6px 8px var(--shadow);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-hover);
}

.edu-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  background: white;
  padding: 0.3rem;
}

.edu-content {
  flex: 1;
  min-width: 0;
}

.edu-degree {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.edu-institution {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0;
}

.edu-duration {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0;
  white-space: nowrap;
  text-align: right;
}

.edu-description {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Skills Section */
#skillsList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem 1.2rem;
}

.skill-category {
  background: rgba(255, 255, 255, 0.5);
  padding: 0.8rem 1rem;
  margin-bottom: 0;
  border-radius: 8px;
  box-shadow: 0 1px 4px var(--shadow);
}

.skill-category-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 700;
}

.skill-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem 1.6rem;
}

.skill-list.compact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.skill-item {
  margin-bottom: 0;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.skill-label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.skill-label.compact {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border: 1.5px solid;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.skill-label.compact:nth-child(10n+1) {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.1), rgba(6, 78, 59, 0.05));
  border-color: #064e3b;
  color: #064e3b;
}
.skill-label.compact:nth-child(10n+1):hover {
  background: linear-gradient(135deg, #064e3b, #065f46);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(6, 78, 59, 0.3);
}

.skill-label.compact:nth-child(10n+2) {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(5, 150, 105, 0.05));
  border-color: #059669;
  color: #059669;
}
.skill-label.compact:nth-child(10n+2):hover {
  background: linear-gradient(135deg, #059669, #10b981);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.3);
}

.skill-label.compact:nth-child(10n+3) {
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.1), rgba(14, 116, 144, 0.05));
  border-color: #0e7490;
  color: #0e7490;
}
.skill-label.compact:nth-child(10n+3):hover {
  background: linear-gradient(135deg, #0e7490, #06b6d4);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(14, 116, 144, 0.3);
}

.skill-label.compact:nth-child(10n+4) {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(8, 145, 178, 0.05));
  border-color: #0891b2;
  color: #0891b2;
}
.skill-label.compact:nth-child(10n+4):hover {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(8, 145, 178, 0.3);
}

.skill-label.compact:nth-child(10n+5) {
  background: linear-gradient(135deg, rgba(11, 45, 91, 0.1), rgba(11, 45, 91, 0.05));
  border-color: #0B2D5B;
  color: #0B2D5B;
}
.skill-label.compact:nth-child(10n+5):hover {
  background: linear-gradient(135deg, #0B2D5B, #1a4d8f);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(11, 45, 91, 0.3);
}

.skill-label.compact:nth-child(10n+6) {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(30, 64, 175, 0.05));
  border-color: #1e40af;
  color: #1e40af;
}
.skill-label.compact:nth-child(10n+6):hover {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(30, 64, 175, 0.3);
}

.skill-label.compact:nth-child(10n+7) {
  background: linear-gradient(135deg, rgba(91, 33, 182, 0.1), rgba(91, 33, 182, 0.05));
  border-color: #5b21b6;
  color: #5b21b6;
}
.skill-label.compact:nth-child(10n+7):hover {
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(91, 33, 182, 0.3);
}

.skill-label.compact:nth-child(10n+8) {
  background: linear-gradient(135deg, rgba(190, 18, 60, 0.1), rgba(190, 18, 60, 0.05));
  border-color: #be123c;
  color: #be123c;
}
.skill-label.compact:nth-child(10n+8):hover {
  background: linear-gradient(135deg, #be123c, #e11d48);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(190, 18, 60, 0.3);
}

.skill-label.compact:nth-child(10n+9) {
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.1), rgba(194, 65, 12, 0.05));
  border-color: #c2410c;
  color: #c2410c;
}
.skill-label.compact:nth-child(10n+9):hover {
  background: linear-gradient(135deg, #c2410c, #ea580c);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(194, 65, 12, 0.3);
}

.skill-label.compact:nth-child(10n+10) {
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.1), rgba(3, 105, 161, 0.05));
  border-color: #0369a1;
  color: #0369a1;
}
.skill-label.compact:nth-child(10n+10):hover {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(3, 105, 161, 0.3);
}

.skill-percent {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.skill-bar {
  height: 5px;
  background: #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 8px;
  transition: width 0.3s ease;
}

/* Projects Grid */
#projectsList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem 2rem;
  grid-auto-rows: auto;
  align-items: start;
}

.project-card {
  background: linear-gradient(135deg, rgba(11, 45, 91, 0.03) 0%, rgba(183, 136, 46, 0.05) 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1.6px 8px var(--shadow), 0 0 0 1px rgba(183, 136, 46, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(183, 136, 46, 0.2);
  will-change: transform;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:nth-child(3n+1) {
  margin-top: 0;
}

.project-card:nth-child(3n+2) {
  margin-top: 2rem;
}

.project-card:nth-child(3n+3) {
  margin-top: 1rem;
}

.project-card:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 12px 30px rgba(183, 136, 46, 0.25), 0 6px 15px var(--shadow-hover), 0 0 0 2px rgba(183, 136, 46, 0.4);
  background: linear-gradient(135deg, rgba(11, 45, 91, 0.08) 0%, rgba(183, 136, 46, 0.12) 100%);
  border-color: rgba(183, 136, 46, 0.5);
  z-index: 10;
}

.project-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.project-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--secondary);
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 600;
}

.project-content {
  padding: 0.9rem;
}

.project-title {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.project-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Publications */
.publication-stats {
  text-align: center;
  font-size: 1rem;
  color: var(--secondary);
  margin-top: -1.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.publication-item {
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 1.05rem;
  display: flex;
  gap: 0.8rem;
}

.pub-bullet {
  color: var(--secondary);
  font-weight: bold;
  font-size: 1.2em;
  flex-shrink: 0;
}

.pub-content {
  flex: 1;
}

.pub-subsection-title {
  font-size: 1.1rem;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pub-title {
  font-weight: 600;
}

.pub-title a {
  color: var(--primary);
}

.pub-title a:hover {
  color: var(--secondary);
}

.pub-authors {
  color: var(--text-secondary);
  font-style: italic;
}

.pub-venue {
  font-weight: 600;
  color: var(--secondary);
}

.pub-year {
  color: var(--text-secondary);
}

.pub-status-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  color: #92400E;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.3rem;
  border: 1px solid #FCD34D;
}

/* Leadership Cards */
.leadership-card {
  background: var(--surface);
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 8px;
  box-shadow: 0 1.6px 8px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leadership-card:hover {
  transform: translateY(-2px) scale(1.005);
  box-shadow: 0 4px 12px var(--shadow-hover);
}

.leadership-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  gap: 1rem;
}

.leadership-logo-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.leadership-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.1em;
  flex-shrink: 0;
}

.leadership-logo-img {
  width: 3.5em;
  height: 3.5em;
  object-fit: contain;
  border-radius: 0.3em;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  margin-right: 0.3em;
}

.leadership-title {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.leadership-org {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.leadership-meta {
  text-align: right;
  flex-shrink: 0;
}

.leadership-period {
  display: block;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.15rem;
  font-size: 0.92rem;
}

.leadership-location {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.leadership-toggle {
  background: none;
  border: none;
  padding: 0.2em 0.5em;
  cursor: pointer;
  font-size: 1.2em;
  color: var(--secondary);
  vertical-align: middle;
  transition: color 0.2s;
}

.leadership-toggle:focus {
  outline: 2px solid var(--secondary);
}

.leadership-details {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid #E2E8F0;
}

.leadership-highlights {
  list-style: none;
  padding-left: 0;
}

.leadership-highlights li {
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  position: relative;
}

.leadership-highlights li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

/* Awards Gallery */
#awardsList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.award-card {
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1.6px 8px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  will-change: transform;
}

.award-card:hover {
  transform: translateY(-3px) scale(1.015) !important;
  box-shadow: 0 6px 15px rgba(11, 45, 91, 0.15), 0 3px 8px var(--shadow-hover);
  border: 2px solid rgba(183, 136, 46, 0.25);
  z-index: 10;
}

.award-image {
  height: 144px;
  overflow: hidden;
}

.award-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.award-content {
  padding: 0.8rem;
}

.award-title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--primary);
}

.award-issuer {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

.award-date {
  font-size: 0.92rem;
  color: var(--secondary);
  font-weight: 600;
}

/* Contact Section */
#contact {
  background: transparent;
  padding: 0;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  background: var(--surface);
  border-radius: 10px;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 280px;
  flex-shrink: 0;
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.contact-btn:nth-child(1) { animation-delay: 0.1s; }
.contact-btn:nth-child(2) { animation-delay: 0.15s; }
.contact-btn:nth-child(3) { animation-delay: 0.2s; }
.contact-btn:nth-child(4) { animation-delay: 0.25s; }
.contact-btn:nth-child(5) { animation-delay: 0.3s; }

.contact-btn:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(11, 45, 91, 0.2);
  transform: translateY(-4px) scale(1.02);
}

.contact-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #1a4d8f 100%);
  color: white;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-btn-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.contact-btn-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-btn-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  overflow-wrap: anywhere;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-btn {
    padding: 0.7rem 0.9rem;
  }

  .contact-btn-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.6rem;
  overflow-y: auto;
}

.modal-content {
  background: var(--surface);
  border-radius: 12px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.6rem;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Image Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 3001;
}

.lightbox-close:hover {
  color: var(--secondary);
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-single-image {
  width: 100%;
  max-height: 224px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 1.6rem;
}

/* Modal Carousel */
.modal-carousel {
  position: relative;
  width: 100%;
  height: 240px;
  margin-bottom: 1.6rem;
  border-radius: 8px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.modal-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f0f0f0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-indicator {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 16px;
  font-size: 0.9rem;
  white-space: nowrap;
  z-index: 10;
}

.carousel-play-btn {
  background: rgba(183, 136, 46, 0.8);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.carousel-play-btn:hover {
  background: rgba(183, 136, 46, 1);
  transform: scale(1.1);
}

.carousel-play-btn i {
  margin-left: 2px;
}

.carousel-play-btn .fa-pause {
  margin-left: 0;
}

.modal-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.modal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: var(--primary);
  color: white;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.modal-link:hover {
  background: var(--secondary);
}

/* Award Modal */
#awardModalImage {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 1.6rem;
}

.award-tag {
  display: inline-block;
  background: var(--secondary);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 16px;
  font-size: 0.85rem;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

/* Expertise Modal */
.expertise-modal-content {
  max-width: 480px;
  text-align: center;
}

.expertise-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: white;
  font-size: 2rem;
}

.expertise-modal-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-top: 0.8rem;
}

/* Tablet breakpoint (768px - 1100px) */
@media (min-width: 768px) and (max-width: 1100px) {
  .exp-role {
    font-size: 1rem;
  }

  .exp-org {
    font-size: 0.84rem;
  }

  .exp-supervisor {
    font-size: 0.78rem;
  }

  .exp-period {
    font-size: 0.75rem;
  }

  .exp-location {
    font-size: 0.75rem;
  }

  .exp-logo-img {
    width: 2.8em;
    height: 2.8em;
  }
}

/* Tablet breakpoint (768px - 1100px) */
@media (min-width: 768px) and (max-width: 1100px) {
  .section-title {
    font-size: clamp(1.5rem, 3.8vw, 2rem);
  }

  .section-icon {
    font-size: 1.2em;
  }

  .pub-title {
    font-size: 0.95rem;
  }

  .pub-authors,
  .pub-venue,
  .pub-year {
    font-size: 0.88rem;
  }

  .skill-category-title {
    font-size: 1.1rem;
  }

  .skill-label.compact {
    font-size: 0.88rem;
    padding: 0.45rem 0.85rem;
  }

  .education-card h3 {
    font-size: 1.15rem;
  }

  .education-card p {
    font-size: 0.9rem;
  }

  .leadership-card h3 {
    font-size: 1.1rem;
  }

  .leadership-card p {
    font-size: 0.88rem;
  }

  .project-card h3 {
    font-size: 1.15rem;
  }

  .project-card p {
    font-size: 0.9rem;
  }

  .award-title {
    font-size: 0.95rem;
  }

  .award-issuer,
  .award-date {
    font-size: 0.85rem;
  }

  #expertiseList {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem 0.35rem;
  }

  .expertise-card {
    min-height: 90px;
    padding: 0.5rem;
  }

  .expertise-icon {
    font-size: 1rem;
  }

  .expertise-title {
    font-size: 0.75rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    padding: 0.55rem 1rem;
  }

  .nav-brand {
    font-size: 1.15rem;
  }

  .nav-links {
    position: fixed;
    top: 3.5rem;
    right: -280px;
    width: 280px;
    background: linear-gradient(180deg, rgba(11, 45, 91, 0.98) 0%, rgba(26, 77, 143, 0.98) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    padding: 0.8rem 0;
    box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 0 12px;
    transition: right 0.3s ease;
    z-index: 1001;
    gap: 0;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a {
    display: block;
    padding: 1rem 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.2s ease;
  }

  .nav-links a:hover {
    color: var(--secondary);
    padding-left: 1rem;
  }

  .nav-links.active {
    right: 0;
  }

  /* Keep the same hero layout as desktop on mobile */
  .hero-about-combined {
    padding: 4rem 2rem 2rem;
    min-height: 50vh;
    justify-content: flex-start;
  }

  /* If the 2× socials are too wide, allow wrapping (layout stays the same) */
  .hero-socials {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  /* Hero sizing tweaks for mobile (same layout, smaller elements) */
  .hero-content {
    gap: 1.6rem;
    margin: 0 auto 2.4rem;
  }

  .hero-text h1 {
    font-size: clamp(0.95rem, 4.4vw, 1.25rem);
  }

  .hero-text h2 {
    font-size: clamp(0.7rem, 3vw, 0.82rem);
    margin-bottom: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-text p {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
  }

  .hero-socials .social-link {
    width: clamp(32px, 9vw, 44px);
    height: clamp(32px, 9vw, 44px);
    font-size: clamp(0.95rem, 4.2vw, 1.2rem);
  }

  .cta-btn {
    padding: 0.44rem 0.95rem;
    border-radius: 32px;
    font-size: 0.82rem;
  }

  .intro-content-merged {
    padding: 2rem;
    max-width: 100%;
  }


  .intro-toggle-btn {
    display: inline;
  }

  /* Fold about/introduction on mobile by default */
  .intro-content-merged.is-collapsed #introContent p:nth-child(n+2) {
    display: none;
  }

  .intro-content-merged .intro-title {
    font-size: clamp(0.88rem, 2.8vw, 1.02rem);
  }

  .intro-content-merged .intro-paragraphs p {
    font-size: 0.72rem;
  }

  #expertiseList {
    grid-template-columns: 1fr 1fr;
  }

  .expertise-card {
    min-height: 75px;
    padding: 0.4rem;
  }

  .expertise-icon {
    font-size: 0.85rem;
  }

  .expertise-title {
    font-size: 0.65rem;
  }

  .section-title {
    font-size: clamp(1.15rem, 4.5vw, 1.4rem);
  }

  .section-icon {
    font-size: 1em;
  }

  section {
    padding: 2rem 4%;
  }

  .exp-header {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .exp-meta {
    text-align: right;
  }

  .exp-role {
    font-size: 0.875rem;
  }

  .exp-org {
    font-size: 0.75rem;
  }

  .exp-supervisor {
    font-size: 0.69rem;
  }

  .exp-period {
    font-size: 0.69rem;
  }

  .exp-location {
    font-size: 0.69rem;
  }

  .exp-logo-img {
    width: 2.2em;
    height: 2.2em;
  }

  .pub-title {
    font-size: 0.75rem;
  }

  .pub-authors,
  .pub-venue,
  .pub-year {
    font-size: 0.7rem;
  }

  .skill-category-title {
    font-size: 0.95rem;
  }

  .skill-label.compact {
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem;
  }

  .education-card h3 {
    font-size: 0.95rem;
  }

  .education-card p {
    font-size: 0.78rem;
  }

  .leadership-card h3 {
    font-size: 0.9rem;
  }

  .leadership-card p {
    font-size: 0.75rem;
  }

  .project-card h3 {
    font-size: 0.95rem;
  }

  .project-card p {
    font-size: 0.78rem;
  }

  #projectsList {
    grid-template-columns: repeat(2, 1fr);
  }

  #awardsList {
    grid-template-columns: repeat(2, 1fr);
  }

  .award-title {
    font-size: 0.8rem;
  }

  .award-issuer,
  .award-date {
    font-size: 0.72rem;
  }

  #contactEmail,
  #contactPhone,
  #contactLocation {
    font-size: 0.8rem;
  }

  .modal-content {
    padding: 1.5rem;
  }

  .modal-carousel {
    height: 220px;
  }
}

@media (max-width: 480px) {

  .cta-btn {
    padding: 0.4rem 0.85rem;
    border-radius: 28px;
    font-size: 0.78rem;
  }

  .project-image {
    height: 100px;
  }

  .project-content {
    padding: 0.5rem;
  }

  .project-title {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
  }

  .project-subtitle {
    font-size: 0.7rem;
  }

  .project-badge {
    font-size: 0.65rem;
    padding: 0.1rem 0.35rem;
    top: 4px;
    right: 4px;
  }

  .contact-btn {
    padding: 0.7rem 0.8rem;
    width: 100%;
    gap: 0.7rem;
  }

  .contact-btn-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .contact-btn-label {
    font-size: 0.7rem;
  }

  .contact-btn-value {
    font-size: 0.8rem;
  }

  #awardsList {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .award-card {
    font-size: 0.85rem;
  }

  .award-image {
    height: 120px;
  }

  .award-content {
    padding: 0.5rem;
  }

  .award-title {
    font-size: 0.85rem;
  }

  .award-issuer,
  .award-date {
    font-size: 0.75rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary) 0%, #1a4d8f 100%);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 2rem 1.5rem;
  margin-top: 3rem;
}

.footer p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

.footer-tagline {
  font-size: 0.85rem;
  opacity: 0.8;
  font-style: italic;
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, #1a4d8f 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(11, 45, 91, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(11, 45, 91, 0.4);
}

.scroll-top-btn.visible {
  display: flex;
}

@media (max-width: 768px) {
  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}
