/* --- Global Resets & Fonts --- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
:root {
  --theme-green: #1b5e20;
  --theme-orange: #e65100;
  --bg-light: #f8f9fa;
  --card-hover-transform: translateY(-5px);
}

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

body {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

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

/* --- Topbar --- */
.topbar {
  background: var(--theme-green);
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
}

.topbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar .social a {
  color: rgba(255, 255, 255, 0.8);
  margin-right: 15px;
  font-size: 14px;
}

.topbar .social a:hover {
  color: #ff6f00;
}

/* --- Sticky Header Container --- */
.header-wrapper {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* --- Main Header (Logo Area) --- */
.site-header {
  padding: 12px 0;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-circle {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff6f00, var(--theme-orange));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.brand h1 {
  font-size: 18px;
  font-weight: 700;
  color: var(--theme-green);
  line-height: 1.1;
  margin: 0;
}

.brand p {
  font-size: 13px;
  color: #666;
  font-weight: 500;
  margin: 0;
}

.btn-donate {
  background: linear-gradient(90deg, #ff6f00, #ec5a00);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  text-align: center;
}

.btn-donate:hover {
  background: transparent; /* Fallback */
  background: linear-gradient(90deg, var(--theme-orange), #ff6f00);
  box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3);
  color: #fff;
}

/* --- Navigation Bar --- */
.navbar-custom {
  background: var(--theme-green);
}

.navbar-menu {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-item {
  position: relative;
}

.navbar-item > a {
  color: #fff;
  padding: 14px 20px;
  display: block;
  font-size: 15px;
  font-weight: 500;
}

.navbar-item > a:hover {
  background: #ff6f00;
}

/* --- Dropdown (Desktop) --- */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  display: none; /* Default hidden */
  border-top: 3px solid #ff6f00;
  z-index: 1001;
  padding-left: 0;
}

.submenu li a {
  color: #333;
  padding: 12px 15px;
  display: block;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.submenu li a:hover {
  background: #f4f4f4;
  color: #ff6f00;
  padding-left: 20px; /* Slight slide effect */
}

/* Hover effect only for desktop */
@media (min-width: 769px) {
  .navbar-item:hover .submenu {
    display: block;
    animation: fadeIn 0.3s;
  }
}

/* --- Mobile Specifics --- */
.hamburger {
  display: none;
  font-size: 24px;
  color: var(--theme-green);
  cursor: pointer;
  padding: 5px;
}

.cross {
  display: none;
}

/* Mobile Sidebar Design */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-gap {
    display: none; /* Hide desktop donate button */
  }

  .navbar-custom {
    background: transparent; /* Remove green bg behind hidden menu */
    height: 0;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 60px;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;

    /* Animation Logic */
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }

  .navbar-menu.show {
    transform: translateX(0);
  }

  .navbar-item {
    width: 100%;
    border-bottom: 1px solid #f1f1f1;
  }

  .navbar-item > a {
    color: #333; /* Dark text on white mobile menu */
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-item > a:hover {
    background: #f9f9f9;
    color: #ff6f00;
  }

  /* Cross Button */
  .cross {
    display: flex;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: #ffebee;
    color: #c62828;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
  }

  /* Mobile Submenu */
  .submenu {
    position: static;
    box-shadow: none;
    background: #f9f9f9;
    width: 100%;
    border-top: none;
    display: none;
  }

  /* Class added by JS */
  .navbar-item.open .submenu {
    display: block;
  }

  .navbar-item.open > a {
    color: #ff6f00;
    font-weight: 600;
  }

  /* Icon Rotation */
  .dropdown-toggle-icon {
    transition: transform 0.3s;
  }
  .navbar-item.open .dropdown-toggle-icon {
    transform: rotate(180deg);
  }

  /* Donate Button in Menu */
  .mobile-donate {
    padding: 20px;
  }
  .mobile-donate .btn-donate {
    display: block;
    width: 100%;
  }
}

/* Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9990;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.menu-overlay.show {
  display: block;
  opacity: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    margin-top: 10px;
  }
  to {
    opacity: 1;
    margin-top: 0;
  }
}

/* --- News Ticker Styles --- */
.news-ticker-area {
  background-color: var(--theme-green); /* Primary Green */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  overflow: hidden;
  height: 40px; /* Fixed concise height */
}

.news-ticker-area .container {
  height: 100%;
  /* Reuse your existing container styles */
}

.ticker-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
}

/* The "Updates" Badge */
.ticker-label {
  background-color: #ff6f00; /* Accent Orange */
  height: 100%;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  z-index: 10; /* Keeps it on top of moving text */
  position: relative;
  flex-shrink: 0; /* Prevents shrinking on mobile */
  clip-path: polygon(
    0 0,
    100% 0,
    92% 100%,
    0% 100%
  ); /* Adds a slight slant for style */
  padding-right: 25px; /* Compensate for slant */
}

/* The Sliding Area */
.ticker-content {
  flex-grow: 1;
  overflow: hidden; /* Hides text when it moves out of box */
  position: relative;
  padding-left: 15px;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 20px,
    black 95%,
    transparent
  ); /* Fades text edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 20px,
    black 95%,
    transparent
  );
}

.ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 25s linear infinite;
  padding-left: 100%; /* Starts text from off-screen */
}

/* Pause animation when user hovers to read */
.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  color: #fff;
  font-size: 14px;
  margin-right: 50px; /* Space between news items */
  position: relative;
  font-weight: 400;
}

.ticker-item:hover {
  color: #ff6f00; /* Orange on hover */
  text-decoration: underline;
}

/* The Animation */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Mobile Tweaks */
@media (max-width: 768px) {
  .ticker-label span {
    display: none; /* Hide word "Updates" on small phones, show only Icon */
  }
  .ticker-label {
    padding-right: 15px;
    clip-path: none; /* Remove slant on mobile for cleaner look */
  }
}

/* Hero Section */

.hero {
  position: relative;
  overflow: hidden;
}

.carousel-item {
  height: 400px;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.my-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(3, 7, 18, 0.56) 50%,
    rgba(3, 7, 18, 0.75) 100%
  );
  color: #fff;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.my-caption h2 {
  font-size: clamp(18px, 3.4vw, 34px);
  margin: 0;
  font-weight: 700;
}

.my-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
}

.about {
  padding: 56px 0;
  background: #f8faf9;
}

.about h3 {
  color: var(--theme-green);
  font-weight: 700;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #ff6f00;
  margin-bottom: 6px;
}

.muted {
  color: #6b7280;
}

@media (max-width: 991px) {
  .brand h1 {
    font-size: 16px;
  }

  .brand p {
    font-size: 11px;
  }
}

@media (max-width: 576px) {
  .brand {
    gap: 10px;
  }

  .navbar .nav-link {
    font-size: 13px;
  }

  .my-caption {
    padding: 16px;
  }

  .about {
    padding: 28px 0;
  }

  .btn-donate {
    padding: 8px 12px;
    font-size: 13px;
  }
}

.footer {
  position: relative;
  background-color: var(--theme-green) !important;
  padding: 50px 0;
}

.footer .logo h2 {
  color: #fff;
}

footer .logo img {
  width: 150px;
  margin-top: -35px;
  margin-bottom: 10px;
}

.ml-2 {
  margin-left: 10px;
}

.footer-container {
  max-width: 1170px;
  margin: auto;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
}

.footer-col {
  width: 25%;
  padding: 0 15px;
}

.footer-col p {
  color: #fff;
  text-align: start;
}

.footer-col h4 {
  font-size: 18px;
  color: #fff;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}

.footer-col h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: #ff6f00;
  height: 3px;
  width: 70px;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: start;
}

.footer-col ul li a i,
.footer-col ul li a span {
  color: #fff;
}

.footer-col ul li a:hover {
  padding-left: 4px;
}

.footer-col ul li a:hover i,
.footer-col ul li a:hover span {
  color: #fff;
}

.footer-col .social-links a {
  height: 40px;
  width: 40px;
  background-color: #fff;
  margin: 0 10px 10px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.5s ease;
  text-decoration: none;
}
.footer-col .social-links a i {
  color: #000;
}

.footer-col .social-links a:hover {
  color: #fff;
  border: 1px solid #fff;
  background-color: #ff6f00;
}

.footer-col .social-links a:hover i {
  color: #fff;
}

@media (max-width: 1009px) {
  .footer-col {
    width: 50%;
    margin-bottom: 30px;
  }
}

@media (max-width: 574px) {
  .footer-col {
    width: 100%;
  }
}

/* Our Members Design */

.members-hero {
  background: linear-gradient(135deg, var(--theme-green) 0%, #0d3b10 100%);
  color: white;
  padding: 3em 0 5rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  z-index: -1;
}

.hero-title {
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-highlight {
  color: var(--theme-orange);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  opacity: 0.9;
  font-weight: 300;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.member-card {
  background: #fff;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  position: relative;
  border-top: 4px solid transparent;
  border-top-color: var(--theme-orange);
}

.member-card:hover {
  transform: var(--card-hover-transform);
  box-shadow: 0 15px 30px rgba(27, 94, 32, 0.15);
}

.card-img-wrapper {
  padding-top: 25px;
  text-align: center;
  background: linear-gradient(to bottom, #fcfcfc 50%, #fff 50%);
}

.member-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--theme-green);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.member-card:hover .member-img {
  transform: scale(1.05);
  border: 4px solid var(--theme-green);
}

.card-body {
  text-align: center;
  padding: 1.5rem;
}

.member-name {
  color: #333;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.member-role {
  color: var(--theme-green);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  display: inline-block;
  background: rgba(27, 94, 32, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  text-align: left;
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
}

.info-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.info-list li i {
  width: 25px;
  color: var(--theme-orange);
  text-align: center;
  margin-right: 10px;
}

.verified-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  color: var(--theme-green);
  background: #fff;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .members-hero {
    padding: 4rem 0 6rem;
  }
}

/* Member Apply Design */

/* Main Card Container */
.registration-card {
  border: none;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-top: 3rem;
  margin-bottom: 3rem;
  background: #fff;
}

/* LEFT SIDEBAR DESIGN */
.sidebar-area {
  background: linear-gradient(160deg, var(--brand-green) 0%, #0d3b10 100%);
  color: #fff;
  padding: 3rem 2rem;
  position: relative;
}

.sidebar-area::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.brand-highlight {
  color: var(--brand-orange);
  font-weight: 700;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.benefits-list li {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 300;
}

.benefits-list li i {
  color: var(--brand-orange);
  background: rgba(255, 255, 255, 0.1);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 15px;
}

.contact-mini {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* RIGHT FORM DESIGN */
.form-area {
  padding: 3rem 2.5rem;
}

.section-label {
  color: var(--brand-green);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
  display: inline-block;
}

.form-control,
.form-select {
  background-color: #f8f9fa;
  border: 1px solid #eee;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
  background-color: #fff;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 4px rgba(27, 94, 32, 0.1);
}

.required-dot {
  color: var(--brand-orange);
}

/* --- NEW UPLOAD BOX STYLING --- */
.upload-box {
  border: 2px dashed #cbd5e1;
  background-color: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.upload-box:hover {
  border-color: var(--brand-green);
  background-color: #f0fdf4;
  transform: translateY(-2px);
}

.upload-icon-wrapper {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
}

/* Hide Image initially */
#profilePreview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.upload-placeholder-icon {
  font-size: 2rem;
  color: #94a3b8;
}

.upload-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

.upload-box:hover .upload-text {
  color: var(--brand-green);
}

.btn-submit {
  background: var(--brand-green);
  color: white;
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  transition: all 0.3s;
}

.btn-submit:hover {
  background: var(--brand-orange);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 81, 0, 0.3);
}

@media (max-width: 992px) {
  .sidebar-area {
    padding: 2rem;
    text-align: center;
  }
  .benefits-list li {
    justify-content: center;
  }
  .form-area {
    padding: 2rem 1.5rem;
  }
}

/* Contact Section */
.contact h3 {
  text-align: center;
  color: var(--theme-orange);
}

.contact-us {
  background: #fff;
  border-radius: 6px;
  padding: 20px 60px 30px 40px;
  box-shadow:
    rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
    rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.contact-us .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-us .content .left-side {
  width: 25%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  position: relative;
}

.content .left-side::before {
  content: "";
  position: absolute;
  height: 70%;
  width: 2px;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  background: #afafb6;
}

.content .left-side .address-details {
  margin: 14px;
  text-align: center;
}

.content .left-side .address-details i {
  font-size: 30px;
  color: var(--theme-green);
  margin-bottom: 10px;
}

.content .left-side .address-details .topic {
  font-size: 18px;
  font-weight: 500;
}

.content .left-side .address-details .text-one,
.content .left-side .address-details .text-two {
  font-size: 14px;
  color: #afafb6;
}

.contact-us .content .right-side {
  width: 75%;
  margin-left: 75px;
}

.content .right-side .topic-text {
  font-size: 23px;
  font-weight: 600;
  color: var(--theme-green);
}

.right-side .input-box {
  height: 50px;
  width: 100%;
  margin: 12px 0;
}

.right-side .input-box input,
.right-side .input-box textarea {
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  background: #f0f1f8;
  border-radius: 6px;
  padding: 0 15px;
  resize: none;
}

.right-side .input-box input:focus,
.right-side .input-box textarea:focus {
  border: 2px solid #373864;
}

.right-side .message-box {
  min-height: 110px;
}

.right-side .input-box textarea {
  padding-top: 6px;
}

.right-side .btn-donate {
  display: inline-block;
  margin-top: 12px;
  background: var(--theme-green);
}

.right-side .btn-donate:hover {
  background: transparent;
  border: 1px solid var(--theme-green);
  color: var(--theme-green);
}

@media (max-width: 950px) {
  .contact-us {
    width: 90%;
    padding: 30px 40px 40px 35px;
  }

  .contact-us .content .right-side {
    width: 75%;
    margin-left: 55px;
  }
}

@media (max-width: 820px) {
  .contact-us .content {
    flex-direction: column-reverse;
  }

  .contact-us .content .left-side {
    width: 100%;
    flex-direction: row;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .contact-us .content .left-side .address-details {
    width: 45%;
  }

  .contact-us .content .left-side::before {
    display: none;
  }

  .contact-us .content .right-side {
    width: 100%;
    margin-left: 0;
  }
}

.campaign-hero {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
  color: white;
  padding: 4rem 0;
  margin-bottom: 3rem;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 15px rgba(27, 94, 32, 0.2);
}

/* Card Styling */
.campaign-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Nice bouncy transition */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  background: #ffffff;
}

.campaign-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.poster-wrapper img {
  width: 100%;
}

.campaign-card:hover .poster-wrapper img {
  transform: scale(1.06);
}

.live-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.95);
  color: #d32f2f;
  padding: 6px 14px;
  border-radius: 50rem;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #d32f2f;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(211, 47, 47, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
  }
}

.join-btn {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
  border: none;
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(27, 94, 32, 0.2);
}

.join-btn:hover {
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(27, 94, 32, 0.3);
}
