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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #fff;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        nav {
            width: 100%;
            max-width: 1200px;
            background: #eafef8;
            padding: 0.5rem 1.5rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border-radius: 0 0 14px 14px;
            position: sticky;
            top: 0;
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }

        /* Logo */
        .logo {
            display: flex;
            align-items: center;
            cursor: pointer;
            user-select: none;
            gap: 8px;
            flex-shrink: 0;
        }

        .logo img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: contain;
            transition: transform 0.3s ease;
            box-shadow: 0 0 15px #00563f;
        }

        .logo:hover img {
            transform: rotate(15deg) scale(1.1);
        }

        .logo-text {
            font-weight: 700;
            font-size: 1.2rem;
            color: #00563f;
            letter-spacing: 0.1em;
            user-select: none;
        }

        /* Center search bar */
        .search-bar {
            flex: 1;
            /* take available space */
            max-width: 400px;
            /* max width */
            margin: 0 1rem;
            position: relative;
        }

        .search-bar input {
            width: 100%;
            padding: 6px 36px 6px 10px;
            border: 2px solid #00563f;
            border-radius: 30px;
            outline: none;
            font-size: 0.95rem;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .search-bar input:focus {
            border-color: #00563f;
            box-shadow: 0 0 10px #007c5b;
        }

        .search-bar svg {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            fill: #00563f;
            pointer-events: none;
        }

        /* Nav Links */
        .nav-links {
            display: flex;
            gap: 1.2rem;
            font-weight: 600;
            font-size: 1rem;
            color: #00563f;
            user-select: none;
            align-items: center;
            flex-shrink: 0;
        }

        .nav-links a {
            text-decoration: none;
            color: #00563f;
            padding: 4px 8px;
            border-radius: 6px;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .nav-links a:hover {
            background-color: #00563f;
            color: white;
        }
                /* Language */

 .language-selector {
      position: relative;
      display: inline-block;
    }

    .language-button {
      background: #f0f0f0;
      border: none;
      padding: 8px 12px;
      font-size: 16px;
      cursor: pointer;
      border-radius: 5px;
    }

    .language-button i {
      margin-left: 5px;
    }

    .language-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #fff;
      min-width: 140px;
      box-shadow: 0px 8px 16px rgba(0,0,0,0.15);
      border-radius: 4px;
      z-index: 1;
    }

    .language-menu a {
      display: block;
      padding: 10px;
      color: #000;
      text-decoration: none;
    }

    .language-menu a:hover {
      background-color: #eee;
    }

    .language-selector:hover .language-menu {
      display: block;
    }
        /* Hamburger Button */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            width: 26px;
            height: 20px;
            justify-content: space-between;
        }

        .hamburger div {
            width: 100%;
            height: 3px;
            background-color: #00563f;
            border-radius: 3px;
            transition: all 0.3s ease;
        }
        /* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 140px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 10000;
  border-radius: 6px;
  text-align: right;
  direction: rtl;
}
.dropdown-content a {
  color: #00563f;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
  background-color: #00563f;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 26px;
    height: 20px;
    justify-content: space-between;
}

.hamburger div {
    width: 100%;
    height: 3px;
    background-color: #00563f;
    border-radius: 3px;
    transition: all 0.3s ease;
}
/* fotter */

.footer-basic {
    padding: 10px 0;
    background-color: #00563f;
    color: #ffffff;
    width: 100%;
}

.footer-basic ul {
    padding: 0;
    list-style: none;
    text-align: center;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 0;
}

.footer-basic li {
    padding: 0 10px;
}

.footer-basic ul a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
}

.footer-basic ul a:hover {
    opacity: 1;
}

.footer-basic .social {
    text-align: center;
    padding-bottom: 25px;
}

.footer-basic .social>a {
    font-size: 24px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    border: 1px solid #ffffff;
    margin: 0 8px;
    color: inherit;
    opacity: 0.75;
}

.footer-basic .social>a:hover {
    opacity: 0.9;
}

.footer-basic .copyright {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #ffffff;
    margin-bottom: 0;
}

.nav-links2 {
    display: flex;
    gap: 1.2rem;
    font-weight: 600;
    font-size: 1rem;
    color: #000000;
    user-select: none;
    align-items: center;
    flex-shrink: 0;
    justify-content: center;

}

.nav-links2 a {
    text-decoration: none;
    color: #e9e8eb;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    justify-content: center;

}

.nav-links2 a:hover {
    background-color: #14901a;
    color: white;
}



/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 140px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    border-radius: 6px;
    text-align: right;
    direction: rtl;
}

.dropdown-content a {
    color: #00563f;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
    background-color: #f2f2f2;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}
/* vydyoy yekem*/
.ds {
    width: 700px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 20px auto;
}
/*WTA JWLAWAKA*/
.ticker-container {
  width: 100%;
  overflow: hidden;
  background-color: #00563f;
  border: 2px solid #2dbc88;
  padding: 10px 0;
  direction: ltr;
  position: relative;
 }

.ticker-text {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%; 
  animation: scrollLeft 50s linear infinite;
  font-weight: bold;
  color: #e3f5f2;
  font-size: 1rem;
}
@keyframes scrollLeft {
  0% {
    transform: translateX(-10%);
  }
  100% {
    transform: translateX(-100%);
  }
}

   .content {
      height: 3000px; /* بۆ تاقیکردنەوە درێژی دروست دەکات */
    }
.video-scroll-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  direction: ltr; /* بۆ دەست پێکردن لە لای راست */
  background-color: #fff; /* پەڕەی سپی */
  padding: 10px 20px; /* کەم padding بۆ کۆنتەینەر */
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}
    .scroll-top {
      position: fixed;
      bottom: 40px;
      right: 40px;
      background-color: #00563f;
      color: white;
      border: none;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      font-size: 24px;
      cursor: pointer;
      display: none;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 6px rgba(0,0,0,0.2);
      transition: background-color 0.3s;
      font-weight: 900;
    }

    .scroll-top:hover {
      background-color: #00563f;
    }
      
/*چالاکیەکان 5*/
.news-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* بۆ کامپیوتەر */
  gap: 24px;
  padding: 20px;
  direction: ltr;
}

.box1 {
  background-color: #f1f1f1;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.box1:hover {
  transform: translateY(-5px);
}

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

.box1 p:first-of-type {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #575757;
}

.box1 img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
  object-fit: cover;
}

.text-content {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 10px;
}

.dates {
  font-size: 0.85rem;
  color: #777;
  text-align: right;
}
.box-text-content{
     font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
  text-align: left;
}
.box {
  background-color: #f1f1f1;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  align-items: center;
  text-align: center;
}
.box img {
  width: 700px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
  object-fit: cover;
}


/*AAll chalaki*/
  .box2 {
    direction: ltr; /* Kurdish/Arabic layout */
    display: flex;
    flex-direction: row; /* image left, text right */
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 90%;
    margin: 20px auto;
    padding: 10px;
    background-color: rgb(252, 252, 252);
    border-radius: 10px;
    position: relative;
    gap: 20px;
    box-shadow: 5px 5px 5px rgb(136, 136, 136);
}

.box2 img {
    width: 400px;
    height: auto;
    border-radius: 10px;
    flex-shrink: 0;
}

.text-content2 {
    flex: 1;
}

.dates2 {
    width: 100%;
    text-align: right;
    color: rgb(101, 101, 101);
    margin-top: 20px;
}
/*foor book*/

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

    .book {
      width: 200px;
      background-color: #fff;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      padding: 15px;
      border-radius: 10px;
      text-align: center;
    }

    .book img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      border-radius: 5px;
    }

    .book-title {
      font-weight: bold;
      margin-top: 10px;
      color: #333;
    }

    .book a {
      display: inline-block;
      margin-top: 10px;
      padding: 8px 16px;
      background-color: #00563f;
      color: white;
      text-decoration: none;
      border-radius: 5px;
    }

    .book a:hover {
      background-color: #00563f;
    }



    /*ڤیدیۆ*/
    /* ستایلی گشتی */
#video-album {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px auto;
  padding: 20px;
  background-color: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ڤیدۆ */
#video-album video {
  width: 90%; /* default for mobile */
  max-width: 700px;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* دەق */
#video-album .text-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
    text-align: left;

}

/* ڕۆژ */
#video-album .dates {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #666;
  text-align: right;
  align-items: end;
}

/*وێنە*/
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* Default: Mobile */
  gap: 10px;
  margin-top: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}
  /*for zomm image*/
  #lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
 /* سەهمەکە */
    .content {
      height: 3000px; /* بۆ تاقیکردنەوە درێژی دروست دەکات */
    }

    .scroll-top {
      position: fixed;
      bottom: 40px;
      right: 40px;
      background-color: #00563f;
      color: white;
      border: none;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      font-size: 24px;
      cursor: pointer;
      display: none;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 6px rgba(0,0,0,0.2);
      transition: background-color 0.3s;
      font-weight: 900;
    }

    .scroll-top:hover {
      background-color: #00563f;
    }



                 .mlk {
    width:600px;
    height: 300px;
    margin: 20px;
  }

/* بۆ تابلێت و مۆبایل (پانی کەمتر لە 1024px) */
@media (max-width: 1024px) {
    .ds {
        width: 80%;
    } 
             .mlk {
    width:80%;
    height: 300px;
  }
    .news-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .box img{
            width: 80%;

  }
    #video-album video {
    width: 80%;
  }
   .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}
 h3{
  font-size: 1rem;
  margin: 20px;

 }

/* بۆ مۆبایل */
 

    @media (max-width: 768px){  
         .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
          .mlk {
    width: 95%;
    height: 300px;
  }
        .news-container {
    grid-template-columns: 1fr;
  }
 .box2 {
        flex-direction: column; /* Stack image and text vertically */
        align-items: center;    /* Center items */
    }

    .box2 img {
        width: 90%; /* Responsive image width for mobile */
    }

    .text-content2 {
        width: 100%;
        text-align: left;
    }

    .dates2 {
        text-align: right;
    }

 .ds {
        width: 90%;
    }
      .box img{
            width: 90%;

  }
         nav {
                justify-content: space-between;
            }

            .search-bar {
                order: 2;
                max-width: none;
                margin: 1rem 0 0 0;
                width: 100%;
            }

            .search-bar input {
                width: 100%;
            }

            .nav-links {
                position: fixed;
                top: 60px;
                right: -100%;
                background: white;
                height: calc(100vh - 60px);
                width: 230px;
                flex-direction: column;
                padding: 1.2rem;
                gap: 1.2rem;
                transition: right 0.3s ease;
                border-radius: 0 0 0 12px;
                box-shadow: -3px 0 15px rgba(0, 0, 0, 0.1);
                z-index: 9998;
            }

            .nav-links.active {
                right: 0;
            }

            .hamburger {
                display: flex;
                order: 3;
            }

            .logo {
                order: 1;
            }
            .language-selector{
                order: 0;
            }

    }
     /* Hamburger animation on toggle */
        .hamburger.active div:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

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

        .hamburger.active div:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }
               .image-modal {
    display: none; /* initially hidden */
    position: fixed;
    z-index: 10000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
}

.close {
    position: absolute;
    top: 30px;
    left: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
  .mlk {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 600px;
  margin: 20px auto;
}.video-wrapper {
  margin: 20px auto;
  position: relative;
  width: 40%;
  height: auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background-color: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.video-wrapper:hover {
  transform: scale(1.01);
}

.video-wrapper .mlk {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-wrapper2 {
  margin: 20px auto;
  position: relative;
  width: 80%;
  height: auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background-color: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.video-wrapper2:hover {
  transform: scale(1.01);
}

.video-wrapper2 .mlk {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.custom-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  opacity: 0.95;
}

/* Video duration (bottom-right corner) */
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 14px;
  font-family: sans-serif;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
}


.video-scroll-container h2 {
  text-align: right;
  color: #333;
  margin-bottom: 10px;
}

.video-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.video-scroll::-webkit-scrollbar {
  height: 8px;
}
.video-scroll::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

.video-wrapperstory {
  flex: 0 0 auto;
  width: 40%;
  max-width: 600PX;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  background-color: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.video-wrapperstory:hover {
  transform: scale(1.03);
}

.video-wrapperstory .mlk {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.video-wrapperstory2 {
  flex: 0 0 auto;
  width: 20%;
max-width: 400PX;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  background-color: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.video-wrapperstory2:hover {
  transform: scale(1.03);
}

.video-wrapperstory2 .mlk {
  width: 100%;
  height: 100%;
  aspect-ratio: 3/5;
  object-fit: cover;
  display: block;
}
.custom-play-buttonstory  {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  opacity: 0.95;
}

.video-durationstory {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 14px;
  font-family: sans-serif;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
}


.box3{
  width: 100%;
}
/* --- تابلێت --- */
@media (max-width: 1024px) {
  .video-wrapperstory {
    width: 70%;  /* کەم کردنی width بۆ تابلێت */
    max-width: none;
  }
  
  .video-wrapperstory2 {
    width: 40%; /* کەم کردنی width بۆ تابلێت */
    max-width: none;
  }
  
  .video-scroll {
    gap: 12px;
    padding-bottom: 8px;
  }
}

/* --- مۆبایل --- */
@media (max-width: 600px) {
  .video-scroll-container {
    padding: 8px 12px;
  }

  .video-scroll {
    gap: 10px;
    padding-bottom: 6px;
  }

  .video-wrapperstory {
    width: 90%; /* بۆ مۆبایل سایزێکی گەورەتر بۆ دەبینین */
    max-width: none;
  }

  .video-wrapperstory2 {
    width: 300px; /* بۆ مۆبایل فەیسبوک ستوری گەورەتر */
    max-width: none;
  }

  /* کەمکردن font-size بۆ ڤیدیۆ درێژایی */
  .video-duration, .video-durationstory {
    font-size: 12px;
    padding: 1px 4px;
  }

  /* کەمکردن size ی play button */
  .custom-play-button svg {
    width: 40px !important;
    height: 40px !important;
  }
}

/* Tablets (up to 1024px) */
@media (max-width: 1024px) {
  .video-wrapper {
    width: 70%;
    
  }  .video-wrapper2 {
    width: 90%;
            height: 200px;

  }

}

/* Mobile (up to 768px) */
@media (max-width: 768px) {
  .video-wrapper {
    width: 90%;
    height: 290px;
  }box
    .video-wrapper2 {
    width: 80%;
        height: 290px;

  }
  .video-wrapperstory {
    width: 80%;
  }
}

.close:hover {
    color: #bbb;
}
