/**
 * Contact Us Page - Complete CSS
 * Matching the screenshot design
 */

/* GENERAL SECTION STYLES */
.contact-sec-header {
    width: 100%;
    margin-bottom: 50px;
}

.contact-sec-header .cmntle {
    margin: 0;
}
.contact-sub-title {
    font-size: 22px;
    color: #000;
    margin: 0;
    font-weight: 400;
}
/* JOIN OUR TEAM SECTION */
.join-team-section  {
    padding: 80px 0;
}
/* Job Cards Grid */
.job-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
/* Individual Job Card */
.job-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    border: 1.53689px solid #F3F4F6;
    box-shadow: 0px 15.3689px 23.0533px -4.61066px rgba(0, 0, 0, 0.1), 0px 6.14754px 9.22131px -6.14754px rgba(0, 0, 0, 0.1); 
    border-radius: 24.5902px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}
.job-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}
/* Job Badge */
.job-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 30px;
    width: fit-content;
}
.job-badge.full-time {
    background: #DCFCE7;
    color: #008236;
}
.job-badge.remote {
    background: #DBEAFE;
    color: #1447E6;
}
.job-badge.hybrid {
    background: #F3E8FF;
    color: #8200DB;
}
/* Job Title */
.job-title {
    font-size: 22px;
    font-weight: 500;
    color: #0A0A0A;
    margin: 0 0 8px 0;
    line-height: 1.4;
}
/* Job Description */
.job-description {
    font-size: 15px;
    line-height: 1.7;
    color: #4A5565;
    margin: 0 0 12px 0;
    flex-grow: 1;
}
/* Job Location */
.job-location {
    font-size: 15px;
    color: #6A7282;
    margin: 0 0 16px 0;
}
/* Apply Button */
.apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    border: 1px solid #0A0A0A;
    border-radius: 8px;
    background: transparent;
    color: #0A0A0A;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
    gap: 8px;
}
.apply-btn:hover {
    border-color: #E3120B;
    color: #E3120B;
}
.apply-btn img  {
    width: 16px;
    height: auto;
}
.apply-btn:hover img {
   filter: invert(18%) sepia(95%) saturate(7462%) hue-rotate(356deg) brightness(90%) contrast(115%);
}

/* CONTACT SECTION */
.contact-section {
    background: #ffffff;
    padding: 80px 0px;
}

.contact-info-col {
    padding-top: 48px;
}

/* Contact Info Card */
.contact-info-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    border: 1px solid #f0f0f0;
    box-shadow: 0px 12.987px 19.4805px -3.8961px rgba(0, 0, 0, 0.1), 0px 5.19481px 7.79221px -5.19481px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-info-card .card-title {
    font-size: 22px;
    font-weight: 500;
    color: #0A0A0A;
    margin: 0 0 24px 0;
}

/* Contact Details */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Contact Icons */
.contact-icon {
    flex-shrink: 0;
    width: 50px;
    min-width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
}

.email-icon {
    background: #E3120B;
}

.phone-icon {
    background: #E3120B;
}

.address-icon {
    background: #E3120B;
}

/* Contact Text */
.contact-text {
    flex-grow: 1;
}

.contact-text .label {
    display: block;
    font-size: 15px;
    color: #6A7282;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-text a {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.contact-text a:hover {
    color: #e5322d;
}

.contact-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #000000;
}

/* Office Hours Card */
.office-hours-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    border: 1.2987px solid #F3F4F6; 
    box-shadow: 0px 12.987px 19.4805px -3.8961px rgba(0, 0, 0, 0.1), 0px 5.19481px 7.79221px -5.19481px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.office-hours-card .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 24px 0;
}

/* Hours List */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 400;
    color: #000000;
}

/* Contact Form Card */
.contact-form-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 35px 20px 35px;
    border: 1.2987px solid #F3F4F6; 
    box-shadow: 0px 12.987px 19.4805px -3.8961px rgba(0, 0, 0, 0.1), 0px 5.19481px 7.79221px -5.19481px rgba(0, 0, 0, 0.1);
}

/* Contact Form Styles */

.contact-form-wrapper .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form-wrapper label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #0A0A0A;
    margin-bottom: 4px;
}

.contact-form-wrapper .required {
    color: #E3120B;
}


.contact-form-wrapper .wpcf7 {
    margin: 0;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper textarea {
    width: 100%;
    padding: 12px 18px;
    height: 45px;
    border: 0px;
    border-radius: 8px;
    background: #f9f9f9;
    font-size: 15px;
    color: #000000;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: #E3120B;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.contact-form-wrapper input[type="submit"] {
    width: 100%;
    padding: 12px 30px 12px 45px; /* Space for icon */
    background: #E3120B;
    background-image: url(../images/send-icon.svg);
    background-repeat: no-repeat;
    background-position: 40% center, center;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.contact-form-wrapper input[type="submit"]:hover { 
    background: url(../images/send-icon.svg) no-repeat 40% center, linear-gradient(90deg, #600180 0%, #DD23C7 50%, #E3120B 100%);
}

.contact-form-wrapper .full-width {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}


.contact-form-wrapper textarea {
    min-height: 120px;
    resize: vertical;
    height: 150px;
}

/* Form Rows */
.contact-form-wrapper .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form-wrapper p { margin: 0px;}
.contact-form-wrapper p br { display: none; }

/* Form Validation */
.contact-form-wrapper .wpcf7-not-valid-tip {
    font-size: 13px;
    color: #E3120B;
    margin: 4px 0 0 !important;
}

.contact-form-wrapper .wpcf7-not-valid {
    border-color: #E3120B !important;
}

.contact-form-wrapper .wpcf7-response-output {
    margin: 4px 0 0 !important;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
}

.get-touch-sec address {
    margin: 0px 0px 40px 0px;
    font-size: 15px;
    line-height: 1.5;
    color: #000000;
}

.get-touch-sec address a { 
    color: #000000;
    text-decoration: none;
}

.get-touch-sec address a:hover {
    color: #E3120B;
}

.get-touch-sec address:last-child { 
    margin-bottom: 0px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .cta-impact-inner {
        padding: 40px 24px;
        border-radius: 16px;
    }

    .cta-impact-title {
        font-size: 32px;
    }

    .cta-impact-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cta-impact-title {
        font-size: 26px;
    }

    .cta-impact-subtitle {
        font-size: 14px;
        margin-bottom: 28px;
    }
}

/* RESPONSIVE DESIGN */

/* Tablet (768px to 1199px) */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .job-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .contact-sub-title {
        font-size: 16px;
    }
}

/* Mobile (up to 767px) */
@media screen and (max-width: 767px) {
    .contact-sec-padding {
        padding: 60px 0;
    }
    
    .contact-sec-header {
        margin-bottom: 16px;
    }
    
    .contact-sub-title {
        font-size: 15px;
    }
    .get-touch-sec address  {
        margin-bottom: 24px;
    }
    .contact-form-col {
        margin-top: 36px;
    }
    .contact-section { 
        padding: 40px 0px;
    }
    .contact-info-col { 
        padding-top: 0px;
    }
    .contact-info-card,
    .office-hours-card,
    .contact-form-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .form-subtitle {
        font-size: 24px;
    }
    
    /* Form Rows - Stack on Mobile */
    .contact-form-wrapper .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-wrapper input[type="submit"]  {
            background-position: 22% center, center;
    }
}

/* Small Mobile (up to 575px) */
@media screen and (max-width: 575px) {
    
    .job-title {
        font-size: 18px;
    }
    
    .job-description {
        font-size: 14px;
    }
    
    .contact-info-card .card-title,
    .office-hours-card .card-title {
        font-size: 20px;
    }
    
    .form-subtitle {
        font-size: 22px;
    }
}
