/* ===================================
   True Scope Website - Main Stylesheet
   =================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5aa0;
    --secondary-color: #1e3d6f;
    --accent-color: #4a90e2;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

/* Professional Fonts */
body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Arabic Font - Professional */
.lang-ar,
[dir="rtl"] {
    font-family: 'Tajawal', 'Almarai', 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-feature-settings: "liga" 1, "kern" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* English Font - Professional */
.lang-en,
[dir="ltr"] {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Global Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.lang-ar h1,
.lang-ar h2,
.lang-ar h3,
.lang-ar h4,
.lang-ar h5,
.lang-ar h6,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.4;
}

.lang-en h1,
.lang-en h2,
.lang-en h3,
.lang-en h4,
.lang-en h5,
.lang-en h6,
[dir="ltr"] h1,
[dir="ltr"] h2,
[dir="ltr"] h3,
[dir="ltr"] h4,
[dir="ltr"] h5,
[dir="ltr"] h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.lang-ar .logo-text h2,
[dir="rtl"] .logo-text h2 {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    font-weight: 800;
    letter-spacing: 0;
}

.logo-text p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: -5px;
    font-weight: 400;
}

.lang-ar .logo-text p,
[dir="rtl"] .logo-text p {
    font-family: 'Tajawal', 'Almarai', sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    font-size: 1rem;
}

.lang-ar .nav-link,
[dir="rtl"] .nav-link {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.3rem 0.8rem;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section with Slider */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    max-height: 900px;
    margin-top: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    animation: zoomIn 25s ease-in-out infinite alternate;
    will-change: transform;
    transform-origin: center center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: optimizeQuality;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active .hero-slide-bg {
    opacity: 1;
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

/* Improve image quality on high DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-slide-bg {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide-bg {
        animation: none;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(1) translateZ(0);
        filter: brightness(1);
    }
    100% {
        transform: scale(1.12) translateZ(0);
        filter: brightness(1.05);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 90, 160, 0.7) 0%,
        rgba(30, 61, 111, 0.6) 35%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--white);
    margin: 0 auto;
}

.hero-text-wrapper {
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.hero-buttons .btn i {
    transition: transform 0.3s ease;
}

.hero-buttons .btn:hover i {
    transform: translateX(5px);
}

[dir="rtl"] .hero-buttons .btn:hover i {
    transform: translateX(-5px);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.lang-ar .hero-title,
[dir="rtl"] .hero-title {
    font-weight: 900;
    letter-spacing: 0;
    font-family: 'Tajawal', 'Almarai', sans-serif;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    line-height: 1.9;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.lang-ar .hero-subtitle,
[dir="rtl"] .hero-subtitle {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    line-height: 2;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    pointer-events: none;
}

.hero-prev,
.hero-next {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-prev:active,
.hero-next:active {
    transform: scale(0.95);
}

.hero-indicators {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--white);
    width: 32px;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.lang-ar .btn,
[dir="rtl"] .btn {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    font-weight: 700;
}

.lang-en .btn,
[dir="ltr"] .btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(44, 90, 160, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: left 0.3s;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.lang-ar .section-title,
[dir="rtl"] .section-title {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    font-weight: 800;
    letter-spacing: 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.lang-ar .about-text,
[dir="rtl"] .about-text {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    line-height: 2;
    font-size: 1.15rem;
}

/* Mission & Vision Section */
.mission-vision-section {
    background: var(--bg-light);
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.mv-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.mv-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.lang-ar .mv-card h3,
[dir="rtl"] .mv-card h3 {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    font-weight: 800;
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.9;
    font-weight: 400;
}

.lang-ar .mv-card p,
[dir="rtl"] .mv-card p {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    line-height: 2;
}

/* Values Section */
.values-section {
    margin-top: 4rem;
}

.values-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.lang-ar .value-card h4,
[dir="rtl"] .value-card h4 {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    font-weight: 800;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.lang-ar .value-card p,
[dir="rtl"] .value-card p {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    line-height: 2;
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.service-list {
    list-style: none;
    margin-top: 1rem;
    text-align: right;
}

[dir="ltr"] .service-list {
    text-align: left;
}

.service-list li {
    color: var(--text-light);
    padding: 0.5rem 0;
    padding-right: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

[dir="ltr"] .service-list li {
    padding-right: 0;
    padding-left: 1.5rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent-color);
    font-weight: bold;
}

[dir="ltr"] .service-list li::before {
    right: auto;
    left: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.lang-ar .service-card h3,
[dir="rtl"] .service-card h3 {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    font-weight: 800;
}

.service-card > p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.9;
    font-weight: 400;
}

.lang-ar .service-card > p,
[dir="rtl"] .service-card > p {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    line-height: 2;
}

.service-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 1rem;
}

/* News Section */
.news {
    background: var(--white);
}

.news-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.news-empty i {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

/* News Showcase Layout */
.news-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* Featured News (Large) */
.news-featured {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-featured:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-featured-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.news-featured:hover .news-featured-image img {
    transform: scale(1.1);
}

.news-featured-content {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

.news-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    align-items: center;
}

.news-featured-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-badge {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.news-featured h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.lang-ar .news-featured h2,
[dir="rtl"] .news-featured h2 {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.5;
}

.news-featured h2 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.news-featured h2 a:hover {
    color: var(--accent-color);
}

.news-featured p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.lang-ar .news-featured p,
[dir="rtl"] .news-featured p {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    line-height: 2;
    font-size: 1.15rem;
}

.read-more-featured {
    color: var(--white);
    background: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.read-more-featured:hover {
    background: var(--accent-color);
    transform: translateX(5px);
}

[dir="rtl"] .read-more-featured:hover {
    transform: translateX(-5px);
}

/* News List (Sidebar) */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.news-item-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-item:hover .news-item-image img {
    transform: scale(1.1);
}

.news-item-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-item-meta {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.news-item h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 600;
}

.lang-ar .news-item h3,
[dir="rtl"] .news-item h3 {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    font-weight: 700;
    line-height: 1.6;
}

.news-item h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.news-item h3 a:hover {
    color: var(--accent-color);
}

.news-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    flex-grow: 1;
    font-weight: 400;
}

.lang-ar .news-item p,
[dir="rtl"] .news-item p {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    line-height: 1.9;
}

.read-more-small {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    align-self: flex-start;
}

.read-more-small:hover {
    gap: 0.75rem;
}

/* Why Choose Us Section */
.why-choose {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: var(--white);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.lang-ar .feature-card h3,
[dir="rtl"] .feature-card h3 {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    font-weight: 800;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.9;
    font-weight: 400;
}

.lang-ar .feature-card p,
[dir="rtl"] .feature-card p {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    line-height: 2;
}

/* Activities Section */
.activities {
    background: var(--bg-light);
}

.activities-timeline {
    position: relative;
    padding: 2rem 0;
}

.activities-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.activity-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.activity-item:nth-child(even) {
    flex-direction: row-reverse;
}

.activity-date {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
    position: relative;
    z-index: 2;
}

.date-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.date-month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.activity-content {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.activity-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.4rem;
}

.lang-ar .activity-content h3,
[dir="rtl"] .activity-content h3 {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    font-weight: 800;
}

.activity-location {
    color: var(--text-light);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Gallery Section */
.gallery {
    background: var(--white);
}

.gallery-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.gallery-empty i {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.gallery-empty p {
    font-size: 1.2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 90, 160, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.gallery-view {
    color: var(--white);
    font-size: 2rem;
    transition: var(--transition);
}

.gallery-view:hover {
    transform: scale(1.2);
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-light);
}

.info-content a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    font-weight: 400;
}

.lang-ar .form-group input,
.lang-ar .form-group textarea,
[dir="rtl"] .form-group input,
[dir="rtl"] .form-group textarea {
    font-family: 'Tajawal', 'Almarai', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 700;
}

.lang-ar .footer-section h3,
.lang-ar .footer-section h4,
[dir="rtl"] .footer-section h3,
[dir="rtl"] .footer-section h4 {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    font-weight: 800;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.9;
    font-weight: 400;
}

.lang-ar .footer-section p,
[dir="rtl"] .footer-section p {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    line-height: 2;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 1s ease;
}

.animate-fade-up-delay {
    animation: fadeInUp 1s ease 0.2s both;
}

.animate-fade-up-delay-2 {
    animation: fadeInUp 1s ease 0.4s both;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RTL Support */
[dir="rtl"] .nav-link.active::after {
    right: auto;
    left: 0;
}

[dir="rtl"] .hero-controls {
    flex-direction: row-reverse;
}

[dir="rtl"] .activities-timeline::before {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="rtl"] .activity-item:nth-child(even) {
    flex-direction: row;
}

[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .hero {
        min-height: 600px;
        max-height: 700px;
        margin-top: 0;
    }
    
    .hero-slide-bg {
        background-attachment: scroll;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        gap: 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .news-showcase {
        grid-template-columns: 1fr;
    }
    
    .news-featured-image {
        height: 300px;
    }
    
    .news-featured h2 {
        font-size: 1.5rem;
    }

    .activities-timeline::before {
        display: none;
    }

    .activity-item {
        flex-direction: column !important;
    }

    .activity-date {
        align-self: flex-start;
    }

    .hero-controls {
        padding: 0 1rem;
    }

    .hero-prev,
    .hero-next {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .hero-indicators {
        bottom: 2rem;
        padding: 0.5rem 1rem;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .indicator.active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 550px;
        max-height: 650px;
        margin-top: 0;
    }
    
    .hero-slide-bg {
        background-attachment: scroll;
        animation-duration: 20s;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-controls {
        padding: 0 0.5rem;
    }

    .hero-prev,
    .hero-next {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .hero-indicators {
        bottom: 1.5rem;
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card,
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Page Header Section */
.page-header-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 8rem 0 4rem;
    margin-top: 80px;
    text-align: center;
}

.page-header-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header-section p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Services Page */
.services-page {
    background: var(--bg-light);
}


.services-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.services-empty i {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.services-empty h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.services-empty p {
    font-size: 1.1rem;
}

/* Service Detail Page */
.service-detail {
    background: var(--bg-light);
}

.service-detail-content {
    max-width: 1000px;
    margin: 0 auto;
}

.service-detail-image {
    margin-bottom: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    position: relative;
}

.service-detail-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}

.service-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.service-detail-image:hover img {
    transform: scale(1.05);
}

.service-detail-text {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.service-content {
    line-height: 1.9;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 400;
}

.lang-ar .service-content,
[dir="rtl"] .service-content {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    line-height: 2.1;
    font-size: 1.15rem;
}

.service-content h2,
.service-content h3 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.lang-ar .service-content h2,
.lang-ar .service-content h3,
[dir="rtl"] .service-content h2,
[dir="rtl"] .service-content h3 {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    font-weight: 800;
    letter-spacing: 0;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
}

.service-content p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.lang-ar .service-content p,
[dir="rtl"] .service-content p {
    line-height: 2.1;
}

.service-content ul,
.service-content ol {
    margin: 1.5rem 0;
    padding-left: 2.5rem;
    padding-right: 0;
}

[dir="rtl"] .service-content ul,
[dir="rtl"] .service-content ol {
    padding-left: 0;
    padding-right: 2.5rem;
}

.service-content li {
    margin-bottom: 0.75rem;
    line-height: 1.9;
}

.lang-ar .service-content li,
[dir="rtl"] .service-content li {
    line-height: 2;
}

.service-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.service-intro {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--bg-light);
}

.service-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    font-weight: 500;
}

.service-actions {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
    flex-wrap: wrap;
}

.service-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .service-detail-text {
        padding: 2rem 1.5rem;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .service-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* News Detail Page */
.news-detail {
    background: var(--white);
}

.news-detail-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.news-detail-content {
    background: var(--white);
}

.news-detail-image {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.news-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-detail-image:hover img {
    transform: scale(1.05);
}

.news-detail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.news-meta-left {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.news-detail-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.news-detail-meta i {
    color: var(--primary-color);
}

.news-views {
    color: var(--text-light);
}

.news-excerpt {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.news-excerpt p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-color);
    font-weight: 500;
    margin: 0;
}

.lang-ar .news-excerpt p,
[dir="rtl"] .news-excerpt p {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    line-height: 2.1;
}

.news-content {
    margin-bottom: 3rem;
    line-height: 1.9;
    font-size: 1.1rem;
    color: var(--text-color);
}

.lang-ar .news-content,
[dir="rtl"] .news-content {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    line-height: 2.1;
    font-size: 1.15rem;
}

.news-content p {
    margin-bottom: 1.5rem;
}

.news-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.lang-ar .news-content ul,
[dir="rtl"] .news-content ul {
    padding-right: 2rem;
    padding-left: 0;
}

.news-content li {
    margin-bottom: 0.75rem;
    line-height: 1.9;
}

.lang-ar .news-content li,
[dir="rtl"] .news-content li {
    line-height: 2;
}

.news-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

.news-actions {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
    flex-wrap: wrap;
}

.news-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

/* News Sidebar */
.news-sidebar {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.news-sidebar h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.lang-ar .news-sidebar h3,
[dir="rtl"] .news-sidebar h3 {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    font-weight: 800;
}

.related-news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.related-news-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.related-news-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.related-news-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.related-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-news-item:hover .related-news-image img {
    transform: scale(1.1);
}

.related-news-content {
    padding: 1rem;
}

.related-news-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.related-news-content h4 a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.related-news-content h4 a:hover {
    color: var(--primary-color);
}

.related-news-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.related-news-date i {
    color: var(--primary-color);
}

/* News List Page */
.news-page {
    background: var(--bg-light);
}

.news-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.news-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-card-meta i {
    color: var(--primary-color);
}

.news-card-content h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.news-card-content h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.news-card-content h3 a:hover {
    color: var(--primary-color);
}

.news-card-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.lang-ar .news-card-content p,
[dir="rtl"] .news-card-content p {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    line-height: 2;
}

.read-more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    margin-top: auto;
}

.read-more-link:hover {
    gap: 0.75rem;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-light);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-link {
    padding: 0.75rem 1.25rem;
    background: var(--white);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
    font-weight: 500;
}

.pagination-link:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-ellipsis {
    padding: 0.75rem 0.5rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .news-detail-wrapper {
        grid-template-columns: 1fr;
    }
    
    .news-sidebar {
        position: static;
    }
    
    .news-detail-image {
        height: 300px;
    }
    
    .news-grid-page {
        grid-template-columns: 1fr;
    }
    
    .news-meta-left {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}

/* Service Card Interactive */
.service-card-interactive {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.service-card-interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 90, 160, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card-interactive:hover::before {
    left: 100%;
}

.service-card-interactive:hover {
    transform: translateY(-12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.service-card-interactive .service-icon {
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.service-card-interactive:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card-interactive h3 {
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card-interactive:hover h3 {
    color: var(--accent-color);
}

.service-card-interactive p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-card-interactive .service-link {
    margin-top: auto;
    align-self: flex-start;
}

