.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    /* position: fixed; */
    top: 42px;
    right: 20px;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.mobile-menu-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.mobile-menu-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.mobile-menu-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .choose-us-icon {
        margin-top: 0rem;
    }
    choose-us-item {
        padding: 0rem;
    }
    .partners-section {
        padding: 0rem;
    }
    .section-padding {
        padding-top: 0rem;
        padding-bottom: 0rem;
    }
    .mobile-menu-toggle {
        display: flex;
        /* position: fixed; */
        top: 42px;
        right: 20px;
    }

    .mobile-menu-toggle.mobile-menu-active {
        position: fixed;
        top: 42px;
        right: 20px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary-gradient);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-menu.mobile-menu-open {
        right: 0;
    }

    .nav-menu li {
        /* margin: 1rem 0; */
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar {
        padding-top: 1.5rem;
        padding-bottom: 1rem;
    }

    .logo span {
        font-size: 1.2rem;
    }

    .logo .logo-icon {
        height: 40px;
        width: 40px;
    }

    .hero-section {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        left: auto;
        transform: none;
        padding: 2rem 0;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 80%;
        height: auto;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .system-item h3 {
        font-size: 1rem;
        margin: 0.75rem 0 1rem 0;
    }

    .system-item p {
        font-size: 0.9rem;
    }

    .system-item img {
        height: 3rem;
    }

    .partners-logos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        align-items: center;
        justify-items: center;
    }

    .partners-logos img {
        /* height: 3rem; */
        max-width: 150px;
        width: 100%;
        object-fit: contain;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 0rem;
    }

    .service-card {
        padding: 0rem;
    }

    .dreams-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .dreams-text {
        order: 2;
    }

    .dreams-image {
        order: 1;
    }

    .section-title-left {
        font-size: 1.75rem;
        text-align: center;
    }

    .dreams-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .choose-us-grid {
        grid-template-columns: 1fr;
        gap: 0rem;
    }

    .choose-us-item {
        margin-right: 0;
        padding: 1.5rem;
        text-align: center;
    }

    .choose-us-item h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .choose-us-item p {
        font-size: 0.95rem;
    }

    .founder-container {
        padding: 0 1rem;
    }

    .founder-photo {
        width: 8rem;
        height: 8rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .founder-bio {
        font-size: 0.95rem;
    }

    .form-wrapper {
        margin-top: 2rem;
        padding: 0 1rem;
    }
    .final-cta-section {
        padding: 1rem 0;
    }
    .contact-form textarea {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
        min-height: 120px;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }

    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
        max-width: calc(100% - 2rem);
    }

    .modal-content p {
        font-size: 1rem;
    }

     .wechat-qrcode-popup {
         position: fixed;
         top: 50%;
         left: 50%;
         transform: translate(-50%, -50%);
         background-color: #fff;
         padding: 20px;
         border-radius: 12px;
         box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
         z-index: 1003;
         display: none;
         opacity: 0;
         transition: opacity 0.3s ease;
     }

     .wechat-qrcode-popup.show {
         display: block;
         opacity: 1;
     }

     .wechat-qrcode-popup img {
         width: 200px;
         height: 250px;
         display: block;
     }

     .wechat-overlay {
         position: fixed;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         z-index: 1001;
         display: none;
         opacity: 0;
         transition: opacity 0.3s ease;
     }

     .wechat-overlay.show {
         display: block;
         opacity: 1;
     }


    .footer-main {
        padding: 0rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding-top: 0rem;
        padding-bottom: 1rem;
    }
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .hero-text h1 {
        font-size: 1.3rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .systems-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .system-item {
        padding: 0.5rem;
    }

    .partners-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .partners-logos img {
        /* height: 2.5rem; */
        max-width: 120px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-title-left {
        font-size: 1.5rem;
    }

    .choose-us-item {
        padding: 1rem;
    }

    .founder-photo {
        width: 6rem;
        height: 6rem;
    }

    .founder-bio {
        font-size: 0.9rem;
    }

    .contact-form textarea {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        flex-direction: row;
        gap: 2rem;
    }

    .hero-text {
        max-width: 50%;
        text-align: left;
    }

    .hero-image {
        order: 2;
    }

    .dreams-container {
        flex-direction: row;
        text-align: left;
    }

    .dreams-text {
        order: 1;
    }

    .dreams-image {
        order: 2;
    }
}
