/* CSS Variables */
:root {
    --primary-color: #ffffff;
    --secondary-color: #c38f33;
    --accent-color: #a00000;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-color);
    overflow-x: hidden;
    transition: opacity 0.2s ease-in-out;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    margin-left: 2rem;
}

/* Admin Login Button */
.admin-login {
    margin-left: 1rem;
}

.admin-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), #d32f2f);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(160, 0, 0, 0.2);
}

.admin-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(160, 0, 0, 0.3);
    color: white;
}

.admin-login-btn i {
    font-size: 1.1rem;
}

.lang-btn {
    background: none;
    border: none;
    padding: 5px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--accent-color);
    color: white;
}

.lang-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.99));
    backdrop-filter: blur(15px);
    z-index: 999;
    box-shadow: 0 8px 40px rgba(160, 0, 0, 0.15);
    border-bottom: 3px solid var(--accent-color);
}

/* Ensure all header elements are visible */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    min-height: 60px;
    flex-shrink: 0;
}

.nav-logo .logo {
    height: 60px;
    width: auto;
    max-width: 200px;
    min-width: 120px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(160, 0, 0, 0.2));
    transition: none !important;
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
}

.nav-logo .logo:hover {
    filter: drop-shadow(0 4px 12px rgba(160, 0, 0, 0.4));
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    flex-shrink: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.nav-item {
    position: relative;
    flex-shrink: 0;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    background: var(--accent-color);
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
    box-shadow: 0 2px 8px rgba(160,0,0,0.08);
    margin: 0 0.1rem;
    white-space: nowrap;
    display: inline-block;
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(160,0,0,0.2);
}

.nav-link::after {
    display: none;
}

.nav-link:hover::after,
.nav-link.active::after {
    display: none;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 320px !important;
    box-shadow: var(--shadow);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
    padding: 1rem 0;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 2rem !important;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    gap: 1.2em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 8px;
    margin: 0.2rem 0;
    display: flex;
    align-items: center;
    background: transparent;
}

.dropdown-menu li a:hover {
    background: var(--accent-color);
    color: white;
    transform: translateX(5px);
}

.dropdown-menu li a i {
    color: #a00000 !important;
    font-size: 1.2em;
    margin-right: 1em;
    min-width: 1.5em;
    text-align: center;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    flex-shrink: 0;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure video plays on all devices */
    -webkit-playsinline: true;
    playsinline: true;
    /* Hide controls on all devices */
    -webkit-media-controls: none;
    -webkit-media-controls-panel: none;
    -webkit-media-controls-play-button: none;
    -webkit-media-controls-start-playback-button: none;
    -webkit-media-controls-timeline: none;
    -webkit-media-controls-current-time-display: none;
    -webkit-media-controls-time-remaining-display: none;
    -webkit-media-controls-mute-button: none;
    -webkit-media-controls-volume-slider: none;
    -webkit-media-controls-fullscreen-button: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Video Sound Toggle Button */
.video-sound-toggle {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(160, 0, 0, 0.95);
    border: 3px solid white;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    animation: pulse 2s infinite;
    opacity: 1;
    visibility: visible;
}

.video-sound-toggle:hover {
    background: rgba(160, 0, 0, 1);
    border-color: var(--secondary-color);
    transform: scale(1.2);
    box-shadow: 0 10px 30px rgba(160, 0, 0, 0.6);
    opacity: 1;
}

.video-sound-toggle i {
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: bold;
}

.video-sound-toggle:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Hide sound toggle on mobile */
.desktop-only {
    display: flex;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(160, 0, 0, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
}

.hero-content {
    color: white;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.6s both;
    box-shadow: 0 4px 15px rgba(160, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-color), var(--secondary-color), var(--accent-color));
    background-size: 300% 300%;
    animation: fadeInUp 1s ease 0.6s both, shimmer 3s ease-in-out infinite;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(160, 0, 0, 0.4);
    filter: brightness(1.1);
}

/* Section Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section - New Layout */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.about-content {
    text-align: center;
    margin-bottom: 3rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.about-text h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-images {
    text-align: center;
    margin-top: 2rem;
}

.about-img {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.about-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services-section {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(160, 0, 0, 0.3);
    transition: var(--transition);
    animation: bounce 2s ease-in-out infinite;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(160, 0, 0, 0.4);
    animation: rotate 2s linear infinite;
}

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

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 1px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Enhanced Partners Section */
.partners-section {
    padding: 4rem 0;
    background: #f8f9fa;
    overflow: hidden;
}

.partners-slider {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    width: 100%;
    background: white;
    border-radius: 15px;
    padding: 20px 0;
    box-shadow: var(--shadow);
}

.partners-track {
    display: flex;
    width: max-content;
    animation: slideRight 30s linear infinite;
    will-change: transform;
    gap: 3rem;
}

.partners-track img {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 10px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.partners-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(195, 143, 51, 0.3);
}

@keyframes slideRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Enhanced Certificates Section */
.certificates-section {
    padding: 4rem 0;
    overflow: hidden;
}

.certificates-slider {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    width: 100%;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px 0;
    box-shadow: var(--shadow);
}

.certificates-track {
    display: flex;
    width: max-content;
    animation: slideLeft 25s linear infinite;
    will-change: transform;
    gap: 2rem;
}

.certificates-track img {
    height: 120px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
    padding: 10px;
    border: 2px solid transparent;
}

.certificates-track img:hover {
    transform: scale(1.05);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(195, 143, 51, 0.3);
}

@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Careers Section - New Layout */
.careers-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.careers-content {
    text-align: center;
    margin-bottom: 3rem;
}

.careers-text {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.careers-text h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.careers-text ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.careers-text li {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.careers-text li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.careers-images {
    text-align: center;
    margin-top: 2rem;
}

.career-img {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.career-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* CSR Section - New Layout */
.csr-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.csr-content {
    text-align: center;
    margin-bottom: 3rem;
}

.csr-text {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.csr-text h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.csr-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.csr-image {
    text-align: center;
    margin-top: 2rem;
}

.csr-img {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.csr-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* Supplier Section - New Layout */
.supplier-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.supplier-content {
    text-align: center;
    margin-bottom: 3rem;
}

.supplier-text {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.supplier-text h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.supplier-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.supplier-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

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

.benefit-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.benefit-item span {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
}

.supplier-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.supplier-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.supplier-image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.supplier-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.supplier-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(160, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.supplier-image-container:hover .supplier-overlay {
    opacity: 1;
}

.supplier-overlay i {
    color: white;
    font-size: 2rem;
    transform: scale(0);
    transition: all 0.4s ease;
}

.supplier-image-container:hover .supplier-overlay i {
    transform: scale(1);
}

/* Floating Visitor Counter */
.floating-visitor-counter {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-counter-circle {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8b0000, #a00000);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
    border: 3px solid #fff;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-counter-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.floating-counter-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(139, 0, 0, 0.6);
}

/* Add pulse animation for attention */
@keyframes pulse-attention {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(139, 0, 0, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
    }
}

.floating-visitor-counter.new-visitor {
    animation: pulse-attention 2s ease-in-out;
}

.floating-counter-number {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    z-index: 1;
    position: relative;
    margin-bottom: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.floating-counter-label {
    font-size: 10px;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
    z-index: 1;
    position: relative;
    text-align: center;
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Add glow effect on hover */
.floating-counter-circle:hover .floating-counter-label {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Add floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.floating-visitor-counter {
    animation: float 3s ease-in-out infinite;
}

/* RTL Support for floating counter */
[dir="rtl"] .floating-visitor-counter {
    right: auto;
    left: 30px;
}

@media (max-width: 768px) {
    .floating-visitor-counter {
        bottom: 20px;
        right: 20px;
        width: 70px;
        height: 70px;
    }
    
    .floating-counter-number {
        font-size: 14px;
    }
    
    .floating-counter-label {
        font-size: 9px;
    }
    
    [dir="rtl"] .floating-visitor-counter {
        right: auto;
        left: 20px;
    }
    
    /* Footer responsive */
    .footer {
        padding: 0.5rem 0;
    }
    
    .footer-content {
        display: none;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
    }
    
    /* Improved Arabic typography for mobile */
    [dir="rtl"] .hero-title {
        font-family: 'Cairo', sans-serif;
        font-weight: 700;
        font-size: 2.2rem;
        line-height: 1.3;
        letter-spacing: 0;
    }
    
    [dir="rtl"] .hero-subtitle {
        font-family: 'Cairo', sans-serif;
        font-weight: 500;
        font-size: 1.1rem;
        line-height: 1.4;
        letter-spacing: 0;
    }
    
    [dir="rtl"] .section-title {
        font-family: 'Cairo', sans-serif;
        font-weight: 700;
        font-size: 1.8rem;
        line-height: 1.3;
        letter-spacing: 0;
    }
    
    [dir="rtl"] .section-subtitle {
        font-family: 'Cairo', sans-serif;
        font-weight: 500;
        font-size: 1rem;
        line-height: 1.5;
        letter-spacing: 0;
    }
    
    [dir="rtl"] .nav-link {
        font-family: 'Cairo', sans-serif;
        font-weight: 600;
        font-size: 1rem;
        line-height: 1.3;
        letter-spacing: 0;
    }
    
    [dir="rtl"] .service-card h3 {
        font-family: 'Cairo', sans-serif;
        font-weight: 700;
        font-size: 1.3rem;
        line-height: 1.3;
        letter-spacing: 0;
    }
    
    [dir="rtl"] .service-card p {
        font-family: 'Cairo', sans-serif;
        font-weight: 400;
        font-size: 0.95rem;
        line-height: 1.6;
        letter-spacing: 0;
    }
    
    [dir="rtl"] .about-text h3 {
        font-family: 'Cairo', sans-serif;
        font-weight: 700;
        font-size: 1.4rem;
        line-height: 1.3;
        letter-spacing: 0;
    }
    
    [dir="rtl"] .about-text p {
        font-family: 'Cairo', sans-serif;
        font-weight: 400;
        font-size: 1rem;
        line-height: 1.7;
        letter-spacing: 0;
    }
    
    [dir="rtl"] .cta-button {
        font-family: 'Cairo', sans-serif;
        font-weight: 600;
        font-size: 1rem;
        line-height: 1.3;
        letter-spacing: 0;
    }
    
    [dir="rtl"] .cta-button-secondary {
        font-family: 'Cairo', sans-serif;
        font-weight: 600;
        font-size: 1rem;
        line-height: 1.3;
        letter-spacing: 0;
    }
    
    /* Improved image sizes for mobile */
    .about-img {
        width: 100%;
        max-width: 400px;
        height: 300px;
        object-fit: cover;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .career-img {
        width: 100%;
        max-width: 400px;
        height: 300px;
        object-fit: cover;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .supplier-img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .csr-img {
        width: 100%;
        max-width: 400px;
        height: 300px;
        object-fit: cover;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
}

/* Footer */
.footer {
    background: #d32f2f !important;
    color: white !important;
    padding: 0.5rem 0 !important;
    font-size: 0.8rem !important;
    border-top: 1px solid #fff !important;
    position: relative !important;
    min-height: auto !important;
    display: block !important;
}

.footer::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    display: none !important;
}

.footer-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-section h4 {
    color: #fff !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
    display: block !important;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
    display: block !important;
}

.footer-logo {
    width: 120px !important;
    height: auto !important;
    margin-bottom: 1rem !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    display: block !important;
}

.footer-section ul {
    list-style: none !important;
    padding: 0 !important;
    display: block !important;
}

.footer-section ul li {
    margin-bottom: 0.5rem !important;
    display: block !important;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.footer-section ul li a:hover {
    color: #fff !important;
    transform: translateX(5px) !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5) !important;
}

.social-links {
    display: flex !important;
    gap: 1rem !important;
    margin-top: 1rem !important;
}

.social-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

.footer-bottom {
    text-align: center !important;
    font-size: 0.8rem !important;
    padding: 0.5rem 0 !important;
    color: white !important;
    background: transparent !important;
    border-top: none !important;
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
}

/* Force footer visibility */
footer.footer {
    background: #d32f2f !important;
    color: white !important;
    padding: 0.5rem 0 !important;
    font-size: 0.8rem !important;
    border-top: 1px solid #fff !important;
    position: relative !important;
    min-height: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1000 !important;
}

footer.footer * {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Page Header Styles for Other Pages */
.page-header {
    background: linear-gradient(135deg, #8b0000, #a00000, #a00000);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Content Sections for Other Pages */
.content-section {
    padding: 4rem 0;
}

.content-section:nth-child(even) {
    background: #f8f9fa;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-text h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.content-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.content-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.content-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(195, 143, 51, 0.3);
}

/* Service Areas Grid */
.services-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-area-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-area-item:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(195, 143, 51, 0.3);
}

.service-area-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.service-area-item span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Subsidiaries Grid */
.subsidiaries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.subsidiary-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.subsidiary-item:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(195, 143, 51, 0.3);
}

.subsidiary-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: block;
}

.subsidiary-item h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 600;
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(160, 0, 0, 0.1);
}

/* Enhanced form styling for price request */
.form-group input[type="number"] {
    -moz-appearance: textfield;
}

.form-group input[type="number"]::-webkit-outer-spin-button,
.form-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Form validation styling */
.form-group input:invalid,
.form-group textarea:invalid,
.form-group select:invalid {
    border-color: #dc3545;
}

.form-group input:valid,
.form-group textarea:valid,
.form-group select:valid {
    border-color: #28a745;
}

.submit-btn {
    background: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(195, 143, 51, 0.3);
}

/* Animations */
@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-40px) scale(0.9); }
    60% { opacity: 1; transform: translateY(10px) scale(1.08); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px) scale(0.9); }
    60% { opacity: 1; transform: translateY(-10px) scale(1.08); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes slideInFromLeft {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Animation Classes */
.animated {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animated.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

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

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

[dir="rtl"] .dropdown-menu {
    right: 0;
    left: auto;
}

[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 2rem;
}

[dir="rtl"] .about-content,
[dir="rtl"] .careers-content,
[dir="rtl"] .csr-content,
[dir="rtl"] .supplier-content,
[dir="rtl"] .content-grid {
    grid-template-columns: 1fr 1fr;
}

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

[dir="rtl"] .careers-text li {
    padding-right: 2rem;
    padding-left: 0;
}

[dir="rtl"] .careers-text li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Responsive Design */
/* Old mobile CSS removed - replaced with enhanced version below */

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    /* Header and Navigation Improvements */
    .nav-container {
        padding: 0 1rem;
        flex-wrap: wrap;
        min-height: 70px;
        gap: 0.5rem;
    }
    
    .nav-logo {
        order: 1;
        flex: 0 0 auto;
        min-height: 50px;
    }
    
    .nav-logo .logo {
        height: 45px;
        max-width: 140px;
        min-width: 90px;
    }
    
    .nav-menu {
        order: 3;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 1.5rem 0;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 998;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0.3rem;
        width: 100%;
        padding: 0 1.5rem;
        flex-wrap: nowrap;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0.2rem 0;
        padding: 0.8rem 0.5rem;
        font-size: 1rem;
        white-space: normal;
        border-radius: 25px;
        font-weight: 500;
    }
    
    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        padding: 0 0 0 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-menu li a {
        background: var(--accent-color);
        color: white;
        margin: 0.15rem 0;
        border-radius: 20px;
        padding: 0.6rem 1rem !important;
        font-size: 0.9rem;
    }
    
    .dropdown-menu li a:hover {
        background: var(--secondary-color);
        transform: none;
    }
    
    .language-switcher {
        order: 2;
        margin-left: auto;
        margin-right: 0.5rem;
        padding: 5px;
    }
    
    .language-switcher .lang-btn {
        padding: 3px 6px;
        font-size: 0.85rem;
    }
    
    .admin-login {
        order: 4;
        margin-left: 0;
    }
    
    .admin-login-btn {
        width: 32px;
        height: 32px;
    }
    
    .admin-login-btn i {
        font-size: 1rem;
    }
    
    .nav-toggle {
        order: 5;
        display: flex;
        margin-left: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero Section Mobile Improvements */
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    /* Section Improvements */
    .container {
        padding: 0 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    /* Content Grid Improvements */
    .about-content,
    .careers-content,
    .supplier-content,
    .csr-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-text,
    .careers-text,
    .supplier-text,
    .csr-text {
        order: 1;
    }
    
    .about-images,
    .careers-images,
    .supplier-images,
    .csr-image {
        order: 2;
    }
    
    .about-text h3,
    .careers-text h3,
    .supplier-text h3,
    .csr-text h3 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .about-text p,
    .careers-text p,
    .supplier-text p,
    .csr-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    /* Image Improvements - Show full images without cropping */
    .about-img,
    .career-img,
    .csr-img,
    .supplier-img {
        width: 100%;
        max-width: 100%;
        height: 350px;
        object-fit: cover;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    
    .supplier-img {
        width: 100%;
        max-width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 15px;
    }

    /* Services Grid Improvements */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Supplier Benefits Improvements */
    .supplier-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .benefit-item {
        padding: 1rem;
        text-align: center;
    }
    
    .benefit-item i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .benefit-item span {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    /* Careers List Improvements */
    .careers-text ul {
        margin: 1.5rem 0;
        padding-left: 1.5rem;
    }
    
    .careers-text li {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0.8rem;
        padding-left: 1.5rem;
    }

    /* Button Improvements */
    .cta-button-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        margin-top: 1rem;
    }

    /* Footer Improvements */
    .footer-content {
        display: none;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .footer-section ul {
        list-style: none;
        padding: 0;
    }
    
    .footer-section ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
        color: #666;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .footer-section ul li a:hover {
        color: var(--accent-color);
    }
    
    .social-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    /* Floating Counter Mobile */
    .floating-visitor-counter {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }
    
    .floating-counter-circle {
        width: 60px;
        height: 60px;
    }
    
    .floating-counter-number {
        font-size: 1.2rem;
        line-height: 1;
    }
    
    .floating-counter-label {
        font-size: 0.7rem;
        line-height: 1;
    }

    /* Partners and Certificates */
    .partners-track img {
        height: 40px;
        margin: 0 1rem;
    }
    
    .certificates-track img {
        height: 60px;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .language-switcher {
        margin-left: 0.5rem;
    }
    
    [dir="rtl"] .language-switcher {
        margin-left: 0;
        margin-right: 0.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 2rem;
    }

    .nav-logo .logo {
        height: 50px;
        max-width: 150px;
    }

    .partners-track img {
        height: 50px;
    }

    .certificates-track img {
        height: 80px;
    }

    .contact-form {
        padding: 2rem;
    }
}

/* Ensure sliders work properly */
.partners-track,
.certificates-track {
    animation-play-state: running !important;
    animation-fill-mode: both !important;
    animation-iteration-count: infinite !important;
    will-change: transform;
    backface-visibility: hidden;
}

/* Force animation restart on load */
.partners-slider,
.certificates-slider {
    min-height: 150px;
    display: block !important;
}

/* Arabic font support */
[dir="rtl"] {
    font-family: 'Cairo', 'Poppins', sans-serif;
}

[dir="rtl"] .hero-title,
[dir="rtl"] .section-title,
[dir="rtl"] .page-title,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

/* Improved Arabic mobile navigation */
@media (max-width: 768px) {
    [dir="rtl"] .nav-menu {
        right: 0;
        left: auto;
        transform: translateX(100%);
    }
    
    [dir="rtl"] .nav-menu.active {
        transform: translateX(0);
    }
    
    [dir="rtl"] .nav-list {
        text-align: right;
    }
    
    [dir="rtl"] .dropdown-menu {
        right: 0;
        left: auto;
        text-align: right;
    }
    
    [dir="rtl"] .nav-toggle {
        order: -1;
    }
    
    [dir="rtl"] .language-switcher {
        order: 1;
    }
}

/* Prayer Section */
.prayer-section {
    background: linear-gradient(135deg, rgba(160, 0, 0, 0.05), rgba(195, 143, 51, 0.05));
    position: relative;
}

.prayer-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"><defs><pattern id="prayer-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(160,0,0,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23prayer-pattern)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.founder-img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 3px solid transparent;
}

.founder-img:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(160, 0, 0, 0.3);
}

.prayer-audio {
    margin-top: 2rem;
    text-align: center;
}

.prayer-audio audio {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.prayer-audio audio::-webkit-media-controls-panel {
    background: var(--accent-color);
}

.prayer-audio audio::-webkit-media-controls-play-button {
    background: white;
    border-radius: 50%;
}

/* Map Container Styles */
.map-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
}

/* Chairman Signature Styles */
.chairman-signature {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(160, 0, 0, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.chairman-signature h4 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.chairman-signature p {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
    font-size: 1rem;
}

/* Message Content Styles */
.message-content {
    direction: rtl;
    text-align: right;
}

.message-content .bismillah {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(160, 0, 0, 0.05);
    border-radius: 8px;
    border: 2px solid var(--accent-color);
}

.message-content p {
    margin-bottom: 1.2rem;
    line-height: 1.9;
    text-align: justify;
    font-size: 1rem;
}

[dir="ltr"] .message-content {
    direction: ltr;
    text-align: left;
}

[dir="ltr"] .message-content .bismillah {
    text-align: center;
}

/* Founder Signature Styles */
.founder-signature {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(160, 0, 0, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.founder-signature h4 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.founder-signature p {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
    font-size: 1rem;
}

/* Events Page Styles */
.events-section {
    padding: 4rem 0;
    background: var(--primary-color);
}

/* Enhanced Events Page Styles */
.events-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.events-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.events-section .section-title {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.events-section .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
}

.event-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(160, 0, 0, 0.25);
    border-color: var(--accent-color);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.event-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: brightness(0.9);
}

.event-card:hover .event-image img {
    transform: scale(1.15);
    filter: brightness(1.1);
}

.event-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-color), #d32f2f);
    color: white;
    padding: 18px 15px;
    border-radius: 15px;
    text-align: center;
    min-width: 70px;
    box-shadow: 0 8px 25px rgba(160, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
}

.event-content {
    padding: 2rem;
}

.event-content h3 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.event-location {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.event-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.event-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.event-meta i {
    color: var(--secondary-color);
}

.event-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #d32f2f);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(160, 0, 0, 0.3);
}

.event-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(160, 0, 0, 0.4);
    color: white;
}

/* Past Events Section */
.past-events-section {
    padding: 4rem 0;
    background: var(--admin-bg);
}

.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.past-event-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
}

.past-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(160, 0, 0, 0.2);
    border-color: var(--secondary-color);
}

.past-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.past-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.past-event-card:hover .past-event-image img {
    transform: scale(1.05);
}

.past-event-content {
    padding: 1.5rem;
}

.past-event-content h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.past-event-date {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.past-event-description {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.past-event-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.past-event-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 500;
}

.past-event-stats i {
    color: var(--secondary-color);
}

/* Event CTA Section */
.event-cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--accent-color), #d32f2f);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
}

.newsletter-form input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #e6b800;
    transform: translateY(-2px);
}

/* Responsive Events Design */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .past-events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .past-event-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

/* Enhanced Arabic Mobile Responsiveness */
@media (max-width: 768px) {
    [dir="rtl"] .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    [dir="rtl"] .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    [dir="rtl"] .page-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    [dir="rtl"] .section-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    [dir="rtl"] .service-card h3 {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    [dir="rtl"] .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    [dir="rtl"] .about-text h3 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    [dir="rtl"] .about-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    [dir="rtl"] .content-text h3 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    [dir="rtl"] .content-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    [dir="rtl"] .message-content p {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    [dir="rtl"] .message-content .bismillah {
        font-size: 1.2rem;
        line-height: 1.4;
    }
    
    /* Enhanced Events Arabic Mobile */
    [dir="rtl"] .event-content h3 {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    [dir="rtl"] .event-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    [dir="rtl"] .past-event-content h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    [dir="rtl"] .past-event-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    [dir="rtl"] .event-meta span {
        font-size: 0.85rem;
    }
    
    [dir="rtl"] .past-event-stats span {
        font-size: 0.8rem;
    }
    
    /* Better Arabic navigation spacing */
    [dir="rtl"] .nav-link {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }
    
    [dir="rtl"] .dropdown-menu li a {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Arabic form improvements */
    [dir="rtl"] .form-group label {
        text-align: right;
        font-size: 0.95rem;
    }
    
    [dir="rtl"] .form-group input,
    [dir="rtl"] .form-group textarea {
        text-align: right;
        direction: rtl;
    }
    
    [dir="rtl"] .form-group input[type="number"] {
        text-align: left;
        direction: ltr;
    }
}

[dir="rtl"] .nav-link {
    font-family: 'Cairo', 'Poppins', sans-serif;
    letter-spacing: 0;
}

@media (max-width: 768px) {
    .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0.3rem 0;
        padding: 0.9rem 0.5rem;
        font-size: 1.1rem;
    }
    
    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        padding: 0 0 0 1rem;
    }
    
    .dropdown-menu li a {
        background: var(--accent-color);
        color: white;
        margin: 0.2rem 0;
        border-radius: 20px;
        padding: 0.7rem 1rem !important;
    }
    
    .dropdown-menu li a:hover {
        background: var(--secondary-color);
        transform: none;
    }
}

/* Ensure header fits all buttons */
@media (min-width: 769px) {
    .nav-container {
        gap: 0.5rem;
    }
    
    .nav-list {
        gap: 0.5rem;
        flex-wrap: nowrap;
    }
    
    .nav-link {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
        margin: 0 0.05rem;
    }
    
    .language-switcher {
        margin-left: 1rem;
        padding: 6px;
    }
    
    .language-switcher .lang-btn {
        padding: 4px 8px;
        font-size: 0.9rem;
    }
    
    .admin-login {
        margin-left: 0.5rem;
    }
    
    .admin-login-btn {
        width: 35px;
        height: 35px;
    }
    
    .admin-login-btn i {
        font-size: 1rem;
    }
}



/* Improved Arabic typography for all screen sizes */
[dir="rtl"] .hero-title {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}

[dir="rtl"] .hero-subtitle {
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
}

[dir="rtl"] .section-title {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}

[dir="rtl"] .section-subtitle {
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
}

[dir="rtl"] .service-card h3 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}

[dir="rtl"] .service-card p {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
}

[dir="rtl"] .about-text h3 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}

[dir="rtl"] .about-text p {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
}

[dir="rtl"] .cta-button {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
}

[dir="rtl"] .cta-button-secondary {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
}

[dir="rtl"] .nav-link {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    /* Header and Navigation Improvements */
    .nav-container {
        padding: 0 1rem;
        flex-wrap: wrap;
        min-height: 70px;
        gap: 0.5rem;
    }
    
    .nav-logo {
        order: 1;
        flex: 0 0 auto;
        min-height: 50px;
    }
    
    .nav-logo .logo {
        height: 45px;
        max-width: 140px;
        min-width: 90px;
    }
    
    .nav-menu {
        order: 3;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 1.5rem 0;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 998;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0.3rem;
        width: 100%;
        padding: 0 1.5rem;
        flex-wrap: nowrap;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0.2rem 0;
        padding: 0.8rem 0.5rem;
        font-size: 1rem;
        white-space: normal;
        border-radius: 25px;
        font-weight: 500;
    }
    
    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        padding: 0 0 0 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-menu li a {
        background: var(--accent-color);
        color: white;
        margin: 0.15rem 0;
        border-radius: 20px;
        padding: 0.6rem 1rem !important;
        font-size: 0.9rem;
    }
    
    .dropdown-menu li a:hover {
        background: var(--secondary-color);
        transform: none;
    }
    
    .language-switcher {
        order: 2;
        margin-left: auto;
        margin-right: 0.5rem;
        padding: 5px;
    }
    
    .language-switcher .lang-btn {
        padding: 3px 6px;
        font-size: 0.85rem;
    }
    
    .admin-login {
        order: 4;
        margin-left: 0;
    }
    
    .admin-login-btn {
        width: 32px;
        height: 32px;
    }
    
    .admin-login-btn i {
        font-size: 1rem;
    }
    
    .nav-toggle {
        order: 5;
        display: flex;
        margin-left: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero Section Mobile Improvements */
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    /* Section Improvements */
    .container {
        padding: 0 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    /* Content Grid Improvements */
    .about-content,
    .careers-content,
    .supplier-content,
    .csr-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-text,
    .careers-text,
    .supplier-text,
    .csr-text {
        order: 1;
    }
    
    .about-images,
    .careers-images,
    .supplier-images,
    .csr-image {
        order: 2;
    }
    
    .about-text h3,
    .careers-text h3,
    .supplier-text h3,
    .csr-text h3 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .about-text p,
    .careers-text p,
    .supplier-text p,
    .csr-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    /* Image Improvements - Show full images without cropping */
    .about-img,
    .career-img,
    .csr-img,
    .supplier-img {
        width: 100%;
        max-width: 100%;
        height: 350px;
        object-fit: cover;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    
    .supplier-img {
        width: 100%;
        max-width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 15px;
    }

    /* Services Grid Improvements */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Supplier Benefits Improvements */
    .supplier-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .benefit-item {
        padding: 1rem;
        text-align: center;
    }
    
    .benefit-item i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .benefit-item span {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    /* Careers List Improvements */
    .careers-text ul {
        margin: 1.5rem 0;
        padding-left: 1.5rem;
    }
    
    .careers-text li {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0.8rem;
        padding-left: 1.5rem;
    }

    /* Button Improvements */
    .cta-button-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        margin-top: 1rem;
    }

    /* Footer Improvements */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .footer-section ul {
        list-style: none;
        padding: 0;
    }
    
    .footer-section ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
        color: #666;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .footer-section ul li a:hover {
        color: var(--accent-color);
    }
    
    .social-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    /* Floating Counter Mobile */
    .floating-visitor-counter {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }
    
    .floating-counter-circle {
        width: 60px;
        height: 60px;
    }
    
    .floating-counter-number {
        font-size: 1.2rem;
        line-height: 1;
    }
    
    .floating-counter-label {
        font-size: 0.7rem;
        line-height: 1;
    }

    /* Partners and Certificates */
    .partners-track img {
        height: 40px;
        margin: 0 1rem;
    }
    
    .certificates-track img {
        height: 60px;
        margin: 0 1rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.8rem;
        min-height: 65px;
    }
    
    .nav-logo .logo {
        height: 40px;
        max-width: 120px;
    }
    
    .nav-menu {
        top: 65px;
        height: calc(100vh - 65px);
        padding: 1rem 0;
    }
    
    .nav-list {
        padding: 0 1rem;
    }
    
    .nav-link {
        padding: 0.7rem 0.5rem;
        font-size: 0.95rem;
    }
    
    .language-switcher {
        margin-right: 0.3rem;
        padding: 4px;
    }
    
    .language-switcher .lang-btn {
        padding: 2px 5px;
        font-size: 0.8rem;
    }
    
    .admin-login-btn {
        width: 30px;
        height: 30px;
    }
    
    .admin-login-btn i {
        font-size: 0.9rem;
    }

    /* Content Adjustments */
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .about-text h3,
    .careers-text h3,
    .supplier-text h3,
    .csr-text h3 {
        font-size: 1.3rem;
    }
    
    .about-text p,
    .careers-text p,
    .supplier-text p,
    .csr-text p {
        font-size: 0.95rem;
    }
    
    .service-card {
        padding: 1.2rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .benefit-item {
        padding: 0.8rem;
    }
    
    .benefit-item span {
        font-size: 0.9rem;
    }
    
    .careers-text li {
        font-size: 0.9rem;
        padding-left: 1.2rem;
    }
    
    .cta-button,
    .cta-button-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }

    /* Floating Counter Extra Small */
    .floating-visitor-counter {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .floating-counter-circle {
        width: 50px;
        height: 50px;
    }
    
    .floating-counter-number {
        font-size: 1rem;
    }
    
    .floating-counter-label {
        font-size: 0.6rem;
    }
}

/* Enhanced Arabic Mobile Responsiveness */
@media (max-width: 768px) {
    [dir="rtl"] .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        text-align: center;
    }
    
    [dir="rtl"] .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
        text-align: center;
    }
    
    [dir="rtl"] .page-title {
        font-size: 1.8rem;
        line-height: 1.3;
        text-align: center;
    }
    
    [dir="rtl"] .section-title {
        font-size: 1.6rem;
        line-height: 1.3;
        text-align: center;
    }
    
    [dir="rtl"] .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        text-align: center;
    }
    
    [dir="rtl"] .service-card h3 {
        font-size: 1.3rem;
        line-height: 1.3;
        text-align: center;
    }
    
    [dir="rtl"] .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: center;
    }
    
    [dir="rtl"] .about-text h3,
    [dir="rtl"] .careers-text h3,
    [dir="rtl"] .supplier-text h3,
    [dir="rtl"] .csr-text h3 {
        font-size: 1.4rem;
        line-height: 1.3;
        text-align: right;
    }
    
    [dir="rtl"] .about-text p,
    [dir="rtl"] .careers-text p,
    [dir="rtl"] .supplier-text p,
    [dir="rtl"] .csr-text p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: right;
    }
    
    [dir="rtl"] .content-text h3 {
        font-size: 1.4rem;
        line-height: 1.3;
        text-align: right;
    }
    
    [dir="rtl"] .content-text p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: right;
    }
    
    [dir="rtl"] .message-content p {
        font-size: 1rem;
        line-height: 1.8;
        text-align: right;
    }
    
    [dir="rtl"] .message-content .bismillah {
        font-size: 1.2rem;
        line-height: 1.4;
        text-align: center;
    }
    
    /* Enhanced Events Arabic Mobile */
    [dir="rtl"] .event-content h3 {
        font-size: 1.3rem;
        line-height: 1.3;
        text-align: right;
    }
    
    [dir="rtl"] .event-description {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: right;
    }
    
    [dir="rtl"] .past-event-content h3 {
        font-size: 1.2rem;
        line-height: 1.3;
        text-align: right;
    }
    
    [dir="rtl"] .past-event-description {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: right;
    }
    
    [dir="rtl"] .event-meta span {
        font-size: 0.85rem;
        text-align: right;
    }
    
    [dir="rtl"] .past-event-stats span {
        font-size: 0.8rem;
        text-align: right;
    }
    
    /* Better Arabic navigation spacing - Vertical buttons */
    [dir="rtl"] .nav-link {
        padding: 1rem 0.8rem;
        font-size: 0.95rem;
        text-align: center;
        width: 100%;
        max-width: 200px;
        margin: 0.3rem auto;
        display: block;
    }
    
    /* Mobile Arabic navigation - Vertical buttons */
    @media (max-width: 768px) {
        [dir="rtl"] .nav-link {
            width: 100%;
            max-width: 250px;
            margin: 0.5rem auto;
            padding: 1.2rem 1rem;
            font-size: 1rem;
            border-radius: 25px;
            display: block;
            text-align: center;
        }
        
        [dir="rtl"] .dropdown-menu li a {
            width: 100%;
            max-width: 220px;
            margin: 0.3rem auto;
            padding: 0.8rem 1rem;
            font-size: 0.9rem;
            border-radius: 20px;
            display: block;
            text-align: center;
        }
    }
    

    
    [dir="rtl"] .dropdown-menu li a {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        text-align: right;
    }
    
    /* Arabic form improvements */
    [dir="rtl"] .form-group label {
        text-align: right;
        font-size: 0.95rem;
    }
    
    [dir="rtl"] .form-group input,
    [dir="rtl"] .form-group textarea {
        text-align: right;
        direction: rtl;
    }
    
    [dir="rtl"] .form-group input[type="number"] {
        text-align: left;
        direction: ltr;
    }
    
    /* Arabic floating counter */
    [dir="rtl"] .floating-visitor-counter {
        left: 20px;
        right: auto;
    }
    
    /* Arabic footer */
    [dir="rtl"] .footer-section h4 {
        text-align: right;
    }
    
    [dir="rtl"] .footer-section p {
        text-align: right;
    }
    
    [dir="rtl"] .footer-section ul li a {
        text-align: right;
    }
    
    /* Arabic careers list */
    [dir="rtl"] .careers-text li {
        text-align: right;
        padding-right: 1.5rem;
        padding-left: 0;
    }
    
    [dir="rtl"] .careers-text li::before {
        right: 0;
        left: auto;
    }
    
    /* Arabic supplier benefits */
    [dir="rtl"] .benefit-item {
        text-align: center;
    }
    
    [dir="rtl"] .benefit-item span {
        text-align: center;
    }
}

/* Extra Small Arabic Mobile */
@media (max-width: 480px) {
    [dir="rtl"] .hero-title {
        font-size: 1.8rem;
    }
    
    [dir="rtl"] .hero-subtitle {
        font-size: 1rem;
    }
    
    [dir="rtl"] .section-title {
        font-size: 1.6rem;
    }
    
    [dir="rtl"] .section-subtitle {
        font-size: 0.95rem;
    }
    
    [dir="rtl"] .about-text h3,
    [dir="rtl"] .careers-text h3,
    [dir="rtl"] .supplier-text h3,
    [dir="rtl"] .csr-text h3 {
        font-size: 1.3rem;
    }
    
    [dir="rtl"] .about-text p,
    [dir="rtl"] .careers-text p,
    [dir="rtl"] .supplier-text p,
    [dir="rtl"] .csr-text p {
        font-size: 0.95rem;
    }
    
    [dir="rtl"] .service-card h3 {
        font-size: 1.2rem;
    }
    
    [dir="rtl"] .service-card p {
        font-size: 0.9rem;
    }
    
    [dir="rtl"] .floating-visitor-counter {
        left: 15px;
        right: auto;
    }
}

@media (max-width: 768px) {
    /* توحيد حجم أزرار القائمة في الموبايل */
    .nav-link {
        display: block;
        width: 100%;
        max-width: 250px;
        margin: 0.5rem auto;
        padding: 1.2rem 1rem;
        font-size: 1.1rem;
        border-radius: 30px;
        text-align: center;
        font-weight: bold;
    }
    /* أزرار About Us و Services بنفس حجم البقية */
    .nav-link[href*="about"],
    .nav-link[href*="service"],
    .nav-link.about,
    .nav-link.services {
        width: 100%;
        max-width: 250px;
        margin: 0.5rem auto;
        padding: 1.2rem 1rem;
        font-size: 1.1rem;
        border-radius: 30px;
        text-align: center;
        font-weight: bold;
    }
    /* القائمة العربية عمودية */
    [dir="rtl"] .nav-list {
        flex-direction: column !important;
        align-items: center !important;
    }
    [dir="rtl"] .nav-link {
        width: 100%;
        max-width: 250px;
        margin: 0.5rem auto;
        padding: 1.2rem 1rem;
        font-size: 1.1rem;
        border-radius: 30px;
        text-align: center;
        font-weight: bold;
        display: block;
    }
}

/* Mobile Responsive for New Layout */
@media (max-width: 768px) {
    /* About Section Mobile */
    .about-section {
        padding: 3rem 0;
    }
    
    .about-text {
        max-width: 100%;
        margin: 0 auto 2rem auto;
        padding: 0 1rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .about-img {
        max-width: 100%;
        height: 250px;
        border-radius: 15px;
        margin: 0 1rem;
    }
    
    /* Careers Section Mobile */
    .careers-section {
        padding: 3rem 0;
    }
    
    .careers-text {
        max-width: 100%;
        margin: 0 auto 2rem auto;
        padding: 0 1rem;
    }
    
    .careers-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .careers-text li {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .career-img {
        max-width: 100%;
        height: 250px;
        border-radius: 15px;
        margin: 0 1rem;
    }
    
    /* Supplier Section Mobile */
    .supplier-section {
        padding: 3rem 0;
    }
    
    .supplier-text {
        max-width: 100%;
        margin: 0 auto 2rem auto;
        padding: 0 1rem;
    }
    
    .supplier-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .supplier-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .supplier-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .benefit-item {
        padding: 1.5rem;
    }
    
    .benefit-item i {
        font-size: 2rem;
    }
    
    .benefit-item span {
        font-size: 1rem;
    }
    
    .supplier-images {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 0 1rem;
    }
    
    .supplier-img {
        height: 200px;
    }
    
    /* CSR Section Mobile */
    .csr-section {
        padding: 3rem 0;
    }
    
    .csr-text {
        max-width: 100%;
        margin: 0 auto 2rem auto;
        padding: 0 1rem;
    }
    
    .csr-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .csr-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .csr-img {
        max-width: 100%;
        height: 250px;
        border-radius: 15px;
        margin: 0 1rem;
    }
}

/* RTL Support for New Layout */
[dir="rtl"] .about-text,
[dir="rtl"] .careers-text,
[dir="rtl"] .supplier-text,
[dir="rtl"] .csr-text {
    text-align: center;
}

[dir="rtl"] .careers-text li {
    padding-left: 0;
    padding-right: 2rem;
}

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

[dir="rtl"] .supplier-benefits {
    direction: rtl;
}

[dir="rtl"] .benefit-item {
    text-align: center;
}

/* Mobile RTL Support */
@media (max-width: 768px) {
    [dir="rtl"] .about-text,
    [dir="rtl"] .careers-text,
    [dir="rtl"] .supplier-text,
    [dir="rtl"] .csr-text {
        text-align: center;
    }
    
    [dir="rtl"] .careers-text li {
        padding-left: 0;
        padding-right: 2rem;
    }
    
    [dir="rtl"] .careers-text li::before {
        left: auto;
        right: 0;
    }
}