/* Professional Jobs Pages CSS Framework */
/* Flying Borders Immigration Consultants */

/* ===== GLOBAL VARIABLES ===== */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2d5aa0;
    --accent-color: #ffd700;
    --accent-light: #ffed4e;
    --text-dark: #1a365d;
    --text-medium: #6c757d;
    --text-light: #adb5bd;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow-light: rgba(0,0,0,0.08);
    --shadow-medium: rgba(0,0,0,0.12);
    --shadow-heavy: rgba(0,0,0,0.15);
    --border-radius: 20px;
    --border-radius-small: 10px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===== RESET & BASE STYLES ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* ===== PROFESSIONAL BUTTONS ===== */
.btn-professional {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: var(--primary-color);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-professional:hover::before {
    left: 100%;
}

.btn-professional:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    color: var(--primary-color);
    text-decoration: none;
}

.btn-outline-professional {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline-professional:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    text-decoration: none;
}

/* ===== PROFESSIONAL CARDS ===== */
.card-professional {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px var(--shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
}

.card-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,215,0,0.05) 0%, rgba(26,54,93,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.card-professional:hover::before {
    opacity: 1;
}

.card-professional:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-heavy);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}

/* ===== JOB CATEGORY CARDS ===== */
.job-category-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px var(--shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 30px;
    text-align: center;
    height: 100%;
}

.job-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.category-header {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.category-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-light) 100%);
    border-radius: 2px;
}

.job-position {
    background: var(--bg-light);
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius-small);
    padding: 20px;
    margin-top: 20px;
}

.salary-badge {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 50px;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.05);
    opacity: 0.1;
}

.benefits-content {
    position: relative;
    z-index: 2;
}

.benefits-title {
    color: var(--accent-color);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.benefit-item {
    margin-bottom: 20px;
}

.benefit-item h4 {
    color: var(--accent-color) !important;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.benefit-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* Ensure all benefit item headings are yellow */
.benefits-section .benefit-item h4,
.benefits-section .benefit-item h5 {
    color: #ffd700 !important;
    font-weight: 600;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 50px;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.05);
    opacity: 0.1;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-title {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-size: 28px;
}

.contact-description {
    color: white;
    margin-bottom: 30px;
    font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* ===== BACK BUTTON ===== */
.back-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
    margin-bottom: 30px;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.4);
    color: white;
    text-decoration: none;
}

/* ===== SECTION TITLES ===== */
.section-title {
    color: var(--primary-color);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: -1px;
    line-height: 1.1;
    text-align: center;
}

.section-subtitle {
    color: var(--text-medium);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: center;
}

.separator-line {
    height: 4px;
    width: 100px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-light) 100%);
    margin: 30px auto;
    border-radius: 2px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 36px;
    }
    
    .benefits-section,
    .contact-section {
        padding: 30px 20px;
    }
    
    .benefits-title {
        font-size: 24px;
    }
    
    .contact-title {
        font-size: 24px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-professional,
    .btn-outline-professional {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .job-category-card {
        padding: 20px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.fade-in-up:nth-child(4) { animation-delay: 0.4s; }
.fade-in-up:nth-child(5) { animation-delay: 0.5s; }
.fade-in-up:nth-child(6) { animation-delay: 0.6s; }

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--accent-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
