/* ==========================================================================
   AIRA PRESS CLUB - GLOBAL STYLESHEET
   All Indian Reporter's Association
   ========================================================================== */
/* Google Fonts are preconnected and loaded directly in header.ejs for maximum speed */

:root {
  --primary: #132040;
  --primary-light: #1f356b;
  --primary-dark: #0a1329;
  --accent-gold: #f59e0b;
  --accent-gold-dark: #d97706;
  --accent-red: #c81c2a;
  --accent-green: #10b981;
  --bg-dark: #0f172a;
  --bg-light: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

.hindi-text {
  font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
.top-bar {
  background-color: var(--primary-dark);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-contact {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-contact a:hover {
  color: var(--accent-gold);
}

.top-bar-badge {
  background-color: var(--accent-red);
  color: white;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Main Header */
.main-header {
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
}

.brand-logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(19, 32, 64, 0.18);
  background: white;
  padding: 2px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.brand-logo-group:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-badge {
  background: linear-gradient(135deg, var(--primary), var(--accent-red));
  color: white;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(19, 32, 64, 0.25);
  letter-spacing: -0.5px;
}

.brand-info h1 {
  font-size: 1.35rem;
  color: var(--primary);
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}

.brand-info p {
  font-size: 0.75rem;
  color: var(--accent-gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.nav-link:hover {
  transform: scale(1.08);
  color: var(--text-main);
}

.nav-link:active, .nav-link:focus, .nav-link.active {
  color: var(--text-main);
  outline: none;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-arrow {
  font-size: 0.75rem;
  margin-left: 2px;
  transition: transform 0.2s ease;
  display: inline-block;
}

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-color);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: #f8fafc;
  color: var(--accent-red);
  padding-left: 22px;
}

.nav-cta-btn {
  background: linear-gradient(135deg, var(--accent-red), #991b1b);
  color: white !important;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(200, 28, 42, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 28, 42, 0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--primary);
}

/* ==========================================================================
   TOP OFFICIAL AIRA BANNER (HERO BANNER)
   ========================================================================== */
.top-banner-section {
  background: #fdfbf7;
  width: 100%;
  overflow: hidden;
  border-bottom: 3px solid var(--accent-gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.banner-wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.top-banner-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   ABOUT INTRO SECTION (EXECUTIVE LIGHT / WHITE THEME)
   ========================================================================== */
.about-intro-section {
  background: #ffffff;
  padding: 60px 0 70px;
  border-bottom: 1px solid var(--border-color);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
}

.intro-visual-col {
  position: relative;
}

.intro-image-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
  border: 2px solid #e2e8f0;
  background: #f1f5f9;
}

.intro-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.intro-image-card:hover .intro-main-img {
  transform: scale(1.03);
}

.intro-image-overlay-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  color: white;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.intro-image-overlay-badge .badge-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.intro-image-overlay-badge strong {
  display: block;
  font-size: 0.88rem;
  color: #fbbf24;
  font-weight: 700;
}

.intro-image-overlay-badge small {
  display: block;
  font-size: 0.74rem;
  color: #cbd5e1;
}

.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}

.intro-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.intro-title span {
  color: var(--accent-red);
}

.intro-p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 14px;
}

.intro-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.focus-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: all 0.2s ease;
}

.focus-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.focus-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.focus-card h5 {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.focus-card p {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
}

.intro-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn-outline-dark {
  background: white;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  font-weight: 700;
}

.btn-outline-dark:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-2px);
}

/* Legacy Hero Section (If needed elsewhere) */
.hero-section {
  background: linear-gradient(135deg, rgba(10, 19, 41, 0.92), rgba(19, 32, 64, 0.85)), url('https://images.unsplash.com/photo-1585829365295-ab7cd400c167?q=85&w=1600&auto=format&fit=crop') center/cover no-repeat;
  color: white;
  padding: 70px 0 80px;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-motto {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--accent-gold);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.hero-subtitle {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin-bottom: 36px;
  line-height: 1.6;
}

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

.btn {
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red), #a81523);
  color: white;
  box-shadow: 0 4px 14px rgba(200, 28, 42, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 28, 42, 0.45);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #1e1d30;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.45);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
  background: white;
  color: var(--primary-dark);
}

/* ==========================================================================
   FEATURE CARDS SECTION
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-light {
  background-color: var(--surface);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  color: var(--accent-red);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.feature-img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.feature-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-body h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.feature-body p {
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
}

/* ==========================================================================
   MEMBERSHIP WORKFLOW & STEPS
   ========================================================================== */
.membership-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.step-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-red);
}

.step-number {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--primary), var(--accent-red));
  color: white;
  font-weight: 800;
  font-size: 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(19, 32, 64, 0.2);
}

.step-card h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   FORM STYLES (MEMBERSHIP & CONTACT)
   ========================================================================== */
.form-container {
  background: white;
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-header-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.form-header-badge h2 {
  font-size: 1.45rem;
  color: var(--primary);
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.form-label span.req {
  color: var(--accent-red);
}

.form-control {
  width: 100%;
  padding: 9px 13px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition);
  background-color: #fafbfc;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(19, 32, 64, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 52px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Physical Form Top Section with Photo Box on Top-Right */
.form-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 170px;
  gap: 14px;
  margin-bottom: 12px;
  align-items: stretch;
}

.form-top-inputs {
  grid-column: 1 / span 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-top-photo-col {
  grid-column: 3;
}

.physical-photo-box {
  background: #f8fafc;
  border: 1.5px dashed #94a3b8;
  border-radius: 8px;
  padding: 10px 8px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.physical-photo-box:hover {
  border-color: var(--primary);
  background: #f1f5f9;
}

.photo-affix-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 4px;
}

.photo-affix-frame {
  width: 96px;
  height: 120px;
  background: white;
  border: 1.5px dashed #cbd5e1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.photo-affix-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-choose-photo {
  background: var(--primary);
  color: white;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  transition: var(--transition);
  width: 100%;
  margin-top: 4px;
}

.btn-choose-photo:hover {
  background: var(--primary-light);
}

.photo-sub-hint {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 2px;
  display: block;
}

/* Compact Aadhar Upload */
.compact-upload-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}

.compact-upload-box:hover {
  border-color: var(--primary);
  background: #f1f5f9;
}

.compact-upload-icon {
  width: 40px;
  height: 40px;
  background: #e0e7ff;
  border: 1px solid #818cf8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.compact-upload-info {
  flex: 1;
}

.compact-upload-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.compact-upload-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Oath / Declaration Box (Compact) */
.oath-box {
  background-color: #fffbeb;
  border: 1.5px dashed #f59e0b;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 0.84rem;
  color: #78350f;
  line-height: 1.6;
}

.oath-box h4 {
  color: #92400e;
  margin-bottom: 4px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Document & Photo Upload Cards */
.upload-card-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  margin-top: 4px;
}

.upload-card-box:hover {
  border-color: var(--primary);
  background: #f1f5f9;
}

.upload-photo-frame {
  width: 82px;
  height: 104px;
  background: white;
  border: 2px dashed #94a3b8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.upload-card-info {
  flex: 1;
}

.upload-card-info .upload-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.upload-card-info .upload-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Oath / Declaration Box */
.oath-box {
  background-color: #fffbeb;
  border: 1.5px dashed #f59e0b;
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 28px 0;
  font-size: 0.92rem;
  color: #78350f;
  line-height: 1.7;
}

.oath-box h4 {
  color: #92400e;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  margin-top: 12px;
}

.checkbox-label input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* File Upload Preview */
.upload-card {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  background-color: #f8fafc;
  cursor: pointer;
  transition: var(--transition);
}

.upload-card:hover {
  border-color: var(--primary);
  background-color: #f1f5f9;
}

.upload-icon {
  font-size: 2rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* QR Code Modal for Payment */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 19, 41, 0.75);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalPop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.qr-box {
  background: #f8fafc;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  display: inline-block;
  margin: 12px 0;
  max-width: 100%;
}

.qr-img {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
}

.amount-pill {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 1.3rem;
  font-weight: 800;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

/* ==========================================================================
   TRACKING & VERIFICATION STYLES
   ========================================================================== */
.track-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-top: 24px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.status-pending {
  background-color: #fef3c7;
  color: #92400e;
}

.status-approved {
  background-color: #d1fae5;
  color: #065f46;
}

.status-rejected {
  background-color: #fee2e2;
  color: #991b1b;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  padding: 70px 0 24px;
  border-top: 4px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-links {
  list-style: none;
}

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

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

/* Structured Footer Head Office Contact */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-icon-box {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-details {
  flex: 1;
}

.footer-contact-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-gold);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.footer-contact-val {
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin: 0;
}

.footer-contact-val a {
  color: #f1f5f9;
  transition: var(--transition);
}

.footer-contact-val a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

.social-icons-group {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-btn svg {
  display: block;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.social-btn.facebook:hover {
  background-color: #1877f2;
}

.social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-btn.twitter-x:hover {
  background-color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .hero-title { font-size: 2.3rem; }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .membership-steps { grid-template-columns: 1fr; }
}

/* Mobile drawer header hidden on desktop */
.mobile-drawer-top {
  display: none;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 19, 41, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999;
}

.nav-backdrop.active {
  display: block;
}

@media (max-width: 768px) {
  .mobile-toggle { 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #f1f5f9;
    color: var(--primary);
  }

  .mobile-drawer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
  }

  .drawer-close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 290px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 16px;
    box-shadow: 6px 0 30px rgba(0, 0, 0, 0.25);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
    gap: 4px;
  }

  .nav-menu.active { 
    left: 0; 
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--text-main);
    border-bottom: 1px solid #f8fafc;
    display: block;
    width: 100%;
  }

  .nav-link:hover, .nav-link.active {
    background: #eff6ff;
    color: var(--accent-red);
    transform: none;
  }

  /* Compact Top Bar on Phones */
  .top-bar-contact span:first-child {
    display: none; /* Hide long street address on phones */
  }

  .top-bar-contact {
    flex-direction: row;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.82rem;
  }

  .top-bar-right {
    display: none;
  }

  /* Form controls font size >= 16px prevents iOS Safari auto-zoom */
  .form-control, input, select, textarea {
    font-size: 16px !important;
  }

  .hero-title { font-size: 1.85rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .form-top-grid { grid-template-columns: 1fr; }
  .form-top-inputs { grid-column: 1; }
  .form-top-photo-col { grid-column: 1; order: -1; }
  .physical-photo-box { width: 180px; margin: 0 auto 12px auto; }
  .compact-upload-box { flex-direction: column; align-items: flex-start; gap: 8px; }
  .upload-card-box { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px; }
  .form-container { padding: 20px 14px; }

  /* About Intro Section on Phone */
  .about-intro-section {
    padding: 30px 0 40px;
  }

  .intro-main-img {
    height: 230px;
  }

  .intro-image-overlay-badge {
    padding: 8px 12px;
    bottom: 8px;
    left: 8px;
    right: 8px;
    gap: 8px;
  }

  .intro-image-overlay-badge .badge-icon {
    font-size: 1.2rem;
  }

  .intro-image-overlay-badge strong {
    font-size: 0.8rem;
  }

  .intro-image-overlay-badge small {
    font-size: 0.68rem;
  }

  .intro-title {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  .intro-focus-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .intro-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .intro-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Modals Mobile Sizing */
  .modal-content {
    max-width: 92vw;
    padding: 24px 16px;
    border-radius: 14px;
  }

  .qr-box {
    padding: 10px;
  }

  .qr-img {
    width: 180px;
    height: 180px;
  }
}

/* Telephone Links Reset - Prevent Mobile Browser / Dialer overlay dots & badges */
a[href^="tel"] {
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
