/* Levenus Theme Responsive Styles */

/* Reset desktop styles outside mobile media query */
@media (min-width: 769px) {
    .header .nav {
        display: flex !important; /* Ensure visibility on desktop */
    }

    .header .nav-menu {
        display: flex !important;
    }
    .header .nav-menu ul {
        list-style: none;
    }
}

@media (max-width: 1024px) {
    header {
    padding: 35px 15px;
}
.nav .nav-menu{
    gap: 10px;
}
    .bottom-section {
        flex-direction: column;
    padding: 2rem 1rem;
    }
.project-card img {
    height: 350px;
}
.testimonials-header{
    margin: 0 0 20px;
}
.content-wrapper {
    max-width: calc(100% - 75px);
}
.cards-section {
    padding: 80px 0px;
}
.premium-carousel-container {
    margin: 0;
    padding: 40px 0;
}
.projects-container{
    padding: 40px 20px;
}
.projects-container .swiper{
    display: flex;
    justify-content: center;
}
.footer .top-section .left h1 {
    -webkit-text-fill-color: unset;
    margin: 0;
}
.footer .top-section .left {
    margin-bottom: 1rem;
}
}

@media (max-width: 768px) {
    .header {
        width: 100%;
        padding: 15px;
        top: 10px;
    }

    .header .header-container {
        flex-wrap: wrap;
        position: relative;
    }

    .header .logo {
        flex: 1;
        font-size: 20px;
        overflow: hidden;
    }

    .header .logo img {
        max-height: 50px;
        scale: 1.5;
    }

    .header .nav {
        display: none;
        width: 100%;
        height: 100vh;
        background-color: #d9d9d96c;
        backdrop-filter: blur(5px);
        
        position: absolute;
        top: 45px;
        left: 0;
        z-index: 1000;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 10px 10px;
    }

    .header .nav.active {
        display: block;
    }

    header:has(.nav.active) + main {
        opacity: 0;
    }

    .header .nav-menu,
    .header .nav-menu > ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .header .nav-menu li {
        margin: 10px 0;
    }

    .header .nav-menu li a {
        font-size: 16px;
    }

    .header .nav-menu li.menu-item-more ul.sub-menu {
        display: block;
        position: static;
        background: none;
        backdrop-filter: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }

    .header .nav-menu li.menu-item-more ul.sub-menu li {
        padding: 8px 0;
    }

    .header .nav-menu li.menu-item-more > a::after {
        content: none;
    }

    .header .contact {
        display: none;
    }

    .header .contact-mobile {
        display: block;
        padding: 1rem 0;
        text-align: center;
        color: #008080;
        font-size: 16px;
    }

    .header .contact-mobile a {
        color: #008080;
        text-decoration: none;
    }

    .header .contact-mobile::before {
        content: "📞";
        margin-right: 5px;
    }

    .header .menu-toggle {
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    main {
        padding: 80px 0 1rem;
    }

    .content {
        width: 100%;
        float: none;
    }

    .sidebar {
        width: 100%;
        float: none;
        padding-left: 0;
        margin-top: 2rem;
    }

    .swiper-container {
        margin: 10px auto;
    }

    .swiper-slide img {
        max-height: 300px;
    }

    footer .menu,
    footer .menu > ul {
        display: flex;
        flex-direction: row;
        gap: 15px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

      .timeline-container {
        padding: 40px 16px;
      }

      .timeline {
        margin-left: 40px;
      }

      .progress-line,
      .progress-fill {
        left: 15px;
      }

      .step-number {
        left: -30px;
      }

      .step {
        flex-direction: column;
        align-items: flex-start;
      }

      .step-content {
        flex-direction: column;
        gap: 10px;
      }

      .step img {
        width: 100%;
        height: auto;
        max-width: 100%;
      }

      .content-wrapper{
        max-width: 85vw;
      }
      .footer .middle-section {
    gap: 1rem;
}
.footer .column{
    margin-bottom: 0;
}
}



@media (max-width: 480px) {
    .custom-banner-container{
        gap: 1rem;
        padding: 4rem 1rem 0;
    }
    .custom-banner-section {
        height: 250px;
        margin-bottom: 0px;
    }

    .custom-banner-text {
        font-size: 1.2rem;
    }

    .custom-banner-section:nth-child(3) .custom-banner-overlay,
    .custom-banner-section:nth-child(4) .custom-banner-overlay {
        clip-path: none;
        justify-content: center;
        text-align: center;
        background-color: rgba(43, 108, 176, 0.7);
    }
    .card-section{
        padding: 50px 20px;
    }

    .premium-step-number {
    width: 30px;
    height: 30px;
    font-size: 16px;
}

.premium-carousel-container{
    margin: 0 auto;
}
.premium-step,.parallax-content{
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}
.premium-text-content p{
    margin-bottom: 0;
    max-width: 90%;
}
.premium-image-content {
    height: 250px;
}
.premium-text-content {
    padding: 10px;
}
.premium-step{
    padding-block: 0;
}
.projects-container .swiper-wrapper{
    padding: 0 !important;
    gap: 15px;
}
.project-card img{
    height: 180px;
    object-fit: contain;
}
.project-title{
    margin-top: 0;
}

.testimonials .swiper-wrapper{
    padding: 0 !important;
}
.testimonials {
    padding: 50px 20px;
}
.testimonials-header{
    margin: 0 20px;
}
}