.btn-l-icon {
    padding: 0 4.5rem 0 4.5rem !important;
}

.split-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  
.split-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background-color: #000; /* Optional: to match the black background */
}

/* Optional mobile tweak */
@media (max-width: 767px) {
    .split-slide {
        height: auto; /* Allow height to adjust */
        display: flex;
        align-items: center;
        justify-content: center;
    }   

    .split-slide img {
        width: 100%;
        height: auto; /* Let image control its height */
        object-fit: contain;
    }
}
@media (max-width: 599px) {
    .main__media{
        height: auto !important;
        min-height: auto !important;
    }
}
.nav__background {
    background-image: url("../img/1920x280-bg-menu.webp") !important;
}

.content-block h4 {
    font-weight: bold;
    margin-bottom: 10px;
}

.content-block ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.content-block ul li {
    margin-bottom: 6px;
    font-weight: 500;
    text-align: left;
}

.skillbars{
    padding-left: 25px;
}

.features__item {
    margin-bottom: 3.2rem !important;
}

.logo img {
    width: 100% !important;
}

.split-slide {
    -moz-background-size: contain !important;
        background-size: contain !important;
}
  
.dropdown {
    position: relative;
}

.dropdown-btn {
    background-color: #e3e6eb;
    color: #111;
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    transition: background-color 0.3s;
}

.dropdown-btn:hover {
    background-color: #d5d8dd;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 1000;
    text-align: center;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
    font-size: medium;
}

@media only screen and (min-width: 576px) {
    .dropdown-menu {
        width: 40% !important;
    }
}

/* Default: show web-view, hide mobile-view */
.mobile-view {
    display: none;
}

.web-view {
    display: block;
}

/* For screens less than 500px: show mobile-view, hide web-view */
@media only screen and (max-width: 499px) {
    .mobile-view {
        display: block;
    }

    .web-view {
        display: none;
    }
}

@media only screen and (max-width: 429px) {
    .headline__title{
        font-size: xx-large;
    }
}


.nav__link{
    text-decoration: none !important;
}

/* Flip card base styles */
.my-gallery__item {
    perspective: none; /* No longer needed for slide effect */
    overflow: hidden;
  }
  
  @media (max-width: 1199px) {
    .my-gallery__item {
      height: 460px;
    }
  }
  
  .flip-card-inner {
    display: flex;
    width: 200%; /* Total width of both front and back */
    height: 100%;
    animation: slideX 25s infinite ease-in-out;
    transition: transform 0.5s ease-in-out;
  }
  
  /* Slide animation */
  @keyframes slideX {
    0%, 15% {
      transform: translateX(0%);
    }
    40%, 60% {
      transform: translateX(-50%);
    }
    80%, 100% {
      transform: translateX(0%);
    }

  }
  
  /* Apply staggered animation delays */
  .my-gallery__item:nth-child(1) .flip-card-inner {
    animation-delay: 0s;
  }
  .my-gallery__item:nth-child(2) .flip-card-inner {
    animation-delay: 2s;
  }
  .my-gallery__item:nth-child(3) .flip-card-inner {
    animation-delay: 4.5s;
  }
  .my-gallery__item:nth-child(4) .flip-card-inner {
    animation-delay: 6s;
  }
  
  /* Flip front and back sides */
  .flip-front,
  .flip-back {
    flex: 0 0 50%;
    height: 100%;
  }
  
  .flip-front img,
  .flip-back img {
    width: 100%;
    height: 100%;
    object-fit:center contain;
    display: block;
  }

  .pswp img {
    width: 660px !important;
    height: 830px !important;
}
  
  
