/* Hero Section */
.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
}

 .hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
 }

 .hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 800ms ease;
 }

 .hero-slide.is-active {
  opacity: 1;
 }

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.65) 100%);
  z-index: 3;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 40px;
  padding-bottom: 120px;
  text-align: center;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-text {
  margin-top: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(0, 18, 30, 0.6);
  padding: 10px 20px;
  margin-bottom: 24px;
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-badge span {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-white);
}

.hero-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title-line {
  width: 3px;
  height: 80px;
  background: var(--primary-gold);
}

.hero-subtitle {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-subtitle .text-gold {
  margin-left: 10px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-gold {
  color: var(--primary-gold);
}

.text-white {
  color: var(--text-white);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-dots {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 0;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.is-active {
  height: 26px;
  width: 10px;
  background: var(--primary-gold);
  border-color: var(--primary-gold);
}

.hero-scroll {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% + 10px)); }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 680px;
  overflow: visible;
}

.hero-bg,
.hero-bg-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

/* Quick Access Section */
.quick-access {
  padding: 120px 0 100px;
  position: relative;
  background: var(--dark-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
}

.section-badge::before,
.section-badge::after {
  content: '';
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-gold) 0%, rgba(202, 156, 94, 0.3) 100%);
  border-radius: 2px;
}

.section-badge::after {
  background: linear-gradient(270deg, var(--primary-gold) 0%, rgba(202, 156, 94, 0.3) 100%);
}

.section-badge span {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-gold);
  white-space: nowrap;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

.quick-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 31px;
}

.quick-card {
  position: relative;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.quick-card.is-active {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.quick-card.is-active .card-bg {
  transform: scale(1.1);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  background: var(--card-bg);
  border: 1px solid #434c4f;
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  margin-bottom: 16px;
  z-index: 3;
}

.quick-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgba(77, 88, 91, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translateY(16%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
  z-index: 2;
}

.quick-overlay-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.quick-overlay-icon {
  width: 30px;
  height: 30px;
}

.quick-overlay-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.quick-overlay-desc {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.quick-card.is-active .quick-overlay {
  transform: translateY(0);
  opacity: 1;
}

.quick-card.is-active .card-content {
  background: var(--primary-gold);
  transform: translateX(-50%) translateY(-5px);
}

.quick-card.is-active .card-content {
  opacity: 0;
  pointer-events: none;
}

.quick-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-gold) 0%, transparent 50%);
  z-index: 2;
  opacity: 0.9;
}

.card-content img {
  width: 32px;
  height: 32px;
}

.card-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
}

/* About Section */
.about {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -220px;
  width: 520px;
  height: 520px;
  background: rgba(202, 156, 94, 0.18);
  clip-path: polygon(0 0, 62% 0, 100% 50%, 62% 100%, 0 100%, 38% 50%);
  z-index: 0;
}

.about::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -260px;
  width: 620px;
  height: 620px;
  border-radius: 999px;
  border: 90px solid rgba(202, 156, 94, 0.38);
  transform: translateY(-50%);
  z-index: 0;
}

.about-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.about-text {
  flex: 1;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: right;
}

.about-description {
  font-size: 18px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.88);
}

.about-images {
  flex: 1;
  position: relative;
  height: 520px;
  max-width: 560px;
}

.about-frame {
  display: none;
}

.frame-border {
  position: absolute;
  width: 380px;
  height: 450px;
  border-radius: 190px / 225px;
  border: 32px solid;
}

.frame-gold {
  border-color: var(--primary-gold);
  top: 0;
  right: 33px;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.02); opacity: 0.9; }
}

.frame-gray {
  border-color: var(--card-bg);
  top: 2px;
  right: 0;
}

.about-img-main {
  position: absolute;
  top: 110px;
  right: 0;
  width: 430px;
  height: 300px;
  object-fit: cover;
  z-index: 3;
  border: 10px solid #5b6669;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

.about-img-main:hover {
  transform: scale(1.02);
}

.about-img-side {
  position: absolute;
  top: 0;
  right: 160px;
  width: 380px;
  height: 420px;
  object-fit: cover;
  z-index: 1;
  opacity: 0.95;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.about-img-side:hover {
  transform: translateX(-5px);
}

.about-logo {
  display: none;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about-stat {
  position: absolute;
  bottom: 50px;
  right: 10px;
  background: var(--card-bg);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 4;
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-stat img {
  width: 50px;
  height: 50px;
}

.stat-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
}

.stat-label {
  font-size: 16px;
  color: var(--primary-gold);
}

/* Stats Section */
.stats {
  padding: 40px 0;
  background: linear-gradient(90deg, #3d4a4e 0%, #4a5558 50%, #3d4a4e 100%);
  border-top: 3px solid var(--primary-gold);
  border-bottom: 3px solid var(--primary-gold);
}

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

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
}

/* Services Section */
.services {
  padding: 80px 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: transparent;
  border: 1px solid var(--card-bg);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(202, 156, 94, 0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(202, 156, 94, 0.35);
}

.service-card:hover::before {
  opacity: 0;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.service-header img {
  width: 30px;
  height: 30px;
}

.service-header h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-white);
}

.service-card:hover .service-header h3 {
  color: #ffffff;
}

.service-card p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.92);
}

.service-arrow {
  width: 48px;
  height: 48px;
  margin-top: auto;
  transition: var(--transition);
}

.service-card:hover .service-header img,
.service-card:hover .service-arrow {
  filter: brightness(0) invert(1);
}

.service-card:hover .service-arrow {
  transform: translate(-5px, -5px);
}

/* Partners Section */
.partners {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
}


 .partners::before,
 .partners::after {
   content: none;
 }

.partners-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 44px 0;
  position: relative;
  background: #ffffff;
  margin-top: 28px;
}

 .partners-gold {
   position: absolute;
   top: 50%;
   transform: translateY(-50%) rotate(45deg);
   width: 220px;
   height: 220px;
   background: linear-gradient(135deg, #b88a49, #e0c28d);
   opacity: 0.95;
   border-radius: 10px;
   z-index: 0;
   pointer-events: none;
 }

 .partners-gold--right {
   right: -150px;
 }

 .partners-gold--left {
   left: -150px;
 }

.partners-slider::before,
.partners-slider::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 260px;
  height: 260px;
  border: 1.5px solid rgba(184, 138, 73, 0.55);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(184, 138, 73, 0.22);
  background: transparent;
  pointer-events: none;
  z-index: 0;
}

.partners-slider::before {
  right: -185px;
}

.partners-slider::after {
  left: -185px;
}

.partners-marquee {
  width: 100%;
  max-width: 1000px;
  background: #ffffff;
  padding: 18px 26px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.partners-marquee::before,
.partners-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 90px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partners-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.partners-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

/* .partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 40px;
  animation: partnersMarquee 18s linear infinite;
  will-change: transform;
} */

.partners-track {
    display: flex;
    align-items: center;
    /* التغيير الأهم: اجعل العرض يتمدد حسب المحتوى */
    width: max-content;
    /* تقليل المسافة قليلاً ليسمح بظهور المزيد في الشاشات الصغيرة */
    gap: 40px;
    /* التأكد من أن الحركة خطية ومستمرة */
    animation: partnersMarquee 30s linear infinite;
    will-change: transform;
}

.partners-slider:hover .partners-track {
  animation-play-state: paused;
}

/* .partners-strip {
  display: block;
  height: 98px;
  width: auto;
  flex: 0 0 auto;
} */


/* التأكد من أن الصور لا تتقلص */
.partners-strip {
    display: block;
    height: 98px;
    width: auto;
    flex-shrink: 0; /* يمنع الصورة من الانكماش */
    object-fit: contain;
}

@keyframes partnersMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partners-slider > img {
  max-width: 100%;
  height: auto;
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .partners-gold {
    width: 160px;
    height: 160px;
    opacity: 0.9;
  }

  .partners-gold--right {
    right: -110px;
  }

  .partners-gold--left {
    left: -110px;
  }

  .partners-slider::before,
  .partners-slider::after {
    width: 200px;
    height: 200px;
    border-width: 1px;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(184, 138, 73, 0.2);
  }

  .partners-slider::before {
    right: -150px;
  }

  .partners-slider::after {
    left: -150px;
  }

  .partners-slider {
    padding: 32px 0;
  }

  .partners-marquee {
    padding: 14px 16px;
  }

  .partners-track {
    gap: 28px;
  }

  .partners-strip {
    height: 84px;
  }
}

@media (max-width: 480px) {
  .partners {
    padding: 44px 0;
  }

  .partners-slider {
    padding: 26px 0;
    margin-top: 20px;
  }

  .partners-gold,
  .partners-slider::before,
  .partners-slider::after {
    display: none;
  }

  .partners-marquee {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .partners-marquee::before,
  .partners-marquee::after {
    width: 32px;
  }

  .partners-track {
    gap: 22px;
  }

  .partners-strip {
    height: 60px;
  }
}

@media (max-width: 360px) {
  .partners-gold,
  .partners-slider::before,
  .partners-slider::after {
    display: none;
  }

  .partners-marquee {
    padding-left: 18px;
    padding-right: 18px;
  }

  .partners-marquee::before,
  .partners-marquee::after {
    width: 36px;
  }

  .partners-strip {
    height: 68px;
  }
}

 @media (prefers-reduced-motion: reduce) {
   .partners-track {
     animation: none;
   }
 }

/* App Download Section */
.app-download {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #0c1e23;
}

.app-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.app-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 2;
}

.app-content {
  position: relative;
  z-index: 3;
  padding: 70px 0;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.app-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 18px;
}

.app-text {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 18, 30, 0.6);
  padding: 10px;
  margin-bottom: 20px;
}

.app-badge span {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-white);
}

.app-title {
  font-size: 42px;
  font-weight: 700;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  margin-bottom: 12px;
}

.app-subtitle {
  font-size: 24px;
  font-weight: 500;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
}

.app-stores {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .app-content {
    padding: 56px 0;
    min-height: 460px;
  }

  .app-logo {
    width: 92px;
    height: 92px;
  }

  .app-title {
    font-size: 34px;
  }

  .app-subtitle {
    font-size: 20px;
    margin-bottom: 26px;
  }
}

@media (max-width: 480px) {
  .app-content {
    padding: 48px 0;
    min-height: 420px;
  }

  .app-badge span {
    font-size: 18px;
  }

  .app-title {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .app-subtitle {
    font-size: 18px;
    margin-bottom: 22px;
  }

  .app-stores {
    flex-direction: column;
    gap: 12px;
  }

  .app-stores img {
    max-width: 240px;
    width: 100%;
  }
}

.app-stores img {
  cursor: pointer;
  transition: var(--transition);
}

.app-stores img:hover {
  transform: scale(1.05);
}

/* Events Section */
.events {
  padding: 80px 0;
  position: relative;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.events-grid {
  transition: transform 220ms ease, filter 220ms ease;
}

.events-grid.is-sliding-left {
  transform: translateX(6px);
  filter: brightness(1.04);
}

.events-grid.is-sliding-right {
  transform: translateX(-6px);
  filter: brightness(1.04);
}

.event-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  height: 280px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1), -5px -5px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 5px 15px 40px rgba(0, 0, 0, 0.2), -5px -5px 20px rgba(0, 0, 0, 0.1);
}

.event-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  object-fit: cover;
  border-radius: 0 12px 0 0;
  transition: var(--transition);
}

.event-card:hover .event-bg {
  transform: scale(1.1);
}

.event-dots {
  position: absolute;
  top: 45px;
  right: 0;
  width: 175px;
  height: 314px;
  object-fit: cover;
}

.event-content {
  position: absolute;
  top: 66px;
  right: 36px;
  max-width: 269px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.event-category {
  font-size: 20px;
  color: var(--primary-gold);
  text-align: right;
}

.event-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
}

.event-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.event-card .btn {
  position: absolute;
  bottom: 13px;
  right: 35px;
  z-index: 3;
}

@media (min-width: 769px) {
  .event-card {
    --event-img-w: clamp(14rem, 34%, 19rem);
    --event-pad: clamp(1.125rem, 2.2vw, 2.25rem);
  }

  .event-bg {
    width: var(--event-img-w);
  }

  .event-content {
    right: var(--event-pad);
    max-width: calc(100% - var(--event-img-w) - (var(--event-pad) * 2));
  }

  .event-card .btn {
    right: var(--event-pad);
  }
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    height: auto;
    min-height: unset;
    display: flex;
    flex-direction: column;
  }

  .event-bg {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 190px;
    border-radius: 12px 12px 0 0;
  }

  .event-card::after {
    content: none;
  }

  .event-dots {
    display: none;
  }

  .event-content {
    position: relative;
    top: auto;
    right: auto;
    padding: 18px 22px 14px;
    max-width: none;
    z-index: 2;
  }

  .event-card .btn {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 0 22px 22px;
    z-index: 2;
  }
}

@media (max-width: 480px) {
  .event-content {
    padding: 24px 16px 14px;
  }

  .event-card .btn {
    margin: 0 16px 16px;
  }
}

.events-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}

.events-nav {
  display: flex;
  gap: 48px;
}

.nav-btn {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.18);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-btn:hover {
  transform: translateY(-1px) scale(1.06);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.28);
}

.nav-btn:focus-visible {
  outline: 2px solid rgba(189, 156, 78, 0.9);
  outline-offset: 3px;
}

.nav-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.nav-btn.is-pressed {
  transform: scale(0.96);
}

.nav-btn .nav-icon {
  width: 26px;
  height: 26px;
  display: block;
  rotate: 180deg;
}

@media (prefers-reduced-motion: reduce) {
  .nav-btn {
    transition: none;
  }
}

/* FAQ Section */
.faq {
  padding: 80px 0;
}

.faq-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.faq-header {
  position: sticky;
  top: 100px;
}

.faq-description {
  font-size: 20px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-top: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  background: rgba(77, 88, 91, 0.8);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  text-align: right;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(202, 156, 94, 0.1);
}

.faq-question img {
  width: 28px;
  height: 28px;
  transition: var(--transition);
}

.faq-item.active .faq-question img {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 24px;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {

  .hero-title,
  .hero-subtitle,
  .app-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 22px;
  }

  .quick-cards,
  .services-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }

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

  .stats-content {
    flex-direction: column;
    gap: 32px;
  }

  .about {
    padding: 70px 0;
  }

  .about-content {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .about-text {
    max-width: 100%;
  }

  .about-images {
    height: auto;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
  }

  .about-img-side {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 360px;
    height: 260px;
  }

  .about-img-main {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 360px;
    height: 220px;
  }

  .about-stat {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 8px;
  }

  .about::before,
  .about::after {
    opacity: 0.22;
  }

  .hero-dots {
    position: static;
    transform: none;
    flex-direction: row;
    margin-top: 28px;
  }

  .hero-dot.is-active {
    width: 26px;
    height: 10px;
  }

  .header-content {
    flex-direction: column;
    gap: 14px;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-navbar {
    max-width: calc(100% - 24px);
    padding: 14px 16px;
  }

  .hero-navbar .nav-content {
    gap: 18px;
    flex-wrap: wrap;
  }

  .chat-button {
    width: 56px;
    height: 56px;
    bottom: 24px;
    left: 16px;
  }

  .chat-button img {
    width: 28px;
    height: 28px;
  }

  .faq {
    padding: 60px 0;
  }

  .faq-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq-header {
    position: static;
    top: auto;
  }

  .faq-description {
    font-size: 16px;
    margin-top: 16px;
  }

  .faq-question {
    padding: 16px;
    font-size: 16px;
  }

  .faq-question span {
    flex: 1;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: right;
  }

  .faq-question img {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
  }

  .faq-answer p {
    padding: 0 16px 16px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 620px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 28px;
  }

  .hero-title-line {
    height: 56px;
  }

  .hero-dots {
    right: 16px;
  }

  .quick-cards {
    gap: 18px;
  }

  .quick-card {
    height: 300px;
  }

  .quick-overlay {
    padding: 22px 18px;
  }

  .quick-overlay-icon-wrap {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
  }

  .quick-overlay-title {
    font-size: 22px;
  }

  .quick-overlay-desc {
    font-size: 16px;
  }

  .about::before,
  .about::after {
    display: none;
  }

  .about-images {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .about-img-side,
  .about-img-main {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 360px;
  }

  .about-img-side {
    height: 260px;
  }

  .about-img-main {
    height: 220px;
    border-width: 8px;
  }

  .about-stat {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 8px;
  }

  .faq {
    padding: 50px 0;
  }

  .faq-question {
    padding: 14px;
  }

  .faq-answer p {
    padding: 0 14px 14px;
  }
}
