:root {
    --crimson: #063560;
    --teal-blue: #063560;
    --lynch: #5d7b8c;
    --trout: #525766;
    --blossom: #daabb0;
    --cocoa-bean: #582229;
    --william: #36586b;
    --neptune: #72a2b4;
    --ship-cove: #6c94b8;
    --ming: #3c6484;
}

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

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* RTL Support */
body[dir="rtl"] {
    font-family: 'Tajawal', 'Roboto', Arial, sans-serif;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--teal-blue), var(--deep-blue));
    padding: 18px 0 14px 0;
    text-align: center;
}

/* Statistics Section Styles */
.stats-section {
    padding: 80px 0;
    background-color: #f5f5f5;
    margin: 80px 0;
    position: relative;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stats-section .row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-left: -10px;
    margin-right: -10px;
    padding-bottom: 15px;
}

.stats-section .row > div {
    flex: 0 0 auto;
    width: 25%;
    padding-left: 10px;
    padding-right: 10px;
}

.stats-section .row:last-child > div {
    width: 33.3333%;
}

.stat-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-card-business {
    min-height: 140px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-number.text-danger {
    color: #dc3545 !important;
}

.stat-number.text-primary {
    color: #063560 !important;
}

.stat-card-business .stat-number {
    font-size: 2rem;
}

.stat-title {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

/* For desktop - wrap the rows */
@media (min-width: 992px) {
    .stats-section .row {
        flex-wrap: wrap;
        overflow-x: visible;
    }
    
    .stats-section .row > div {
        flex: 1;
        width: auto;
    }
}

/* For mobile */
@media (max-width: 767px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-card-business .stat-number {
        font-size: 1.7rem;
    }
    
    .stat-title {
        font-size: 0.85rem;
    }
}

/* How to Track Section Styles */
.how-to-track {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.track-step-box {
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    text-align: center;
}

.track-step-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.track-step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #063560;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(6, 53, 96, 0.3);
}

.track-step-box h4 {
    color: #063560;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.track-step-box p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}
.page-banner h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 0;
    justify-content: center;
}
.breadcrumb-item,
.breadcrumb-item a {
    color: #fff;
    font-size: 1rem;
    opacity: 0.85;
}
.breadcrumb-item.active {
    opacity: 1;
    font-weight: 500;
}

/* Header Styles */
.top-bar {
    background-color: var(--teal-blue);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact a {
    color: #fff;
    margin-right: 15px;
    text-decoration: none;
}

body[dir="rtl"] .top-contact a {
    margin-right: 0;
    margin-left: 15px;
}

.top-contact a i {
    margin-right: 5px;
}

body[dir="rtl"] .top-contact a i {
    margin-right: 0;
    margin-left: 5px;
}

.top-links {
    display: flex;
    align-items: center;
}

.top-links a {
    color: #fff;
    margin-left: 15px;
    text-decoration: none;
}

body[dir="rtl"] .top-links a {
    margin-left: 0;
    margin-right: 15px;
}

.language-selector {
    position: relative;
    margin-left: 15px;
}

body[dir="rtl"] .language-selector {
    margin-left: 0;
    margin-right: 15px;
}

.language-selector select {
    background-color: transparent;
    color: #fff;
    border: none;
    cursor: pointer;
    padding-right: 15px;
    appearance: none;
    font-size: 14px;
}

.header-main {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
}

.logo img {
    height: 100%;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style-type: none;
}

.main-nav ul li {
    margin: 0 15px;
}

body[dir="rtl"] .main-nav ul li {
    margin: 0 15px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--teal-blue);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: var(--crimson);
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--crimson);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

body[dir="rtl"] .main-nav ul li a:after {
    left: auto;
    right: 0;
}

.main-nav ul li a:hover:after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    text-decoration: none !important;
    margin: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    border: 2px solid var(--deep-blue);
    color: var(--deep-blue);
    background-color: transparent;
}

/* Button on dark backgrounds */
.dark-bg .btn-outline,
section[style*="background: linear-gradient"] .btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

section[style*="background: linear-gradient"] .btn-outline:hover {
    background-color: #fff;
    color: var(--deep-blue);
}

body[dir="rtl"] .btn-outline {
    margin-right: 0;
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: var(--deep-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: var(--deep-blue);
    color: #fff;
    border: 2px solid var(--deep-blue);
}

/* Primary button on dark backgrounds */
.dark-bg .btn-primary,
section[style*="background: linear-gradient"] .btn-primary {
    background-color: #fff;
    color: var(--deep-blue);
    border-color: #fff;
}

.btn-primary:hover {
    background-color: var(--teal-blue);
    border-color: var(--teal-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--crimson);
    color: #fff;
    border: 2px solid var(--crimson);
}

.btn-secondary:hover {
    background-color: #be0022;
    border-color: #be0022;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Services Pages */
.services-hero {
    background-image: linear-gradient(rgba(6, 53, 96, 0.8), rgba(6, 53, 96, 0.8)), url('../img/services-hero.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
}

.services-hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.services-hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

/* Service Cards Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-card-header {
    padding: 25px;
    border-bottom: 1px solid #eee;
}

.service-icon {
    font-size: 40px;
    color: var(--teal-blue);
    margin-bottom: 15px;
}

.service-title {
    margin: 0 0 15px;
    color: var(--deep-blue);
    font-size: 1.5rem;
}

.service-card-content {
    padding: 0 25px 25px;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card-footer {
    padding: 15px 25px;
    background: #f9f9f9;
    text-align: center;
}

.service-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-feature-item {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.service-feature-icon {
    color: var(--crimson);
    margin-left: 8px;
    margin-top: 3px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(6, 53, 96, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon {
    font-size: 30px;
    color: var(--deep-blue);
}

.feature-title {
    color: var(--deep-blue);
    margin-bottom: 10px;
}

.feature-description {
    color: #666;
    margin: 0;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--teal-blue), var(--deep-blue));
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: #fff;
    margin-bottom: 20px;
    font-size: 2.2rem;
    font-weight: 700;
}

.cta-description {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(6, 53, 96, 0.8), rgba(6, 53, 96, 0.8)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.hero .btn {
    font-size: 16px;
    padding: 12px 30px;
}

/* Aramex-Style Hero Section */
.hero-aramex {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
    min-height: 600px;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 500px;
}

.hero-left {
    flex: 1;
    max-width: 50%;
}

.hero-right {
    flex: 1;
    max-width: 50%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--crimson);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.tracking-form-hero {
    margin-bottom: 2rem;
}

.input-group-hero {
    display: flex;
    gap: 0;
    max-width: 500px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.form-control-hero {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 1rem;
    outline: none;
    background: #fff;
}

.btn-track-hero {
    padding: 15px 30px;
    background: linear-gradient(135deg, #063560, #0a4a7a);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-track-hero:hover {
    background: linear-gradient(135deg, #0288d1, #01579b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 53, 96, 0.4);
    color: #fff;
}

.hero-features {
    margin-top: 2rem;
}

.hero-note {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.hero-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-link {
    color: var(--teal-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.hero-link:hover {
    color: var(--crimson);
    text-decoration: underline;
}

.separator {
    color: #ccc;
    margin: 0 5px;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* News Slideshow Styles */
.news-slideshow {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.slideshow-container {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.news-slide {
    display: none;
    position: relative;
}

.news-slide.active {
    display: block;
}

.news-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-slide:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--teal-blue);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--crimson);
    margin-bottom: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    color: var(--teal-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-link:hover {
    color: var(--crimson);
}

.news-link::after {
    content: "→";
    transition: transform 0.3s ease;
}

.news-link:hover::after {
    transform: translateX(3px);
}

/* Slideshow Navigation */
.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
}

.nav-btn {
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    opacity: 0;
}

.slideshow-container:hover .nav-btn {
    opacity: 1;
}

.nav-btn:hover {
    background: var(--crimson);
    transform: scale(1.1);
}

.nav-btn i {
    font-size: 0.9rem;
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background: #fff;
    transform: scale(1.2);
}

/* Auto-rotate animation */
.news-slide {
    animation: none;
}

.slideshow-container.auto-rotate .news-slide.active {
    animation: slideShow 5s infinite;
}

@keyframes slideShow {
    0%, 100% { opacity: 1; }
    90% { opacity: 1; }
    95% { opacity: 0; }
}

/* RTL Support for Slideshow */
[dir="rtl"] .slideshow-nav {
    flex-direction: row-reverse;
}

[dir="rtl"] .news-link::after {
    content: "←";
}

[dir="rtl"] .news-link:hover::after {
    transform: translateX(-3px);
}

/* Responsive Design for Slideshow */
@media (max-width: 768px) {
    .news-slideshow {
        max-width: 100%;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 1.1rem;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Careers Page Styles */
.careers-hero {
    background: linear-gradient(135deg, var(--teal-blue) 0%, var(--crimson) 100%);
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
}

.careers-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.careers-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.careers-intro {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
}

/* Job Search Section */
.job-search-section {
    background: #f8f9fa;
    padding: 40px 0;
    border-bottom: 1px solid #e9ecef;
}

.search-bar-container {
    max-width: 1000px;
    margin: 0 auto;
}

.job-search-form {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.search-inputs {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-input-group {
    flex: 1;
    position: relative;
}

.search-input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 2;
}

.search-input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input-group input:focus {
    outline: none;
    border-color: var(--teal-blue);
}

.search-btn {
    background: var(--crimson);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    background: #c41e3a;
}

/* Main Content */
.careers-main-content {
    padding: 60px 0;
}

.careers-content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Sidebar Filters */
.job-filters-sidebar {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.job-filters-sidebar h3 {
    color: var(--crimson);
    font-size: 1.2rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--teal-blue);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    color: var(--teal-blue);
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
    transition: color 0.3s ease;
}

.filter-options label:hover {
    color: var(--crimson);
}

.filter-options input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--teal-blue);
}

/* Job Results */
.job-results-main {
    background: #fff;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.results-info {
    font-size: 0.9rem;
    color: #666;
}

.results-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.results-controls label {
    font-size: 0.9rem;
    color: #666;
}

.results-controls select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

.view-controls {
    display: flex;
    gap: 5px;
}

.view-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active,
.view-btn:hover {
    background: var(--teal-blue);
    color: #fff;
    border-color: var(--teal-blue);
}

/* Job Listings */
.job-listings {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.job-listings.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.job-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.job-card:hover {
    border-color: var(--teal-blue);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.job-title {
    margin-bottom: 15px;
}

.job-title a {
    color: var(--crimson);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.job-title a:hover {
    color: var(--teal-blue);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-location i {
    color: var(--teal-blue);
}

/* Why Join Section */
.why-join-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--teal-blue), var(--crimson));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 2rem;
}

.benefit-card h3 {
    color: var(--crimson);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact HR Section */
.contact-hr-section {
    background: var(--teal-blue);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.contact-hr-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-hr-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hr-contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.2rem;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.8;
}

/* RTL Support for Careers */
[dir="rtl"] .search-input-group i {
    left: auto;
    right: 15px;
}

[dir="rtl"] .search-input-group input {
    padding: 15px 45px 15px 15px;
}

[dir="rtl"] .careers-content-wrapper {
    grid-template-columns: 1fr 280px;
}

[dir="rtl"] .job-meta {
    flex-direction: row-reverse;
}

/* Page Banner and Breadcrumb */
.page-banner {
    padding: 40px 0;
    color: #fff;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    margin-bottom: 30px;
}

.page-banner h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    background: transparent;
}

.breadcrumb-item {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '>';
    color: rgba(255, 255, 255, 0.6);
    padding: 0 10px;
}

.breadcrumb-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #ffffff;
    text-decoration: underline;
    opacity: 0.9;
}

.breadcrumb-item.active {
    color: #ffffff;
    font-weight: 600;
}

[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Responsive Design for Careers */
@media (max-width: 1024px) {
    .careers-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .job-filters-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .careers-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .careers-subtitle {
        font-size: 1.1rem;
    }
    
    .search-inputs {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .results-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hr-contact-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .job-listings.grid-view {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .job-card {
        padding: 20px;
    }
    
    .job-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section-header.text-center {
    margin-bottom: 24px;
    padding-top: 0;
}

.section-header.text-center h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--teal-blue);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--crimson);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--trout);
    max-width: 800px;
    margin: 0 auto;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: var(--teal-blue);
    margin-bottom: 10px;
    font-size: 22px;
}

.service-content p {
    color: var(--trout);
    margin-bottom: 15px;
}

/* Service Cards Section - Aramex Style */
.service-cards-section {
    padding: 60px 0;
    background: #fff;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card-main {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card-main.featured {
    background: var(--crimson);
    color: #fff;
    transform: scale(1.05);
}

.service-card-main.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--teal-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #fff;
}

.service-card-main.featured .service-icon {
    background: #fff;
    color: var(--crimson);
}

.service-card-main h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--crimson);
}

.service-card-main.featured h3 {
    color: #fff;
}

.service-card-main p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card-main.featured p {
    color: rgba(255,255,255,0.9);
}

.service-link {
    color: var(--teal-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--crimson);
    text-decoration: underline;
}

.featured-link {
    color: #fff !important;
}

.featured-link:hover {
    color: rgba(255,255,255,0.8) !important;
}

/* Footer */
.footer {
    background-color: var(--teal-blue);
    color: #fff;
    padding: 50px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--crimson);
    bottom: -10px;
    left: 0;
}

body[dir="rtl"] .footer-column h4:after {
    left: auto;
    right: 0;
}

.footer-column ul {
    list-style-type: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

/* Vision & Mission Styles */
.vision-content {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.vision-box, .values-box {
    flex: 1;
    min-width: 300px;
}

.vision-box h3, .values-box h3 {
    color: var(--teal-blue);
    margin-bottom: 20px;
    font-size: 24px;
}

.values-list {
    list-style-type: none;
}

.values-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.values-list li i {
    margin-right: 10px;
    font-size: 20px;
}

body[dir="rtl"] .values-list li i {
    margin-right: 0;
    margin-left: 10px;
}

/* Workflow Styles */
.workflow-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
    flex-wrap: wrap;
}

.workflow-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--crimson);
    z-index: 1;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 18%;
    min-width: 150px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--crimson);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-content {
    text-align: center;
}

/* Technology Styles */
.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tech-feature {
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.tech-feature:hover {
    transform: translateY(-10px);
}

.tech-feature i {
    font-size: 48px;
    color: var(--crimson);
    margin-bottom: 20px;
}

.tech-feature h3 {
    color: var(--teal-blue);
    margin-bottom: 10px;
}

/* Industries Styles */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.industry-item {
    text-align: center;
    padding: 20px;
}

.industry-icon {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.industry-icon i {
    font-size: 36px;
    color: var(--crimson);
}

.industry-item h3 {
    color: var(--teal-blue);
}

/* Call to Action Styles */
.cta {
    padding: 80px 0;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
}

/* Style for the section buttons */
.section-btn {
    text-align: center;
    margin-top: 30px;
}

/* Style for company info */
.company-info {
    max-width: 800px;
    margin: 0 auto;
}

.company-info h3 {
    color: var(--crimson);
    font-size: 24px;
    margin-bottom: 15px;
}

.company-info p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Responsive styles for mobile nav */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow-y: auto;
    padding: 50px 20px;
}

body[dir="rtl"] .mobile-nav {
    left: auto;
    right: -100%;
}

.mobile-nav.active {
    left: 0;
}

body[dir="rtl"] .mobile-nav.active {
    left: auto;
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: var(--teal-blue);
    cursor: pointer;
}

body[dir="rtl"] .mobile-nav-close {
    right: auto;
    left: 10px;
}

.mobile-nav ul {
    list-style-type: none;
}

.mobile-nav ul li {
    margin-bottom: 15px;
}

.mobile-nav ul li a {
    color: var(--teal-blue);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* Footer social icons */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: var(--crimson);
}

/* Footer contact list */
.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #ccc;
}

.footer-contact li i {
    margin-right: 10px;
    width: 20px;
}

body[dir="rtl"] .footer-contact li i {
    margin-right: 0;
    margin-left: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        font-size: 24px;
        color: var(--teal-blue);
        cursor: pointer;
    }
    
    .workflow-steps:before {
        display: none;
    }
    
    .workflow-step {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
    }
    
    .top-contact, .top-links {
        margin-bottom: 10px;
    }
    
    .header-main .container {
        flex-wrap: wrap;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    .nav-buttons {
        width: 100%;
        margin-top: 15px;
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 0 20px;
    }
    
    .nav-buttons .btn {
        flex: 0 0 auto;
        padding: 8px 16px;
        font-size: 14px;
        min-width: 80px;
        white-space: nowrap;
    }
    
    .nav-buttons .btn-outline {
        border: 2px solid var(--crimson);
        color: var(--crimson);
        background-color: #fff;
        margin-right: 0;
    }
    
    .nav-buttons .btn-primary {
        background-color: var(--crimson);
        color: #fff;
        border: 2px solid var(--crimson);
    }
    
    .nav-buttons .btn:hover {
        transform: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-content {
        flex-direction: column;
    }
    
    .tech-features {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* RTL Specific Additional Rules */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .section-header h2::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="rtl"] .main-nav ul {
    flex-direction: row-reverse;
}

/* Arabic RTL Support for Hero */
[dir="rtl"] .hero-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .input-group-hero {
    flex-direction: row-reverse;
}

/* Responsive Design for Hero */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .hero-left,
    .hero-right {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card-main.featured {
        transform: none;
    }
    
    .input-group-hero {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .input-group-hero {
        flex-direction: column;
    }
    
    .form-control-hero,
    .btn-track-hero {
        border-radius: 0;
    }
    
    .form-control-hero {
        border-radius: 8px 8px 0 0;
    }
    
    .btn-track-hero {
        border-radius: 0 0 8px 8px;
    }
}

/* Job Details Page Styles */
.job-details-hero {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--teal-blue) 100%);
    color: #fff;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.job-details-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.03);
    z-index: 1;
}

.job-details-header {
    max-width: 900px;
    margin: 0 auto;
}

/* Job Navigation */
.job-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.back-btn, .job-alert-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

.back-btn:hover, .job-alert-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transform: translateY(-2px);
}

.back-btn i {
    font-size: 0.9rem;
}

.job-alert-btn i {
    font-size: 0.9rem;
}

/* Job Header Content */
.job-header-content {
    text-align: center;
}

.job-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Job Meta Info */
.job-meta-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-divider.mx-auto {
    display: none;
}

.job-meta-row {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.job-meta-row:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.meta-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

/* Job Actions */
.job-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.apply-btn, .save-job-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    min-width: 160px;
    justify-content: center;
}

.apply-btn {
    background: #fff;
    color: var(--deep-blue);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.apply-btn:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    color: var(--deep-blue);
}

.save-job-btn {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.save-job-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
    color: #fff;
}

.apply-btn i, .save-job-btn i {
    font-size: 0.9rem;
}

/* RTL Support for Job Details Hero */
[dir="rtl"] .job-nav {
    flex-direction: row-reverse;
}

[dir="rtl"] .back-btn i {
    transform: scaleX(-1);
}

[dir="rtl"] .job-meta-row {
    text-align: center;
}

/* Responsive Design for Job Details Hero */
@media (max-width: 992px) {
    .job-details-hero {
        padding: 100px 0 60px;
    }
    
    .job-title {
        font-size: 2.5rem;
    }
    
    .job-meta-info {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .job-details-hero {
        padding: 80px 0 50px;
    }
    
    .job-nav {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .job-alerts {
        order: -1;
    }
    
    .job-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .job-meta-info {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .job-meta-row {
        padding: 12px 15px;
    }
    
    .meta-label {
        font-size: 0.8rem;
    }
    
    .meta-value {
        font-size: 1rem;
    }
    
    .job-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .apply-btn, .save-job-btn {
        width: 200px;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .job-details-hero {
        padding: 60px 0 40px;
    }
    
    .job-title {
        font-size: 1.6rem;
    }
    
    .job-meta-info {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .back-btn, .job-alert-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Job Details Content */
.job-details-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.job-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.job-main-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.job-section {
    margin-bottom: 40px;
}

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

.job-section .section-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.job-purpose {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.job-list {
    list-style: none;
    padding: 0;
}

.job-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.7;
    color: #555;
}

.job-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Job Sidebar */
.job-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.job-summary {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.job-summary h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.summary-item strong {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.summary-item span {
    color: #555;
    font-size: 1rem;
}

.apply-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.apply-btn-sidebar {
    width: 100%;
    justify-content: center;
    margin-bottom: 15px;
}

.apply-note {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.share-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.share-section h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.1);
    color: white;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.email { background: #dd4b39; }

/* Related Jobs Section */
.related-jobs {
    padding: 60px 0;
    background: white;
}

.related-jobs .section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.related-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.related-job-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.related-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.related-job-card h3 {
    margin-bottom: 15px;
}

.related-job-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.related-job-card h3 a:hover {
    color: var(--accent-color);
}

.related-job-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.related-job-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-job-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.view-job-btn {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
    display: inline-block;
}

.view-job-btn:hover {
    background: var(--secondary-color);
    color: white;
}

/* Responsive Design for Job Details */
@media (max-width: 768px) {
    .job-details-hero {
        padding: 40px 0 30px;
    }
    
    .job-header-content .job-title {
        font-size: 1.8rem;
    }
    
    .job-meta-info {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .job-actions {
        flex-direction: column;
    }
    
    .job-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .job-main-content {
        padding: 25px;
    }
    
    .job-sidebar {
        order: -1;
    }
    
    .related-jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .job-nav {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* RTL Support for Job Details */
[dir="rtl"] .job-list li {
    padding-right: 25px;
    padding-left: 0;
}

[dir="rtl"] .job-list li:before {
    right: 0;
    left: auto;
}

[dir="rtl"] .back-btn {
    flex-direction: row-reverse;
}

[dir="rtl"] .job-alert-btn {
    flex-direction: row-reverse;
}

[dir="rtl"] .apply-btn,
[dir="rtl"] .apply-btn-sidebar {
    flex-direction: row-reverse;
}

[dir="rtl"] .save-job-btn {
    flex-direction: row-reverse;
}

[dir="rtl"] .related-job-meta span {
    flex-direction: row-reverse;
}

/* ===== SERVICES PAGE STYLES ===== */

/* Services Hero Section */
.services-hero {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--teal-blue) 100%);
    color: #fff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.03);
    z-index: 1;
}

.services-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.services-hero-content {
    animation: slideInFromLeft 1s ease-out;
}

.services-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.services-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.services-breadcrumb {
    margin-bottom: 0;
}

.services-breadcrumb .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 12px 25px;
    backdrop-filter: blur(10px);
}

.services-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.services-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}

.services-breadcrumb .breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
}

.services-hero-image {
    animation: slideInFromRight 1s ease-out;
}

.services-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Services Overview Section */
.services-overview {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #fff 100%);
}

.section-header.text-center {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 20px;
}

.section-divider {
    display: none;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(6, 53, 96, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--deep-blue), var(--teal-blue));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-card-header {
    text-align: center;
    margin-bottom: 30px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--teal-blue), var(--deep-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2rem;
    color: #fff;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 0;
}

.service-card-content {
    margin-bottom: 30px;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #555;
    font-size: 0.95rem;
}

.service-features i {
    color: var(--teal-blue);
    margin-right: 12px;
    font-size: 1rem;
    flex-shrink: 0;
}

.service-card-footer {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 25px;
}

.service-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--teal-blue), var(--deep-blue));
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 53, 96, 0.3);
    color: #fff;
    text-decoration: none;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 0;
    background: var(--deep-blue);
    color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--teal-blue), #fff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--deep-blue);
}

.feature-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Services CTA Section */
.services-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal-blue), var(--deep-blue));
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(6, 53, 96, 0.3);
    color: #fff;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: var(--deep-blue);
    border: 2px solid var(--deep-blue);
}

.btn-outline:hover {
    background: var(--deep-blue);
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
}

/* Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RTL Support for Services */
[dir="rtl"] .services-hero .container {
    grid-template-columns: 1fr 1fr;
}

[dir="rtl"] .services-hero-content {
    animation: slideInFromRight 1s ease-out;
}

[dir="rtl"] .services-hero-image {
    animation: slideInFromLeft 1s ease-out;
}

[dir="rtl"] .service-features i {
    margin-right: 0;
    margin-left: 12px;
}

[dir="rtl"] .service-features li {
    flex-direction: row-reverse;
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .services-hero-title {
        font-size: 2.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 80px 0 60px;
    }
    
    .services-hero-title {
        font-size: 2.2rem;
    }
    
    .services-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services-overview {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .why-choose-us {
        padding: 80px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .services-hero-title {
        font-size: 1.8rem;
    }
    
    .services-hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
}

/* Global Button Fixes */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal-blue), var(--deep-blue));
    color: #fff !important;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(6, 53, 96, 0.3);
    color: #fff !important;
    text-decoration: none;
}

.btn-outline {
    background: linear-gradient(135deg, #063560, #0a4a7a);
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 10px rgba(6, 53, 96, 0.2);
}

.btn-outline:hover {
    background: linear-gradient(135deg, #0288d1, #01579b);
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(6, 53, 96, 0.3);
}

/* Header Button Fixes */
.header .btn-primary {
    background: linear-gradient(135deg, #063560, #0a4a7a);
    color: #fff !important;
    border: 2px solid transparent;
    padding: 10px 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.header .btn-primary:hover {
    background: linear-gradient(135deg, #0288d1, #01579b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(195, 200, 204, 0.4);
    color: #fff !important;
}

/* Apply Button Specific Fixes */
.apply-btn {
    background: #fff !important;
    color: var(--deep-blue) !important;
    border: 2px solid #fff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.apply-btn:hover {
    background: #f8f9fa !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    color: var(--deep-blue) !important;
}

.apply-btn-sidebar {
    background: linear-gradient(135deg, var(--teal-blue), var(--deep-blue)) !important;
    color: #933f3f !important;
    
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.apply-btn-sidebar:hover {
    background: linear-gradient(135deg, #0288d1, #01579b) !important;
    transform: translateY(-2px);
    color: #fff !important;
}

/* Save Job Button */
.save-job-btn {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.7) !important;
}

.save-job-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #fff !important;
    transform: translateY(-3px);
    color: #fff !important;
}

.save-job-btn.saved {
    background: linear-gradient(135deg, var(--teal-blue), var(--deep-blue)) !important;
    border-color: var(--teal-blue) !important;
    color: #fff !important;
}

/* Service Button */
.service-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--teal-blue), var(--deep-blue)) !important;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 53, 96, 0.3);
    color: #fff !important;
    text-decoration: none;
    background: linear-gradient(135deg, #0288d1, #01579b) !important;
}

/* Track Button in Hero */
.btn-track {
    background: linear-gradient(135deg, #063560, #0a4a7a) !important;
    color: #fff !important;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-track:hover {
    background: linear-gradient(135deg, #0288d1, #01579b) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 53, 96, 0.4);
    color: #fff !important;
}

/* Career Filter Buttons */
.filter-btn {
    background: transparent !important;
    color: var(--deep-blue) !important;
    border: 2px solid #e0e0e0;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--deep-blue) !important;
    color: #fff !important;
    border-color: var(--deep-blue);
}

/* Form Submit Buttons */
.contact-form .btn,
.track-form .btn {
    background: linear-gradient(135deg, var(--teal-blue), var(--deep-blue)) !important;
    color: #fff !important;
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form .btn:hover,
.track-form .btn:hover {
    background: linear-gradient(135deg, #0288d1, #01579b) !important;
    transform: translateY(-2px);
    color: #fff !important;
}
