@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-light: rgba(255, 92, 57, 0.1);
  --light: #fff;
  --dark: black;
  --light-dark1: #333;
  --light-dark2: #666;
  --light-dark3: #777;
  --light-dark4: #ddd;

  --font1: "Poppins", sans-serif;
}

/* ********** Common CSS Start ************ */
a {
  text-decoration: none;
}

.page-item.active .page-link {
  background-color: var(--primary);
  border: 1px solid var(--primary);
  color: var(--light);
}

.page-item .page-link {
  color: var(--primary);
}

/* Swiper Customization */
.swiperCommonCss .swiper {
  padding: 20px 10px 30px;
  /* background-color: red; */
}

.swiperCommonCss .swiper-pagination {
  bottom: 10px !important;
}

.swiperCommonCss .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  opacity: 0.3;
}

.swiperCommonCss .swiper-pagination-bullet-active {
  opacity: 1;
  width: 30px;
  border-radius: 10px;
}

.swiperCommonCss .swiper-button-next,
.swiperCommonCss .swiper-button-prev {
  width: 50px;
  height: 50px;
  background-color: var(--white);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--primary) !important;
}

.swiperCommonCss .swiper-button-next:after,
.swiperCommonCss .swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

.swiperCommonCss .swiper-button-next:hover,
.swiperCommonCss .swiper-button-prev:hover {
  background-color: var(--primary);
  color: var(--white) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .swiperCommonCss .swiper-button-next,
  .swiperCommonCss .swiper-button-prev {
    display: none !important;
  }
}

.sectionBgColor {
  position: relative;
}

.sectionBgColor::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.position_z_index_top {
  position: relative;
  z-index: 9;
}

/* section heading */
.section-header {
  text-align: center;
}

.section-header h6 {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
}

/* ********** Common CSS End ************ */

/* ************* Up Page Button Start *********** */
.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 0px;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/* blogs */

.blogs .card {
  transition: all 0.4s ease-in-out;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
}

.blogs .card-img-top {
  height: 240px;
  object-fit: cover;
}

.blogs .card .position-relative {
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.blogs .card .position-relative::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0) 50%
  );
  z-index: 2;
  pointer-events: none;
  transition: left 0.6s ease-in;
}

.blogs .card:hover .position-relative::before {
  left: 100%;
  transition: left 0.6s ease-in;
}

.blogs .card .position-relative img {
  transition: all 0.5s ease-in-out;
}

.blogs .card:hover .position-relative img {
  transform: scale(1.08);
}

.blogs .card-text {
  font-size: 18px;
}

.catbtn {
  border-radius: 0 15px 0 15px;
  padding: 3px 20px;
  border: 2px solid var(--button-color);
  background: var(--button-color);
  color: white;
  font-weight: 600;
}

.catbtn:hover {
  background: var(--primary);
  color: var(--text-color);
}

/******** Donate FORM CSS ********/

.donateForm {
  font-family: "Poppins", sans-serif;
  background-color: #f8f9fa;
  background-image: url("https://images.unsplash.com/photo-1532629345422-7515f3d16bb6?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.donateForm .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.donateForm .donation-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border: none;
  transition: transform 0.3s ease;
}

.donateForm .donation-card:hover {
  transform: translateY(-5px);
}

.form-control,
.form-select {
  padding: 12px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(255, 141, 0, 0.25);
}

.donateForm .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  z-index: 5;
}

.donateForm .amount-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.donateForm .amount-option {
  flex: 1;
  min-width: 80px;
}

.donateForm .amount-option input {
  display: none;
}

.donateForm .amount-option label {
  display: block;
  padding: 10px 15px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.donateForm .amount-option input:checked + label {
  border-color: var(--primary);
  background-color: rgba(255, 141, 0, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.donateForm .amount-option label:hover {
  border-color: var(--secondary);
}

.donation-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px;
}

.donation-label {
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 25px 0 0 25px;
  padding: 13px 20px;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.donation-amount {
  border: 1px solid var(--secondary);
  border-radius: 0 25px 25px 0;
  padding: 12px 20px;
  color: var(--secondary);
  font-weight: bold;
  font-size: 14px;
}
