/* ======= Reset & Font ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
   @font-face {
    font-family: 'Cholontika';
    src: url('Codepotro Abu Sayed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;}
    
   @font-face {
    font-family: 'Adorsho';
    src: url('Shadhinata.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;}
html, body {
  height: 100%;
  font-family: 'Adorsho', sans-serif !important; 
  flex-direction: column;

}

/* ======= Header & Social ======= */
.header-wrapper {
  position: fixed;
  height: 80px;
  top: 0;
  left: 0;
  width: 100%;
  background: #006064;
  color: white;
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

    /* Top Social Bar */
    .top-right-bar {
      padding: 5px 15px;
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }

    .social-icons {
      display: flex;
      gap: 12px;
      margin-top: -10px;
    }

    .social-icons img {
      width: 18px;
      height: 18px;
      cursor: pointer;
      transition: transform 0.2s;
    }

    .social-icons img:hover {
      transform: scale(1.2);
    }
        .logo-title {
      display: flex;
      align-items: center;
    }

    .logo-title img {
      height: 40px;
      width: 40px;
      border-radius: 50%; /* Make it round */
      margin-left: 60px;
      margin-top: -10px;
    }

    .logo-title h1 {
      font-family: 'Cholontika', sans-serif !important; 
      margin-left: 15px;
      color: white;
      text-shadow: 1px 1px 2px black;
    margin-top: -5px;
    font-weight: normal;
    }

    /* Hamburger */
.hamburger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  border: none;
  background: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1101;
  position: absolute;
  top: 28px;
  left: 10px;
  transition: opacity 0.3s ease;
  outline: none;
  box-shadow: none;
    -webkit-tap-highlight-color: transparent; /* মোবাইলে হালকা গ্লো বন্ধ */
  box-shadow: none !important; /* যেকোনো shadow নিষ্ক্রিয় */
  outline: none !important; /* ক্লিক করলে outline আসে, বন্ধ */
  background: none !important;
}
.hamburger:focus,
.hamburger:focus-visible,
.hamburger:active {
  outline: none !important;
  box-shadow: none !important;
    background: none !important;
}

.hamburger.hidden {
  opacity: 0;
  pointer-events: none;
}

.hamburger .bar {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}


/* ======= Sidebar ======= */
.sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 250px;
  height: 100%;
  background: #006064;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  padding: 10px 10px;
  background-color: white;
  border: none;
  border-radius: 0; /* কোন গোল কোণা নয় */
  color: #fff;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.4),
    0 8px 16px rgba(0, 0, 0, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 25; /* যেন বাকি বাটনের উপরে থাকে */
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.sidebar-header img {
  height: 35px;
  width: 35px;
  border-radius: 50%;
  margin-right: 8px;
}

    .sidebar-header h2 {
      font-weight: normal;
      font-family: 'Cholontika', sans-serif !important;
      font-size: 16px;
      color: #006064;
    }

.sidebar a {
  padding: 12px 20px;
  text-decoration: none;
  color: white;
  border-bottom: 1px solid #eee;
  transition: background 0.3s;
}

.sidebar a:hover {
  background-color: #00695c;
}

/* ======= Overlay ======= */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 1000;
}

.overlay.active {
  display: block;
}

/* ======= Donation Containers ======= */
.donation-container, .donation-container-nagad, .donation-container-rocket {
  backdrop-filter: blur(15px);
  margin: 18px 13px;
  border-radius: 8px;
  padding: 10px;
  color: #fff;
  box-shadow: 0 0 10px #006064;

}

.donation-container {
  background: #E60F6A;
  animation: fadeIn 0.8s ease-in-out;
}

.donation-container-nagad {
  background: radial-gradient(circle, #F47321 30%, #EA1D25 100%);
  animation: fadeIn 0.8s ease-in-out;
}

.donation-container-rocket {
  background: #89288F;
  animation: fadeIn 0.8s ease-in-out;
}


.donation-form h3 {
  width: 230px;
  margin: auto;
  margin-bottom: 8px;
  font-size: 16px;
  border: 2px solid white;
  border-radius: 20px;
  color: white;
  text-align: center;
  font-weight: normal;
}

.instructions {
  list-style: none;
  margin-left: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.instructions li {
  margin-bottom: 5px;
}

.instructions hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 5px 0;
}

/* ======= Copy Button ======= */
.number-copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-bottom: 6px;
}

.PaymentNumber {
  font-weight: normal;
  color: yellow;
}

.copy-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  width: 20px;
}

.copy-btn img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.copied-msg {
  display: none;
  color: yellow;
  font-size: 13px;
}

.payment-box {
  width: 100%;
  margin-top: 20px;
  border: 2px solid #006064;
  padding: 10px;
  position: relative;
  background-color: white;
}

.payment-box::before {
  font-family: 'Adorsho', sans-serif !important; 
  content: "দান করার মাধ্যম";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  padding: 2px 5px;
  color: #006064;
  font-size: 18px;
  font-weight: normal;
  font-family: sans-serif;
}

.payment-logos {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.logo, .logo-disabled {
  position: relative;
  margin-top: 10px;
  width: auto;
  height: 45px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.logo img, .logo-disabled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.logo img:hover {
  transform: scale(1.05);
}

.logo-disabled img {
  filter: grayscale(100%) brightness(0.9);
  pointer-events: none;
}

.logo-disabled:hover::after {
  content: "এখন বন্ধ আছে";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: white;
  background: red;
  font-weight: bold;
}

/* ======= Hadith Box ======= */
.hadith-box {
  background-color: #fff;
  border: 2px solid #006064;
  text-align: center;
  color: red;
  padding: 20px;
  height: 489px;
  margin: 15px auto;
  width: 95%;
  border-radius: 10px;
  box-shadow: 0 0 10px #006064;
  animation: fadeIn 0.8s ease-in-out;
}
/*====== form-group bkash ========*/
  .form-group {
      position: relative;
      margin-bottom: 0px;
    }

  .form-group input {
  width: 95%;
  padding: 10px;
  margin: 8px auto;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: #E60F6A;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.form-group #name{
  font-family: 'Adorsho', sans-serif !important; 
}

    .form-group label {
      position: absolute;
      top: 50%;
      left: 12px;
      transform: translateY(-50%);
      background: #E60F6A;
      padding: 0 6px;
      color: #eee;
      font-size: 14px;
      pointer-events: none;
      transition: 0.2s ease;
    }

    .form-group input:focus + label,
    .form-group input:not(:placeholder-shown) + label {
      top: 10px;
      left: 10px;
      font-size: 13px;
      color: #eee;
    }
/* ======= Nagad Input Fields ======= */
.nagadForm input[type="text"], .nagadForm input[type="email"], .nagadForm input[type="number"], .nagadForm input[type="tel"] {
  font-family: 'Adorsho', sans-serif !important; 
  width: 95%;
  padding: 10px;
  margin-left: 12px;
  margin: 8px auto;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 14px;
  outline: none;
  font-weight: normal;
}

input::placeholder {
  color: #eee;
}
 /*========== RocketForm ==========*/
  .RocketForm {
      position: relative;
      margin-bottom: 0px;
    }

  .RocketForm input {
  width: 95%;
  padding: 10px;
  margin: 8px auto;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: #89288F;
  color: #fff;
  font-size: 14px;
  outline: none;
}

    .RocketForm label {
      position: absolute;
      top: 50%;
      left: 12px;
      transform: translateY(-50%);
      background: #89288F;
      padding: 0 6px;
      color: #eee;
      font-size: 14px;
      pointer-events: none;
      transition: 0.2s ease;
    }

    .RocketForm input:focus + label,
    .RocketForm input:not(:placeholder-shown) + label {
      top: 10px;
      left: 10px;
      font-size: 13px;
      color: #eee;
    }
.donateBtn {
  font-family: 'Adorsho', sans-serif !important; 
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  gap: 10px;
  width: 80%;
  padding: 10px;
  background: #fff;
  color: #E60F6A;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: normal;
  cursor: pointer;
  transition: 0.3s;
}

button:disabled {
  background: #999999;
  cursor: not-allowed;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 3px solid white;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



    /* ======= Footer ======= */
footer {
  background-color: #006064;
  color: #FFEA00;
  padding: 5px 0;
  text-align: center;
  font-size: 14px;
  width: 100%;
  margin-top: auto; /* ✅ This ensures footer stays at bottom when content is short */
}
.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 5px;
  line-height: 1.5;
}
footer a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 0px;
  font-size: 14px;
  transition: color 0.3s ease;
}
footer a:hover {
  text-decoration: underline;
  color: #FFEA00;
}
.footer-links {
  margin-top: 4px;
  font-size: 12px;
}

/* ======= Scrollbar ======= */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
}
    @media (max-width: 600px) {
      .logo-title h1 {
        font-size: 14px;
      }
    }
    
    
/* পপআপ ব্যাকগ্রাউন্ড */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}

/* পপআপ কন্টেন্ট */
.popup-content {
  background: #fff;
  border-radius: 8px;
  padding: 25px 30px;
  text-align: center;
  width: 95%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  animation: popIn 0.3s ease-in-out;
  position: relative;
}

/* আইকন */
.popup-content .fa-circle-check {
  font-size: 50px;
  color: #28a745;
  margin-bottom: 10px;
}

/* টাইটেল */
.popup-content h2 {
  font-size: 20px;
  margin: 10px 0;
  color: #28a745;
}

/* টেক্সট */
.popup-content p {
  color: #333;
  font-size: 15px;
}
.popup-content p2 {
  color: orangered;
  font-size: 13px;
}
.popup-content p2 strong{
  color: #28a745;
  font-size: 14px;
}
/* ক্লোজ বাটন */
.popup-content button {
  background: #28a745;
  color: #ffffff;
  font-weight: bold;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.3s ease;
}

.popup-content button:hover {
  background: #004d4d;
}

/* অ্যানিমেশন */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes popIn {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.checkmark {
  width: 95px;
  height: 95px;
  display: block;
  margin: 0 auto 10px;
}

.checkmark-circle {
  stroke: #4CAF50;
  stroke-opacity: 0.4;
  stroke-width: 2.5;
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  animation: circle-rotate 0.5s ease-out forwards,
             circle-draw 0.5s ease-out 0.5s forwards;
  transform-origin: center;
}

.checkmark-check {
  stroke: #4CAF50;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: check-draw 0.3s ease-out 1s forwards;
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}

@keyframes circle-rotate {
  from {transform: rotate(0deg);}
  to {transform: rotate(360deg);}
}

@keyframes circle-draw {
  to {stroke-dashoffset: 0;}
}

@keyframes check-draw {
  to {stroke-dashoffset: 0;}
}
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}