* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a6bff;
    --secondary-color: #f5f5f5;
    --dark-color: #000000;
    --light-color: #fff;
    --text-color: #444;
    
    --transition: all 0.3s ease;
    --page-transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    
    --gradient-primary: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    --gradient-secondary: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --gradient-accent: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --gradient-light: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    --gradient-warm: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
    --gradient-cool: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    --gradient-footer: linear-gradient(to right, #243949 0%, #517fa4 100%);
    --gradient-nav: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--gradient-light);
    overflow-x: hidden;
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: var(--gradient-nav);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    background-size: 200% 200%;
    animation: gradientAnimation 10s ease infinite;
}

.navbar.scrolled {
    background: var(--gradient-nav);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
}

.navbar img {
    height: 1.5rem;
    width: auto;
    transition: var(--transition);
    margin-right: 20px;
    background-color: transparent;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    list-style: none;
    justify-content: center;
}

.nav-links li {
    margin: 0 5px;
}

.nav-links li a {
    color: var(--dark-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    font-size: 1.3rem;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--light-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-links li a:hover {
    transform: scale(2);
    color: var(--light-color);
    opacity: 1.0;
}

.nav-links li a:hover::after {
    width: 70%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

.hero {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradientAnimation 10s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: left;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
    flex-direction: row;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}


.hero-image {
    flex: 1;
    max-width: 250px;
    position: relative;
    margin-left: auto;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translate(0rem,0rem); }
    25% { transform: translate(3rem,0rem); }
    50% { transform: translate(0rem,0rem); }
    75% { transform: translate(0rem,-3rem); }
    100% { transform: translate(0rem,0rem);}
}

@keyframes float1 {
    0% { transform: translate(0rem,0rem); }
    50% { transform: translate(0,-1.5rem); }
    100% { transform: translate(0rem,0rem);}
}

@keyframes float2 {
    0% { transform: translate(0rem,0rem); }
    50% { transform: translate(0,-0.6rem); }
    100% { transform: translate(0rem,0rem);}
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-color);
    animation: fadeInUp 3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-color);
    animation: fadeInUp 3.2s ease;
    opacity: 0.9;
}

.section {
    padding: 6rem 0;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    visibility: hidden;
}

.section.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    text-indent: 2rem;
    text-align: left;
}

.about-content ul {
    list-style-position: inside;
    margin: 1.5rem 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.about-content ul li {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
    font-size: 1.4rem;
}

.about-content ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1rem;
    margin-left: -1rem;
}

#partners {
    background: var(--gradient-light);
    position: relative;
}

#partners::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%234a6bff" fill-opacity="0.05" d="M0,160L48,170.7C96,181,192,203,288,202.7C384,203,480,181,576,165.3C672,149,768,139,864,154.7C960,171,1056,213,1152,218.7C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    pointer-events: none;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    padding: 2rem 0;
}

.partner {
    background: var(--light-color);
    border-radius: 12px;
    padding: 5%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
}

.partner a {
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.partner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.partner:hover {
    transform: translateY(-1.2rem);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner:hover img {
    animation: float2 3s ease-in-out infinite;
}


#contact {
    background: var(--gradient-secondary);
    position: relative;
}
/*  */
#contact h2{
    margin-bottom: 1rem;
}

.contact-info {
    text-align: center;
}


.contact-item {
    background: var(--light-color);
    padding:  1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}


.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-nav);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.contact-item:hover::before {
    opacity: 0.25;
}

.contact-item:hover {
    transform: translateY(-1.5rem);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    color: var(--primary-color);
    transition: var(--transition);
}

.contact-item:hover i {
    transform: scale(1.2);
    color: var(--primary-color);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item p {
    color: var(--text-color);
}


.btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--light-color);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(74, 107, 255, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 107, 255, 0.4);
}

.btn:hover::before {
    opacity: 1;
}

.services-section {
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-item {
    position: relative;
    background: var(--light-color);
    border-radius: 20px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateY(0);
    opacity: 1;
}

.service-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.service-item h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.service-item p {
    color: var(--text-color);
    font-size: 0.9rem;
    text-align: left;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-item:hover img {
    animation: float1 3s ease-in-out infinite;
}


.contact-form {
    max-width: 700px;
    margin: 4rem auto 0;
    padding: 2.5rem;
    background: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    cursor: pointer;
}

footer {
    background: var(--gradient-footer);
    color: var(--light-color);
    padding: 2rem 0;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,224L48,213.3C96,203,192,181,288,154.7C384,128,480,96,576,90.7C672,85,768,107,864,128C960,149,1056,171,1152,165.3C1248,160,1344,128,1392,112L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 2.5rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-social h4 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--light-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(6rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(74, 107, 255, 0.3);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gradient-accent);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(74, 107, 255, 0.4);
}

.back-to-top i {
    font-size: 1.2rem;
}

.contact-link {
    display: inline-block;
    margin-top: 0.8rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--dark-color);
    text-decoration: underline;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.navbar.scrolled img {
    height: 2.3rem;
}

.contact-item i {
    transition: var(--transition);
    font-size: 2rem;
}

.contact-item:hover i {
    transform: scale(2);
    color: var(--primary-color);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}
.contact-item h4 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.contact-item p {
    text-align: left;
    font-size: 1.4rem;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1.0;
    pointer-events: none;
    z-index: -1;
}


.service-item:hover i {
    animation: pulse 1s infinite;
}


.section {
    padding: 6rem 0;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    visibility: hidden;
}

#about.active {
    animation: fadeIn 3.8s ease forwards;
}

#services.active {
    animation: slideInRight 3.8s ease forwards;
}

#partners.active {
    animation: slideInLeft 3.8s ease forwards;
}

#contact.active {
    animation: zoomIn 3.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(10rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-10rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.page-indicator {
    display: block;
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    padding: 10px;
}

.page-indicator-dot {
    display: block;
    width: 12px;
    height: 12px;
    background-color: rgba(51, 51, 51, 0.3);
    border-radius: 50%;
    margin: 10px 0;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.page-indicator-dot::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2px solid transparent;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.page-indicator-dot:hover {
    background-color: rgba(51, 51, 51, 0.6);
}

.page-indicator-dot.active {
    background-color: rgba(51, 51, 51, 0.9);
}

.page-indicator-dot.active::before {
    border-color: rgba(51, 51, 51, 0.3);
}

@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        padding: 0 2rem;
    }
    .section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .footer-logo img {
        height: 2.0rem;
        margin-bottom: 1rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
        padding: 1.5rem 0;
    }
    .section {
        padding: 5rem 0;
    }
    
    .hero .container {
        flex-direction: row;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image {
        max-width: 250px;
        margin: 2rem auto 0;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .menu-toggle {
        display: block;
    }
    
    .navbar .container {
        justify-content: space-between;
        max-width: 1200px;
    }
    
    .navbar img {
        margin-right: 0;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 40%;
        height: calc(100vh - 70px);
        background-image: linear-gradient(to right, rgba(39, 11, 108, 0.3), rgba(78, 205, 196, 0.3)) !important;
        backdrop-filter: blur(0rem);
        -webkit-backdrop-filter: blur(0rem);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: var(--transition);
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links li a {
        padding: 0;
        margin: 0;
        border: none;
        border-radius: 0;
        font-size: 1.2rem;
    }
    
    .nav-links li a:hover {
        background-color: transparent;
        color: var(--light-color);
        border-color: transparent;
    }
    
    .nav-links li a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        background-color: var(--light-color);
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        transition: var(--transition);
    }
    
    .nav-links li a:hover::after {
        width: 100%;
    }
    .section h2{
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
        padding: 1rem 0;
    }
    
    .partner {
        aspect-ratio: 3/2;
    }
    .page-indicator {
        display: none;
    }

    .hero-image {
        max-width: 200px;
    }
    .hero h1{
        font-size: 1.4rem;
    }
    .section {
        padding: 4rem 0;
    }
    
    .section h2 {
        margin-bottom: 1rem;
    }
    .about-content p {
        font-size: 1.1rem;
    }
    .about-content ul li {
        font-size: 0.9rem;
    }
        
    .contact-form {
        padding: 1.5rem;
        margin-top: 3rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .about-content,
    .service-item p,
    .partner p {
        padding: 0 ;
    }
    
    .page-indicator {
        display: none;
    }
  
    .contact-item i {
        transition: var(--transition);
        font-size: 1.3rem;
    }
    
    .contact-item:hover i {
        transform: scale(2);
        color: var(--primary-color);
    }
    
    .contact-item h3 {
        color: var(--primary-color);
        margin-bottom: 1rem;
        font-size: 1.0rem;
    }
    .contact-item h4 {
        color: var(--primary-color);
        font-size: 1.0rem;
        margin-bottom: 1rem;
    }
    .contact-item p {
        /* color: var(--text-color); */
        text-align: left;
        font-size: 0.8rem;
    }
    .section h2 {
        font-size: 1.8rem;
    }
    .hero p{
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: repeat(2 1fr);
        padding: 0 1rem;
    }
    
    .service-item {
        max-width: 400px;
        margin: 0 auto;
    }
    .section h2 {
        font-size: 1.5rem;
    }
    .hero h1 {
        font-size: 1.4rem;
    }
    .hero p{
        font-size: 0.8rem;
    }
    .footer-logo img {
        height: 1.8rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
        padding: 0.8rem 0;
    }
    
    .partner {
        aspect-ratio: 1/1;
        border-radius: 8px;
    }
    
    .partner a {
        padding: 5%;
    }
    .navbar {
        padding: 0.8rem 0;
    }
    
    .navbar img {
        height: 2rem;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .hero h1 {
        font-size: 1.4rem;
    }
    
    .hero p {
        font-size: 0.6rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section h2 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
   
    .about-content ul li {
        font-size: 0.9rem;
    }
    .about-content p {
        font-size: 1rem;
    }
      
    .service-item img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
        margin-bottom: 1rem;
    }
    .service-item i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .hero-image {
        max-width: 180px;
    }

    .hero .container{
        flex-direction: column;
        display: flex;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 0.6rem;
    }

    .footer-logo img {
        height: 1.6rem;
        margin-bottom: 1rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 450px;
    }
    
    .nav-links {
        height: 100vh;
        overflow-y: auto;
    }
    
    .nav-links li {
        margin: 0.5rem 0;
    }
    
    .nav-links li a {
        padding: 0rem;
        margin: 0rem;
        font-size: 0.8rem;
    }
    
}
/* 公司信息样式 */
.company-info {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.4;
    font-style: normal; /* 覆盖address标签默认的斜体 */
}

.company-info i.fas {
    margin-right: 8px;
    color: #4a6bff; /* 使用主题色 */
}

.company-info strong {
    color: #fff;
    font-size: 15px;
}

/* 确保footer内容正确布局 */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
}

.footer-links {
    flex: 0 0 auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        min-width: 100%;
        margin-bottom: 20px;
    }
    
    .company-info {
        font-size: 13px;
    }
}
.address-container {
    display: flex; 
    align-items: flex-start;
    gap: 10px; 
}

.address-container .fas {
    margin-top: 0.2em; 
    flex-shrink: 0; 
}