* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

section {
  margin: 0;
  scroll-margin-top: 100px;
  max-width: 100vw;
  overflow-x: hidden;
}

:root {
  /* Primary - Blood/Urgency */
  --primary-red: #ef4444;
  --secondary-red: #dc2626;
  --deep-red: #b91c1c;

    /* Secondary - Trust/Professional */
  --primary-blue: #0062a3;
  --secondary-blue: #004AAB;

    /* Neutrals */
  --text-dark: #111827;
  --text-gray: #6b7280;
  --bg-light: #fef2f2;
  --bg-blue-light: #eff6ff;
  --bg-white: #ffffff;
  --border-gray: #e5e7eb;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAVIGATION */
.navbar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 1000;
  padding: 10px 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  transition: all .3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  border: none;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo - Red for blood theme identity */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 34px;
  font-weight: 700;
  font-family: "Cinzel Decorative", serif;
  color: var(--primary-blue);
}

.logo img {
  width: 70px;
  height: 70px;
}

.nav-menu {
  display: flex;
  gap: 2px;
  background: white;
  border: 1px solid var(--border-gray);
  border-radius: 10px;
  padding: 3px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--primary-red);
  color: white;
}

.menu-toggle {
  display: none;
}

/* HERO SECTION */

.hero-section {
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: 100px;
  padding-bottom: 40px;
}

.hero-container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 28px);
  max-height: 655px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(420px, 560px) minmax(280px, 1fr);
  align-items: center;
  column-gap: clamp(18px, 3vw, 44px);
}

.hero-left {
  justify-self: start;
  align-self: end;
  display: grid;
  place-items: end center;
  width: 90%;
  pointer-events: none;
  transform: translateX(clamp(-250px, -12vw, -180px)) translateY(30px);
  height: 100%;
}

.arm-illustration {
  width: clamp(150px, 34vw, 960px);
  height: auto;
}

.hero-right {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 90%;
  pointer-events: none;
  transform: translateX(clamp(60px, 4vw, 50px));
  position: relative;
  z-index: 3;
}

.blood-bag {
  width: clamp(190px, 19vw, 160px);
  height: auto;
}

.hero-center {
  width: 100%;
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 30px;
}

/* Main title - Bold Red */
.title-blood,
.title-donation {
  font-size: clamp(56px, 5.6vw, 88px);
  font-weight: 800;
  line-height: 0.9;
  color: var(--primary-red);
}

/* "Saves" - Blue for trust/hope */
.title-saves {
  font-size: clamp(44px, 4.6vw, 70px);
  font-weight: 500;
  font-style: italic;
  color: var(--primary-blue);
}

.decorative-dots {
  display: grid;
  justify-items: center;
  row-gap: 2px;
  margin: 5px 0;
}

/* Dots - Red like blood drops */
.decorative-dots::before {
  content: "";
  width: 160px;
  height: 10px;
  background: radial-gradient(circle, var(--primary-red) 5px, transparent 6px) 0 50% / 20px 10px repeat-x;
}


.decorative-dots>.strength-pill {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--primary-blue);
  color: white;
  font-size: 14px;
  font-style: italic;
}

.hero-description {
  max-width: 52ch;
  margin: 6px auto 14px;
  font-size: 16px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Strength pill - Blue for professional touch */
.btn-donate {
  background: var(--primary-red);
  color: white;
  border-radius: 999px;
  padding: 12px 30px;
  font-weight: 700;
  border: none;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-donate:hover {
  background: var(--secondary-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.btn-donate-red {
  background: white;
  border-radius: 999px;
  padding: 12px 30px;
  font-weight: 700;
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
  transition: all 0.3s;
  text-decoration: none;
}

.btn-donate-red:hover {
  background: var(--primary-red);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

/* Responsive Hero */
@media (max-width: 767px) {
  .hero-container {
    margin-top: 70px;
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 24px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-left,
  .hero-right {
    display: none;
  }
  .hero-section {
    padding-bottom: 16px;
    padding-top: 32px;
  }
  .hero-center {
    padding: 0 10px;
    gap: 10px;
  }
  .hero-title {
    margin-top: 10px;
    gap: 0;
  }
  .title-blood,
  .title-donation {
    font-size: 32px;
    line-height: 1.1;
  }
  .title-saves {
    font-size: 22px;
    line-height: 1.1;
  }
  .hero-description {
    font-size: 14px;
    margin: 8px auto 10px;
    max-width: 90vw;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
  }
  .btn-donate,
  .btn-donate-red {
    width: 90%;
    padding: 10px 0;
    font-size: 15px;
  }
  .decorative-dots {
    margin: 8px 0 4px 0;
  }
  .decorative-dots::before {
    width: 100px;
    height: 8px;
    background-size: 14px 8px;
  }
  .decorative-dots > .strength-pill {
    font-size: 12px;
    padding: 7px 12px;
  }
}

/* IMPACT STRIP - Red Urgency Banner */

.impact-strip {
  position: relative;
  z-index: 10;
  background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
  border-top: 2px solid var(--deep-red);
  border-bottom: 2px solid var(--deep-red);
  color: white;
  overflow-x: hidden;
  white-space: nowrap;
  padding: 6px 0;
  width: 100%;
}

.impact-track {
  display: flex;
  width: max-content;
  max-width: 100vw;
  animation: train 20s linear infinite reverse;
}

.wagon {
  display: flex;
  flex-shrink: 0;
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 600;
}

.wagon span {
  margin: 0 32px;
}

@keyframes train {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.333%);
  }
}

/* VISION & MISSION - Alternating Red/Blue Cards */

.vision-mission-section {
  padding: 90px 20px;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text-dark);
}

/* Red underline accent */
.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-red);
  margin: 12px auto 0;
  border-radius: 2px;
}

.vision-mission-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.card {
  background: white;
  border: 2px solid var(--border-gray);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

/* Vision Card - Red Theme */
.card:nth-child(odd) {
  border-top: 4px solid var(--primary-red);
}

.card:nth-child(odd):hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(239, 68, 68, 0.15);
  border-color: var(--primary-red);
}

.card:nth-child(odd) .card-title {
  color: var(--primary-red);
}

/* Mission Card - Blue Theme */
.card:nth-child(even) {
  border-top: 4px solid var(--primary-blue);
}

.card:nth-child(even):hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 98, 163, 0.15);
  border-color: var(--primary-blue);
}

.card:nth-child(even) .card-title {
  color: var(--primary-blue);
}

.card-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
}

.card-text {
  color: var(--text-gray);
  line-height: 1.8;
}

/* PROBLEMS SECTION */

.problems-section {
  padding: 100px 20px;
  background: var(--bg-white);
}

.problems-header {
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-subtitle {
  font-size: 18px;
  color: var(--primary-blue);
  margin-top: 12px;
  line-height: 1.6;
}

.problems-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.problem-card {
  background: var(--bg-white);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--primary-red);
}

.problem-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(239, 68, 68, 0.12);
}

.problem-card:hover::before {
  opacity: 1;
}

/* Badge - Red for urgency */
.problem-badge {
  display: inline-block;
  background: var(--primary-blue);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.problem-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.problem-text {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.8;
}

/* HOW IT WORKS */

.how-it-works-section {
  padding: 80px 20px;
  background: var(--bg-white, #fff);
  text-align: center;
}

.section-title {
  margin-bottom: 50px;
  font-size: 32px;
  font-weight: 800;
  color: #333;
}

.flexbox-container3 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.steps-container {
  display: flex;
  gap: 30px;
}

.flex-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 260px;
}

.flex-box3 {
  width: 100%;
  height: 260px;
  background-color: #e0e0e0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 25px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.flex-box3:hover {
  transform: translateY(-5px);
}

.flex-box3:not(.box-bg2):not(.box-bg3):not(.box-bg4) {
  background-image: url("https://raktbharat.life/static/media/requestFormImage.3a223deb638d00a16740.png");
}

.box-bg2 {
  background-image: url("https://raktbharat.life/static/media/analyseFormData.b2d41ef484ffe6d58659.png");
}

.box-bg3 {
  background-image: url("https://raktbharat.life/static/media/informUsers.f5b72103cd5265b4107e.png");
}

.box-bg4 {
  background-image: url("https://raktbharat.life/static/media/connectPeople.0beb890f8362570f0e85.png");
}

.step-box {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--primary-blue, #0062a3);
  color: white;
  padding: 10px 25px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 2px -2px 10px rgba(0, 0, 0, 0.1);
}

.step-text {
  margin-top: 20px;
  text-align: center;
  padding: 0 10px;
}

.step-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.step-text p {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
}

/* Our Services */

.Our-services {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 60px 5%;
  background: var(--bg-light);
  box-sizing: border-box;
}

.services-text {
  margin-bottom: 40px;
  max-width: 800px;
}

.services-text p {
  color: var(--secondary-blue);
  font-weight: bold;
  font-size: 28px !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.services-text h3 {
  font-size: 20px !important;
  margin-top: 0;
  font-weight: 800;
  color: #333;
}

.flex-container2 {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.flex-box2 {
  background: #fff;
  border-radius: 15px;
  width: 320px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.3s ease;
}

.flex-box2:hover {
  transform: translateY(-5px);
}

.upper-section {
  width: 100%;
  height: 180px;
  background-color: var(--primary-blue);
}

.upper-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.lower-section {
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.lower-section h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #333;
}

.lower-section p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.read-more {
  margin-top: auto;
  background-color: var(--primary-blue);
  color: white;
  text-decoration: none;
  padding: 10px 30px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  transition: background 0.3s, transform 0.2s;
}

.read-more:hover {
  background-color: var(--primary-blue);
  opacity: 0.9;
}

/* RESPONSIVE DESIGN (Mobile & Tablet) */

@media screen and (max-width: 1024px) {
  .flexbox-container3 {
    gap: 40px;
  }

  .steps-container {
    gap: 40px;
  }
}

@media screen and (max-width: 768px) {
  .how-it-works-section {
    padding: 50px 15px;
  }

  .flexbox-container3 {
    flex-direction: column;
    align-items: center;
  }

  .steps-container {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 40px;
  }

  .flex-item {
    width: 100%;
    max-width: 320px;
  }

  .flex-box3 {
    height: 220px;
  }
}

/* FEATURES SECTION */

.features-section {
  padding: 100px 20px;
  background: var(--bg-light);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

/* Alternating card accents */
.feature-card:nth-child(3n+1) {
  border-top: 4px solid var(--primary-red);
}

.feature-card:nth-child(3n+1):hover {
  border-color: var(--primary-red);
  box-shadow: 0 15px 40px rgba(239, 68, 68, 0.12);
}

.feature-card:nth-child(3n+1) .feature-title {
  color: var(--primary-red);
}

.feature-card:nth-child(3n+2) {
  border-top: 4px solid var(--primary-blue);
}

.feature-card:nth-child(3n+2):hover {
  border-color: var(--primary-blue);
  box-shadow: 0 15px 40px rgba(0, 98, 163, 0.12);
}

.feature-card:nth-child(3n+2) .feature-title {
  color: var(--primary-blue);
}

.feature-card:nth-child(3n) {
  border-top: 4px solid var(--secondary-red);
}

.feature-card:nth-child(3n):hover {
  border-color: var(--secondary-red);
  box-shadow: 0 15px 40px rgba(220, 38, 38, 0.12);
}

.feature-card:nth-child(3n) .feature-title {
  color: var(--secondary-red);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-icon img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 10px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.feature-text {
  color: var(--text-gray);
  line-height: 1.6;
}

/* =============================================
   UNIFIED TEAM SECTION
   ============================================= */

/* 1. Main Container - Controls the background for the whole section */
.team-unified-section {
  background: var(--bg-light);
  /* seamless background color */
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* 2. Header Adjustment */
.Team-members {
  text-align: center;
  padding: 0 20px 40px 20px;
  /* Removed top padding, added bottom gap */
  width: 100%;
  background: transparent;
  /* Remove background from here */
}

/* 3. Flex Container for Cards */
.flex-container4 {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 0 20px;
  width: 100%;
}

/* 4. Individual Card Styling */
.flex-box4 {
  background-position: 50%;
  background-size: cover;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15);
  color: white;
  display: flex;
  flex-direction: column;
  height: 275px;
  position: relative;
  width: clamp(150px, 90vw, 185px);
  border: 2px solid transparent;
  transition: all 0.3s;
  border-radius: 20px;
}

.flex-box4:hover {
  border-color: var(--primary-red);
  box-shadow: 0 12px 32px rgba(239, 68, 68, 0.25);
}

/* Hover Content */
.hovering-content {
  height: 100%;
  padding: 20px;
  display: none;
  /* Hidden by default */
  border-radius: 20px;
  transition: .5s;
}

/* Hover Effects (Standard CSS syntax) */
.flex-box4:hover .hovering-content {
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  display: block;
  filter: none;
  transition: .5s;
}

.flex-box4:hover .bottom-left {
  display: none;
}

.hovering-content h3 {
  font-size: 17px;
  color: white;
}

.hovering-content p {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.social-icons2 {
  size: 10px;
  align-items: center;
  display: flex;
  gap: 15px;
  margin-top: 5px;
}

/* Bottom Left Text */
.bottom-left {
  bottom: 10px;
  left: 10px;
  position: absolute;
  text-align: left;
  transition: .5s;
}

/* 5. "Let's Know" Box Styling */
.clear-flexbox {
  display: flex;
  justify-content: center;
  padding: 60px clamp(20px, 10%, 120px) 0;
  /* Adjusted padding to fit flow */
  width: 100%;
}

.clear-box {
  background: linear-gradient(135deg, var(--bg-light), var(--bg-blue-light));
  width: 100%;
  padding: 30px 30px;
  border-radius: 40px;
  box-shadow: 0px 0px 20px rgba(239, 68, 68, 0.15);
  border: 1px solid var(--border-gray);
}

/* 6. Button Styling (If needed) */
.team-btn {
  display: flex;
  justify-content: center;
}

.team-button a {
  color: white;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
  border-radius: 40px;
  font-size: 15px;
  padding: 10px 24px;
  transition: all 0.3s;
}

.team-button a:hover {
  background: linear-gradient(135deg, var(--secondary-red), var(--deep-red));
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
  transform: translateY(-2px);
}

/* 7. Individual Image Backgrounds */
.dheeraj {
  background-image: url(Assets/dheeraj.jpg);
}

.vardhan {
  background-image: url(Assets/founderHyperVare.jpg);
}

.budharam {
  background-image: url(Assets/budharam.jpg);
}

.rachit {
  background-image: url(Assets/rachit.jpg);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
:root {
  --primary-red: #EF4444;
  --secondary-red: #DC2626;
  --deep-red: #B91C1C;
  --border-gray: #E5E7EB;
  --text-dark: #1F2937;
  --primary-blue: #0062A3;
}

.contact-section {
  padding: 80px 20px;
  background: white;
}

.contact-container {
  max-width: 1100px;
  /* Increased slightly for better spacing */
  margin: 0 auto;
  display: grid;
  /* Split: 1.2 parts Form, 0.8 parts Visuals */
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: stretch;
  /* Makes both columns equal height */
}

/* --- LEFT COLUMN: FORM --- */
.contact-form-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
}

.contact-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--primary-red);
}
.contact-subtitle {
  font-size: 1.2rem;
  color: #4b5563;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-input,
.form-textarea {
  padding: 18px 20px;
  border: 2px solid var(--border-gray);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #F9FAFB;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  /* Changed to red to match theme */
  background: #fff;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.btn-submit {
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 10px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

/* --- RIGHT COLUMN: VISUALS (Stacked) --- */
.contact-visuals {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.visual-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Top Right: The Icon Box */
.icon-box {
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  /* Takes up available space */
  max-height: 200px;
  /* Limits height so map isn't squashed */
}

.icon-box svg {
  height: 100px;
  width: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Bottom Right: The Map Box */
.map-box {
  flex: 1;
    min-height: 400px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.info-text h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 4px;
}

.info-text p {
  font-size: 1.1rem;
  margin: 2px 0 0 0;
  color: #6b7280;
}

.icon-circle {
  width: 50px;
  height: 50px;
  background-color: #f3f4f6;
  /* Light grey background for the circle */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  /* Space between icon and text */
  color: #374151;
  /* Icon color */
  font-size: 18px;
  flex-shrink: 0;
  /* Prevents circle from squishing */
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .contact-container {
    max-width: 1100px;
      margin: 0 auto;
      display: grid;
      /* Adjusting the ratio: 1fr for text, 1.5fr for map (makes map wider/closer) */
      grid-template-columns: 1fr 1.5fr;
      gap: 20px;
      /* Reduced from 40px/50px */
      align-items: center;
      /* Vertically centers the text with the map */
  }

  .contact-visuals {
    flex-direction: row;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .map-box,
  .icon-box {
    flex: 1;
    min-height: 200px;
  }
}

@media (max-width: 600px) {
  .contact-visuals {
    flex-direction: column;
    /* Stack completely on very small screens */
  }
}

/* =============================================
   LEGAL PAGES
   ============================================= */
.legal-section {
  padding: 120px 20px 60px;
  background-color: var(--bg-light);
  min-height: 60vh;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
  font-family: sans-serif;
}

.legal-title {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  color: var(--primary-red);
  margin-bottom: 10px;
  text-align: center;
}

.last-updated {
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 40px;
  font-size: 0.9rem;
}

.legal-content h2 {
  font-family: 'Cinzel', serif;
  color: var(--primary-blue);
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--bg-light);
  padding-bottom: 10px;
}

.legal-content p,
.legal-content ul {
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--text-gray);
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

.alert-box {
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-red);
  padding: 15px;
  margin: 20px 0;
  color: var(--secondary-red);
  font-weight: bold;
}

/* =============================================
   FOOTER - Two-Tone Design (Red top, Blue bottom)
   ============================================= */
.footer {
  background: linear-gradient(180deg, var(--secondary-red) 50%, var(--bg-blue-light) 2200%);
  color: white;
  padding: 40px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 63px;
  height: 63px;
}

.footer-brand {
  font-size: 28px;
  font-weight: 700;
  font-family: "Cinzel Decorative", serif;
}

.footer-center {
  display: flex;
  gap: 30px;
}

.footer-center a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-center a:hover {
  opacity: 0.8;
}

.footer-right {
  display: flex;
  gap: 15px;
}

.cta-button,
.donate-button {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

/* CTA button - White with red text */
.cta-button {
  background: white;
  color: var(--primary-red);
  border: none;
}

.cta-button:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Donate button - Outlined */
.donate-button {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.donate-button:hover {
  background: white;
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  color: white;
  transition: all 0.3s;
}

.social-links a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1200px) {
  .hero-container {
    grid-template-columns: 240px 1fr 180px;
  }

  .title-blood,
  .title-donation {
    font-size: 64px;
  }

  .title-saves {
    font-size: 52px;
  }
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    text-align: center;
    gap: 28px;
  }

  .hero-center {
    grid-column: 1 / -1;
    text-align: center;
  }

  .hero-buttons,
  .decorative-dots {
    justify-content: center;
  }

  .arm-illustration {
    max-width: 260px;
  }

  .blood-bag {
    max-width: 200px;
  }

  .connecting-tube {
    display: none;
  }

  .title-blood,
  .title-donation {
    font-size: 56px;
  }

  .title-saves {
    font-size: 46px;
  }
}

/* Accessibility helpers */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border-gray);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 2000;
}

/* =============================================
   SCROLL TO TOP BUTTON
   ============================================= */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  background: white;
  border-radius: 50%;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

.progress-ring__circle {
  stroke: var(--primary-red);
  stroke-dasharray: 188.4;
  stroke-dashoffset: 188.4;
  transition: stroke-dashoffset 0.1s linear;
}

.scroll-inner {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.scroll-inner svg {
  width: 22px;
  height: 22px;
}

.scroll-top.show {
  display: flex;
  animation: fadeUp 0.35s ease forwards;
}

.scroll-top:hover {
  transform: scale(1.1);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================
   MOBILE STYLES
   ============================================= */
@media (max-width: 768px) {

  .vision-mission-section,
  .problems-section,
  .how-it-works-section,
  .features-section,
  .contact-section {
    padding: 70px 16px;
  }

  .section-title {
    font-size: 32px;
  }

  .problem-card {
    padding: 32px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .contact-left {
    padding: 40px;
  }
}

/* Mobile Navbar */
@media (max-width: 768px) {

  .navbar {
    top: 0;
    padding: 10px 12px;
    width: 100%;
    max-width: 100vw;
  }

  .navbar.glass {
    border-radius: 15px;
    margin: 0;
  }

  .nav-container {
    position: relative;
  }

  .logo {
    font-size: 24px;
  }

  .logo img {
    width: 42px;
    height: 42px;
  }

  /* Hamburger - Red themed */
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    border: 2px solid var(--text-transparent);
    /* border-radius: 8px; */
    padding: 6px 8px;
    background: var(--bg-transparent);
    cursor: pointer;
  }

  .menu-bar {
    width: 18px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
  }

  /* Mobile menu dropdown */
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: auto;
    right: 6px;
    background: white;
    flex-direction: column;
    border-radius: 18px;
    padding: 12px;
    gap: 6px;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.15);
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.3s ease;
    z-index: 9999;
    border: 2px solid var(--primary-red);
  }

  .nav-menu.open {
    display: flex;
    opacity: 1 !important;
    transform: translateY(0) !important;
    width: 50%;
  }

  .nav-menu a {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 16px;
  }
}

/* Team Members Mobile */
@media (max-width: 768px) {
  .Team-members {
    padding: 60px 20px 20px;
  }

  .Team-members .team {
    width: 100%;
  }

  .Team-members .team h3 {
    font-size: 20px;
  }

  .Team-members .team p {
    font-size: 14px;
  }

  .flex-container4 {
    padding: 20px 10px;
    gap: 15px;
  }

  .flex-box4 {
    width: 100%;
    max-width: 200px;
    height: 250px;
    margin: 0 auto;
  }

  .hovering-content {
    padding: 15px;
  }

  .hovering-content h3 {
    font-size: 15px;
  }

  .hovering-content p {
    font-size: 9px;
    line-height: 1.4;
  }

  .social-icons2 {
    gap: 12px;
    margin-top: 8px;
  }

  .social-icons2 svg {
    width: 18px;
    height: 18px;
  }

  .bottom-left {
    padding: 10px;
  }

  .bottom-left h3 {
    font-size: 16px;
  }

  .bottom-left p {
    font-size: 12px;
  }

  .clear-flexbox {
    padding: 40px 16px;
  }

  .clear-box {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .clear-box h3 {
    font-size: 18px;
  }

  .clear-box p {
    font-size: 14px;
    line-height: 1.6;
  }

  .team-button a {
    font-size: 14px;
    padding: 8px 20px;
  }
}

/* Footer Mobile */
@media (max-width: 768px) {

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .footer-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .footer-logo {
    width: 42px;
    height: 42px;
  }

  .footer-brand {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
  }

  .footer-center {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px 26px;
  }

  .footer-center a {
    font-size: 14px;
    white-space: nowrap;
  }

  .footer-right {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .cta-button,
  .donate-button {
    padding: 10px 22px;
    font-size: 14px;
    border-radius: 999px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .social-links {
    justify-content: center;
  }
}

#hypervare-brand {
  color: rgb(255, 255, 255);
  font-size: 17px;
  font-family: "Black Ops One", system-ui;

}
