/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header & Navigation */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #1a56db;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #1a56db;
}

.cta-button {
    background: #1a56db;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #1447b8;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a56db 0%, #2563eb 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    border-radius: 0 0 40px 40px;
    margin-bottom: 60px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Partners Section */
.partners {
    text-align: center;
    margin-bottom: 80px;
}

.partners-title {
    color: #666;
    margin-bottom: 30px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.partner-logo {
    font-weight: 600;
    color: #333;
    font-size: 18px;
}

.our-solutions-btn {
    background: rgba(22, 75, 255, 0.1);
    color: #164BFF;
    border: none;
    padding: 16px;
    border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.our-solutions-btn:hover {
    background: rgba(22, 75, 255, 0.15);
}

/* Services Intro */
.services-intro {
    text-align: center;
    margin-bottom: 80px;
}

.services-intro h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
}

/* Service Sections */
.custom-development,
.product-solution,
.smart-consultant,
.ai-cloud {
    padding: 60px 0;
}

.custom-development {
    background: #f0f4ff;
}

.product-solution {
    background: #f0fff4;
}

.smart-consultant {
    background: #f8f4ff;
}

.ai-cloud {
    background: #fff0f7;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.service-content.reverse .service-text {
    order: 1;
}

.service-content.reverse .service-image {
    order: 2;
}

.service-image {
    border-radius: 20px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-text h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a56db;
}

.green-title {
    color: #059669 !important;
}

.purple-title {
    color: #7c3aed !important;
}

.pink-title {
    color: #db2777 !important;
}

.service-text>p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.checkmark {
    width: 24px;
    height: 24px;
    background: #1a56db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.service-list.green .checkmark {
    background: #059669;
}

.service-list.purple .checkmark {
    background: #7c3aed;
}

.service-list.pink .checkmark {
    background: #db2777;
}

.service-list strong {
    display: block;
    margin-bottom: 5px;
    color: #1a1a1a;
    font-size: 16px;
}

.service-list p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Contact Section */
.contact {
    background: #f0f9ff;
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-text h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.contact-text p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: start;
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    background: #e0f2fe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.contact-item p {
    color: #666;
}

/* Footer */
footer {
    background: #f9fafb;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: #1a1a1a;
}

.footer-col p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.footer-bottom p {
    color: #666;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: #fff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #686eee;
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 15px;
    }

    .service-content,
    .service-content.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-content.reverse .service-text,
    .service-content.reverse .service-image {
        order: 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .cta-button {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .nav-links.active {
        max-height: 300px;
        opacity: 1;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
    }

    /* Hero Section */
    .hero {
        padding: 60px 0;
        border-radius: 0 0 30px 30px;
        margin-bottom: 40px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 16px;
    }

    /* Partners */
    .partners {
        margin-bottom: 60px;
    }

    .partners-logos {
        gap: 20px;
        flex-direction: column;
    }

    .partner-logo {
        font-size: 16px;
    }

    /* Services */
    .services-intro {
        margin-bottom: 60px;
        padding: 0 15px;
    }

    .services-intro h2 {
        font-size: 22px;
    }

    .custom-development,
    .product-solution,
    .smart-consultant,
    .ai-cloud {
        padding: 40px 0;
    }

    .service-text h3 {
        font-size: 24px;
    }

    .service-text>p {
        font-size: 15px;
    }

    .service-list strong {
        font-size: 15px;
    }

    .service-list p {
        font-size: 13px;
    }

    /* Contact */
    .contact {
        padding: 60px 0;
    }

    .contact-text h2 {
        font-size: 28px;
    }

    .contact-text p {
        font-size: 15px;
    }

    /* Footer */
    footer {
        padding: 40px 0 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .services-intro h2 {
        font-size: 20px;
    }

    .service-text h3 {
        font-size: 22px;
    }

    .contact-text h2 {
        font-size: 24px;
    }

    .navbar {
        padding: 12px 0;
    }
}