
html, body {
    background: #101826;
    overflow-x: hidden;
  }
   .slider-section {
    width: 90%;
    height: 500px;           /* Fixed height on larger screens */
    background: #000000;     /* Slider background color */
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 80px auto 0 auto; /* Top margin of 80px, horizontally centered */
    overflow: hidden;
  }
  
  /* Text Area (left) */
  .text-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-left: 100px; /* Extra left padding on desktop */
    justify-content: center;
    color: white;
    text-shadow: 0px 4px 10px rgba(0, 150, 255, 0.6);
    font-weight: bold;
  }
  .text-area h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
  }
  .text-area p {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 20px;
  }
  
  /* Navigation Controls (arrows + dots) */
  .nav-controls {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .arrow {
    cursor: pointer;
    font-size: 1.5rem;
    user-select: none;
    transition: color 0.3s;
  }
  .arrow:hover {
    color: #00d2ff;
  }
  .dots {
    display: flex;
    gap: 5px;
  }
  .dot {
    width: 10px;
    height: 10px;
    background: #555;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
  }
  .dot.active {
    background: #00d2ff;
  }
  
  /* Image Area (right) */
  .image-area {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 100%;
  }
  
  /* Slide container for PNG images */
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* Start off-screen at top-right */
    transform: translate(50%, -100%);
    /* Transition for both in and out animations */
    transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1), opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .slide.active {
    opacity: 1;
    transform: translate(0, 0);
  }
  .slide.slide-out {
    opacity: 0;
    transform: translate(50%, 100%);
  }
  .slide img {
    display: block;
    width: auto;
    height: auto;
    max-width: 500px;   /* Maximum width for large screens */
    max-height: 500px;  /* Maximum height for large screens */
    object-fit: contain;
    margin: 0 auto;     /* Center the image */
  }
  
  /* --------------------------------
     RESPONSIVE: stack text + image 
     on smaller screens
     -------------------------------- */
  @media (max-width: 768px) {
    .slider-section {
      flex-direction: column;
      align-items: center;
      height: auto;  /* Let it expand on small screens */
      margin-top: 100px; /* Slightly more space if needed on mobile */
    }
  
    .text-area {
      width: 100%;
      padding-left: 20px; /* reduce left padding on mobile */
      margin-bottom: 20px;
    }
  
    .image-area {
      width: 100%;
      min-height: 300px;
      overflow: visible;
    }
    .slide img {
        max-width: 300px;   /* Smaller max-width on mobile */
        max-height: 300px;  /* Smaller max-height on mobile */
      }
    }
  
  /* --------------------------------
        show the webseits HMK 
     -------------------------------- */

    .showcase {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 80px 20px; 
        background: linear-gradient(135deg, #101826, #0D1424);
        gap: 20px;
        width: 90%;
        margin: 0 auto;
        padding-bottom: 80px;
      }
      
      /* Left Side: Image */
      .showcase-image {
        flex: 1;
        min-width: 300px;
        text-align: center;
      }
      
      .showcase-image img {
        max-width: 100%;
        height: auto;
        border-radius: 8px; /* Optional: rounds the image corners */
      }
      
      /* Right Side: Text */
      .showcase-text {
        flex: 1;
        min-width: 300px;
        padding: 20px;
        color: white;
        text-shadow: 0px 4px 10px rgba(0, 150, 255, 0.6);
        font-weight: bold;
      }
      
      .showcase-text h2 {
        font-size: 2rem;
        margin-bottom: 20px;
      }
      
      .showcase-text p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 20px;
      }
      
      .showcase-btn {
        display: inline-block;
        padding: 12px 24px;
        background: #00d2ff;
        color: #fff;
        text-decoration: none;
        font-size: 1rem;
        border-radius: 4px;
        transition: background 0.3s ease;
      }
      
      .showcase-btn:hover {
        background: #00aaff;
      }


      .davinci {
        max-width: 100%;
        margin: 0 auto;         /* Centers the container horizontally */
        padding: 20px;
        background: linear-gradient(135deg, #0D1424, #192231);       /* White background for the content */
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        text-align: center;     /* Centers text inside the container */
        padding-bottom: 30px;
      }
      
      .davinci-titel {
        font-size: 2.5rem;
        color: #333;
        margin-bottom: 20px;
        color: #ffffff;
        text-shadow: 0px 4px 12px rgba(0, 150, 255, 0.7);
      }
      
      .davinci-desc {
        font-size: 1.2rem;
        color: #ffffff;
        margin-bottom: 30px;
      }
      
      .btn {
        display: inline-block;
        padding: 12px 24px;
        background: #00d2ff;
        color: #fff;
        text-decoration: none;
        font-size: 1.1rem;
        border-radius: 4px;
        transition: background 0.3s ease;
      }
      
      .btn:hover {
        transform: scale(1.07);
        box-shadow: 0px 8px 22px rgba(0, 150, 255, 0.8);
      }
      
      /* Responsive: Stack vertically on screens narrower than 768px */
      @media (max-width: 768px) {
        .showcase {
          flex-direction: column;
        }
        .showcase-text {
          text-align: center;
          padding: 20px 10px;
        }
      }