/* ===== Contact Section (contact1) ===== */
/* Transparent overlay */
/* Transparent overlay */
.contact1-con::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 68, 63, 0.8); /* teal overlay */
    z-index: 1;
}

/* Content */
.contact1-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.contact1-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
}

/* Breadcrumb links */
.contact1-breadcrumb {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
}

.contact1-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact1-breadcrumb a:hover {
    color: #ffd700; /* gold hover effect */
}

.contact1-breadcrumb span {
    margin: 0 6px;
    color: #fff;
}


/* ===== Contact Section (contact2) ===== */
.contact2-con {
    background: #009688;
    border-radius: 12px;
    overflow: hidden;
    margin: 100px auto;
    max-width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    justify-content: space-between;
    padding: 40px;
}

.contact2-info {
    color: #fff;
    background: #009688;
}

.contact2-info h2 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #fff;
}

.contact2-info h2 span {
    color: #ffd700;
}

.contact2-box {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid #f7e26b;
    border-radius: 6px;
    padding: 10px 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.contact2-box strong {
    color: #fff;
    font-weight: 800;
}

.contact2-box p {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.contact2-box i {
    margin-right: 5px;
    font-size: 16px;
    color: #ffd700;
}

/* Right form box smaller height */
.contact2-form {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
}

/* Fix button hover (only color change, no movement) */
.contact2-form form .btn {
    font-weight: 600;
    border-radius: 7px;
    min-width: 120px;   /* fix width so no shifting */
    border: 1px solid #ccc;
}

.contact2-form form .btn:hover {
    background-color: #fcb900;
    color: #fff;
    border-color: #fcb900;
}

/* Submit button */
.contact2-form form .submit {
    background-color: #fcb900;
    border: none;
    width: 50%;
    color: #fff;
    padding: 12px 25px;
    border-radius: 10px;
    margin-top: 60px;
    transition: all 0.3s ease;
}

.contact2-form .submit:hover {
    background-color: #c0a612;
    transform: translateY(-5px);
}

/* Inputs underline only */
.contact2-form .form-control {
    border: none;
    border-bottom: 3px solid #ccc;
    border-radius: 0;
    padding-left: 0;
    box-shadow: none;
}

.contact2-form .form-control:focus {
    border-bottom: 3px solid #fcb900;
    box-shadow: none;
}

/* ================= Responsive Design ================= */

/* Extra Small Devices (≤576px) */
@media (max-width: 576px) {
    .contact2-con {
        flex-direction: column;
        padding: 20px;
        margin: 50px auto;
    }
    .contact2-info {
        text-align: left;
        margin-bottom: 20px;
    }
    .contact2-info h2 {
        font-size: 22px;
    }
    .contact2-box {
        font-size: 13px;
        padding: 8px 10px;
    }
    .contact2-form {
        padding: 20px;
        max-width: 100%;
    }
    .contact2-form form .submit {
        width: 100%;
    }
}

/* Small Devices (577px - 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    .contact2-con {
        flex-direction: column;
        padding: 25px;
    }
    .contact2-info {
        text-align: left;
        margin-bottom: 25px;
    }
    .contact2-info h2 {
        font-size: 24px;
    }
    .contact2-form {
        max-width: 95%;
        margin: auto;
    }
    .contact2-form form .submit {
        width: 35%;
    }
}

/* Medium Devices (769px - 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .contact2-con {
        padding: 30px;
    }
    .contact2-info h2 {
        font-size: 26px;
    }
    .contact2-form {
        max-width: 420px;
    }
}

/* Large Devices (993px - 1200px) */
@media (min-width: 993px) and (max-width: 1200px) {
    .contact2-con {
        padding: 35px;
    }
    .contact2-info h2 {
        font-size: 27px;
    }
    .contact2-form {
        max-width: 460px;
    }
}

