        [dir="rtl"] {
            direction: rtl;
            text-align: right;
        }

[dir="rtl"] .navbar-collapse {
    left: 0;
    right: auto;
}


        .navbar-nav .nav-link {
            font-weight: 700;
            position: relative;
        }

        .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: #fff;
            transition: width 0.3s ease;
        }

        .navbar-nav .nav-link:hover::after {
            width: 100%;
        }


        .service-card:hover {
            transform: translateY(-5px);
        }

        .card-body {
            height: 350px;
            /* Fixed height for all cards */
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            padding: 2rem 1.5rem;
            background-color: #f8f9fa;
            border-radius: 10px;
        }

        .hero-section {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/partnership.jpg');
            background-size: cover;
            color: white;
            height: 600px;
            display: flex;
            align-items: center;
        }

        .section-padding {
            padding: 80px 0;
        }

        .service-icon {
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: #007bff;
        }

        .hero-section h1 {
            transform: translateY(-20px);
            opacity: 0;
        }

        .hero-section p {
            transform: translateY(20px);
            opacity: 0;
        }

        .hero-section .btn {
            opacity: 0;
        }

        [data-aos].aos-animate {
            opacity: 1;
            transform: translateY(0);
        }

        /* Enhanced Card Animations */
        .service-card {
            transition: all 0.3s ease;
            border: none;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            margin-bottom: 30px;

        }

        .row>[class*='col-'] {
            padding-top: 15px;
            padding-bottom: 15px;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        }

        /* Modal Enhancements */
        .modal-content {
            border-radius: 15px;
            border: none;
        }

        .modal-header {
            background: linear-gradient(45deg, #007bff, #0056b3);
            color: white;
            border-radius: 15px 15px 0 0;
        }

        .modal-body {
            padding: 2rem;
        }

        /* Service Icons Animation */
        .service-icon {
            transition: all 0.3s ease;
        }

        .service-card:hover .service-icon {
            transform: scale(1.2);
            color: #0056b3;
        }

        /* List Item Styling */
        .list-unstyled li {
            padding: 8px 0;
            transition: all 0.2s ease;
        }

        .list-unstyled li:hover {
            transform: translateX(5px);
        }

        /* Button Styling */
        .btn-primary {
            background: linear-gradient(45deg, #007bff, #0056b3);
            border: none;
            padding: 10px 25px;
            border-radius: 25px;
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
        }

        /* Section Headers */
        .section-padding h2 {
            position: relative;
            padding-bottom: 15px;
            font-size: 2.5rem;
            font-weight: 700;
        }

        .section-padding h2:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background: linear-gradient(45deg, #007bff, #0056b3);
        }

        .achievement-box {
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .achievement-box:hover {
            transform: translateY(-5px);
        }

        #about {
            background-color: #e9ecef !important;
        }

        .about-text li {
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .about-text li i {
            color: #007bff;
        }

        #about img {
            transition: transform 0.3s ease;
        }

        #about img:hover {
            transform: scale(1.02);
        }

        .modal-header .btn-close {
            filter: invert(1) brightness(200%);
        }

        .contact {
            padding: 5rem 0;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
        }

        .contact-form {
            background: #f8f9fa;
            padding: 2.5rem;
            border-radius: 15px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            background: #fff;
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            font-size: 1.1rem;
            outline: none;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .contact-form button {
            width: 100%;
            padding: 1rem 2rem;
            background: linear-gradient(45deg, #007bff, #0056b3);
            border: none;
            border-radius: 25px;
            color: white;
            font-size: 1.1rem;
            font-weight: 500;
            transition: all 0.3s ease;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
        }

        .contact-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
        }

        .contact-form button:active {
            transform: translateY(1px);
        }

        .form-select {
            width: 100%;
            padding: 1rem;
            background: #fff;
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            font-size: 1.1rem;
            color: #495057;
            cursor: pointer;
            transition: all 0.3s ease;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
        }

        .form-select:focus {
            outline: none;
            border: 1px solid rgba(0, 0, 0, 0.1);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .info-item {
            background: #f8f9fa;
            padding: 2rem;
            border-radius: 10px;
            text-align: left;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .info-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        }

        .info-item i {
            font-size: 2rem;
            color: #007bff;
            margin-bottom: 1rem;
            transition: transform 0.3s ease;
        }

        .info-item h3 {
            font-size: 1.3rem;
            margin-bottom: 0.8rem;
            color: #333;
        }

        .info-item:hover i {
            transform: scale(1.2);
        }

        .info-item p {
            font-size: 1.1rem;
            line-height: 1.6;
            color: #666;
        }

        .social-links {
            margin: 20px;
        }

        .social-icon {
            color: white;
            font-size: 20px;
            margin: 0 15px;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .social-icon:hover {
            color: #007bff;
            transform: translateY(-5px) scale(1.2);
        }


        .accordion-item {
            margin-bottom: 1rem;
            border: none;
            border-radius: 8px !important;
            overflow: hidden;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .accordion-button {
            font-weight: 700;
            padding: 1.2rem;
        }

        .accordion-button:not(.collapsed) {
            background: #ffffff;
            color: #333;
        }

        .accordion-button:focus {
            border-color: rgba(0, 0, 0, 0.125);
            box-shadow: none;
        }

        .accordion-button::after {
            color: #333;
        }

        .accordion-body {
            background: #ffffff;
        }

        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            border: none;
            background: transparent;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .back-to-top i {
            font-size: 35px;
            color: #2193b0;
            text-shadow: 0 4px 8px rgba(33, 147, 176, 0.3);
            transition: all 0.3s ease;
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover i {
            transform: translateY(-5px);
            color: #6dd5ed;
        }

        .cookie-consent {
            position: fixed;
            bottom: -100%;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 20px;
            box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
            transition: bottom 0.5s ease-in-out;
            z-index: 9999;
        }

        .cookie-consent.show {
            bottom: 0;
        }

        .cookie-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .cookie-icon {
            font-size: 24px;
            color: #2193b0;
        }

        .cookie-content p {
            margin: 0;
            flex: 1;
        }

        .cookie-buttons {
            display: flex;
            gap: 10px;
        }

        .btn-cookie {
            padding: 8px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-cookie.accept {
            background: linear-gradient(45deg, #2193b0, #6dd5ed);
            color: white;
        }

        .btn-cookie.decline {
            background: #f8f9fa;
            border: 1px solid #dee2e6;
        }

        .btn-cookie:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .language-dropdown {
            min-width: 200px;
            padding: 0.5rem;
            border: none;
            box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
            border-radius: 10px;
        }

        .language-dropdown .dropdown-item {
            padding: 0.7rem 1rem;
            border-radius: 5px;
            transition: all 0.3s ease;
        }

        .language-dropdown .dropdown-item:hover {
            background: rgba(33, 147, 176, 0.1);
            transform: translateX(5px);
        }

        .language-dropdown .dropdown-item.active {
            background: linear-gradient(45deg, #2193b0, #6dd5ed);
            color: white;
        }

        .flag-icon {
            margin-right: 8px;
        }

        .nav-link.dropdown-toggle {
            color: white !important;
        }

        .dropdown-toggle:hover {
            color: #6dd5ed !important;
        }

        .language-dropdown .dropdown-item {
            color: #333;
        }

        .language-dropdown .dropdown-item:hover {
            color: #2193b0;
        }

        .language-dropdown .dropdown-item.active {
            color: white;
        }

        @media (min-width: 992px) {
            .language-selector-desktop {
                position: absolute;
                right: 0;
                margin-right: 80px;
            }

            .mobile-lang-menu {
                display: none;
            }
        }

        @media (max-width: 991px) {
            .language-selector-desktop {
                display: none;
            }

            .mobile-lang-menu {
                display: block;
            }

            .mobile-lang-menu .nav-link {
                color: white !important;
            }

.dropdown-menu-end[data-bs-popper] {
    right: -40px!important;
}

            .navbar-collapse {
                position: absolute;
                top: 100%;
                right: 0;
                width: 200px;
                background-color: #343a40;
                padding: 1rem;
                border-radius: 0 0 10px 10px;
                transition: all 0.2s ease-out;
                transform-origin: top right;
            }

            .navbar-collapse.collapsing {
                transform: scale(0.95);
                opacity: 0;
            }

            .navbar-collapse.show {
                transform: scale(1);
                opacity: 1;
            }
            
        }

        @media (min-width: 768px) {
            .contact-form button {
                width: auto;
                min-width: 200px;
                padding: 1rem 3rem;
            }
        }

        @media (max-width: 768px) {
            .contact-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 375px) {
    .navbar-brand img {
        height: 30px;  /* 将logo高度从50px减小到35px */
        width: auto;   /* 保持宽度自动等比例缩放 */
    }
}