﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: #fff;
}

.as-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero */
.as-hero {
    position: relative;
    background: linear-gradient(135deg, #0c2d48 0%, #145374 100%);
    padding: 5rem 2rem 4rem;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

    .as-hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, #0c2d48, #2e8bc0, #0c2d48);
    }

.as-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

    .as-hero-content h1 {
        font-size: 2.75rem;
        font-weight: 800;
        margin-bottom: 1rem;
        letter-spacing: -0.5px;
    }

    .as-hero-content p {
        font-size: 1.05rem;
        opacity: 0.85;
        line-height: 1.7;
    }

/* Services */
.as-services {
    padding: 4rem 0;
}

.as-service-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

    .as-service-item.as-reverse {
        flex-direction: row-reverse;
    }

.as-service-image {
    flex: 0 0 50%;
    max-width: 50%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

    .as-service-image img {
        width: 100%;
        height: 350px;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

.as-service-item:hover .as-service-image img {
    transform: scale(1.03);
}

.as-service-text {
    flex: 1;
}

    .as-service-text h2 {
        font-size: 1.75rem;
        font-weight: 700;
        color: #0c2d48;
        margin-bottom: 1rem;
    }

    .as-service-text p {
        color: #475569;
        font-size: 0.95rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
        text-align: justify;
    }

.as-service-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #145374;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

    .as-service-btn:hover {
        background: #0c2d48;
    }

/* Footer */
.as-footer {
    background: #0c2d48;
    color: #fff;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

    .as-footer p {
        opacity: 0.7;
        font-size: 0.9rem;
    }

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .as-service-item,
    .as-service-item.as-reverse {
        gap: 2rem;
    }

    .as-service-image {
        flex: 0 0 45%;
        max-width: 45%;
    }

    .as-service-text h2 {
        font-size: 1.5rem;
    }

    .as-service-text p {
        font-size: 0.9rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .as-hero {
        padding: 3.5rem 1.5rem 3rem;
    }

    .as-hero-content h1 {
        font-size: 2rem;
    }

    .as-hero-content p {
        font-size: 0.95rem;
    }

    .as-container {
        padding: 0 1rem;
    }

    .as-services {
        padding: 2rem 0;
    }

    .as-service-item,
    .as-service-item.as-reverse {
        flex-direction: column;
        gap: 1.25rem;
        margin-bottom: 2.5rem;
        padding: 0;
    }

    .as-service-image {
        flex: none;
        max-width: 100%;
        width: 100%;
        border-radius: 8px;
    }

        .as-service-image img {
            width: 100%;
            height: auto;
            min-height: 220px;
            object-fit: cover;
        }

    .as-service-text {
        padding: 0 0.5rem;
    }

        .as-service-text h2 {
            font-size: 1.4rem;
        }

        .as-service-text p {
            font-size: 0.9rem;
            line-height: 1.7;
        }
}

/* Small phones */
@media (max-width: 480px) {
    .as-hero {
        padding: 2.5rem 1rem 2rem;
    }

    .as-hero-content h1 {
        font-size: 1.6rem;
    }

    .as-hero-content p {
        font-size: 0.88rem;
    }

    .as-service-image {
        border-radius: 6px;
    }

        .as-service-image img {
            min-height: 200px;
        }

    .as-service-text h2 {
        font-size: 1.25rem;
    }

    .as-service-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
}
