/* ==========================================================================
   Careers Page - Dedicated Stylesheet (Zero Conflicts & Fully Responsive)
   ========================================================================== */

/* ==========================================================================
   1. Hero Banner Section (Full 100vh Screen Height)
   ========================================================================== */
.career-hero-section {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/Careers/Carrer banner.png') center center / cover no-repeat;
    color: #ffffff;
    padding: 120px 20px 60px;
    overflow: hidden;
}

.career-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 28, 0.18);
    z-index: 1;
}

.career-hero-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.career-hero-box {
    max-width: 650px;
}

.career-hero-title {
    font-size: clamp(38px, 5.2vw, 68px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    animation: careerFadeInUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.career-rotating-word {
    display: inline-block;
    color: #ffffff;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

@keyframes careerFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   2. Intro Callout Section
   ========================================================================== */
.career-intro-section {
    padding: 95px 20px 85px;
    background-color: #ffffff;
    text-align: center;
}

.career-intro-container {
    max-width: 860px;
    margin: 0 auto;
}

.career-intro-title {
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 800;
    color: #181b31;
    letter-spacing: -0.01em;
    margin: 0 0 16px;
    line-height: 1.2;
}

.career-intro-subtitle {
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.7;
    color: #7b8096;
    font-weight: 400;
    margin: 0;
}

/* ==========================================================================
   3. "COME WORK WITH US" & Application Form Section
   ========================================================================== */
.career-form-section {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: url('../images/Careers/Form.png') center center / cover no-repeat;
    padding: 90px 20px;
    overflow: hidden;
}

.career-form-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 18, 30, 0.72) 0%, rgba(14, 18, 30, 0.5) 45%, rgba(14, 18, 30, 0.2) 100%);
    z-index: 1;
}

.career-form-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.career-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

/* Left Content */
.career-info-content {
    max-width: 540px;
    color: #ffffff;
}

.career-main-heading {
    font-size: clamp(42px, 5.5vw, 68px);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.08;
    margin: 0 0 28px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.career-main-desc {
    font-size: clamp(15px, 1.7vw, 17px);
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-align: justify;
}

.career-mail-divider {
    width: 140px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.55);
    margin: 32px 0 24px;
}

.career-mail-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.career-mail-label {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.career-mail-address {
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color 0.25s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.career-mail-address:hover {
    color: #82bd59;
}

/* Right Application Form Card */
.career-form-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 40px 36px 36px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
    max-width: 460px;
    margin-left: auto;
    width: 100%;
}

.career-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #2b303d;
    text-align: center;
    margin: 0 0 26px;
    letter-spacing: -0.01em;
}

.career-form-group {
    margin-bottom: 18px;
}

.career-form-label {
    display: block;
    font-size: 13.5px;
    color: #555c6d;
    margin-bottom: 7px;
    font-weight: 500;
}

.career-input {
    width: 100%;
    background-color: #aefaf4; /* Light aqua/cyan tint matching screenshot */
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 14.5px;
    color: #181b31;
    outline: none;
    transition: all 0.25s ease;
    font-family: inherit;
}

.career-input:focus {
    background-color: #c4fdf8;
    border-color: #486937;
    box-shadow: 0 0 0 3px rgba(72, 105, 55, 0.15);
}

.career-input.has-error {
    border-color: #e53e3e !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 0 2.5px rgba(229, 62, 62, 0.2) !important;
}

.career-field-error {
    font-size: 12px;
    font-weight: 600;
    color: #e53e3e;
    display: none;
    margin-top: 5px;
    text-align: right;
    animation: careerErrorFadeIn 0.25s ease;
}

.career-field-error.show {
    display: block;
}

@keyframes careerErrorFadeIn {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.career-file-wrap {
    margin-top: 4px;
}

.career-file-input {
    font-size: 13px;
    color: #444a59;
}

.career-select {
    width: 100%;
    background-color: #aefaf4;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 14.5px;
    color: #181b31;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
}

.career-select:focus {
    background-color: #c4fdf8;
    border-color: #486937;
    box-shadow: 0 0 0 3px rgba(72, 105, 55, 0.15);
}

.btn-send-resume {
    width: 100%;
    padding: 13px 20px;
    background-color: #486937; /* Forest green matching screenshot */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 14px rgba(72, 105, 55, 0.3);
}

.btn-send-resume:hover {
    background-color: #38532a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(72, 105, 55, 0.45);
}

.career-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;
}

/* ==========================================================================
   4. 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);
}

/* ==========================================================================
   5. 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) {
    .career-hero-section {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        display: flex;
        align-items: center;
        padding: 140px 20px 80px;
        background-position: center center;
        background-size: cover;
    }

    .career-intro-section {
        padding: 70px 20px 60px;
    }

    .career-split-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .career-info-content {
        max-width: 100%;
        text-align: center;
    }

    .career-form-card {
        margin: 0 auto;
        max-width: 540px;
    }

    .pro-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .career-hero-section {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        display: flex;
        align-items: center;
        padding: 120px 20px 60px;
        background-position: center center;
        background-size: cover;
    }

    .career-hero-container {
        padding: 0 10px;
    }

    .career-hero-title {
        font-size: clamp(34px, 9vw, 48px);
    }

    .career-intro-section {
        padding: 55px 16px 45px;
    }

    .career-intro-title {
        margin-bottom: 14px;
    }

    .career-form-section {
        padding: 60px 16px;
        background-position: center center;
    }

    .career-form-overlay {
        background: linear-gradient(180deg, rgba(14, 18, 30, 0.85) 0%, rgba(14, 18, 30, 0.75) 100%);
    }

    .career-form-container {
        padding: 0;
    }

    .career-main-heading {
        font-size: clamp(34px, 8.5vw, 46px);
        margin-bottom: 18px;
    }

    .career-main-desc {
        font-size: 15px;
        line-height: 1.75;
    }

    .career-form-card {
        padding: 32px 22px;
        border-radius: 12px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
        max-width: 100%;
    }

    /* Prevent iOS auto-zoom with 16px font-size on mobile inputs */
    .career-input,
    .career-select {
        font-size: 16px;
        padding: 13px 14px;
    }

    .btn-send-resume {
        padding: 14px 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) {
    .career-hero-section {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        display: flex;
        align-items: center;
        padding: 110px 16px 50px;
        background-position: center center;
        background-size: cover;
    }

    .career-hero-title {
        font-size: clamp(30px, 8.8vw, 40px);
    }

    .career-intro-section {
        padding: 45px 14px 35px;
    }

    .career-intro-title {
        font-size: 24px;
    }

    .career-intro-subtitle {
        font-size: 14.5px;
    }

    .career-card-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .career-form-card {
        padding: 26px 16px;
    }

    .pro-cta-heading {
        font-size: 22px;
    }

    .pro-sub-footer-text {
        font-size: 11px;
        letter-spacing: 0.08em;
    }
}
