:root {
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --border: 214.3 31.8% 91.4%;
  --brand-header: 159 46% 11%;
  /* #0F2920 */
  --font-heading: "Parkinsans", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Epunda Slab", "Hind Siliguri", serif;
}

html {
  font-family: "Epunda Slab", "Hind Siliguri", serif !important;
}

html.lang-en {
  --font-heading: "Parkinsans";
  --font-body: "Epunda Slab", serif;
}

html.lang-bn {
  --font-heading: "Hind Siliguri";
  --font-body: "Hind Siliguri", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading {
  font-family: var(--font-heading);
}

p,
span {
  font-family: var(--font-body);
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  overflow-x: hidden;
}

/* --- Base Button Style --- */
.btn-primary-glass {
  /* Positioning context for the shine effect */
  position: relative;
  overflow: hidden; /* Shine effect কে বাটনের বাইরে যেতে দেবে না */

  /* আপনার দেওয়া মূল স্টাইল */
  background: linear-gradient(180deg, #77ff7c, #115f41);
  box-shadow: 0 5px 15px rgba(68, 65, 65, 0.3);
  color: #fff;

  /* Smooth transition for hover effects */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- Shine Effect Pseudo-Element --- */
.btn-primary-glass::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%; /* শুরুতে বাম দিকে বাটনের বাইরে থাকবে */
  width: 100%;
  height: 100%;

  /* আলোর ঝলক তৈরির জন্য গ্রেডিয়েন্ট */
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );

  /* আলোর ঝলকটিকে বাঁকা করার জন্য */
  transform: skewX(-25deg);

  /* অ্যানিমেশনের জন্য ট্রানজিশন */
  transition: left 0.6s ease;
}

/* --- Hover State --- */
.btn-primary-glass:hover {
  /* বাটনটি হালকা উপরে উঠবে */
  transform: translateY(-3px);

  /* শ্যাডো আরও সুন্দর এবং গভীর হবে */
  box-shadow: 0 8px 25px rgba(53, 53, 53, 0.4);
}

/* --- Shine Animation on Hover --- */
.btn-primary-glass:hover::after {
  /* আলোর ঝলকটিকে বাম থেকে ডানে নিয়ে যাবে */
  left: 150%;
}

/* Active Nav Link Style */
.nav-link.active {
  color: #059669;
  /* emerald-600 */
  border-bottom: 2px solid #059669;
  padding-bottom: 4px;
}

/* project css */
.project-slider {
  padding: 0 48px; /* ডানে ও বামে জায়গা তৈরি করা হয়েছে */
}

.project-slider .swiper-button-next,
.project-slider .swiper-button-prev {
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  top: 50%;
  transform: translateY(-50%);
}

.project-slider .swiper-button-next:after,
.project-slider .swiper-button-prev:after {
  font-size: 16px;
  font-weight: bold;
  color: #334155;
}

.project-slider .swiper-button-prev {
  left: 0;
}

.project-slider .swiper-button-next {
  right: 0;
}

/* gallery css */

/* Updated Premium Gallery Styles */
.swiper-container-gallery {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
  /* overflow: visible; /* এই লাইনটি যদি থাকে, তাহলে কমেন্ট আউট করে দিন বা মুছে দিন */
}

.swiper-container-gallery .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 320px; /* Width of the central image */
  height: 480px; /* Height of the central image */
  border-radius: 1.5rem; /* 24px */
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  overflow: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
  filter: brightness(1); /* সব ছবিকে ডিফল্টভাবে উজ্জ্বল রাখতে */
}

.swiper-container-gallery .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* পাশের ছবিগুলো যাতে ফেকাসে না দেখায় */
.swiper-slide-prev,
.swiper-slide-next {
  opacity: 1; /* অপাসিটি 100% করে দিলাম */
  transform: scale(0.9); /* পাশের ছবিগুলো একটু ছোট থাকবে, কিন্তু ফোকাসে থাকবে */
  filter: brightness(1); /* ফেকাসে হওয়া থেকে বাঁচানোর জন্য */
}

/* অ্যাক্টিভ স্লাইড (মাঝের ছবি) */
.swiper-slide-active {
  transform: scale(1); /* মাঝের ছবিটি সম্পূর্ণ সাইজে থাকবে */
  z-index: 10; /* মাঝের ছবিকে সামনে রাখতে */
  opacity: 1;
  filter: brightness(1);
}

/* গ্যালারি নেভিগেশন বাটনের স্টাইল (আগের মতোই থাকবে, যদি পরিবর্তন না চান) */
.gallery-swiper-button-prev,
.gallery-swiper-button-next {
  cursor: pointer;
  width: 48px;
  height: 48px;
  background-color: rgba(
    255,
    255,
    255,
    0.9
  ); /* বাটনের ব্যাকগ্রাউন্ড কিছুটা উজ্জ্বল করা হলো */
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  backdrop-filter: blur(8px); /* ব্লার ইফেক্ট কিছুটা বাড়ানো হলো */
  transition: background-color 0.3s ease;
}

.gallery-swiper-button-prev:hover,
.gallery-swiper-button-next:hover {
  background-color: white;
}

/* অতিরিক্ত কিছু স্টাইল যাতে Swiper ঠিকভাবে কাজ করে */
.swiper-wrapper {
  align-items: center; /* স্লাইডগুলোকে উলম্বভাবে মাঝখানে আনতে */
}

/* Play Icon Styles */
.play-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
}
.play-icon-svg {
  width: 28px;
  height: 28px;
  fill: white;
  margin-left: 4px; /* To visually center the triangle */
}
.group:hover .play-icon-wrapper {
  transform: scale(1.1);
}

/* Video Play Icon Styles for Video Thumbnails */
/* Final Masonry Grid Styles */
.masonry-grid {
  column-count: 3; /* Desktop: 3 columns */
  column-gap: 1.5rem; /* 24px */
}
.masonry-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 1.5rem; /* 24px */
  break-inside: avoid; /* Prevents items from breaking across columns */
}
.masonry-item a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem; /* 24px */
}
.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.group:hover img {
  transform: scale(1.1);
}

/* Overlays and Icons */
.overlay,
.overlay-content {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.group:hover .overlay,
.group:hover .overlay-content {
  opacity: 1;
}
.overlay-content {
  opacity: 1;
  background: transparent;
  padding: 1rem;
  align-items: flex-end;
  color: white;
}
.overlay-content.bottom-left {
  justify-content: flex-start;
}
.play-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
}
.play-icon-svg {
  width: 24px;
  height: 24px;
  fill: white;
  margin-left: 4px;
}
.group:hover .play-icon-wrapper {
  transform: scale(1.1);
}
.live-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #ef4444;
  color: white;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
}
.text-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.875rem;
}
.button-label {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: #334155;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.button-label.end {
  position: static; /* Adjust for this specific button */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .masonry-grid {
    column-count: 2;
  } /* Tablet: 2 columns */
}
@media (max-width: 1024px) {
  .masonry-grid {
    column-count: 1;
  } /* Mobile: 1 column */
}

/* chairman quote */

/* FAQ Section Specific Styles */
/* FAQ Section Specific Styles - SMOOTHER ANIMATION */
#faq {
  position: relative;
  overflow: hidden;
}

.faq-background-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  filter: blur(80px);
  opacity: 0.6;
  border-radius: 3rem;
  transform: scale(1.1);
  z-index: 0;
}

.faq-item {
  background-color: white;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
  box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  text-align: left;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f9fafb;
}

.faq-question .arrow-icon {
  width: 24px;
  height: 24px;
  color: #6b7280;
  /* Updated transition for smoother rotation */
  transition: transform 0.3s ease-in-out;
}

.faq-question.active .arrow-icon {
  transform: rotate(180deg);
  padding-bottom: 1.5rem;
}

.faq-answer {
  padding: 0 1.5rem;
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  /* Updated transition for faster and smoother animation */
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
  padding-bottom: 1.5rem;
}

.faq-answer.show {
  /* max-height: 0; */
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

/* donation mask */
/* .donation-gradient-bg {
  position: relative;
  overflow: hidden;
}

.donation-gradient-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #e9f6ff 0%, #e0fff0 100%);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0)
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  mask-repeat: no-repeat;
  mask-size: cover;
  z-index: 0;
}

.donation-gradient-bg > * {
  position: relative;
  z-index: 1;
} */

/* --- সংশোধিত CSS কোড hero-gradient-bg এর জন্য --- */

/* --- Hero Gradient - Crewsy Style --- */

.hero-gradient-bg {
  position: relative;
  z-index: 1;
}

/* প্রথম ব্লব - বাম দিকের বেগুনি ইফেক্ট */
.hero-gradient-bg::before {
  content: "";
  position: absolute;
  top: -200px;
  left: -200px;
  width: 800px; /* ব্লবের আকার */
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(217, 237, 246, 0.959),
    /* হালকা বেগুনি */ rgb(217, 238, 246)
  );
  border-radius: 50%;
  filter: blur(180px); /* অতিরিক্ত ব্লার */
  z-index: 0;
  animation: blob-float-one 15s infinite alternate ease-in-out;
}

/* দ্বিতীয় ব্লব - ডান দিকের হালকা ব্লু বা সাদা ইফেক্ট */
.hero-gradient-bg::after {
  content: "";
  position: absolute;
  bottom: 100px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgb(204, 255, 255),
    /* হালকা নীল */ rgb(204, 255, 255)
  );
  border-radius: 50%;
  filter: blur(200px);
  z-index: 0;
  animation: blob-float-two 18s infinite alternate ease-in-out;
}

/* ব্লব গুলোর জন্য অ্যানিমেশন */
@keyframes blob-float-one {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(80px, -60px) scale(1.1);
  }
  66% {
    transform: translate(-50px, 70px) scale(0.95);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes blob-float-two {
  0% {
    transform: translate(0, 0) scale(1);
  }
  40% {
    transform: translate(-60px, 80px) scale(1.05);
  }
  80% {
    transform: translate(80px, -40px) scale(0.95);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

.hero-gradient-bg > div {
  position: relative;
  z-index: 1;
}

/* about */

.about-gradient-bg {
  position: relative;
  z-index: 1;
}

/* প্রথম ব্লব */
.about-gradient-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgb(233, 246, 255),
    /* হালকা নীল */ rgb(233, 246, 255)
  );
  border-radius: 50%;
  filter: blur(150px);
  z-index: 0;
  animation: blob-float-one 12s infinite alternate ease-in-out;
}

/* দ্বিতীয় ব্লব */
.about-gradient-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(224, 255, 240, 0.849),
    /* হালকা সবুজ */ rgba(224, 255, 240, 0.87)
  );
  border-radius: 50%;
  filter: blur(180px);
  z-index: 0;
  animation: blob-float-two 15s infinite alternate ease-in-out;
}

/* ব্লব গুলোর জন্য অ্যানিমেশন */
@keyframes blob-float-one {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(60px, -40px) scale(1.05);
  }
  66% {
    transform: translate(-40px, 50px) scale(0.95);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes blob-float-two {
  0% {
    transform: translate(0, 0) scale(1);
  }
  40% {
    transform: translate(-50px, 70px) scale(1.1);
  }
  80% {
    transform: translate(70px, -30px) scale(0.9);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* কন্টেন্টকে ব্লবের উপরে রাখতে */
.about-gradient-bg > div {
  position: relative;
  z-index: 1;
}

/* chairmanr */
/* Custom CSS for blob animation */
@keyframes blob {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

.animate-blob {
  animation: blob 7s infinite cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}

.hero-gradient-bg {
  overflow: hidden; /* This will contain the pseudo-elements */
}
