:root {
  --gold: #FFD700;
  --gold-dark: #C9A800;
  --gold-light: #FFF9D6;
  --white: #FFFFFF;
  --green: #90EE90;
  --green-dark: #4CAF50;
  --green-deeper: #2D6A4F;
  --green-footer: #1a3d2b;
  --off-white: #F2FBF0;
  --text-dark: #111111;
  --text-mid: #444444;
  --text-light: #888888;
  --border: rgba(144, 238, 144, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

.section-bg-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('images/ee-pattern-bg.jpg');
  background-size: 280px auto;
  background-repeat: repeat;
  opacity: 0.13;
}

/* ========== NAV ========== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 4px 28px rgba(255, 215, 0, 0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark) !important;
  background: var(--gold);
  padding: 11px 24px;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 2px 14px rgba(255, 215, 0, 0.35);
}

.nav-cta:hover {
  background: var(--gold-dark);
  box-shadow: 0 4px 22px rgba(144, 238, 144, 0.45);
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

.mobile-toggle {
  display: none; width:42px; height:42px; border:1px solid rgba(255,215,0,0.3);
  background:rgba(255,255,255,0.85); border-radius:8px; align-items:center; justify-content:center;
  flex-direction:column; gap:5px; cursor:pointer; z-index:1002;
}

.mobile-toggle span {
  width:20px; height:2px; background:var(--text-dark); border-radius:999px;
  transition:transform 0.2s, opacity 0.2s;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .model-grid { grid-template-columns:repeat(2,1fr); }
  .about-grid,.apply-grid,.contact-grid,.footer-top { grid-template-columns:1fr; gap:36px; }
  .news-grid { grid-template-columns:1fr 1fr; }
  .mobile-toggle { display:flex; }
  .nav-links {
    position:fixed; top:76px; left:0; right:0; display:grid; gap:0;
    background:rgba(255,255,255,0.98); border-bottom:1px solid rgba(255,215,0,0.2);
    padding:14px 5% 20px; transform:translateY(-130%); opacity:0; pointer-events:none;
    transition:transform 0.25s ease, opacity 0.25s ease; box-shadow:0 18px 40px rgba(0,0,0,0.08);
  }
  .nav-links.active { transform:translateY(0); opacity:1; pointer-events:auto; }
  .nav-links li { border-bottom:1px solid rgba(0,0,0,0.06); }
  .nav-links li:last-child { border-bottom:0; padding-top:12px; }
  .nav-links a { display:block; padding:14px 0; }
  .nav-cta { display:inline-block; padding:12px 18px !important; }
}

/* ===== APPLY HERO ===== */
.apply-page-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 140px 5% 80px;
  background: linear-gradient(150deg, #EDFFF5 0%, #F0FFF4 45%, #FFFBDE 100%);
  overflow: hidden;
}




.apply-page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.06;
  margin-bottom: 22px;
  color: var(--text-dark);
}

.apply-page-hero h1 em {
  font-style: italic;
  color: var(--green-deeper);
}

.apply-page-hero p {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto 38px;
  line-height: 1.8;
  font-weight: 300;
}

.gold-bar {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  margin: 0 auto 28px;
  border-radius: 2px;
}

/* ===== REQUIREMENTS ===== */
.req-section {
  padding: 90px 5%;
  position: relative;
  z-index: 1;
}

.req-section .center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.sec-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-deeper);
  margin-bottom: 12px;
  display: block;
}

.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.sec-title em {
  font-style: italic;
  color: var(--green-deeper);
}

.sec-sub {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
}

.req-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.req-card {
  background: white;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(45, 106, 79, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.req-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}

.req-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(45, 106, 79, 0.12);
}

.req-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-dark);
}

.req-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.req-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
  font-weight: 300;
}

/* ===== FORM SECTION ===== */
.form-section {
  padding: 80px 5% 100px;
  position: relative;
  z-index: 1;
  background: white;
}

.form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/ee-pattern-bg.jpg');
  background-size: 280px;
  opacity: 0.06;
  pointer-events: none;
}

.form-wrap {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.form-header {
  text-align: center;
  margin-bottom: 56px;
}

.apply-form {
  background: white;
  border-radius: 24px;
  padding: 56px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 48px rgba(45, 106, 79, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row.three {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-deeper);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1.5px solid rgba(144, 238, 144, 0.5);
  background: #FAFFF8;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all 0.2s;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 72px 0 48px;
  position: relative;
  opacity: 0.9;
}

.form-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  padding: 8px 32px;
  border-radius: 50px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dark);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.form-divider::before,
.form-divider::after {
  content: '✦';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--gold);
  z-index: 2;
}

.form-divider::before { left: 15%; }
.form-divider::after { right: 15%; }

@media (max-width: 600px) {
  .form-divider span {
    letter-spacing: 0.1em;
    padding: 8px 16px;
    font-size: 0.6rem;
  }
  .form-divider::before { left: 5%; }
  .form-divider::after { right: 5%; }
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--text-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.45);
}

.form-submit-row {
  text-align: center;
  margin-top: 40px;
}

.form-status {
  margin-top: 20px;
  padding: 14px 20px;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: none;
}

.form-status.success {
  background: rgba(76, 175, 80, 0.1);
  color: #2D6A4F;
  border: 1px solid rgba(76, 175, 80, 0.3);
  display: block;
}

.form-status.error {
  background: rgba(220, 50, 50, 0.08);
  color: #c0392b;
  border: 1px solid rgba(220, 50, 50, 0.2);
  display: block;
}

.section-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  justify-content: center;
}

.section-tag::before,
.section-tag::after {
  content: '';
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: var(--gold);
}

footer {
  background: var(--green-footer);
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 5% 40px;
  box-shadow: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  padding: 4px 8px;
  opacity: 0.95;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.25s;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  font-family: 'Montserrat', sans-serif;
}

.footer-bottom a {
  color: var(--gold);
  font-size: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

@media(max-width:900px) {
  .model-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .apply-grid,
  .contact-grid,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .sponsors-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== MULTI-STEP FORM ===== */
.form-step {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.form-step.active {
  display: block;
}

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

.step-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(144, 238, 144, 0.15);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-mid);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--gold-dark);
  color: var(--text-dark);
  background: rgba(255, 215, 0, 0.04);
}

/* ===== MEDIA UPLOADS ===== */
.media-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.glass-upload-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(144, 238, 144, 0.3);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.glass-upload-card:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(45, 106, 79, 0.08);
}

.glass-upload-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.glass-upload-icon {
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.glass-upload-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.glass-upload-hint {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.glass-upload-preview {
  flex-grow: 1;
  margin-bottom: 20px;
  min-height: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.glass-upload-btn {
  background: white;
  border: 1.5px solid var(--border);
  padding: 10px 16px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  margin-top: auto;
}

.glass-upload-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--text-dark);
}

.glass-upload-btn.uploading {
  pointer-events: none;
  opacity: 0.7;
}

/* Previews */
.preview-item {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.preview-item img, 
.preview-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  border-radius: 4px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  backdrop-filter: blur(4px);
}

.preview-remove:hover {
  background: #ff4d4d;
}

.resume-thumb {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-dark);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 800px) {
  .media-upload-grid {
    grid-template-columns: 1fr;
  }
  .glass-upload-card {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .apply-form {
    padding: 32px 24px;
  }
  .step-nav {
    flex-direction: column-reverse;
  }
  .step-nav button {
    width: 100%;
  }
}


#sponsors .sec-sub {
  color: rgba(255, 255, 255, 0.82);
}

.sponsor-tile {
  background: rgba(255, 255, 255, 0.95);
}

.sponsor-tile:hover {
  background: white;
}

@media(max-width:900px) {
  .req-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row,
  .form-row.three {
    grid-template-columns: 1fr;
  }

  .apply-form {
    padding: 32px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media(max-width:600px) {
  .req-grid {
    grid-template-columns: 1fr;
  }
}

.media-upload-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .media-upload-row {
    grid-template-columns: 1fr;
  }
}

.glass-upload-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: hidden;
}

.glass-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #EDFFF5 0%, #F0FFF4 45%, #FFFBDE 100%);
  opacity: 0.5;
  z-index: 0;
}

.glass-upload-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
}

.glass-upload-inner {
  position: relative;
  z-index: 1;
}

.glass-upload-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
}

.glass-upload-label {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
}

.glass-upload-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.glass-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.glass-upload-btn:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: rgba(212, 175, 55, 0.5);
}

.glass-upload-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.glass-upload-preview {
  min-height: 32px;
  margin-bottom: 0.75rem;
}

.gallery-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.gallery-preview-grid img.gallery-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.upload-success {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #4ade80;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Mobile footer adjustments to match index layout */
@media(max-width:600px) {
  footer { padding:34px 18px 24px; }
  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
    margin-bottom: 30px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { height: 42px; margin-bottom: 10px; }
  .footer-brand p { font-size: 0.76rem; line-height: 1.45; margin-bottom: 14px; }
  .footer-social a { width: 30px; height: 30px; }
  .footer-col h5 { font-size: 0.62rem; margin-bottom: 12px; }
  .footer-col ul li { margin-bottom: 7px; }
  .footer-col ul li a,
  .footer-bottom p,
  .footer-bottom a { font-size: 0.72rem; }
  .footer-bottom { align-items: flex-start; padding-top: 18px; }
}

/* Compact requirement cards on small screens (reduce vertical space) */
@media (max-width: 600px) {
  .req-section {
    padding: 36px 18px;
  }

  .req-grid {
    gap: 12px;
  }

  .req-card {
    padding: 16px 14px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(45, 106, 79, 0.06);
  }

  .req-card::before { height: 2px; }

  .req-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-bottom: 12px;
  }

  .req-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .req-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
  }
}