/* ===========================
   IPTPA Modern Redesign
   style.css
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy: #1a2f6e;
  --navy-dark: #0f1d47;
  --navy-light: #29387b;
  --green: #4ade80;
  --green-dark: #22c55e;
  --yellow: #fbbf24;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.18);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}


/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  background: rgba(74, 222, 128, 0.15);
  color: var(--green-dark);
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 600px;
  overflow-wrap: break-word;
}
/* =========================================================
   UTILS
   ========================================================= */

/* ========================
   Layout: Display
   ======================== */
.block { display: block !important; }
.inline-block { display: inline-block !important; }
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.grid { display: grid !important; }
.hidden { display: none !important; }

/* ========================
   Layout: Position
   ======================== */
.static { position: static !important; }
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.fixed { position: fixed !important; }
.sticky { position: sticky !important; }
.overflow-hidden { overflow: hidden !important; }

/* Position helpers */
.inset-0 { top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; }
.inset-x-0 { left: 0 !important; right: 0 !important; }
.top-0 { top: 0 !important; }
.top-14 { top: 3.5rem !important; }
.left-0 { left: 0 !important; }
.left-auto { left: auto !important; }
.right-16 { right: 4rem !important; }
.top-6 { top: 1.5rem !important; }
.top-11 { top: 2.75rem !important; }
.-top-15 { top: -3.75rem !important; }
.left-4 { left: 1rem !important; }

/* Z-index */
.z-0 { z-index: 0 !important; }
.z-10 { z-index: 10 !important; }
.z-2000 { z-index: 2000 !important; }
.z-10001 { z-index: 10001 !important; }

/* ========================
   Flexbox
   ======================== */
.flex-row { flex-direction: row !important; }
.flex-col { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }

.items-start { align-items: flex-start !important; }
.items-center { align-items: center !important; }
.items-end { align-items: flex-end !important; }

.justify-start { justify-content: flex-start !important; }
.justify-center { justify-content: center !important; }
.justify-end { justify-content: flex-end !important; }
.justify-between { justify-content: space-between !important; }

.flex-1 { flex: 1 1 0% !important; }
.flex-auto { flex: 1 1 auto !important; }
.grow { flex-grow: 1 !important; }
.shrink { flex-shrink: 1 !important; }
.shrink-0 { flex-shrink: 0 !important; }

/* ========================
   Grid
   ======================== */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
.grid-cols-fit-200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important; }
.grid-cols-fit-300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important; }

.col-span-full { grid-column: 1 / -1 !important; }

/* ========================
   Spacing: Gap
   ======================== */
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-2\.5 { gap: 0.625rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-5 { gap: 1.25rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-7 { gap: 1.75rem !important; }
.gap-8 { gap: 2rem !important; }
.gap-9 { gap: 2.25rem !important; }
.gap-10 { gap: 2.5rem !important; }

/* ========================
   Spacing: Padding
   ======================== */
.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 0.75rem !important; }
.p-4 { padding: 1rem !important; }
.p-4\.5 { padding: 1.125rem !important; }
.p-5 { padding: 1.25rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-7 { padding: 1.75rem !important; }
.p-8 { padding: 2rem !important; }
.p-9 { padding: 2.25rem !important; }
/* 2.5rem = 40px */
.p-10 { padding: 2.5rem !important; }
.p-11 { padding: 2.75rem !important; }
.p-12 { padding: 3rem !important; }
.p-13 { padding: 3.25rem !important; }
.p-14 { padding: 3.5rem !important; }
.p-15 { padding: 3.75rem !important; }
.p-16 { padding: 4rem !important; }
.p-17 { padding: 4.25rem !important; }
.p-18 { padding: 4.5rem !important; }
.p-19 { padding: 4.75rem !important; }
.p-20 { padding: 5rem !important; }

/* Axis padding */
.px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-9 { padding-left: 2.25rem !important; padding-right: 2.25rem !important; }
.px-20 { padding-left: 5rem !important; padding-right: 5rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-5 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-7 { padding-left: 1.75rem !important; padding-right: 1.75rem !important; }
.py-10 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-15 { padding-top: 3.75rem !important; padding-bottom: 3.75rem !important; }
.pb-10 { padding-bottom: 2.5rem !important; }
.pb-20 { padding-bottom: 5rem !important; }
.pt-0 { padding-top: 0 !important; }
.pt-10 { padding-top: 2.5rem !important; }
.pt-20 { padding-top: 5rem !important; }
.pt-28 { padding-top: 7rem !important; }
.pt-30 { padding-top: 7.5rem !important; }
.pt-32 { padding-top: 8rem !important; }
.pt-34 { padding-top: 8.5rem !important; }
.pt-36 { padding-top: 9rem !important; }
.pb-28 { padding-bottom: 7rem !important; }
.pb-11 { padding-bottom: 2.75rem !important; }

@media (min-width: 768px) {
  .md\:pt-20 { padding-top: 5rem !important; }
  .md\:pt-30 { padding-top: 7.5rem !important; }
}

@media (min-width: 768px) {
  .md\:pt-30 { padding-top: 7.5rem !important; }  /* 120px */
  .md\:pb-14 { padding-bottom: 3.5rem !important; } /* 56px */
}

@media (min-width: 1024px) {
  .lg\:pt-40 { padding-top: 10rem !important; }   /* 160px */
  .lg\:pb-20 { padding-bottom: 5rem !important; }  /* 80px */
}

/* ========================
   Spacing: Margin
   ======================== */
.m-auto { margin: auto !important; }
.m-0 { margin: 0 !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.mr-2 { margin-right: 0.5rem !important; }

.mt-1 { margin-top: 0.25rem !important; }
.mt-0 { margin-top: 0 !important; }
.mt-3 { margin-top: 0.75rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-5 { margin-top: 1.25rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-5 { margin-bottom: 1.25rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-7 { margin-bottom: 1.75rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.mb-0 { margin-bottom: 0 !important; }

/* ========================
   Sizing
   ======================== */
.w-auto { width: auto !important; }
.w-icon { width: 18px !important; }
.w-5 { width: 1.25rem !important; }
.w-full { width: 100% !important; }
.w-11 { width: 2.75rem !important; }

.h-auto { height: auto !important; }
.h-5 { height: 1.25rem !important; }
.h-11 { height: 2.75rem !important; }
.h-0\.5 { height: 2px !important; }

.max-w-full { max-width: 100% !important; }
.max-w-460 { max-width: 460px !important; }
.max-w-1000 { max-width: 1000px !important; }
.max-w-1040 { max-width: 1040px !important; }
.max-w-1100 { max-width: 1100px !important; }
.max-h-200 { max-height: 200px !important; }

/* ========================
   Typography
   ======================== */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-xs { font-size: 0.75rem !important; line-height: 1 !important; }
.text-sm { font-size: 0.875rem !important; line-height: 1.5 !important; }
.text-85 { font-size: 0.85rem !important; line-height: 1.5 !important; }
.text-88 { font-size: 0.88rem !important; line-height: 1.5 !important; }
.text-95 { font-size: 0.95rem !important; line-height: 1.5 !important; }
.text-15 { font-size: 1.5rem !important; line-height: 1.25 !important; }
.text-145 { font-size: 1.45rem !important; line-height: 1.25 !important; }
.text-16 { font-size: 1.6rem !important; line-height: 1 !important; }
.text-18 { font-size: 1.8rem !important; line-height: 1 !important; }
.text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
.no-underline { text-decoration: none !important; }
.font-oswald { font-family: 'Oswald', sans-serif !important; }
.font-inter { font-family: 'Inter', sans-serif !important; }
.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.uppercase { text-transform: uppercase !important; }
.text-gray-700 { color: var(--gray-700) !important; }
.text-gray-500 { color: var(--gray-500) !important; }
.text-navy-dark { color: var(--navy-dark) !important; }
.text-red-800 { color: #991b1b !important; }
.text-orange { color: #f97316 !important; }
.tracking-wide { letter-spacing: 0.5px !important; }
.tracking-1 { letter-spacing: 1px !important; }

/* Background & Border */
.bg-none { background: none !important; }
.bg-white { background-color: #fff !important; }
.bg-gray-50 { background-color: var(--gray-50) !important; }
.bg-gray-100 { background-color: var(--gray-100) !important; }
.bg-gray-200 { background-color: var(--gray-200) !important; }
.bg-red-50 { background-color: #fef2f2 !important; }
.bg-navy { background-color: var(--navy) !important; }
.bg-navy-dark { background-color: var(--navy-dark) !important; }
.hover\:bg-navy:hover { background-color: var(--navy-dark) !important; }
.hover\:bg-navy-dark:hover { background-color: var(--navy-dark) !important; }
.hover\:bg-navy-2:hover { background-color: #0f2a47 !important; }
.bg-green { background-color: var(--green) !important; }
.hover\:bg-green:hover { background-color: var(--green) !important; }
.bg-black-60 { background: rgba(0,0,0,0.6) !important; }
.bg-black-65 { background: rgba(0,0,0,0.65) !important; }
.bg-stripe { background-color: #635bff !important; }
.bg-venmo { background-color: #008CFF !important; }
.bg-zelle { background-color: #6d1ed4 !important; }
.bg-hero-gradient {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%) !important;
}
.bg-green-10 { background: rgba(74, 222, 128, 0.1) !important; }
.text-white { color: var(--white) !important; }
.text-white-80 { color: rgba(255,255,255,0.8) !important; }
.text-green { color: var(--green) !important; }
.text-navy { color: var(--navy) !important; }
.hover\:text-green:hover { color: var(--green) !important; }
.hover\:text-navy:hover { color: var(--navy) !important; }
.hover\:text-white:hover { color: var(--white) !important; }
.hover\:text-navy-dark:hover { color: var(--navy-dark) !important; }
.border { border: 1px solid var(--gray-200) !important; }
.border-t { border-top: 1px solid var(--gray-200) !important; }
.border-0 { border: 0 !important; }
.border-gray-300 { border: 1px solid var(--gray-300) !important; }
.border-red-200 { border: 1px solid #fecaca !important; }
.hover\:border-navy-dark:hover { border-color: var(--navy-dark) !important; }
.hover\:border-navy:hover { border-color: var(--navy) !important; }
.hover\:border-green:hover { border-color: var(--green) !important; }

/* ========================
   Effects
   ======================== */
.rounded-10 { border-radius: 10px !important; }
.rounded-16 { border-radius: 16px !important; }
.rounded { border-radius: 4px !important; }
.rounded-md { border-radius: 6px !important; }
.rounded-lg { border-radius: 8px !important; }
.rounded-xl { border-radius: 12px !important; }
.rounded-full { border-radius: 9999px !important; }

.cursor-pointer { cursor: pointer !important; }
.cursor-not-allowed { cursor: not-allowed !important; }
.opacity-60 { opacity: 0.6 !important; }
.opacity-70 { opacity: 0.7 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-85 { opacity: 0.85 !important; }
.opacity-88 { opacity: 0.88 !important; }
.opacity-90 { opacity: 0.9 !important; }
.opacity-100 { opacity: 1 !important; }
.opacity-82 { opacity: 0.82 !important; }
.transition-opacity { transition: opacity 0.2s !important; }
.transition-transform { transition: transform 0.2s !important; }
.hover\:opacity-0:hover { opacity: 0 !important; }
.hover\:opacity-75:hover { opacity: 0.75 !important; }
.hover\:opacity-85:hover { opacity: 0.85 !important; }
.hover\:opacity-88:hover { opacity: 0.88 !important; }
.hover\:opacity-90:hover { opacity: 0.9 !important; }
.hover\:opacity-100:hover { opacity: 1 !important; }
.leading-none { line-height: 1 !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-2xl { box-shadow: 0 24px 64px rgba(0,0,0,0.35) !important; }
.hover\:shadow-green-35:hover { box-shadow: 0 6px 16px rgba(34,197,94,0.35) !important; }
.hover\:shadow-green-30:hover { box-shadow: 0 4px 12px rgba(34,197,94,0.3) !important; }

.filter-drop-shadow-neutral-10 {
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
}

.backdrop-blur-sm { backdrop-filter: blur(4px) !important; }
.overflow-y-auto { overflow-y: auto !important; }
.min-h-screen { min-height: 100vh !important; }
.hover\:-translate-y-2:hover { transform: translateY(-2px) !important; }
.hover\:-translate-x-4:hover { transform: translateX(-4px) !important; }

.transition-lift {
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.hover-lift:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow-md) !important;
}

/* ========================
   Animation
   ======================== */
.animate-fade-in {
  animation: fadeIn 0.3s ease !important;
}

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

/* ========================
   Components (custom)
   ======================== */
@media (min-width: 1024px) {
  .line-cert-lg {
    display: block !important;
    position: absolute !important;
    top: 2.75rem !important;
    left: calc(10% + 16px) !important;
    right: calc(10% + 16px) !important;
    height: 2px !important;
    background: linear-gradient(90deg, var(--green), var(--navy)) !important;
    z-index: 0 !important;
  }
}

/* ========================
   Responsive: md
   ======================== */
@media (min-width: 768px) {
  .md\:block { display: block !important; }
  .md\:flex { display: flex !important; }
  .md\:hidden { display: none !important; }

  .md\:flex-row { flex-direction: row !important; }
  .md\:flex-col { flex-direction: column !important; }

  .md\:grid-cols-1 { grid-template-columns: repeat(1,1fr) !important; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2,1fr) !important; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3,1fr) !important; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4,1fr) !important; }

  .md\:gap-4 { gap: 1rem !important; }
  .md\:gap-5 { gap: 1.25rem !important; }
  .md\:grid-cols-\[repeat\(auto-fit\,minmax\(200px\,1fr\)\)\] {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  }
}

/* ========================
   Responsive: lg
   ======================== */
@media (min-width: 1024px) {
  .lg\:block { display: block !important; }
  .lg\:flex { display: flex !important; }
  .lg\:grid { display: grid !important; }
  .lg\:hidden { display: none !important; }

  .lg\:flex-row { flex-direction: row !important; }
  .lg\:flex-col { flex-direction: column !important; }

  .lg\:grid-cols-2 { grid-template-columns: repeat(2,1fr) !important; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3,1fr) !important; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4,1fr) !important; }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5,1fr) !important; }

  .lg\:gap-5 { gap: 1.25rem !important; }
  .lg\:gap-6 { gap: 1.5rem !important; }

  .lg\:p-10 { padding: 2.5rem !important; }
  .lg\:px-20 { padding-left: 5rem !important; padding-right: 5rem !important; }
}

/* ========================
   Responsive: xl
   ======================== */
@media (min-width: 1280px) {
  .xl\:block { display: block !important; }
  .xl\:flex { display: flex !important; }
  .xl\:grid { display: grid !important; }
  .xl\:hidden { display: none !important; }

  .xl\:flex-row { flex-direction: row !important; }
  .xl\:flex-col { flex-direction: column !important; }

  .xl\:grid-cols-2 { grid-template-columns: repeat(2,1fr) !important; }
  .xl\:grid-cols-3 { grid-template-columns: repeat(3,1fr) !important; }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4,1fr) !important; }
  .xl\:grid-cols-5 { grid-template-columns: repeat(5,1fr) !important; }

  .xl\:gap-5 { gap: 1.25rem !important; }
  .xl\:gap-6 { gap: 1.5rem !important; }

  .xl\:p-10 { padding: 2.5rem !important; }
  .xl\:px-20 { padding-left: 5rem !important; padding-right: 5rem !important; }
}

/* ========================
   Skeleton Loading
   ======================== */
@keyframes skeleton-shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton {
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 50%, #e2e8f0 100%) !important;
  background-size: 800px 100% !important;
  animation: skeleton-shimmer 1.4s infinite linear !important;
  border-radius: 6px !important;
  display: block !important;
}

.skeleton-line { height: 0.875rem !important; width: 100% !important; margin-bottom: 0.5rem !important; }
.skeleton-line-sm { height: 0.625rem !important; }
.skeleton-line-lg { height: 1.25rem !important; }
.skeleton-w-25 { width: 25% !important; }
.skeleton-w-50 { width: 50% !important; }
.skeleton-w-75 { width: 75% !important; }

.skeleton-circle { border-radius: 50% !important; flex-shrink: 0 !important; }
.skeleton-circle-sm { width: 2.5rem !important; height: 2.5rem !important; }
.skeleton-circle-md { width: 4rem !important; height: 4rem !important; }
.skeleton-circle-lg { width: 6rem !important; height: 6rem !important; }

.skeleton-block { height: 8rem !important; width: 100% !important; }
.skeleton-block-sm { height: 4rem !important; }
.skeleton-block-lg { height: 12rem !important; }

.skeleton-card {
  background: var(--white) !important;
  border: 1px solid var(--gray-200) !important;
  border-radius: 12px !important;
  padding: 1.5rem !important;
}

.skeleton-btn {
  height: 2.75rem !important;
  width: 9rem !important;
  border-radius: 8px !important;
}

/** UTILS END **/

/* ---- Animations ---- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
  }

  50% {
    box-shadow: 0 0 0 14px rgba(74, 222, 128, 0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.animate-fadeup {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-fadeup.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  padding: 22px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 29, 71, 0.97);
  backdrop-filter: blur(16px);
  padding: 14px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  /* wider than body content so translated links don't squeeze */
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35));
}

.footer .nav-logo-img {
  height: 62px;
}

.nav-logo-text {
  font-family: 'Oswald', sans-serif;
  line-height: 1.1;
  max-width: 220px;
}

.nav-logo-text span:first-child {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1.5px;
}

.nav-logo-text span:last-child {
  display: block;
  font-size: 0.62rem;
  font-weight: 300;
  color: var(--green);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.35;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  /* let flex shrink this zone when side zones need more space */
}

.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: width var(--transition);
}

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

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

.nav-cta {
  background: var(--green);
  color: var(--navy-dark) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition);
}

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

.nav-cta:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-dark);
  z-index: 1999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow-y: auto;
  padding: 240px 24px 40px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color var(--transition);
}

.nav-mobile a:hover {
  color: var(--green);
}

.nav-mobile .nav-cta {
  background: var(--green);
  color: var(--navy-dark) !important;
  padding: 12px 36px;
  border-radius: 10px;
  font-size: 1.3rem;
}

/* ========== NAV ACTIONS (CTA + lang + hamburger) ========== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Keep backwards compat with any old .nav-tools markup */
.nav-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switcher {
  position: relative;
}

.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  border-radius: 6px;
  padding: 5px 9px;
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition);
  line-height: 1;
}

.lang-switcher__btn:hover,
.lang-switcher__btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}

.lang-switcher__arrow {
  font-size: 0.6rem;
  transition: transform var(--transition);
}

.lang-switcher__btn[aria-expanded="true"] .lang-switcher__arrow {
  transform: rotate(180deg);
}

.lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--navy-dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  min-width: 180px;
  max-height: 420px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
}

.lang-switcher__dropdown [data-lang] {
  display: block;
  width: 100%;
  padding: 9px 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.lang-switcher__dropdown [data-lang]:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.lang-switcher__dropdown [data-lang].active {
  color: var(--green);
  font-weight: 600;
}

/* Scrollbar styling for lang dropdown */
.lang-switcher__dropdown::-webkit-scrollbar {
  width: 5px;
}

.lang-switcher__dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

/* ========== NAV DROPDOWN (DESKTOP) ========== */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-arrow {
  font-size: 0.58rem;
  transition: transform 0.3s ease;
  opacity: 0.85;
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.open .nav-dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Phantom bridge — keeps menu open when moving cursor from trigger to menu */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
  pointer-events: none;
}

.nav-dropdown:hover::after,
.nav-dropdown.open::after {
  pointer-events: auto;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 240px;
  background: rgba(15, 29, 71, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(74, 222, 128, 0.08);
  padding: 8px;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s ease;
  z-index: 2050;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(15, 29, 71, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
  margin: 0;
  list-style: none;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.nav-dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown-menu a i {
  width: 18px;
  text-align: center;
  color: var(--green);
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}

.nav-dropdown-menu a:hover {
  background: rgba(74, 222, 128, 0.12);
  color: var(--white) !important;
  padding-left: 18px;
}

.nav-dropdown-menu a.active {
  background: rgba(74, 222, 128, 0.10);
  color: var(--green) !important;
}

/* ========== NAV DROPDOWN (MOBILE) ========== */
.nav-mobile-dropdown {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-mobile-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition);
}

.nav-mobile-dropdown-trigger i {
  font-size: 0.95rem;
  transition: transform 0.3s ease;
  opacity: 0.85;
}

.nav-mobile-dropdown-trigger:hover {
  color: var(--green);
}

.nav-mobile-dropdown.open .nav-mobile-dropdown-trigger {
  color: var(--green);
}

.nav-mobile-dropdown.open .nav-mobile-dropdown-trigger i {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 0;
  width: 100%;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              margin 0.3s ease;
}

.nav-mobile-dropdown.open .nav-mobile-dropdown-menu {
  max-height: 320px;
  opacity: 1;
  margin: 20px 0 4px;
}

.nav-mobile-dropdown-menu a {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem !important;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  position: relative;
  padding-left: 18px;
  transition: color var(--transition);
}

.nav-mobile-dropdown-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-mobile-dropdown-menu a:hover {
  color: var(--green);
}

.nav-mobile-dropdown-menu a:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1.4);
}

/* Mobile language selector (inside .nav-mobile) */
.nav-mobile-lang {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 20px;
}

.mobile-lang-select {
  width: 100%;
  max-width: 260px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='white'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
  text-align: center;
}

.mobile-lang-select option {
  background: var(--navy-dark);
  color: var(--white);
}

/* ========== GOOGLE TRANSLATE: hide default UI ========== */
#google_translate_element {
  position: absolute;
  top: -9999px;
  left: -9999px;
  opacity: 0;
}

.goog-te-banner-frame {
  display: none !important;
}

.skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  flex-direction: column;
  padding: 90px 0 40px;
}

@media (min-width: 480px) {
  .hero {
    padding: 100px 0 48px;
  }
}

@media (min-width: 768px) {
  .hero {
    min-height: 100vh;
    padding: 120px 0 60px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 120px 0 80px;
  }
}

@media (min-width: 1200px) {
  .hero {
    
    flex-direction: row;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/IPTPA_Media/hero-bg.webp');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 20, 60, 0.45) 0%,
      rgba(26, 47, 110, 0.30) 50%,
      rgba(10, 20, 60, 0.55) 100%);
}

.hero:hover .hero-bg {
  transform: scale(1);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  align-items: flex-start;
  /* Align to top */
  justify-content: space-between;
  gap: 60px;
  width: 100%;
  animation: fadeUp 1s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: var(--green);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
  font-size: 0.55rem;
  padding: 5px 12px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 24px;
  max-width: 100%;
  /* prevent badge from overflowing its column */
  white-space: normal;
  width: fit-content;
  align-self: center;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

@media (min-width: 480px) {
  .hero-badge {
    font-size: 0.65rem;
    padding: 6px 14px;
    letter-spacing: 1.5px;
  }
}

@media (min-width: 576px) {
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 16px;
    letter-spacing: 2px;
    align-self: inherit;
  }
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -1px;
  font-size: 2.4rem;
  transition: all 300ms ease;
}

@media (min-width: 576px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (min-width: 1536px) {
  .hero-title {
    font-size: 4rem
  }
}

@media (min-width: 1600px) {
  .hero-title {
    font-size: 5rem;
  }
}

.hero-title span {
  color: var(--green);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  max-width: 560px;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  animation: fadeUp 1s ease both;
  animation-delay: 0.1s;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-non-profit {
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Oswald', sans-serif;
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  max-width: 100%;
  overflow-wrap: break-word;
  white-space: normal;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--navy-dark);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(74, 222, 128, 0.35);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(74, 222, 128, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

/* Hero stats */
.hero-stats{
  position: relative;
  background: transparent;
  margin-top: 40px;
}

@media (min-width: 480px) {
  .hero-stats {
    margin-top: 20px;
  }
}

@media (min-width: 1200px) {
  .hero-stats {
    position: absolute;
    bottom: 48px;
    left: 0;
    right: 0;
    z-index: 1;
  }
}


.hero-stats .container {
  display: flex;
  gap: 2px;
}

.hero-stat {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  padding: 20px 24px;
  text-align: center;
}

.hero-stat:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.hero-stat:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.hero-stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.3;
}

/* ========== ANNOUNCEMENT BAND ========== */
.announcement {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 18px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.announcement::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  to {
    left: 200%;
  }
}

.announcement-text {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
}

.announcement-text a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announcement-text a:hover {
  color: var(--green-dark);
}

/* ========== WORKSHOPS ========== */
.workshops {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--gray-50);
}

.workshops-header {
  margin-bottom: 56px;
  scroll-margin-top: 88px;
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.workshop-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.workshop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.workshop-card-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.workshop-level {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(74, 222, 128, 0.15);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.workshop-date-badge {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.workshop-card-body {
  padding: 24px;
}

.workshop-city {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.workshop-state {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 16px;
}

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

.workshop-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.workshop-meta-item .icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
}

.workshop-register-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.workshop-register-btn:hover {
  background: var(--green);
  color: var(--navy-dark);
}

.workshops-cta {
  text-align: center;
  margin-top: 52px;
}

.workshops-policy {
  background: white;
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin-top: 48px;
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.7;
}

.workshops-policy h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.workshops-cta-text {
  color: var(--gray-400);
  margin-bottom: 20px;
}

/* ========== ABOUT ========== */
.about {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrap {
  display: block;
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.about-badge-float {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(74, 222, 128, 0.3);
  animation: float 4s ease-in-out infinite;
}

.about-badge-float {
  position: absolute;
  top: -30px;
  /* Se separa un poco del borde superior */
  left: -24px;
  /* Sobresale hacia la izquierda con el mismo margen que tenías */
  bottom: auto;
  /* Borra la posición inferior anterior */
  right: auto;
  /* Borra la posición derecha anterior */
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(74, 222, 128, 0.3);
  animation: float 4s ease-in-out infinite;
}

.about-badge-float .number {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.about-badge-float .label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.about-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  border-color: var(--green);
  transform: translateX(4px);
}

.about-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  padding: 8px;
  box-sizing: border-box;
}

.about-card-content h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-card-content p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.65;
}

/* ========== WHY IPTPA VIDEOS ========== */
.why-videos-wrapper {
  margin-top: 64px;
}

.why-videos-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.why-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(74, 222, 128, 0.4);
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-embed iframe,
.video-embed video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
  /* Ensures video fills 16:9 box gracefully */
}

/* ========== PARTNERS ========== */
.partners {
  padding: 80px 0;
  background: var(--navy-dark);
}

.partners-header {
  text-align: center;
  margin-bottom: 52px;
}

.partners-header .section-title {
  color: var(--white);
}

.partners-header .section-subtitle {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 auto;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* Esta es la magia que centra los logos sobrantes */
  align-items: center;
  gap: 24px;
}

.partner-card {
  /* 5 columnas fluidas (13 logos → 5/5/3 layout balanceado) */
  width: calc(20% - 20px);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  text-decoration: none;
}

.partner-card:hover {
  border-color: rgba(74, 222, 128, 0.35);
  transform: translateY(-4px);
}

.partner-logo {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  transition: var(--transition);
}

/* Square-format logos need extra height to read at the same visual weight as wide ones */
.partner-logo--square {
  max-height: 125px;
}

.partner-card:hover .partner-logo {
  transform: scale(1.05);
}

/* 📱 RESPONSIVE DESIGN (Tablets y Móviles) */
@media (max-width: 992px) {
  .partner-card {
    width: calc(25% - 18px);
    /* 4 columnas en tablets */
  }
}

@media (max-width: 768px) {
  .partner-card {
    width: calc(50% - 12px);
    /* 2 columnas en móviles */
  }
}

/* ========== CONTACT ========== */
.contact {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: flex-start;
}

.contact-info h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 16px;
  overflow-wrap: break-word;
}

.contact-info p {
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin-bottom: 2px;
}

.contact-item-text span {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 222, 128, 0.3);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--gray-900);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

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

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
  color: var(--green);
}

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

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--green);
  color: var(--navy-dark);
  border-color: var(--green);
}

.footer-social a.fsoc-fb:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #fff;
}

.footer-social a.fsoc-ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
  color: #fff;
}

.footer-social a.fsoc-ln:hover {
  background: #0077B5;
  border-color: #0077B5;
  color: #fff;
}

/* ========== RESPONSIVE ========== */

/* ---- 1440: gentle nav tightening ---- */
@media (max-width: 1440px) {
  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 0.78rem;
    letter-spacing: 0.6px;
  }
}

/* ── Translated pages: slight compression — CTA + logo subtitle stay intact ──
   .has-translation is added to <html> synchronously by i18n.js (before first
   paint), so no layout shift. Higher specificity beats the breakpoint rules
   below, keeping translated nav tight while matching English's structure.  */
html.has-translation .nav-links {
  gap: 7px;
}

html.has-translation .nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.3px;
}

html.has-translation .lang-switcher__btn {
  padding: 5px 8px;
  font-size: 0.70rem;
}

/* ── Translated: collapse to hamburger at 1340px ──
   English collapses at 1200px. At 1366px (common laptop) Spanish fits in the
   wider nav container with the compression above; below 1340px it doesn't. */
@media (max-width: 1340px) {
  html.has-translation .nav-links {
    display: none;
  }

  html.has-translation .nav-actions>.nav-cta,
  html.has-translation .nav-tools>.nav-cta {
    display: none;
  }

  html.has-translation .nav-hamburger {
    display: flex;
  }
}

/* ---- 1360: further reduction ---- */
@media (max-width: 1360px) {
  .nav-links {
    gap: 9px;
  }

  .nav-links a {
    font-size: 0.75rem;
    letter-spacing: 0.4px;
  }

  .nav-actions .nav-cta,
  .nav-tools .nav-cta {
    padding: 8px 16px;
    font-size: 0.78rem;
  }
}

/* ---- 1280: hide logo subtitle, max compression before hamburger ---- */
@media (max-width: 1280px) {
  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    font-size: 0.72rem;
    letter-spacing: 0.2px;
  }

  .nav-logo-text span:last-child {
    display: none;
  }

  .nav-actions .nav-cta,
  .nav-tools .nav-cta {
    padding: 7px 12px;
    font-size: 0.74rem;
  }

  .lang-switcher__btn {
    padding: 5px 8px;
    font-size: 0.70rem;
  }
}

/* ---- 1200: collapse to hamburger ---- */
@media (max-width: 1200px) {
  .nav-links {
    display: none;
  }

  .nav-actions>.nav-cta,
  .nav-tools>.nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

/* ---- 1024: layout grids collapse ---- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    display: none;
  }

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

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

/* ---- 900: tablet layout adjustments ---- */
@media (max-width: 900px) {
  .why-videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Trust grid: 4-col is too cramped at tablet widths */
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .trust-strip {
    padding: 40px 0;
  }

  /* Hero: compress image col and reduce gap before stacking at 768px */
  .hero-content {
    gap: 32px;
  }

}

/* ---- 768: hero stack, full mobile layout ---- */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    gap: 32px;
  }

  .hero-stats .container {
    flex-wrap: wrap;
  }

  .hero-stat {
    flex: 1 1 45%;
  }

  .hero-stat:first-child {
    border-radius: var(--radius) 0 0 0;
  }

  .hero-stat:nth-child(2) {
    border-radius: 0 var(--radius) 0 0;
  }

  .hero-stat:nth-child(3) {
    border-radius: 0 0 0 var(--radius);
  }

  .hero-stat:last-child {
    border-radius: 0 0 var(--radius) 0;
  }

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

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

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

  .workshops,
  .about,
  .contact {
    padding: 64px 0;
  }

  .partners {
    padding: 48px 0;
  }

  .partner-card {
    height: 130px;
  }

  .footer-grid {
    gap: 36px;
  }


}

/* ---- 640: stat cards + partner card adjustments ---- */
@media (max-width: 640px) {
  .hero-stat {
    flex: 1 1 calc(50% - 2px);
    padding: 16px 10px;
  }

  .hero-stat-number {
    font-size: 1.8rem;
  }

  .hero-stat-label {
    font-size: 0.68rem;
    letter-spacing: 0.6px;
  }

  .partner-card {
    width: clamp(140px, calc(50% - 16px), 180px);
    height: 120px;
  }

  /* Buttons: stack earlier on small tablets */
  .hero-bottom-row {
    gap: 16px;
  }
}

/* ---- 600: single-col videos ---- */
@media (max-width: 600px) {
  .why-videos-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- 480: small phone ---- */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.85rem;
  }

  .contact-form {
    padding: 24px 16px;
  }

  .announcement-text {
    font-size: 0.72rem;
    letter-spacing: 0.8px;
  }

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

  .hero-non-profit {
    font-size: 0.72rem;
    padding: 10px 16px;
    letter-spacing: 1px;
  }

  .hero-stat-number {
    font-size: 1.6rem;
  }

  .hero-stat-label {
    font-size: 0.65rem;
  }

  .hero-stat {
    padding: 14px 12px;
  }

  .partner-card {
    width: auto;
    min-width: 0;
    flex: 1 1 calc(50% - 16px);
    height: 120px;
  }

  .workshops,
  .about,
  .contact {
    padding: 48px 0;
  }

  .partners {
    padding: 36px 0;
  }

  .workshops-header {
    margin-bottom: 32px;
  }

  .section-title {
    margin-bottom: 12px;
  }

  .workshop-filter-strip {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
  }

  /* Workshop filter: let select fill width on small phones */
  .workshop-filter-strip select {
    min-width: 0 !important;
    width: 100%;
  }
}

/* ---- 360: smallest phone ---- */
@media (max-width: 360px) {
  .container {
    padding: 0 14px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .contact-form {
    padding: 20px 14px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 16px;
    font-size: 0.82rem;
  }

  .partner-card {
    flex: 1 1 100%;
    height: 100px;
  }

  .hero-stat {
    flex: 1 1 50%;
  }

  .announcement-text {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
  }

  .footer {
    padding: 40px 0 24px;
  }

  .footer-grid {
    gap: 32px;
    margin-bottom: 32px;
  }

  .lang-switcher__btn {
    padding: 4px 7px;
    font-size: 0.65rem;
  }
}

/* ---- Short viewports: compact mobile nav ---- */
@media (max-height: 700px) {
  .nav-mobile {
    gap: 20px;
    padding: 70px 0 30px;
  }

  .nav-mobile a {
    font-size: 1.4rem;
  }

  .nav-mobile .nav-cta {
    font-size: 1.1rem;
    padding: 10px 28px;
  }
}

/* ========== DUES REGION NOTE ========== */
.dues-region-note {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
  line-height: 1.4;
  font-style: italic;
  font-family: 'Inter', sans-serif;
}

/* On light backgrounds (e.g. portal modal) */
.dues-region-note--light {
  color: var(--gray-400);
}

/* ========== TRUST / CREDENTIALS STRIP ========== */
.trust-strip {
  background: var(--white);
  padding: 56px 0;
  border-bottom: 1px solid var(--gray-200);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.trust-item:hover {
  background: var(--gray-50);
  transform: translateY(-4px);
}

.trust-icon {
  width: 72px;
  height: 72px;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}

.trust-item:hover .trust-icon {
  color: var(--green-dark);
}

.trust-icon svg {
  width: 100%;
  height: 100%;
}

.trust-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-dark);
  letter-spacing: 0.3px;
  line-height: 1.4;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

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

/* ========== CERTIFICATION DROPDOWN ========== */
.cert-dropdown {
  margin-bottom: 24px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-50);
  overflow: hidden;
  width: 100%;
}

.cert-dropdown summary {
  padding: 16px 20px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  list-style: none;
  transition: var(--transition);
  background: var(--gray-50);
  text-align: center;
}

.cert-dropdown summary::-webkit-details-marker {
  display: none;
}

.cert-dropdown summary:hover {
  background: var(--gray-100);
  color: var(--green-dark);
}

.cert-dropdown-content {
  padding: 24px 16px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  animation: fadeIn 0.3s ease;
  position: relative;
}

.cert-dropdown-content::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--navy));
}

.cert-dropdown-content.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cert-dropdown-content.cols-2::before {
  left: calc(25% + 16px);
  right: calc(25% + 16px);
}

.cert-dropdown-content.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cert-dropdown-content.cols-3::before {
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
}

.cert-dropdown-content.cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

.cert-dropdown-content.cols-5::before {
  left: calc(10% + 16px);
  right: calc(10% + 16px);
}

@media (max-width: 768px) {
  .cert-dropdown-content,
  .cert-dropdown-content.cols-2,
  .cert-dropdown-content.cols-3,
  .cert-dropdown-content.cols-4,
  .cert-dropdown-content.cols-5 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cert-dropdown-content::before,
  .cert-dropdown-content.cols-2::before,
  .cert-dropdown-content.cols-3::before,
  .cert-dropdown-content.cols-5::before {
    display: none;
  }
}
  

.cert-dd-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 0 4px;
  position: relative;
  z-index: 1;
}

.cert-dd-num {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy);
}

.cert-dd-text strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-dark);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cert-dd-text p {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: var(--gray-700) !important;
  margin-bottom: 0 !important;
}

/* ---- CERTIFICATION SUBLIST ---- */
.cert-sublist {
  margin-top: 8px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cert-sublist li {
  font-size: 0.8rem;
  color: var(--gray-400);
  /* Color un poco más suave para jerarquía */
  position: relative;
  padding-left: 14px;
  line-height: 1.4;
}

.cert-sublist li::before {
  content: '—';
  /* Guion elegante en lugar del típico punto */
  position: absolute;
  left: 0;
  color: var(--green);
  /* Toque de color corporativo */
  font-weight: 700;
}

/* --- Nuevo Componente Submit Application --- */
.portal-application-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.app-toggle-btn {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}

.app-toggle-btn:hover {
  background: var(--gray-50);
}

.app-toggle-btn .app-chevron {
  transition: transform 0.3s ease;
  color: var(--gray-500);
}

.app-toggle-btn.active .app-chevron {
  transform: rotate(180deg);
}

.app-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--white);
}

.app-dropdown-content.open {
  max-height: 1000px;
}

.app-list-item {
  display: flex;
  align-items: center;
  padding: 0 32px;
  text-decoration: none;
  transition: background 0.2s;
  background: var(--white);
}

.app-list-item:hover {
  background: var(--gray-50);
}

.app-abbr {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  color: var(--green-dark);
  font-weight: 600;
  width: 60px;
  flex-shrink: 0;
  padding: 16px 0;
}

.app-details {
  flex: 1;
  border-bottom: 1px dotted var(--green-dark);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-list-item:last-child .app-details {
  border-bottom: none;
}

.app-title {
  color: var(--navy-dark);
  font-weight: 600;
  font-size: 1rem;
}

.app-subtitle {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* --- Available Workshops SPA View --- */
.back-link {
  text-decoration: none;
  color: var(--navy-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 32px;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--green-dark);
}

/* --- Workshop Register Modal --- */
.reg-modal-box {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.form-section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  color: var(--green);
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 8px;
  margin-top: 24px;
  margin-bottom: 16px;
}

.reg-modal-box input,
.reg-modal-box select {
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.reg-modal-box input:focus,
.reg-modal-box select:focus {
  border-color: var(--navy);
  outline: none;
}

.reg-modal-box input[type="checkbox"] {
  width: auto;
  padding: 0;
}

.ws-register-submit-btn {
  background: var(--green);
  color: var(--navy-dark);
  padding: 14px 24px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  width: 100%;
  margin-top: 32px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}

.ws-register-submit-btn:hover {
  background: var(--green-dark);
}

#workshop-register-modal input,
#workshop-register-modal select,
#workshop-register-modal textarea {
  border: 1px solid #000000 !important;
  background-color: #ffffff;
}

#workshop-register-modal input:focus,
#workshop-register-modal select:focus,
#workshop-register-modal textarea:focus {
  border: 2px solid var(--green-dark) !important;
  outline: none;
}

.ws-main-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  color: var(--navy-dark);
  text-align: center;
  margin-bottom: 8px;
}

.ws-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  color: var(--gray-700);
  font-weight: 400;
  text-align: center;
  margin-bottom: 48px;
}

.ws-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.ws-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ws-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.ws-card-title {
  font-size: 1.2rem;
  color: var(--navy-dark);
  font-weight: 500;
}

.ws-card-date {
  font-size: 1rem;
  color: var(--gray-700);
}

.ws-card-location {
  font-size: 0.9rem;
  color: var(--navy-dark);
}

.ws-card-detail {
  font-size: 0.95rem;
  color: #16a34a;
  line-height: 1.5;
}

.ws-register-btn {
  background: #22c55e;
  color: white;
  padding: 10px 32px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  align-self: flex-start;
  margin-top: 12px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
}

.ws-register-btn:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(22, 163, 74, 0.3);
}

/* ---- MEJORA VISIBILIDAD: BORDES NEGROS PARA FORMULARIO MODAL ---- */
#workshop-register-modal input,
#workshop-register-modal select {
  border: 1px solid #000000 !important;
  background-color: #ffffff;
}

/* Y ya que estamos, le damos un toque verde cuando el usuario haga clic dentro (focus) */
#workshop-register-modal input:focus,
#workshop-register-modal select:focus {
  border: 2px solid var(--green-dark) !important;
  outline: none;
}

/* ---- ENLACE INTEGRADO EN LISTAS ---- */
.cert-inline-link {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 4px;
  transition: color var(--transition);
}

.cert-inline-link:hover {
  color: var(--navy-dark);
}

/* ========== TOAST NOTIFICATIONS (showToast helper) ========== */
.iptpa-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
  max-width: calc(100vw - 32px);
}

.iptpa-toast {
  display: flex;
  align-items: flex-start; /* keep icon + close pinned to first line on wrap */
  gap: 12px;
  min-width: 280px;
  max-width: 420px;
  padding: 14px 14px 14px 14px;
  background: var(--white);
  border-radius: 12px;
  border-left: 4px solid var(--gray-400);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(15, 29, 71, 0.06);
  color: var(--gray-700);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.iptpa-toast--show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.iptpa-toast--hide {
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
}

.iptpa-toast__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--gray-400);
  margin-top: 1px; /* optical alignment with first text line */
}

.iptpa-toast__msg {
  flex: 1;
  min-width: 0;
  color: var(--navy-dark);
  font-weight: 500;
  overflow-wrap: anywhere; /* gracefully wrap long JSON/URLs without scrolling */
  word-break: break-word;
  padding-top: 3px; /* center text against the round icon */
}

.iptpa-toast__close {
  background: transparent;
  border: none;
  color: var(--gray-400);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px; /* line up with the icon and first line */
  transition: background 0.2s ease, color 0.2s ease;
}

.iptpa-toast__close:hover {
  background: var(--gray-100);
  color: var(--navy-dark);
}

/* ---- Variants ---- */
.iptpa-toast--success {
  border-left-color: var(--green-dark);
}

.iptpa-toast--success .iptpa-toast__icon {
  background: var(--green-dark);
}

.iptpa-toast--error {
  border-left-color: #ef4444;
}

.iptpa-toast--error .iptpa-toast__icon {
  background: #ef4444;
}

.iptpa-toast--info {
  border-left-color: var(--navy);
}

.iptpa-toast--info .iptpa-toast__icon {
  background: var(--navy);
}

/* ---- Mobile: pin to full width along the bottom ---- */
@media (max-width: 480px) {
  .iptpa-toast-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
    align-items: stretch;
  }

  .iptpa-toast {
    min-width: 0;
    max-width: none;
    width: 100%;
  }
}

/* ========== CONFIRM MODAL (showConfirm helper) ========== */
@keyframes iptpa-modal-pulse-ring {
  0%   { transform: scale(0.95); opacity: 0.55; }
  70%  { transform: scale(1.25); opacity: 0;    }
  100% { transform: scale(1.25); opacity: 0;    }
}

@keyframes iptpa-modal-icon-pop {
  0%   { transform: scale(0.4) rotate(-12deg); opacity: 0; }
  60%  { transform: scale(1.12) rotate(4deg);  opacity: 1; }
  100% { transform: scale(1)    rotate(0);     opacity: 1; }
}

@keyframes iptpa-modal-shimmer {
  0%   { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(220%)  skewX(-20deg); }
}

.iptpa-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 20, 60, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: background 0.28s ease, backdrop-filter 0.28s ease;
}

.iptpa-confirm-overlay--show {
  background: rgba(10, 20, 60, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.iptpa-confirm-overlay--show .iptpa-confirm-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.iptpa-confirm-overlay--hide {
  background: rgba(10, 20, 60, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

.iptpa-confirm-overlay--hide .iptpa-confirm-modal {
  opacity: 0;
  transform: translateY(10px) scale(0.96);
}

.iptpa-confirm-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background:
    radial-gradient(ellipse at top, rgba(74, 222, 128, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(15, 29, 71, 0.04) 0%, transparent 60%),
    var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 30px 26px;
  text-align: center;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(15, 29, 71, 0.08),
    0 0 0 6px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.92);
  /* Spring-y entrance */
  transition: opacity 0.32s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Top gradient stripe (color matches variant) */
.iptpa-confirm-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--navy));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Subtle bottom-right orb for depth */
.iptpa-confirm-modal::after {
  content: '';
  position: absolute;
  bottom: -90px;
  right: -90px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* Variant: danger top stripe = red→navy */
.iptpa-confirm-modal:has(.iptpa-confirm-icon--danger)::before {
  background: linear-gradient(90deg, #ef4444, var(--navy));
}

.iptpa-confirm-modal:has(.iptpa-confirm-icon--danger)::after {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.10) 0%, transparent 70%);
}

/* Icon container with pulsing ring */
.iptpa-confirm-icon {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  z-index: 1;
  animation: iptpa-modal-icon-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.iptpa-confirm-icon::before,
.iptpa-confirm-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.iptpa-confirm-icon::before {
  border: 2px solid currentColor;
  opacity: 0.25;
  animation: iptpa-modal-pulse-ring 2.2s ease-out infinite;
}

.iptpa-confirm-icon::after {
  border: 1px solid currentColor;
  opacity: 0.15;
  animation: iptpa-modal-pulse-ring 2.2s ease-out infinite;
  animation-delay: 0.8s;
}

.iptpa-confirm-icon--danger {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(239, 68, 68, 0.06));
  color: #ef4444;
  box-shadow: 0 8px 22px rgba(239, 68, 68, 0.15);
}

.iptpa-confirm-icon--info {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.18), rgba(74, 222, 128, 0.06));
  color: var(--green-dark);
  box-shadow: 0 8px 22px rgba(74, 222, 128, 0.15);
}

.iptpa-confirm-title {
  position: relative;
  z-index: 1;
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--navy-dark);
  margin: 0 0 12px;
  line-height: 1.2;
}

.iptpa-confirm-msg {
  position: relative;
  z-index: 1;
  color: var(--gray-700);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 0 28px;
  white-space: pre-line; /* preserve \n line breaks from native confirm strings */
}

.iptpa-confirm-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.iptpa-confirm-btn {
  position: relative;
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
  min-width: 140px;
}

/* Shimmer overlay (revealed on hover for filled buttons) */
.iptpa-confirm-btn--danger::after,
.iptpa-confirm-btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-120%) skewX(-20deg);
  pointer-events: none;
}

.iptpa-confirm-btn--danger:hover::after,
.iptpa-confirm-btn--primary:hover::after {
  animation: iptpa-modal-shimmer 0.7s ease forwards;
}

.iptpa-confirm-btn:hover {
  transform: translateY(-2px);
}

.iptpa-confirm-btn:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 2px;
}

.iptpa-confirm-btn--cancel {
  background: var(--gray-100);
  color: var(--gray-700);
  border-color: var(--gray-200);
}

.iptpa-confirm-btn--cancel:hover {
  background: var(--gray-200);
  color: var(--navy-dark);
  border-color: var(--gray-400);
}

.iptpa-confirm-btn--danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.30);
}

.iptpa-confirm-btn--danger:hover {
  background: linear-gradient(135deg, #f87171, #ef4444);
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.45);
}

.iptpa-confirm-btn--primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--navy-dark);
  box-shadow: 0 6px 18px rgba(74, 222, 128, 0.30);
}

.iptpa-confirm-btn--primary:hover {
  background: linear-gradient(135deg, #86efac, var(--green));
  box-shadow: 0 12px 28px rgba(74, 222, 128, 0.45);
}

@media (max-width: 420px) {
  .iptpa-confirm-modal {
    padding: 32px 22px 22px;
    max-width: 100%;
  }

  .iptpa-confirm-icon {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
  }

  .iptpa-confirm-title {
    font-size: 1.3rem;
  }

  .iptpa-confirm-btn {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
  }
}