/* Contact Page Styles */

/* 1. Hero Section */
.page-heading.contact-heading {
    background-image: url(../images/contact-bg.png);
    /* Using existing asset name if available, otherwise fallback */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
    padding: 120px 0;
}

.contact-heading .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(69, 98, 237, 0.9) 0%, rgba(82, 215, 252, 0.9) 100%);
    z-index: 1;
}

.contact-heading .container {
    position: relative;
    z-index: 2;
}

.contact-heading h2 {
    color: #fff;
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.contact-heading a {
    color: #fff;
    transition: all 0.3s;
}

.contact-heading a:hover {
    color: #2a2a2a;
}

/* 2. Contact Info Cards */
.contact-info-section {
    position: relative;
    margin-top: -50px;
    /* Overlap hero */
    z-index: 5;
    padding-bottom: 80px;
}

.info-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(69, 98, 237, 0.15);
}

.info-card .icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: #f4f7ff;
    border-radius: 50%;
    margin: 0 auto 20px;
    color: #4562ed;
    font-size: 30px;
    transition: all 0.3s;
}

.info-card:hover .icon {
    background: #4562ed;
    color: #fff;
}

.info-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 15px;
}

.info-card p,
.info-card a {
    font-size: 16px;
    color: #777;
    line-height: 1.6;
    display: block;
}

/* 3. Contact Form & Map Section */
.contact-form-section {
    padding: 80px 0 120px 0;
    background-color: #f9f9f9;
}

.section-heading.contact-dec {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading.contact-dec h2 {
    font-size: 36px;
    font-weight: 800;
    color: #2a2a2a;
}

.section-heading.contact-dec h2 em {
    font-style: normal;
    color: #4562ed;
}

.section-heading.contact-dec .line {
    width: 60px;
    height: 3px;
    background-color: #4562ed;
    margin: 20px auto;
}

#contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background-color: #f4f7ff;
    border: none;
    outline: none;
    font-size: 14px;
    color: #2a2a2a;
    padding: 0 20px;
    margin-bottom: 30px;
    transition: all 0.3s;
}

#contact-form textarea {
    height: 150px;
    padding: 20px;
    resize: none;
}

#contact-form input:focus,
#contact-form textarea:focus {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(69, 98, 237, 0.1);
}

#contact-form button {
    display: inline-block;
    background-color: #4562ed;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 25px;
    border-radius: 25px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
}

#contact-form button:hover {
    background-color: #52d7fc;
}

/* Map */
#map {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
    #map {
        margin-bottom: 50px;
        min-height: 350px;
    }
}