@charset "UTF-8";
/*
Theme Name: Crystal Tech
Theme URI: https://crystaltech.sa/
Author: Crystal International Technology
Author URI: https://crystaltech.sa/
Description: Crystal International Technology - Modern WordPress Theme for IT Solutions & Cybersecurity
Version: 2.0
Text Domain: crystaltech
Tags: business, corporate, technology, cybersecurity
*/

/* ============================================
   CSS Variables
   ============================================ */
:root {
    /* Primary Colors */
    --primary-color: #0B336D;
    --primary-dark: #072347;
    --primary-light: #1a4a8f;
    
    /* Secondary Colors */
    --secondary-color: #606975;
    --secondary-light: #8a919a;
    
    /* Accent Colors */
    --accent-color: #1B6ADB;
    --accent-light: #4d8ee8;
    --accent-dark: #1454ad;
    
    /* Neutral Colors */
    --dark-color: #001233;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e2e2e2;
    --bg-light: #f8f9fa;
    --bg-gray: #f0f0f0;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 18, 51, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 18, 51, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 18, 51, 0.16);
    --shadow-xl: 0 12px 40px rgba(0, 18, 51, 0.2);
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-arabic: 'Tajawal', 'Plus Jakarta Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-padding: 15px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
}

/* RTL Support */
html[dir="rtl"] {
    --font-primary: var(--font-arabic);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

html[dir="rtl"] body {
    font-family: var(--font-arabic);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-white {
    color: var(--white) !important;
}

/* ============================================
   Utility Classes
   ============================================ */
.py-section {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.btn-primary-custom {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.btn-primary-custom:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-light-custom {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    padding: 14px 32px;
}

.btn-light-custom:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 600;
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.btn-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    padding: 1.25rem 0;
    transition: all var(--transition-base);
    background: var(--white);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    padding: 0;
}

.logo-main {
    height: 50px;
    transition: height var(--transition-base);
}

.navbar.scrolled .logo-main {
    height: 40px;
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.dropdown-menu {
    border: none;
    background: var(--dark-color);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    box-shadow: var(--shadow-lg);
}

.dropdown-item {
    color: var(--white);
    padding: 0.6rem 1.25rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

.lang-toggle {
    display: flex;
    align-items: center;
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.8125rem;
    transition: all var(--transition-base);
}

.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    background: var(--accent-color);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-base);
    box-shadow: 0 3px 10px rgba(27, 106, 219, 0.3);
}

.btn-cta:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 106, 219, 0.4);
}

.navbar-toggler {
    border: none;
    padding: 0;
    font-size: 1.75rem;
    color: var(--dark-color);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8faff 0%, #e8f0fe 100%);
    z-index: -2;
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%230B336D" opacity="0.1"/></svg>');
    background-size: 30px 30px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(11, 51, 109, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-text {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.15; }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.25rem;
    animation: bounce 2s infinite;
}

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

/* ============================================
   About Section
   ============================================ */
.about-section {
    position: relative;
    background: var(--white);
}

.about-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle cx="200" cy="200" r="150" fill="none" stroke="%230B336D" stroke-width="0.5" opacity="0.1"/><circle cx="200" cy="200" r="100" fill="none" stroke="%230B336D" stroke-width="0.5" opacity="0.1"/><circle cx="200" cy="200" r="50" fill="none" stroke="%230B336D" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 400px;
    background-repeat: no-repeat;
    background-position: -100px center;
    opacity: 0.5;
    z-index: 0;
}

.about-lead {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.5;
}

.about-text {
    color: var(--text-light);
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* Stats */
.stats-row {
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9375rem;
    margin: 0;
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    background: var(--bg-gray);
}

.services-header {
    background: linear-gradient(180deg, var(--bg-gray) 0%, #e8e8e8 100%);
    position: relative;
}

.services-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"><rect x="45" y="45" width="10" height="10" fill="%230B336D" opacity="0.03"/></svg>');
    background-size: 50px;
}

.services-intro {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 350px;
    padding: 2.5rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-5px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.service-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    line-height: 1.7;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-top: 1.5rem;
    transition: all var(--transition-fast);
}

.service-link i {
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

html[dir="rtl"] .service-card:hover .service-link i {
    transform: translateX(-5px);
}

/* ============================================
   Why Us / Values Section
   ============================================ */
.why-us-section {
    background: var(--white);
}

.why-us-image {
    position: relative;
    padding: 2rem;
}

.why-us-image img {
    border-radius: var(--radius-lg);
}

.values-list {
    margin-top: 2rem;
}

.value-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.value-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: all var(--transition-base);
}

.value-item:hover .value-icon {
    background: var(--accent-color);
    color: var(--white);
}

.value-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.value-content p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   Partners Section
   ============================================ */
.partners-section {
    background: var(--bg-light);
}

.partners-header {
    background: var(--primary-color);
    position: relative;
    padding: 60px 0 80px;
    text-align: center;
}

.partners-title {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
}

.partners-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.partners-content {
    background: var(--bg-light);
    padding: 40px 0 80px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

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

.partner-item img {
    max-height: 50px;
    max-width: 130px;
    object-fit: contain;
    transition: all var(--transition-base);
}

@media (max-width: 991.98px) {
    .partners-grid {
        gap: 1.5rem 2rem;
    }
    .partner-item img {
        max-height: 40px;
        max-width: 100px;
    }
}

@media (max-width: 575.98px) {
    .partners-header {
        padding: 40px 0 60px;
    }
    .partners-curve {
        height: 40px;
    }
    .partners-content {
        padding: 30px 0 60px;
    }
    .partners-grid {
        gap: 1.25rem 1.5rem;
    }
    .partner-item img {
        max-height: 32px;
        max-width: 80px;
    }
}

.swiper-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.swiper-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.swiper-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.swiper-line {
    flex: 1;
    height: 2px;
    background: var(--secondary-color);
}

/* ============================================
   Certifications Section
   ============================================ */
.certifications-section {
    background: var(--bg-gray);
    position: relative;
    overflow: hidden;
    padding-top: 60px;
}

.cert-bg-shape {
    position: absolute;
    left: -200px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle cx="200" cy="200" r="180" fill="none" stroke="%230B336D" stroke-width="1" opacity="0.1"/><circle cx="200" cy="200" r="140" fill="none" stroke="%230B336D" stroke-width="1" opacity="0.1"/><circle cx="200" cy="200" r="100" fill="none" stroke="%230B336D" stroke-width="1" opacity="0.1"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.cert-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cert-item img {
    max-height: 120px;
    object-fit: contain;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    background: var(--white);
}

.testimonial-card {
    position: relative;
    padding: 3rem 2rem;
}

.quote-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -30%);
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.15;
}

.testimonial-content {
    text-align: center;
    border-left: 4px solid var(--primary-color);
    border-right: 4px solid var(--primary-color);
    padding: 2rem 2.5rem;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--dark-color);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author h5 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin: 0;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--primary-color);
    cursor: pointer;
    transition: all var(--transition-base);
}

.testimonial-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ============================================
   Clients Section
   ============================================ */
.clients-section {
    background: var(--bg-light);
}

.clients-header {
    background: var(--primary-color);
    position: relative;
    padding: 60px 0 80px;
    text-align: center;
}

.clients-title {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
}

.clients-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.clients-content {
    background: var(--bg-light);
    padding: 40px 0 80px;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
}

.client-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

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

.client-item img {
    max-height: 60px;
    max-width: 140px;
    object-fit: contain;
    transition: all var(--transition-base);
}

@media (max-width: 991.98px) {
    .clients-grid {
        gap: 1.5rem 2rem;
    }
    .client-item img {
        max-height: 50px;
        max-width: 110px;
    }
}

@media (max-width: 575.98px) {
    .clients-header {
        padding: 40px 0 60px;
    }
    .clients-curve {
        height: 40px;
    }
    .clients-content {
        padding: 30px 0 60px;
    }
    .clients-grid {
        gap: 1.25rem 1.5rem;
    }
    .client-item img {
        max-height: 40px;
        max-width: 90px;
    }
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: var(--white);
}

.cta-card {
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: 3rem 3.5rem;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="30" fill="white" opacity="0.05"/><circle cx="90" cy="70" r="20" fill="white" opacity="0.03"/></svg>');
    background-size: cover;
}

.cta-title {
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 1.0625rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark-color);
    padding-top: 80px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="80" r="50" fill="white" opacity="0.02"/></svg>');
    background-size: 400px;
    background-repeat: no-repeat;
    background-position: center top;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--secondary-color);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1.125rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links a {
    color: var(--secondary-color);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

html[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 0.9375rem;
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 1.125rem;
    margin-top: 2px;
}

.footer-contact a {
    color: var(--secondary-color);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2.5rem 0 1.5rem;
}

.footer-copyright {
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin: 0;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.map-link:hover {
    color: var(--accent-color);
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

html[dir="rtl"] .back-to-top {
    right: auto;
    left: 30px;
}

/* ============================================
   Page Header (Inner Pages)
   ============================================ */
.page-header {
    background: var(--gradient-dark);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="white" opacity="0.03"/><circle cx="60" cy="80" r="30" fill="white" opacity="0.02"/></svg>');
    background-size: cover;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-title {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.page-breadcrumb a:hover {
    color: var(--white);
}

.page-breadcrumb .separator {
    margin: 0 0.25rem;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(27, 106, 219, 0.1);
}

.form-control::placeholder {
    color: var(--secondary-light);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1199.98px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 991.98px) {
    :root {
        --section-padding: 60px;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .dropdown-menu {
        background: var(--bg-light);
        box-shadow: none;
    }
    
    .dropdown-item {
        color: var(--dark-color);
    }
    
    .dropdown-item:hover {
        background: var(--accent-color);
        color: var(--white);
    }
    
    .hero-section {
        padding-bottom: 60px;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .service-card {
        min-height: 300px;
    }
    
    .cta-card {
        text-align: center;
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-padding: 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .about-lead {
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .testimonial-content {
        padding: 1.5rem;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
    }
    
    .footer {
        padding-top: 50px;
    }
}

@media (max-width: 575.98px) {
    .logo-main {
        height: 40px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        min-height: auto;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* ============================================
   RTL Specific Styles
   ============================================ */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

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

html[dir="rtl"] .btn i,
html[dir="rtl"] .btn-link i,
html[dir="rtl"] .service-link i {
    transform: scaleX(-1);
}

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

html[dir="rtl"] .footer-contact li {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .page-breadcrumb {
    flex-direction: row-reverse;
}

html[dir="rtl"] .testimonial-content {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Stagger animations */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ============================================
   News/Blog Section Styles
   ============================================ */

/* Page Header */
.page-header {
    background: var(--gradient-dark);
    padding: 140px 0 80px;
    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"><circle cx="80" cy="30" r="40" fill="white" opacity="0.03"/><circle cx="20" cy="80" r="30" fill="white" opacity="0.02"/></svg>');
    background-size: cover;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-title {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* News Filter Tabs */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.filter-tab {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-base);
}

.filter-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* News Cards */
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.news-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

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

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

html[dir="rtl"] .news-category {
    left: auto;
    right: 1rem;
}

.news-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.news-date {
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.news-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    margin-top: auto;
}

.news-link:hover {
    color: var(--accent-color);
    gap: 0.75rem;
}

/* News Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
}

.news-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.news-pagination .page-numbers:hover,
.news-pagination .page-numbers.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* No Posts State */
.no-posts {
    padding: 3rem 0;
}

.no-posts-icon {
    font-size: 4rem;
    color: var(--border-color);
}

.no-posts h3 {
    color: var(--text-color);
    font-weight: 600;
}

/* ============================================
   Single Article Styles
   ============================================ */

.article-header {
    background: var(--gradient-dark);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.article-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"><circle cx="80" cy="30" r="40" fill="white" opacity="0.03"/></svg>');
    background-size: cover;
}

.article-header .container {
    position: relative;
    z-index: 1;
}

.article-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.article-title {
    color: var(--white);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-featured-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body blockquote {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-light);
}

html[dir="rtl"] .article-body blockquote {
    border-left: none;
    border-right: 4px solid var(--primary-color);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

/* Share Buttons */
.article-share h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-base);
}

.share-btn:hover {
    transform: translateY(-3px);
    color: var(--white);
}

.share-btn.twitter { background: #000000; }
.share-btn.twitter:hover { background: #333333; }

.share-btn.linkedin { background: #0077B5; }
.share-btn.linkedin:hover { background: #005885; }

.share-btn.facebook { background: #1877F2; }
.share-btn.facebook:hover { background: #0d65d9; }

.share-btn.whatsapp { background: #25D366; }
.share-btn.whatsapp:hover { background: #1fb855; }

/* Related Posts */
.section-title-sm {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* ============================================
   News Placeholder Image
   ============================================ */
.news-card-image img[src*="placeholder"] {
    background: var(--bg-light);
    padding: 2rem;
}

/* ============================================
   Responsive News Styles
   ============================================ */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .filter-tabs {
        gap: 0.5rem;
    }
    
    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
}
