/* ===== Theme ===== */

:root {
    --primary: #111827;
    --secondary: #4b5563;
    --muted: #6b7280;
    --border: #e5e7eb;
    --background: #ffffff;
    --text: #111827;
}

/* ===== Global ===== */

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

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

/* ===== Layout ===== */

header,
main,
footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 40px;
}

/* ===== Container ===== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Header ===== */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

header h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 3px;
}

header h1 a {
    color: var(--text);
    text-decoration: none;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    font-size: 15px;
    color: var(--secondary);
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--text);
}

/* ===== Active Navigation ===== */

nav a.active {
    color: var(--text);
    font-weight: 700;
    border-bottom: 2px solid var(--text);
    padding-bottom: 4px;
}

/* ===== Hero ===== */

.hero {
    padding: 120px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 80px;
}

.hero-text h2 {
    font-size: 54px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 20px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 36px;
}

.hero-text a {
    display: inline-block;
    padding: 14px 30px;
    background: var(--primary);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-text a:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.25);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;

    border-radius: 20px;
    border: 1px solid var(--border);

    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.16);
}

/* ===== Why Choose ===== */

.why-choose {
    text-align: center;
}

.section-intro {
    max-width: 760px;
    margin: 24px auto 0;
    font-size: 18px;
    line-height: 1.8;
    color: var(--secondary);
}

/* ===== Sections ===== */

main section {
    margin-bottom: 100px;
}

main section:last-child {
    margin-bottom: 0;
}

main section h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text);
}

main section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text);
}

main section p {
    max-width: 760px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--secondary);
}

/* ===== Services Grid ===== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #d1d5db;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
}

.service-card p {
    margin: 0;
    max-width: none;
    font-size: 16px;
    line-height: 1.8;
    color: var(--secondary);
}

/* ===== Footer ===== */

footer {
    margin-top: 100px;
    padding: 60px 40px;
    border-top: 1px solid var(--border);
}

footer h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

footer p {
    color: var(--secondary);
    margin-bottom: 16px;
    max-width: 600px;
}

footer a {
    color: var(--text);
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--primary);
}

footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 28px 0;
    padding: 0;
}

footer nav a {
    font-size: 15px;
    color: var(--secondary);
}

footer nav a:hover {
    color: var(--text);
}

/* ===== Responsive ===== */

@media (max-width: 768px) {

    header,
    main,
    footer {
        padding: 20px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    nav {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero {
        padding: 72px 0;
    }

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

    .hero-text h2 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 18px;
    }

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

    footer {
        padding: 40px 20px;
    }

    footer nav {
        gap: 16px;
    }

}
