:root {
  --white-color:                  #ededed;
  --primary-color:                #0b50c0;
  --secondary-color:              #15d8ff;
  --section-bg-color:             #f0f8ff;
  --custom-btn-bg-color:          #005007;
  --custom-btn-bg-hover-color:    #007b0a;
  --dark-color:                   #131313e2;
  --p-color:                      #717275;
  --border-color:                 #7fffd4;
  --link-hover-color:             #B22727;

  --body-font-family:             'Outfit', sans-serif;

  --h1-font-size:                 60px;
  --h2-font-size:                 46px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  18px;
  --btn-font-size:                14px;
  --copyright-font-size:          16px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-bold:             500;
}

body {
  background-color: var(--dark-color);
  font-family: Vazirmatn; 
  direction: rtl;
}

::selection {
  background-color: #00b8b2; /* سبز ملایم */
  color: white; /* رنگ نوشته هنگام انتخاب */
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

.link-fx-1 {
  color: var(--white-color);
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 6px;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.link-fx-1:hover {
  color: var(--link-hover-color);
}

.link-fx-1:hover::before {
  transform: translateX(17px) scaleX(0);
  transition: transform .2s;
}

.link-fx-1:hover .icon circle {
  stroke-dashoffset: 200;
  transition: stroke-dashoffset .2s .1s;
}

.link-fx-1:hover .icon line {
  transform: rotate(-180deg);
}

.link-fx-1:hover .icon line:last-child {
  transform: rotate(180deg);
}

.link-fx-1::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform-origin: right center;
  transition: transform .2s .1s;
}

.link-fx-1 .icon {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translateX(100%) rotate(90deg);
  font-size: 32px;
}

.icon {
  --size: 1em;
  height: var(--size);
  width: var(--size);
  display: inline-block;
  color: inherit;
  fill: currentColor;
  line-height: 1;
  flex-shrink: 0;
  max-width: initial;
}

.link-fx-1 .icon circle {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset .2s;
}

.link-fx-1 .icon line {
  transition: transform .4s;
  transform-origin: 13px 15px;
}

.link-fx-1 .icon line:last-child {
  transform-origin: 19px 15px;
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background-color: var(--dark-color);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.section-overlay + .container {
  position: relative;
}

.tab-content {
  background-color: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 45px;
}

.nav-tabs {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-large);
  border-bottom: 0;
  padding: 15px;
}

.nav-tabs .nav-link {
  border-radius: var(--border-radius-large);
  border: 0;
  padding: 15px 0px;
  transition: all 0.5s;
}

.nav-tabs .nav-link:first-child {
  margin-right: 15px;
}

.nav-tabs .nav-item.show .nav-link, 
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus, 
.nav-tabs .nav-link:hover {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  color: var(--primary-color);
}

.nav-item{
  margin: 1px;
  padding: 1px;
}

.nav-tabs h5 {
  color: var(--p-color); 
  margin-bottom: 0;
}

.nav-tabs .nav-link.active h5,
.nav-tabs .nav-link:focus h5, 
.nav-tabs .nav-link:hover h5 {
  color: var(--primary-color);
}

/* برای موبایل: وقتی فوکوس می‌شود، زیرمنو باز شود */
/* مخفی کردن checkbox */
.dropdown-checkbox {
  display: none;
}

/* پیش‌فرض: منو بسته */
.dropdown-menu {
  display: none;
  background: rgba(0, 0, 0, 0.844);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  margin-top: 5px;
  padding: 10px 0;
}

.dropdown-item {
  text-align: right;
  color: white;
  font-size: 14px;
}

/* وقتی checkbox فعال است، منو باز شود */
.dropdown-checkbox:checked + label + .dropdown-menu{
    display: block;
}

/* استایل برای موبایل */
@media (max-width: 991px) {
  .dropdown-menu {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    margin-top: 5px;
    padding: 10px 0;
  }
  .dropdown-item {
    padding: 8px 20px;
    color: #fff;
    font-size: 12px;
  }
  .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
  }
}

.dropdown {
  text-align: right;
  width: 50px;
  margin-left: 8px;
}

/* جلوگیری از بسته شدن منوی اصلی */
.navbar-collapse {
  transition: none; /* حذف انیمیشن که ممکن است باعث بسته شدن شود */
}

/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.custom-icon {
  color: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
.custom-border-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
  color: var(--white-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}

.navbar-expand-lg .navbar-nav .nav-link {
  font-weight: 600;
    font-size: 14px;
    padding-right: var(--bs-navbar-nav-link-padding-x);
    padding-left: var(--bs-navbar-nav-link-padding-x)
}



/*---------------------------------------
  VIDEO              
-----------------------------------------*/
.video-wrap {
  z-index: -100;
  
}

.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  .saye{
    margin-top: 350px;
  }
}


/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background-color: var(--primary-color);
  padding-top: 12px;
  padding-bottom: 12px;
}


/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.sticky-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin-top: 10px;
}

.sticky-wrapper.is-sticky .navbar {
  background-color: var(--dark-color);
}

.navbar {
  background: transparent;
  z-index: 9;
}

.navbar-brand,
.navbar-brand:hover {
  color: var(--white-color);
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-bold);
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 3px;
  padding: 3px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}

.dropdown-menu {
  display: none;
}

.dropdown-menu.show {
  display: block;
}


@media (min-width: 992px) {
  .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}



/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  height: calc(100vh - 51px);
}

.hero-section small {
  color: var(--white-color);
  text-transform: uppercase;
}

.hero-section .section-overlay {
  z-index: 2;
  opacity: 0.45;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-bottom: 35px;
}

.hero-section .container .row {
  height: 100%;
}


/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-section {
  background-image: url('../images/muk.jpg');
  background-color: #704010;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.about-image {
  border-radius: 45px 0 0 45px;
  display: block;
  box-shadow: 3px 8px 17px rgb(0, 0, 0)
}

.about-text-wrap {
  position: relative;
}

.about-text-icon {
  background: var(--primary-color);
  border-radius: 100%;
  font-size: var(--h3-font-size);
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
}

.about-text-info {
  backdrop-filter: blur(5px) saturate(180%);
  -webkit-backdrop-filter: blur(5px) saturate(180%);
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: var(--border-radius-medium);
  border: 1px solid rgba(209, 213, 219, 0.3);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 20px;
  padding: 35px;
}


/*---------------------------------------
  TICKET               
-----------------------------------------*/
.ticket-section {
  background-image: url('../images/backticket.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding-top: 130px;
}

.ticket-form {
 background: linear-gradient(135deg, rgba(0, 100, 27, 0.107), rgba(0, 45, 73, 0.148));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.432);
  border-radius: 35px 35px 0 0;
  padding: 50px;
}

.ticket-form .form-check {
  position: relative;
  min-height: 52px;
  padding-left: 35px;
}

.ticket-form .form-check .form-check-label {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 12px;
  margin-left: 35px;
  width: 100%;
  height: 100%;
}


/*---------------------------------------
  ARTISTS              
-----------------------------------------*/
.artists-thumb {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.artists-image {
  border-radius: var(--border-radius-medium);
  display: block;
  width: 100%;
}

.artists-thumb:hover .artists-hover {
  transform: translateY(0);
  opacity: 1;
}

.artists-hover {
  background-color: var(--primary-color);
  background-color: rgba(0, 13, 40, 0.75);
  border-radius: var(--border-radius-medium);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(5px) saturate(180%);
  margin: 50px;
  padding: 20px;
  transition: all 0.8s ease;
  transform: translateY(100%);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  opacity: 0;
}

.artists-hover p strong {
  color: var(--white-color);
  display: inline-block;
  min-width: 180px;
  margin-right: 20px;
}

.artists-hover p a {
  color: var(--secondary-color);
}

.artists-hover p a:hover {
  color: var(--white-color);
}

.artists-hover hr {
  margin: 1.5rem 0;
}


/*---------------------------------------
  SCHEDULE              
-----------------------------------------*/
.schedule-section {
  background-image: url('../images/nainoa-shizuru-unsplash-blur.jpg');
  background-color: #242424;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.table-responsive {
	filter: drop-shadow(2px 2px 4px #606060);
}

.schedule-table {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.schedule-table .bg-warning {
  background: #f0a5a5 !important;
}

.schedule-table thead th {
  background-color: var(--secondary-color);
}

.schedule-table th,
.schedule-table tr,
.schedule-table td {
  border-bottom-color: #363a3e;
  padding: 30px;
}

.schedule-table tr:last-child th,
.schedule-table tr:last-child td {
  border-bottom-color: transparent;
}

.schedule-table thead th {
  border-right: 1px solid #c7460a;
  border-bottom-color: transparent;
}

.schedule-table th + td {
  border-bottom: 0;
}

.schedule-table thead th:last-child {
  border-right-color: transparent;
}

.schedule-table .pop-background-image {
  background-image: url('../images/artists/joecalih-UmTZqmMvQcw-unsplash.jpg');
}

.schedule-table .rock-background-image {
  background-image: url('../images/artists/abstral-official-bdlMO9z5yco-unsplash.jpg');
}

.schedule-table .country-background-image {
  background-image: url('../images/artists/soundtrap-rAT6FJ6wltE-unsplash.jpg');
}

.table-background-image-wrap {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: none;
  position: relative;
}

.schedule-table h3,
.schedule-table p {
  color: var(--white-color);
  position: relative;
  z-index: 2;
}


/*---------------------------------------
  PRICING              
-----------------------------------------*/
.pricing-thumb {
  border: 5px dotted var(--dark-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  padding: 50px;
}

.pricing-thumb h3 small {
  display: inline-block;
  font-size: var(--p-font-size);
  margin-right: 15px;
}

.pricing-list {
  column-count: 2;
  padding-left: 20px;
}

.pricing-list-item {
  line-height: normal;
  margin-right: 10px;
  margin-bottom: 10px;
}

.pricing-tag {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 120px;
  position: absolute;
  top: 0;
  right: 0;
  margin: 20px;
}

.pricing-tag span {
  font-size: 180%;
  line-height: normal;
}

.pricing-thumb .link-fx-1 {
  color: var(--primary-color);
}

.pricing-thumb .link-fx-1:hover {
  color: var(--link-hover-color);
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.map-address-section {
  display: flex;
  flex-direction: column; /* آدرس بالا، نقشه پایین */
  align-items: center;    /* همه محتوا وسط‌چین */
  gap: 20px;
  margin-top: -30px;
  text-align: center;
}

.address-box {
  max-width: 800px; /* متن زیاد نشه */
  width: 100%;
}

.map-box {
  width: 100%;
  display: flex;
  justify-content: center;
}

.map-box iframe {
  width: 800px;        /* در لپ‌تاپ تقریباً 80 درصد صفحه */
  max-width: 1000px; /* ولی بیشتر از 1000px نشه */
  height: 450px;
  border: none;
  border-radius: 12px;
}

/* در موبایل و تبلت */
@media (max-width: 992px) {
  .map-box iframe {
    width: 100%;      /* تمام عرض */
    max-width: 100%;  /* محدودیت برداشته میشه */
    border-radius: 0; /* برای تمام عرض گوشه صاف بهتره */
  }
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  outline: none;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  width: 60%;
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-medium);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background-color: rgb(8, 23, 44);
  position: relative;
  overflow: hidden;
  padding-bottom: 30px;
}

.site-footer-top {
  background-color: rgb(8, 23, 44);
}

.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.343);
  margin-top: 60px;
}

.site-footer-title {
  color: var(--primary-color); 
}

.site-footer-link,
.copyright-text {
  color: var(--white-color);
}

.site-footer-links {
  padding-left: 0;
}

.site-footer-link-item {
  list-style: none;
  display: inline-block;
  margin-right: 15px;
}

.copyright-text {
  font-size: var(--copyright-font-size);
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin-right: 10px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-item {
  list-style: none;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon-link:hover {
  transform: scale(1.1);
}

.social-logo {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease;
}

.social-icon-link:hover .social-logo {
  transform: scale(1.15);
}

/* حذف چرخش و پس‌زمینه قبلی */

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 991px) {
  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .navbar {
    background-color: var(--dark-color);
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 30px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
  }

  .hero-section {
    padding-top: 150px;
    height: 100%;
  }

  .pricing-thumb {
    padding: 35px;
  }

  .schedule-table h3 {
    font-size: 22px;
  }

  .schedule-table th {
    padding: 20px;
  }

  .schedule-table tr, 
  .schedule-table td {
    padding: 25px;
  }

  .ticket-section {
    padding-top: 130px;
  }

  .ticket-form {
    padding: 30px;
  }
}

@media screen and (max-width: 767px) {
  .custom-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }
}

.harf{
  font-size: 13px;
  margin-right: -10px;
  margin-top: 4px;
}

.glass-bg { 
  background: rgba(127, 127, 127, 0.10);
  backdrop-filter: blur(10px);            
  -webkit-backdrop-filter: blur(10px);    
  border-radius: 19px;
  border: 1px solid rgba(102, 102, 102, 0.518);
  padding: 20px;
  text-align: center;
  height: 200px;
}

.eftekhar{
  font-size: x-large;
  text-align: center;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .eftekhar {
    font-size: medium;
  }
  .glass-bg {
    /* اینجا هم width رو دستی نده */
    align-items: center;
  }
  .adres {
    font-size: 13px;
  }
}

/* ----slider image */
.swiper {
  margin-top: 12px;
  width: 100%;
  padding: 20px 0;
}
.swiper-slide {
  width: 130px !important;  /* عرض هر استوری */
  text-align: center;
  flex-shrink: 0;           /* نذار جمع بشن */
}
.swiper-slide img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  padding: 4px;
  background: conic-gradient(#f8e0a0, #f3bd94, #f89fc7, #e4a4fd, #9da5fd, #fae5a9);
  /* box-shadow: 3px 3px 15px rgba(26, 255, 0, 0.407); */
}
.swiper-slide p {
  margin-top: 6px;
  font-size: 13px;
  color: #333;
}
/* دکمه‌ها */
.swiper-button-next,
.swiper-button-prev {
  width: 35px;
  height: 35px;
  border-radius: 5%;
  background: rgba(0, 0, 0, 0.669);  /* پس‌زمینه نیمه‌شفاف */
  color: #fff;                  /* رنگ فلش */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.687);
  padding: 20px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;   /* سایز فلش */
  font-weight: bold; /* ضخامت فلش */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0,0,0,0.8);  /* پررنگ‌تر هنگام هاور */
  transform: scale(1.1);        /* کمی بزرگ‌تر بشه */
}

.gallery-btn {
  display: inline-block;
  padding: 12px 24px;
  margin-bottom: 20px;
  margin-top: -20px;
  background: linear-gradient(135deg, #05621d, #003557);
  color: #d6d6d6;
  border-radius: 10px 0 10px 0;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.gallery-btn:hover {
  background: linear-gradient(135deg, #078226, #005387);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  color: #fff;
}


#scrollBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 99;
  background-color: #004cff;
  color: white;
  border: none;
  outline: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: background-color 0.3s;
  animation: float 2s ease-in-out infinite;
}
#scrollBtn:hover {
  background-color: #0038bc;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

.miz{
  font-size: 15px;
}

 #typing-loop { 
    white-space: pre; 
    font-weight: 400; 
  }
  #typing-loop::after {
    content: "|";
    display:inline-block;
    margin-left:8px;
    animation: blink 1s steps(1) infinite;
  }
  @keyframes blink { 
    50% { opacity: 0 } 
  }

  .align-items-center{
    width: 95%;
    margin: 10px;
    margin-bottom: -8px;
  }
  .img-ruz{
    /* box-shadow: 3px 0px 12px 0px rgb(0, 124, 6); */
    border-radius: 0 0 35px 35px;
  }

  .duas-section {
  color: #fff;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #f8d210;
}

.section-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: #ddd;
  max-width: 700px;
  margin: 0 auto;
}

.dua-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.dua-card:hover {
  transform: translateY(-3px);
  background: rgba(110, 110, 110, 0.12);
}

.dua-card h4 {
  color: #f8d210;
}

audio {
  border-radius: 5px;
  background: #fff;
}

.btn-outline-light {
  border: 2px solid #f8d210;
  color: #f8d210;
  font-weight: bold;
  transition: 0.3s;
}

.btn-outline-light:hover {
  background: #f8d210;
  color: #000;
}

.service-invite {
 background: rgba(255, 255, 255, 0.1); /* شفافیت */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.417);
  padding: 30px;
  color: #fff;  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(2, 86, 134, 0.396);
  margin: 2px auto; /* وسط صفحه */
  text-align: center;
  width: 90%;
}
.service-invite h2 {
  color: #262626;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: bold;
}
.service-invite p {
  font-size: 16px;
  color: #ffffff;
  line-height: 1.8;
  margin-bottom: 25px;
    font-weight: bold;

}
.btn-register {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #068829, #01558d);
  color: #fff;
  border-radius: 10px 0 10px 0;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.btn-register:hover {
  background: linear-gradient(135deg, #05621d, #003557);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  color: #fff;
}

/* scroll  */
.scroll-indicator-horizontal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;   /* کل عرض صفحه */
  height: 2px;   /* ضخامت نوار */
  background: #969696; /* خاکستری */
}

.scroll-indicator-horizontal .progress {
  height: 100%;
  width: 0;
  background: rgb(16, 48, 91); /* سبز */
}

/* logo  */
.navbar-brand {
  display: flex;
  align-items: center;   /* وسط‌چین عمودی متن و لوگو */
  gap: 10px;             /* فاصله بین لوگو و متن */
  text-decoration: none; /* حذف خط زیر لینک */
}

.brand-logo {
  max-height: 80px;   /* ارتفاع پیش‌فرض لوگو */
  height: auto;
  width: auto;
  margin-left: 8px;
}

/* در تبلت */
@media (max-width: 992px) {
  .brand-logo {
    max-height: 30px; /* لوگو کوچکتر بشه */
      margin-left: 5px;

  }
  .navbar-brand small {
    font-size: 13px; /* متن هم کمی کوچکتر بشه */
  }
}
@media (min-width: 992px) and (max-width: 1024px) {
  .harf {
    margin-right: 30px;
  }
}


/* در موبایل */
@media (max-width: 576px) {
  .brand-logo {
    max-height: 25px;
    margin-left: 15px;

  }
  .navbar-brand small {
    font-size: 11px;
  }
}

.copyright {
  font-size: 14px;
  color: #edff24e4;
  margin-top: 40px;
}

.copyright a {
  color: #fbffcbbd;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.copyright a:hover {
  color: #edff24;
}


/* ------gallery */
.masonry-gallery {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.9);
  text-align: center;
}

.lightbox-content img, 
.lightbox-content video {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 5px;
  transform: scale(0.4);       /* شروع از کوچکتر */
  opacity: 0;                  /* شروع از شفافیت صفر */
  transition: transform 0.3s ease, opacity 0.4s ease; /* زمان و نوع انیمیشن */
}

.lightbox-content.active img,
.lightbox-content.active video {
  transform: scale(1);         /* بزرگ شدن به اندازه اصلی */
  opacity: 1;                  /* شفافیت کامل */
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.grid-item{
  margin: 5px;
}

.grid-item video {
  width: 100%;
  display: block;
  pointer-events: none; /* جلوگیری از پخش مستقیم */
}

.grid-item::after {
  font-size: 40px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.7;
  pointer-events: none;
}


.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


.year-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 2px solid #555;
  padding-bottom: 5px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  grid-auto-rows: 150px;
  gap: 10px;
}

/* .grid-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
} */

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.grid-item img:hover, .grid-item video:hover {
  transform: scale(1.05);
}

/* کلاس‌های اندازه‌های مختلف */
.grid-item.w2 { grid-column: span 2; }
.grid-item.h2 { grid-row: span 2; }

/* رسپانسیو */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    grid-auto-rows: 120px;
  }
}
/* -------------------- */

.site-footer-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.site-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer-link-item {
  margin-bottom: 8px;
}

.site-footer-link {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer-link:hover {
  color: #fff;
}

/* در دسکتاپ ستون‌ها فاصله متناسب بگیرن */
@media (min-width: 992px) {
  .site-footer .row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* در موبایل زیر هم مرتب */
@media (max-width: 991px) {
  .site-footer .col-12 {
    text-align: center;
  }
  .site-footer-links {
    display: inline-block;
    text-align: right;
  }
}

/* timer  */
.countdown-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px; /* فاصله بین دایره‌ها */
  margin: 20px 0;
  flex-wrap: nowrap; /* همه در یک سطر */
  
}

.circle {
  width: 80px;
  height: 80px;
  border: 2px solid #0fb2a7;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #0644407b;
  color: #f8f8f8;
  font-family: Vazirmatn;
  text-align: center;
}

.circle span {
  font-size: 18px;
  font-weight: bold;
}

.circle p {
  margin: 0;
  font-size: 12px;
  color: #c4c4c4;
}

@media (max-width: 767px) {
    .countdown-wrap {
        display: flex;        /* مطمئن شدن از فلکس بودن */
        width: 100%;          /* اشغال کل عرض */
        justify-content: center; /* وسط چین کردن دایره‌ها */
        padding: 0 15px;      /* فاصله از چپ و راست */
        gap: 1rem;            /* فاصله بین دایره‌ها */
    }

    .countdown-wrap .circle {
        width: 60px;
        height: 60px;
        padding: 10px;
    }

    .countdown-wrap .circle span {
        font-size: 1.2rem;
    }

    .countdown-wrap .circle p {
        font-size: 0.8rem;
    }
}
@media (max-width: 767.98px) { /* موبایل و تبلت کوچک */
    .right-box {
        text-align: center !important;
        align-items: center !important; /* برای d-flex */
    }

    .right-box .countdown-wrap {
        justify-content: center !important;
    }

    .right-box .location-wrap h1 {
        text-align: center !important;
    }
}

/* صفحه معرفی */
.baner{
  margin-top: 5rem;
  background-color: #454545;
  width: 90%;
  height: 140px;
  border-radius: 8px;
}
.banerpresent{
  height: 140px;
}
.present{
  margin-top: 4rem;
}
.hazrat{
text-align: justify;
}

#typing-loop {
    font-size: large; /* اندازه پیش‌فرض */
  }

  /* حالت موبایل */
  @media (max-width: 768px) {
    #typing-loop {
      font-size: 13px;
    }
  }

  /* خدمات قابل ارائه */
  .services-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
.services-section h2 {
  text-align: center;
  margin-bottom: 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(5, 1fr); /* دسکتاپ: 5 کارت در هر ردیف */
}
@media (max-width: 1130px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 910px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.service-card {
  background: rgb(255, 255, 255);
  border-radius: 12px;
  text-align: center;
  padding: 20px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.353);
}
.service-card:hover {
  background: #1ab4c9;
  color: white;
}
.service-card i {
  font-size: 40px;
  margin-bottom: 10px;
}
.service-card h3 {
  margin: 0;
  font-size: 16px;
}
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
}
.modal-content {
  background-color: #242424;
  margin: 15% auto;
  padding: 50px;
  border-radius: 12px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  position: relative;
}
.close {
  color: #ff0000;
  position: absolute;
  top: 20px; right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover { color: black; }

/* ---امار سال و غذا */
.stats-section {
  background: linear-gradient(135deg, #0d0d0d, #1c1c1c); /* دارک گرادینت */
  padding: 40px 20px;
  border-radius: 16px;
  width: 90%;
  margin: 0 auto;
  box-shadow: 0 3px 10px #0095b377;
}

/* کانتینر داخلی */
.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap; /* برای رسپانسیو */
  gap: 20px;
}

/* هر باکس عدد */
.stat-box {
  flex: 1 1 200px;
  max-width: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: #fff;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, background 0.3s ease;
}
.stat-box:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.122);
}

/* عکس‌ها */
.stat-box img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

/* متن */
.stat-box span {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #ccc;
}
.stat-box strong {
  font-size: 24px;
  font-weight: bold;
  color: #00ffcc; /* رنگ جذاب برای اعداد */
}

/* ----مراسم های گذشته */
.monghazi {
  filter: grayscale(95%) blur(1px);
}
/* برای قاب تصویر */
.artists-image-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

/* متن روی تصویر */
.expired-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.882);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 10px;
  border-radius: 25px;
}

/* نمایش متن هنگام هاور */
.artists-image-wrap:hover .expired-overlay {
  opacity: 1;
}

/* تماس با ما و نقشه */
.contact-section {
  padding: 60px 20px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.map-box {
  flex: 1 1 55%;
  min-height: 350px;
}
.map-box .map {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.49);
}

.address-box {
  flex: 1 1 40%;
  background: linear-gradient(145deg, #0e3946, rgba(0, 0, 0, 0.45));
  padding: 30px;
  border-radius: 12px;
  box-shadow: 2px 4px 15px rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.address-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffffff;
}
.address-box h4 {
  margin-top: 20px;
  font-size: 18px;
  color: #ffffff;
}
.address-box p {
  font-size: 16px;
  color: #fdfdfd;
  margin: 5px 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
  .map-box {
    min-height: 250px;
  }
}

/* کارت‌های خبر */
.news {
  flex: 0 0 250px; /* عرض ثابت دسکتاپ */
  height: 400px; /* ارتفاع ثابت */
  background-color: rgba(0, 0, 0, 0.425); /* شفاف و مدرن */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: start;
  padding: 10px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news:hover {
  transform: translateY(-8px);
  box-shadow: 0 3px 10px rgba(0, 217, 255, 0.326);
}


/* تصویر داخل کارت */
.news-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 10px;
}

/* متن داخل کارت */
.news-text {
  flex: 1; /* اجازه می‌دهد متن فضای موجود را بگیرد */
  font-size: 14px;
  text-align: center;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* فوتر کارت */
.news-footer {
  font-size: 12px;
  color: #ccc;
  text-align: center;
}

/* اسکرول کارت‌ها */
.cards-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* scrollbar مدرن و شفاف */
.cards-slider::-webkit-scrollbar {
  height: 8px;
}
.cards-slider::-webkit-scrollbar-track {
  background: transparent;
}
.cards-slider::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.3);
  border-radius: 4px;
}

/* ریسپانسیو موبایل: یک کارت در هر ردیف یا درصد دلخواه */
@media (max-width: 768px) {
  .cards-slider .news {
    flex: 0 0 70%; /* یک کارت در موبایل */
  }
}

/* دکمه ادامه مطالب */
.news-button-container {
  text-align: center;
  margin-top: 20px;
}

.news-button {
  display: inline-block;
  background-color: #00d9ff;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s;
}

.news-button:hover {
  background-color: #00bcd4;
  transform: translateY(-3px);
}

/* PAGE NEWS */
/* کانتینر کارت‌ها */
.mcards-container {
  display: flex;
  flex-wrap: wrap; /* کارت‌ها در ردیف‌های جدید می‌روند */
  gap: 20px;
  justify-content: center;
  padding: 10px 0;
  box-sizing: border-box;
}

/* کارت‌های اخبار */
.mnews-card {
  position: relative; /* برای قرار دادن آیکون سنجاق */
  flex: 0 0 calc(20% - 15px); /* پیش‌فرض: 5 ستون */
  background-color: #111; /* مشکی اما کمی نرم‌تر */
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  min-height: 380px;
  max-height: 420px;
}

/* آیکون سنجاق */
.mnews-card .pin-icon {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 35px;
  height: 35px;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 10;
}

.mnews-card .pin-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* پست سنجاق‌شده */
.mnews-card.pinned {
  border: 1px solid #1089225c;
  order: -1; /* همیشه اول */
}

/* ریسپانسیو */
@media (max-width: 1200px) {
  .mnews-card {
    flex: 0 0 calc(25% - 15px); /* 4 ستون */
  }
}
@media (max-width: 900px) {
  .mnews-card {
    flex: 0 0 calc(33.33% - 15px); /* 3 ستون */
  }
}
@media (max-width: 600px) {
  .mnews-card {
    flex: 0 0 calc(50% - 10px); /* 2 ستون */
  }
}
@media (max-width: 400px) {
  .mnews-card {
    flex: 0 0 100%; /* 1 ستون در موبایل */
  }
}



.mnews-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 3px 10px rgba(0, 217, 255, 0.326);
}

.news-text {
  color: rgb(255, 255, 255);
  line-height: 1.8;
}

.mnews-image {
  width: 99%;
  height: 170px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  margin-bottom: 10px;
}

.mnews-text {
  flex: 1;
  font-size: 14px;
  text-align: center;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mnews-footer {
  font-size: 12px;
  color: #555;
  text-align: center;
}

/* ریسپانسیو: بین 768px تا 950px = 3 ستون */
@media (min-width: 768px) and (max-width: 1000px) {
  .mnews-card {
    flex: 0 0 calc(33.333% - 20px);
  }
}

/* ریسپانسیو موبایل: کمتر از 768px = 2 ستون */
@media (max-width: 769px) {
  .mnews-card {
    flex: 0 0 calc(50% - 10px);
  }
}

/* ریسپانسیو خیلی کوچک: کمتر از 480px = 1 ستون */
@media (max-width: 480px) {
  .mnews-card {
    flex: 0 0 100%;
  }
}

/* مودال مخفی به‌صورت پیش‌فرض */
.mnews-modal {
  display: none; 
  position: fixed; 
  z-index: 999; 
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto; 
  background-color: rgba(0, 0, 0, 0.771);
}

/* محتوای مودال */
.mnews-modal-content {
  background-color: #001718;
  margin: 50px auto;
  padding: 35px;
  border-radius: 15px;
  width: 90%; /* عرض نسبی برای موبایل */
  max-width: 600px; /* حداکثر عرض در دسکتاپ */
  box-sizing: border-box; /* شامل شدن padding در عرض کل */
  position: relative;
}

/* دکمه بستن */
.mnews-close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #ff0000;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.mnews-close:hover {
  color: #860a0a;
}

/* ---khadamat */
.service-card {
  background: #fff;
  width: 200px;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.35);
  overflow-wrap: break-word;
  box-sizing: border-box;
  max-width: 220px; /* پیش‌فرض دسکتاپ */
  margin: 0 auto;  /* مرکز کردن کارت‌ها */
}

/* موبایل کوچک */
@media (max-width: 480px) {
  .service-card {
    max-width: 150px; /* کاهش عرض کارت‌ها در موبایل */
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  
}

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* وسط چین افقی */
  justify-content: flex-start; /* متن کمی پایین‌تر از بالا */
  background-color: #333333;
  margin: 10% auto;
  padding: 33px;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  text-align: justify;
  line-height: 1.7;
}

.modal-content img {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 15px auto;
}

.close {
  color: #ff0000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #710101;
}

.modal-content img {
  display: block;
  width: 75%;   /* اندازه بزرگ‌تر */
  height: auto;  /* یا auto اگر می‌خوای نسبت تصویر حفظ بشه */
  margin: 0 auto 15px auto; /* وسط چین + فاصله پایین */
  border-radius: 25px 25px 0 0 ;
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.728);
}

#modal-text {
  color: white;
}
#modal-title{
  color: #0084ff;
  font-size: x-large;
  padding: 10px;
  font-weight: 600;
}

/* ------دکمه های اعلانات صفحه اصلی */
.btn-register {
  display: inline-block;
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 8px 0 8px 0;
  color: #fff;
  text-decoration: none;
  margin: 5px;
  transition: 0.3s;
}

/* حالت موبایل */
@media (max-width: 768px) {
  .btn-register {
    padding: 6px 15px;   /* کوچکتر شدن دکمه */
    font-size: 12px;     /* کاهش اندازه فونت */
  border-radius: 8px 0 8px 0;
  }

  .news-button-container {
    display: flex;
    flex-direction: column; /* دکمه‌ها زیر هم بیان */
    align-items: center;
  }

  .btn-register {
    width: 80%;  /* پر کردن عرض بهتر برای موبایل */
    text-align: center;
  }
}

/* --------افکت روی همه مودالها */

/* ----------تنظیمات فیلم صفحه اطلاع رسانی */
.news-video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

  /* پیغام قطع اینترنت  */
#offline-message {
  display: none;
  position: fixed;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  background: #c0392b;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: 400;
  z-index: 9999;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
  max-width: 80%; /* پیش‌فرض برای دسکتاپ */
}

@media (max-width: 600px) {
  #offline-message {
    width: 90%; /* عرض بیشتر برای موبایل */
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem; /* کمی کوچکتر برای هماهنگی */
    padding: 8px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

 /* پیش نمایش تصویر در فرم پیش ثبت نام زائر */
/* .preview-img{
    display: block;
    max-width: 50%;
    max-height: 200px;
    margin-top: 10px;
    border-radius: 22px;
    object-fit: cover;
    align-items: center;
} */


#resultMessage {
  display: none;
  height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 5px;
  margin-top: 10px;
  width: 100%;
  text-align: center;
}


/* ساعت انالوگ */

.clock {
  width: 120px;
  height: 120px;
  border: 5px solid rgb(110, 110, 110);
  border-radius: 50%;
  position: relative;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 10px #000 inset;
}

/* شماره‌ها */
.number {
  position: absolute;
  font-weight: bold;
  color: #16a9b7;
  font-size: 16px;
}

.number12 { top: 8px; left: 50%; transform: translateX(-50%); }
.number3 { top: 50%; right: 8px; transform: translateY(-50%); }
.number6 { bottom: 8px; left: 50%; transform: translateX(-50%); }
.number9 { top: 50%; left: 8px; transform: translateY(-50%); }

/* عقربه‌ها */
.clock .hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom;
  transform: translateX(-50%);
  background: white;
}

.clock .hour { width: 5px; height: 30px; background: #c0c0c0; border-radius: 3px; }
.clock .minute { width: 4px; height: 40px; background: #dedede; border-radius: 3px; }
.clock .second { width: 2px; height: 50px; background: #f46464; }

.clock .center {
  width: 12px;
  height: 12px;
  background: #16a9b7;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
