.elementor-1334 .elementor-element.elementor-element-6aeca0d{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}@media(max-width:767px){.elementor-1334 .elementor-element.elementor-element-6aeca0d{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}/* Start custom CSS for html, class: .elementor-element-9f9e3f7 */.elementor-1334 .elementor-element.elementor-element-9f9e3f7 {
    margin: 0;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Kufi Arabic", sans-serif;
    color: #111;
  }

  /* CARDS CONTAINER         
         Flexbox container that holds all cards in a row.
         Uses min() for responsive width without media queries.
         Elegant shadow creates depth and floating effect.
*/
  .cards {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    width: 100%;
    height: 600px;
    overflow: hidden;
    white-space: nowrap;
    z-index: 2;
  }

  /* INDIVIDUAL CARD         
         Each card uses flex: 1 1 0 for equal distribution.
         min-width: 0 prevents flex items from overflowing.
         will-change hints browser for optimized animations.
*/
  .card {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    cursor: pointer;
    transition: flex 0.5s ease;
    overflow: hidden;
    position: relative;
    will-change: flex;
  }

  /* Card expand effect - grows to 3x width on hover */
  .card:hover {
    flex: 3;
    /* box-shadow: 0 0 15px rgba(0, 0, 0, 0.7); */
  }

  /* CARD LINK WRAPPER         
         Full-size clickable area for better UX.
         Inherits color to maintain text styling.
*/
  .card a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
  }

  /* CARD IMAGE         
         Grayscale filter creates visual hierarchy - 
         active/hovered card stands out in full color.
         Shimmer animation provides loading feedback.
*/
  .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(60%);
    will-change: transform, filter;
    background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
  }

  /* Shimmer loading animation - runs until image loads */
  @keyframes shimmer {
    0% {
      background-position: 200% 0;
    }

    100% {
      background-position: -200% 0;
    }
  }

  /* Image transforms on hover - zoom in and colorize */
  .card:hover img {
    /* transform: scale(1.2); */
    filter: brightness(60%);
  }

  /* CARD OVERLAY (::after pseudo-element)         
         Z-INDEX: 1 (bottom layer of content)
         Gradient overlay appears on hover to improve
         text readability over images.
*/
  .card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
  }

  .card:hover::after {
    opacity: 1;
  }

  /* CARD TITLE         
         Z-INDEX: 2 (middle layer)
         Centered badge that inverts colors on hover
         for a polished interactive feel.
*/
  .card-title {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.35rem;
    line-height: 2rem;
    font-weight: 600;
    text-align: center;
    text-wrap: initial;
    transition: background 0.3s ease, transform 0.3s ease, text-wrap 0.3s ease, width 0.3s ease;
    z-index: 2;
    width: 80%;

  }

  /* Title style inversion and scale on hover */
  .card:hover .card-title {
    width: auto;
    text-wrap: unset;
    transform: translate(-50%, -50%) scale(1.1);
  }

  /* CARD DESCRIPTION         
         Z-INDEX: 3 (top layer)
         Hidden below card, slides up on hover to reveal
         additional information about the card content.
*/
  .card-desc {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    transform: translateY(120%);
    transition: transform 0.3s ease;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    padding: 0 20px;
    text-wrap: initial;
    direction: rtl;
  }

  /* Slide up animation reveals description */
  .card:hover .card-desc {
    transform: translateY(-100%);
  }

  /* KEYBOARD ACCESSIBILITY         
         focus-visible ensures outline only appears for
         keyboard navigation, not mouse clicks.
         Provides equal experience for all users.
*/
  .card a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
  }

  .card a:focus-visible img {
    filter: grayscale(0%);
  }

  /* RESPONSIVE: MOBILE DEVICES (< 768px)         
         Cards stack vertically on smaller screens.
         All interactive states shown by default since
         hover isn't available on touch devices.
*/
  @media only screen and (max-width: 768px) {
    .cards {
      flex-direction: column;
      height: auto;
    }

    .card {
      flex: none;
      width: 100%;
      height: 250px;
    }

    .card:hover {
      flex: none;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
    }

    /* Always show overlay on mobile */
    .card::after {
      opacity: 1;
    }

    /* Always show description on mobile */
    .card-desc {
      bottom: 0;
      transform: translateY(0);
    }

    /* Show full color images on mobile */
    .card img {
    }
  }

  /* TOUCH DEVICE SUPPORT         
         Provides :active states for touch interactions
         where hover is not available.
*/
  @media only screen and (max-width: 468px) and (hover: none) {
    .card:active {
      flex: 2;
    }

    .card:active img {
      transform: scale(1.1);
    }
  }

  /*  REDUCED MOTION ACCESSIBILITY         
         Respects user's system preference for reduced motion.
         Disables all animations and transitions for users
         who may experience motion sickness or distraction.
*/
  @media only screen and (prefers-reduced-motion: reduce) {

    .card,
    .card img,
    .card-title,
    .card-desc,
    .card::after {
      transition: none;
    }

    .card img {
      animation: none;
    }
  }

  .site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    z-index: 10;
  }

  .copyright {
    margin: 0 auto;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    background: gray;
    max-width: fit-content;
    letter-spacing: 0.02em;
  }

  .author-name {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.75);
    transition: color 0.3s ease;
  }

  .author-link {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    padding: 0.2em 0.5em;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .author-link:hover {
    color: #000;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  /* Keyboard accessibility for footer link */
  .author-link:focus-visible {
    outline: 2px solid rgba(0, 0, 0, 0.5);
    outline-offset: 2px;
    color: #000;
    background: rgba(255, 255, 255, 0.8);
  }/* End custom CSS */