/* ═══════════════════════════════════════════════════════
   ResQ About Page — Complete Style Sheet
   Dark Mode Included | Glass Effect | Responsive
════════════════════════════════════════════════════════ */

/* ===== DARK MODE VARIABLES ===== */
:root {
  --bg-body: linear-gradient(180deg, #99CAFF 0%, #FFFFFF 18%);
  --text-main: #1a1a2e;
  --text-light: #3F3C3C;
  --card-bg: #CCD7E2;
  --card-bg-light: #FBE1E1;
  --nav-bg: rgba(96, 162, 234, 0.85);
  --footer-bg: #252525;
  --btn-primary: #1075C7;
  --btn-primary-hover: #05213F;
  --border-light: rgba(0, 0, 0, 0.1);
  --mission-bg: #1075C7;
  --vision-bg: #CBD6E1;
}

body.dark-mode {
  --bg-body: linear-gradient(180deg, #0a0a1a 0%, #1a1a3a 100%);
  --text-main: #ffffff;
  --text-light: #cccccc;
  --card-bg: #1e2a4a;
  --card-bg-light: #2a1a3a;
  --nav-bg: rgba(15, 30, 60, 0.95);
  --footer-bg: #0a0a15;
  --btn-primary: #ff6b6b;
  --btn-primary-hover: #ee5a24;
  --border-light: rgba(255, 255, 255, 0.1);
  --mission-bg: #2a4a7a;
  --vision-bg: #1e3a5a;
}

/* Dark mode button style */
.dark-mode-btn {
  background: rgba(0, 0, 0, 0.2);
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-left: 10px;
}

.dark-mode-btn:hover {
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.3);
}

body.dark-mode .dark-mode-btn {
  background: rgba(255, 255, 255, 0.2);
}

/* Smooth transitions */
body,
.navbar,
.footer,
.mv-card,
.crisis-stat-card,
.about-cta {
  transition: background 0.3s ease, color 0.3s ease;
}

/* ───────────────────────────────────────────────────────
   RESET & BASE
─────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.5;
}

/* ───────────────────────────────────────────────────────
   SHARED CLASSES
─────────────────────────────────────────────────────── */
.section-tag-red {
  font-size: clamp(11px, 1.8vw, 13px);
  font-weight: 700;
  letter-spacing: 3px;
  color: #D44633;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

/* ───────────────────────────────────────────────────────
   NAVBAR
─────────────────────────────────────────────────────── */
.navbar-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 80px;
  padding: 10px 24px;
  width: 100%;
  max-width: 1200px;
  pointer-events: all;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  font-family: 'Potta One', cursive;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.logo-res {
  color: #1a56a0;
}

body.dark-mode .logo-res {
  color: #6ab0ff;
}

.logo-q {
  color: #F90404;
}

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

.nav-links li a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  padding: 8px 18px;
  border-radius: 40px;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  background: rgba(116, 180, 249, 0.67);
  transform: translateY(-2px);
}

.nav-links li.active a {
  background: rgba(59, 143, 234, 0.67);
  font-weight: 600;
}

.btn-signin {
  background: #000000;
  color: #FFFFFF;
  padding: 8px 24px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

body.dark-mode .btn-signin {
  background: #ff6b6b;
  color: #fff;
}

.btn-signin:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background: var(--text-main);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Mobile Responsive Navbar */
@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 85%;
    max-width: 300px;
    height: auto;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 20px;
    border-radius: 20px;
    transition: left 0.3s ease;
    z-index: 999;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .nav-links.mobile-active {
    left: 20px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    padding: 12px 20px;
    font-size: 16px;
    text-align: center;
  }
}

/* ───────────────────────────────────────────────────────
   HERO SECTION
─────────────────────────────────────────────────────── */
.about-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
}

.about-hero-badge {
  display: inline-block;
  background: rgba(119, 157, 193, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 30px;
  padding: 6px 22px;
  font-size: clamp(13px, 2vw, 15px);
  font-weight: 500;
  color: #D44633;
  margin-bottom: 25px;
}

.about-hero-title {
  font-family: 'Rammetto One', cursive;
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 25px;
}

.about-hero-desc {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--text-light);
  line-height: 1.8;
}

/* ───────────────────────────────────────────────────────
   WHO WE ARE SECTION
─────────────────────────────────────────────────────── */
.who-section {
  padding: 70px 20px;
}

.who-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto 70px;
}

.who-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
  line-height: 1.3;
}

.who-desc {
  font-size: clamp(14px, 2vw, 17px);
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-get-resq {
  display: inline-block;
  background: var(--btn-primary);
  color: #ffffff;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-get-resq:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-3px);
}

.who-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
}

/* Mission & Vision Cards */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.mv-card {
  border-radius: 30px;
  padding: 40px 35px;
  transition: transform 0.3s ease;
  backdrop-filter: blur(8px);
}

.mv-card:hover {
  transform: translateY(-5px);
}

.mv-mission {
  background: var(--mission-bg);
  color: #ffffff;
}

.mv-vision {
  background: var(--vision-bg);
  color: var(--text-main);
}

.mv-card h4 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
}

.mv-mission h4 {
  color: #ffffff;
}

.mv-vision h4 {
  color: var(--text-main);
}

.mv-card p {
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.5;
}

.mv-mission p {
  color: rgba(255, 255, 255, 0.9);
}

.mv-vision p {
  color: var(--text-light);
}

/* ───────────────────────────────────────────────────────
   CRISIS SECTION
─────────────────────────────────────────────────────── */
/* ───────────────────────────────────────────────────────
   CRISIS SECTION - FIXED LAYOUT
─────────────────────────────────────────────────────── */
.crisis-section {
  padding: 70px 20px;
}

.crisis-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 4.5vw, 40px);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 30px;
  max-width: 900px;
  text-align: left;
}

.crisis-stats {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.crisis-stat-card {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  background: var(--card-bg-light);
  border-radius: 25px;
  padding: 35px 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.crisis-stat-card:hover {
  transform: translateY(-5px);
}

.crisis-pill {
  display: inline-block;
  background: linear-gradient(135deg, #D44633 0%, #F28678 100%);
  color: #FEF5F5;
  border-radius: 50px;
  padding: 10px 30px;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 20px;
}

.crisis-stat-card p {
  font-size: clamp(14px, 2vw, 17px);
  color: var(--text-main);
}

.crisis-desc {
  font-size: clamp(14px, 2vw, 17px);
  color: var(--text-light);
  max-width: 1100px;
  margin: 0;
  text-align: left;
  line-height: 1.7;
}

/* Crisis container wrapper */
.crisis-container {
  max-width: 1300px;
  margin: 0 auto;
}

/* ───────────────────────────────────────────────────────
   WHY WE BUILT SECTION
─────────────────────────────────────────────────────── */
.why-section {
  padding: 70px 20px;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.why-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 25px;
}

.why-desc {
  font-size: clamp(14px, 2vw, 17px);
  color: var(--text-light);
  margin-bottom: 18px;
  line-height: 1.6;
}

.why-img-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.why-img-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.why-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(224, 48, 48, 0.3) 0%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

/* ───────────────────────────────────────────────────────
   CTA SECTION
─────────────────────────────────────────────────────── */
.about-cta {
  padding: 70px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.cta-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
}

.cta-desc {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--text-light);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--btn-primary);
  color: #ffffff;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn-primary svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

.cta-btn-primary:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-3px);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(203, 214, 225, 0.9);
  color: var(--text-main);
  padding: 12px 32px;
  border-radius: 50px;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(100, 130, 170, 0.25);
}

body.dark-mode .cta-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.cta-btn-secondary svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.cta-btn-secondary:hover {
  background: #b8c8d8;
  transform: translateY(-3px);
}

body.dark-mode .cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ───────────────────────────────────────────────────────
   FOOTER
─────────────────────────────────────────────────────── */
.footer {
  background: var(--footer-bg);
  color: #ccc;
  padding: 50px 40px 35px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: 'Potta One', cursive;
  font-size: clamp(28px, 3.5vw, 36px);
  margin-bottom: 12px;
}

.footer-logo .logo-res {
  color: #ffffff;
}

.footer-logo .logo-q {
  color: #F90404;
}

.footer-tagline {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: #AAAAAA;
  margin-bottom: 6px;
}

.footer-sub {
  font-size: clamp(13px, 1.8vw, 16px);
  color: #AAAAAA;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

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

.footer-col h5 {
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 6px;
}

.footer-col a {
  font-size: clamp(13px, 1.8vw, 15px);
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(4px);
  display: inline-block;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 25px;
}

.footer-copy {
  font-size: clamp(12px, 1.8vw, 14px);
  color: #888;
  text-align: center;
}

/* ───────────────────────────────────────────────────────
   SCROLL REVEAL ANIMATION
─────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ───────────────────────────────────────────────────────
   RESPONSIVE DESIGN
─────────────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {

  .who-inner,
  .why-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mv-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .crisis-stats {
    flex-direction: column;
    align-items: center;
  }

  .crisis-stat-card {
    width: 100%;
    max-width: 400px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar-wrapper {
    top: 12px;
    padding: 0 12px;
  }

  .navbar {
    padding: 8px 16px;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .logo-text {
    font-size: 20px;
  }

  .about-hero {
    padding: 100px 16px 50px;
  }

  .who-section,
  .crisis-section,
  .why-section,
  .about-cta {
    padding: 50px 16px;
  }

  .mv-card {
    padding: 25px 20px;
  }

  .footer {
    padding: 35px 20px 25px;
  }

  .footer-top {
    flex-direction: column;
    gap: 25px;
  }

  .footer-links {
    gap: 25px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn-primary,
  .cta-btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .about-hero-title {
    font-size: 28px;
  }

  .about-hero-desc {
    font-size: 13px;
  }

  .who-heading,
  .why-heading,
  .cta-heading,
  .crisis-heading {
    font-size: 24px;
  }

  .crisis-pill {
    font-size: 24px;
    padding: 8px 20px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}