/* --- Base Card --- */
.service-card {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 30px 0;
    padding: 30px 25px;
    border-radius: 16px;
    flex-wrap: wrap;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* --- Reverse layout (image on right) --- */
.service-card-reverse {
    flex-direction: row-reverse;
}

/* --- Image Container --- */
.service-card .card-image-container {
    flex: 1 1 400px;
    min-width: 280px;
    overflow: hidden;
    border-radius: 16px;
}

.service-card .card-image-container img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.service-card .card-image-container img:hover {
    transform: scale(1.05);
    filter: brightness(1.05);
}

/* --- Card Content --- */
.service-card .card-content {
    flex: 1 1 400px;
    min-width: 280px;
}

.service-card h3 {
    font-size: 30px;
    margin-bottom: 18px;
    color: #0a0f33;
    font-weight: 600;
}

.service-card p {
    font-size: 16px;
    margin-bottom: 25px;
    color: #2c3e50;
    line-height: 1.7;
}

/* --- Highlights List --- */
.service-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-highlights li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    color: #2c3e50;
}

.service-highlights .highlights-icon {
    width: 22px;
    height: 22px;
    margin-right: 12px;
    color: var(--color-topbar-blue);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.service-highlights li:hover .highlights-icon {
    transform: scale(1.2);
}

/* --- Button --- */
.btn-get-in-touch {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--color-topbar-blue);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-get-in-touch:hover {
    background-color: white;
    color: var(--color-topbar-blue);
    border: 2px solid var(--color-topbar-blue);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* --- Responsive --- */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
    .service-card {
        gap: 25px;
        padding: 25px 20px;
    }
    .service-card h3 {
        font-size: 26px;
    }
    .service-card p {
        font-size: 15px;
    }
}

/* Mobile Landscape & Small Tablets (≤ 900px) */
@media (max-width: 900px) {
    .service-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
    }
    .service-card-reverse {
        flex-direction: column;
    }
    .service-card .card-content {
        margin-top: 20px;
    }
    .service-highlights li {
        justify-content: center;
        text-align: left; /* keeps icon + text aligned */
    }
}

/* Mobile Portrait (≤ 762px) */
@media (max-width: 762px) {
    .service-card {
        margin: 40px 0;
        padding: 20px 12px;
        gap: 20px;
    }
    .service-card h3 {
        font-size: 22px;
    }
    .service-card p {
        font-size: 14px;
    }
    .btn-get-in-touch {
        padding: 12px 24px;
        font-size: 14px;
    }
.service-card .card-image-container {
    flex: 1 1 220px;
    min-width: 280px;
    overflow: hidden;
    border-radius: 16px;
}
}

/* Extra Small Phones (≤ 400px) */
@media (max-width: 400px) {
    .service-card h3 {
        font-size: 20px;
    }
    .service-card p {
        font-size: 13px;
        line-height: 1.6;
    }
    .btn-get-in-touch {
        width: 100%; /* full width button */
        text-align: center;
    }
}
