/* ================================================
   CAREERS PAGE STYLES
   ================================================ */

/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.7;
}
*/
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================
   HERO SECTION
   ================================================ */

.careers-hero {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-bg-shapes .shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #0d4a6f, #106ba1);
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.hero-bg-shapes .shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-bg-shapes .shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #a855f7, #c084fc);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.15; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #22d3ee;
    border: 1px solid #0891b2;
    color: #f1f5f9;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero-badge i {
    font-size: 16px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 48px;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #15415c, #0d4a6f);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.stat-icon.volunteer {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.stat-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   FILTERS SECTION
   ================================================ */

.filters-section {
    padding: 32px 0;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.filters-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-group label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    min-width: 180px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    /*font-family: 'Cairo', sans-serif;*/
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-group select:hover {
    border-color: #cbd5e1;
}

    .filter-group select:focus {
        outline: none;
        border-color: #1a8a8a;
        box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
    }

.search-group {
    flex: 1;
    min-width: 280px;
    position: relative;
}

.search-group i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
}

.search-group input {
    width: 100%;
    padding: 14px 48px 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    /*font-family: 'Cairo', sans-serif;*/
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    transition: all 0.3s ease;
}

.search-group input::placeholder {
    color: #94a3b8;
}

.search-group input:hover {
    border-color: #cbd5e1;
}

    .search-group input:focus {
        outline: none;
        border-color: #1a8a8a;
        box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
    }

/* ================================================
   OPPORTUNITIES GRID
   ================================================ */

.opportunities-section {
    padding: 60px 0 100px;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.opportunity-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.6s ease backwards;
}

.opportunity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

    .opportunity-card.job:hover {
        box-shadow: 0 20px 40px rgb(24 118 146 / 34%);
    }

.opportunity-card.volunteer:hover {
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0;
}

.type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}

    .type-badge.job {
        background: linear-gradient(135deg, #1a8a8a, #15415c);
        color: #fff;
    }

.type-badge.volunteer {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.1));
    color: #059669;
}

.duration-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 8px;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-top: 1px solid #f1f5f9;
    background: #fafafa;
}

.publish-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
}

.btn-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    /*font-family: 'Cairo', sans-serif;*/
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-details:hover {
    background: linear-gradient(135deg, #1e3a5f, #0f172a);
    transform: translateX(-4px);
}

.btn-details i {
    transition: transform 0.3s ease;
}

.btn-details:hover i {
    transform: translateX(-4px);
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.empty-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.empty-icon i {
    font-size: 40px;
    color: #94a3b8;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 16px;
    color: #64748b;
}

/* ================================================
   MODAL STYLES
   ================================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #fff;
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f1f5f9;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

    .modal-close:hover {
        background: #fee2e2;
        color: #1a8a8a;
    }

.modal-content {
    padding: 32px;
}

.modal-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.job-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

    .job-type-badge.job {
        background: linear-gradient(135deg, #1a8a8a, #0d4a6f);
        color: #fff;
    }

.job-type-badge.volunteer {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #fff;
}

.modal-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.modal-meta {
    display: flex;
    gap: 24px;
}

.modal-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
}

    .modal-meta i {
        color: #0d4a6f;
    }

.modal-body {
    margin-bottom: 32px;
}

.detail-section {
    margin-bottom: 28px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

    .detail-section h4 i {
        color: #0d4a6f;
        font-size: 18px;
    }

.detail-section p {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
}

.detail-section ul {
    list-style: none;
    padding: 0;
}

.detail-section ul li {
    position: relative;
    padding-right: 28px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #475569;
}

.detail-section ul li::before {
    content: '\F26A';
/*    font-family: 'bootstrap-icons';*/
    position: absolute;
    right: 0;
    color: #10b981;
    font-size: 14px;
}

.modal-footer {
    display: flex;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.btn-apply {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #1a8a8a, #0d4a6f);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 14px;
    /*font-family: 'Cairo', sans-serif;*/
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow:0 10px 30px rgb(24 130 135 / 25%);
}

.btn-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 16px 24px;
    border-radius: 14px;
    /*font-family: 'Cairo', sans-serif;*/
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-share:hover {
    background: #e2e8f0;
}

/* ================================================
   PROFESSIONAL APPLICATION FORM
   ================================================ */

.professional-form-header {
    text-align: center;
    padding: 24px 20px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 16px;
    margin-bottom: 24px;
}

.professional-form-header .form-header-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2e7d32 0%, #1a8a8a 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.3);
}

.professional-form-header .form-header-icon i {
    font-size: 26px;
    color: #fff;
}

.professional-form-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1b5e20;
    margin: 0 0 8px;
}

.job-title-display {
    font-size: 14px;
    color: #1a8a8a;
    margin: 0;
    font-weight: 600;
}

/* Professional Form Container */
.professional-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Form Sections */
.form-section-pro {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-title-pro {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    text-align: right;
    margin-bottom: 4px;
}

/* Form Fields */
.form-field-pro {
    width: 100%;
}

.form-field-pro.half {
    flex: 1;
}

.form-grid-pro {
    display: flex;
    gap: 16px;
}

/* Input Styles */
.field-input-pro {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    /*font-family: 'Cairo', sans-serif;*/
    font-size: 14px;
    color: #333;
    background: #fafafa;
    transition: all 0.3s ease;
    text-align: right;
}

.field-input-pro:hover {
    border-color: #bdbdbd;
    background: #fff;
}

.field-input-pro:focus {
    outline: none;
    border-color: #1a8a8a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.12);
}

.field-input-pro::placeholder {
    color: #9e9e9e;
}

/* Phone Input */
.phone-wrapper-pro {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.country-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    white-space: nowrap;
}

.flag-icon {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.country-code-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.phone-input-pro {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    /*font-family: 'Cairo', sans-serif;*/
    font-size: 14px;
    color: #333;
    background: #fafafa;
    transition: all 0.3s ease;
    text-align: left;
    direction: ltr;
}

.phone-input-pro:focus {
    outline: none;
    border-color: #1a8a8a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.12);
}

.phone-validation-icon {
    position: absolute;
    left: 60px;
    color: #1a8a8a;
    font-size: 18px;
    display: none;
}

.phone-validation-icon.show {
    display: block;
}

/* Select Styles */
.select-wrapper-pro {
    position: relative;
}

.field-select-pro {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    /*font-family: 'Cairo', sans-serif;*/
    font-size: 14px;
    color: #333;
    background: #fafafa;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
    text-align: right;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239e9e9e' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
}

.field-select-pro:hover {
    border-color: #bdbdbd;
    background-color: #fff;
}

.field-select-pro:focus {
    outline: none;
    border-color: #1a8a8a;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.12);
}

/* Date Input */
.date-input-wrapper,
.exp-input-wrapper {
    position: relative;
}

.date-field-pro {
    cursor: pointer;
}

.date-field-pro::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.date-validation-icon,
.exp-validation-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #1a8a8a;
    font-size: 18px;
    display: none;
}

.date-validation-icon.show,
.exp-validation-icon.show {
    display: block;
}

/* Textarea */
.field-textarea-pro {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    /*font-family: 'Cairo', sans-serif;*/
    font-size: 14px;
    color: #333;
    background: #fafafa;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s ease;
    text-align: right;
}

.field-textarea-pro:hover {
    border-color: #bdbdbd;
    background: #fff;
}

.field-textarea-pro:focus {
    outline: none;
    border-color: #1a8a8a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.12);
}

.field-textarea-pro::placeholder {
    color: #9e9e9e;
}

/* File Upload */
.file-upload-pro {
    position: relative;
    border: 2px dashed #c8e6c9;
    border-radius: 12px;
    padding: 20px;
    background: #f1f8e9;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-pro:hover {
    border-color: #1a8a8a;
    background: #e8f5e9;
}

.file-upload-pro input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-content-pro {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-direction: row-reverse;
}

.file-icon-pro {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #1a8a8a 0%, #66bb6a 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.file-icon-pro i {
    font-size: 20px;
    color: #fff;
}

.file-text-pro {
    text-align: right;
    flex: 1;
}

.file-primary-text {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 2px;
}

.file-secondary-text {
    display: block;
    font-size: 12px;
    color: #81c784;
}

.file-name-pro {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #2e7d32;
    margin-top: 10px;
}

/* Captcha Section */
.captcha-section {
    margin-top: 8px;
}

.recaptcha-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    width: fit-content;
    margin: 0 auto;
}

.recaptcha-img {
    width: 44px;
    height: 44px;
}

.recaptcha-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkbox-label-pro {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.checkbox-label-pro input {
    display: none;
}

.custom-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid #c4c4c4;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkbox-label-pro input:checked + .custom-checkbox {
    background: #1a8a8a;
    border-color: #1a8a8a;
}

.checkbox-label-pro input:checked + .custom-checkbox::after {
    content: '✓';
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.recaptcha-brand {
    display: flex;
    flex-direction: column;
    font-size: 10px;
    color: #9e9e9e;
    text-align: right;
}

.recaptcha-brand span {
    font-weight: 600;
    color: #666;
}

/* Form Actions */
.form-actions-pro {
    margin-top: 12px;
}

.btn-submit-pro {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    /*font-family: 'Cairo', sans-serif;*/
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.btn-submit-pro:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0891b2 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.4);
}

.btn-submit-pro i {
    font-size: 18px;
}

.back-link-pro {
    text-align: center;
    margin-top: 12px;
}

.btn-back-pro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #666;
    border: none;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 20px;
}

.btn-back-pro:hover {
    color: #0891b2;
}

/* Legacy Form Styles (keep for compatibility) */
.form-header {
    margin-bottom: 32px;
    text-align: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #64748b;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

    .back-btn:hover {
        color: #0d4a6f;
    }

.form-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 16px;
    color: #1a8a8a;
    font-weight: 600;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

    .form-group label i {
        color: #0d4a6f;
    }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: #1a8a8a;
        box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
    }

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

    .file-upload label:hover {
        border-color: #0d4a6f;
        background: #fff7ed;
    }

.file-upload label i {
    font-size: 32px;
    color: #94a3b8;
}

.file-upload label span {
    font-size: 14px;
    color: #64748b;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #fff;
    border: none;
    padding: 18px 32px;
    border-radius: 14px;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

/* Professional Form Responsive */
@media (max-width: 576px) {
    .form-grid-pro {
        flex-direction: column;
    }
    
    .phone-wrapper-pro {
        flex-direction: column;
        align-items: stretch;
    }
    
    .country-selector {
        justify-content: center;
    }
    
    .phone-validation-icon {
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .recaptcha-box {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    
    .file-content-pro {
        flex-direction: column;
        text-align: center;
    }
    
    .file-text-pro {
        text-align: center;
    }
}

/* ================================================
   SUCCESS VIEW
   ================================================ */

#successView {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.success-content {
    text-align: center;
    padding: 40px;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-icon i {
    font-size: 48px;
    color: #fff;
}

.success-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.success-content > p {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 24px;
}

.success-details {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 32px;
}

.success-details span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #166534;
}

.btn-close-success {
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    color: #fff;
    border: none;
    padding: 14px 48px;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 1200px) {
    .opportunities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .opportunities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .careers-hero {
        padding: 60px 0 50px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .filters-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select {
        width: 100%;
    }
    
    .search-group {
        min-width: 100%;
    }
    
    .opportunities-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-container {
        max-height: 95vh;
        border-radius: 20px 20px 0 0;
        margin-top: auto;
    }
    
    .modal-content {
        padding: 24px;
    }
    
    .modal-title {
        font-size: 22px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}

/* ================================================
   SCROLLBAR STYLING
   ================================================ */

.modal-container::-webkit-scrollbar {
    width: 6px;
}

.modal-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.modal-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
