/* 
 * Contact Page Styles for HDD Drilling Tools
 * Modern, clean design with lighter background
 */

 .hdd-contact-page {
    font-family: "Mukta", sans-serif;
    color: #333;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

/* Main container */
.hdd-contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    gap: 40px;
}

/* Left column with form */
.hdd-contact-left {
    flex: 1;
    min-width: 300px;
    padding: 20px 0;
}

.contact-heading {
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    font-size: 53px;
    line-height: 56px;
}

.contact-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 450px;
}

.contact-form-wrapper {
    background-color: #fff;
    border-radius: 8px;
    padding: 0;
}

/* Form styling */
.contact-form-wrapper .gform_wrapper form {
    margin: 0;
}

.contact-form-wrapper .gform_wrapper .gform_body .gform_fields {
    grid-row-gap: 15px;
}

.contact-form-wrapper .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.contact-form-wrapper .gform_wrapper textarea,
.contact-form-wrapper .gform_wrapper select {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 99px;
    padding: 12px 15px;
    color: #333;
    font-size: 18px;
    transition: all 0.3s ease;
}
.contact-form-wrapper .gform_wrapper textarea{
    border-radius: 15px;
    padding:20px!important;
    font-size:18px!important;
}
.contact-form-wrapper .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus,
.contact-form-wrapper .gform_wrapper textarea:focus,
.contact-form-wrapper .gform_wrapper select:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 1px rgba(253, 186, 55, 0.2);
}

.contact-form-wrapper .gform_wrapper input::placeholder,
.contact-form-wrapper .gform_wrapper textarea::placeholder {
    color: #999;
}
.contact-form-wrapper .gform_wrapper label{
    font-weight: normal !important;
    margin-bottom: 5px !important;
}
.contact-form-wrapper .gform_wrapper .gform_footer {
    padding-top: 10px;
    margin-top: 10px;
}

.contact-form-wrapper .gform_wrapper .gform_footer input.button,
.contact-form-wrapper .gform_wrapper .gform_footer input[type=submit] {
    display: flex
    ;
        align-items: center;
        justify-content: center;
        background-color: #f9ba37;
        color: #000;
        border: none;
        border-radius: 30px;
        padding: 0 25px;
        height: 50px;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.2sease;
        position: relative;
        min-width: 200px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        margin:0px;
}
.contact-form-wrapper .gform_wrapper .gform_footer{
    position: relative;
    width: fit-content;
}
.contact-form-wrapper .gform_wrapper .gform_footer:before {
    content: "";
    background-image: url(/wp-content/uploads/2025/02/arrowbg-yellow.svg);
    height: 33px;
    width: 33px;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translatey(-50%);
    z-index: 1;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.3sease -in-out;
    pointer-events: none;
}
.contact-form-wrapper .gform_wrapper .gform_footer:after {
    content: "";
    background-image: url(/wp-content/uploads/2025/02/arrow-right.svg);
    height: 33px;
    pointer-events: none;
    width: 33px;
    background-size: initial;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translatey(-50%);
    z-index: 2;
    background-repeat: no-repeat;
    background-position: center center;
    transition: all 0.3sease -in-out;
}
.contact-form-wrapper .gform_wrapper .gform_footer input.button:hover,
.contact-form-wrapper .gform_wrapper .gform_footer input[type=submit]:hover {
    background-color: #ffca4d;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(253, 186, 55, 0.2);
}

/* Right column with image and testimonial */
.hdd-contact-right {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.contact-image-container {
    position: relative;
    height: 100%;
    min-height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to right, rgba(200, 200, 255, 0.1) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(200, 200, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.contact-team-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.contact-team-image img {
    width: 100%;
    height: 100%!important;
    object-fit: cover;
    object-position: center;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 100, 255, 0.4) 0%, rgba(100, 100, 255, 0.1) 100%);
    z-index: 3;
}

.contact-message {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 4;
}

.message-text {
    font-size: 15px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
}

.message-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #333;
}

.author-title {
    font-size: 14px;
    color: #666;
}

/* Contact details section */
.hdd-contact-details {
    padding: 60px 20px;
}

.contact-details-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    justify-content: space-between;
}

.contact-detail-item {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    display: flex
;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #ededed;
    border-radius: 15px;

}

.detail-icon {
    width: 40px;
    height: 40px;
    background-color: #0000003b;
    border-radius: 50%;
    display: flex
;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.detail-icon i {
    color: #000000;
    font-size: 16px;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: 300;
}

.detail-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000000;
}

.detail-content p {
    font-size: 16px;
    color: #2e2e2e;
    line-height: 1.5;
    margin: 0;
}

/* Map section */
.hdd-contact-map {
    width: 100%;
    height: 450px;
    max-width: 1200px;
    margin:auto;
    border-radius:15px;
    overflow:hidden;
}

.hdd-contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contact-heading {
        font-size: 2.2rem;
    }
    
    .contact-details-container {
        justify-content: center;
    }
    
    .contact-detail-item {
        max-width: 300px;
    }
}

@media (max-width: 991px) {
    .hdd-contact-container {
        flex-direction: column;
    }
    
    .contact-image-container {
        min-height: 350px;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .hdd-contact-container {
        padding: 40px 20px;
    }
    
    .contact-heading {
        font-size: 1.8rem;
    }
    
    .contact-image-container {
        min-height: 300px;
    }
    
    .contact-details-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .contact-detail-item {
        max-width: 100%;
        width: 100%;
    }
    
    .contact-message {
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 15px;
    }
    
    .hdd-contact-map {
        height: 350px;
    }
    
    .detail-icon {
        width: 35px;
        height: 35px;
    }
    
    .detail-icon i {
        font-size: 16px;
    }
} 