#clients .border {
    border-color: #2b2b2c !important;
}

#contact-banner {
    position: relative;
    padding: 5rem 0 0 0;
    background-image: url("../img/contact2.webp");
    background-size: cover;
    background-position: center;
    color: #fff;
    height: 30rem;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

#contact-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.contact-banner-des {
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-banner-des h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-banner-des p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-banner-des .contact-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 0.5rem;
    font-weight: 500;
}

.contact-banner-des .contact-links a:hover {
    text-decoration: underline;
}

.contact-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: left;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-6px);
    background-image: url("../img/about-banner_bg.webp");
    box-shadow: 0 0 12px rgba(201, 255, 0, 0.15);
}

.contact-card h5 {
    color: #000000;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-icon {
    font-size: 1.6rem;
    color: #106E74;
    margin-bottom: 12px;
}

.contact-card a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #106E74;
}

#contact-form-section {
    background: #fff;
    padding: 70px 20px;
    background:url("../img/about-banner_bg.webp");
}

.contact-big-img img {
    width: 100%;
    height: 38rem;
    object-fit: cover;
    z-index: 1;
}

.contact-big-img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000000ab;
    z-index: 2;
}

.conatct-tag-line {
    position: absolute;
    padding: 1rem;
    bottom: 0;
    z-index: 3;
}

.conatct-tag-line p {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    z-index: 3;
}

.office-detail {
    position: absolute;
    top: 0;
    z-index: 3;
    padding: 1.5rem;
}

.detail-box {
    transition: transform 0.3s ease;
}

.detail-box:hover {
    transform: translateX(5px);
}

.detail-icon {
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 50%;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-info h5 {
    margin-bottom: 3px;
    color: #fff;
    font-size:16px;
    font-weight: 600;
}

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

.detail-info a:hover {
    text-decoration: underline;
}

.contact-form-wrapper h2 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.office-detail h3{
    font-size:18px;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid #ddd;
    outline: none;
    padding: 10px 0;
    font-size: 1rem;
    color: #000;
    background: transparent;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: #000;
}

/* Dropdowns (AI Lead Estimator) styled like the underlined inputs. */
.contact-form select,
.contact-form select.form-select {
    width: 100%;
    border: none;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    padding: 10px 28px 10px 0;
    font-size: 0.95rem;
    color: #000;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2339A79C' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 14px 10px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.contact-form select:invalid {
    color: #888;
}

.contact-form select:focus {
    border-bottom-color: #000;
    box-shadow: none;
}

.contact-form select option {
    color: #000;
}

.contact-form label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 0.95rem;
    color: #888;
    pointer-events: none;
    transition: all 0.3s ease;
}

.contact-form input:focus+label,
.contact-form input:valid+label,
.contact-form textarea:focus+label,
.contact-form textarea:valid+label {
    top: -12px;
    font-size: 0.8rem;
    color: #000;
}

.btn-submit {
 padding: 15px 2.5rem;
  color: #fff;
  border-radius: 2rem;
  background: linear-gradient(95deg, #01c3c1 0%, #39A79C 100%);
  border: none;
  font-family: "spacegrotesk";
  font-size: 18px;
  text-transform: capitalize;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: 0.35s ease;
}

.btn-submit:hover{
  background: linear-gradient(95deg, #39A79C 0%, #01c3c1 100%);
  box-shadow: 0px 8px 18px rgba(1, 195, 193, 0.35);
}

@media screen and (max-width: 1280px) and (max-height: 800px) {
.contact-form .form-group{
        
    }
}

@media screen and (min-width: 1024px) and (max-width: 1024px) and (min-height: 600px) and (max-height: 600px) {
#contact-banner {
    position: relative;
    padding: 180px 20px 80px 20px;
    background-color: #F9F3EE;
    background-image: url(../img/about-banner_bg.webp);
    overflow: hidden;
}
}

@media (max-width: 992px) {
#contact-info p {
    color: #000000;
    margin-top: 1rem;
    font-size: 18px;
    line-height: 23px;
}
}

@media(max-width:768px) {
.contact-form-wrapper {
        text-align: center;
    }
.contact-form label {
        left: 0px;
    }
.contact-header {
        text-align: center;
        align-items: center;
    }
.accent-line {
        margin: 0 auto;
    }
#contact-info p {
        text-align: center;
    }
.contact-banner-des h1 {
        font-size: 5vh;
    }
#contact-banner {
        position: relative;
        padding: 20px 0px;
    }
#contact-banner {
        text-align: center;
    }
.contact-header h2 {
        border-right: none !important;
    }
#contact-form-section {
        padding: 25px 0px;
    }
}