@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --bright-yellow-crayola: hsl(40, 100%, 50%);
  --medium-turquoise: hsl(172, 48%, 59%);
  --silver-chalice: hsl(0, 0%, 70%);
  --eerie-black-1: hsl(0, 0%, 13%);
  --eerie-black-2: hsl(0, 0%, 15%);
  --eerie-black-3: hsl(228, 10%, 10%);
  --raisin-black: hsl(220, 8%, 14%);
  --granite-gray: hsl(0, 0%, 38%);
  --sonic-silver: hsl(0, 0%, 47%);
  --pistachio_50: hsla(202, 82%, 39%, 0.507);
  --baby-powder: hsl(86, 41%, 97%);
  --light-gray: hsl(0, 0%, 80%);
  --pistachio: #1279b5;
  --platinum: hsl(0, 0%, 91%);
  --cultured: hsl(0, 0%, 94%);
  --white-60: hsla(0, 0%, 100%, 0.6);
  --white_50: hsla(0, 0%, 100%, 0.5);
  --white_10: hsla(0, 0%, 100%, 0.1);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);
  --jet: hsl(0, 0%, 18%);

  /**
   * typography
   */

  --ff-oswald: "Tajawal", sans-serif;
  --ff-inter: "Tajawal", sans-serif;
  --ff-roboto: "Tajawal", sans-serif;

  --fs-1: 13rem;
  --fs-2: 4rem;
  --fs-3: 3.5rem;
  --fs-4: 3rem;
  --fs-5: 2.4rem;
  --fs-6: 2.2rem;
  --fs-7: 2rem;
  --fs-8: 1.8rem;
  --fs-9: 1.5rem;
  --fs-10: 1.4rem;

  --fw-300: 300;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;

  /**
   * spacing
   */

  --section-padding: 80px;

  /**
   * shadow
   */

  --card-shadow: 0 5px 20px -8px hsla(0, 0%, 0%, 0.15);

  /**
   * transition
   */

  --transition-1: 0.05s ease;
  --transition-2: 0.25s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a {
  text-decoration: none;
  color: inherit;
}

a,
img,
span,
time,
input,
strong,
button,
ion-icon { display: block; }

img { height: auto; }

ion-icon { pointer-events: none; }

input,
button {
  background: none;
  border: none;
  font: inherit;
}

label {
  display: flex;
  gap: 10px;
}
button { cursor: pointer; }

:focus-visible { outline-offset: 4px; }

::selection { background-color: var(--white_10); }

html {
  font-family: var(--ff-roboto);
  color: var(--granite-gray);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  font-size: 1.6rem;
  line-height: 1.8;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 13px; }

::-webkit-scrollbar-track { background-color: hsl(0, 0%, 95%); }

::-webkit-scrollbar-thumb { background-color: var(--pistachio); }




/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }

.section-subtitle {
  color: var(--color, var(--pistachio));
  font-size: var(--fs, var(--fs-8));
  font-family: var(--ff, var(--ff-roboto));
  font-weight: var(--fw-600);
  display: flex;
  align-items: center;
  gap: 10px;
}

.h1,
.h2 { font-weight: var(--fw-300); }

.h2,
.h3 { line-height: 1.6; }

.h2 {
  font-size: var(--fs-3);
  color: var(--eerie-black-2);
}

.h3 {
  font-size: var(--fs-7);
  color: var(--eerie-black-2);
}

.h4 {
  color: var(--white);
  font-size: var(--fs-6);
}

.btn {
    position: relative;
    background-color: var(--btn-bg, var(--pistachio));
    color: var(--white);
    font-weight: var(--fw-600);
    padding: 4px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-2);
}
.hrfButton {
  max-width: 175px;
  margin: 0 auto
}
.btn ion-icon {
  --ionicon-stroke-width: 55px;
  font-size: 1.8rem;
}

.btn:not(.btn-outline)::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--btn-bg, var(--pistachio));
  transform: translate(5px, 5px);
  transition: var(--transition-2);
  display: none;
}

.btn:is(:hover, :focus)::after { transform: translate(0, 0); }

.btn-secondary { --btn-bg: var(--black); }

.btn-secondary:is(:hover, :focus) { --btn-bg: var(--pistachio); }

.btn-outline {
  border: 2px solid var(--white);
  background-color: transparent;
}

.btn-white {
  --btn-bg: var(--platinum);
  color: var(--black);
  min-width: 15%;
}

.section { padding-block: var(--section-padding); }

.w-100 { width: 100%; }

.section-text { line-height: 2; }

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.owl-carousel.owl-rtl
 {
    position: absolute;
    left: 5%;
    top: 200px;
    right:auto;
    width: 45%;
}




.hero-carousel .item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hero-carousel .item:hover {
  transform: scale(1.05);
}

.hero-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0,0,0,0.6);
  padding: 10px;
  text-align: center;
  color: white;
}

.carousel-caption h4 {
  font-size: 1.4rem;
  margin: 0;
  color: #fff;
}
.carousel-caption span {
  font-size: 1.2rem;
  color: #ffeb3b;
}

/* Owl dots and nav */
.owl-theme .owl-nav button {
  background: rgba(255,255,255,0.2) !important;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 2rem;
  color: white !important;
  margin: 0 5px;
}
.owl-theme .owl-dots .owl-dot span {
  background: #fdd835;
}
.owl-theme .owl-dots .owl-dot.active span {
  background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-carousel img {
    height: 280px;
  }
  .carousel-caption h4 {
    font-size: 1.9rem;
  }
}


/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.lang-switch,
.header-action { display: none; }

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1c1d1c;
    padding-block: 10px;
    z-index: 4;
    box-shadow: 0 3px 5px #5a5a5a45;
}

.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 140px);
  height: 1px;
  background-color: var(--white_10);
}

.header.active {
  background-color: var(--eerie-black-1);
  box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.8);
}

.header.active::after { display: none; }

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.logo_ar {
  max-height: 150px;
}
.logo {
  color: var(--eerie-black-1);
  font-family: var(--ff-oswald);
  font-size: 1.5rem;
  text-transform: uppercase;
}

.nav-open-btn {
  color: var(--white);
  font-size: 3.8rem;
}

.navbar {
  position: fixed;
  background-color: var(--eerie-black-1);
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  outline: 1px solid var(--white_10);
  display: flex;
  flex-direction: column;
  z-index: 1;
  visibility: hidden;
  transition: 0.25s var(--cubic-in);
}

.navbar.active {
  transform: translateY(-100%);
  visibility: visible;
  transition: 0.5s var(--cubic-out);
}

.nav-close-btn {
  color: var(--white);
  font-size: 2.4rem;
  position: absolute;
  top: 15px;
  right: 15px;
}

.nav-close-btn ion-icon { --ionicon-stroke-width: 60px; }

.navbar > .logo {
  font-size: 4rem;
  width: max-content;
  margin-inline: auto;
  margin-block-start: 50px;
}

.navbar-list {
  max-width: 400px;
  width: 100%;
  margin: auto;
  padding-inline: 10px;
  opacity: 0;
  transition: 0.5s ease;
  transition-delay: 0s;
}

.navbar.active .navbar-list {
  opacity: 1;
  transition-delay: 0.25s;
}

.navbar-link {
  color: var(--white);
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 10px 15px;
  padding-block: 8px;
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus) { background-color: var(--pistachio); color:var(--medium-turquoise)}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  background-color: var(--eerie-black-1);
  color: var(--white);
  min-height: 700px;
  padding-block: 60px 60px;
  display: grid;
  align-items: center;
}
.hero {
    background-image: url("../images/naz_hero.jpeg");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: -550px;
    min-height: 700px;
  }

.hero .section-subtitle {
  --color: var(--white);
  --ff: var(--ff-inter);
  --fs: var(--fs-7);
}

.hero-title {
  font-size: var(--fs-2);
  margin-block: 30px;
    font-weight: var(--fw-600);
  text-shadow: 3px 3px 5px #0000006c;

  line-height: 1.2;
}
.hero-subtitle {
  font-size: var(--fs-3);
  margin-block: 30px;
    font-weight: var(--fw-600);
  text-shadow: 3px 3px 5px #0000006c;

  line-height: 1.2;
}
.hero-text-wrapper {
  max-width: 60ch; /* 👈 controls width = number of lines */
  display: block;
  text-align: right;
  padding:30px;
}

/* inline background highlight per line */
.hero-text {
    display: inline;
    font-family: var(--ff-inter);
    font-size: var(--fs-8);
    line-height: 2;
    font-weight: 500;
    color: #ffffff;
    background-color: #9db73d;
    box-shadow: 25px 0 0 #9db73d, -25px 0 0 #9db73d;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 5px 0;
    direction: rtl;
    text-align: justify;
    max-width: 55ch;
    white-space: normal;
    word-break: break-word;
}


/*-----------------------------------*\
  #FEATURES
\*-----------------------------------*/

  .features {
    /* padding-block-start: 0; */
    margin-block-start: -185px;
    background-color: #1c1d1c;
    align-items: center;
    align-items: center;
    display: flex;
    align-content: center;
    justify-content: center;
  }
.features-list {
  display: grid;
  gap: 30px;
}

.features-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.features-item .item-icon {
  color: var(--pistachio);
  font-size: 5.5rem;
  margin-block-start: 10px;
} 

.features-item .item-icon ion-icon { --ionicon-stroke-width: 25px; }

.features-item .item-title { margin-block-end: 10px; }

.features-item .item-text {
  max-width: 25ch;
  color: var(--white_50);
  font-size: var(--fs-9);
}





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about { padding-block-start: 120px; }

.about-banner {
  position: relative;
  margin-block-end: 30px;
}

.deco-title {
  font-size: var(--fs-1);
  font-weight: var(--fw-700);
  white-space: nowrap;
  line-height: 0.5;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px var(--light-gray);
  transform-origin: top left;
  transform: rotate(0.25turn);
  position: absolute;
  top: 55%;
  left: 100%;
  z-index: -1;
}

.deco-img {
  position: absolute;
  top: -40px;
  left: 0;
  z-index: -1;
}

.about-img {
  max-width: max-content;
  margin-block-end: 30px;
}

.about .section-subtitle { margin-block-end: 10px; }

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-block: 25px 35px;
}

.tab-btn {
  background-color: var(--platinum);
  color: var(--granite-gray);
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  padding: 10px 32px;
}

.tab-btn.active {
  background-color: var(--pistachio);
  color: var(--white);
}

.tab-list { margin-block: 25px 50px; }

.tab-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 5px;
}

.tab-item .item-icon {
  font-size: 3rem;
  color: var(--pistachio);
}

.tab-text {
  color: var(--eerie-black-2);
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
}





/*-----------------------------------*\
  #CTA
\*-----------------------------------*/

.cta-content {
  background-color: var(--pistachio);
  text-align: center;
  padding: 50px 15px;
  margin-block-end: 30px;
}

.cta .section-title {
  color: var(--white);
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  line-height: 1.2;
  margin-block-end: 25px;
}

.cta .btn-outline { margin-inline: auto; }

.cta-banner { background-color: var(--light-gray); }





/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service {
  background-color: var(--baby-powder);
  background-repeat: no-repeat;
  background-position: center top;
  margin-block-start: -200px;
  padding-block-start: 200px;
}

.service .section-title { margin-block: 10px 40px; }

.service-list {
  display: grid;
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  text-align: center;
  padding: 45px 40px;
  border-radius: 2px;
  outline: 3px solid transparent;
  box-shadow: var(--card-shadow);
  transition: var(--transition-2);
}

.service-card:is(:hover, :focus-within) { outline-color: var(--pistachio); }

.service-card .card-icon {
  color: var(--pistachio);
  font-size: 7rem;
  max-width: max-content;
  margin-inline: auto;
}

.service-card .card-icon ion-icon { --ionicon-stroke-width: 20px; }

.service-card .card-title {
  letter-spacing: -1px;
  margin-block: 10px;
}

.service-card .card-text { font-family: var(--ff-inter); }

.btn-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: var(--silver-chalice);
  font-size: var(--fs-8);
  font-weight: var(--fw-600);
  margin-block-start: 15px;
}

.btn-link span { text-decoration: underline; }





/*-----------------------------------*\
  #DONATE
\*-----------------------------------*/

.donate-list {
  display: grid;
  gap: 60px;
}

.donate-card { box-shadow: var(--card-shadow); }

.donate-card .card-banner { background-color: var(--light-gray); }

.donate-card .card-content {
  background-color: var(--white);
  padding: 35px;
}

.progress-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-text {
  display: flex;
  gap: 5px;
  font-size: var(--fs-8);
}

.progress-text data {
  color: var(--eerie-black-2);
  font-weight: var(--fw-600);
}

.donate-card .card-title { --fs-5: 2.1rem; }

.progress-box {
  background-color: var(--cultured);
  border-radius: 20px;
  margin-block: 10px 20px;
}

.progress {
  height: 6px;
  width: 83%;
  background-color: var(--pistachio);
  border-radius: inherit;
}

.progress-value {
  color: var(--pistachio);
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
}

.card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  margin-block: 15px;
}

.donate-card .card-wrapper-text {
  display: flex;
  gap: 5px;
}

.donate-card .card-wrapper-text span {
  color: var(--sonic-silver);
  font-weight: var(--fw-500);
}

.card-wrapper-text data { font-weight: var(--fw-600); }

.card-wrapper-text .green { color: var(--pistachio); }

.card-wrapper-text .yellow { color: var(--bright-yellow-crayola); }

.card-wrapper-text .cyan { color: var(--medium-turquoise); }





/*-----------------------------------*\
  #TESTIMONIALS
\*-----------------------------------*/

.testi { background-color: var(--jet); }

.testi-content { padding: var(--section-padding) 15px; }

.testi .section-title {
  color: var(--white);
  margin-block: 10px 40px;
}

.testi-card { color: var(--white); }

.testi-text,
.testi-name { font-size: var(--fs-3); }

.testi-text,
.testi-title { font-family: var(--ff-inter); }

.testi-text {
  padding-block-end: 30px;
  border-block-end: 1px solid var(--white_10);
  margin-block: 20px 30px;
}

.testi-title {
  color: var(--white_50);
  font-size: var(--fs-10);
}

.testi-banner { background-color: var(--light-gray); }





/*-----------------------------------*\
  #PARTNER
\*-----------------------------------*/

.partner { background-color: var(--baby-powder); }

.partner .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.partner-logo .color,
.partner-logo:is(:hover, :focus) .gray { display: none; }

.partner-logo:is(:hover, :focus) .color,
.partner-logo .gray { display: block; }





/*-----------------------------------*\
  #EVENT
\*-----------------------------------*/

.event { padding-block-end: 120px; }

.event .section-subtitle { justify-content: center; }

.event .section-title {
  text-align: center;
  margin-block: 15px 50px;
}

.event-list {
  display: grid;
  gap: 30px;
  margin-block-end: 70px;
}

.event-card {
  border: 1px solid var(--platinum);
  padding: 40px 30px;
  border-radius: 2px;
  outline: 3px solid transparent;
  transition: var(--transition-2);
}

.event-card:is(:hover, :focus-within) { outline-color: var(--pistachio); }

.event-card .card-time {
    background-color: var(--pistachio);
    color: var(--white);
    font-weight: var(--fw-600);
    line-height: 1.3;
    width: 10%;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 15px var(--pistachio_50);
    display: flex;
    flex-direction: column-reverse;
}

.event-card .card-time .month { font-size: 2.1rem; }

.event-card .card-time .date { 
      font-size: var(--fs-4);
    color: var(--bright-yellow-crayola);
 }

.event-card .card-subtitle {
  margin-block: 30px 5px;
  color: var(--pistachio);
  font-size: var(--fs-8);
  font-weight: var(--fw-600);
  letter-spacing: -1px;
}

.event-card .card-title {
  color: var(--eerie-black-2);
  letter-spacing: -1px;
}

.event-card .card-text {
  font-family: var(--ff-inter);
  margin-block: 5px 30px;
}

.event .btn-secondary { margin-inline: auto; }





/*-----------------------------------*\
  #INSTA POST
\*-----------------------------------*/

.insta-post-link {
  position: relative;
  background-color: var(--eerie-black-1);
  overflow: hidden;
}

.insta-post-link > img { transition: var(--transition-2); }

.insta-post-link:is(:hover, :focus) > img {
  transform: scale(1.1);
  opacity: 0.5;
}

.insta-post-link > ion-icon {
  color: var(--white);
  font-size: 5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: var(--transition-2);
}

.insta-post-link:is(:hover, :focus) > ion-icon { opacity: 1; }

.insta-post-list {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: inline mandatory;
}

.insta-post-list::-webkit-scrollbar { display: none; }

.insta-post-item {
  min-width: 90%;
  scroll-snap-align: center;
}





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-color: var(--raisin-black);
  color: var(--white);
  font-family: var(--ff-inter);
  padding-block: 40px;
}

.footer .container {
  margin-inline: 15px;
  background-color: var(--eerie-black-3);
  padding: 20px;
}

.footer-list,
.copyright {
  max-width: max-content;
  margin-inline: auto;
}

.footer-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 40px;
  margin-block-end: 15px;
}

.footer-link,
.copyright-link {
  text-decoration: underline;
  transition: var(--transition-1);
}

.footer-link {  color: var(--white_50); }

:is(.footer-link, .copyright-link):is(:hover, :focus) { 
  background-color: hsla(0, 0%, 100%, 0.05);
}

.copyright { text-align: center; }

.copyright-link { display: inline-block; }





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 450px screen
 */

@media (min-width: 450px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-3: 4rem;

  }



  /**
   * CTA
   */

  .cta { --fs-4: 4.1rem; }

}





/**
 * responsive for larger than 580px screen
 */

@media (min-width: 580px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-2: 5.5rem;

  }



  /**
   * DONATE
   */

  .donate-card {
    position: relative;
    padding-block-end: 150px;
    box-shadow: none;
  }

  .donate-card .card-content {
    position: absolute;
    width: 85%;
    bottom: 0;
    right: 0;
    border-radius: 4px;
    box-shadow: var(--card-shadow);
  }

  .donate-card .card-title { --fs-5: 2.4rem; }



  /**
   * EVENT
   */

  .event-card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
  }

  .event-card .card-subtitle { margin-block-start: 0; }

  .event-card .card-title {
    font-size: var(--fs-5);
    line-height: 1.4;
  }



  /**
   * INSTA POST
   */

  .insta-post-item { min-width: 45%; }

}





/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * FEATURES, SERVICE
   */

  .features-list,
  .service-list { grid-template-columns: 1fr 1fr; }



  /**
   * ABOUT
   */

  .banner-row {
    display: flex;
    gap: 20px;
  }

  .deco-title {
    top: 10%;
    left: calc(100% + 40px);
  }

  .about-img { margin-block-end: 0; }

  .about-img:first-child { margin-block-end: 30px; }



  /**
   * TESTIMONIALS
   */

  .testi-card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
  }

  .testi-text { margin-block-start: 0; }



  /**
   * INSTA POST
   */

  .insta-post-item { min-width: 32%; }



  /**
   * FOOTER
   */

  .footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-inline: 40px;
  }

  .footer-list,
  .copyright { margin-inline: 0; }

  .footer-list { margin-block-end: 0; }

}





/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-2: 7.5rem;

  }



  /**
   * HEADER
   */

  .header { transition: var(--transition-2); }

  .header-action {
    display: flex;
    align-items: center;
    gap: 50px;
  }

  .search-btn {
    color: var(--white);
    font-size: 2.6rem;
  }

  .search-btn ion-icon { --ionicon-stroke-width: 50px; }



  /**
   * HERO
   */

  .hero {
    background-image: url("../images/naz_hero.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    min-height: 780px;
  }



  /**
   * FEATURES
   */


  .features-list { grid-template-columns: repeat(4, 1fr); }



  /**
   * ABOUT
   */

  .banner-col { width: 50%; }

  .about-img { max-width: 100%; }

  .about-img-2 {
    min-width: 120%;
    margin-inline-start: -20%;
  }

  .about-img-3 { max-width: 90%; }

  .about .container {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 120px;
  }

  .about-banner { margin-block-end: 0; }



  /**
   * CTA
   */

  .cta .container {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 30px;
  }

  .cta-content { margin-block-end: 0; }

  .cta .section-title { --fs-4: 5rem; }



  /**
   * SERVICE
   */

  .service-list { grid-template-columns: repeat(4, 1fr); }



  /**
   * DONATE
   */

  .donate-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }



  /**
   * TESTIMONIALS
   */

  .testi {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .testi-content { padding-inline: 30px 50px; }



  /**
   * EVENT
   */

  .event-card .wrapper {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
  }

  .event-card .card-text { margin-block-end: 0; }



  /**
   * INSTA POST
   */

  .insta-post-item { min-width: 24%; }

}





/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-3: 4.4rem;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1400px;
    width: 100%;
    margin-inline: auto;
    padding-inline: 30px;
  }

  .section-title { line-height: 1.2; }



  /**
   * HEADER
   */

  .nav-open-btn,
  .nav-close-btn,
  .navbar > .logo,
  .navbar-link > ion-icon { display: none; }

  .header { padding-bottom: 10px; }

  .lang-switch {
    position: relative;
    display: block;
    background-color: transparent;
    border: none;
    color: var(--white);
    font: inherit;
    font-size: var(--fs-8);
    font-weight: var(--fw-600);
  }

  .lang-switch option { color: var(--eerie-black-1); }

  .navbar {
    all: unset;
  }

  .navbar-list {
    all: unset;
    display: flex;
    gap: 10px;
  }

  .navbar-link {
    font-size: var(--fs-10);
    font-weight: var(--fw-600);
    text-transform: capitalize;
    transition: var(--transition-2);
  }

  .navbar-link:is(:hover, :focus) { background: none; }

  .navbar-list:hover .navbar-link:not(:hover) { color: var(--white); }



  /**
   * HERO
   */

  .hero {
    padding-block: 100px 325px;
    background-position: center;
  }



  /**
   * FEATURES
   */





  /**
   * ABOUT
   */

  .deco-img { left: -35px; }



  /**
   * DONATE
   */

  .donate-card { padding-inline-end: 120px; }

  .donate-card .card-content { width: 65%; }



  /**
   * PARTNER
   */

  .partner .container { justify-content: space-evenly; }



  /**
   * INSTA POST
   */

  .insta-post-item { min-width: 20%; }



  /**
   * FOOTER
   */

  .footer .container {
    margin-inline: 30px;
    width: auto;
  }

}

/* ======================= DONATION MODAL – CLEAN VERSION ======================= */
/* Make sure no other .donate-* styles exist before this block */

/* overlay fills whole screen */

.volunteer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(148, 163, 184, 0.85); /* soft grey like the screenshot */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.volunteer-overlay.active {
  display: flex;
}

/* MODAL CARD */
.volunteer-modal {
  background: #ffffff;
  color: #0f172a;
  border-radius: 10px;
  max-width: 520px;
  width: 100%;
  padding: 1.8rem 2.2rem;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.35);
  position: relative;
  overflow: visible;
  direction: rtl;          /* Arabic RTL */
  text-align: right;
}

/* mobile */
@media (max-width: 768px) {
  .volunteer-modal {
    max-width: 95%;
    max-height: 90vh;
  }
}

/* CLOSE BUTTON (X) */
.volunteer-close {
  position: absolute;
  top: 0.9rem;
  left: 1.1rem;            /* left for RTL */
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #9ca3af;
}
.volunteer-close:hover {
  color: #4b5563;
}

/* TITLE + TEXT */
.volunteer-title {
  font-size: 1.9rem;
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.volunteer-subtitle {
  margin: 0 0 1.9rem;
  font-size: 1.5rem;
  color: #6b7280;
}

/* FORM */
.volunteer-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vf-group label {
  display: block;
  font-size: 1.9rem;
  margin-bottom: 0.25rem;
  color: #374151;
}

.vf-group input,
.vf-group select,
.vf-group textarea {
  width: 100%;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 1.5rem;
  outline: none;
  font-family: inherit;
}

.vf-group textarea {
  border-radius: 12px;
  resize: vertical;
}

.vf-group input:focus,
.vf-group select:focus,
.vf-group textarea:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.2);
}

/* STATUS TEXT */
.volunteer-status {
  margin-top: 0.3rem;
  font-size: 0.8rem;
}
.volunteer-status.error { color: #b91c1c; }
.volunteer-status.success { color: #15803d; }

/* SUBMIT BUTTON – styled like “Accept” in screenshot */
.volunteer-submit-btn {
  margin-top: 1.4rem;
  padding: 0.55rem 1.8rem;
  border-radius: 999px;
  border: none;
  background: #16a34a;               /* green */
  color: #f9fafb;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-end;              /* button on bottom-right of form */
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.35);
}

.volunteer-submit-btn:hover {
  filter: brightness(1.05);
}
/* =================== GALLERY OVERLAY =================== */

.gallery-overlay {
  position: fixed;              /* ⬅️ make it float above the page */
  inset: 0;                     /* top:0; right:0; bottom:0; left:0 */
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;      /* center main image vertically */
  align-items: center;          /* center main image horizontally */
  z-index: 10050;               /* above your header / donate overlay */
}

/* container of big image */
.gallery-content {
  max-width: 90vw;
  max-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* big image */
.gallery-content img#galleryImage {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* thumbs row */
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  overflow-x: auto;
  padding: 10px;
}

/* thumb images */
.gallery-thumbs img {
  width: 90px;
  height: 60px;
  cursor: pointer;
  border-radius: 6px;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-thumbs img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* close button if you want a consistent look */
.gallery-overlay #closeGallery {
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 3rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}
/* ===== GLightbox Thumbnails Bar ===== */

.g-thumbs-bar {
  display: flex;
  gap: 8px;
  padding: 8px 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  overflow-x: auto;
  max-width: 100%;
  box-sizing: border-box;
}


.g-thumbs-bar .g-thumb {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0.6;
  border-radius: 6px;
  overflow: hidden;
  flex: 0 0 auto;
  outline: none;
}

.g-thumbs-bar .g-thumb img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  display: block;
}

.g-thumbs-bar .g-thumb.active {
  opacity: 1;
  box-shadow: 0 0 0 2px #fff;
}

/* Scrollbar بسيط */
.g-thumbs-bar::-webkit-scrollbar {
  height: 6px;
}
.g-thumbs-bar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}
.g-thumbs-bar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 3px;
}
/* CONTACT + FOOTER WRAPPER */
.contact-footer {
  background-color: #111827;
  color: #f9fafb;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.contact-footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* GRID */
.contact-footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

/* BLOCKS */
.contact-footer-block {
  flex: 1 1 280px;
  min-width: 0;
}

.contact-footer-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.contact-footer-subtitle {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-footer-text {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* LIST */
.contact-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-footer-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-footer-list ion-icon {
  font-size: 1.2rem;
}

/* NEWSLETTER FORM */
.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.footer-newsletter input[type="email"] {
  flex: 1 1 auto;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
      background: #ffffff59;
}

.footer-newsletter .btn {
  white-space: nowrap;
  border-radius: 999px;
}

/* VOLUNTEER BUTTON */
.footer-volunteer-btn {
    margin: 0 auto;
    margin-top: 40px;}

/* BOTTOM BAR */
.footer-bottom {
  border-top: 1px solid rgba(249, 250, 251, 0.08);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.footer-bottom-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.footer-bottom-links a,
.contact-footer a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom-links a:hover,
.contact-footer a:hover {
  text-decoration: underline;
}
.footer-signature {
  display: flex;
  align-items: center;
  gap: 0.4rem;     /* مسافة صغيرة بين النص واللوجو */
  white-space: nowrap; /* يمنع نزول أي جزء لسطر جديد */
}

.footer-signature span {
  font-weight: 600;
}

/* RESPONSIVE: MOBILE */
@media (max-width: 768px) {
  .owl-carousel.owl-rtl {
    width: 100%;
    position: relative;
    top:auto;
    left: auto;
  }
  .contact-footer-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-footer-block {
    text-align: center;
  }

  .contact-footer-list li {
    justify-content: center;
  }

  .footer-newsletter {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-newsletter input[type="email"],
  .footer-newsletter .btn {
    width: 100%;
    border-radius: 999px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
  
}
@media (max-width: 768px) {

  /* خلي الكونتينر فلكس وعكس الترتيب عشان الكاروسيل يطلع تحت */
 

  .owl-carousel.owl-rtl {
    width: 100%;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin-top: 20px;  /* مسافة فوق الكاروسيل تحت المحتوى */
  }


}
/* make sure the carousel never exceeds the screen */
.hero-carousel,
.hero-carousel .owl-stage-outer {
  max-width: 100%;
  overflow: hidden;
}

/* each item behaves nicely inside the viewport */
.hero-carousel .owl-item,
.hero-carousel .item {
  box-sizing: border-box;
}

/* images must shrink to the container */
.hero-carousel .item img {
  display: block;
  width: 100%;
  height: auto;
}

/* optional: safety net for the whole page */
body {
  overflow-x: hidden;
}

/* if you INSIST on fixed pixel width on mobile */
@media (max-width: 767px) {
  .hero-carousel {
    max-width: 360px;   /* or 320px – whatever you want */
    width: 100%;
    margin: 0 auto;     /* center it */
  }
}









/* =========================================
   GLOBAL HELPER CLASSES (if not existing)
   ========================================= */

:root {
  --primary: #1f7a4d;
  --primary-dark: #17603c;
  --accent: #f4a51c;
  --danger: #c0392b;
  --gray-100: #f7f7f7;
  --gray-200: #ececec;
  --gray-600: #666666;
  --gray-800: #333333;
  --radius-lg: 16px;
  --shadow-lg: 0 18px 45px rgba(15, 23, 42, 0.25);
  --transition-fast: 0.2s ease-in-out;
}

body {
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Utility: full-width buttons */
.btn.full {
  width: 100%;
  text-align: center;
}

/* Generic status messages */
.status-success {
  color: #1b9448;
}

.status-error {
  color: #c0392b;
}

/* =========================================
   VOLUNTEER OVERLAY & FORM
   ========================================= */

.volunteer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9990;
  padding: 1.5rem;
}

.volunteer-overlay.active {
  display: flex;
}

.volunteer-modal {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  position: relative;
  direction: rtl;
  text-align: right;
}

.volunteer-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gray-600);
  transition: color var(--transition-fast);
}

.volunteer-close:hover {
  color: var(--primary);
}

.volunteer-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.volunteer-subtitle {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.volunteer-form {
  display: grid;
  gap: 1rem;
}

.vf-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.vf-group label {
  font-weight: 600;
  font-size: 0.95rem;
}

.vf-group input,
.vf-group select,
.vf-group textarea {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.vf-group input:focus,
.vf-group select:focus,
.vf-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(31, 122, 77, 0.18);
}

.volunteer-submit-btn {
  margin-top: 0.5rem;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.volunteer-submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(31, 122, 77, 0.25);
}

.volunteer-status {
  font-size: 0.9rem;
  min-height: 1.2rem;
}

.volunteer-status.success {
  color: #1b9448;
}

.volunteer-status.error {
  color: #c0392b;
}


.donate-type input[type="radio"] {
  width: 18px;
  height: 18px;
}


/* =========================================
   LEGAL MODALS (תקנון, מדיניות פרטיות)
   ========================================= */

.legal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 9995;
}

.legal-modal-overlay.active {
  display: flex;
}

.legal-modal {
  background: #ffffff;
  border-radius: 18px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 1.8rem 2.1rem 2rem;
  position: relative;
  direction: rtl;
  text-align: right;
}

.legal-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--gray-600);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.legal-close:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.legal-title {
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}

.legal-body {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.8;
}

.legal-body h3 {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: #111827;
}

.legal-body p {
  margin-bottom: 0.45rem;
}

/* Contact modal slightly narrower */
.contact-modal {
  max-width: 640px;
}

/* =========================================
   CONTACT MODAL FORM
   ========================================= */

.contact-modal-form {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.85rem;
}

.cm-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cm-group label {
  font-weight: 600;
  font-size: 0.9rem;
}

.cm-group input,
.cm-group textarea {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.cm-group input:focus,
.cm-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(31, 122, 77, 0.18);
}

.contact-modal-status {
  font-size: 0.9rem;
  min-height: 1.2rem;
}

.contact-modal-status.success {
  color: #1b9448;
}

.contact-modal-status.error {
  color: #c0392b;
}

/* =========================================
   FOOTER LINKS (תקנון / פרטיות / צור קשר)
   ========================================= */

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.footer-bottom-links li {
  list-style: none;
}

.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: #e5e7eb;
  text-decoration: underline;
  font-size: 0.9rem;
}

.footer-link-btn:hover {
  color: #ffffff;
}

.footer-contact-btn {
    margin: 0 auto;
    margin-top: 40px;}

/* =========================================
   RESPONSIVE
   ========================================= */



@media (max-width: 768px) {
  .volunteer-modal,
  .legal-modal {
    max-height: 100vh;
    padding-inline: 1.3rem;
  }

  .donate-left,
  .donate-right {
    padding-inline: 1.4rem;
    padding-bottom:80px
  }

  .donate-title {
    font-size: 2.4rem;
  }

  .hero-carousel.owl-carousel .owl-stage-outer {
    margin-top: 1.2rem;
  }
}


/* ===================== DONATION MODAL + PAYMENT IFRAME ===================== */

/* --- OVERLAY --- */
.donate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9992;
}

.donate-overlay.active {
  display: flex;
}

/* --- MAIN MODAL WRAPPER --- */
.donate-modal {
  background: #ffffff;
  width: min(1100px, 100% - 24px);
  max-height: calc(100vh - 24px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
  position: relative;
  display: flex;
  flex-direction: column;
  direction: rtl;
}

/* Close button (X) */
#closeDonate,
.donate-close {
  position: absolute;
  top: 12px;
  left: 14px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.96);
  color: #f9fafb;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

#closeDonate:hover,
.donate-close:hover {
  background: #020617;
}

/* --- COLUMNS LAYOUT --- */
.donate-columns {
  display: flex;
  height: 100%;
}

.donate-left,
.donate-right {
  flex: 1 1 50%;
  min-width: 0;
  box-sizing: border-box;
    align-items: center;
    align-content: center;
}

/* LEFT: form side */
.donate-left {
  background:radial-gradient(circle at top, #19235c, #191532 58%);
  color: #f9fafb;
  padding: 24px 24px 28px;
  overflow-y: auto;
}

/* Right: promo + iframe */
.donate-right {
  background: #f9fafb;
  color: #0f172a;
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
}

/* --- FORM & TITLES --- */
.donate-form {
  width: 100%;
}

.donate-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  border-radius: 999px;
  padding: 0.35rem 1.2rem;
  margin-bottom: 0.75rem;
}

.donate-badge strong {
  font-weight: 700;
}

.donate-title {
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.donate-title span {
  color: #FFC107;
  display: contents;
}

.donate-section {
  margin-bottom: 1.3rem;

  margin-bottom: 40px;
  margin-top: 40px;
}

.donate-section-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.donate-contact-note {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-top: 0.4rem;
}

/* --- AMOUNTS --- */
.amount-groups {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.amount-group-label {
  font-size: 1.35rem;
  color: #bfdbfe;
}

.amount-options,
.vip-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Base button for amounts */
.amount-btn {
  color: #e5e7eb;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 0.55rem 1.4rem;
  font-size: 1.35rem;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.amount-btn:hover,
.amount-btn.active {
  border-color: #38bdf8;
  background: radial-gradient(circle at top, #0ea5e9, #1f2937);
  color: #f9fafb;
}

/* VIP group container (visible by default) */
.vip-group {}

/* VIP style buttons */
.amount-btn.vip {
  border-radius: 1.25rem;
  min-width: 128px;
  text-align: center;
  font-size: 1.35rem;
  padding-block: 0.8rem;
  line-height: 1.35;
}

.amount-btn.vip span {
  display: block;
  font-weight: 700;
  margin-top: 0.2rem;
}

.amount-btn.vip.silver {
  border-color: #e5e7eb;
  background: linear-gradient(135deg, #111827, #4b5563);
}

.amount-btn.vip.gold {
  border-color: #facc15;
  background: linear-gradient(135deg, #92400e, #fbbf24);
  color: #111827;
}

.amount-btn.vip.platinum {
  border-color: #a5b4fc;
  background: linear-gradient(135deg, #1e293b, #6366f1);
}

/* --- DONATION TYPE (radios) --- */
.donate-type {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  font-size: 1.35rem;
  margin-top: 0.4rem;
}

.donate-type label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

.donate-type input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #0ea5e9;
}

/* --- FORM INPUTS --- */
.donation-form input[type="text"],
.donation-form input[type="email"],
.donation-form input[type="tel"] {
  width: 100%;
  margin-bottom: 0.7rem;
  padding: 0.8rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.92);
  color: #f9fafb;
  font-size: 1.4rem;
}

.donation-form input::placeholder {
  color: #9ca3af;
}

.donation-form input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.35);
}

/* --- TERMS & PRIVACY --- */
.donate-legal-section {
  margin-top: 0.5rem;
}

.donate-terms-label {
  font-size: 1.25rem;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #e5e7eb;
}

.donate-terms-label input[type="checkbox"] {
  margin-top: 0.3rem;
  min-width: 18px;
  min-height: 18px;
}

.inline-link {
  background: none;
  border: none;
  color: #7dd3fc;
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
  padding: 0;
}


/* --- SUBMIT BUTTON & STATUS --- */
.donation-form .btn.full,
.donation-form .btn.btn-primary.full {
  width: 100%;
  margin-top: 0.7rem;
  font-size: 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: #0ea5e9;
  color: #f9fafb;
  border: none;
  font-weight: 600;
  justify-content: center;
}

.donation-form .btn.full:hover {
  background: #0284c7;
}

.payment-status {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  min-height: 1.2em;
}

.payment-status.info {
  color: #facc15;
}

.payment-status.error {
  color: #b91c1c;
}

/* ===================== RIGHT SIDE: PROMO + IFRAME ===================== */

.promo {
  width: 100%;
}

.promo h2 {
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.promo h2 span {
  color: #f97316;
}

.promo-list {
  list-style: none;
  margin: 0 0 0.6rem;
  padding: 0;
  font-size: 1.4rem;
}

.promo-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.promo-list li::before {
  content: "•";
  font-size: 1.5rem;
  margin-top: 0.15rem;
}

.promo-highlight {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 1.2rem;
  padding: 0.8rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 1.35rem;
  margin: 0.9rem 0;
}

.promo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.promo-badge {
  font-size: 1.15rem;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #e0f2fe;
}

.promo-footnote {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-top: 0.7rem;
}

/* When iframe opened on desktop, promo stretches */
.promo-full-iframe {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.promo-full-iframe .payment-frame-wrapper {
  flex: 1;
  margin-top: 1.2rem;
}

/* ===================== PAYMENT FRAME WRAPPER ===================== */

.payment-frame-wrapper {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease;
  background: #020617;
  border-radius: 1.2rem;
  overflow: hidden;
}

.payment-frame-wrapper.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* header used only on mobile – hidden by default */
.payment-mobile-header {
  display: none;
}

.payment-mobile-title {
  font-weight: 600;
}

.payment-mobile-close {
  border: none;
  background: transparent;
  cursor: pointer;
}

/* body + iframe */
.payment-frame-body {
  height: 100%;
  background: #0f172a;
}

.payment-frame-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #ffffff;
}

/* ===================== RESPONSIVE ===================== */

/* Desktop: full-height modal */
@media (min-width: 992px) {
  .donate-modal {
    height: 100vh;
  }

  .donate-columns {
    height: 100%;
  }

  .donate-left,
  .donate-right {
    padding: 40px;
  }
}

/* Tablet & down: stacked columns */
@media (max-width: 992px) {
  .donate-modal {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .donate-columns {
    flex-direction: column;
  }

  .donate-left,
  .donate-right {
    padding-inline: 16px;
  }

  .donate-left {
    max-height: 100vh;
    -webkit-overflow-scrolling: touch;
  }
}

/* Mobile: iframe as full-screen window (with scroll, 100% width) */
@media (max-width: 768px) {
  .payment-frame-wrapper {
    position: fixed;
    inset: 0;
    margin: 0;
    border-radius: 0;
    background: #020617;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    opacity: 1;
    z-index: 10050;
    overflow: hidden;
  }

  .payment-frame-wrapper.visible {
    transform: translateY(0);
  }

  .payment-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.4rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
    color: #f9fafb;
    background: #020617;
  }

  .payment-mobile-title {
    font-size: 1.6rem;
  }

  .payment-mobile-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.95);
    color: #f9fafb;
    font-size: 1.9rem;
  }

  .payment-frame-body {
    flex: 1;
    overflow-y: auto;
    background: #0b1120;
  }

  .payment-frame-body iframe {
    width: 100%;
    height: 100%;
    border: none;
  }

  .promo-footnote {
    display: none;
  }
}

/* Very small phones */
@media (max-width: 480px) {
  .features
{
  margin-block-start:0 !important;
}
  #closeDonate,
  .donate-close {
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .donate-title {
    font-size: 2.7rem;
    margin-bottom: 40px;
  }

  .amount-options,
  .vip-amounts {
    gap: 6px;
  }

  .amount-btn,
  .amount-btn.vip {
    font-size: 1.2rem;
    padding-inline: 0.9rem;
  }
}
/* =========================
   DONATION – FINAL OVERRIDES
   ========================= */

/* hide VIP area completely */
.vip-group {
  display: none !important;
}

/* overlay */
.donate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9992;
}
.donate-overlay.active {
  display: flex;
}

/* main modal */
.donate-modal {
  background: #ffffff;
  width: min(1100px, 100% - 24px);
  max-height: calc(100vh - 24px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
  position: relative;
  display: flex;
  flex-direction: column;
  direction: rtl;
}

/* close button */
#closeDonate,
.donate-close {
  position: absolute;
  top: 12px;
  left: 14px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.96);
  color: #f9fafb;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

/* columns */
.donate-columns {
  display: flex;
  height: 100%;
}
.donate-left,
.donate-right {
  flex: 1 1 50%;
  min-width: 0;
  box-sizing: border-box;
}

/* LEFT: form */
.donate-left {
  background: radial-gradient(circle at top, #19235c, #191532 58%);
  color: #f9fafb;
  padding: 24px 24px 28px;
  overflow-y: auto;
}

/* RIGHT: promo + iframe (desktop only) */
.donate-right {
  background: #f9fafb;
  color: #0f172a;
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
}

/* amount buttons */
.amount-btn {
  color: #e5e7eb;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 0.55rem 1.4rem;
  font-size: 1.35rem;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.amount-btn:hover,
.amount-btn.active {
  border-color: #38bdf8;
  background: radial-gradient(circle at top, #0ea5e9, #1f2937);
  color: #f9fafb;
}

/* inputs */
.donation-form input[type="text"],
.donation-form input[type="email"],
.donation-form input[type="tel"] {
  width: 100%;
  margin-bottom: 0.7rem;
  padding: 0.8rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.92);
  color: #f9fafb;
  font-size: 1.4rem;
}

/* submit button */
.donation-form .btn.full,
.donation-form .btn.btn-primary.full {
  width: 100%;
  margin-top: 0.7rem;
  font-size: 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: #0ea5e9;
  color: #f9fafb;
  border: none;
  font-weight: 600;
  justify-content: center;
}

/* promo text (desktop) */
.promo h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.promo-list {
  list-style: none;
  margin: 0 0 0.6rem;
  padding: 0;
  font-size: 1.4rem;
}

/* iframe wrapper – base (desktop) */
.payment-frame-wrapper {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease;
  background: #020617;
  border-radius: 1.2rem;
  overflow: hidden;
}
.payment-frame-wrapper.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.payment-frame-body {
  height: 100%;
  background: #0f172a;
}
.payment-frame-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #ffffff;
}

/* ===== Desktop: full-height modal with two columns ===== */
@media (min-width: 992px) {
  .donate-modal {
    height: 100vh;
  }
  .donate-columns {
    height: 100%;
  }
  .donate-left,
  .donate-right {
    padding: 40px;
  }
}

/* ===== Tablet & Mobile: stack columns ===== */
@media (max-width: 992px) {
  .donate-modal {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  .donate-columns {
    flex-direction: column;
  }
  .donate-left,
  .donate-right {
    padding-inline: 16px;
  }

  /* hide promo column content on mobile,
     but keep it in DOM so the fixed iframe can still render */
  .donate-right {
    height: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
  }
}

/* ===== Mobile: iframe as FULL-SCREEN window after submit ===== */
@media (max-width: 768px) {
    .features
{
  margin-block-start:0 !important;
}
.event-card .card-time{
width:50%
}
.contact-footer-block{
  flex:auto
}
  .payment-frame-wrapper {
    position: fixed;
    inset: 0;
    margin: 0;
    border-radius: 0;
    background: #020617;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);  /* hidden by default */
    opacity: 1;
    z-index: 10050;
    overflow: hidden;
  }
  .payment-frame-wrapper.visible {
    transform: translateY(0);     /* slide up full screen */
  }

  .payment-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.4rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
    color: #f9fafb;
    background: #020617;
  }
  .payment-mobile-title {
    font-size: 1.6rem;
    font-weight: 600;
  }
  .payment-mobile-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.95);
    color: #f9fafb;
    font-size: 1.9rem;
    cursor: pointer;
  }

  .payment-frame-body {
    flex: 1;
    overflow-y: auto;   /* vertical scroll */
    background: #0b1120;
  }
  .payment-frame-body iframe {
    width: 100%;        /* 100% width on mobile */
    height: 100%;
  }
}
/* === MOBILE: when payment iframe is open, hide the form column === */
@media (max-width: 768px) {
.donate-left, .donate-right {  
  padding-bottom:100px;
      height: 100vh;
    flex: unset;
    position: absolute;
    z-index: 2000;
    align-items: center;
    align-content: center;
}
.donate-right {top:100%}
  /* flag class we’ll add from JS */
  .donate-modal.payment-open {
    background: #020617;
  }

  /* hide the purple form column completely */
  .donate-modal.payment-open .donate-left {
    display: none;
  }

  /* keep the right side as a shell for the full-screen iframe */
  .donate-modal.payment-open .donate-right {
    padding: 0;
    margin: 0;
    height: 100vh;
  }

  /* when payment is open, hide promo text/buttons – keep only iframe */
  .donate-modal.payment-open .promo > *:not(#paymentFrameWrapper) {
    display: none !important;
  }

  /* safety: make sure iframe sheet is full-screen on mobile */
  .donate-modal.payment-open #paymentFrameWrapper {
    position: fixed;
    inset: 0;
    margin: 0;
    border-radius: 0;
    background: #020617;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    opacity: 1;
    z-index: 10050;
    overflow: hidden;
  }
}.payment-frame-body {
  position: relative;
  height: 100%;
  background: #f3f4f6; /* light gray instead of dark navy */
}

/* Skeleton loader בזמן טעינת חלון הסליקה */
.payment-skeleton {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at top, #ffffff, #e5e7eb); /* very light bg */
}

.payment-skeleton-logo {
  width: 140px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e5e7eb, #f9fafb, #e5e7eb); /* light shimmer */
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  margin-bottom: 0.5rem;
}

.payment-skeleton-line {
  width: 80%;
  max-width: 360px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e5e7eb, #f9fafb, #e5e7eb); /* light gray lines */
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.payment-skeleton-line.long {
  width: 90%;
}
.payment-skeleton-line.short {
  width: 55%;
}

.payment-skeleton.is-hidden {
  display: none;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.payment-frame-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #ffffff; /* white payment frame */
}
.donate-name-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.donate-name-row input {
  width: 100%;
}
.donate-terms-label {
    font-size: 1.25rem;
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: #e5e7eb;
}

/* خلي النص كله داخل span واحد */
.donate-terms-text {
    display: inline; /* أو block لو حابب */
}

/* رجّع اللينكات لوضع inline مع underline */
.inline-link {
    background: none;
    border: none;
    color: #77d3fc;
    text-decoration: underline;
    font: inherit;
    cursor: pointer;
    padding: 0;
    display: inline;   /* مهم لأن عندك قاعدة عامة: a { display:block } */
}
