/* general style */
@font-face {
    font-family: "Vazir";
    src: url("fonts/vazir/Vazir.eot");
    src: url("fonts/vazir/Vazir.eot?#iefix") format("embedded-opentype"),
      url("fonts/vazir/Vazir.woff2") format("woff2"),
      url("fonts/vazir/Vazir.woff") format("woff"),
      url("fonts/vazir/Vazir.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: "Vazir";
    src: url("fonts/vazir/Vazir-Bold.eot");
    src: url("fonts/vazir/Vazir-Bold.eot?#iefix") format("embedded-opentype"),
      url("fonts/vazir/Vazir-Bold.woff2") format("woff2"),
      url("fonts/vazir/Vazir-Bold.woff") format("woff"),
      url("fonts/vazir/Vazir-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
  }
  
  @font-face {
    font-family: "Vazir";
    src: url("fonts/vazir/Vazir-Light.eot");
    src: url("fonts/vazir/Vazir-Light.eot?#iefix") format("embedded-opentype"),
      url("fonts/vazir/Vazir-Light.woff2") format("woff2"),
      url("fonts/vazir/Vazir-Light.woff") format("woff"),
      url("fonts/vazir/Vazir-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
  }
  
  @font-face {
    font-family: "Vazir";
    src: url("fonts/vazir/Vazir-Medium.eot");
    src: url("fonts/vazir/Vazir-Medium.eot?#iefix") format("embedded-opentype"),
      url("fonts/vazir/Vazir-Medium.woff2") format("woff2"),
      url("fonts/vazir/Vazir-Medium.woff") format("woff"),
      url("fonts/vazir/Vazir-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
  }
  
  @font-face {
    font-family: "Vazir";
    src: url("fonts/vazir/Vazir-Thin.eot");
    src: url("fonts/vazir/Vazir-Thin.eot?#iefix") format("embedded-opentype"),
      url("fonts/vazir/Vazir-Thin.woff2") format("woff2"),
      url("fonts/vazir/Vazir-Thin.woff") format("woff"),
      url("fonts/vazir/Vazir-Thin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
  }
  
  body {
    margin: 0;
    padding: 0;
    font-family: Vazir;
    direction: rtl;
  }
  p {
    margin-top: 0;
    margin-bottom: 0rem;
  }
  button {
    font-family: vazir;
  }
  * {
    margin: 0;
    padding: 0;
  }
  a:link {
    text-decoration: none;
    color: black;
  }
  
  a:visited {
    text-decoration: none;
    color: black;
  }
  
  /* .container{
    background-color: #e8e8e8 ;
  } */
/*  */
/* style for header */
.headerlogo {
    padding: 10px;
}
.headerlogo img {
    width: 84px;
}
.headerlist ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
.headerlist li {
    font-weight: bolder;
    color: rgb(255, 255, 255);
}
.headr {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: black !important;
}
  /*  */
  
  /* style for banner */
.banner img{
    width: 100%;
    height: 399px;
}


.banner-text {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
  text-align: center;
}
  /*  */

/* style for club */
.club {
    width: 100%;
    margin: 0 auto; 
    box-sizing: border-box;     
  }
  .section-text {
    flex: 1;
    max-width: 40%;
  
    display: flex;
    justify-content: center; 
    align-items: center;     
    text-align: center;
  }
  
.club h1{
    text-align: center;
    margin-top: 35px;
}
.custom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
    gap: 40px;
    direction: rtl;
    margin-top: -9px;
    flex-direction: column;
  }
  
  .section-text {
    flex: 1;
    max-width: 40%;
  }
  
  .section-text h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }
  
  .section-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
  }
  
  .section-cards {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .card {
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    /* height: 310px !important; */
    width: 427px !important;
  }
  .card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
    background-color: #e6e6e6;
  }
  
  .card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 6px;
  }
  
  .card p {
    margin-top: 8px;
    font-size: 0.95rem;
  }
  .three-layout {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
    position: relative;
  }
  
  .three-layout .card {
    width: calc(50% - 10px); 
  }
  
  .three-layout .center-card {
    width: 60%;
    margin-top: 20px;
  }
  .two-layout {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
  }
  
  .two-layout .card {
    width: calc(50% - 10px);
  }
    
#cs13{
  background-color: #b6b7b6;
}
#cs24{
  background-color: #9e363826;
  margin-top: 0px;
}


.image-modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.image-modal .modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.image-modal .close-modal {
  position: absolute;
  top: 30px;
  right: 50px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/*  */

/* style for footer */

.footer {
  width: 100%;
  height: 274px;
  background-color: #131821;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}
.logofooter img {
  /* height: 115px; */
  width: 150px;
}
.footer p {
  color: #ffffff;
  font-size: 20px;
}
.footer i {
  color: #ffffff;
  font-size: 50px;
  margin-left: 30px;
}
.footersec {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 30%;
}
.calldetail {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
/*  */

@media (max-width: 992px) {
  .custom-section {
    padding: 20px;
  }

  .section-cards {
    grid-template-columns: 1fr !important;
    justify-items: center;
  }

  .card {
    max-width: 350px;
    width: 100% !important;
    margin: 0 auto;
  }

  .card img {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .section-text h2 {
    font-size: 1.3rem;
  }

  .card img {
    height: 180px;
  }

  .card p {
    font-size: 0.9rem;
  }
}
@media (max-width: 430px) {
  .container{
    width: 100%;

  }
}




.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
  padding: 10px;
}


@media (max-width: 768px) {
  .headerlist {
    position: absolute;
    top: 124px;
    right: 0;
    background-color: #0d0d0d;
    width: 100%;
    flex-direction: column;
    display: none; 
  }

  .headerlist ul {
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  .headerlist ul a {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    display: block;
    text-decoration: none;
  }

  .hamburger {
    display: block;
  }

  .headr {
    justify-content: space-between;
    padding: 0 20px;
  }

  .headerlist.active {
    display: flex;
  }
}
