* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f8fbff;
    color: #0f172a;
}

/* Navbar */

/*header {*/
/*    position: sticky;*/
/*    top: 0;*/
/*    z-index: 100;*/
/*    background: rgba(255, 255, 255, 0.95);*/
/*    border-bottom: 1px solid #e5e7eb;*/
/*    backdrop-filter: blur(8px);*/
/*}*/

/*.nav-wrap {*/
/*    width: min(1200px, 92%);*/
/*    margin: 0 auto;*/
/*    padding: 16px 0;*/

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

/*.logo {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 10px;*/

/*    font-size: 18px;*/
/*    font-weight: 700;*/
/*    color: #0f172a;*/
/*}*/

/*.logo-img {*/
/*    height: 52px;*/
/*    width: auto;*/
/*}*/

/*nav a {*/
/*    margin-left: 24px;*/
/*    text-decoration: none;*/
/*    color: #475569;*/
/*    font-weight: 500;*/
/*}*/

/*nav a:hover {*/
/*    color: #2563eb;*/
/*}*/

/* Page */

.contact-page {
    padding: 70px 18px 80px;
}

.section-title {
    text-align: center;
    margin-bottom: 46px;
}

.section-title h1 {
    margin: 0 0 12px;
    font-size: 42px;
    font-weight: 500;
}

.section-title p {
    margin: 0;
    font-size: 20px;
    color: #334155;
}

/* Contact cards */

.contact-cards {
    width: min(980px, 92%);
    margin: 0 auto 46px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px;
    text-align: center;
}

.icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eef2ff;
    color: #4f46e5;
    border-radius: 50%;
    font-weight: 700;
    font-size: 22px;
}

.contact-card h2 {
    margin: 0 0 12px;
    font-size: 18px;
}

.contact-card p {
    margin: 0;
    color: #334155;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.contact-link {
    text-decoration: none;   /* removes underline */
    color: inherit;          /* keeps original text color */
    display: block;
}

/* Form */

.contact-form-card {
    width: min(640px, 92%);
    margin: 0 auto;
    padding: 30px;

    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.form-group {
    margin-bottom: 22px;
}

label {
    display: block;
    margin-bottom: 10px;
    color: #0f172a;
    font-weight: 500;
}

input,
textarea {
    width: 100%;
    padding: 14px 16px;

    border: 1px solid #dbe1ea;
    border-radius: 9px;
    background: white;

    font-size: 16px;
    font-family: inherit;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #4f46e5;
}

button {
    width: 100%;
    padding: 14px 18px;

    border: none;
    border-radius: 9px;

    background: linear-gradient(135deg, #4f46e5, #6d28d9);
    color: white;

    font-size: 16px;
    font-weight: 600;
    cursor: pointer;

    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.25);
}

button:hover {
    transform: translateY(-2px);
}

/* Footer */

footer {
    border-top: 1px solid #e5e7eb;
    padding: 26px 18px;

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

    width: min(1200px, 92%);
    margin: 0 auto;
}

footer p {
    margin: 0;
    color: #334155;
}

.footer-links a {
    margin-left: 20px;
    color: #475569;
    text-decoration: none;
}

.footer-links a:hover {
    color: #2563eb;
}

/* Mobile */

@media (max-width: 800px) {
    .nav-wrap {
        flex-direction: column;
        gap: 14px;
    }

    nav a {
        margin: 0 8px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    footer {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .footer-links a {
        margin: 0 8px;
    }
}