/* ---------- Global ---------- */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: #1f2937;
    background: #ffffff;
    line-height: 1.7;
}

/* ---------- Navigation ---------- */

header {
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    max-width: 1100px;
    margin: auto;
    padding: 18px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #143a63;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color .25s;
}

.nav a:hover {
    color: #2563eb;
}

/* ---------- Hero ---------- */

.hero {
    max-width: 900px;
    margin: auto;
    padding: 110px 30px 90px;
    text-align: center;
}

.hero-logo {
    width: 100%;
    max-width: 80%;
    margin-bottom: 45px;
}

.hero h1 {
    font-size: 3rem;
    color: #143a63;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 760px;
    margin: auto;
}

/* ---------- Sections ---------- */

section {
    max-width: 1100px;
    margin: auto;
    padding: 80px 30px;
}

section h2 {
    text-align: center;
    color: #143a63;
    font-size: 2.2rem;
    margin-bottom: 45px;
}

/* ---------- Cards ---------- */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 32px;
    transition: .25s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

.card h3 {
    color: #143a63;
    margin-bottom: 14px;
}

.card p {
    color: #4b5563;
}

/* ---------- Philosophy ---------- */

#philosophy p {
    max-width: 850px;
    margin: 0 auto 28px;
    text-align: center;
    font-size: 1.1rem;
}

/* ---------- Contact ---------- */

#contact {
    text-align: center;
}

#contact p {
    margin-bottom: 18px;
}

#contact a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

#contact a:hover {
    text-decoration: underline;
}

/* ---------- Footer ---------- */

footer {
    border-top: 1px solid #e5e7eb;
    text-align: center;
    padding: 35px;
    color: #6b7280;
    font-size: .95rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {

    .nav {
        flex-direction: column;
        gap: 18px;
    }

    .nav ul {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

}