/* ==========================================
   RESET
========================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================
   BODY
========================================== */

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: #1e293b;
    line-height: 1.6;

    background:
        linear-gradient(
            rgba(248,250,252,0.92),
            rgba(248,250,252,0.96)
        ),
        url("background.jpg") center / cover fixed no-repeat;
}

/* ==========================================
   HEADER
========================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 8%;

    background: rgba(255,255,255,0.95);

    border-bottom: 1px solid #e2e8f0;

    backdrop-filter: blur(10px);
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
}

nav a {
    margin-left: 24px;
    text-decoration: none;
    font-weight: 700;
    color: #334155;
    transition: 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #0284c7;
}

/* ==========================================
   HERO
========================================== */

.hero,
.page-hero {
    display: flex;
    align-items: center;

    min-height: 450px;

    padding: 80px 8%;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(15,23,42,0.92),
            rgba(14,116,144,0.72)
        ),
        url("background.jpg") center/cover no-repeat;
}

.page-hero {
    min-height: 280px;
}

.hero-content {
    max-width: 900px;
}

.hero .tagline,
.page-hero .tagline {
    color: #7dd3fc;
}

/* ==========================================
   TYPOGRAPHY
========================================== */

.tagline {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;

    color: #0284c7;
}

h1 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 20px;
}

h2 {
    font-size: 32px;
    margin-bottom: 14px;
    color: #0f172a;
}

h3 {
    font-size: 21px;
    margin-bottom: 10px;
    color: #0f172a;
}

.hero p {
    color: #e0f2fe;
    font-size: 18px;
    max-width: 800px;
}

/* ==========================================
   BUTTONS
========================================== */

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-block;

    min-width: 140px;

    padding: 12px 24px;

    border-radius: 8px;

    text-decoration: none;
    text-align: center;

    font-weight: 700;

    transition: all 0.25s ease;
}

.btn.primary {
    background: #0284c7;
    color: #ffffff;
}

.btn.secondary {
    background: #ffffff;
    color: #0f172a;
}

.btn:hover {
    transform: translateY(-2px);
}

/* ==========================================
   SECTIONS
========================================== */

.section {
    padding: 60px 8%;
}

.compact {
    padding-top: 50px;
    padding-bottom: 50px;
}

.intro {
    margin-bottom: 30px;
}

/* ==========================================
   CARDS
========================================== */

.cards {
    display: grid;
    gap: 22px;
}

/* FIXED FROM 8 COLUMNS */

.cards.three {
    grid-template-columns: repeat(3, 1fr);
}

.cards.two {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: rgba(255,255,255,0.95);

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    padding: 24px;

    min-height: 180px;

    box-shadow:
        0 10px 25px rgba(15,23,42,0.06);

    transition: all 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 35px rgba(15,23,42,0.12);
}

.card p {
    color: #475569;
}

/* ==========================================
   SERVICE LINKS
========================================== */

.card-link {
    text-decoration: none;
    color: inherit;
}

.card-link span {
    display: inline-block;
    margin-top: 15px;

    color: #0284c7;
    font-weight: 700;
}

/* ==========================================
   CONTACT
========================================== */

.contact {
    padding: 60px 8%;

    text-align: center;

    background:
        rgba(239,246,255,0.95);
}

.contact h2 {
    margin-bottom: 16px;
}

.contact p {
    font-size: 17px;
    color: #334155;
}

.contact .btn {
    margin-top: 20px;
}

/* ==========================================
   FOOTER
========================================== */

footer {
    background: #0f172a;

    color: #cbd5e1;

    text-align: center;

    padding: 20px;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1024px) {

    .cards.three {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {

    .site-header {
        flex-direction: column;
        gap: 12px;
    }

    .cards.three,
    .cards.two {
        grid-template-columns: 1fr;
    }

    .hero,
    .page-hero {
        min-height: auto;
        padding: 60px 6%;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    nav a {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    .section,
    .contact {
        padding-left: 6%;
        padding-right: 6%;
    }

    .btn {
        width: 100%;
    }
}