/* =========================================
   APPLY NOW PAGE REDESIGN - PREMIUM THEME
   ========================================= */

/* Main Container - Matches Home Hero Standard */
.apply-now-section {
    position: relative;
    padding: 80px 0;
    background-color: #fffdf5;
    /* Warm premium base */
    background-image: radial-gradient(#B8860B 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    /* Subtle dots */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Decorations (Abstract Shapes) */
.apply-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(184, 134, 11, 0.1);
}

.shape-2 {
    bottom: -10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: rgba(246, 146, 30, 0.08);
    /* Secondary accent */
}

/* Layout Grid */
.apply-layout {
    display: flex;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    /* Soft, deep shadow */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Left Side: AI Career Content */
.apply-content-side {
    flex: 1;
    padding: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #fffcf5 100%);
    border-right: 1px solid rgba(184, 134, 11, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.apply-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(184, 134, 11, 0.1);
    border-radius: 50px;
    color: #B8860B;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 24px;
    width: fit-content;
}

.apply-title {
    font-family: 'Cardo', serif;
    /* Premium serif font */
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight-gold {
    color: #B8860B;
    /* Primary Gold */
    position: relative;
}

.apply-description {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* AI Features List */
.ai-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ai-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ai-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B8860B;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
}

.ai-item-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.ai-item-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Right Side: Form */
.apply-form-side {
    flex: 0.8;
    padding: 60px;
    background: #ffffff;
}

.form-header {
    margin-bottom: 32px;
}

.form-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 14px;
    color: #666;
}

/* Form Elements - Modern & Clean */
.form-group-modern {
    margin-bottom: 24px;
}

.form-label-modern {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4a4a4a;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control-modern,
.country-code-select {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fafafa;
    color: #333;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.form-control-modern:focus,
.country-code-select:focus {
    border-color: #B8860B;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.1);
}

.phone-group-modern {
    display: flex;
    gap: 12px;
}

.country-code-select {
    width: 110px;
    flex-shrink: 0;
}

/* Submit Button - Premium Gradient (Matching Home Page AI Section) */
.btn-submit-premium {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(90deg, #B8860B 0%, #1a1a1a 100%);
    /* Gold to Black gradient like AI section */
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 10px;
    box-shadow: 0 10px 25px rgba(184, 134, 11, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-submit-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #B8860B;
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-submit-premium:hover::before {
    width: 100%;
}

.btn-submit-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(184, 134, 11, 0.35);
}

.btn-submit-premium i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-submit-premium:hover i {
    transform: translate(4px, -4px);
}

/* UI Button for AI Section */
.btn-ai-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid #B8860B;
    border-radius: 50px;
    color: #B8860B;
    font-weight: 600;
    font-size: 15px;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 24px;
}

.btn-ai-explore:hover {
    background: #B8860B;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.2);
}

.btn-ai-explore i {
    transition: transform 0.3s ease;
}

.btn-ai-explore:hover i {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .apply-layout {
        flex-direction: column-reverse;
        /* Form First, AI Content Second */
        margin: 20px;
        width: auto;
    }

    .apply-content-side {
        padding: 40px 30px;
        border-right: none;
        border-top: 1px solid #f0f0f0;
        /* Border top for separation when stacked */
    }

    .apply-form-side {
        padding: 40px 30px;
    }

    .apply-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {

    .apply-now-section {
        padding: 40px 0;
        /* Reduce vertical padding */
    }

    .apply-layout {
        margin: 10px;
        /* Reduce side margins */
        border-radius: 16px;
    }

    .apply-content-side,
    .apply-form-side {
        padding: 30px 20px;
    }

    .apply-title {
        font-size: 26px;
    }

    .phone-group-modern {
        flex-direction: column;
        gap: 10px;
    }

    .country-code-select {
        width: 100%;
    }

    /* Full width buttons on mobile */
    .btn-submit-premium,
    .btn-ai-explore {
        width: 100%;
        justify-content: center;
    }

    /* Prevent iOS Zoom on focus */
    .form-control-modern,
    .country-code-select {
        font-size: 16px;
    }
}

/* Extra Small Screens (iPhone SE, Galaxy Fold) */
@media (max-width: 380px) {

    .apply-content-side,
    .apply-form-side {
        padding: 24px 16px;
        /* Maximize space */
    }

    .apply-title {
        font-size: 24px;
    }

    .form-header h3 {
        font-size: 22px;
    }
}