    :root {
      --bg: #f6f8fb;
      --text: #222;
      --primary: #0ea5e9;
      --footer-bg: #0b1220;
      --footer-text: #fff;
    }

    body {
      margin: 0;
      font-family: "Vazirmatn", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.7;
    }
    a { color: inherit; text-decoration: none; }
    .container { width: min(1200px, 90%); margin: auto; }
    h1,h2,h3,h4 { margin: 0 0 .5em 0; font-weight: 800; }
    .btn {
      display: inline-block;
      padding: .6em 1.2em;
      border-radius: 8px;
      background: var(--primary);
      color: #fff;
      font-weight: 600;
      transition: .3s;
    }
    .btn:hover { opacity: .85; }

    /* ===== Banner ===== */
    .banner {
      position: relative;
      width: 100%;
      min-height: 75vh;
      background: url("images/logo.png") no-repeat center center/cover;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
    }
    .banner::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.4);
    }
    .banner-overlay {
      position: relative;
      text-align: center;
      z-index: 1;
      padding: 1rem;
    }
    .banner-title {
      font-size: clamp(2rem, 5vw, 4rem);
      margin-bottom: .5rem;
      font-weight: 800;
    }
    .banner-subtitle {
      font-size: clamp(1rem, 2.5vw, 1.5rem);
      margin-bottom: 1rem;
      opacity: .9;
    }

    /* ===== Section ===== */
    .section { padding: 4rem 0; }
    .title { text-align: center; margin-bottom: 2rem; }

    /* ===== Gallery ===== */
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 14px;
    }
    .gallery-item {
      cursor: pointer;
      overflow: hidden;
      border-radius: 10px;
      box-shadow: 0 3px 6px rgba(0,0,0,.15);
    }
    .gallery-item img {
      width: 100%;
      display: block;
      object-fit: cover;
      transition: transform .4s ease;
    }
    .gallery-item:hover img { transform: scale(1.05); }

    /* ===== Lightbox ===== */
    .lightbox {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.85);
      display: flex;
      align-items: center;
      justify-content: center;
      visibility: hidden;
      opacity: 0;
      transition: opacity .3s ease;
      z-index: 999;
    }
    .lightbox.active {
      visibility: visible;
      opacity: 1;
    }
    .lightbox img {
      max-width: 90%;
      max-height: 85%;
      border-radius: 8px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    }
    .lightbox-close {
      position: absolute;
      top: 20px;
      right: 30px;
      font-size: 2rem;
      color: #fff;
      cursor: pointer;
      font-weight: bold;
    }

    /* ===== Footer ===== */
    footer {
      background: var(--footer-bg);
      color: var(--footer-text);
      padding: 2rem 0;
    }
    .footer-grid {
      display: grid;
      gap: 2rem;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .footer-grid h4 { margin-top: 0; }
    .social a {
      margin-inline-end: .5rem;
      font-size: 1.4rem;
    }
/* ===== video ===== */

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* ===== Books ===== */

.book-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
  }
  .book {
    width: 150px;
    cursor: pointer;
    transition: transform 0.3s;
  }
  .book img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  .book:hover {
    transform: scale(1.05);
  }
  
/* Button*/

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 0 15px;
  font-weight: bold;
  transition: color 0.3s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover {
  color: var(--primary);
}
