:root {
    --primary: #14375d;
    --primary-dark: #0d2744;
    --secondary: #5e6b7a;
    --light: #f4f6f8;
    --white: #ffffff;
    --border: #dce2e8;
    --shadow: 0 5px 15px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--light);
    color: #333;
    line-height: 1.6;
    padding-top: 100px;
}

@media (max-width: 768px) {
    body {
        padding-top: 180px;
    }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   HEADER
========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: transform 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    height: 120px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: bold;
    transition: .3s;
}

nav a:hover {
    color: #1f5f9f;
}

/* =========================
   HERO
========================= */

.hero {
    background: linear-gradient(
        rgba(13,39,68,0.92),
        rgba(20,55,93,0.92)
    );
    color: white;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-logo {
    width: 220px;
    max-width: 80%;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    max-width: 700px;
    margin: auto;
    font-size: 1.2rem;
    margin-bottom: 35px;
}

/* =========================
   BUTTONS
========================= */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    background: white;
    color: var(--primary);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* =========================
   SECTIONS
========================= */

section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 40px;
}

/* =========================
   SERVICES — CARDS ACCORDION
========================= */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 5px solid var(--primary);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.card.open {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border-top-color: #1f5f9f;
}

.card-header {
    padding: 35px 35px 28px;
}

.icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
}

.icon svg {
    width: 100%;
    height: 100%;
    fill: var(--primary);
}

.card h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

.chevron {
    display: inline-block;
    margin-left: 5px;
    font-size: 13px;
    transition: transform 0.3s ease;
}

.card.open .chevron {
    transform: rotate(180deg);
}

.card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    border-top: 0px solid var(--border);
}

.card.open .card-body {
    max-height: 300px;
    border-top: 1px solid var(--border);
}

.card-body-inner {
    padding: 18px 28px 24px;
    font-size: 0.95rem;
    color: var(--secondary);
    line-height: 1.7;
    text-align: left;
}

/* =========================
   ABOUT
========================= */

.about {
    background: white;
}

.about p {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

/* =========================
   CTA
========================= */

.cta {
    background: var(--primary);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
}

.cta p {
    margin-bottom: 30px;
}

/* =========================
   FOOTER
========================= */

footer {
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 30px 20px;
}

footer p {
    margin: 8px 0;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    header .container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 250px;
        text-align: center;
    }

    .card.open {
        transform: none;
    }

    .card:hover {
        transform: none;
    }
}

.contact {
    padding: 80px 0;
}

.contact h1 {
    margin-bottom: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.contact-card {
    background: #f5f7fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.contact-card h3 {
    margin-bottom: 10px;
}

.contact-card p {
    margin-bottom: 15px;
}

.contact-extra {
    margin-top: 50px;
    padding: 20px;
    background: #eef3f8;
    border-radius: 10px;
}

