/* Contact Page Styles */
body {
    background: #f7fafc;
    font-family: "Poppins", sans-serif;
}

.contact-page-wrapper {
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Background shapes matching welcome page style */
.contact-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.contact-bg-shapes .shape {
    position: absolute;
    opacity: 0.05;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Contact Card */
.contact-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(96, 40, 224, 0.08);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;

}

.contact-form-side {
    padding: 50px;
}

.contact-form-side h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a24;
    margin-bottom: 10px;
    font-family: "Poppins", sans-serif;
}

.contact-form-side .subheading {
    font-size: 14px;
    color: #718096;
    margin-bottom: 30px;
}

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

.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #eaeef6;
    border-radius: 10px;
    font-size: 14px;
    color: #2d3748;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus {
    border-color: #6028e0;
    box-shadow: 0 0 0 3px rgba(96, 40, 224, 0.1);
}

.form-control.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.invalid-feedback {
    display: block;
    font-size: 12.5px;
    color: #dc3545;
    margin-top: 5px;
    font-weight: 500;
}

textarea.form-control {
    height: 130px;
    resize: none;
}

.submit-btn {
    background: #6028e0;
    color: #ffffff;
    border: none;
    outline: none;
    padding: 14px 35px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(96, 40, 224, 0.2);
}

.submit-btn:hover {
    background: #4e1bb8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(96, 40, 224, 0.3);
}

/* Map Side */
.contact-map-side {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.contact-map-side iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Bottom Grid Contact Details */
.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.detail-card {
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(96, 40, 224, 0.04);
    transition: all 0.3s ease;
    border: 1px solid #f1f3f9;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(96, 40, 224, 0.08);
    border-color: #6028e0;
}

.detail-icon {
    font-size: 26px;
    color: #6028e0;
    margin-bottom: 18px;
    display: inline-block;
}

.detail-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a24;
    margin-bottom: 12px;
}

.detail-card p {
    font-size: 14px;
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

.detail-card a {
    color: #718096;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.detail-card a:hover {
    color: #6028e0;
}

/* Responsiveness */
@media (max-width: 991px) {
    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-map-side {
        height: 350px;
        min-height: 350px;
    }

    .contact-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .contact-form-side {
        padding: 30px 20px;
    }

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

    .contact-page-wrapper {
        padding: 120px 0 60px;
    }
}
