/* Erode District Kudo Sports Association - styles */

:root {
  --bg: #050608;
  --panel: rgba(255, 255, 255, .06);
  --panel-2: rgba(255, 255, 255, .10);
  --text: rgba(255, 255, 255, .94);
  --muted: rgba(255, 255, 255, .68);
  --border: rgba(255, 255, 255, .12);
  --brand: #b3001f;
  --brand-2: #ff4040;
  --shadow: 0 18px 55px rgba(0, 0, 0, .6);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1100px;
  --nav-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(700px 500px at 10% -10%, rgba(255, 64, 64, .12), transparent 60%),
    radial-gradient(600px 400px at 90% -10%, rgba(179, 0, 31, .18), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
.brand-text strong,
.kicker,
.btn {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

/* UTILITIES */
.p-4 {
  padding: 18px;
}

.p-3 {
  padding: 12px;
}

.m-0 {
  margin: 0;
}

.mb-1 {
  margin-bottom: 6px;
}

.mb-2 {
  margin-bottom: 8px;
}

.mt-3 {
  margin-top: 12px;
}

.text-light {
  color: rgba(255, 255, 255, .86);
}

.text-muted {
  color: var(--muted);
}

.bg-glass {
  background: rgba(255, 255, 255, .05);
}

img {
  max-width: 100%;
  display: block;
}

.instructor-photo-wrapper {
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 0;
  line-height: 0;
}

.instructor-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 10px;
  z-index: 9999;
}

/* NAV */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 10, 10, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  backdrop-filter: blur(10px);
}

.site-nav .container {
  width: 100%;
  max-width: 100%;
  padding: 0 24px;
}

.site-nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(139, 0, 0, .35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 16px;
}

.brand-text span {
  font-size: 13px;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 3px solid rgba(255, 45, 45, .45);
  outline-offset: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, .88);
  font-weight: 700;
  letter-spacing: .2px;
  padding: 10px 10px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(179, 0, 31, .25);
  transition: transform .2s cubic-bezier(0.175, 0.885, 0.32, 1.2), filter .2s ease, box-shadow .2s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, .06);
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .7);
}

.nav-links a[aria-current="page"] {
  background: rgba(255, 45, 45, .18);
  border: 1px solid rgba(255, 45, 45, .20);
}

/* HERO */
.hero {
  min-height: calc(92vh - var(--nav-h));
  display: grid;
  place-items: center;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .3), rgba(0, 0, 0, .6)),
    url('img.jpeg') center/cover no-repeat;
  transform: scale(1.02);
  filter: saturate(1.1);
}



.hero-content {
  position: relative;
  text-align: center;
}

.kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .25);
  border-radius: 999px;
  color: rgba(255, 255, 255, .85);
  font-weight: 700;
  letter-spacing: .4px;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 78px);
  margin: 14px 0 6px;
  letter-spacing: 1px;
}

.hero p {
  margin: 0 auto;
  max-width: 60ch;
  font-size: clamp(18px, 2.2vw, 22px);
  color: rgba(255, 255, 255, .86);
}

.cta-row {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* SECTIONS */
section {
  padding: 30px 0;
}

.section-title {
  margin: 0 0 10px;
  color: var(--brand-2);
  letter-spacing: .32px;
  font-size: clamp(22px, 3vw, 26px);
  text-transform: uppercase;
}

.section-subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 75ch;
}

.panel {
  background:
    radial-gradient(circle at top left, rgba(255, 64, 64, .14), transparent 60%),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  box-shadow: 0 12px 24px rgba(179, 0, 31, .25);
  backdrop-filter: blur(12px);
  transition: transform .2s cubic-bezier(0.175, 0.885, 0.32, 1.2), filter .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.panel:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 64, 64, .45);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .7);
  background:
    radial-gradient(circle at top left, rgba(255, 64, 64, .20), transparent 60%),
    var(--panel-2);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: start;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  padding: 12px 18px;
  text-decoration: none;
  color: white;
  border-radius: 14px;
  border: 1px solid rgba(255, 64, 64, .3);
  font-weight: 800;
  letter-spacing: .2px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(179, 0, 31, .25);
  transition: transform .2s cubic-bezier(0.175, 0.885, 0.32, 1.2), filter .2s ease, box-shadow .2s ease;
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .7);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .5);
}

.btn.secondary {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border);
}

.btn:focus-visible {
  outline: 3px solid rgba(255, 45, 45, .45);
  outline-offset: 3px;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.card {
  background:
    radial-gradient(circle at top left, rgba(255, 64, 64, .10), transparent 55%),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 18px;
  border-radius: var(--radius);
  box-shadow: 0 12px 24px rgba(179, 0, 31, .25);
  cursor: pointer;
  transition: transform .2s cubic-bezier(0.175, 0.885, 0.32, 1.2), filter .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  backdrop-filter: blur(8px);
}

.card h3 {
  margin: 0 0 6px;
  letter-spacing: .2px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 64, 64, .45);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .7);
  background:
    radial-gradient(circle at top left, rgba(255, 64, 64, .20), transparent 60%),
    var(--panel-2);
}

.pill-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .25);
  color: rgba(255, 255, 255, .86);
  font-weight: 700;
  font-size: 12px;
}

/* LIST */
.list {
  padding-left: 18px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .86);
}

.list li {
  margin: 10px 0;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 12px 24px rgba(179, 0, 31, .25);
  cursor: pointer;
  /* Added the pop-up transition style */
  transition: transform .2s cubic-bezier(0.175, 0.885, 0.32, 1.2), filter .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.gallery figure:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 64, 64, .45);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .7);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .4s ease;
}

.gallery figure:hover img {
  transform: scale(1.06);
}

.gallery figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}

/* ALBUM GRID */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.album-card {
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  background: var(--panel);
  box-shadow: 0 12px 24px rgba(179, 0, 31, .25);
  backdrop-filter: blur(8px);
  transition: transform .25s cubic-bezier(0.175, 0.885, 0.32, 1.2), box-shadow .25s ease, border-color .25s ease;
  display: block;
}

.album-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 64, 64, .5);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .7);
}

.album-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.album-card:hover .album-cover img {
  transform: scale(1.07);
}

.album-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity .3s ease;
  color: white;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .4px;
}

.album-card:hover .album-overlay {
  opacity: 1;
}

.album-info {
  padding: 16px 18px;
}

.album-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .2px;
}

.album-count {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* REGISTER */
form {
  display: grid;
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  letter-spacing: .2px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .45);
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  font-family: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, .45);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 64, 64, .6);
  background: rgba(0, 0, 0, .6);
  box-shadow: 0 0 0 4px rgba(255, 64, 64, .15);
}

/* select{
  background: linear-gradient(135deg, rgba(5,6,8,.96), rgba(5,6,8,.96));
  border-color: rgba(255,64,64,.38);
} */
select option {
  background: #050608;
  color: var(--text);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.status {
  min-height: 22px;
  color: rgba(255, 255, 255, .86);
  font-weight: 700;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 14px;
}

.contact-info {
  line-height: 1.9;
  color: rgba(255, 255, 255, .86);
}

.contact-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(255, 255, 255, .10);
  background: rgba(10, 8, 8, .60);
  text-align: center;
  padding: 26px 0;
  color: rgba(255, 255, 255, .78);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  background: rgba(255, 64, 64, .18);
  border-color: rgba(255, 64, 64, .45);
  color: var(--brand-2);
}

.footer-copy {
  margin: 0;
  font-size: 14px;
}

/* FLOATING BUTTONS */
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
  z-index: 1001;
}

.fab a {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: white;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .14);
}

.fab a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .55);
  outline-offset: 3px;
}

.whatsapp {
  background: #25D366;
}

.to-top {
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ------------------------------------- */
/* INTRO ANIMATION */
/* ------------------------------------- */
.intro-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 30px rgba(179, 0, 31, 0.4);
  /* Pops in quickly, then pulses forever until faded */
  animation:
    introScaleUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
    introPulseLogo 1.5s ease-in-out infinite alternate 0.8s;
}

.intro-text {
  font-family: 'Poppins', sans-serif;
  font-size: 52px;
  font-weight: 700;
  color: white;
  margin-top: 24px;
  letter-spacing: 12px;
  padding-left: 12px;
  /* Offset the tracking slightly to visually center it */
  opacity: 0;
  transform: translateY(20px);
  /* Fades up right after the logo finishes its initial pop-in */
  animation: introFadeInUp 0.8s ease-out 0.5s forwards;
  text-shadow: 0 4px 12px rgba(255, 64, 64, 0.4);
}

@keyframes introPulseLogo {
  0% {
    box-shadow: 0 0 20px rgba(179, 0, 31, 0.4);
  }

  100% {
    box-shadow: 0 0 70px rgba(255, 64, 64, 0.8);
  }
}

@keyframes introScaleUp {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes introFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------- */
/* LIGHTBOX (Fullscreen Image Viewer) */
/* ------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  cursor: pointer;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.35s ease;
}

.lightbox.is-open .lightbox-img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 64, 64, 0.3);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-nav:hover {
  background: rgba(255, 64, 64, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-caption {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease 0.15s, transform 0.3s ease 0.15s;
}

.lightbox.is-open .lightbox-caption {
  opacity: 1;
  transform: translateY(0);
}

/* STATS BAR */
.stats-bar {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 30px;
  margin-top: 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 10;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--brand-2);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* INSTRUCTOR PHOTO */
.instructor-photo {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  margin-bottom: 0;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.05);
}

/* SCHEDULE TABLE */
.overflow-x {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.schedule-table th,
.schedule-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-table th {
  color: var(--brand-2);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.schedule-table td {
  color: rgba(255, 255, 255, 0.86);
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.8;
}

.testimonial-card .author {
  color: var(--brand-2);
  font-weight: 700;
  font-size: 14px;
}

/* SCROLL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* LEADERSHIP SECTION */
.leadership-card {
  display: flex;
  gap: 36px;
  align-items: stretch;
}

.leadership-card + .leadership-card {
  margin-top: 30px;
}

.leadership-photo-wrapper {
  flex-shrink: 0;
  width: 260px;
  min-height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(255, 64, 64, .25);
  box-shadow: 0 12px 32px rgba(179, 0, 31, .35);
  line-height: 0;
}

.leadership-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.leadership-info {
  flex: 1;
}

.leadership-name {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: .3px;
}

.leadership-tag {
  color: var(--brand-2);
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.leadership-titles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.leadership-title-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
}

.leadership-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.leadership-bio {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

@media (max-width: 760px) {
  .leadership-card {
    flex-direction: column;
    align-items: center;
  }
  .leadership-photo-wrapper {
    width: 100%;
    max-width: 320px;
  }
  .leadership-info {
    width: 100%;
  }
}

/* RESPONSIVE DESIGN FOR ALL DEVICES */

/* Laptops & Small Desktops */
@media (max-width: 1024px) {
  .container {
    width: 90%;
  }
}

/* Tablets & iPads */
@media (max-width: 880px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(var(--nav-h) - 6px);
    left: 0;
    right: 0;
    padding: 14px 0 18px;
    background: rgba(15, 10, 10, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    backdrop-filter: blur(12px);
    display: none;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .nav-links a {
    width: 90%;
    margin: 0 auto;
    padding: 12px 12px;
  }

  .nav-links.is-open {
    display: flex;
  }
}

/* Mobile Phones (Portrait) */
@media (max-width: 600px) {
  section {
    padding: 45px 0;
  }

  .hero {
    padding: 40px 0;
    min-height: calc(85vh - var(--nav-h));
  }

  .hero h1 {
    font-size: 42px;
    margin: 10px 0;
  }

  .hero p {
    font-size: 16px;
  }

  .section-title {
    font-size: 24px;
    text-align: center;
  }

  .section-subtitle {
    font-size: 15px;
    text-align: center;
    margin-bottom: 25px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 15px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .fab {
    right: 12px;
    bottom: 12px;
  }

  .fab a {
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .gallery img {
    transition: none;
  }

  .btn {
    transition: none;
  }
}