/* ----- Custom Styles for Bengal Hindu Sena ----- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fff8ef;
  color: #2d2d2d;
}

/* ----- TOP BAR ----- */
.top-bar {
  background: #6b2100;
  color: #fff;
  padding: 8px 0;
}
.top-bar a {
  color: #fff;
  margin-left: 14px;
  transition: opacity 0.2s;
}
.top-bar a:hover {
  opacity: 0.7;
}

/* ----- NAVBAR ----- */
.navbar-custom {
  background: linear-gradient(90deg, #f58220, #ffb300);
  padding: 41px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.navbar-custom .nav-link {
  color: #fff !important;
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: 0.3s;
}
.navbar-custom .nav-link:hover {
  color: #6b2100 !important;
  transform: translateY(-2px);
}
.navbar-custom .nav-link.active {
  color: #6b2100 !important;
}
.logo-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  padding: 5px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  object-fit: contain;
}
.btn-join-nav {
  background: #6b2100;
  color: #fff !important;
  padding: 8px 22px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}
.btn-join-nav:hover {
  background: #4a1600;
  transform: scale(1.05);
  color: #fff !important;
}

/* ----- PAGE HEADER ----- */
.page-header {
  background: linear-gradient(135deg, #f58220, #ffb300);
  padding: 60px 0 40px;
  color: #fff;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
.page-header h1 {
  font-weight: 700;
  font-size: 3rem;
}
.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ----- SECTIONS ----- */
.section-padding {
  padding: 60px 0;
}
.section-title {
  text-align: center;
  color: #f58220;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #f58220, #ffb300);
  margin: 10px auto 0;
  border-radius: 4px;
}
.section-title-left {
  text-align: left;
}
.section-title-left::after {
  margin: 10px 0 0;
}

/* ----- BUTTONS ----- */
.btn-orange {
  background: #f58220;
  color: #fff;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  border: none;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(245, 130, 32, 0.3);
}
.btn-orange:hover {
  background: #d96d0e;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(245, 130, 32, 0.5);
  color: #fff;
}
.btn-dark-brown {
  background: #6b2100;
  color: #fff;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  border: none;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(107, 33, 0, 0.3);
}
.btn-dark-brown:hover {
  background: #4a1600;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(107, 33, 0, 0.5);
  color: #fff;
}
.btn-outline-orange {
  border: 2px solid #f58220;
  color: #f58220;
  border-radius: 30px;
  font-weight: 600;
  padding: 8px 24px;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
  background: transparent;
}
.btn-outline-orange:hover {
  background: #f58220;
  color: #fff;
  transform: scale(1.05);
}
.btn-send {
  background: #f58220;
  color: #fff;
  padding: 14px 40px;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  transition: 0.3s;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(245, 130, 32, 0.3);
}
.btn-send:hover {
  background: #d96d0e;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(245, 130, 32, 0.4);
  color: #fff;
}
.btn-submit {
  background: #f58220;
  color: #fff;
  padding: 14px 48px;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  transition: 0.3s;
  font-size: 1.05rem;
  box-shadow: 0 4px 16px rgba(245, 130, 32, 0.3);
  width: 100%;
}
.btn-submit:hover {
  background: #d96d0e;
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 28px rgba(245, 130, 32, 0.4);
  color: #fff;
}

/* ----- HERO CAROUSEL ----- */
.hero-carousel .carousel-item {
  height: 70vh;
  background-size: cover;
  background-position: center;
}
.hero-carousel .carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}
.hero-carousel .carousel-caption {
  bottom: 30%;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.5);
}
.hero-carousel .carousel-caption h1 {
  font-size: 54px;
  font-weight: 700;
  animation: fadeInUp 1s ease;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  padding: 20px;
}

/* ----- CARDS ----- */
.card-custom {
  background: #fff;
  padding: 25px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}
.card-custom:hover {
  transform: translateY(-12px) rotateX(4deg) rotateY(2deg) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}
.card-custom img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 12px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.card-custom:hover img {
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Cause Card */
.cause-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  transform-style: preserve-3d;
}
.cause-card:hover {
  transform: translateY(-12px) rotateX(3deg) rotateY(2deg) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.cause-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cause-card:hover img {
  transform: scale(1.04);
}
.cause-card .card-body {
  padding: 24px 22px;
}
.cause-card .card-title {
  font-weight: 700;
  color: #6b2100;
}
.cause-card .card-text {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Value Card */
.value-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  height: 100%;
  transition: 0.3s;
  border-bottom: 4px solid #f58220;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.value-card i {
  font-size: 2.6rem;
  color: #f58220;
  margin-bottom: 15px;
}
.value-card h5 {
  font-weight: 600;
}

/* Benefit Card */
.benefit-card {
  background: #fff;
  padding: 28px 20px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  text-align: center;
  height: 100%;
  transition: 0.4s;
  border-bottom: 4px solid #f58220;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}
.benefit-card i {
  font-size: 2.4rem;
  color: #f58220;
  margin-bottom: 14px;
}
.benefit-card h6 {
  font-weight: 600;
  color: #6b2100;
}
.benefit-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
}

/* ----- GALLERY ----- */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}
.gallery-item:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(2deg) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}
.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(107, 33, 0, 0.7));
  padding: 20px 16px 14px;
  opacity: 0;
  transition: opacity 0.4s ease;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
}
.gallery-item:hover .overlay {
  opacity: 1;
}

/* ----- ABOUT IMAGE ----- */
.about-img-3d {
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.5s ease;
  transform-style: preserve-3d;
  width: 100%;
}
.about-img-3d:hover {
  transform: perspective(800px) rotateY(-6deg) rotateX(3deg) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* ----- CONTACT ----- */
.contact-info-box {
  background: #fff;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
  transition: 0.3s;
  border-left: 5px solid #f58220;
}
.contact-info-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}
.contact-info-box i {
  color: #f58220;
  font-size: 1.6rem;
  width: 40px;
}
.contact-info-box h6 {
  font-weight: 600;
  color: #6b2100;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 18px;
  border: 1px solid #e0d6cc;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  transition: 0.3s;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f58220;
  box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.12);
  outline: none;
}
.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

/* ----- JOIN FORM ----- */
.join-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
}
.join-form {
  background: #fff;
  padding: 40px 35px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}
.join-form input,
.join-form select,
.join-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 18px;
  border: 1px solid #e0d6cc;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  transition: 0.3s;
  background: #fcf9f5;
}
.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
  border-color: #f58220;
  box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.1);
  outline: none;
  background: #fff;
}
.join-form textarea {
  resize: vertical;
  min-height: 110px;
}

/* ----- MAP ----- */
.map-iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: 0.4s;
}
.map-iframe:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

/* ----- MISSION LIST ----- */
.mission-list {
  list-style: none;
  padding-left: 0;
  line-height: 2.2;
}
.mission-list li::before {
  content: "✔ ";
  color: #f58220;
  font-weight: 700;
}

/* ----- TEAM IMAGE ----- */
.team-img {
  width: 100%;
  height: 597px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: 0.4s;
}
.team-img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* ----- JOIN BANNER / QUOTE ----- */
.join-banner {
  background: linear-gradient(135deg, #f58220, #ffb300);
  padding: 80px 0;
  text-align: center;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
.quote-section {
  background: linear-gradient(135deg, #f58220, #ffb300);
  padding: 50px 0;
  text-align: center;
  color: #fff;
}
.quote-section blockquote {
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
}

/* ----- FOOTER ----- */
.footer-custom {
  background: #6b2100;
  color: #fff;
  padding: 30px 0;
  margin-top: 40px;
}
.footer-custom .social a {
  color: #fff;
  margin-left: 14px;
  transition: 0.3s;
}
.footer-custom .social a:hover {
  opacity: 0.7;
  transform: translateY(-3px);
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.2rem;
  }
  .hero-carousel .carousel-item {
    height: 50vh;
  }
  .hero-carousel .carousel-caption h1 {
    font-size: 32px;
  }
  .logo-img {
    width: 70px;
    height: 70px;
  }
  .join-form {
    padding: 25px 20px;
  }
  .gallery-item img {
    height: 180px;
  }
}