#contact {
    position: relative;
    background: #f8fafc;
    overflow: hidden;
}

#contact .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
}

#contact .shape-right {
    width: 500px;
    height: 500px;
    background: #dbeafe;
    top: -200px;
    right: -150px;
}

#contact .shape-left {
    width: 400px;
    height: 400px;
    background: #e0f2fe;
    bottom: -200px;
    left: -150px;
}

#contact .container {
    position: relative;
    z-index: 2;
}

/* =========================
   Header
========================= */

#contact .section-header {
    text-align: center;
    margin-bottom: 60px;
}

#contact .span-badge {
    background: #dbeafe;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

#contact .section-header h2 {
    margin-bottom: 15px;
    color: #111827;
}

#contact .section-header h2 span {
    color: var(--secondary-color);
}

#contact .section-header p {
    max-width: 600px;
    margin: auto;
    color: var(--para);
}

/* =========================
   Grid Layout
========================= */

#contact .contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: start;
}

/* =========================
   Contact Cards
========================= */

#contact .contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact .info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 18px;
    border-radius: 18px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

#contact .icon {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact .info-card small {
    color: #9ca3af;
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-size: 11px;
}

#contact .info-card .p-sm {
    color: #1f2937;
}

/* =========================
   Office Image
========================= */

#contact .office-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 180px;
}

#contact .office-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#contact .office-image .overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 64, 175, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact .office-image span {
    background: var(--white);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

/* =========================
   Contact Form
========================= */

#contact .contact-form {
    background: var(--white);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    font-family: var(--font-primary);
}

#contact .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

#contact .form-group {
    margin-bottom: 20px;
}

#contact .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    font-family: var(--font-primary);
}

#contact .form-group input,
#contact .form-group select,
#contact .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
    font-family: var(--font-primary);
}

#contact .form-group input:focus,
#contact .form-group select:focus,
#contact .form-group textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

#contact textarea {
    resize: none;
}

/* =========================
   Footer
========================= */

#contact .form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

#contact .form-footer p {
    font-size: 13px;
    color: #9ca3af;
}

/* =========================
   Responsive
========================= */

@media (max-width: 991px) {

    #contact .contact-grid {
        grid-template-columns: 1fr;
    }

    #contact .contact-form {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    #contact .form-grid {
        grid-template-columns: 1fr;
    }

    #contact .form-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    #contact .form-footer button {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .contact-form {
        padding: 20px;
    }

    #contact .info-card {
        padding: 15px;
    }

}