/* ==========================================================================
   Contact Us Page - Dedicated Stylesheet (Zero Conflicts & Fully Responsive)
   ========================================================================== */

/* ==========================================================================
   1. Contact Us Hero & Form Section (Full Screen & Compact Form Fit)
   ========================================================================== */
.contact-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/Contact us banner.png') center center / cover no-repeat;
    color: #000000;
    padding: 120px 20px 50px;
    overflow: hidden;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 18, 30, 0.72) 0%, rgba(14, 18, 30, 0.52) 48%, rgba(14, 18, 30, 0.28) 100%);
    z-index: 1;
}

.contact-hero-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.contact-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

/* Left Content Details */
.contact-info-wrap {
    max-width: 560px;
    color: #ffffff;
}

.contact-main-heading {
    font-size: clamp(40px, 5.2vw, 64px);
    font-weight: 900;
    letter-spacing: -0.01em;
    color: #ffffff;
    line-height: 1.08;
    margin: 0 0 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.contact-intro-text {
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 28px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.contact-subheading {
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.contact-address-text {
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 10px;
    max-width: 460px;
}

.contact-green-divider {
    width: 44px;
    height: 2px;
    background-color: #82bd59;
    margin: 10px 0 12px;
}

.contact-phone-item,
.contact-email-item {
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
}

.contact-phone-item a,
.contact-email-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-phone-item a:hover,
.contact-email-item a:hover {
    color: #82bd59;
}

.contact-support-block {
    margin-top: 24px;
}

/* Right Column Contact Form Card (Clean Proportions) */
.contact-form-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 32px 30px 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    max-width: 460px;
    margin-left: auto;
    width: 100%;
}

.contact-form-group {
    margin-bottom: 14px;
}

.contact-form-label {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 6px;
    text-align: left;
}

.contact-field-error {
    font-size: 12px;
    font-weight: 600;
    color: #e53e3e;
    display: none;
    margin-top: 5px;
    text-align: right;
    animation: errorFadeIn 0.25s ease;
}

.contact-field-error.show {
    display: block;
}

.contact-input {
    width: 100%;
    background-color: #5dfde7; /* Vibrant cyan tint matching screenshot */
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 14px;
    color: #181b31;
    outline: none;
    transition: all 0.25s ease;
    font-family: inherit;
}

.contact-input:focus {
    background-color: #7efee9;
    border-color: #486937;
    box-shadow: 0 0 0 3px rgba(72, 105, 55, 0.15);
}

.contact-textarea {
    width: 100%;
    background-color: #5dfde7;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 14px;
    color: #181b31;
    outline: none;
    resize: vertical;
    min-height: 110px;
    font-family: inherit;
    transition: all 0.25s ease;
}

.contact-textarea:focus {
    background-color: #7efee9;
    border-color: #486937;
    box-shadow: 0 0 0 3px rgba(72, 105, 55, 0.15);
}

/* Error States */
.contact-input.has-error,
.contact-textarea.has-error {
    border-color: #e53e3e !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 0 2.5px rgba(229, 62, 62, 0.2) !important;
}

@keyframes errorFadeIn {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-btn-wrap {
    text-align: center;
    margin-top: 14px;
}

.btn-send-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    padding: 10px 38px;
    background-color: #486937; /* Forest green matching screenshot */
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 6px 18px rgba(72, 105, 55, 0.32);
}

.btn-send-contact:hover {
    background-color: #38532a;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(72, 105, 55, 0.45);
}

.contact-form-msg {
    display: none;
    padding: 12px;
    background: #eef8ec;
    color: #2e6d23;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    font-size: 13.5px;
    margin-top: 14px;
    text-align: center;
}

/* ==========================================================================
   2. Pre-Footer CTA Bar
   ========================================================================== */
.pro-pre-footer-cta {
    background-color: #2b303d;
    padding: 40px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pro-cta-flex {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.pro-cta-heading {
    font-size: clamp(24px, 3.2vw, 42px);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.2;
}

.btn-start-project {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #f5634b;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 6px 20px rgba(245, 99, 75, 0.35);
}

.btn-start-project i {
    font-size: 15px;
    transition: transform 0.3s ease;
}

.btn-start-project:hover {
    background-color: #e04e36;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(245, 99, 75, 0.5);
}

.btn-start-project:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   3. Main Footer & Sub-Footer
   ========================================================================== */
.pro-main-footer {
    background-color: #2b303d;
    padding: 80px 20px 0;
    color: #a1a6b4;
}

.pro-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr 1.5fr;
    gap: 50px;
    padding-bottom: 70px;
}

.pro-footer-brand-logo {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    display: inline-block;
    text-decoration: none;
}

.brand-part-pro {
    color: #3b8b32;
}

.brand-part-ultima {
    color: #55b340;
}

.pro-footer-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 24px;
}

.pro-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pro-footer-links a {
    color: #a1a6b4;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: color 0.25s ease;
}

.pro-footer-links a:hover,
.pro-footer-links a.active {
    color: #f5634b;
}

.pro-footer-social-link {
    color: #a1a6b4;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.25s ease;
}

.pro-footer-social-link:hover {
    color: #f5634b;
}

.pro-footer-contact-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 0 20px;
    line-height: 1.1;
}

.pro-footer-address {
    font-size: 15px;
    line-height: 1.7;
    color: #a1a6b4;
    margin: 0 0 20px;
}

.pro-footer-divider {
    width: 60px;
    height: 2px;
    background-color: #f5634b;
    margin: 20px 0;
}

.pro-footer-phone,
.pro-footer-email {
    font-size: 15px;
    line-height: 1.8;
    color: #a1a6b4;
    margin: 0;
}

.pro-footer-phone a,
.pro-footer-email a {
    color: #a1a6b4;
    text-decoration: none;
    transition: color 0.25s ease;
}

.pro-footer-phone a:hover,
.pro-footer-email a:hover {
    color: #f5634b;
}

.pro-sub-footer {
    background-color: #0b0e14;
    padding: 22px 20px;
    text-align: center;
}

.pro-sub-footer-text {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7b8192;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   Responsive Breakpoints (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 991px) {
    .contact-hero-section {
        min-height: auto;
        padding: 140px 20px 70px;
    }

    .contact-split-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info-wrap {
        max-width: 100%;
        text-align: center;
    }

    .contact-address-text {
        max-width: 100%;
    }

    .contact-green-divider {
        margin: 10px auto 12px;
    }

    .contact-form-card {
        margin: 0 auto;
        max-width: 500px;
    }

    .pro-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .contact-hero-section {
        padding: 130px 16px 60px;
        background-position: center center;
    }

    .contact-hero-overlay {
        background: linear-gradient(180deg, rgba(14, 18, 30, 0.88) 0%, rgba(14, 18, 30, 0.78) 100%);
    }

    .contact-hero-container {
        padding: 0;
    }

    .contact-main-heading {
        font-size: clamp(36px, 9vw, 50px);
        margin-bottom: 14px;
    }

    .contact-intro-text {
        font-size: 15.5px;
        margin-bottom: 24px;
    }

    .contact-subheading {
        font-size: 20px;
    }

    .contact-address-text {
        font-size: 14.5px;
    }

    .contact-form-card {
        padding: 30px 20px;
        border-radius: 12px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
        max-width: 100%;
    }

    /* iOS input auto-zoom fix */
    .contact-input,
    .contact-textarea {
        font-size: 16px;
        padding: 12px 14px;
    }

    .btn-send-contact {
        width: 100%;
        padding: 13px 20px;
        font-size: 16px;
    }

    .pro-pre-footer-cta {
        padding: 35px 20px;
    }

    .pro-cta-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .btn-start-project {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 14px 28px;
    }

    .pro-main-footer {
        padding: 55px 20px 45px;
    }

    .pro-footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .pro-footer-brand-logo {
        font-size: 38px;
    }

    .pro-footer-contact-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .contact-hero-section {
        padding: 115px 14px 50px;
    }

    .contact-main-heading {
        font-size: clamp(32px, 8.8vw, 42px);
    }

    .contact-form-card {
        padding: 24px 16px;
    }

    .pro-cta-heading {
        font-size: 22px;
    }

    .pro-sub-footer-text {
        font-size: 11px;
        letter-spacing: 0.08em;
    }
}
