/*=============================================
  VikMac Ajiralink - Job Categories Page Styles
=============================================*/

/* Hero Section */
.job-categories-hero {
    background: linear-gradient(135deg, #201f51 0%, #2d2b6e 50%, #1a1945 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.job-categories-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(201,162,39,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 1;
}

.job-categories-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 60%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-50px, 30px) rotate(180deg); }
}

.job-categories-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.job-categories-hero .hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.job-categories-hero .hero-content h1 span {
    color: #c9a227;
}

.job-categories-hero .hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 3rem;
    font-weight: 700;
    color: #c9a227;
    font-family: 'Playfair Display', serif;
}

.hero-stat .label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.region-pills {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.region-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.region-pill.gulf {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
}

.region-pill.europe {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
}

.region-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
}

/* Destinations Section */
.destinations-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.region-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 40px -10px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -15px rgba(0,0,0,0.15);
}

.region-card.gulf {
    border-top: 4px solid #f39c12;
}

.region-card.europe {
    border-top: 4px solid #3498db;
}

.region-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.region-card.gulf h3 { color: #e67e22; }
.region-card.europe h3 { color: #2980b9; }

.country-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.country-flag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #f8f9ff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.country-flag:hover {
    background: #eef0ff;
    transform: translateX(5px);
}

.country-flag .flag {
    font-size: 2rem;
}

.country-flag .flag-img {
    width: 45px;
    height: 30px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.country-flag .name {
    font-weight: 600;
    color: #201f51;
}

/* Categories Section */
.categories-section {
    padding: 100px 0;
    background: #ffffff;
}

.categories-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.categories-section .section-header .badge,
.destinations-section .section-header .badge,
.high-demand-section .section-header .badge,
.accessible-section .section-header .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(201, 162, 39, 0.1) !important;
    color: #c9a227 !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.categories-section .section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #201f51;
}

.categories-section .section-header h2 span {
    color: #c9a227;
}

.categories-section .section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 15px auto 0;
}

/* Gold divider for job categories page */
.destinations-section .gold-divider,
.categories-section .gold-divider,
.high-demand-section .gold-divider,
.accessible-section .gold-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #c9a227 0%, #d4af37 100%);
    margin: 15px auto 20px;
}

.destinations-section .gold-divider.center,
.categories-section .gold-divider.center,
.high-demand-section .gold-divider.center,
.accessible-section .gold-divider.center {
    margin-left: auto;
    margin-right: auto;
}

/* Category Cards Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px -15px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    position: relative;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--category-color, #c9a227);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px -20px rgba(0,0,0,0.2);
}

.category-header {
    padding: 30px 25px 20px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.categories-section .category-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--category-color, #c9a227) 0%, var(--category-color, #c9a227) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.categories-section .category-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 100%);
}

.categories-section .category-icon i {
    font-size: 2rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.category-title h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #201f51;
    margin-bottom: 8px;
}

.category-title .regions {
    display: flex;
    gap: 8px;
}

.category-title .region-tag {
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-title .region-tag.gulf {
    background: rgba(243, 156, 18, 0.15);
    color: #d68910;
}

.category-title .region-tag.europe {
    background: rgba(52, 152, 219, 0.15);
    color: #2874a6;
}

.category-description {
    padding: 0 25px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.category-jobs {
    padding: 20px 25px 25px;
    background: #f8f9ff;
}

.category-jobs h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #201f51;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jobs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: #ffffff;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #555;
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.job-tag:hover {
    background: var(--category-color, #c9a227);
    color: #ffffff;
    border-color: var(--category-color, #c9a227);
    transform: translateY(-2px);
}

.job-tag i {
    font-size: 0.7rem;
    opacity: 0.7;
    color: #c9a227;
}

.category-footer {
    padding: 15px 25px;
    border-top: 1px dashed rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-count {
    font-size: 0.85rem;
    color: #888;
}

.job-count strong {
    color: var(--category-color, #c9a227);
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--category-color, #c9a227);
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background: #201f51;
    color: #ffffff;
    transform: translateX(5px);
}

/* High Demand Section */
.high-demand-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #201f51 0%, #2d2b6e 100%);
    position: relative;
    overflow: hidden;
}

.high-demand-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(201,162,39,0.1)"/></svg>') repeat;
    background-size: 30px 30px;
}

.high-demand-section .section-header h2,
.high-demand-section .section-header p {
    color: #ffffff;
}

.high-demand-section .section-header .badge {
    background: rgba(201, 162, 39, 0.2);
}

.demand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.demand-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.demand-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: #c9a227;
}

.demand-card i {
    font-size: 3rem;
    color: #c9a227;
    margin-bottom: 15px;
}

.demand-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.demand-card .status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(201, 162, 39, 0.2);
    color: #c9a227;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.demand-card .status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #c9a227;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Accessible Jobs Section */
.accessible-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.accessible-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.accessible-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px -15px rgba(0,0,0,0.1);
}

.accessible-header {
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.accessible-card.gulf .accessible-header {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.accessible-card.europe .accessible-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.accessible-header .flag {
    font-size: 3rem;
}

.accessible-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.accessible-header span {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.accessible-jobs {
    padding: 30px;
}

.accessible-jobs h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #201f51;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accessible-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.accessible-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f8f9ff;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #201f51;
    font-weight: 500;
    transition: all 0.3s ease;
}

.accessible-card.gulf .accessible-tag:hover {
    background: #f39c12;
    color: #ffffff;
}

.accessible-card.europe .accessible-tag:hover {
    background: #3498db;
    color: #ffffff;
}

.accessible-tag i {
    font-size: 1rem;
    opacity: 1;
    color: #c9a227;
}

/* CTA Section */
.cta-section-categories {
    padding: 80px 0;
    background: linear-gradient(135deg, #c9a227 0%, #d4af37 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section-categories::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.cta-section-categories h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #201f51;
    margin-bottom: 15px;
}

.cta-section-categories p {
    font-size: 1.1rem;
    color: rgba(32, 31, 81, 0.8);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: #201f51;
    color: #ffffff;
}

.cta-btn.primary:hover {
    background: #2d2b6e;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(32, 31, 81, 0.4);
}

.cta-btn.secondary {
    background: #ffffff;
    color: #201f51;
}

.cta-btn.secondary:hover {
    background: #f8f9ff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.2);
}

/* Highlight animation */
.category-card.highlighted {
    animation: highlight-pulse 0.5s ease-in-out 3;
}

@keyframes highlight-pulse {
    0%, 100% { box-shadow: 0 10px 40px -15px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 10px 40px -5px rgba(201, 162, 39, 0.5); }
}

/* Responsive */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .job-categories-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .hero-stat .number {
        font-size: 2.5rem;
    }
    
    .destinations-grid,
    .accessible-grid {
        grid-template-columns: 1fr;
    }
    
    .demand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .job-categories-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .categories-section .section-header h2 {
        font-size: 2rem;
    }
    
    .demand-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .region-pills {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

