/* ==========================================
   Custom CSS for RAC Website
   Primary Colors: Steel Blue (#34495E) and Accent Blue (#2980B9)
   ========================================== */

:root {
    /* ==========================================
       RAC Color Palette - Primary Colors (Steel Blue)
       Extracted from actual logo
       ========================================== */
    --primary-color: #34495E;
    --primary-dark: #2C3E50;
    --primary-light: #4A6278;
    --primary-50: #ECF0F3;
    --primary-100: #CFD8DC;
    --primary-200: #B0BEC5;
    --primary-300: #90A4AE;
    --primary-400: #78909C;
    --primary-500: #34495E;
    --primary-600: #2C3E50;
    --primary-700: #243342;
    --primary-800: #1A2332;
    --primary-900: #0F1419;

    /* ==========================================
       Secondary Colors - Accent Blue (من اللوجو)
       ========================================== */
    --secondary-color: #2980B9;
    --secondary-light: #3498DB;
    --secondary-dark: #21618C;
    --secondary-50: #EBF5FB;
    --secondary-100: #D6EAF8;
    --secondary-200: #AED6F1;
    --secondary-300: #85C1E9;
    --secondary-400: #5DADE2;
    --secondary-500: #2980B9;
    --secondary-600: #21618C;
    --secondary-700: #1B4F72;
    --secondary-800: #154360;
    --secondary-900: #0B2F47;

    /* ==========================================
       Accent Colors
       ========================================== */
    --accent-color: #3498DB;
    --accent-orange: #E67E22;
    --accent-hover: #2980B9;

    /* ==========================================
       Semantic Colors
       ========================================== */
    --color-success: #059669;
    --color-success-light: #10B981;
    --color-success-dark: #047857;

    --color-warning: #F59E0B;
    --color-warning-light: #FBBF24;
    --color-warning-dark: #D97706;

    --color-error: #DC2626;
    --color-error-light: #EF4444;
    --color-error-dark: #B91C1C;

    --color-info: #3B82F6;
    --color-info-light: #60A5FA;
    --color-info-dark: #2563EB;

    /* ==========================================
       Background & Text Colors
       ========================================== */
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-gray: #E5E7EB;
    --bg-muted: #D1D5DB;
    --bg-dark: #1F2937;
    --bg-darker: #111827;

    --dark-color: #1A1A1A;
    --gray-color: #6B7280;
    --light-gray: #F8F9FA;

    --text-primary: #2B3E50;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --text-on-dark: #F9FAFB;
    --text-on-primary: #FFFFFF;

    /* ==========================================
       Border Colors
       ========================================== */
    --border-light: #E8EDF2;
    --border-medium: #D1D5DB;
    --border-dark: #9CA3AF;

    /* ==========================================
       Hover & Active States
       ========================================== */
    --hover-primary: #4A6278;
    --hover-secondary: #21618C;
    --hover-accent: #2980B9;
    --hover-light: #F3F4F6;

    --active-primary: #243342;
    --active-secondary: #1B4F72;

    /* ==========================================
       Gradients
       ========================================== */
    --gradient-primary: linear-gradient(135deg, #34495E 0%, #5D6D7E 100%);
    --gradient-secondary: linear-gradient(135deg, #2980B9 0%, #3498DB 100%);
    --gradient-accent: linear-gradient(135deg, #3498DB 0%, #5DADE2 100%);
    --gradient-hero: linear-gradient(135deg, rgba(52, 73, 94, 0.95) 0%, rgba(93, 109, 126, 0.9) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(52, 73, 94, 0.9) 0%, rgba(41, 128, 185, 0.8) 100%);

    /* ==========================================
       Spacing
       ========================================== */
    --section-padding: 80px 0;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;

    /* ==========================================
       Transitions
       ========================================== */
    --transition-fast: all 0.15s ease;
    --transition-smooth: all 0.3s ease-in-out;
    --transition-slow: all 0.5s ease-in-out;
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* ==========================================
       Shadows
       ========================================== */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(52, 73, 94, 0.1);
    --shadow-md: 0 4px 12px rgba(52, 73, 94, 0.15);
    --shadow-lg: 0 8px 24px rgba(52, 73, 94, 0.2);
    --shadow-xl: 0 12px 32px rgba(52, 73, 94, 0.25);
    --shadow-2xl: 0 20px 50px rgba(52, 73, 94, 0.3);
    --shadow-hover: 0 12px 32px rgba(41, 128, 185, 0.25);
    --shadow-primary: 0 4px 12px rgba(52, 73, 94, 0.15);
    --shadow-secondary: 0 4px 12px rgba(41, 128, 185, 0.15);

    /* ==========================================
       Border Radius
       ========================================== */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 9999px;
}

/* ==========================================
   Global Styles
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark-color);
    line-height: 1.7;
    overflow-x: hidden !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================
   Navigation & Header
   ========================================== */

.navbar {
    background: #FFFFFF !important;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(52, 73, 94, 0.08);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(52, 73, 94, 0.12);
}

.navbar-brand {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    transition: var(--transition-smooth);
}

/* ==========================================
   Logo Responsive Styles
   ========================================== */

.logo-img {
    height: 80px;
    /* Increased from 65px */
    width: auto;
    max-width: 350px;
    /* Increased from 280px */
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(52, 73, 94, 0.1));
    transition: var(--transition-smooth);
}

/* Tablet & Mobile Header Adjustments */
/* Tablet & Mobile Header Adjustments */
@media (max-width: 991px) {
    .navbar-brand {
        margin: 0;
        padding: 0;
    }

    .logo-img {
        height: 50px;
        max-width: 180px;
    }

    .navbar-toggler {
        border: 2px solid var(--primary-color) !important;
        padding: 4px 8px !important;
        border-radius: 8px !important;
        background: #ffffff !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    }

    .navbar-toggler-icon {
        width: 22px !important;
        height: 22px !important;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2852, 73, 94, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
}


/* Mobile */
@media (max-width: 767px) {
    .logo-img {
        height: 60px;
        /* Increased from 50px */
        max-width: 250px;
        /* Increased from 200px */
    }

    .navbar {
        padding: 0.5rem 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .logo-img {
        height: 50px;
        max-width: 180px;
    }
}








.nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
    right: 10%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Mobile Menu Refinement */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #ffffff !important;
        border: 1px solid var(--primary-50);
        margin-top: 15px;
        padding: 1rem;
        border-radius: 1.25rem;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        width: 100%;
        max-height: calc(100vh - 100px); /* Limit height to viewport */
        overflow-y: auto; /* Enable scrolling if menu is long */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    }

    .navbar-nav {
        padding: 0;
        margin: 0;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0 !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        border-radius: 0.75rem !important;
        text-align: right; /* RTL focus */
    }

    [dir="ltr"] .navbar-nav .nav-link {
        text-align: left;
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link::after {
        display: none !important;
    }

    .navbar-nav .dropdown-menu {
        border: none;
        background: var(--primary-50);
        margin: 0.5rem 0;
        border-radius: 0.75rem;
        box-shadow: none;
        padding: 0.5rem;
        display: none; /* Hide by default */
        position: static; /* Flow with menu */
        float: none;
        width: 100%;
    }

    .navbar-nav .dropdown-menu.show {
        display: block; /* Show when triggered */
    }

    .navbar-nav .dropdown-item {
        padding: 0.6rem 1rem !important;
        border-radius: 0.5rem;
        font-size: 0.9rem;
        color: var(--text-primary);
        text-align: right;
    }

    [dir="ltr"] .navbar-nav .dropdown-item {
        text-align: left;
    }

    .dropdown-toggle::after {
        vertical-align: middle;
        margin-right: 0.5rem;
    }

    [dir="rtl"] .dropdown-toggle::after {
        margin-right: 0;
        margin-left: 0.5rem;
    }
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.7rem 1.5rem;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ==========================================
   Hero Section
   ========================================== */

/* ==========================================
   Hero Section with Video Background
   ========================================== */

.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    margin-top: 76px;
    overflow: hidden;
    background: #1a1a1a;
    /* Fallback color */
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

/* Dark Overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.6);
    /* Dark overlay */
    z-index: 1;
}

/* Content above video */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: 1.3rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* ==========================================
   Features Section
   ========================================== */

.features-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
}

/* ==========================================
   Section Headers
   ========================================== */

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    font-weight: 300;
}

/* ==========================================
   Services Section
   ========================================== */

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--rac-primary, #1e3a5f) 0%, var(--rac-secondary, #2980B9) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.service-content h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-content p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateX(-5px);
}

/* ==========================================
   Products Section
   ========================================== */

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover img {
    transform: scale(1.1);
}

.navbar-brand img {
    transition: var(--transition-smooth);
}

.navbar-brand:hover img {
    transform: scale(1.03);
    filter: drop-shadow(0 4px 8px rgba(52, 73, 94, 0.15));
}

.product-info {
    padding: 1.5rem;
}

.product-info h5 {
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.product-info p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* ==========================================
   Certifications Section
   ========================================== */

.cert-logo {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cert-logo img {
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.cert-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================
   CTA Section
   ========================================== */

.cta-section {
    background: #1e3a5f;
    padding: 4rem 0;
}

.cta-section h2 {
    font-size: 2.2rem;
}

.btn-light {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    background: var(--dark-color);
    color: white;
}

.footer h5 {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-right: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: start;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--accent-color);
    margin-left: 10px;
    font-size: 1.1rem;
    margin-top: 2px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    color: white;
}

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
        box-shadow: var(--shadow-md);
    }
}

@media (max-width: 767px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .feature-card {
        margin-bottom: 1.5rem;
    }

    .cta-section .col-lg-4 {
        text-align: center !important;
        margin-top: 1.5rem;
    }
}

/* ==========================================
   Utility Classes
   ========================================== */

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.text-primary-custom {
    color: var(--primary-color);
}

.hover-lift {
    transition: var(--transition-smooth);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* ==========================================
   Loading Animation
   ========================================== */

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* ==========================================
   Quality & Certifications Section
   ========================================== */

.quality-certifications {
    background: #1e3a5f;
    position: relative;
    color: white;
}

.quality-certifications .section-title,
.quality-certifications h2,
.quality-certifications span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.quality-certifications .section-subtitle,
.quality-certifications .text-muted,
.quality-certifications p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.quality-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.quality-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: float 20s infinite ease-in-out;
}

.quality-bg-shapes .shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #0056b3, #007bff);
    /* Blue colors */
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.quality-bg-shapes .shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #007bff, #6610f2);
    /* Blue colors */
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.quality-bg-shapes .shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #0056b3, #007bff);
    /* Blue colors */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }

    75% {
        transform: translate(20px, 30px) rotate(270deg);
    }
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    /* White/Transparent */
    color: #ffffff;
    /* White */
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    /* White/Transparent */
}

.gradient-text {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

/* Certification Cards */
.certification-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #1e3a5f;
    /* Navy Blue */
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 123, 255, 0.2);
    /* Blue color */
}

.certification-card:hover::before {
    transform: scaleX(1);
}

.cert-icon-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.cert-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
    /* Blue colors */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    position: relative;
    animation: certPulse 2s infinite;
}

@keyframes certPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
        /* Blue color */
    }

    50% {
        box-shadow: 0 0 0 20px rgba(0, 123, 255, 0);
        /* Blue color */
    }
}

.cert-badge {
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.cert-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.cert-description {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.cert-year {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.1));
    /* Blue colors */
    color: #007bff;
    /* Blue color */
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Quality Stats */
.quality-stats-wrapper {
    margin-top: 3rem;
}

.quality-stat-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quality-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 86, 179, 0.05));
    /* Blue colors */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quality-stat-card:hover::before {
    opacity: 1;
}

.quality-stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.15);
    /* Navy Blue */
}

.stat-icon {
    font-size: 2.5rem;
    color: #1e3a5f;
    /* Navy Blue */
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    background: #1e3a5f;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a5f;
    /* Navy Blue */
    margin-top: -10px;
}

/* Quality Promise */
.quality-promise {
    background: linear-gradient(135deg, #6C7A89 0%, #95A5A6 100%);
    /* Light Gray colors - متناسق مع اللوجو */
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.quality-promise::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.promise-content {
    position: relative;
    z-index: 1;
}

.promise-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.quality-promise h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.quality-promise p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Responsive for Quality Section */
@media (max-width: 768px) {
    .cert-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .quality-promise {
        padding: 2rem;
    }

    .promise-icon {
        font-size: 3rem;
    }

    .quality-promise h4 {
        font-size: 1.5rem;
    }
}

/* ==========================================
   Industrial Showcase Section with Animation
   ========================================== */

.industrial-showcase {
    width: 100%;
    margin: 3rem 0;
}

.showcase-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.showcase-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.9);
}

.showcase-image-wrapper:hover .showcase-image {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 73, 94, 0.8) 0%, rgba(41, 128, 185, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.showcase-image-wrapper:hover .showcase-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.showcase-image-wrapper:hover .overlay-content {
    transform: translateY(0);
}

.overlay-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.overlay-text {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .showcase-image-wrapper {
        height: 400px;
    }

    .overlay-title {
        font-size: 2rem;
    }

    .overlay-text {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .showcase-image-wrapper {
        height: 350px;
        border-radius: 15px;
    }

    .overlay-title {
        font-size: 1.5rem;
    }

    .overlay-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .showcase-image-wrapper {
        height: 300px;
        border-radius: 10px;
    }

    .overlay-title {
        font-size: 1.3rem;
    }

    .overlay-text {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

/* ==========================================
   Contact Map Section
   ========================================== */

.contact-map-section {
    background: #f8f9fa;
}

.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 15px;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-form-wrapper h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 73, 94, 0.1);
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 73, 94, 0.3);
}

/* Responsive */
@media (max-width: 991px) {
    .contact-form-wrapper {
        margin-top: 2rem;
        padding: 2rem;
    }

    .map-container {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .map-container {
        height: 350px;
    }
}

/* Global Breadcrumb Styling */
.breadcrumb-item+.breadcrumb-item::before {
    color: var(--rac-gold) !important;
    opacity: 0.7;
}

[dir="rtl"] .breadcrumb-item+.breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.breadcrumb-item a {
    transition: var(--rac-transition-fast);
}



   ========================================== */

.quality-certifications {
    background: #1e3a5f;
    position: relative;
    color: white;
}

.quality-certifications .section-title,
.quality-certifications h2,
.quality-certifications span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.quality-certifications .section-subtitle,
.quality-certifications .text-muted,
.quality-certifications p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.quality-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.quality-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: float 20s infinite ease-in-out;
}

.quality-bg-shapes .shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #0056b3, #007bff);
    /* Blue colors */
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.quality-bg-shapes .shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #007bff, #6610f2);
    /* Blue colors */
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.quality-bg-shapes .shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #0056b3, #007bff);
    /* Blue colors */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }

    75% {
        transform: translate(20px, 30px) rotate(270deg);
    }
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    /* White/Transparent */
    color: #ffffff;
    /* White */
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    /* White/Transparent */
}

.gradient-text {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

/* Certification Cards */
.certification-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #1e3a5f;
    /* Navy Blue */
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 123, 255, 0.2);
    /* Blue color */
}

.certification-card:hover::before {
    transform: scaleX(1);
}

.cert-icon-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.cert-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
    /* Blue colors */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    position: relative;
    animation: certPulse 2s infinite;
}

@keyframes certPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
        /* Blue color */
    }

    50% {
        box-shadow: 0 0 0 20px rgba(0, 123, 255, 0);
        /* Blue color */
    }
}

.cert-badge {
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.cert-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.cert-description {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.cert-year {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.1));
    /* Blue colors */
    color: #007bff;
    /* Blue color */
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Quality Stats */
.quality-stats-wrapper {
    margin-top: 3rem;
}

.quality-stat-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quality-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 86, 179, 0.05));
    /* Blue colors */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quality-stat-card:hover::before {
    opacity: 1;
}

.quality-stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.15);
    /* Navy Blue */
}

.stat-icon {
    font-size: 2.5rem;
    color: #1e3a5f;
    /* Navy Blue */
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    background: #1e3a5f;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a5f;
    /* Navy Blue */
    margin-top: -10px;
}

/* Quality Promise */
.quality-promise {
    background: linear-gradient(135deg, #6C7A89 0%, #95A5A6 100%);
    /* Light Gray colors - Ù…ØªÙ†Ø§Ø³Ù‚ Ù…Ø¹ Ø§Ù„Ù„ÙˆØ¬Ùˆ */
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.quality-promise::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.promise-content {
    position: relative;
    z-index: 1;
}

.promise-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.quality-promise h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.quality-promise p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Responsive for Quality Section */
@media (max-width: 768px) {
    .cert-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .quality-promise {
        padding: 2rem;
    }

    .promise-icon {
        font-size: 3rem;
    }

    .quality-promise h4 {
        font-size: 1.5rem;
    }
}

/* ==========================================
   Industrial Showcase Section with Animation
   ========================================== */

.industrial-showcase {
    width: 100%;
    margin: 3rem 0;
}

.showcase-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

