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

:root {
    --coral: #E87461;
    --peach: #F5A962;
    --yellow: #E8D174;
    --teal: #4FA897;
    --dark-blue: #2C4A52;
    --light-gray: #F5F5F5;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-blue);
    background-color: var(--light-gray);
}

footer {
    background: linear-gradient(135deg, #20363d, var(--dark-blue));
    color: white;
    padding: 3rem 0 1.25rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    justify-items: center;
    text-align: center;
}

.footer-section {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

.footer-section h3 {
    color: var(--yellow);
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-size: 1.05rem;
    position: relative;
    padding-bottom: 0.35rem;
}

.footer-section h3::after {
    content: "";
    width: 52px;
    height: 3px;
    border-radius: 999px;
    background: rgba(232, 209, 116, 0.75);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    line-height: 1.3;
}

.footer-section a:hover {
    color: var(--yellow);
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-1px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-container {
        padding: 0 1.5rem;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    footer {
        padding: 2rem 0 1rem;
    }

    .footer-container {
        padding: 0 1rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
        text-align: center;
    }

    .footer-bottom {
        margin-top: 1rem;
        padding: 1.25rem 1rem 0;
    }
}
