@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&display=swap");

/* ===== GLOBAL RESET (iOS FIX) ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "DM Sans", sans-serif;
}

/* Prevent iOS zoom */
input,
select,
textarea {
  font-size: 16px !important;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Libre Baskerville", serif;
  color: #333;
}

p {
  margin-bottom: 0;
  color: #333;
  line-height: 1.7;
}

a {
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
}

/* ===== HEADER ===== */
.logo img {
  max-width: 100%;
  height: 70px;
}

.home-btn {
  background: #ffcc00;
  border: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  color: #333;
}

/* ===== SECTION ===== */
.who-we-are {
  position: relative;
  display: block;
  background-image: url("../../assets/images/my/b2.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 70px 0 80px;
  z-index: 1;
}

/* ===== LIST ===== */
.edu-list {
  list-style: none;
  padding-left: 0;
}

.edu-list li {
  margin-bottom: 10px !important;
  display: flex;
  align-items: flex-start;
}

.check-img {
  height: 22px;
  padding-right: 10px;
  margin-top: 5px;
}

/* ===== COUNTER CARD ===== */
.counter-card {
  background: #ffb703;
  transition: 0.3s;
  display: flex;
  position: absolute;
  gap: 7px;
  padding: 5px 10px;
  transform: rotate(45deg) translateZ(0);
  -webkit-transform: rotate(45deg) translateZ(0);
  top: 30px;
  right: -23px;
  overflow: hidden;
}

.counter-title {
  font-size: 13px;
  color: #777;
}

.counter-number {
  font-size: 18px;
  color: rgb(78, 77, 77);
}

.counter-icon {
  font-size: 14px;
}

/* ===== FORM ===== */
.form-control {
  border-radius: 12px; /* FIXED */
  padding-left: 10px;
}

.form-control:focus {
  box-shadow: none;
  border-color: #5e70ea !important;
}

label {
  font-size: 13px;
  font-weight: 600;
}

.required {
  color: red;
}

/* ===== CARD ===== */
.donation-card {
  position: relative;
  max-width: 520px;
  margin: auto;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.form-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  max-width: 520px;
  margin-top: 20px;
  margin-left: 14px;
}

/* ===== BUTTONS ===== */
.btn-toggle {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 8px;
}

.btn-toggle.active {
  background: #ffd93b;
  border-color: #ffd93b;
}

/* ===== AMOUNT BUTTON ===== */
.amount-btn {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 8px;
  font-size: 15px;
  background: #fff;
  width: 100%;
  position: relative;
  color: #333 !important;
}

.amount-btn span {
  font-family: cursive !important;
}

/* Tooltip */
/* .amount-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #7a7979;
  color: #fff;
  padding: 2px 5px;
  font-size: 11px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transition: 0.3s;
} */

/* Hover (desktop) */
.amount-btn:hover::after {
  opacity: 1;
}

/* Touch (iOS fix) */
.amount-btn:active::after {
  opacity: 1;
}

.amount-btn.active {
  background: #ffd93b;
  border-color: #ffd93b;
}

.amount-btn:hover {
  background: #fff7cc;
}

/* ===== INPUT ===== */
.other-amount {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 14px;
  height: 40px;
  margin-top: 10px;
}

.other-amount.form-control {
  height: 36px;
}

.other-amount input::placeholder {
  color: #999;
  font-weight: 500;
}

/* ===== RADIO ===== */
input[type="radio"] {
  accent-color: #ffd93b;
}

/* ===== TEXT ===== */
.small-text {
  font-size: 12px;
  color: #666;
}

.alert-text {
  color: red;
  font-size: 13px;
  font-weight: 600;
}

.note-text {
  font-size: 14px;
  color: #555;
}

/* ===== PAYMENT ===== */
.pay-btn {
  background: #ffcc00;
  border: none;
  font-weight: 600;
  padding: 14px;
  border-radius: 8px;
  color: #000;
}

.pay-btn:hover {
  background: #f4bf00;
}

.payment-icons img {
  height: 28px;
  margin: 0 8px;
}

/* ===== ICON LIST ===== */
.edu-list i {
  font-size: 16px;
  margin-right: 10px;
  color: #1d1e81;
}

/* ===== FOOTER ===== */
.footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

.footer a {
  color: #eece18;
}

/* ===== SELECT2 FIX ===== */
.select2-container {
  width: 100% !important;
}

.select2-selection {
  min-height: 38px !important;
  display: flex !important;
  align-items: center !important;
}

.select2-container--default .select2-selection--single {
  border: 1px solid #ced4da !important;
  border-radius: 6px !important;
}

/* ===== RESPONSIVE ===== */
@media only screen and (max-width: 768px) {
  .mobile-col-reverse {
    display: flex;
    flex-direction: column-reverse;
  }

  .donation-card {
    padding: 15px !important;
  }

  .donation-card h4 {
    text-align: left !important;
    font-size: 20px;
  }

  .donation-card p {
    font-size: 18px;
  }

  .form-card {
    margin-left: 0;
  }

  .section-title {
    margin-top: 20px;
  }

  h6 {
    font-size: 14px;
  }

  .counter-number {
    font-size: 16px;
  }

  .counter-title {
    font-size: 12px;
  }

  .who-we-are__text {
    text-align: left !important;
  }
}

/* ===== EXTRA FIX ===== */
#otherAmountInput {
  height: 20px;
}
.form-control::placeholder {
  color: #999 !important;
}

/* Footer */
.site-footer-two {
  position: relative;
  display: block;
  background-color: #343434;
  overflow: hidden;
  z-index: 1;
  padding-top: 70px;
}
.footer-widget-two__services-list li a {
  font-size: 15px;
  color: #b7b7b7 !important;
  position: relative;
  display: inline-block;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
  padding-bottom: 7px;
}
.footer-widget-two__about-title {
  font-size: 35px;
  font-weight: 800;
  line-height: 48px;
  color: #fff;
}
.footer-widget-two__title {
  position: relative;
  display: inline-block;
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  line-height: 30px;
  margin-bottom: 23px;
}
h2.section-title__title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}
@media (min-width: 1200px) {
  .h4,
  h4 {
    font-size: 1.3rem;
  }
}
.site-footer-two__bottom-inner {
  position: relative;
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 23px;
  border-top: 1px solid #4a4a4a;
}
.footer-widget-two__btn-box {
  position: relative;
  display: block;
}
.thm-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  -webkit-appearance: none;
  appearance: none;
  outline: none !important;
  font-weight: 700;
  font-size: 14px;
  color: var(--anity-black);
  border: 1px solid var(--anity-base);
  padding: 6px 14px 5px;
  padding-right: 9px;
  border-radius: 30px;
  transition: 0.5s ease-in-out;
  text-transform: uppercase;
  overflow: hidden;
  letter-spacing: 1.4px;
  gap: 10px;
  z-index: 2;
  text-align: center;
}
.footer-widget-two__btn {
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 25px;
}
.footer-widget-two__btn:hover {
  background: #ffcc00;
  border: 1px solid #ffcc00;
  padding: 12px 25px;
  color: #000;
}
.site-footer-two__bottom-menu li + li {
  margin-left: 20px;
}

.site-footer-two__bottom-menu li {
  position: relative;
  display: block;
  float: left;
}
.site-footer-two__copyright-text {
  color: rgb(189 189 189);
}
.footer-widget-two__contact-list li p a {
  color: #fff;
}
.site-footer-two__copyright-text a {
  color: #ffcc00;
}
.list-unstyled li a {
  color: #b7b7b7 !important;
}
.list-unstyled li a:hover {
  color: #ffcc00 !important;
}
/* Icons (phone & email) */
.contact-icon {
  color: #ffcc00;
  font-size: 20px;
}

/* Text */
.contact-text {
  font-size: 16px;
  color: #fff !important;
}

/* Social Box */
.social-box {
  width: 40px;
  height: 40px;
  border: 1px solid #ffcc00;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffcc00;
  font-size: 18px;
  transition: 0.3s;
}

/* Hover Effect */
.social-box:hover {
  background: #ffcc00;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-text {
    font-size: 14px;
  }

  .social-box {
    width: 40px;
    height: 40px;
  }
  .footer-widget-two__about-title {
    font-size: 26px;
  }
  .footer-widget-two__btn-box {
    margin-bottom: 30px;
  }
  .footer-widget-two__title {
    margin-bottom: 12px;
    font-size: 18px;
  }
  .footer-widget-two__contact {
    margin-bottom: 20px;
  }
}
