/* === GLOBAL RESET & BODY === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-light-bg);
    padding-top: var(--nav-height);
}

img {
    max-width: 100%;
    display: block;

}

a {
    text-decoration: none;
    color: inherit;
}

/* === HERO SECTION === */
.hero-section {
    background: var(--dark-section-gradient);
    color: var(--color-white);
    text-align: center;
    padding: 100px 0;
}

.hero-container h1 {
    max-width: 850px;
    margin: 0 auto 1.5rem;
    color: var(--color-white);
    font-family: var(--page-hero-title-font);
    font-size: var(--page-hero-title-size);
    font-weight: 600;
    line-height: 1.01;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.hero-container p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.95;
}

/* === SERVICES GRID === */
.services-overview {
    padding: 60px 0;
    background-color: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.service-card {
    text-align: center;
    /* Centers text AND inline elements like images */
}

.service-card {
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 5px 20px rgb(var(--color-black-rgb) / 0.05);
    text-align: center;
    border: 1px solid rgb(var(--color-darker-rgb) / 0.14);
    /* border-top: 4px solid var(--color-accent); */
}

.service-card div {
    padding: 2.5rem;
}

.service-icon {
    filter: none;
    display: block;
    margin: 0 auto 20px;
    /* Centers image + adds space below */
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    /* Optional: for polish */
}

.service-card h2 {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 1.2rem;
}

.service-card p {
    color: var(--color-text-body);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Read More Button */
.btn-read-more {
    background: var(--color-surface-blue);
    color: var(--color-primary);
    border: 2px solid var(--color-dark);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.parent-container {
    display: flex;
    justify-content: center;
    /* centers horizontally */
    /* align-items: center; */
    /* uncomment to center vertically too */
}

.btn-read-more:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px dashed var(--color-border-light);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background: var(--color-surface-blue);
    color: var(--color-primary);
    border: 2px solid var(--color-dark);
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 1.05rem;
}


.btn-primary:hover {
    background: var(--color-dark);
    color: var(--color-bg)
}


/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
    .service-card {
        padding: 2rem 1.5rem;
    }

    .btn-read-more,
    .btn-primary {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        display: block;
    }
}
