/* ===== Global Styles ===== */
:root {
  /*--primary-color: #6366f1;*/
   --primary-color: #246870;
  --secondary-color: #f5f7ff;
  --text-color: #333;
  --light-text: #666;
  --white: #fff;
  --border-color: #e1e1e1;
  --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --card-shadowHome:  0 -1px 6px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
      padding: 0;
      direction: rtl;
  font-family: "Tajawal", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  direction: rtl;
  overflow-x: hidden;
  width: 100%;
}

    html, body {
      overflow-x:hidden; 
      margin: 0;
      padding: 0;
      direction: rtl;
      height: 100%;
    width: 100%;
    }

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
}

section {
  padding: 60px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.primary-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid #fff;   /* White border */
}

/*.primary-btn:hover {
  background-color: #5254cc;
}*/

.secondary-btn {
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

/* .secondary-btn:hover { */
  /* background-color: var(--primary-color); */
  /* color: var(--white); */
/* } */

.text-center {
  text-align: center;
}

.bg-light {
  background-color: var(--secondary-color);
}

/* ===== Header Styles ===== */


.top-bar {
      background-color: white; /* white background */
      color: #246870;           /* main brand color for text/icons */
      position: relative;
      height: 60px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      width: 100%;
     align-items: center;
    }

    .social-icons1 {
      position: absolute;
      left: 0.1%;
      top: 22%;
      /*transform: translateY(-50%);*/
      display: flex;
      gap: 0.6rem;
      padding-left: 1rem;
    }

.social-icons1 a {
  background-color: #246870;
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  border: 2px solid transparent; /* preserve layout */
}

 .social-icons1 i {
      font-size: 15px;
    }

@media (min-width: 768px) {
.social-icons1 a:hover {
  background-color: white;
  color: #246870;
  border: 2px solid #246870;
}
}

@media (max-width: 768px) {
.social-icons1 a:hover {
  background-color: #246870;
  color: white; 
   border: 2px solid white; 
}
}

    .logo1 {
      right: 0;
      top: 50%;
      
      padding-right: 1rem;
      text-align: right;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 20px;
      font-weight: bold;
      color: #246870; /* text color */

    }
.org-name1{
   display: inline-block;
  white-space: nowrap; /* Prevent line breaks */
  margin-top: 11px;
  margin-right: -5px;
}

.text-e {
  display: inline-block;
  line-height: 1;
  padding-top: 30%;
}
.text-a {
  display: inline-block;
  line-height: 1;
  /*padding-top: 22%;*/
}
@media (max-width: 777px) {
    .org-name1{
    font-size: 19px;
  }
    .social-icons1 {
        position: static;
        z-index: 9;
    }
.social-icons1 a {
    width: 22px;
  height: 22px;
   background-color: white;
   color: #246870;
}

    .org-name1{
        color: white;
    }

   .logo-img1 {
  margin-right: -11px;
  width: 40px;
  height: 40px;
  }

}
 @media (max-width: 600px) {
   .mobile-header {
    /*padding: 0 !important;*/
    width: 100%;
    margin: 0 !important;
  }

      .logo-img1 {
  margin-right: -11px;
  margin-left: -5px;
  }
  .org-name1{
    font-size: 17px;
  }
.social-icons1 {
position: static;
margin-left: -5px;
}

.social-icons1 a {
        width: 22px;
        height: 22px;
        /*font-size:9px;*/
      }

        .social-icons1 i {
        font-size: 11px;
      }    

 }

@media (max-width: 333px) {
  .logo-img1 {
    width: 39px;
    height: 39px;
     margin-right: -19px;

  }
   .org-name1{
    font-size: 15px;
  }
.social-icons1 {
    margin-left: -11px;
}
.social-icons1 a {
        width: 19px;
        height: 19px;
      }

      .social-icons1 i {
      font-size: 11px;
    }
}


.layout {
  display: flex;
  align-items: stretch; 
}


.content {
 flex: 1; /* Takes remaining width */
 background-color: #F5F7FF;
 padding: 20px;
 box-sizing: border-box;
 text-align: center;
 justify-content:center;
}
.content1 {
  flex: 1; /* Takes remaining width */
  background-color: #F5F7FF;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  justify-content:center;  
   height: 100%;
}

.inner-img {
  width: 100%;         /* full width of container */
  max-width: 600px;    /* optional: prevent too wide */
  height: 350px;
  object-fit: contain;
  display: block;
  margin: 0 auto;      /* center the image */
}

@media (min-width: 768px) {
    .inner-img {
  height:350px;
  object-fit: contain;
  display: block;
}
}
@media (max-width: 768px) {
    .content1 {
        display: flex;
        justify-content: center;   /* optional: center horizontally too */
        align-items: center;       /* center vertically */
    }
     .inner-img {
          height: 393px;
     }
}

.sidebar {
  /*display: flex;
  flex-direction: column;*/ /* Stack items vertically */
  padding-top: 22px;
  width: 170px; /* or whatever width you need */
  background-color: #fff; /* optional */
  padding: 10px;
 box-sizing: border-box;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
}

/*.eng .sidebar {
  width: 200px; 
  direction: ltr;
}*/

.eng1 .sidebar {
  width: 222px; /* only on this page */
  direction: ltr;
  padding: 15px;
}

/*.eng .sidebar a i{
  padding-right: 5px;
}*/

.eng1 .sidebar a i{
  padding-right: 5px;
}

.sidebar a {
  display: block;
  padding: 13px;
  text-decoration: none;
  color: #333;
   border-radius: 8px;
}

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

.sidebar a.active {
      /*background-color: #7165e3;*/
       background-color: #246870;
      color: white;
    }

/* Default: hide both */
.DesktopswTablets,
.mobiles {
  display: none;
}

@media (max-width: 777px) {
  .sidebar {
    display: none;
  }
}

@media (min-width: 777px) {
  /* Styles for  laptops */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.language {
  background-color: var(--secondary-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
}
.DesktopswTablets{
   display: flex;
}
}

/*      //mobile Screens here
*/

@media (max-width: 777px) {
  .DesktopswTablets{
   display: none;
}
  .mobiles{
   display: flex;
  }
    header {
  width: 100%;
  display: block;
}
    .mobile-header {
      /*padding: 16px;*/
      background: white;
      box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
      width: 100%;
      box-sizing: border-box;      
       transition: all 0.3s ease;
    }

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

    #micon{
      color: white;
      background-color:#246870 ;
      padding: 9px;
      margin-right: 9px;
      margin-bottom: 11px;
    }

    .row-1 {
      /*justify-content: center;*/
      margin-bottom: 10px;
      height: 55px;
      background-color: #246870;

    }

    .org-name {
      font-size: 20px;
      font-weight: bold;
    }

    .menu-icon {
      font-size: 24px;
      cursor: pointer;
      order: 1; /* Show on the right */
    }

    .mobile-menu {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: -10px;
  padding-bottom: 20px;
  align-items: center;     /* horizontal centering */
  text-align: center;      /* center text inside links */
}

.mobile-menu a {
  text-decoration: none;
  color: #222;
  font-size: 16px;
  padding: 6px 0;
}
.mobile-menu a.active {
  /*color: #4f46e5;
  border-bottom: 2px solid #4f46e5;*/
  color:#246870;
  border-bottom: 2px solid #246870;
  padding-bottom: 4px;
  font-weight: 500;
  text-decoration: none;
}

.menu-open .mobile-menu {
  display: flex;
}

}

/*======== heroImage =============*/

    .heroImg {
  flex: 1; /* Takes remaining width */
  background-repeat: no-repeat;
  background-position: center;
}


/*for the image*/
    @media (min-width: 768px) {
  /* Styles for tablets and larger screens */
      .heroImg.volunteer {
 
 background-image: url('volunteer.jpg');
 
   background-size: 100% 100%; 
  
}
}

 @media (min-width: 769px) and (max-width: 777px){

          .heroImg.volunteer {
  
 background-image: url('volunteer.jpg');
 
   background-size: cover; 
    /*height: 393px;*/
  
}

 }

 @media (max-width: 768px) {

    .heroImg.volunteer {
  
 background-image: url('volunteer.jpg');
 
   background-size: auto; 
   /*height: 393px;*/
}
 }


 @media (min-width: 768px) {
  /* Styles for tablets and larger screens */
      .heroImg.uni {
  
 background-image: url('unique.jpg');

   background-size: 100% 100%; 
  
}
}

 @media (min-width: 769px) and (max-width: 777px){

          .heroImg.uni {
 
 background-image: url('unique.jpg');
 
   background-size: cover; 
    height: 393px;
 
}

 }

 @media (max-width: 768px) {

    .heroImg.uni {
 
 background-image: url('unique.jpg');
 
   background-size: auto; 
   /*height: 393px;*/
}

 }


  @media (min-width: 768px) {
  /* Styles for tablets and larger screens */
      .heroImg.pro {
  
 background-image: url('goal.jpg');
 
   background-size: 100% 100%; 
 
}
}

 @media (min-width: 769px) and (max-width: 777px){

          .heroImg.pro {
  
 background-image: url('goal.jpg');
   background-size: cover; 
    /*height: 393px;*/

}

 }

 @media (max-width: 768px) {

    .heroImg.pro {
 
 background-image: url('goal.jpg');
 
   background-size: auto; 
   /*height: 393px;*/

}

 }


    @media (min-width: 768px) {
  /* Styles for tablets and larger screens */
      .heroImg.stages {
  
 background-image: url('multi.jpg');
 
   background-size: 100% 100%; 
 
}
}

 @media (min-width: 769px) and (max-width: 777px){

          .heroImg.stages {
 
 background-image: url('multi.jpg');

   background-size: cover; 
    height: 393px;
}

 }

 @media (max-width: 768px) {

    .heroImg.stages {

 background-image: url('multi.jpg');
 
   background-size: cover; 
   height: 393px;
}

 }


    @media (min-width: 768px) {
  /* Styles for tablets and larger screens */
      .heroImg.plats {
 
 background-image: url('platforms.jpg');
 
   background-size: 100% 100%; 
  
}
}

 @media (min-width: 769px) and (max-width: 777px){

          .heroImg.plats {
  
 background-image: url('platforms.jpg');
 
   background-size: cover; 
    /*height: 0px;*/
}

 }

 @media (max-width: 768px) {

    .heroImg.plats {
 
 background-image: url('platforms.jpg');
 
   background-size: auto; 
   /*height: 0px;*/
}

 }


     @media (min-width: 768px) {
  /* Styles for tablets and larger screens */
      .heroImg.about {
 background-image: url('about.jpg');
  background-size: 100% 100%; 
}
}

 @media (min-width: 769px) and (max-width: 777px){

 .heroImg.about {
   background-image: url('about.jpg');
   background-size: cover; 
    height: 393px; 
}

 }

 @media (max-width: 768px) {
    .heroImg.about {
 background-image: url('about.jpg');
   background-size: cover; 
   height: 393px;
}
 }
/* ===== Home Page Styles ===== */
@media (min-width: 992px) {
  /* styles for desktop and larger */
  .about-section {
  margin-bottom: -100px; /* reduce the gap to the next section */
}

.faq-section{
 margin-top: -55px; /* reduce the gap to the next section */
}
}

@media (max-width: 576px) {
  /* your mobile styles here */
  .faq-section{
 margin-top: -27px; /* reduce the gap to the next section */
}
}
/* ===== alAqsa Video Styles ===== */

.video-container1 {
  background-image: url('hero.png'); 
  /* Your image path */
  background-size: cover;            /* Scales image to cover container */
  background-position: center;       /* Centers the image */
  background-repeat: n-repeat; 
  padding: 177px 0; 
  align-self: center;
  display: flex;
  flex: 1;
  margin: 0 auto;
  position: relative;
  justify-contet:center;
  height: 100%;
   /*flex-direction: column;*/
}


@media (min-width: 777px) {
    .bg-section {
         width: 73%;
          align-self: center;
    }
}

.video-preview1 {
  background: #222 url('hero.png') center/cover;
  /*display: flex;*/
  justify-content: center;
  align-items: center;
  z-index: 1;
/*  display: none;*/
}

/* Buttons */
.play-button1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.4);
      border: 2px solid white;
      color: white;
      font-size: 24px;
      cursor: pointer;
      backdrop-filter: blur(5px);
      transition: all 0.3s;
      z-index: 2;
     /* display: none;*/
}
  .play-button1:hover {
   /* background: rgba(255, 255, 255, 0.4);*/ /* Lighten background */
     box-shadow: 0 0 15px white; /* Glow effect */
    /*  background: green;*/
    }
/* Video Elements */
.video-player1 {
  position: absolute;
  display: none;
  background: black;
   z-index: 333;
}

@media (min-width: 777px) {
 /*  laptop */

.video-player1 {
  position: absolute;
  height: 99%;
  width: 88%;
  right: 5%;
  top: 0;
}}


@media (min-width: 423px) and (max-width: 776px){
 .video-player1 {
  top:-19px;
  height: 111%;
  /*right: 25%;*/
 }

.video-container1 {
   justify-content: center; /* Centers horizontally */
}
}

@media (max-width: 422px) {
  .video-player1 {
  /*fadel gfold ahot lkol size media query*/
  top: 50%;
 position: absolute;
  background-color: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: 100%;
}
}

.video-player1 video {
  width: 100%;
  height: 100%;
  object-fit: contain;
} 

/* ===== Hero Section Styles ===== */
.hero {
  height: 80vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/placeholder.svg?height=800&width=1200");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-bottom: -30px;
}

.volunteer-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/placeholder.svg?height=800&width=1200");
}

.unique-hero {
  height: auto;
  background: none;
  color: var(--text-color);
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-content-split {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
}

/* ===== About Us Styles ===== */
.page-about {
  background-color: var(--secondary-color);
  text-align: center;
  padding: 40px 0;
}

.page-about h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* ===== Mission & Vision Section Styles ===== */
.mission-vision-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

@media (max-width: 777px) {
  .mission-vision-content {
    margin-bottom: 5px;
  }
}

.lange{
 direction: ltr;
}

.mission,
.vision,
.values {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--card-shadowHome);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, -0.1fr));
  gap: 20px;
  margin-top: 20px;
}

.value-item {
  display: flex;
  align-items: center;
}

.value-item i {
  color: var(--primary-color);
  margin-left: 10px;
  font-size: 1.2rem;
}

.value-item ,.space i {
   margin-right: 10px;
    margin-left: -3px;
}

/*.value-item ,.space p {
   white-space: normal; 
}*/

.value-item p{
  padding-top: 22px;
}

/* ===== Stats Section Styles ===== */
.stats {
  background-color: var(--secondary-color);
  text-align: center;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-item {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.stat-item h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* ===== Testimonials Section Styles ===== */
.testimonials {
  text-align: center;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  position: relative;
}

.testimonial::before {
  content: "\201C";
  font-size: 4rem;
  position: absolute;
  top: 10px;
  right: 20px;
  color: var(--primary-color);
  opacity: 0.2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-left: 15px;
}

/* ===== Video Intro Section Styles ===== */
.video-intro {
  text-align: center;
  padding: 60px 0;
}

.video-container {
  max-width: 800px;
  margin: 30px auto 0;
}

.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
 /* background-color: #000;*/
  aspect-ratio: 16 / 9;
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.play-button:hover {
  background-color: var(--white);
  transform: translate(-50%, -50%) scale(1.1);
}

#campaign-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  z-index: 3;
}

/* Responsive styles for video section */
@media (max-width: 768px) {
  .video-container {
    max-width: 100%;
    padding: 0 15px;
  }

  .play-button {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .video-intro {
    padding: 40px 0;
  }

  .play-button {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* ===== CTA Section Styles ===== */
.cta {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
}



.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* ===== Newsletter Section Styles ===== */
.newsletter {
  background-color: var(--secondary-color);
  text-align: center;
}

.newsletter-form {
  display: flex;
  max-width: 600px;
  margin: 30px auto 0;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
  font-family: "Tajawal", sans-serif;
}

.newsletter-form button {
  border: none;
  border-radius: 0 5px 5px 0;
}

/* ===== Footer Styles ===== */

.fcontainer {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.fecontainer {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
   direction: ltr;
}


footer {
  background-color: var(--text-color);
  color: var(--white);
  padding: 20px 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*padding-top: 0px;*/
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  display: flex;
  gap: 15px;
}

.language-footer {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* ===== About Page Styles ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.about-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
}

.story-section {
	margin-top:55px;
	margin-bottom:55px;
  background-color: var(--secondary-color);
}

.story-section .container {
  max-width: 800px;
  direction: ltr;
}

.phone-number-1d{
 background-color: #246870; /* خلفية */
  color: #fff;     /* اللون */
  font-weight: bold;  /* اختياري: لتوضيح أكثر */
  padding-top: 6px;
}
@media (max-width: 576px) {
  /* your mobile styles here */
  .phone-number-1d{
  padding-top:3px;
 }
}
.whatsapp-btn-wrapper {
  text-align: center; /* يجعل الزر في الوسط */
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #246870;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 16px;
  border-radius: 8px;
  margin-top: 15px;
  transition: background-color 0.3s, transform 0.2s;
}

.whatsapp-btn:hover {
  background-color: #1d4f54;
  transform: translateY(-2px);
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
}
.eng-btn .whatsapp-icon {
  padding-bottom: 3px;
}

/* ===== Team Section Styles ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
}

.member-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
}

.member-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.values-section {
  background-color: var(--white);
}

/*.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}*/

.value-card {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-10px);
}

.value-icon {
  width: 70px;
  height: 70px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-size: 1.8rem;
  box-shadow: var(--card-shadow);
}

/* ===== Platforms Page Styles ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.platform-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
   text-align: center;
}

.platform-card:hover {
  transform: translateY(-10px);
}

.platform-icon {
  width: 70px;
  height: 70px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
    margin: 0 auto 20px; /* 👈 centers the circle */
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 2rem;
  color: var(--primary-color);
}

.platform-link {
  display: block;
  margin: 15px 0;
  color: var(--primary-color);
  word-break: break-all;
}

.platform-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.stat {
  display: flex;
  align-items: center;
  background-color: var(--secondary-color);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.stat i {
  margin-left: 8px;
  color: var(--primary-color);
}

.main-platforms {
  margin-bottom: 50px;
}

.other-platforms {
  background-color: var(--secondary-color);
}

/* ===== Production Stages Page Styles ===== */

.step-card7 {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  text-align: center;
  position: relative;
}

@media (max-width: 777px) {

  .step-card7 {
  margin-bottom: 11px;
}
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.process-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.process-image {
  position: relative;
}

.process-image img {
  width: 100%;
}

.step-number {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.process-content {
  padding: 20px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.video-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-10px);
}

.video-thumbnail {
  position: relative;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
}

.play-icon:hover {
  background-color: var(--white);
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.8rem;
}

.video-card h3,
.video-card p {
  padding: 0 20px;
}

.video-card h3 {
  margin-top: 20px;
}

.video-card .btn {
  margin: 20px;
}

.translated-videos {
  background-color: var(--secondary-color);
}

.design-gallery {
  margin-top: 40px;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.gallery-item {
  text-align: center;
}

.gallery-item p {
  margin-top: 10px;
  font-size: 0.9rem;
}

.center-button {
  text-align: center;
  margin-top: 40px;
}

/* ===== Productions Page Styles ===== */
.designs-grid,
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.design-card,
.video-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.design-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.design-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.design-card:hover .design-image img {
  transform: scale(1.05);
}

.design-content,
.video-content {
  padding: 20px;
}

.videos-section {
  background-color: var(--secondary-color);
}


/* ===== Volunteer Page Styles ===== */


/*volunterForm*/

.h2-wrapper {
  text-align: center; /* only affects the h2 */
}

.h2-center {
  text-align: center; /* only affects the h2 */
}

.h2-wrapper h2 {
  display: inline-block;       /* shrink border to fit text */
  border: 2px dashed #bebeb8;   /* example border */
  padding: 19px 22px;
  margin-bottom: 22px;                   /* reset default margin */
}
.container1 { margin: 0 auto; } @media (max-width: 768px) { .container1 { width: 90%; } }
    @media (min-width: 768px) { .container1 { width: 60%; /* or any width you want */ }}
	
	
.phone-wrapper {
  direction: ltr !important; /* input treated as LTR */
  display: inline-block;
  width: 100%; /* adjust as needed */
}

.phone-wrapper .iti {
  width: 100% !important;
  direction: ltr !important;
}

.phone-wrapper .iti__flag-container {
  left: 0 !important;    /* force flag to left */
  right: auto !important;
}

.phone-wrapper input {
  text-align: left !important; /* numbers appear LTR */
}
   
    /* The library wraps your input in this div */
 .intl-tel-input {
            width: 100%;
            margin-bottom: 1rem;
  }
	
 .contact-form1 {
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  padding: 30px;
}

@media (min-width: 768px) {
.contact-form1 {
  width: 100%; /* fill the container */
 }
}
   
 #submitBtn:disabled {
    background-color: #cccccc; /* gray when disabled */
    color: #666666;
    cursor: not-allowed;
  }   
/*formEnd*/

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.left-step{
  left: -15px;
}

.step-icon {
  width: 70px;
  height: 70px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.opportunities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.opportunity-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.opportunity-content {
  padding: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}

.contact-info {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 30px;
  border-radius: 10px;
}

.contact-info h3 {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item i {
  margin-left: 15px;
  font-size: 1.2rem;
}

.contact-form {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  font-family: "Tajawal", sans-serif;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-container .eng-faq{
  direction: ltr;
}

.faq-item {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
}

.faq-question i {
  transition: var(--transition);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 1000px;
}

/* ===== Unique Page Styles ===== */
.core-values {
  background-color: var(--white);
}

.featured-productions {
  /*background-color: var(--secondary-color);*/
   background-color: white;
}

.productions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.production-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.production-card:hover {
  transform: translateY(-10px);
}

.production-image {
  position: relative;
}

.production-card h3,
.production-card p {
  padding: 0 20px;
}

.production-card h3 {
  margin-top: 20px;
}

.production-card .btn {
  margin: 20px;
}

.work-areas {
  background-color: var(--white);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.area-card {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
}

.area-card:hover {
  transform: translateY(-10px);
}

.area-icon {
  width: 70px;
  height: 70px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-size: 1.8rem;
  box-shadow: var(--card-shadow);
}

.social-media {
  background-color: var(--secondary-color);
  text-align: center;
}

.social-icons-large {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.social-icon-large {
  width: 80px;
  height: 80px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.social-icon-large:hover {
  transform: translateY(-10px);
  background-color: var(--primary-color);
  color: var(--white);
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content-split {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    margin-top: 20px;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    height: 60vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: 5px;
    margin-bottom: 10px;
  }

  .newsletter-form button {
    border-radius: 5px;
  }

/*======== Fotter ===============*/




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

  .footer-logo {
    margin-bottom: 20px;
  }

  .footer-bottom p {
    margin-bottom: 20px;
  }

  .footer-links {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 40px 0;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .stat-item {
    padding: 20px;
  }

  .stat-item h3 {
    font-size: 1.5rem;
  }

  .platform-stats {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Fix horizontal scrolling on small screens */
  .container {
    padding: 0 15px;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Ensure grid items don't cause overflow */
  .designs-grid,
  .videos-grid,
  .platforms-grid,
  .process-grid,
  .opportunities-grid,
  .productions-grid,
  .areas-grid,
  .values-grid,
  .team-grid,
  .gallery-row {
    grid-template-columns: 1fr;
  }

  /* Adjust padding for better mobile experience */
  .design-card,
  .video-card,
  .platform-card,
  .process-card,
  .opportunity-card,
  .production-card,
  .area-card,
  .value-card,
  .team-member {
    padding: 15px;
  }

  /* Make sure images don't overflow */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Adjust social icons spacing */
  .social-icons-large {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .social-icon-large {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
}



