/* =========================================
   CONTACT PAGE - PROFESSIONAL STYLING
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Poppins', system-ui, sans-serif;
    background: #f7f9fc;
    color: #1f2937;
    line-height: 1.6;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* =========================================
   SECTION
========================================= */

.contact-section {
    padding: 20px 20px 40px 20px;
}

.contact-section h2 {
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #0f172a;
    position: relative;
}

.contact-section h2::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #2563eb;
    display: block;
    margin: 14px auto 0;
    border-radius: 10px;
}
section {
    scroll-margin-top: 100px; /* adjust based on your header height */
}
/* =========================================
   CARD LAYOUT
========================================= */

.cards.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: stretch;
}

.card {
    background: linear-gradient(87deg, rgba(205, 201, 237, 0.5), rgba(191, 228, 245, 0.45));
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
    border: 1px solid #e5e7eb;
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

/* =========================================
   FORM
========================================= */

form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

form input,
form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Poppins', system-ui, sans-serif;
    background: #ffffff;
    transition: 0.3s ease;
    outline: none;
}

form input:focus,
form textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

form textarea {
    min-height: 50px;
    resize: vertical;
}

form input[readonly],
form textarea[readonly] {
    background: #f3f4f6;
    cursor: not-allowed;
}

/* =========================================
   BUTTON
========================================= */

.btn.primary {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 15px 24px;
    font-size: 15px;
    width: fit-content;
    margin: 0px auto;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 8px;
}

.btn.primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

/* =========================================
   ALERTS
========================================= */

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 500;
}

.alert.success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert.error,
.alert.danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert.warning {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
}

/* =========================================
   CONTACT INFO
========================================= */

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.contact-item i {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-item a,
.contact-item span {
    color: #374151;
    font-size: 15px;
    font-family: 'Poppins', system-ui, sans-serif;
    text-decoration: none;
    line-height: 1.7;
    word-break: break-word;
    margin: 0px;
}

.contact-item a:hover {
    color: #2563eb;
}

/* =========================================
   SOCIAL LINKS
========================================= */

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    color: #111827;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 18px;
}

.social-links a:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-3px);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 992px) {
    .cards.two {
        grid-template-columns: 1fr;
    }

     .card {
        padding: 16px;
    }

    .contact-section h2 {
        font-size: 16px;
    }

    .contact-section h2::after{
        margin: 0px auto;
    }

    .card h3 {
        font-size: 16px;
        margin: 0px;
    }

    form{
        gap: 12px;
    }
    .btn.primary{
        padding: 10px 15px;
        margin: 0px auto;
    }

     .contact-item{
        margin: 3px;
    }

    .social-links{
        margin: 0px;
    }
}

/* =====================================================
   MOBILE VIEW
===================================================== */



@media (max-width: 768px) {

cards.two {
        grid-template-columns: 1fr;
    }

     .card {
        padding: 10px;
    }

    .contact-section h2 {
        font-size: 16px;
    }

     .contact-section h2::after{
        margin: 0px auto;
    }

    .card h3 {
        font-size: 16px;
        margin: 0px;
    }

    form{
        gap: 8px;
    }

    .btn.primary{
        padding: 10px 15px;
        margin: 0px auto;
    }

     .contact-item{
        margin: 3px;
    }

    .social-links{
        margin: 0px;
    }

}



/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {
cards.two {
        grid-template-columns: 1fr;
    }

     .card {
        padding: 10px;
    }

    .contact-section h2 {
        font-size: 16px;
    }

     .contact-section h2::after{
        margin: 0px auto;
    }

    .card h3 {
        font-size: 16px;
        margin: 0px;
    }

    form{
        gap: 8px;
    }

    .btn.primary{
        padding: 10px 15px;
        margin: 0px auto;
    }

    .contact-item{
        margin: 3px;
    }

    .social-links{
        margin: 0px;
    }

}