/* GLOBAL */
body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    background: linear-gradient(to bottom, #2d77b7, #f9c2d1);
    color: #333;
    line-height: 1.7;
}

/* TYPOGRAPHY */
h1, h2, h3 {
    font-family: "Lora", serif;
    text-align: center;
    margin-bottom: 1rem;
    color: #2d2d2d;
}

p {
    font-size: 1.05rem;
    margin: 0 auto 1rem auto;
    max-width: 800px;
}

/* LINKS */
a {
    color: #0026bd;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #f9c2d1;
    text-decoration: underline;
}

/* HEADER */
.header {
    background: #2d77b7;
    padding: 2.5rem 1rem;
    text-align: center;
    border-bottom: 4px solid rgba(255,255,255,0.4);
}

.header h1 {
    color: white; /* Only header text is white */
}

/* TOP HERO IMAGE */
.hero-image {
    width: 100%;
    max-width: 420px;
    margin: 2rem auto 1rem auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* HERO SECTION */
.hero {
    background: rgba(255,255,255,0.85);
    margin: 2rem auto;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    max-width: 900px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

/* CARD GRID */
.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem 1rem;
    text-align: center;
}

/* INDIVIDUAL CARD */
.card {
    background: rgba(255,255,255,0.9);
    padding: 2rem;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* CARD IMAGES — INDIVIDUAL GRAPHICS */
.card img {
    width: 170px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

/* FOOTER */
.footer {
    background: #2d77b7;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
    border-top: 4px solid rgba(255,255,255,0.4);
}

.footer .social a {
    margin: 0 1rem;
    color: white;
    font-size: 1.1rem;
}

/* RESPONSIVE BREAKPOINTS */
@media (min-width: 700px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}
