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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* First Section: End-to-End AI Automation Services */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    /* align-items: center; */
}

.text-section h1 {
    font-size: 2.9rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #000;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.service-icon.tan {
    background-color: #D4A574;
}

.service-icon.navy {
    background-color: #2C5282;
}

.service-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
}

.service-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}


.hero-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}


/* Second Section: Services Portfolio */
.services-portfolio {
    background-color: #A8C8E1;
    padding: 4rem 2rem;
    border-radius: 100px;
    margin: 2rem auto;
}

.portfolio-container {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

.services-portfolio h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 3rem;
    text-align: left;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: #D4A574;
    border-radius: 20px;
    padding: 4rem 2rem 2rem 2rem;
    text-align: left;
    min-height: 280px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-card.navy {
    background-color: #1A365D;
}

.service-card.tan {
    background-color: #D4A574;
}

.card-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 24px;
    height: 24px;
    color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-card:hover .card-icon {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-content {
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-card p {
    font-size: 1rem;
    color: white;
    line-height: 1.5;
    opacity: 0.9;
}

.cta-section {
    display: flex;
    justify-content: center;
}

.explore-btn {
    background-color: #D4A574;
    color: #333;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background-color: #C19A6B;
    transform: translateY(-2px);
}

.explore-btn svg {
    width: 16px;
    height: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .text-section h1 {
        font-size: 2.5rem;
    }

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

    .hero-image {
        height: 250px;
        justify-content: initial;
    }

    .hero-image img {
        height: 100%;
    }

    .services-portfolio {
        padding: 2rem 1rem;
        border-radius: 20px;
    }

    .services-portfolio h2 {
        font-size: 2rem;
        text-align: center;
    }

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

    .service-card {
        min-height: 240px;
        padding: 3rem 1.5rem 1.5rem 1.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .card-icon {
        top: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 2rem 1rem;
    }

    .text-section h1 {
        font-size: 2rem;
    }

    .description {
        font-size: 1rem;
    }

    .services-portfolio {
        margin: 1rem;
        padding: 1.5rem 1rem;
    }

    .services-portfolio h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .service-card {
        min-height: 200px;
        padding: 2.5rem 1.25rem 1.25rem 1.25rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .explore-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}