
/* Apply Tajawal font as the primary font */
* {
  font-family: 'Tajawal', 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(90deg, #d2b48c0d 0%, #bc9a6a19 100%) !important;
  font-family: 'Tajawal', 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Animated Product Slider Styles */
.animated-product-card {
    flex-shrink: 0;
    width: 320px;
    height: 400px;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
  }

  .animated-product-card.bg-small {
    width: 320px;
    height: 400px;
  }

  .animated-product-bg {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .animated-product-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .animated-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
  }

  /* Animated Product Info Section */
  .animated-product-info {
    padding: 16px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
  }

  .animated-product-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .animated-product-description {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
  }

  .animated-product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
  }

  .animated-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #4a5339;
    margin: 0;
  }

  .animated-add-to-cart-btn {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4a5339, #c9a88f);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
  }

  .animated-add-to-cart-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(221, 193, 173, 0.4);
  }

  .animated-add-to-cart-btn svg {
    width: 18px;
    height: 18px;
  }

  .animated-product-card:hover .animated-product-image {
    transform: scale(1.05);
  }

  .animated-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }

  /* Optimized Animation Keyframes */
  @keyframes scroll {
    0% {
      transform: translate3d(0, 0, 0);
    }
    100% {
      transform: translate3d(-50%, 0, 0);
    }
  }

  /* Reverse Animation Keyframes */
  @keyframes scroll-reverse {
    0% {
      transform: translate3d(-50%, 0, 0);
    }
    100% {
      transform: translate3d(0, 0, 0);
    }
  }

  .animate-scroll {
    animation: scroll 30s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
  }

  .animate-scroll-reverse {
    animation: scroll-reverse 30s linear infinite;
    will-change: transform;
    transform: translate3d(-50%, 0, 0);
  }

  .hover\:pause-animation:hover {
    animation-play-state: paused;
  }

  /* Product Card Base Styles */
  .product-card {
    flex-shrink: 0;
    width: 320px;
    height: 400px;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
  }

  .product-card.bg-small {
    width: 320px;
    height: 400px;
  }

  .product-bg {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .product-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
  }

  /* Product Tooltip Styles */
  .product-tooltip {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
  }

  .product-card:hover .product-tooltip {
    opacity: 1;
  }

  .tooltip-text {
    white-space: nowrap;
  }

  /* Responsive Design for Animated Products */
  @media (max-width: 768px) {
    .animated-product-card,
    .product-card {
      width: 280px;
      height: 380px;
    }

    .animated-product-bg,
    .product-bg {
      height: 260px;
    }

    .animated-product-info {
      height: 120px;
      padding: 14px;
    }

    .animated-product-title {
      font-size: 15px;
    }

    .animated-product-description {
      font-size: 11px;
    }

    .animated-product-price {
      font-size: 16px;
    }

    .animated-add-to-cart-btn {
      width: 32px;
      height: 32px;
    }

    .animated-add-to-cart-btn svg {
      width: 16px;
      height: 16px;
    }

    .animate-scroll {
      animation: scroll 25s linear infinite;
    }

    .animate-scroll-reverse {
      animation: scroll-reverse 25s linear infinite;
    }
  }

  @media (max-width: 480px) {
    .animated-product-card,
    .product-card {
      width: 260px;
      height: 360px;
    }

    .animated-product-bg,
    .product-bg {
      height: 240px;
    }

    .animated-product-info {
      height: 120px;
      padding: 12px;
    }

    .animated-product-title {
      font-size: 14px;
      margin-bottom: 4px;
    }

    .animated-product-description {
      font-size: 10px;
      margin-bottom: 6px;
    }

    .animated-product-price {
      font-size: 15px;
    }

    .animated-add-to-cart-btn {
      width: 30px;
      height: 30px;
    }

    .animated-add-to-cart-btn svg {
      width: 14px;
      height: 14px;
    }

    .animate-scroll {
      animation: scroll 20s linear infinite;
    }

    .animate-scroll-reverse {
      animation: scroll-reverse 20s linear infinite;
    }
  }

  @media (max-width: 360px) {
    .animated-product-card,
    .product-card {
      width: 240px;
      height: 340px;
    }

    .animated-product-bg,
    .product-bg {
      height: 220px;
    }

    .animated-product-info {
      height: 120px;
      padding: 10px;
    }

    .animated-product-title {
      font-size: 13px;
    }

    .animated-product-description {
      font-size: 9px;
    }

    .animated-product-price {
      font-size: 14px;
    }

    .animated-add-to-cart-btn {
      width: 28px;
      height: 28px;
    }

    .animated-add-to-cart-btn svg {
      width: 12px;
      height: 12px;
    }
  }

  /* Product Showcase Item Styles (for dynamic rendering) */
  .product-showcase-item {
    flex-shrink: 0;
    width: 320px;
    height: 400px;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
  }

  .product-showcase-item .furnispot-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(221, 193, 173, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    z-index: 10;
  }

  .product-showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }

  .product-showcase-item img {
    transition: transform 0.3s ease;
  }

  .product-showcase-item:hover img {
    transform: scale(1.05);
  }

  /* Animation Pause State */
  .animation-paused {
    animation-play-state: paused !important;
  }

  /* Performance Optimizations */
  .animate-scroll,
  .animate-scroll-reverse {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
  }

  /* Accessibility Improvements */
  @media (prefers-reduced-motion: reduce) {
    .animate-scroll,
    .animate-scroll-reverse {
      animation: none;
    }

    .animated-product-card,
    .product-card,
    .product-showcase-item {
      transition: none;
    }

    .animated-product-card:hover,
    .product-card:hover,
    .product-showcase-item:hover {
      transform: none;
    }

    .animated-product-image,
    .product-image,
    .product-showcase-item img {
      transition: none;
    }

    .animated-product-card:hover .animated-product-image,
    .product-card:hover .product-image,
    .product-showcase-item:hover img {
      transform: none;
    }
  }

  /* Vertical Products Gallery Styles */
  .vertical-product-card {
    flex-shrink: 0;
    width: 100%;
    height: 250px;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 24px;
  }

  .vertical-product-bg {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .vertical-product-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }

  .vertical-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 12px;
  }

  /* Vertical Product Info Section */
  .vertical-product-info {
    padding: 12px;
    height: 78px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
  }

  .vertical-product-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
    max-height: 2.4em; /* 2 lines * 1.2 line-height */
  }

  .vertical-product-description {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
  }

  .vertical-product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
  }

  .vertical-product-price {
    font-size: 16px;
    font-weight: 700;
    color: #4a5339;
    margin: 0;
  }

  .vertical-add-to-cart-btn {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4a5339, #c9a88f);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
  }

  .vertical-add-to-cart-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(221, 193, 173, 0.4);
  }

  .vertical-add-to-cart-btn svg {
    width: 16px;
    height: 16px;
  }

  .vertical-product-card:hover .vertical-product-image {
    transform: scale(1.05);
  }

  .vertical-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }

  /* Vertical Animation Keyframes */
  @keyframes vertical-scroll {
    0% {
      transform: translate3d(0, 0, 0);
    }
    100% {
      transform: translate3d(0, -50%, 0);
    }
  }

  /* Reverse Vertical Animation Keyframes */
  @keyframes vertical-scroll-reverse {
    0% {
      transform: translate3d(0, -50%, 0);
    }
    100% {
      transform: translate3d(0, 0, 0);
    }
  }

  .animate-vertical-scroll {
    animation: vertical-scroll 40s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
  }

  .animate-vertical-scroll-reverse {
    animation: vertical-scroll-reverse 40s linear infinite;
    will-change: transform;
    transform: translate3d(0, -50%, 0);
  }

  .vertical-column {
    height: 100%;
    overflow: hidden;
    position: relative;
  }

  /* Responsive Design for Vertical Products */
  @media (max-width: 1024px) and (min-width: 769px) {
    .vertical-column {
      height: 100%;
    }

    .vertical-product-info {
      height: 85px;
      padding: 14px;
    }

    .vertical-product-title {
      font-size: 14px;
      max-height: 2.8em; /* 2 lines * 1.4 line-height */
      line-height: 1.4;
    }

    .animate-vertical-scroll,
    .animate-vertical-scroll-reverse {
      animation-duration: 35s;
    }
  }

  @media (max-width: 1024px) {
    .vertical-column {
      height: 100%;
    }

    .vertical-product-title {
      font-size: 13px;
      max-height: 2.6em; /* 2 lines * 1.3 line-height */
    }

    .animate-vertical-scroll,
    .animate-vertical-scroll-reverse {
      animation-duration: 35s;
    }
  }

  @media (max-width: 768px) {
    .vertical-product-card {
      height: 220px;
      margin-bottom: 20px;
    }

    .vertical-product-bg {
      height: 160px;
    }

    .vertical-product-info {
      height: 60px;
      padding: 10px;
    }

    .vertical-product-title {
      font-size: 12px;
      max-height: 2.6em; /* 2 lines * 1.3 line-height */
    }

    .vertical-product-description {
      font-size: 10px;
    }

    .vertical-product-price {
      font-size: 14px;
    }

    .vertical-add-to-cart-btn {
      width: 28px;
      height: 28px;
    }

    .vertical-add-to-cart-btn svg {
      width: 14px;
      height: 14px;
    }

    .vertical-column {
      height: 100%;
    }

    .animate-vertical-scroll,
    .animate-vertical-scroll-reverse {
      animation-duration: 30s;
    }
  }

  @media (max-width: 480px) {
    .vertical-product-card {
      height: 200px;
      margin-bottom: 16px;
    }

    .vertical-product-bg {
      height: 140px;
    }

    .vertical-product-info {
      height: 60px;
      padding: 8px;
    }

    .vertical-product-title {
      font-size: 11px;
      max-height: 2.6em; /* 2 lines * 1.3 line-height */
    }

    .vertical-product-description {
      font-size: 9px;
    }

    .vertical-product-price {
      font-size: 13px;
    }

    .vertical-add-to-cart-btn {
      width: 26px;
      height: 26px;
    }

    .vertical-add-to-cart-btn svg {
      width: 12px;
      height: 12px;
    }

    .vertical-column {
      height: 100%;
    }

    .animate-vertical-scroll,
    .animate-vertical-scroll-reverse {
      animation-duration: 25s;
    }
  }

  /* Accessibility Improvements for Vertical Products */
  @media (prefers-reduced-motion: reduce) {
    .animate-vertical-scroll,
    .animate-vertical-scroll-reverse {
      animation: none;
    }

    .vertical-product-card,
    .vertical-product-image {
      transition: none;
    }

    .vertical-product-card:hover .vertical-product-image {
      transform: none;
    }
  }

  /* Vertical Sectors Gallery Styles */
  .vertical-sector-card {
    flex-shrink: 0;
    width: 100%;
    height: 280px;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(135, 105, 175, 0.1);
    display: flex;
    flex-direction: column;
    padding: 24px;
  }

  .vertical-sector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(221, 193, 173, 0.15) 0%, rgba(198, 133, 145, 0.1) 100%);
    border-radius: 20px 0 50px 0;
    z-index: 0;
  }

  .vertical-sector-icon {
    width: fit-content;
    height: 80px;
    display: flex;
    align-items: start;
    justify-content: start;
    border-radius: 16px;
    margin-bottom: 0px;
    transition: all 0.3s ease;
  }

  .vertical-sector-card:hover .vertical-sector-icon {
    background: linear-gradient(135deg, #4a5339 0%, #c9a88f 100%);
    transform: scale(1.05);
  }

  .vertical-sector-card:hover .vertical-sector-icon svg {
    color: white;
  }

  .vertical-sector-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
  }

  .vertical-sector-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
    max-height: 2.8em; /* 2 lines * 1.4 line-height */
  }

  .vertical-sector-description {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
  }

  .vertical-sector-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
  }

  .vertical-sector-btn {
    background: linear-gradient(135deg, #4a5339 0%, #c9a88f 100%);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(221, 193, 173, 0.4);
    text-align: center;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .vertical-sector-btn:hover {
    background: linear-gradient(135deg, #c9a88f 0%, #4a5339 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(198, 133, 145, 0.5);
    color: white;
    text-decoration: none;
  }

  .vertical-sector-btn svg {
    transition: transform 0.3s ease;
  }

  .vertical-sector-btn:hover svg {
    transform: translateX(3px);
  }

  .vertical-sector-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(135, 105, 175, 0.2);
  }

  .vertical-sector-card:hover::before {
    background: linear-gradient(135deg, rgba(221, 193, 173, 0.2) 0%, rgba(198, 133, 145, 0.12) 100%);
    transform: scale(1.1);
  }

  /* Responsive Design for Vertical Sectors */
  @media (max-width: 1024px) {
    .vertical-sector-card {
      height: 260px;
      padding: 20px;
    }

    .vertical-sector-icon {
      height: 70px;
      margin-bottom: 16px;
    }

    .vertical-sector-title {
      font-size: 16px;
    }

    .vertical-sector-description {
      font-size: 13px;
    }

    .vertical-sector-btn {
      font-size: 13px;
      padding: 10px 20px;
      min-width: 120px;
    }
  }

  @media (max-width: 768px) {
    .vertical-sector-card {
      height: 240px;
      margin-bottom: 20px;
      padding: 16px;
    }

    .vertical-sector-icon {
      height: 60px;
      margin-bottom: 14px;
    }

    .vertical-sector-title {
      font-size: 15px;
      max-height: 2.8em; /* 2 lines * 1.4 line-height */
    }

    .vertical-sector-description {
      font-size: 12px;
    }

    .vertical-sector-btn {
      font-size: 12px;
      padding: 8px 16px;
      min-width: 100px;
    }
  }

  @media (max-width: 480px) {
    .vertical-sector-card {
      height: 220px;
      margin-bottom: 16px;
      padding: 14px;
    }

    .vertical-sector-icon {
      height: 50px;
      margin-bottom: 12px;
    }

    .vertical-sector-title {
      font-size: 14px;
      max-height: 2.6em; /* 2 lines * 1.3 line-height */
    }

    .vertical-sector-description {
      font-size: 11px;
    }

    .vertical-sector-btn {
      font-size: 11px;
      padding: 6px 14px;
      min-width: 90px;
    }
  }

  /* Accessibility Improvements for Vertical Sectors */
  @media (prefers-reduced-motion: reduce) {
    .vertical-sector-card,
    .vertical-sector-image {
      transition: none;
    }

    .vertical-sector-card:hover .vertical-sector-image {
      transform: none;
    }
  }





  /* Contest Application Styles */
/* Hero Banner Styles */
.hero-banner {
    height: 300px;
    max-width: 100%;
    background: linear-gradient(135deg, #c9a88f 0%, #4a5339 50%, #e6cfc0 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: heroGlow 8s ease-in-out infinite alternate;
    }

    .hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
    animation: heroShimmer 6s ease-in-out infinite;
    }

    .hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    z-index: 1;
    animation: heroSweep 4s ease-in-out infinite;
    }

    @keyframes heroGlow {
    0% {
        box-shadow: 0 0 20px rgba(221, 193, 173, 0.3);
    }
    100% {
        box-shadow: 0 0 40px rgba(221, 193, 173, 0.6), 0 0 60px rgba(198, 133, 145, 0.4);
    }
    }

    @keyframes heroShimmer {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
    }

    @keyframes heroSweep {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }
    100% {
        transform: translateX(200%) skewX(-15deg);
    }
    }

    .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    }

    .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
    }

    @media (max-width: 768px) {
    .hero-banner {
        width: 100%;
        height: 400px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* تقليل سرعة التأثيرات على الهواتف لتحسين الأداء */
    .hero-banner {
        animation: heroGlow 12s ease-in-out infinite alternate;
    }

    .hero-banner::before {
        animation: heroShimmer 8s ease-in-out infinite;
    }

    .hero-banner::after {
        animation: heroSweep 6s ease-in-out infinite;
    }
    }

    /* Video Section Styles */
    .video-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(221, 193, 173, 0.15);
    animation: videoContainerGlow 10s ease-in-out infinite alternate;
    }

    .video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    }

    .video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    }

    .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
    }

    .video-title {
    text-align: center;
    margin-bottom: 30px;
    color: #2d3748;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    }

    .video-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #c9a88f, #4a5339);
    border-radius: 2px;
    }

    .video-description {
    text-align: center;
    margin-bottom: 40px;
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    }

    .video-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 20px;
    }

    .video-decorations::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(198, 133, 145, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: decorationFloat1 8s ease-in-out infinite;
    }

    .video-decorations::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(221, 193, 173, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: decorationFloat2 6s ease-in-out infinite;
    }

    @keyframes videoContainerGlow {
    0% {
        box-shadow: 0 20px 40px rgba(221, 193, 173, 0.15);
    }
    100% {
        box-shadow: 0 25px 50px rgba(221, 193, 173, 0.25), 0 0 30px rgba(198, 133, 145, 0.15);
    }
    }

    @keyframes decorationFloat1 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
    }

    @keyframes decorationFloat2 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(15px) rotate(-180deg);
        opacity: 0.5;
    }
    }

    @media (max-width: 768px) {
    .video-container {
        padding: 40px 15px;
        border-radius: 15px;
    }

    .video-title {
        font-size: 2rem;
    }

    .video-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    }

    /* Contest Application Form Styles */
    .contest-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(221, 193, 173, 0.15);
    animation: contestFormGlow 12s ease-in-out infinite alternate;
    }

    .contest-form-title {
    text-align: center;
    margin-bottom: 40px;
    color: #2d3748;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    }

    .contest-form-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #c9a88f, #4a5339);
    border-radius: 2px;
    }

    .form-group {
    margin-bottom: 30px;
    }

    .form-label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    font-weight: 600;
    font-size: 1.1rem;
    }

    .form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    }

    .form-input:focus {
    outline: none;
    border-color: #c9a88f;
    box-shadow: 0 0 0 3px rgba(198, 133, 145, 0.15);
    transform: translateY(-2px);
    }

    .form-input.error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
    }

    textarea.form-input {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    line-height: 1.5;
    }

    textarea.form-input:focus {
    min-height: 120px;
    }

    /* Terms and Conditions Styles */
    .terms-section {
    background: linear-gradient(135deg, rgba(221, 193, 173, 0.3) 0%, #f8f5f2 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .terms-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    }

    .terms-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #c9a88f, #4a5339);
    border-radius: 1px;
    }

    .terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    }

    .terms-item {
    display: flex;
    align-items: flex-start;
    padding: 8px 12px;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #c9a88f;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    }

    .terms-item:hover {
    transform: translateX(3px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .terms-item.highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left-color: #f59e0b;
    border: 2px solid #fbbf24;
    grid-column: 1 / -1;
    font-weight: 600;
    }

    .terms-icon {
    width: 16px;
    height: 16px;
    color: #c9a88f;
    margin-right: 8px;
    margin-top: 1px;
    flex-shrink: 0;
    }

    .terms-item.highlight .terms-icon {
    color: #f59e0b;
    }

    /* Prizes Section Styles */
    .prizes-section {
    background: linear-gradient(135deg, #fef7ed 0%, #fed7aa 100%);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    border: 1px solid #fed7aa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .prizes-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    text-align: center;
    position: relative;
    }

    .prizes-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 1px;
    }

    .prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
    }

    .prize-item {
    background: white;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    border: 2px solid transparent;
    }

    .prize-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .prize-item.first {
    border-color: #ffd700;
    background: linear-gradient(135deg, #fff8dc 0%, #fffacd 100%);
    }

    .prize-item.second {
    border-color: #c0c0c0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }

    .prize-item.third {
    border-color: #cd7f32;
    background: linear-gradient(135deg, #fdf2e9 0%, #fed7aa 100%);
    }

    .prize-item.incentive {
    border-color: #c9a88f;
    background: linear-gradient(135deg, #fef7ed 0%, #fed7aa 100%);
    }

    .prize-rank {
    font-size: 1.5rem;
    margin-bottom: 6px;
    }

    .prize-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
    }

    .prize-amount {
    font-size: 1rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 3px;
    }

    .prize-subtitle {
    font-size: 0.7rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.2;
    }

    .total-prize {
    text-align: center;
    padding: 10px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 8px;
    color: white;
    }

    .total-label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 8px;
    }

    .total-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fbbf24;
    }

    .error-message {
    color: #e53e3e;
    font-size: 0.9rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    }

    .error-message svg {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    }

    /* Simple File Input Styles */
    .file-input-container {
    position: relative;
    margin-bottom: 20px;
    }

    .simple-file-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    }

    .file-input-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border: 2px solid #c9a88f;
    border-radius: 12px;
    background: linear-gradient(135deg, #fefefe 0%, #f8f9fa 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 120px;
    }

    .file-input-label:hover {
    border-color: #4a5339;
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 100%);
    transform: translateY(-2px);
    }

    .file-input-label:active {
    transform: translateY(0);
    }

    .upload-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    color: #c9a88f;
    transition: all 0.3s ease;
    }

    .file-input-label:hover .upload-icon {
    transform: scale(1.1);
    color: #4a5339;
    }

    .file-input-text {
    color: #4a5568;
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 600;
    }

    .file-input-hint {
    color: #718096;
    font-size: 0.85rem;
    }

    /* Mobile responsive adjustments */
    @media (max-width: 768px) {
    .file-input-label {
        padding: 20px 15px;
        min-height: 100px;
    }

    .upload-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    .file-input-text {
        font-size: 0.9rem;
    }

    .file-input-hint {
        font-size: 0.8rem;
    }
    }

    /* Image Preview */
    .image-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
    }

    .image-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    }

    .image-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .image-preview img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    }

    .image-preview .remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(229, 62, 62, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    }

    .image-preview .remove-btn:hover {
    background: #e53e3e;
    transform: scale(1.1);
    }

    /* Submit Button */
    .submit-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #4a5339 0%, #c9a88f 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    }

    .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(221, 193, 173, 0.4);
    }

    .submit-btn:active {
    transform: translateY(0);
    }

    .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    }

    .submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    }

    @keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
    }

    @keyframes contestFormGlow {
    0% {
        box-shadow: 0 20px 40px rgba(221, 193, 173, 0.15);
    }
    100% {
        box-shadow: 0 25px 50px rgba(221, 193, 173, 0.25), 0 0 30px rgba(198, 133, 145, 0.15);
    }
    }

    /* Success Message */
    .success-message {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    }

    .success-message svg {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    }

    /* Error Message */
    .error-message-container {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    }

    .error-message-container svg {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    }

    @media (max-width: 768px) {
    .contest-form-container {
        padding: 40px 15px;
        border-radius: 15px;
    }

    .contest-form-title {
        font-size: 2rem;
    }

    .image-preview-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }

    .image-preview img {
        height: 120px;
    }
    }

/* ========================================
   Countdown Timer - Minimal Custom CSS
   ======================================== */

/* Custom animations that can't be achieved with Tailwind */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes numberChange {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(1deg);
    }
    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

/* Number change animation */
.countdown-number.changing {
    animation: numberChange 0.3s ease;
}

/* Shimmer effect for hover */
.countdown-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
    pointer-events: none;
}

.countdown-item:hover .countdown-number::before {
    animation: shimmer 0.5s ease;
}

/* Loading state for countdown container */
.countdown-container.loading .countdown-number {
    animation: pulse 1s infinite;
    opacity: 0.7;
}

/* Focus states for accessibility */
.countdown-container:focus-within {
    outline: 2px solid #4a5339;
    outline-offset: 2px;
}

.countdown-number:focus {
    outline: 2px solid #c9a88f;
    outline-offset: 2px;
}

/* Terms and Conditions Section Styles */
.terms-section {
    position: relative;
    overflow: hidden;
}

.terms-section .prose ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-section .prose li {
    position: relative;
    padding: 12px 25px 12px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(198, 133, 145, 0.25);
    transition: all 0.3s ease;
}

.terms-section .prose li:last-child {
    border-bottom: none;
}

.terms-section .prose li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #c9a88f, #4a5339);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(198, 133, 145, 0.3);
}

.terms-section .prose li:hover {
    background: rgba(221, 193, 173, 0.1);
    padding-left: 8px;
    border-radius: 8px;
    transform: translateX(4px);
}

.terms-section .prose li:hover::before {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(198, 133, 145, 0.4);
}

/* Responsive adjustments for terms */
@media (max-width: 768px) {
    .terms-section .prose li {
        padding: 10px 20px 10px 0;
        font-size: 14px;
    }

    .terms-section .prose li::before {
        width: 6px;
        height: 6px;
        top: 14px;
    }
}



/* Partners Swiper Custom Styles */
.partners-swiper-container {
    position: relative;
    padding: 0 60px;
    }

    .partners-swiper {
    overflow: visible;
    padding: 20px 0;
    }

    .partner-card {
    height: auto;
    min-height: 350px;
    transition: all 0.3s ease;
    position: relative;
    }

    .partner-card:hover {
    transform: translateY(-10px) scale(1.02);
    }

    /* Navigation Buttons */
    .partners-swiper-button-next,
    .partners-swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4a5339, #c9a88f);
    border-radius: 50%;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    }

    .partners-swiper-button-next:hover,
    .partners-swiper-button-prev:hover {
    background: linear-gradient(135deg, #c9a88f, #4a5339);
    transform: translateY(-50%) scale(1.1);
    }

    .partners-swiper-button-next {
    right: 0;
    }

    .partners-swiper-button-prev {
    left: 0;
    }

    .partners-swiper-button-next:after,
    .partners-swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
    }

    /* Pagination */
    .partners-swiper-pagination {
    position: relative;
    margin-top: 40px;
    }

    .partners-swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #c9a88f;
    opacity: 0.5;
    transition: all 0.3s ease;
    }

    .partners-swiper-pagination .swiper-pagination-bullet-active {
    background: #4a5339;
    opacity: 1;
    transform: scale(1.2);
    }

    .partners-swiper-pagination .swiper-pagination-bullet:hover {
    opacity: 0.8;
    transform: scale(1.1);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
    .partners-swiper-container {
        padding: 0 40px;
    }

    .partners-swiper-button-next,
    .partners-swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .partners-swiper-button-next:after,
    .partners-swiper-button-prev:after {
        font-size: 14px;
    }

    .partner-card {
        min-height: 320px;
    }
    }

    @media (max-width: 640px) {
    .partners-swiper-container {
        padding: 0 20px;
    }

    .partner-card {
        min-height: 300px;
    }
    }

    /* Loading Animation */
    .partners-swiper-container.loading {
    opacity: 0.7;
    }

    .partners-swiper-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #c9a88f;
    border-top: 4px solid #4a5339;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    }

    @keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
    }

    /* Enhanced Card Animations */
    .winner-card {
    animation: fadeInUp 0.6s ease-out;
    }

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

    /* Image Enhancement */
    .winner-card img {
    transition: all 0.3s ease;
    }

    .winner-card:hover img {
    transform: scale(1.05);
    }

    /* Badge Animation */
    .winner-card .absolute.-top-2.-right-2 {
    animation: pulse 2s infinite;
    }

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


    /* Award Section Animations */
    .award-title-animation {
        opacity: 0;
        transform: translateY(-20px);
        animation: fadeInDown 1s ease-out 0.2s forwards;
    }

    .award-description-animation {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 1.2s ease-out 0.6s forwards;
    }

    .award-underline {
        opacity: 0;
        animation: fadeIn 1.5s ease-out 0.8s forwards;
    }

    .award-star-1 {
        opacity: 0;
        animation: starTwinkle 1s ease-in-out 1s infinite alternate;
    }

    .award-star-2 {
        opacity: 0;
        animation: starTwinkle 1s ease-in-out 1.5s infinite alternate;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

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

    @keyframes starTwinkle {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }

/* =========================================================
   Home Page Custom Styles (migrated from index.blade.php)
   ========================================================= */

/* Global Tajawal font stack */
* {
    font-family: 'Tajawal', 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

body {
    font-family: 'Tajawal', 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Tajawal', 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

p,
span,
div,
a,
button,
input,
textarea,
select {
    font-family: 'Tajawal', 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Terms & Organizer 3D elements */
.terms-grid-3d {
    perspective: 1600px;
    perspective-origin: 50% 45%;
}

.terms-card {
    background: linear-gradient(135deg, #ffffff 0%, #fbf8f2 65%, #f4efe6 100%);
    border: 1px solid rgba(74, 83, 57, 0.15);
    box-shadow: 0 25px 55px rgba(16, 18, 14, 0.15);
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    transform-origin: center;
    transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.7s ease, border-color 0.6s ease;
    will-change: transform;
    isolation: isolate;
}

.terms-card::before {
    content: '';
    position: absolute;
    inset: -40% -30%;
    background: radial-gradient(circle at 30% 20%, rgba(201, 168, 143, 0.35), transparent 55%), radial-gradient(circle at 80% 10%, rgba(74, 83, 57, 0.25), transparent 50%), radial-gradient(circle at 50% 80%, rgba(74, 83, 57, 0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.terms-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.35);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.7s ease;
    z-index: 1;
}

.terms-card:hover {
    transform: rotateX(8deg) rotateY(-8deg) translateY(-14px) scale(1.01);
    box-shadow: 0 35px 70px rgba(18, 20, 16, 0.28);
    border-color: rgba(201, 168, 143, 0.55);
}

.terms-card:hover::before,
.terms-card:hover::after {
    opacity: 1;
}

.terms-card-badge {
    transform: translateZ(65px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.6s ease;
    border: 2px solid rgba(255, 255, 255, 0.75);
    background-clip: padding-box;
    position: relative;
}

.terms-card-badge::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    border: 1px dashed rgba(255, 255, 255, 0.6);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.terms-card:hover .terms-card-badge {
    transform: translateZ(80px) scale(1.05);
}

.terms-card:hover .terms-card-badge::after {
    opacity: 1;
    transform: scale(1.05);
}

.terms-card-content {
    transform: translateZ(45px);
    transition: transform 0.6s ease;
    position: relative;
    z-index: 2;
}

.terms-card:hover .terms-card-content {
    transform: translateZ(65px);
}

.terms-card-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), rgba(201, 168, 143, 0.15));
    opacity: 0.9;
    filter: blur(30px);
    transform: translateZ(20px);
    z-index: 1;
    pointer-events: none;
}

.terms-card-orb {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(201, 168, 143, 0.15));
    opacity: 0.65;
    mix-blend-mode: screen;
    animation: termsCardDrift 6s ease-in-out infinite alternate;
    filter: blur(1px);
    z-index: 1;
}

.terms-card-orb.orb-one {
    top: -15px;
    right: 25px;
}

.terms-card-orb.orb-two {
    width: 90px;
    height: 90px;
    animation-delay: -4s;
    opacity: 0.45;
    left: -25px;
    bottom: 35px;
}

.terms-card-orb.orb-three {
    width: 55px;
    height: 55px;
    animation-delay: -2s;
    opacity: 0.7;
    right: -10px;
    bottom: 15px;
}

.terms-card-floating-accent {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 130px;
    height: 130px;
    border-radius: 40% 60% 70% 30%;
    background: linear-gradient(145deg, rgba(74, 83, 57, 0.15), rgba(201, 168, 143, 0.55));
    opacity: 0.55;
    filter: blur(0.5px);
    animation: termsCardFloat 5s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes termsCardFloat {
    0% {
        transform: translateZ(0) translateY(0) rotate(0deg) scale(1);
    }
    100% {
        transform: translateZ(30px) translateY(-20px) rotate(8deg) scale(1.05);
    }
}

@keyframes termsCardDrift {
    0% {
        transform: translate3d(-20px, -12px, 30px) scale(1);
    }
    100% {
        transform: translate3d(30px, 24px, 30px) scale(1.08);
    }
}

.organizer-3d-stage {
    perspective: 1600px;
    perspective-origin: 50% 30%;
}

.organizer-3d-card {
    position: relative;
    transform-style: preserve-3d;
    transform-origin: center;
    transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.7s ease, border-color 0.6s ease;
    box-shadow: 0 25px 65px rgba(16, 18, 14, 0.18);
    border: 1px solid rgba(74, 83, 57, 0.2);
    overflow: hidden;
    isolation: isolate;
}

.organizer-3d-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 15%, rgba(201, 168, 143, 0.35), transparent 45%), radial-gradient(circle at 80% 0%, rgba(74, 83, 57, 0.25), transparent 55%), linear-gradient(135deg, rgba(74, 83, 57, 0.15), rgba(201, 168, 143, 0.15));
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.organizer-3d-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.25);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.organizer-3d-card:hover {
    transform: rotateX(7deg) rotateY(-8deg) translateY(-18px) scale(1.015);
    box-shadow: 0 35px 85px rgba(18, 20, 16, 0.28);
    border-color: rgba(201, 168, 143, 0.5);
}

.organizer-3d-card:hover::before,
.organizer-3d-card:hover::after {
    opacity: 1;
}

.organizer-3d-layer {
    transform: translateZ(50px);
    transition: transform 0.65s ease;
    position: relative;
    z-index: 3;
}

.organizer-3d-card:hover .organizer-3d-layer {
    transform: translateZ(75px);
}

.organizer-3d-badge {
    transform: translateZ(90px);
    transition: transform 0.65s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
}

.organizer-3d-card:hover .organizer-3d-badge {
    transform: translateZ(105px) rotate(2deg) scale(1.05);
}

.organizer-3d-glow {
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle, rgba(201, 168, 143, 0.35), transparent 70%);
    opacity: 0.45;
    filter: blur(60px);
    transform: translateZ(30px);
    z-index: 1;
    pointer-events: none;
}

.organizer-3d-orb {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(201, 168, 143, 0.1));
    opacity: 0.45;
    mix-blend-mode: screen;
    animation: organizerOrbDrift 5s ease-in-out infinite alternate;
    filter: blur(0.5px);
    z-index: 2;
    pointer-events: none;
}

.organizer-3d-orb.orb-one {
    top: -35px;
    left: 10%;
    animation-delay: -1s;
}

.organizer-3d-orb.orb-two {
    bottom: -40px;
    right: 15%;
    animation-delay: -2.5s;
}

.organizer-3d-orb.orb-three {
    top: 30%;
    right: -30px;
    width: 80px;
    height: 80px;
    animation-delay: -3.5s;
}

.organizer-3d-scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.25), transparent 60%);
    opacity: 0;
    transform: translateY(-100%) translateZ(60px);
    animation: organizerScanSweep 6s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

.organizer-3d-card:hover .organizer-3d-scanline {
    opacity: 0.4;
}

.organizer-3d-grid {
    position: absolute;
    inset: 15px;
    border-radius: inherit;
    border: 1px dashed rgba(201, 168, 143, 0.25);
    opacity: 0;
    transform: translateZ(40px);
    transition: opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

.organizer-3d-card:hover .organizer-3d-grid {
    opacity: 0.6;
}

.organizer-3d-photo {
    transform: translateZ(70px);
    transition: transform 0.6s ease;
}

.organizer-3d-card:hover .organizer-3d-photo {
    transform: translateZ(95px) scale(1.04);
}

@keyframes organizerOrbDrift {
    0% {
        transform: translate3d(-10px, -5px, 40px) scale(1);
    }
    100% {
        transform: translate3d(25px, 25px, 40px) scale(1.08);
    }
}

@keyframes organizerScanSweep {
    0% {
        opacity: 0;
        transform: translateY(-120%) translateZ(60px);
    }
    30% {
        opacity: 0.4;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 0;
        transform: translateY(120%) translateZ(60px);
    }
}

/* Awards Swiper tweaks */
.awards-swiper-container {
    position: relative;
    padding: 0 60px;
    isolation: isolate;
    transform: translateZ(0);
}

.awards-swiper {
    overflow: visible;
    padding: 20px 0;
    contain: layout style;
    transform: translateZ(0);
}

.awards-swiper .swiper-slide {
    width: auto !important;
    min-width: 200px;
    flex-shrink: 0;
}

.awards-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.awards-section-title {
    position: relative;
    z-index: 100;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: auto;
    isolation: isolate;
}

.awards-section-title h2,
.awards-section-title p {
    transform: translateZ(0);
    backface-visibility: hidden;
}

.award-card {
    height: auto;
    min-height: 200px;
    transition: all 0.3s ease;
    position: relative;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.award-card:hover {
    transform: translateZ(0) translateY(-10px) scale(1.02);
}

.awards-swiper-button-next,
.awards-swiper-button-prev {
    position: static !important;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4a5339, #c9a88f) !important;
    border-radius: 50%;
    color: #fff !important;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 0 !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
}

.awards-swiper-button-next:hover,
.awards-swiper-button-prev:hover {
    background: linear-gradient(135deg, #c9a88f, #4a5339) !important;
    transform: scale(1.1);
}

.awards-swiper-button-next:after,
.awards-swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.awards-swiper-button-next.swiper-button-disabled,
.awards-swiper-button-prev.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.awards-swiper-pagination {
    position: relative;
    margin-top: 40px;
}

.awards-swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #c9a88f;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.awards-swiper-pagination .swiper-pagination-bullet-active {
    background: #4a5339;
    opacity: 1;
    transform: scale(1.2);
}

.awards-swiper-pagination .swiper-pagination-bullet:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .awards-swiper-container {
        padding: 0 20px;
    }

    .awards-swiper-button-next,
    .awards-swiper-button-prev {
        width: 55px;
        height: 55px;
    }

    .awards-swiper-button-next:after,
    .awards-swiper-button-prev:after {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    .awards-swiper-container {
        padding: 0 10px;
    }

    .award-card {
        min-height: 180px;
    }

    .awards-swiper-button-next,
    .awards-swiper-button-prev {
        width: 60px;
        height: 60px;
    }

    .awards-swiper-button-next:after,
    .awards-swiper-button-prev:after {
        font-size: 22px;
    }
}

@media (min-width: 1024px) {
    .wrapFlexing {
        display: flex !important;
        justify-content: center !important;
    }
}

/* Hero slider enhancements */
.heroSwiper {
    width: 100%;
    height: 100%;
}

.heroSwiper .swiper-slide {
    position: relative;
    background: #000;
}

.hero-media-wrapper {
    overflow: hidden;
}

.hero-media {
    transform: scale(1.15);
    transition: opacity 0.6s ease;
    will-change: transform;
    backface-visibility: hidden;
    filter: brightness(0.92);
}

.heroSwiper .swiper-slide-active .hero-media {
    animation: heroZoomReveal 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards, heroZoomPulse 14s ease-in-out 1.8s infinite alternate;
}

.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.heroSwiper .swiper-button-next:hover,
.heroSwiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after {
    font-size: 20px;
}

.heroSwiper .swiper-pagination {
    bottom: 30px;
}

.heroSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.heroSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #c4a088;
    width: 30px;
    border-radius: 6px;
}

@keyframes heroZoomReveal {
    0% {
        transform: scale(1.2);
        opacity: 0.85;
    }
    100% {
        transform: scale(1.02);
        opacity: 1;
        filter: brightness(1);
    }
}

@keyframes heroZoomPulse {
    0% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1.08);
    }
}

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

.animate-fade-in {
    animation: heroFadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: heroFadeIn 1s ease-out 0.3s both;
}

[dir="rtl"] .heroSwiper .swiper-button-next {
    left: 10px;
    right: auto;
}

[dir="rtl"] .heroSwiper .swiper-button-prev {
    right: 10px;
    left: auto;
}

.volume-control {
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.volume-control:hover {
    transform: scale(1.1);
}

.volume-control i {
    font-size: 20px;
}

/* Award showcase tilt */
.award-image-animation {
    perspective: 1600px;
    perspective-origin: 50% 40%;
}

.award-tilt-group {
    transform-style: preserve-3d;
}

.award-tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease;
    animation: awardCardReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards, awardCardFloat 8s ease-in-out 0.9s infinite alternate;
    box-shadow: 0 35px 65px rgba(22, 24, 20, 0.35);
}

.award-tilt-group:hover .award-tilt-card {
    transform: rotateY(6deg) rotateX(-3deg) scale(1.02);
    box-shadow: 0 45px 80px rgba(22, 24, 20, 0.45);
}

.award-tilt-media {
    transform: translateZ(45px) scale(1.03);
    transition: transform 0.6s ease;
    will-change: transform;
}

.award-tilt-group:hover .award-tilt-media {
    transform: translateZ(65px) scale(1.09);
}

.award-tilt-glow {
    mix-blend-mode: screen;
    opacity: 0.65;
}

.award-tilt-group:hover .award-tilt-glow {
    opacity: 0.9;
}

@keyframes awardCardReveal {
    0% {
        transform: translateY(40px) rotateX(8deg) rotateY(-10deg) scale(0.92);
        opacity: 0;
    }
    100% {
        transform: translateY(0) rotateX(0deg) rotateY(-2deg) scale(1);
        opacity: 1;
    }
}

@keyframes awardCardFloat {
    0% {
        transform: rotateY(-2deg) rotateX(1deg) translateY(0);
    }
    100% {
        transform: rotateY(2deg) rotateX(-1.5deg) translateY(-10px);
    }
}

/* CTA particles and gradient */
@keyframes gradient-shift {
    0%,
    100% {
        background: linear-gradient(135deg, #c9a88f 0%, #4a5339 50%, #f5d7e0 100%);
    }
    25% {
        background: linear-gradient(135deg, #f5d7e0 0%, #c9a88f 50%, #4a5339 100%);
    }
    50% {
        background: linear-gradient(135deg, #4a5339 0%, #f5d7e0 50%, #c9a88f 100%);
    }
    75% {
        background: linear-gradient(135deg, #c9a88f 0%, #f5d7e0 50%, #4a5339 100%);
    }
}

.animate-gradient-shift {
    animation: gradient-shift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes homeFloat {
    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) translateX(10px) scale(1.2);
        opacity: 0.6;
    }
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
}

.modern-cta-button:hover .particle {
    animation: homeFloat 3s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle-2 {
    top: 60%;
    left: 80%;
    animation-delay: 0.5s;
}

.particle-3 {
    top: 80%;
    left: 30%;
    animation-delay: 1s;
}

.particle-4 {
    top: 40%;
    left: 70%;
    animation-delay: 1.5s;
}

.modern-cta-button {
    transform: translateY(0);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
}

.modern-cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.6);
}

.modern-cta-button:active {
    transform: translateY(-2px);
}
