/* ===============================
   SABSHILA THEME COLORS
   =============================== */
:root {
  --primary: #1e90ff;
  --accent: #ff4c4c;
  --dark: #1f2a44;
  --light-bg: #f9fafb;
  --text: #333;
  --white: #fff;
  --section-padding: 80px;
  --section-padding-mobile: 50px;
  --title-margin-bottom: 20px;
  --desc-margin-bottom: 40px;
}

/* ===============================
   GLOBAL STYLES
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  background: var(--light-bg);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  color: var(--dark);
  margin-bottom: 6px;
  margin-top: 0;
}
.section-desc {
  text-align: center;
  color: #666;
  font-size: 1rem;
  margin-bottom: 40px;
  margin-top: 0;
  line-height: 1.6;
}

section:nth-of-type(even) {
  background-color: #f9fafc;
}

@media (max-width: 768px) {
  section {
    padding: var(--section-padding-mobile) 0;
  }
}

/* ===============================
   HEADER
   =============================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  transition: all 0.3s ease;
  background: transparent;
  z-index: 1000;
}

.header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
}

/* Logo */
.logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1px;
  text-decoration: none;
}
.logo span {
  color: var(--accent);
}

/* Logo + Navbar color changes */
.header.scrolled .logo {
  color: var(--accent);
}
.header.scrolled .logo span {
  color: var(--primary);
}

/* Navbar */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.navbar a:hover {
  color: var(--accent);
}

.navbar a.active {
  color: var(--accent);
}

.navbar a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header.scrolled .navbar a {
  color: var(--dark);
}

.header.scrolled .navbar a.active,
.header.scrolled .navbar a:hover {
  color: var(--accent);
}

/* Non-scrolled white header text */
.header:not(.scrolled) .logo,
.header:not(.scrolled) .navbar a {
  color: var(--white);
}

/* Header layout */
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Responsive Navbar */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--white);
  cursor: pointer;
}

@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    display: none;
    background: var(--white);
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
  }

  .navbar ul li a {
    color: var(--text) !important;
  }

  .navbar ul.active {
    display: flex;
  }

  .navbar ul li {
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle i {
    transition: transform 0.3s ease;
  }

  .menu-toggle.open i {
    transform: rotate(180deg);
  }

  .header.scrolled .menu-toggle {
    color: var(--dark);
  }
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
  background: linear-gradient(rgba(31, 42, 68, 0.75), rgba(31, 42, 68, 0.75)),
    url("../images/hero-bg.webp") center center / cover no-repeat;
  min-height: 100vh;
  height: auto;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.7)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
}

.hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f2f2f2;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s ease forwards;
}

/* Watch Video Button */
.video-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  padding: 14px 30px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}
.video-btn i {
  font-size: 1.2rem;
  color: var(--accent);
}
.video-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.video-container {
  position: relative;
  width: 80%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
}
.video-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}
.close-modal {
  position: absolute;
  top: -40px;
  right: -10px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
.close-modal:hover {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.9rem;
  }
}

/* ===============================
   IMPACT / STATS SECTION
   =============================== */
.impact-section {
  margin-top: -110px; /* slight overlap under hero */
  position: relative;
  z-index: 5;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
}

.impact-card {
  padding: 60px 30px;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.impact-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.impact-card h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.impact-card p {
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Background colors */
.impact-card.red {
  background: var(--accent);
  color: var(--white);
}

.impact-card.blue {
  background: var(--primary);
  color: var(--white);
}

.impact-card.white {
  background: var(--white);
  color: var(--dark);
}

/* Buttons */
.btn-light,
.btn-dark {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-light {
  background: var(--white);
  color: var(--dark);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.9);
}

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

.btn-dark:hover {
  background: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .impact-card {
    text-align: center;
  }
}

/* ===============================
   ANIMATIONS
   =============================== */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 
Mission and Impact Section
 */

.mission-impact {
  background: var(--light-bg);
  padding: 100px 0;
}

.mission-impact-header {
  text-align: center;
  margin-bottom: 60px;
}

.mission-impact-header h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.mission-impact-header p {
  color: #555;
  max-width: 750px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

.mission-impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.mission-text h3 {
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.mission-text p {
  color: #444;
  font-size: 1rem;
  line-height: 1.8;
}

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

.stat-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 700;
}

.stat-card p {
  color: #555;
  font-weight: 500;
}

@media (max-width: 900px) {
  .mission-impact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .impact-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===============================
   What We Do (CONTINUOUS CAROUSEL)
   =============================== */
.causes {
  background: var(--light-bg);
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.cause-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow-x: hidden; /* hide horizontal scroll bar only */
  overflow-y: visible; /* allow top/bottom overflow */
  padding: 40px 0; /* space for hover */
  background: #f8f9fa;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scrollCarousel 30s linear infinite;
  will-change: transform;
}

.cause-carousel {
  display: flex;
  gap: 25px;
  width: max-content;
  animation: scroll 50s linear infinite;
}

.cause-card {
  flex: 0 0 350px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  z-index: 1;
  margin: 10px 20px;
}

.cause-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.cause-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cause-card:hover img {
  transform: scale(1.08);
}

.cause-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0077ff;
  margin: 18px 0 8px;
}

.cause-card p {
  font-size: 0.95rem;
  color: #555;
  padding: 0 25px 30px;
  line-height: 1.6;
}

.cause-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(0, 119, 255, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cause-card:hover::before {
  opacity: 1;
}

@media (max-width: 992px) {
  .cause-card {
    flex: 0 0 300px;
  }
}

@media (max-width: 600px) {
  .cause-card {
    flex: 0 0 260px;
  }
}

@keyframes scrollCarousel {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ================================
   PARTNERS & SPONSORS SECTION
================================ */
.partners {
  background: var(--light-bg);
  padding: 100px 0;
  text-align: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  justify-content: center;
  align-items: start;
  margin-top: 50px;
}

.partners-grid a {
  text-decoration: none;
}

.partner-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 40px 25px;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.partner-logo {
  width: 120px;
  height: 120px;
  overflow: hidden;
  background: #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  /* border-radius: 50%; */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: all 0.3s ease;
}

.partner-card:hover .partner-logo img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.partner-info h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.partner-info p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 450px;
  margin: 0 auto;
}

/* ================================
   RESPONSIVE OPTIMIZATION
================================ */

/* Tablets */
@media (max-width: 992px) {
  .partners {
    padding: 80px 0;
  }

  .partner-card {
    padding: 35px 20px;
  }

  .partner-info h3 {
    font-size: 1.2rem;
  }

  .partner-info p {
    font-size: 0.9rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .partners {
    padding: 60px 0;
  }

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

  .partner-card {
    margin: 0 auto;
    max-width: 90%;
    padding: 30px 20px;
  }

  .partner-logo {
    width: 100px;
    height: 100px;
  }

  .partner-info h3 {
    font-size: 1.1rem;
  }

  .partner-info p {
    font-size: 0.9rem;
    max-width: 90%;
  }
}

/* ===============================
   DONATION / CTA SECTION
   =============================== */
.donation-cta {
  position: relative;
  background: url("../images/hero-bg.webp") center/cover no-repeat;
  padding: 120px 20px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.donation-cta .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  line-height: 1.3;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f5f5f5;
  line-height: 1.7;
}

.btn-donate {
  background: var(--primary);
  color: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-donate:hover {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.2);
  transform: translateY(-3px);
}

/* ===============================
   DONATION MODAL
   =============================== */
.donation-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.donation-modal-content {
  background: #fff;
  color: var(--dark);
  padding: 40px 30px;
  border-radius: 12px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: fadeIn 0.4s ease;
}

.donation-modal-content h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.donation-modal-content p {
  color: #444;
  font-size: 1rem;
  margin-bottom: 10px;
}

.contact-number {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.2rem;
}

.close-donation-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  transition: 0.3s;
}

.close-donation-modal:hover {
  color: var(--accent);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ------------------------------
   Contact Section
------------------------------ */
.contact-section {
  padding: 100px 0;
  background: #f9fafc;
}

.contact-section .section-title,
.contact-section .section-desc {
  text-align: center;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 60px;
}

/* Left image column */
.contact-image {
  position: relative;
  background: url("../images/bg_400.webp") center/cover no-repeat;
  height: 380px;
  border-radius: 16px;
  /* overflow: hidden; */
  /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); */
}

/* .contact-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
} */

.contact-image .overlay-text {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: #fff;
  z-index: 1;
}

.contact-image h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.contact-image p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Right form column */
.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2d6cdf;
}

/* Submit button */
.btn-submit {
  background: #2d6cdf; /* same as donate button */
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #1e56c1;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-image {
    height: 300px;
  }

  .contact-form {
    padding: 30px;
  }
}

.form-status {
  margin-top: 20px;
  text-align: center;
  font-size: 0.95rem;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.form-status.success {
  color: #1b8e3e;
}

.form-status.error {
  color: #d93025;
}

.fade-in {
  opacity: 1;
  animation: fadeIn 0.5s ease forwards;
}

.fade-out {
  animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Real-time Validation Styling */
input.valid,
textarea.valid {
  border: 2px solid #22a366; /* green success */
  box-shadow: 0 0 6px rgba(34, 163, 102, 0.3);
}

input.invalid,
textarea.invalid {
  border: 2px solid #d93025; /* red error */
  box-shadow: 0 0 6px rgba(217, 48, 37, 0.3);
  animation: shake 0.2s ease-in-out 0s 2;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  50% {
    transform: translateX(4px);
  }
  75% {
    transform: translateX(-4px);
  }
  100% {
    transform: translateX(0);
  }
}

/* ===============================
   FOOTER SECTION
   =============================== */
.footer {
  /* background: var(--dark); */
  background: linear-gradient(180deg, #111c33 0%, #0d172b 100%);
  color: #fff;
  padding-top: 100px;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===== About & Socials ===== */
.footer-about {
  flex: 1 1;
  min-width: 260px;
}

.footer-about h3 {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.footer-about p {
  line-height: 1.7;
  color: #ddd;
}

.footer-socials {
  margin-top: 18px;
}

.footer-socials a {
  display: inline-block;
  margin-right: 10px;
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: 0.3s ease;
}

.footer-socials a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* ===== Quick Links ===== */
.footer-links {
  flex: 1 1 180px;
  min-width: 200px;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--accent);
}

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

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

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ===== Latest Events ===== */
.footer-events {
  flex: 1 1 300px;
  min-width: 280px;
}

.footer-events h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--accent);
}

.event-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.event-item img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  margin-right: 12px;
}

.event-item h5 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #fff;
}

.event-item p {
  font-size: 0.85rem;
  color: #ccc;
}

/* ===== Contact ===== */
.footer-contact {
  flex: 1 1;
  min-width: 240px;
}

.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--accent);
}

.footer-contact p {
  color: #ddd;
  margin-bottom: 8px;
}

.footer-contact i {
  margin-right: 8px;
  color: var(--accent);
}

/* ===== Bottom ===== */
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.9rem;
  color: #ccc;
}

.footer-bottom strong {
  color: var(--accent);
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ================================
   RESPONSIVENESS
================================ */

/* Tablets */
@media (max-width: 992px) {
  .footer {
    padding-top: 80px;
  }
  .footer-container {
    gap: 30px;
    justify-content: center;
  }
  .footer-about p {
    max-width: 500px;
    margin: 0 auto;
  }
  .footer-links,
  .footer-events,
  .footer-contact {
    text-align: center;
  }
}

/* Mobiles */
@media (max-width: 600px) {
  .footer {
    padding-top: 60px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 35px;
  }

  .footer-about h3 {
    font-size: 1.4rem;
  }

  .footer-links h4,
  .footer-events h4,
  .footer-contact h4 {
    font-size: 1.1rem;
  }

  .event-item {
    flex-direction: column;
    text-align: center;
  }

  .event-item img {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .footer-socials a {
    margin-right: 8px;
    width: 34px;
    height: 34px;
    line-height: 34px;
  }

  .footer-bottom {
    padding: 15px 10px;
    font-size: 0.85rem;
  }
}

/* ===============================
   DONATION BUTTON NAV STYLES
   =============================== */
.btn-donate {
  background: #ff4757;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-donate:hover {
  background: #ff6b81;
  color: #fff;
}

/* ===============================
   DONATION BANNER STYLES
   =============================== */
.floating-donation-card {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #2a6df4, #3a86ff);
  color: #fff;
  padding: 20px 22px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(42, 109, 244, 0.4);
  z-index: 1000;
  max-width: 270px;
  font-family: "Poppins", sans-serif;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 0.8s ease forwards;
  backdrop-filter: blur(6px);
  transition: all 0.4s ease;
}

.floating-donation-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.floating-donation-card p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0 0 12px 0;
}

.btn-small-donate {
  display: inline-block;
  background: #fff;
  color: #2a6df4;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-small-donate:hover {
  background: #1a4ed8;
  color: #fff;
  transform: translateY(-2px);
}

/* --- Desktop Animation --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Mobile Responsive Version --- */
@media (max-width: 768px) {
  .floating-donation-card {
    bottom: 12px;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(0);
    width: 90%;
    max-width: 360px;
    border-radius: 16px;
    text-align: center;
    animation: slideUpMobile 0.8s ease forwards;
  }

  @keyframes slideUpMobile {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(50px);
    }
    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }
}
