/* ============================================
   Global Grant Alliance - MAIN STYLESHEET
   ============================================ */

:root {
  --primary: #0d5c4b;
  --primary-light: #10b981;
  --primary-dark: #073b30;
  --accent: #d97706;
  --accent-light: #fbbf24;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #d97706;
  --text-dark: #0f172a;
  --text-mid: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --bg-light: #f8fafc;
  --bg-section: #f0fdf4;
  --border: #e2e8f0;
  --card-shadow: 0 4px 24px rgba(13, 92, 75, 0.10);
  --card-shadow-hover: 0 16px 48px rgba(13, 92, 75, 0.20);
  --gradient: linear-gradient(135deg, #0d5c4b 0%, #10b981 100%);
  --gradient-accent: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 3px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 1000;
  padding: 8px 0;
  transition: var(--transition);
  background: rgba(7, 59, 48, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.navbar.scrolled {
  background: rgba(7, 59, 48, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 20px 40px rgba(7, 59, 48, 0.3);
  top: 10px;
  width: 92%;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
}

.logo-sub {
  font-size: 11px;
  color: var(--accent-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn-ghost {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.nav-btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.nav-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/6646882/pexels-photo-6646882.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1080&w=1920') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 59, 48, 0.92) 0%, rgba(16, 185, 129, 0.75) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100px) rotate(720deg);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 120px 32px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary-large {
  background: var(--gradient-accent);
  color: var(--white);
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.35);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(245, 158, 11, 0.5);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: shine 2.5s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.btn-outline-large {
  background: transparent;
  color: var(--white);
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-outline-large:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px 40px;
  max-width: 500px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  flex: 1;
  padding: 0 16px;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  font-family: 'Playfair Display', serif;
}

.stat-item>span:not(.stat-number):not(.stat-label) {
  color: var(--accent-light);
  font-size: 1.5rem;
  font-weight: 800;
}

.stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-arrow {
  animation: bounce 1.5s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 0;
  position: relative;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 32px;
}

.section-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-header.light .section-badge {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-light);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-header.light .section-title {
  color: var(--white);
}

.section-header.light .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   ELIGIBILITY SECTION
   ============================================ */
.eligibility-section {
  background: var(--bg-light);
}

.eligibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.eligibility-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.eligibility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(13, 92, 75, 0.2);
}

.eligibility-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.eligibility-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eligibility-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
}

.eligibility-list li i {
  color: var(--success);
  margin-top: 2px;
  flex-shrink: 0;
}

.grant-amounts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.amount-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.amount-item:hover,
.amount-item.featured {
  background: var(--gradient);
  border-color: transparent;
}

.amount-item:hover .amount,
.amount-item.featured .amount,
.amount-item:hover .amount-label,
.amount-item.featured .amount-label {
  color: var(--white);
}

.amount {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
}

.amount-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.apply-cta {
  text-align: center;
  margin-top: 20px;
}

.glow-pulse {
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.35);
  }

  50% {
    box-shadow: 0 8px 48px rgba(245, 158, 11, 0.65);
  }
}

/* ============================================
   GRANT 101 SECTION
   ============================================ */
.grant101-section {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--accent) 100%);
  z-index: 0;
  opacity: 0.3;
}

.step-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.step-card:hover {
  background: var(--white);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-6px);
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(16, 185, 129, 0.08);
  position: absolute;
  top: 12px;
  right: 20px;
  line-height: 1;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(13, 92, 75, 0.2);
}

.step-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* ============================================
   POLICIES SECTION
   ============================================ */
.policies-section {
  background: var(--primary-dark);
}

.policies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.policy-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.policy-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-4px);
}

.policy-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  margin-bottom: 16px;
}

.policy-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}

.policy-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--bg-light);
}

.about-mission-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient);
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.mv-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-section);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 22px;
  margin-bottom: 20px;
}

.mv-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.mv-card p {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.8;
}

.values-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 36px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--primary-light);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  margin: 0 auto 16px;
}

.value-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}


/* ========================================================================= */
/* --- 5. TESTIMONIALS SLIDER & MOBILE RESPONSIVENESS (style.css native) --- */
/* ========================================================================= */
.testimonials-section {
  padding: 80px 20px;
  background: var(--primary);
  overflow: hidden;
}

.testimonials-slider {
  min-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.testimonial-card {
  min-width: 100%;
  /* Single card per viewport view */
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 40px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(13, 92, 75, 0.04);
  margin-bottom: 10px;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid #f0fdf4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-stars {
  margin-bottom: 14px;
}

.testimonial-stars i {
  color: #d97706;
  margin: 0 2px;
  font-size: 14px;
}

.testimonial-text {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #0f172a;
  font-size: 16px;
}

.testimonial-location {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.tc-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0d5c4b;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  outline: none;
}

.tc-btn:hover {
  background: #0d5c4b;
  color: #ffffff;
  border-color: #0d5c4b;
}

.tc-dots {
  display: flex;
  gap: 8px;
}

.tc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s;
}

.tc-dot.active {
  background: #0d5c4b;
  transform: scale(1.2);
}

/* Responsive Media Overrides (style.css native) */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 16px;
  }

  .testimonial-card {
    padding: 30px 20px;
    border-radius: 12px;
    max-width: 100%;
  }

  .testimonial-avatar {
    width: 70px;
    height: 70px;
    margin-bottom: 12px;
  }

  .testimonial-text {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .testimonial-name {
    font-size: 15px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-dark);
}

.footer-top {
  padding: 80px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.7;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-links-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col ul a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links-col ul a:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

.footer-newsletter h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.newsletter-form input {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.newsletter-form input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
  padding: 12px 20px;
  background: var(--gradient-accent);
  border: none;
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.contact-info i {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 32px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--accent-light);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

.delay-4 {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.delay-1 {
  transition-delay: 0.15s;
}

.animate-on-scroll.delay-2 {
  transition-delay: 0.3s;
}

.animate-on-scroll.delay-3 {
  transition-delay: 0.45s;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   AUTH PAGES (Login / Register)
   ============================================ */
.auth-page {
  min-height: 100vh;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
}

.auth-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/6646926/pexels-photo-6646926.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1080&w=1920') center/cover no-repeat;
  opacity: 0.12;
}

.auth-container {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0;
  max-width: 1100px;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.auth-left {
  flex: 1;
  background: var(--gradient);
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-left::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: -80px;
  right: -80px;
}

.auth-left::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  bottom: -50px;
  left: -50px;
}

.auth-left .logo {
  margin-bottom: 40px;
}

.auth-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.auth-left p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.auth-feature i {
  color: var(--accent);
  width: 20px;
}

.auth-right {
  flex: 1.2;
  background: var(--white);
  padding: 60px 48px;
}

.auth-right h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.auth-right p.auth-desc {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--bg-light);
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-btn {
  width: 100%;
  padding: 15px;
  background: var(--gradient);
  border: none;
  border-radius: 10px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 92, 75, 0.3);
}

.form-btn .btn-shine {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.auth-footer-text {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-light);
}

.auth-footer-text a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
}

.auth-footer-text a:hover {
  text-decoration: underline;
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #065f46;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #991b1b;
}

/* ============================================
   REGISTRATION - FUNDING PLAN
   ============================================ */
.reg-page {
  min-height: 100vh;
  background: var(--bg-light);
  padding: 40px 20px;
  font-family: 'Inter', sans-serif;
}

.reg-header {
  background: var(--gradient);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.reg-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  padding: 0 20px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
}

.progress-step::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.progress-step:last-child::before {
  display: none;
}

.progress-step.active::before,
.progress-step.done::before {
  background: var(--primary-light);
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  z-index: 1;
  transition: var(--transition);
  position: relative;
}

.progress-step.active .step-circle {
  background: var(--primary-light);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.progress-step.done .step-circle {
  background: var(--success);
  color: var(--white);
}

.step-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.progress-step.active .step-label {
  color: var(--primary-light);
  font-weight: 700;
}

.funding-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.plan-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
}

.plan-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.plan-card.selected {
  border-color: var(--primary-light);
  background: rgba(16, 185, 129, 0.04);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.plan-card.popular {
  border-color: var(--accent);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.plan-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 12px 0 4px;
}

.plan-name {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 600;
  margin-bottom: 12px;
}

.plan-check {
  width: 32px;
  height: 32px;
  background: var(--success);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  margin: 0 auto;
}

.plan-card.selected .plan-check {
  display: flex;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background: var(--bg-light);
}

.sidebar {
  width: 260px;
  background: var(--primary-dark);
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: var(--transition);
}

.sidebar .logo {
  padding: 0 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.sidebar-nav {
  flex: 1;
  list-style: none;
  padding: 0 12px;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  transition: var(--transition);
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.sidebar-nav li a.active {
  background: var(--primary-light);
  color: var(--white);
}

.sidebar-nav li a i {
  width: 20px;
  text-align: center;
  font-size: 16px;
}

.sidebar-logout {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-logout a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  padding: 10px 12px;
  border-radius: 8px;
}

.sidebar-logout a:hover {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

.main-content {
  margin-left: 260px;
  flex: 1;
  padding: 32px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  background: var(--white);
  border-radius: 16px;
  padding: 20px 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}

.topbar-left h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--text-dark);
}

.topbar-left p {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 2px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
}

.user-info {
  text-align: right;
}

.user-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
}

.user-role {
  font-size: 12px;
  color: var(--text-light);
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.dash-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.dash-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.dash-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 16px;
}

.dash-card-icon.blue {
  background: var(--gradient);
}

.dash-card-icon.green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.dash-card-icon.yellow {
  background: var(--gradient-accent);
}

.dash-card-icon.purple {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.dash-card h3 {
  font-size: 13px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.dash-card .amount {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.dash-card .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-pending {
  background: rgba(245, 158, 11, 0.1);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-approved {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-rejected {
  background: rgba(239, 68, 68, 0.1);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-locked {
  background: rgba(100, 116, 139, 0.1);
  color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.content-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}

.content-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-field {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg-light);
  font-size: 14px;
}

.profile-field label {
  color: var(--text-light);
  font-weight: 500;
}

.profile-field span {
  color: var(--text-dark);
  font-weight: 600;
}

.action-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  font-family: inherit;
  margin-bottom: 10px;
  text-decoration: none;
}

.action-btn.primary {
  background: var(--gradient);
  color: var(--white);
}

.action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 92, 75, 0.25);
}

.action-btn.secondary {
  background: var(--bg-light);
  color: var(--text-mid);
  border: 1px solid var(--border);
}

.action-btn.secondary:hover {
  background: var(--border);
}

.action-btn.danger {
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.action-btn.danger:hover {
  background: var(--danger);
  color: var(--white);
}

/* LOCKED ACCOUNT MESSAGE */
.locked-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.locked-overlay.visible {
  display: flex !important;
}

.locked-modal {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
}

.locked-modal i {
  font-size: 3rem;
  color: var(--danger);
  margin-bottom: 20px;
}

.locked-modal h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.locked-modal p {
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ============================================
   ADMIN DASHBOARD
   ============================================ */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th {
  background: var(--bg-light);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-mid);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: var(--bg-light);
}

.admin-table input[type="number"],
.admin-table select {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.admin-table input[type="number"]:focus,
.admin-table select:focus {
  border-color: var(--primary-light);
}

.btn-sm {
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-sm.save {
  background: var(--success);
  color: var(--white);
}

.btn-sm.activate {
  background: var(--success);
  color: var(--white);
}

.btn-sm.deactivate {
  background: var(--danger);
  color: var(--white);
}

.btn-sm.edit {
  background: var(--primary-light);
  color: var(--white);
}

.btn-sm:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* ============================================
   SUPPORT PAGE
   ============================================ */
.support-page {
  min-height: 100vh;
  background: var(--bg-light);
  padding: 0;
}

.support-hero {
  background: var(--gradient);
  padding: 100px 40px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.support-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.support-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 12px;
}

.support-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
}

.support-content {
  max-width: 900px;
  margin: -30px auto 0;
  padding: 0 32px 60px;
}

.support-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--card-shadow-hover);
  border: 1px solid var(--border);
}



/* ============================================
   MEDIA QUERIES
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .auth-container {
    flex-direction: column;
  }

  .auth-left {
    padding: 40px;
  }

  /* .testimonial-card {
    max-width: calc(50% - 12px);
  } */

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    top: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    transform: none !important;
    border-radius: 20px;
    padding: 6px 0;
  }

  .nav-container {
    padding: 10px 18px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
    z-index: 10002;
    position: relative;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 35, 28, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    align-items: center;
    justify-content: center;
    gap: 14px;
    z-index: 10000;
    margin: 0;
    padding: 60px 24px 180px;
    box-sizing: border-box;
    overflow-y: auto;
  }

  .nav-links.open li {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .nav-links.open li a {
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
  }

  .nav-links.open li a:hover,
  .nav-links.open li a.active {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
  }

  .nav-links.open~.nav-actions,
  .nav-links.open+.nav-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: 24px;
    left: 20px;
    right: 20px;
    z-index: 10001;
    gap: 8px;
  }

  .nav-links.open~.nav-actions a,
  .nav-links.open+.nav-actions a {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 11px 18px;
    font-size: 13.5px;
    box-sizing: border-box;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }

  .stat-divider {
    width: 80px;
    height: 1px;
  }


  .footer-grid {
    grid-template-columns: 1fr;
  }

  .auth-right {
    padding: 40px 28px;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .steps-grid::before {
    display: none;
  }
}

/* ============================================
   PAGE TRANSITIONS
   ============================================ */
body {
  animation: pageIn 0.5s ease;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   REUSABLE INNER PAGE HEADER (WORLDWIDE STANDARD)
   ============================================ */
.page-header {
  position: relative;
  padding: 160px 0 90px;
  background: var(--primary-dark);
  text-align: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(217, 119, 6, 0.08) 0%, transparent 50%);
  opacity: 0.8;
  z-index: 1;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  z-index: 2;
}

.page-header-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-light);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.page-title {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.2;
}

.page-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-header {
    padding: 130px 0 70px;
  }

  .page-title {
    font-size: 2.2rem;
  }

  .page-subtitle {
    font-size: 0.95rem;
  }
}

/* ============================================
   ABOUT TIMELINE
   ============================================ */
.about-timeline {
  position: relative;
  max-width: 850px;
  margin: 60px auto;
  padding: 20px 0;
}

.about-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(16, 185, 129, 0.15);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-icon {
  position: absolute;
  top: 25px;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 3px solid var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 15px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(13, 92, 75, 0.15);
  transition: var(--transition);
}

.timeline-item:nth-child(odd) .timeline-icon {
  right: -22px;
}

.timeline-item:nth-child(even) .timeline-icon {
  left: -22px;
}

.timeline-item:hover .timeline-icon {
  background: var(--primary-light);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.timeline-date {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-content {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(16, 185, 129, 0.2);
}

.timeline-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.timeline-content p {
  color: var(--text-mid);
  font-size: 13.5px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .about-timeline::before {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 70px;
    padding-right: 20px;
    text-align: left !important;
  }

  .timeline-item:nth-child(odd) .timeline-icon,
  .timeline-item:nth-child(even) .timeline-icon {
    left: 8px;
    right: auto;
  }
}

/* ============================================
   DECORATIVE HERO SHAPES
   ============================================ */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
  animation: pulseShape 10s ease-in-out infinite alternate;
}

.hero-shape-1 {
  top: -10%;
  left: -10%;
  width: 45vw;
  height: 45vw;
  background: rgba(16, 185, 129, 0.25);
}

.hero-shape-2 {
  bottom: -10%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: rgba(217, 119, 6, 0.15);
  animation-delay: -4s;
}

@keyframes pulseShape {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.1) translate(3%, 3%);
  }
}