.contact-hero {
    min-height: 460px;
    background:
        linear-gradient(
            rgba(8, 38, 58, 0.55),
            rgba(8, 38, 58, 0.65)
        ),
        url("/Images/bg\ image\ for\ contact.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.contact-hero-content {
    max-width: 800px;
}

.contact-hero-content > p:first-child {
    color: #befff6;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.contact-hero-content > p:first-child img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.contact-hero h1 {
    color: #ffffff;
    font-size: 54px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.contact-hero h1 span {
    color: #befff6;
}

.contact-hero-content > span {
    color: #e6f2f4;
    font-size: 17px;
}

.contact-section {
    background: #f7fbfc;
    padding: 90px 6%;
}

.contact-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 55px;
}

.contact-heading p,
.quick-heading p,
.contact-cta > p {
    color: #0d9488;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-heading h2 {
    color: #17324d;
    font-size: 38px;
    margin-bottom: 12px;
}

.contact-heading span {
    color: #687986;
    font-size: 16px;
}

.contact-container {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 45px;
    align-items: start;
}

.contact-info h2,
.contact-form-box h2 {
    color: #17324d;
    font-size: 28px;
    margin-bottom: 12px;
}

.info-text {
    color: #687986;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.contact-info-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: white;
    border: 1px solid #e3eeee;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 16px;
}

.contact-icon,
.quick-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    background: #e7f7f5;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img,
.quick-icon img {
    width: 29px;
    height: 29px;
    object-fit: contain;
}

.contact-info-card h3 {
    color: #17324d;
    font-size: 17px;
    margin-bottom: 6px;
}

.contact-info-card p {
    color: #687986;
    font-size: 14px;
    line-height: 1.6;
}

.contact-info-card a {
    display: inline-block;
    margin-top: 5px;
    color: #0d9488;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.contact-form-box {
    background: white;
    padding: 38px;
    border-radius: 20px;
    border: 1px solid #e3eeee;
    box-shadow: 0 12px 35px rgba(23, 50, 77, 0.07);
}

.contact-form-box > p {
    color: #687986;
    font-size: 15px;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #17324d;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d9e5e5;
    border-radius: 9px;
    padding: 13px 14px;
    font-family: inherit;
    font-size: 14px;
    color: #17324d;
    background: #fbfdfd;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.08);
}

.form-group textarea {
    resize: vertical;
}

.contact-form-box button {
    width: 100%;
    border: none;
    background: #0d9488;
    color: white;
    padding: 14px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form-box button:hover {
    background: #087f75;
}

.quick-contact {
    background: white;
    padding: 80px 6%;
}

.quick-heading {
    text-align: center;
    margin-bottom: 40px;
}

.quick-heading h2 {
    color: #17324d;
    font-size: 36px;
}

.quick-contact-grid {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.quick-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border: 1px solid #e3eeee;
    border-radius: 15px;
    text-decoration: none;
    background: #f7fbfc;
    transition: 0.3s;
}

.quick-card:hover {
    transform: translateY(-4px);
    border-color: #b9e3df;
}

.quick-card h3 {
    color: #17324d;
    font-size: 17px;
    margin-bottom: 5px;
}

.quick-card p {
    color: #687986;
    font-size: 14px;
}

.contact-cta {
    background: #eaf8f7;
    text-align: center;
    padding: 75px 20px;
}

.contact-cta h2 {
    color: #17324d;
    font-size: 38px;
    margin-bottom: 12px;
}

.contact-cta span {
    color: #647786;
    font-size: 16px;
}

.contact-cta a {
    display: inline-block;
    margin-top: 25px;
    background: #0d9488;
    color: white;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 8px;
    font-weight: 600;
}

.contact-cta a:hover {
    background: #087f75;
}

@media (max-width: 850px) {
    .contact-hero h1 {
        font-size: 45px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .quick-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .contact-hero {
        min-height: 350px;
        padding: 60px 20px;
        background-position: center;
    }

    .contact-hero h1 {
        font-size: 35px;
    }

    .contact-hero-content > span {
        font-size: 15px;
    }

    .contact-section {
        padding: 65px 5%;
    }

    .contact-heading h2,
    .quick-heading h2,
    .contact-cta h2 {
        font-size: 29px;
    }

    .contact-form-box {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 450px) {
    .contact-hero {
        min-height: 330px;
    }

    .contact-hero h1 {
        font-size: 32px;
    }

    .contact-hero-content > p:first-child {
        font-size: 12px;
    }

    .contact-heading h2,
    .quick-heading h2,
    .contact-cta h2 {
        font-size: 27px;
    }

    .contact-info-card {
        padding: 16px;
        gap: 13px;
    }

    .contact-icon,
    .quick-icon {
        width: 48px;
        height: 48px;
    }

    .contact-icon img,
    .quick-icon img {
        width: 25px;
        height: 25px;
    }
}