/* === CUSTOM PROPERTIES === */
:root {
  --navy:        #1B3A6B;
  --navy-dark:   #0F2340;
  --navy-light:  #2A5298;
  --teal:        #0891B2;
  --teal-dark:   #0C6A87;
  --teal-light:  #0EA5C9;
  --cyan:        #22D3EE;
  --cyan-light:  #67E8F9;
  --green:       #22C55E;
  --green-dark:  #16A34A;
  --amber:       #F59E0B;
  --red:         #EF4444;
  --bg:          #F0FDFA;
  --bg-alt:      #F8FAFC;
  --border:      #E0F2FE;
  --border-dark: #BAE6FD;
  --text:        #0F2340;
  --text-muted:  #4A6080;
  --text-light:  #7A95B0;
  --white:       #FFFFFF;
  --shadow-xs:   0 1px 2px rgba(15,35,64,.06);
  --shadow-sm:   0 2px 8px rgba(15,35,64,.08);
  --shadow:      0 4px 20px rgba(15,35,64,.12);
  --shadow-lg:   0 12px 48px rgba(15,35,64,.18);
  --shadow-xl:   0 24px 64px rgba(15,35,64,.22);
  --radius-xs:   6px;
  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --ease:        cubic-bezier(.4,0,.2,1);
  --transition:  .25s cubic-bezier(.4,0,.2,1);
  --transition-slow: .45s cubic-bezier(.4,0,.2,1);
  --max-width:   1200px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body { font-family: 'Noto Sans', sans-serif; color: var(--text); background: var(--white); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 { font-family: 'Figtree', sans-serif; font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { line-height: 1.75; color: var(--text-muted); }
strong { font-weight: 600; color: var(--text); }

/* === LAYOUT === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px)  { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* === SECTION HEADER === */
.section-tag {
  display: inline-block;
  padding: .3rem 1rem;
  background: var(--bg);
  color: var(--teal);
  font-family: 'Figtree', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid var(--border-dark);
  margin-bottom: .875rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 4px 16px rgba(8,145,178,.3); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(8,145,178,.4); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 4px 16px rgba(15,35,64,.25); }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); }
.btn-cta { background: var(--green); color: #fff; box-shadow: 0 4px 16px rgba(34,197,94,.3); }
.btn-cta:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34,197,94,.4); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--border-dark); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--bg); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem 1.1rem; font-size: .82rem; }

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: .75rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-width: 0; width: 100%; }
.nav-logo { display: flex; align-items: center; gap: .75rem; min-width: 0; flex-shrink: 1; }
.nav-logo img { height: 120px; width: auto; transition: height var(--transition); }
.nav.scrolled .nav-logo img { height: 56px; }
.nav-logo-text { font-family: 'Figtree', sans-serif; display: flex; flex-direction: column; gap: .1rem; }
.nav-logo-name { font-weight: 800; font-size: 1rem; color: #fff; transition: color var(--transition); line-height: 1.1; }
.nav-logo-sub  { font-size: .68rem; font-weight: 600; color: var(--cyan); text-transform: uppercase; letter-spacing: .1em; transition: color var(--transition); line-height: 1; }
.nav.scrolled .nav-logo-name { color: var(--navy); }
.nav.scrolled .nav-logo-sub  { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: .125rem; }
.nav-links a {
  padding: .5rem .875rem;
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  font-size: .875rem;
  color: rgba(255,255,255,.9);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,.15); color: #fff; }
.nav.scrolled .nav-links a { color: var(--text-muted); }
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active { background: var(--bg); color: var(--teal); }
.nav-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.nav-admin-link {
  font-family: 'Figtree', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
  padding: .4rem .75rem;
}
.nav-admin-link:hover { color: var(--cyan); }
.nav.scrolled .nav-admin-link { color: var(--text-light); }
.nav.scrolled .nav-admin-link:hover { color: var(--teal); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.nav.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: rgba(255,255,255,.85) !important; font-size: 1.2rem; padding: .875rem 2rem; }
  .nav-links a:hover { background: rgba(255,255,255,.08) !important; color: var(--cyan) !important; }
  .nav-toggle { display: flex; }
  .nav-admin-link { display: none; }
  .nav-actions .btn { display: none; }
  .nav-logo img { height: 56px; }
  .nav.scrolled .nav-logo img { height: 44px; }
  .nav-logo-name { font-size: .85rem; }
  .nav-logo-sub { font-size: .6rem; }
}
@media (max-width: 480px) {
  .nav-logo img { height: 44px; }
  .nav-logo-name { font-size: .8rem; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0F2340 0%, #1B3A6B 40%, #0C6A87 70%, #0891B2 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  animation: orb-pulse 7s ease-in-out infinite;
}
.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(34,211,238,.18) 0%, transparent 65%);
  top: -200px; right: -150px;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(8,145,178,.15) 0%, transparent 65%);
  bottom: -100px; left: 5%;
  animation-delay: -3.5s;
}
@keyframes orb-pulse {
  0%,100% { transform: scale(1); opacity: .8; }
  50%      { transform: scale(1.15); opacity: 1; }
}

.hero-content { position: relative; z-index: 2; width: 100%; padding: 11rem 1.5rem 5rem; max-width: var(--max-width); margin: 0 auto; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem 1rem;
  background: rgba(34,211,238,.12);
  border: 1px solid rgba(34,211,238,.3);
  border-radius: 100px;
  color: var(--cyan);
  font-family: 'Figtree', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: live-blink 2s ease-in-out infinite;
}
@keyframes live-blink {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,211,238,.5); }
  50% { opacity: .4; box-shadow: 0 0 0 4px rgba(34,211,238,0); }
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-desc {
  color: rgba(255,255,255,.78);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-stat-num {
  font-family: 'Figtree', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat-num sup { font-size: 1rem; color: var(--cyan); }
.hero-stat-label { font-size: .78rem; color: rgba(255,255,255,.55); margin-top: .2rem; }

/* Floating card */
.hero-card {
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  animation: float-card 6s ease-in-out infinite;
}
@keyframes float-card {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.hero-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.hero-card-title { font-family: 'Figtree', sans-serif; font-weight: 700; color: #fff; font-size: .95rem; }
.hero-card-pill {
  padding: .25rem .75rem;
  background: rgba(34,197,94,.2);
  border: 1px solid rgba(34,197,94,.4);
  border-radius: 100px;
  color: #4ade80;
  font-family: 'Figtree', sans-serif;
  font-size: .7rem;
  font-weight: 700;
}
.hero-events { display: flex; flex-direction: column; gap: .75rem; }
.hero-event {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 1rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}
.hero-event:hover { background: rgba(255,255,255,.14); border-color: rgba(34,211,238,.35); }
.hero-ev-date { text-align: center; min-width: 40px; }
.hero-ev-month { font-size: .6rem; font-weight: 800; color: var(--cyan); text-transform: uppercase; letter-spacing: .06em; }
.hero-ev-day { font-family: 'Figtree', sans-serif; font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-ev-sep { width: 1px; height: 32px; background: rgba(255,255,255,.15); }
.hero-ev-body { flex: 1; min-width: 0; }
.hero-ev-name {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: .8rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-ev-loc { font-size: .7rem; color: rgba(255,255,255,.5); margin-top: .15rem; }
.hero-ev-price {
  font-family: 'Figtree', sans-serif;
  font-weight: 800;
  color: var(--cyan);
  font-size: .88rem;
  white-space: nowrap;
}
.hero-card-footer { margin-top: 1.25rem; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .375rem;
  color: rgba(255,255,255,.4);
  font-family: 'Figtree', sans-serif;
  font-size: .72rem;
  animation: scroll-hint 2.5s ease-in-out infinite;
  cursor: pointer;
  z-index: 3;
}
.hero-scroll svg { width: 18px; height: 18px; }
@keyframes scroll-hint {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: .6; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; } .hero-card { display: none; } }
@media (max-width: 640px)  { .hero-stats { gap: 1.5rem; } .hero-stat-num { font-size: 1.5rem; } }

/* === STATS BAR === */
.stats-bar { background: var(--navy-dark); padding: 2.5rem 0; }
.stats-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 1.25rem 1rem; position: relative; }
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.1);
}
.stat-num {
  font-family: 'Figtree', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-num span { color: var(--cyan); }
.stat-label { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: .4rem; line-height: 1.4; }
@media (max-width: 768px) { .stats-bar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .stats-bar-grid { grid-template-columns: 1fr; } }

/* === ABOUT === */
.about-visual { position: relative; }
.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 60%, var(--cyan) 100%);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-img-placeholder { color: rgba(255,255,255,.15); }
.about-img-placeholder svg { width: 100px; height: 100px; }
.about-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 200px;
}
.about-badge-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.about-badge-icon svg { width: 22px; height: 22px; }
.about-badge-num {
  font-family: 'Figtree', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.about-badge-lbl { font-size: .72rem; color: var(--text-muted); }
.about-text > * + * { margin-top: 1rem; }
.about-text h2 { margin-top: 0; }
.about-checklist { display: flex; flex-direction: column; gap: .75rem; margin: 1.5rem 0; }
.about-check { display: flex; align-items: flex-start; gap: .75rem; }
.about-check-icon { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.about-check-icon svg { width: 18px; height: 18px; }
.about-check-text { font-size: .9rem; line-height: 1.55; }
@media (max-width: 768px) { .about-badge { right: 0; bottom: -1rem; } }

/* === COURSES === */
.courses-section { background: var(--bg-alt); }
.course-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.course-card-thumb {
  height: 170px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-card-thumb-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  transition: transform var(--transition-slow);
}
.course-card:hover .course-card-thumb-bg { transform: scale(1.05); }
.course-card-thumb-icon { position: relative; z-index: 1; color: rgba(255,255,255,.18); }
.course-card-thumb-icon svg { width: 64px; height: 64px; }
.course-pill {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
  padding: .28rem .75rem;
  border-radius: 100px;
  font-family: 'Figtree', sans-serif;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.pill-espnic { background: rgba(34,211,238,.2); border: 1px solid rgba(34,211,238,.4); color: var(--cyan); }
.pill-niv    { background: rgba(34,197,94,.2);  border: 1px solid rgba(34,197,94,.4);  color: #4ade80; }
.pill-nurses { background: rgba(245,158,11,.2); border: 1px solid rgba(245,158,11,.4); color: #fbbf24; }
.course-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.course-meta { display: flex; gap: 1rem; margin-bottom: .75rem; flex-wrap: wrap; }
.course-meta-item { display: flex; align-items: center; gap: .35rem; font-size: .75rem; color: var(--text-light); }
.course-meta-item svg { width: 13px; height: 13px; flex-shrink: 0; }
.course-card-body h3 { font-size: 1rem; margin-bottom: .625rem; line-height: 1.4; }
.course-card-body p { font-size: .85rem; line-height: 1.65; flex: 1; }
.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
}
.course-price { font-family: 'Figtree', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.course-price span { font-size: .72rem; font-weight: 500; color: var(--text-light); }

/* === EVENTS SECTION === */
.events-list { display: flex; flex-direction: column; gap: 1.25rem; }
.event-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.event-card:hover { box-shadow: var(--shadow); border-color: var(--border-dark); transform: translateX(4px); }
.event-date-box {
  min-width: 70px;
  text-align: center;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: .75rem .5rem;
  flex-shrink: 0;
}
.ev-month { font-family: 'Figtree', sans-serif; font-size: .62rem; font-weight: 800; text-transform: uppercase; color: var(--cyan); letter-spacing: .08em; }
.ev-day   { font-family: 'Figtree', sans-serif; font-size: 2rem; font-weight: 800; line-height: 1; }
.ev-year  { font-size: .65rem; color: rgba(255,255,255,.45); margin-top: .1rem; }
.event-info { flex: 1; min-width: 0; }
.ev-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .625rem; }
.ev-tag {
  padding: .2rem .625rem;
  background: var(--bg);
  color: var(--teal);
  font-family: 'Figtree', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  border-radius: 100px;
  border: 1px solid var(--border-dark);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.event-info h3 { font-size: 1.02rem; margin-bottom: .5rem; line-height: 1.4; }
.ev-details { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: .375rem; }
.ev-detail { display: flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--text-muted); }
.ev-detail svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--teal); }
.event-aside { display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; justify-content: center; flex-shrink: 0; }
.ev-price-from { font-size: .7rem; color: var(--text-light); text-align: right; }
.ev-price-val  { font-family: 'Figtree', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--navy); line-height: 1; }
.ev-status {
  padding: .25rem .75rem;
  border-radius: 100px;
  font-family: 'Figtree', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.ev-status-open    { background: rgba(34,197,94,.1);  border: 1px solid rgba(34,197,94,.3);  color: #16a34a; }
.ev-status-limited { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.3); color: #d97706; }
.ev-status-full    { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.3);  color: #dc2626; }
.ev-status-past    { background: rgba(148,163,184,.12); border: 1px solid rgba(148,163,184,.3); color: #64748b; }

@media (max-width: 640px) {
  .event-card { flex-direction: column; }
  .event-aside { flex-direction: row; width: 100%; justify-content: space-between; align-items: center; }
}

/* === FACULTY === */
.faculty-section { background: var(--bg-alt); }
.faculty-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.625rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.faculty-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.faculty-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 3px solid var(--border-dark);
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.faculty-avatar svg   { width: 36px; height: 36px; color: rgba(255,255,255,.5); }
.faculty-avatar img   { width: 100%; height: 100%; object-fit: cover; }
.faculty-initials {
  font-family: 'Figtree', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: rgba(255,255,255,.8);
}
.faculty-card h4 { font-size: .92rem; margin-bottom: .2rem; }
.faculty-role {
  font-family: 'Figtree', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: .3rem;
}
.faculty-hospital { font-size: .76rem; color: var(--text-light); line-height: 1.45; }
.faculty-country {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .625rem;
  font-size: .7rem;
  color: var(--text-muted);
  padding: .2rem .625rem;
  background: var(--bg);
  border-radius: 100px;
  border: 1px solid var(--border);
}
.faculty-country svg { width: 12px; height: 12px; }

/* === SPONSORS === */
.sponsors-bar { padding: 2.5rem 0; border-top: 1px solid var(--border); }
.sponsors-label {
  text-align: center;
  font-family: 'Figtree', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-light);
  margin-bottom: 1.75rem;
}
.sponsors-row { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.sponsor {
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -.01em;
  opacity: .5;
  transition: opacity var(--transition), color var(--transition);
  cursor: default;
}
.sponsor:hover { opacity: 1; color: var(--navy); }

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--teal-dark) 100%);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.12) 0%, transparent 65%);
  top: -250px; right: -100px;
}
.cta-banner::after {
  content: '';
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,145,178,.18) 0%, transparent 65%);
  bottom: -150px; left: -50px;
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.72); font-size: 1.05rem; max-width: 540px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === PAGE HERO === */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--teal-dark) 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .875rem; }
.page-hero p  { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Figtree', sans-serif;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.25rem;
}
.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb svg { width: 13px; height: 13px; }

/* === FORMS === */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: .875rem;
  color: var(--navy);
  margin-bottom: .4rem;
}
.form-label .req { color: #dc2626; margin-left: 2px; }
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-family: 'Noto Sans', sans-serif;
  font-size: .9rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8,145,178,.12);
}
.form-control::placeholder { color: var(--text-light); }
select.form-control { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A6080' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .875rem center; padding-right: 2.5rem; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: .78rem; color: var(--text-light); margin-top: .3rem; }
.form-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-section-title {
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.form-section-title svg { width: 18px; height: 18px; color: var(--teal); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } .form-box { padding: 1.5rem; } }

/* === CONTACT PAGE === */
.contact-grid { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #fff;
}
.contact-info-card h3 { color: #fff; margin-bottom: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan);
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-label { font-size: .75rem; color: rgba(255,255,255,.5); margin-bottom: .15rem; font-family: 'Figtree', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact-info-value { font-size: .9rem; color: #fff; line-height: 1.5; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* === FOOTER === */
.footer { background: var(--navy-dark); color: #fff; padding: 4.5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-logo img { height: 46px; }
.footer-brand-name { font-family: 'Figtree', sans-serif; font-weight: 800; font-size: 1rem; color: #fff; line-height: 1; }
.footer-brand-sub  { font-size: .68rem; font-weight: 600; color: var(--cyan); text-transform: uppercase; letter-spacing: .1em; }
.footer-desc { font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.75; max-width: 300px; }
.footer-social { display: flex; gap: .625rem; margin-top: 1.5rem; }
.footer-social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}
.footer-social-btn:hover { background: var(--teal); color: #fff; }
.footer-social-btn svg { width: 16px; height: 16px; }
.footer-col h5 {
  font-family: 'Figtree', sans-serif;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-links a:hover { color: var(--cyan); }
.footer-contact-items { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-item { display: flex; gap: .625rem; font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.55; }
.footer-contact-item svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--teal); }
/* === FOOTER PARTNER LOGOS === */
.footer-partners {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 2rem 0;
  margin-bottom: 2rem;
}
.footer-partners-label {
  font-family: 'Figtree', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.3);
  text-align: center;
  margin-bottom: 1.5rem;
}
.footer-partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: .75rem 1.25rem;
  min-width: 80px;
  min-height: 56px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.footer-partner-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.footer-partner-logo img {
  height: 48px;
  width: auto;
  max-width: 150px;
  display: block;
  object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.footer-legal a { font-size: .8rem; color: rgba(255,255,255,.35); transition: color var(--transition); white-space: nowrap; }
.footer-legal a:hover { color: var(--cyan); }
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 600px)  {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; gap: .5rem 1.25rem; }
}

/* === ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left  { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal-left.visible, .reveal-right.visible { transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }
[data-delay="6"] { transition-delay: .6s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* === UTILITIES === */
.bg-alt  { background: var(--bg-alt); }
.bg-bg   { background: var(--bg); }
.text-center { text-align: center; }
.mt-sm  { margin-top: 1.5rem; }
.mt-md  { margin-top: 2.5rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap  { flex-wrap: wrap; }
.gap-sm { gap: .75rem; }
.gap-md { gap: 1.25rem; }
.divider { height: 1px; background: var(--border); margin: 2rem 0; }
.badge {
  display: inline-block;
  padding: .3rem .875rem;
  border-radius: 100px;
  font-family: 'Figtree', sans-serif;
  font-size: .75rem;
  font-weight: 700;
}
.badge-teal { background: rgba(8,145,178,.1); color: var(--teal); border: 1px solid rgba(8,145,178,.25); }
.badge-green { background: rgba(34,197,94,.1); color: #16a34a; border: 1px solid rgba(34,197,94,.25); }
.badge-amber { background: rgba(245,158,11,.1); color: #d97706; border: 1px solid rgba(245,158,11,.25); }
.info-box {
  background: var(--bg);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  font-size: .875rem;
  line-height: 1.6;
}
.info-box strong { color: var(--navy); }

/* === ACCORDION (course objectives) === */
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: .75rem; }
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #fff;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--transition);
  gap: 1rem;
}
.accordion-btn:hover { background: var(--bg); }
.accordion-btn svg { width: 18px; height: 18px; transition: transform var(--transition); flex-shrink: 0; color: var(--teal); }
.accordion-item.open .accordion-btn { background: var(--bg); }
.accordion-item.open .accordion-btn svg { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.accordion-body-inner { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--border); }
.accordion-body-inner ul { display: flex; flex-direction: column; gap: .5rem; }
.accordion-body-inner li { display: flex; gap: .625rem; font-size: .875rem; color: var(--text-muted); line-height: 1.55; }
.accordion-body-inner li::before { content: '›'; color: var(--teal); font-weight: 700; flex-shrink: 0; }

/* === ALERT / TOAST === */
.alert {
  padding: .875rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
}
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.25); color: #15803d; }
.alert-info    { background: rgba(8,145,178,.08); border: 1px solid rgba(8,145,178,.25); color: var(--teal-dark); }

/* === LOADING SKELETON (for JS fallback) === */
.skeleton { background: linear-gradient(90deg, var(--bg) 25%, var(--border) 50%, var(--bg) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* =========================================================
   MOBILE OVERRIDES (≤ 768px)
   ========================================================= */
@media (max-width: 768px) {

  /* Hero: wrap to content height, no giant empty gap */
  .hero { min-height: auto; }
  .hero-content { padding: 5.5rem 1.5rem 3.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero-desc { font-size: 1rem; }
  .hero-actions { gap: .75rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-scroll { display: none; }

  /* Stats bar: tighter on mobile */
  .stats-bar { padding: 2rem 0; }
  .stat-num { font-size: 1.8rem; }

  /* About: reduce image height */
  .about-img-wrap { aspect-ratio: 16/9; }
  .about-badge { right: 0; bottom: -1.25rem; min-width: 170px; padding: .75rem 1rem; }
  .about-visual { margin-bottom: 1.5rem; }

  /* Sections: tighter padding on mobile */
  .section { padding: 3.5rem 0; }
  .section-sm { padding: 2rem 0; }
  .section-header { margin-bottom: 2rem; }
  .cta-banner { padding: 3.5rem 0; }

  /* Stats grid: 2-col on very small screens */
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item:nth-child(3)::before { display: none; }

  /* Event cards: tighter */
  .event-card { padding: 1.25rem; gap: 1rem; }

  /* Faculty: 2-col grid already set, reduce card padding */
  .faculty-card { padding: 1.25rem 1rem; }
  .faculty-avatar { width: 64px; height: 64px; }
  .faculty-initials { font-size: 1rem; }

  /* Footer: single column */
  .footer { padding: 3rem 0 1.5rem; }
  .footer-top { gap: 1.5rem; }

  /* Buttons: full width on very small screens */
  .hero-actions .btn { flex: 1; justify-content: center; min-width: 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .hero-stats { gap: 1.25rem; }
  .hero-stat-num { font-size: 1.3rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 1.6rem; }
  .event-card { flex-direction: column; }
  .event-aside { flex-direction: row; width: 100%; justify-content: space-between; align-items: center; }
}

/* === DARK SECTION (hero-style background for content sections) === */
.section-dark {
  position: relative;
  background: linear-gradient(135deg, #0F2340 0%, #1B3A6B 45%, #0C6A87 75%, #0891B2 100%);
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark .section-tag {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  color: var(--cyan);
}
.section-dark h2 { color: #fff; }
.section-dark .section-header p { color: rgba(255,255,255,.7); }
.section-dark .event-card {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
  color: #fff;
}
.section-dark .event-card:hover { background: rgba(255,255,255,.12); }
.section-dark .event-date-box { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); }
.section-dark .ev-month { color: var(--cyan); }
.section-dark .ev-day { color: #fff; }
.section-dark .ev-year { color: rgba(255,255,255,.5); }
.section-dark h3 { color: #fff; }
.section-dark .ev-detail { color: rgba(255,255,255,.65); }
.section-dark .ev-detail svg { color: var(--cyan); }
.section-dark .btn-secondary {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}
.section-dark .btn-secondary:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.4);
}

/* === SCROLL TO TOP === */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(8,145,178,.4);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 900;
  pointer-events: none;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top-btn:hover { background: var(--navy); }
.scroll-top-btn svg { width: 20px; height: 20px; }

/* === PHOTO CAROUSEL === */
.photo-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 6;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.photo-carousel-track {
  display: flex;
  height: 100%;
  transition: transform .65s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.photo-carousel-slide {
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}
.photo-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}
.photo-carousel-slide.active img {
  transform: scale(1.04);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 35, 64, .55);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .2s, border-color .2s;
  z-index: 3;
}
.carousel-btn:hover {
  background: rgba(8, 145, 178, .75);
  border-color: rgba(34, 211, 238, .5);
}
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn-prev { left: 1.25rem; }
.carousel-btn-next { right: 1.25rem; }
.carousel-dots {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 3;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .25s, transform .25s;
}
.carousel-dot.active {
  background: #fff;
  transform: scale(1.35);
}
@media (max-width: 640px) {
  .photo-carousel { aspect-ratio: 4 / 3; }
  .carousel-btn { width: 36px; height: 36px; }
}

/* =========================================================
   RESPONSIVE POLISH — MOBILE & TABLET
   ========================================================= */

/* Page hero: shorter top padding on phones */
@media (max-width: 768px) { .page-hero { padding: 6rem 0 3rem; } }
@media (max-width: 480px) { .page-hero { padding: 5rem 0 2.5rem; } }

/* Footer legal: wrap links on narrow phones */
@media (max-width: 480px) {
  .footer-legal { flex-wrap: wrap; gap: .75rem; justify-content: center; }
  .footer-bottom { text-align: center; }
}

/* About badge: avoid overflow clipping on very small phones */
@media (max-width: 400px) {
  .about-badge { position: static; margin-top: 1.25rem; }
  .about-visual { margin-bottom: .5rem; }
}

/* Form box: tighter on phones */
@media (max-width: 480px) {
  .form-box { padding: 1.25rem; }
  .form-row { grid-template-columns: 1fr; gap: .75rem; }
}

/* Event cards in homepage section: stack on phones */
@media (max-width: 480px) {
  .event-card { padding: 1rem; gap: .75rem; }
  .event-date-box { min-width: 58px; }
  .ev-day { font-size: 1.6rem; }
}

/* Stats bar: single column on very small phones */
@media (max-width: 360px) {
  .stats-bar-grid { grid-template-columns: 1fr; }
  .stat-item + .stat-item::before { display: none; }
}

/* CTA actions: full-width buttons on phones */
@media (max-width: 480px) {
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
}

/* grid-4: single column on very small phones */
@media (max-width: 360px) { .grid-4 { grid-template-columns: 1fr; } }

/* Tablet: grid-3 stays 2-col between 768px–1024px instead of jumping to 1-col */
@media (max-width: 1024px) and (min-width: 769px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Language switcher (i18n) ===== */
.ccc-lang { position: relative; display: inline-block; margin-right: .5rem; }
.ccc-lang-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: inherit; font-size: .85rem; font-weight: 600;
  color: var(--text); background: var(--white);
  border: 1px solid var(--border-dark); border-radius: var(--radius-sm);
  padding: .45rem .6rem; cursor: pointer; line-height: 1;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.ccc-lang-btn:hover { border-color: var(--teal); box-shadow: var(--shadow-xs); }
.ccc-lang-flag { font-size: 1.05rem; line-height: 1; }
.ccc-lang-code { letter-spacing: .03em; }
.ccc-lang-menu {
  position: absolute; top: calc(100% + .4rem); right: 0; z-index: 1200;
  min-width: 168px; background: var(--white);
  border: 1px solid var(--border-dark); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: .35rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.ccc-lang.open .ccc-lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.ccc-lang-opt {
  display: flex; align-items: center; gap: .55rem; width: 100%;
  font-family: inherit; font-size: .85rem; font-weight: 500; text-align: left;
  color: var(--text); background: transparent; border: 0;
  border-radius: var(--radius-xs); padding: .5rem .6rem; cursor: pointer;
}
.ccc-lang-opt:hover { background: var(--bg); }
.ccc-lang-opt.active { background: var(--bg-alt); color: var(--teal-dark); font-weight: 700; }
/* Floating variant for pages without a nav bar (e.g. feedback) */
.ccc-lang-float { position: fixed; top: 1rem; right: 1rem; z-index: 2000; }
.ccc-lang-float .ccc-lang-btn { box-shadow: var(--shadow-sm); }
@media (max-width: 880px) {
  .ccc-lang { margin-right: .25rem; }
  .ccc-lang-code { display: none; }
}

/* ===== Mobile zoom / narrow viewport hardening ===== */
/* Ensure nav always spans full viewport width regardless of page overflow */
.nav { width: 100%; box-sizing: border-box; }

/* Nav: tighten gap and allow logo text to truncate on very narrow viewports */
@media (max-width: 480px) {
  .nav-inner { gap: 1rem; }
  .nav-logo-text { overflow: hidden; }
  .nav-logo-name { font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Footer logos: shrink further on small phones */
@media (max-width: 480px) {
  .footer-partners-row { gap: .75rem; }
  .footer-partner-logo { min-width: 60px; min-height: 44px; padding: .5rem .75rem; }
  .footer-partner-logo img { height: 32px; max-width: 90px; }
}
