/* container */
#bank-accounts-page {
  max-width: 420px;
  margin: 60px auto;
  /* font-family: Arial, sans-serif; */
  text-align: center;
}

/* title */
#bank-accounts-page h2 {
  margin-bottom: 25px;
  font-size: 24px;
  font-weight: bold;
  color: #327e6b;
}

/* tabs */
#bank-accounts-page .tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}

#bank-accounts-page .tab-btn {
  padding: 9px 24px;
  cursor: pointer;
  border: 1px solid #327e6b;
  border-radius: 20px;
  background-color: #fff;
  color: #327e6b;
  font-size: 14px;
  transition: 0.3s;
}

#bank-accounts-page .tab-btn.active {
  background-color: #327e6b;
  color: #fff;
}

/* number box */
#bank-accounts-page .number-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 18px;
  border: 1px dashed #327e6b;
  border-radius: 12px;
  background-color: #f4faf8;
  box-shadow: 0 4px 10px rgba(50, 126, 107, 0.15);
}

/* number text */
#bank-accounts-page .number-box span {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  word-break: break-all;
}

/* copy icon */
#bank-accounts-page .copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: #327e6b;
  transition: 0.3s;
}

#bank-accounts-page .copy-btn:hover {
  transform: scale(1.15);
  color: #245f50;
}


/* ================video slider=========== */
/* Slider */
.video-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-slider {
  overflow: hidden;
  width: 100%;
  cursor: grab;
}

.video-slider.dragging {
  cursor: grabbing;
}

.video-track {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
}

.video-slide {
  position: relative;
  flex: 0 0 300px;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.video-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Play Icon */
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: #fff;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  transition: 0.3s;
}

.video-slide:hover .play-overlay {
  opacity: 1;
}

/* Arrows */
.video-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* Popup */
.video-popup {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.9), #000);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.video-popup.active {
  display: flex;
}

.video-popup-box {
  position: relative;
  max-width: 900px;
  width: 92%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
}

.video-popup video {
  width: 100%;
  background: #000;
}

.close-popup {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 34px;
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

/* Mobile */
@media (max-width: 768px) {
  .video-slide {
    flex: 0 0 220px;
  }
}


/* ===== FIX POPUP SIZE ===== */

/* صندوق المودال يكون مربع */
.video-popup-box {
  width: 90vmin;       /* يعتمد على أصغر ضلع في الشاشة */
  height: 90vmin;
  max-width: 520px;
  max-height: 520px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

/* الفيديو يظهر كامل بدون قص */
.video-popup video {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* الأهم */
  background: #000;
}

/* زر الإغلاق يكون داخل الصندوق */
.close-popup {
  top: 10px;
  right: 14px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* ========== MOBILE VIDEO SLIDER UX ========== */
@media (max-width: 768px) {

  /* إخفاء الأسهم */
  .video-nav {
    display: none;
  }

  /* السلايدر */
  .video-slider {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-inline: 10px;
  }

  .video-track {
    display: flex;
    gap: 14px;
    transform: none !important;
  }

  /* الكارت */
  .video-slide {
    flex: 0 0 85%;
    scroll-snap-align: center;
    border-radius: 18px;
  }

  /* إحساس السحب */
  .video-slider::-webkit-scrollbar {
    display: none;
  }

  /* أيقونة التشغيل */
  .play-overlay {
    font-size: 54px;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.45),
      rgba(0,0,0,0.15)
    );
  }
}











/* ===================zakah page======== */

/* Wrapper to ensure font consistency */
.zakat-calculator-wrapper {
    --zak-primary: #0d9488;
    --zak-primary-dark: #0f766e;
    --zak-accent: #f59e0b;
    --zak-bg: #f0fdfa;
    --zak-card-bg: #ffffff;
    --zak-text: #1f2937;
    --zak-text-muted: #6b7280;
    --zak-border: #e5e7eb;
    --zak-radius: 1rem;

    background-color: var(--zak-bg);
    color: var(--zak-text);
    direction: rtl;
    text-align: right;
    width: 100%;
    margin: 2rem 0;
    padding: 2rem;
    border-radius: var(--zak-radius);
    box-sizing: border-box;
    line-height: 1.5;
}

.zakat-calculator-wrapper * {
    box-sizing: border-box;
}

.zakat-calculator-header {
    text-align: center;
    margin-bottom: 3rem;
}

.zakat-calculator-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--zak-primary-dark);
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.zakat-calculator-header p {
    color: var(--zak-text-muted);
    font-size: 1rem;
    margin: 0;
}

.zakat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.zakat-card {
    background: var(--zak-card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
}

.zakat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--zak-primary);
}

.zakat-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #ccfbf1;
    color: var(--zak-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.zakat-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zakat-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.zakat-card p {
    font-size: 0.875rem;
    color: var(--zak-text-muted);
    margin: 0 0 1.25rem 0;
    min-height: 1.25rem;
}

.zakat-input-group {
    position: relative;
}

.zakat-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3.5rem;
    font-family: inherit;
    font-size: 1.1rem;
    color: var(--zak-text);
    background-color: #f9fafb;
    border: 2px solid var(--zak-border);
    border-radius: 0.5rem;
    outline: none;
    transition: all 0.2s;
    height: auto;
}

.zakat-input:focus {
    border-color: var(--zak-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.zakat-currency {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--zak-text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    pointer-events: none;
}

.zakat-total-section {
    background: linear-gradient(135deg, var(--zak-primary-dark), var(--zak-primary));
    border-radius: 1rem;
    padding: 2rem;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.zakat-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
  margin-top: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.zakat-total-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.zakat-total-row span:first-child {
    font-size: 1.1rem;
    opacity: 0.9;
}

.zakat-total-row span.zakat-amount-text {
    font-size: 1.75rem;
    font-weight: 800;
}

.zakat-highlight {
    color: var(--zak-accent);
}

.zakat-reset-btn {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.zakat-reset-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.zakat-reset-btn svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

@media (max-width: 768px) {
    .zakat-calculator-wrapper {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    .zakat-total-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .zakat-total-row span.zakat-amount-text {
        align-self: flex-end;
    }

    .zakat-reset-btn {
        position: static;
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
}





/*===================map=================  */
/* =========================
   سكشن تواصل معنا
   ========================= */
#contact-us-map {
  padding: 65px 0;
  background: #f7f9f8; /* كسر البياض */
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.7s ease;
}

#contact-us-map.show {
  opacity: 1;
  transform: translateY(0);
}

/* العنوان الرئيسي */
#contact-us-map .contact-title {
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  color: #000; /* العنوان بالأسود */
  margin-bottom: 40px;
}

/* خط تحته بسيط */
#contact-us-map .contact-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #327e6b;
  margin: 12px auto 0;
  border-radius: 6px;
}

/* المحتوى - شبكي */
#contact-us-map .contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

/* صندوق معلومات المكان */
#contact-us-map .contact-info {
  text-align: right;
  padding-right: 10px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.6s ease;
}

#contact-us-map.show .contact-info {
  opacity: 1;
  transform: translateY(0);
}

/* عنوان المكان */
#contact-us-map .contact-info h3 {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* أيقونة SVG بدل الإيموجي */
#contact-us-map .contact-info h3::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background-color: #327e6b;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M12 11.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z'/><path stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M19.5 11.5c0 7-7.5 11-7.5 11s-7.5-4-7.5-11a7.5 7.5 0 1115 0z'/></svg>") no-repeat center;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M12 11.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z'/><path stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M19.5 11.5c0 7-7.5 11-7.5 11s-7.5-4-7.5-11a7.5 7.5 0 1115 0z'/></svg>") no-repeat center;
}

/* نص المكان */
#contact-us-map .contact-info p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

/* الخريطة */
#contact-us-map .contact-map {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.6s ease 0.15s; /* تأخير بسيط عن النص */
}

#contact-us-map.show .contact-map {
  opacity: 1;
  transform: translateY(0);
}

#contact-us-map .contact-map iframe {
  width: 100%;
  height: 260px;
  border-radius: 10px;
  border: 1px solid #eee;
}

/* موبايل */
@media (max-width: 768px) {
  #contact-us-map .contact-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  #contact-us-map .contact-map iframe {
    height: 230px;
  }
}



/*================location in footer ====  */
.footer-address .footer-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;

}

.footer-address p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}