* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  --primary-color: #c70039;
  --secondary-color: #091019;
  overflow-x: hidden;
  padding-right: 0 !important;
}

body {
  color: #222;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

body .body {
  width: 100%;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

body .menu {
  width: 0;
  overflow: hidden;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

body .menu ul {
  padding: 10px 20px;
}

body .menu ul li a {
  font-weight: 500;
  color: var(--primary-color);
  padding: 10px;
  text-align: center;
  font-size: 18px;
}

body .menu ul li a:hover {
  color: #091019;
}

body .menu ul li a.active {
  text-decoration: none;
  font-weight: 600;
}

body .cross {
  padding: 0;
  position: absolute;
  top: 4px;
  left: 4px;
  background-color: transparent;
  border: none;
  font-size: 20px;
  display: none;
}

body.show-menu .body {
  width: calc(100% - 250px);
}

@media (max-width: 575px) {
  body.show-menu .body {
    width: 100%;
  }
}

body.show-menu .menu {
  width: 250px;
}

@media (max-width: 575px) {
  body.show-menu .menu {
    position: absolute;
    right: 0;
    top: 0;
    background-color: #fff;
    height: 100vh;
  }
  body.show-menu .menu .cross {
    display: block;
  }
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:focus {
  -webkit-box-shadow: 0 0 0 0.25rem rgba(199, 0, 57, 0.4);
          box-shadow: 0 0 0 0.25rem rgba(199, 0, 57, 0.4);
  border-color: rgba(199, 0, 57, 0.6);
  background-color: rgba(199, 0, 57, 0.8);
}

.btn-primary:hover {
  background-color: #a5002f;
  /* slightly darker on hover */
  border-color: #a5002f;
}

.heading:after {
  content: "";
  width: 60px;
  height: 4px;
  background: #b30000;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.form-control:focus {
  -webkit-box-shadow: 0 0 0 0.25rem rgba(199, 0, 57, 0.4);
          box-shadow: 0 0 0 0.25rem rgba(199, 0, 57, 0.4);
  border-color: rgba(199, 0, 57, 0.6);
}

/* ===== HEADER ===== */
header {
  color: #fff;
}

header .top-header {
  background-color: #1f1f1f;
  padding: 10px 0;
}

header .top-header a {
  text-decoration: none;
  color: #ffeaea;
  font-size: 14px;
}

header .top-header a svg {
  width: 16px;
  height: 16px;
  margin-right: 2px;
}

header .top-header .flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

header .top-header .flex .left a {
  margin-right: 12px;
}

header .top-header .flex .right {
  font-size: 16px;
}

header .top-header .flex .right a {
  margin-right: 12px;
}

header nav.navbar {
  padding: 24px 0;
}

header nav.navbar .navbar-toggler {
  border: none;
}

header nav.navbar .navbar-toggler span {
  border-bottom: 2px solid #444;
  width: 30px;
  height: 25px;
  display: block;
  position: relative;
}

header nav.navbar .navbar-toggler span::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #444;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

header nav.navbar .navbar-toggler span::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #444;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

header nav.navbar .navbar-toggler:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
}

header nav.navbar .navbar-toggler[aria-expanded="true"], header nav.navbar .navbar-toggler.active span {
  background: transparent;
  border: none;
}

header nav.navbar .navbar-toggler[aria-expanded="true"]::before, header nav.navbar .navbar-toggler.active span::before {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

header nav.navbar .navbar-toggler[aria-expanded="true"]::after, header nav.navbar .navbar-toggler.active span::after {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  top: 12px;
}

header nav.navbar .btn {
  padding: 8px 20px;
  margin-right: 20px;
}

header .logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

header .logo img {
  width: 220px;
}

@media (max-width: 575px) {
  header .logo img {
    width: 200px;
  }
}

@media (max-width: 425px) {
  header .logo img {
    width: 158px;
  }
}

nav ul {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 0;
}

nav ul li a {
  color: var(--primary-color);
  /* color: #222; */
  text-decoration: none;
  font-weight: 500;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #f5b7b1;
}

header nav.navbar .navbar-nav {
  margin-right: 0;
  margin-left: auto;
}

header nav.navbar .navbar-nav li a {
  font-weight: 500;
  color: var(--primary-color);
}

header nav.navbar .navbar-nav li a.active {
  text-decoration: none;
  font-weight: 600;
}

/* ===== HERO ===== */
.hero {
  background: url("../assets/img/banner1.jpg") center/cover no-repeat;
  height: 80vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

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

.hero h3 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

/* ===== STATS ===== */
.stats {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(200px, 1fr))[auto-fit];
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
  padding: 50px 8%;
}

.stat-box h2 {
  color: #c70039;
  font-size: 2rem;
  margin-bottom: 8px;
}

/* ===== GALLERY ===== */
.gallery {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(135deg, #ffcccc 0%, #ffeaea 100%);
  position: relative;
  overflow: hidden;
}

.gallery .swiper .swiper-slide {
  border-radius: 12px;
  overflow: hidden;
}

.gallery .swiper .swiper-slide img {
  width: 100%;
  height: 250px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 12px;
  -webkit-transition: -webkit-transform 0.4s ease, -webkit-box-shadow 0.4s ease;
  transition: -webkit-transform 0.4s ease, -webkit-box-shadow 0.4s ease;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transition: transform 0.4s ease, box-shadow 0.4s ease, -webkit-transform 0.4s ease, -webkit-box-shadow 0.4s ease;
}

.gallery .swiper .swiper-slide:hover img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
  -webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
          box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery .swiper .swiper-button-prev,
.gallery .swiper .swiper-button-next {
  color: #b30000;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.gallery .swiper .swiper-button-prev svg,
.gallery .swiper .swiper-button-next svg {
  height: 20px;
}

.gallery .swiper .swiper-button-prev:hover,
.gallery .swiper .swiper-button-next:hover {
  background: #b30000;
  color: #fff;
}

.gallery h2 {
  font-weight: 600;
  margin-bottom: 32px;
}

.gallery h2 {
  font-weight: 700;
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  color: #b30000;
  margin-bottom: 50px;
}

.gallery h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #b30000;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.gallery-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 20px;
}

.gallery-container img {
  width: 300px;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
}

/* ===== EMERGENCY ===== */
.emergency {
  text-align: center;
  padding: 60px 8%;
  background-color: var(--primary-color);
}

.emergency form {
  background-color: #fff;
  max-width: 550px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}

.emergency form input {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  border: none;
}

.emergency form button {
  background-color: var(--secondary-color);
  border: none;
  color: #fff;
  padding: 10px 20px;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.emergency form button:hover {
  background-color: #171717;
  color: #fff;
}

.emergency input {
  padding: 10px;
  width: 250px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.emergency .note {
  margin-top: 10px;
  color: gray;
}

/* ===== ACCIDENTAL SUPPORT ===== */
.accident-support {
  background: #ffeaea;
  padding: 60px 8%;
}

@media (max-width: 575.99px) {
  .accident-support {
    padding: 40px 0;
  }
}

.accident-support input,
.accident-support textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* ===== VISION ===== */
.vision {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 40px;
  padding: 60px 8%;
}

.vision-text {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.vision-img {
  border-radius: 10px;
  overflow: hidden;
}

.vision-img img {
  width: 100%;
}

/* ===== CONTACT ===== */
.contact {
  text-align: center;
  padding: 60px 8%;
}

.contact p {
  margin: 8px 0;
}

/* ===== FOOTER ===== */
footer {
  background: var(--secondary-color);
  color: white;
  padding: 20px 8%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}

footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

footer ul li {
  margin-bottom: 12px;
}

footer ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

footer ul li a:hover {
  text-decoration: underline;
  color: #fff;
}

footer ul.links li i {
  font-size: 14px;
  margin-right: 8px;
}

footer .social a {
  color: white;
  margin: 0 10px;
  font-size: 1.2rem;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

footer .social a:hover {
  color: #f5b7b1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 10px;
  }
  nav ul {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .vision {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

/* ===== REGISTRATION PAGE ===== */
.registration {
  padding: 60px 8%;
  text-align: center;
  background: #fff7f7;
}

.registration h1 {
  color: #c70039;
  margin-bottom: 30px;
}

.tab-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.tab-btn {
  background: #ffeaea;
  border: none;
  padding: 24px 92px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
  background: #c70039;
  color: #fff;
}

.form {
  display: none;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  background: white;
  padding: 30px;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form.active {
  display: block;
}

.form h2 {
  color: #c70039;
  text-align: center;
  margin-bottom: 20px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.form label {
  font-weight: 500;
  color: #333;
}

.form button {
  display: block;
  margin: 0 auto;
  padding: 10px 30px;
  border: none;
  border-radius: 25px;
  background: #c70039;
  color: white;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.form button:hover {
  background: #a3002f;
}

/* Active nav link */
nav ul li a.active {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .form {
    padding: 20px;
  }
}

/* ===== LOGIN PAGE ===== */
.login-section {
  padding: 60px 8%;
  text-align: center;
}

.login-section h1 {
  color: #c70039;
  margin-bottom: 25px;
}

.login-switch {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.login-btn {
  background: #ffeaea;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.login-btn.active,
.login-btn:hover {
  background: #c70039;
  color: white;
}

.login-form {
  display: none;
  max-width: 400px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.login-form.active {
  display: block;
}

.login-form h2 {
  color: #c70039;
  text-align: center;
  margin-bottom: 20px;
}

.login-form input {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.login-form button {
  width: 100%;
  margin-top: 10px;
  border: none;
  padding: 10px;
  border-radius: 25px;
  background: #c70039;
  color: white;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.login-form button:hover {
  background: #a3002f;
}

.extra-links {
  text-align: right;
}

.extra-links a {
  color: #c70039;
  text-decoration: none;
  font-size: 0.9rem;
}

.extra-links a:hover {
  text-decoration: underline;
}

.new-user {
  text-align: center;
  margin-top: 10px;
  font-size: 0.9rem;
}

.new-user a {
  color: #c70039;
  text-decoration: none;
  font-weight: 600;
}

/* ===== DASHBOARD PAGE ===== */
.dashboard {
  padding: 60px 8%;
  text-align: center;
  background: #fff7f7;
}

.dashboard h1 {
  color: #c70039;
}

.dashboard .subtitle {
  color: gray;
  margin-bottom: 30px;
}

.dashboard-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.dash-btn {
  background: #ffeaea;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.dash-btn.active,
.dash-btn:hover {
  background: #c70039;
  color: white;
}

/* DASH CONTENT SECTIONS */
.dash-content {
  display: none;
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.dash-content.active {
  display: block;
}

.dash-content h2 {
  color: #c70039;
  text-align: center;
  margin-bottom: 20px;
}

.requirement-form input,
.requirement-form select,
.requirement-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.requirement-form button {
  width: 100%;
  margin-top: 10px;
  border: none;
  padding: 10px;
  border-radius: 25px;
  background: #c70039;
  color: white;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.requirement-form button:hover {
  background: #a3002f;
}

/* My Requests & Donor List*

/* ===== CHAT PAGE ===== */
.chat-section {
  padding: 40px 0;
  background: #fff7f7;
}

.chat-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 1000px;
  margin: auto;
  background: white;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Sidebar */
.chat-sidebar {
  width: 30%;
  background: #ffeaea;
  padding: 20px;
  border-right: 2px solid #f5b7b1;
}

.chat-sidebar h3 {
  color: #c70039;
  margin-bottom: 15px;
}

.chat-list {
  list-style: none;
}

.chat-list li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.chat-list li:hover,
.chat-list li.active {
  background: #c70039;
  color: white;
}

/* Chat Window */
.chat-window {
  width: 70%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.chat-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 15px 20px;
  background: #c70039;
  color: white;
}

.chat-user {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}

.chat-user h4 {
  margin: 0;
  font-weight: 600;
}

.chat-messages {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  background: #fff;
  height: 400px;
}

.message {
  margin-bottom: 15px;
  max-width: 70%;
  padding: 10px;
  border-radius: 10px;
  position: relative;
}

.message p {
  margin: 0;
}

.message.sent {
  background: #c70039;
  color: white;
  margin-left: auto;
  border-top-right-radius: 0;
}

.message.received {
  background: #ffeaea;
  border-top-left-radius: 0;
}

.message .time {
  display: block;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 5px;
  text-align: right;
}

.chat-input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 10px 20px;
  border-top: 1px solid #ddd;
  background: #fff;
}

.chat-input input[type="text"] {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 25px;
  outline: none;
}

.chat-input button {
  background: #c70039;
  border: none;
  color: white;
  margin-left: 10px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.chat-input button:hover {
  background: #a3002f;
}

.file-label {
  margin-left: 10px;
  color: #c70039;
  cursor: pointer;
  font-size: 1.2rem;
}

.mark-complete {
  background: white;
  color: #c70039;
  border: none;
  border-radius: 25px;
  padding: 6px 15px;
  cursor: pointer;
  font-weight: 600;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.mark-complete:hover {
  background: #f5b7b1;
}

/* Responsive */
@media (max-width: 768px) {
  .chat-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .chat-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 2px solid #f5b7b1;
  }
  .chat-window {
    width: 100%;
  }
  .message {
    max-width: 85%;
  }
}

/* ===== REGISTRATION PAGE ===== */
.registration-section {
  padding: 60px 10%;
  background: #fff7f7;
}

.registration-section h1 {
  color: #c70039;
  text-align: center;
  margin-bottom: 30px;
}

.registration-section #volunteer .fields {
  display: none;
}

.registration-section #volunteer .fields.active {
  display: block;
}

.registration-section .registration-tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.registration-section .tab-btn {
  background-color: #fff;
  border: none;
  padding: 24px 92px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-left: 80px;
  border: 1px solid #ffd6d6;
}

.registration-section .tab-btn i {
  font-size: 24px;
  color: #e63946;
  margin-right: 8px;
}

.registration-section .tab-btn span {
  color: #333;
}

.registration-section .tab-btn.active {
  background: #e63946;
  border-color: #e63946;
}

.registration-section .tab-btn.active i, .registration-section .tab-btn.active span {
  color: #fff;
}

.registration-section .tab-btn.active:hover {
  background: #e63946;
  border-color: #e63946;
}

.registration-section .tab-btn.active:hover i, .registration-section .tab-btn.active:hover span {
  color: #fff;
}

.registration-section .tab-btn:hover {
  color: white;
  background: #ffe1e1;
  -webkit-transform: translateY(-6px);
          transform: translateY(-6px);
}

.registration-section .tab-content {
  display: none;
  background: white;
  padding: 30px;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.registration-section .tab-content.active {
  display: block;
}

.registration-section .registration-form input,
.registration-section .registration-form select,
.registration-section .registration-form textarea {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.registration-section .registration-form button {
  width: 100%;
  background: #c70039;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.registration-section .registration-form button:hover {
  background: #a3002f;
}

@media (max-width: 600px) {
  .registration-section .registration-section {
    padding: 40px 5%;
  }
}

/* ===== LOGIN PAGE ===== */
.login-section {
  padding: 60px 10%;
  background: #fff7f7;
  min-height: 70vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.login-section .container {
  background: white;
  max-width: 400px;
  padding: 30px;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 15px rgba(199, 0, 57, 0.25);
          box-shadow: 0 0 15px rgba(199, 0, 57, 0.25);
  text-align: center;
}

.login-section h1 {
  color: #c70039;
  margin-bottom: 25px;
}

.login-form label {
  display: block;
  text-align: left;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.login-form input {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.login-form button {
  width: 100%;
  background: #c70039;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.login-form button:hover {
  background: #a3002f;
}

.register-prompt {
  margin-top: 15px;
  font-size: 14px;
}

.register-prompt a {
  color: #c70039;
  text-decoration: none;
}

.register-prompt a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .login-section {
    padding: 40px 5%;
  }
}

.carousel .carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.carousel .carousel-item img {
  height: 80vh;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (max-width: 575.99px) {
  .carousel .carousel-item img {
    height: 50vh;
  }
}

.carousel .carousel-caption {
  bottom: 50%;
  -webkit-transform: translateY(50%);
          transform: translateY(50%);
}

.carousel .carousel-caption h3 {
  font-size: 50px;
  font-weight: 600;
}

@media (max-width: 575.99px) {
  .carousel .carousel-caption h3 {
    font-size: 24px;
  }
}

.carousel .carousel-caption p {
  margin-bottom: 24px;
}

@media (max-width: 575.99px) {
  .carousel .carousel-caption p {
    font-size: 14px;
  }
}

.carousel-indicators [data-bs-target] {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: none;
  background-color: transparent;
  position: relative;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.carousel-indicators [data-bs-target]:before {
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  position: absolute;
  border-radius: 50%;
  -webkit-transform: scale(1);
          transform: scale(1);
}

.carousel-indicators [data-bs-target].active, .carousel-indicators [data-bs-target]:hover {
  -webkit-box-shadow: 0 0 0 2px white;
          box-shadow: 0 0 0 2px white;
}

.carousel-indicators [data-bs-target].active:before, .carousel-indicators [data-bs-target]:hover:before {
  -webkit-transform: scale(0.4);
          transform: scale(0.4);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.vision h2 {
  letter-spacing: 1px;
}

.vision p {
  line-height: 1.8;
}

.vision-img:hover img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
  -webkit-transition: -webkit-transform 0.6s ease;
  transition: -webkit-transform 0.6s ease;
  transition: transform 0.6s ease;
  transition: transform 0.6s ease, -webkit-transform 0.6s ease;
}

.vision-img img {
  -webkit-transition: -webkit-transform 0.6s ease;
  transition: -webkit-transform 0.6s ease;
  transition: transform 0.6s ease;
  transition: transform 0.6s ease, -webkit-transform 0.6s ease;
  -o-object-fit: cover;
     object-fit: cover;
}

.emergency h2,
.accident-support h2 {
  letter-spacing: 0.5px;
}

.emergency input,
.accident-support input,
.accident-support textarea {
  border-radius: 0.5rem;
  border: 1px solid #ddd;
}

.emergency form input:focus,
.accident-support input:focus,
.accident-support textarea:focus {
  border-color: var(--primary-color);
  -webkit-box-shadow: 0 0 0 0.2rem rgba(199, 0, 57, 0.25);
          box-shadow: 0 0 0 0.2rem rgba(199, 0, 57, 0.25);
}

/* Contact section styles */
.contact h2 {
  letter-spacing: 1px;
}

.contact-info i {
  color: #fff;
}

.hover-underline:hover {
  text-decoration: underline;
}

/* Subtle hover and visual detail */
.hover-highlight:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.contact-card {
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}

.contact-card:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Optional: add a gentle gradient background to separate from footer */
.contact {
  background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f8f9fa));
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

/* Footer styles */
.footer {
  background-color: var(--secondary-color);
  color: #fff;
}

.footer p {
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}

@media (max-width: 1024.99px) {
  .footer .logo img {
    max-width: 100%;
    width: 180px;
  }
}

@media (max-width: 575.99px) {
  .footer p {
    margin-bottom: 16px;
  }
}

.social-link {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: #fff;
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Contact section visuals */
.contact {
  background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f8f9fa));
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.contact-card {
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}

.contact-card:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.hover-highlight:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.contact input,
.contact textarea {
  border-radius: 0.5rem;
  border: 1px solid #ddd;
}

.contact input:focus,
.contact textarea:focus {
  border-color: var(--primary-color);
  -webkit-box-shadow: 0 0 0 0.2rem rgba(199, 0, 57, 0.25);
          box-shadow: 0 0 0 0.2rem rgba(199, 0, 57, 0.25);
}

body.design2 header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

body.design2 header nav.navbar .navbar-nav li a {
  color: #fff;
}

body.design2 .carousel .carousel-item img {
  height: 90vh;
}

.testimonial-section {
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
          box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  /* Swiper Navigation Styles */
}

.testimonial-section .swiper {
  width: 100%;
  max-width: 700px;
  padding-bottom: 50px;
}

.testimonial-section .swiper-slide {
  background: #fff;
  border-radius: 10px;
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.testimonial-section .swiper-button-prev,
.testimonial-section .swiper-button-next {
  color: #333;
}

.testimonial-section .swiper-button-prev svg,
.testimonial-section .swiper-button-next svg {
  width: 24px;
  height: 24px;
}

.testimonial-section .swiper-pagination-bullet {
  background: #333;
  opacity: 0.6;
}

.testimonial-section .swiper-pagination-bullet-active {
  background-color: var(--primary-color);
  opacity: 1;
}

.testimonial-title {
  text-align: center;
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #333;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  margin-bottom: 15px;
}

.testimonial-name {
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
  font-size: 16px;
}

.testimonial-text {
  font-size: 24px;
  color: #555;
  line-height: 1.5;
  font-family: "Merriweather", serif;
}

.contact-us .contact-form {
  border-radius: 10px;
}

.contact-us .contact-form h3 {
  font-weight: bold;
}

.contact-us .contact-form .left {
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: rgba(230, 230, 230, 0.8);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.contact-us .contact-form .left textarea {
  height: 150px;
}

.contact-us .contact-form .left .form-group {
  margin-bottom: 16px;
}

.contact-us .contact-form .left .btn-primary {
  padding-top: 10px;
  padding-bottom: 10px;
}

.contact-us .contact-form .left .btn-primary svg {
  width: 16px;
  stroke: #fff;
  margin-left: 12px;
}

@media (max-width: 767.99px) {
  .contact-us .contact-form .left {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0px;
  }
}

.contact-us .contact-form .right {
  background-color: var(--primary-color);
  color: #fff;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.contact-us .contact-form .right h3 {
  margin-bottom: 16px;
  position: relative;
  padding-left: 12px;
}

.contact-us .contact-form .right h3::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  right: auto;
  bottom: auto;
  width: 4px;
  height: 80%;
  background-color: white;
  opacity: 1;
}

.contact-us .contact-form .right .contact-info {
  margin-bottom: 50px;
  padding-left: 12px;
}

.contact-us .contact-form .right .contact-info a {
  color: #fff;
  text-decoration: none;
}

.contact-us .contact-form .right .contact-info .item {
  margin-bottom: 16px;
}

.contact-us .contact-form .right .contact-info .item i {
  margin-right: 8px;
}

.contact-us .contact-form .right .social-links {
  padding-left: 12px;
}

.contact-us .contact-form .right .social-links h3 {
  margin-bottom: 12px;
}

.contact-us .contact-form .right .social-links a {
  color: #fff;
  margin-right: 16px;
  font-size: 22px;
}

@media (max-width: 767.99px) {
  .contact-us .contact-form .right {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 8px;
  }
}

@media (max-width: 575.99px) {
  .contact-us .contact-form .right {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }
}

.contact-us .map iframe {
  height: 400px;
}

/* Donation Process Section */
.donation-process {
  background: #f9fafc;
}

.section-title {
  font-weight: 700;
  color: var(--primary-color);
  /* Bootstrap danger color */
  text-transform: capitalize;
  letter-spacing: 1px;
}

.process-step {
  background: #fff;
  border-radius: 12px;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  padding: 20px;
  padding-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.process-step h5 {
  margin-bottom: 16px;
}

.process-step span.step {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 2px;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  border-radius: 50%;
  padding-right: 11px;
  padding-top: 6px;
}

.process-step:hover {
  -webkit-transform: translateY(-8px);
          transform: translateY(-8px);
  -webkit-box-shadow: 0 8px 25px rgba(220, 53, 69, 0.2);
          box-shadow: 0 8px 25px rgba(220, 53, 69, 0.2);
}

/* Optional: make icons a bit decorative */
.step-icon {
  background: rgba(220, 53, 69, 0.1);
  padding: 15px;
  border-radius: 50%;
  font-size: 20px;
  color: var(--primary-color);
  width: 60px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Background */
.accident-support {
  background: linear-gradient(135deg, #f9fafb 0%, #fce8e6 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle floating background shapes for depth */
.accident-support::before,
.accident-support::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(220, 53, 69, 0.05);
  z-index: 0;
}

.accident-support::before {
  width: 250px;
  height: 250px;
  top: 10%;
  left: -100px;
}

.accident-support::after {
  width: 300px;
  height: 300px;
  bottom: 10%;
  right: -120px;
}

/* Section Title */
.section-title {
  color: var(--primary-color, #dc3545);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 2rem;
  text-align: center;
}

/* Form Card */
.support-form {
  border: 2px solid rgba(220, 53, 69, 0.1);
  position: relative;
  z-index: 1;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.support-form:hover {
  -webkit-transform: translateY(-6px);
          transform: translateY(-6px);
  -webkit-box-shadow: 0 10px 25px rgba(220, 53, 69, 0.15);
          box-shadow: 0 10px 25px rgba(220, 53, 69, 0.15);
}

/* Icon Above Form */
.support-icon {
  width: 100px;
  height: 100px;
  background: rgba(220, 53, 69, 0.1);
  padding: 20px;
  border-radius: 50%;
  -webkit-animation: pulse 2s infinite;
          animation: pulse 2s infinite;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 auto;
}

.support-icon i {
  font-size: 2rem;
  color: var(--primary-color, #dc3545);
}

/* Button Glow */
.btn-glow {
  background: -webkit-gradient(linear, left top, right top, from(#dc3545), to(#ff6b6b));
  background: linear-gradient(90deg, #dc3545, #ff6b6b);
  border: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.btn-glow:hover {
  background: -webkit-gradient(linear, left top, right top, from(#ff4d4d), to(#dc3545));
  background: linear-gradient(90deg, #ff4d4d, #dc3545);
  -webkit-box-shadow: 0 0 15px rgba(220, 53, 69, 0.4);
          box-shadow: 0 0 15px rgba(220, 53, 69, 0.4);
}

/* Pulse Animation */
@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
            box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
  }
  70% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
    -webkit-box-shadow: 0 0 0 15px rgba(220, 53, 69, 0);
            box-shadow: 0 0 0 15px rgba(220, 53, 69, 0);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes pulse {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
            box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
  }
  70% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
    -webkit-box-shadow: 0 0 0 15px rgba(220, 53, 69, 0);
            box-shadow: 0 0 0 15px rgba(220, 53, 69, 0);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

/* Responsive Tweaks */
@media (max-width: 767.98px) {
  .accident-support {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
}

.form-floating input:required + label::after,
.form-floating select:required + label::after {
  content: " *";
  color: red;
}

.form-floating button {
  border: none;
  background-color: transparent;
  position: absolute;
  top: 17px;
  right: 14px;
}

.modal.login .modal-dialog {
  max-width: 450px;
}

.modal.login .modal-header {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: none;
  padding: 22px 0px;
  position: relative;
  padding-bottom: 16px;
}

.modal.login .modal-header .modal-title {
  font-weight: 600;
  font-size: 24px;
  color: #c70039;
}

.modal.login .modal-header .btn-close {
  position: absolute;
  right: 30px;
  top: 26px;
}

.modal.login .modal-header .btn-close span {
  font-size: 50px;
  font-weight: 300;
}

.modal.login a {
  color: #000;
  text-decoration: none;
}

.modal.login .or {
  text-align: center;
  color: #888;
  margin-bottom: 10px;
}

.modal.login .or::before {
  content: "";
  width: 40%;
  height: 1px;
  background: #ccc;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

.modal.login .or::after {
  content: "";
  width: 40%;
  height: 1px;
  background: #ccc;
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}

.modal.login .modal-content {
  padding-bottom: 20px;
}

.modal.login .modal-content .modal-body {
  padding-left: 20px;
  padding-right: 20px;
}

.modal.login a.color-primary {
  color: #c70039;
  font-weight: 500;
  text-decoration: none;
}

.modal.login a.color-primary:hover {
  text-decoration: underline;
}

.modal.login .modal-footer {
  border: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-top: 0;
}

.modal.login .modal-footer .btn {
  padding: 10px 32px;
}

.pac-container {
  z-index: 1070 !important;
  /* higher than Bootstrap modal (1055) */
}

.clear-location {
  position: absolute;
  top: 50%;
  right: 8px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  color: #999;
  cursor: pointer;
  font-size: 18px;
  display: none;
}

.clear-location:hover {
  color: #dc3545;
}

.list-group-item.active {
  background-color: #c70039;
  border-color: #c70039;
}

.bg-primary {
  background-color: #c70039 !important;
}

#donateModal .modal-header {
  background: linear-gradient(135deg, #c70039, rgba(199, 0, 57, 0.9));
}

#donateModal .modal-content {
  background: #ffffff;
}

#donateModal .modal-content .modal-body .input-group .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

#donateModal .form-control,
#donateModal .form-select {
  border-radius: 0.75rem;
}

#donateModal .amount-btn {
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
}
/*# sourceMappingURL=style.css.map */