/* General Styles */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Inter:wght@400;700&display=swap');

:root {
    --primary-color: #003366;
    --secondary-color: #0066cc;
    --accent-color: #ff6600;
    --text-color: #333;
    --light-text: #f8f9fa;
    --background-color: #f8f9fa;
    --section-bg: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-en: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-ar: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-en);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    transition: font-family 0.2s;
}

html[lang="ar"] body {
    font-family: var(--font-ar);
    letter-spacing: 0.2px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 120px;
    height: 60px;
    margin-right: 20px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--accent-color);
}

.lang-switch {
    margin-left: 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/hero.png') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
    padding: 150px 0;
    margin-top: 70px;
}

.hero h1 {
    color: var(--light-text);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background-color: var(--section-bg);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--section-bg);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* About Section */
.about-us {
    padding: 80px 0;
    background-color: var(--background-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/hero.png') no-repeat center center/cover;
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--section-bg);
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.feature {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    background-color: var(--background-color);
    box-shadow: var(--shadow);
}

.feature i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    color: var(--light-text);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--light-text);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

address {
    font-style: normal;
}

address p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

address i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Training Page Specific Styles */
.page-header {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('../images/training-banner.jpg') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
    padding: 120px 0 60px;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--light-text);
}

.service-intro {
    padding: 80px 0;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-image {
    flex: 1;
    text-align: center;
}

.intro-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.training-programs {
    padding: 80px 0;
    background-color: var(--section-bg);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--section-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.program-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.program-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.training-methodology {
    padding: 80px 0;
}

.methodology-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
}

.methodology-steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 5%;
    right: 5%;
    height: 4px;
    background-color: #e0e0e0;
    z-index: -1;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-icon {
    width: 70px;
    height: 70px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    border: 4px solid var(--background-color);
}

.step h3 {
    color: var(--primary-color);
}

.training-facilities {
    padding: 80px 0;
    background-color: var(--section-bg);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.facility {
    text-align: center;
}

.facility i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.certifications {
    padding: 80px 0;
}

.certifications-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.certification-text {
    flex: 2;
}

.certification-logos {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.certification-logo img {
    max-height: 60px;
    opacity: 0.8;
    transition: var(--transition);
}

.certification-logo img:hover {
    opacity: 1;
}

.contact-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
}

.contact-section h2 {
    color: var(--light-text);
}

.contact-section .btn {
    background-color: var(--accent-color);
    color: var(--light-text);
}

.contact-section .btn:hover {
    background-color: #fff;
    color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0 15px 10px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }

    .intro-content {
        flex-direction: column;
    }

    .methodology-steps {
        flex-direction: column;
    }

    .methodology-steps::before {
        display: none;
    }

    .certifications-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .about-content {
        flex-direction: column;
    }

    .features {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* Translator Page Styles */
.translator-page {
    padding: 120px 0 80px;
    background-color: var(--background-color);
}

.translator-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--section-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.translator-page h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.translator-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.control-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

#text-input {
    width: 100%;
    height: 150px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
}

#language-select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    flex-grow: 1;
}

#translate-btn {
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

#translate-btn:hover {
    background-color: var(--primary-color);
}

.translator-output h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.output-box {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 1rem;
    white-space: pre-wrap;
}

/* RTL Styles */
[dir="rtl"] body {
    text-align: right;
}

[dir="rtl"] nav ul li {
    margin-left: 0;
    margin-right: 25px;
}

[dir="rtl"] .lang-switch {
    margin-left: 0;
    margin-right: 20px;
}

[dir="rtl"] .about-content {
    flex-direction: row-reverse;
}

[dir="rtl"] address i {
    margin-right: 0;
    margin-left: 10px;
}
/*
 * CSS for the three-column services grid
 * You can add this to your existing css/style.css file
 */

.services-grid-3col {
    /* Use CSS Grid for a flexible layout */
    display: grid;
    /* Define three columns of equal width */
    grid-template-columns: repeat(3, 1fr);
    /* Add some spacing between the cards */
    gap: 30px;
    margin-top: 40px;
}

/* Ensure service cards are styled to look nice within the grid */
.service-card {
    background-color: #f9f9f9; /* Light background for contrast */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Soft shadow */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px); /* Subtle lift on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 40px;
    color: #0056b3; /* Example brand color (adjust as needed) */
    margin-bottom: 15px;
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.25em;
    color: #333;
}

.service-card p {
    color: #666;
    font-size: 0.95em;
}


/* --- Responsive Adjustments --- */

/* For medium screens (e.g., tablets), switch to two columns */
@media (max-width: 992px) {
    .services-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* For small screens (e.g., mobile phones), switch to a single column */
@media (max-width: 576px) {
    .services-grid-3col {
        grid-template-columns: 1fr;
    }
}
/*
 * CSS لتطبيق 3 أعمدة على قسم أنواع الطائرات
 */

.aircraft-types .services-grid-3col {
    /* أو استخدم الفئة المخصصة إذا أردت: .aircraft-grid-3col */
    display: grid;
    /* تحديد 3 أعمدة متساوية العرض */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.aircraft-type {
    /* تنسيق بطاقة نوع الطائرة لتبدو جيدة في الشبكة */
    background-color: #eef7ff; /* لون خلفية مختلف قليلاً */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-bottom: 5px solid #007bff; /* شريط سفلي بلون مميز */
    transition: all 0.3s ease;
}

.aircraft-type:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.aircraft-type i {
    font-size: 45px;
    color: #007bff; /* اللون الرئيسي */
    margin-bottom: 15px;
}

.aircraft-type h3 {
    font-size: 1.3em;
    color: #333;
    margin-top: 0;
}

.aircraft-type p {
    color: #555;
    font-size: 1em;
}

/* --- التجاوب (Responsive) --- */

/* للشاشات المتوسطة (مثل الأجهزة اللوحية)، عمودين */
@media (max-width: 992px) {
    .aircraft-types .services-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* للشاشات الصغيرة (مثل الهواتف)، عمود واحد */
@media (max-width: 576px) {
    .aircraft-types .services-grid-3col {
        grid-template-columns: 1fr;
    }
}
/*
 * CSS لتنسيق بطاقات الفوائد داخل شبكة الأعمدة الثلاثة
 */

/* استخدام نفس تنسيق الشبكة المطبق على الأقسام السابقة */
.benefits .services-grid-3col {
    /* هذه الفئة موجودة بالفعل من التعديلات السابقة */
    margin-top: 40px;
}

.benefit {
    /* تنسيق بطاقة الفائدة */
    background-color: #ffffff; /* خلفية بيضاء */
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.benefit i {
    font-size: 40px;
    color: #28a745; /* لون أخضر للفوائد (يمكنك تغييره) */
    margin-bottom: 15px;
}

.benefit h3 {
    font-size: 1.2em;
    color: #333;
    margin-top: 0;
}

.benefit p {
    color: #6c757d;
    font-size: 0.9em;
}

/* *ملاحظة*: يتم التعامل مع التجاوب (Responsive) بالفعل من خلال قواعد الـ CSS التي تم توفيرها لفئة .services-grid-3col في الردود السابقة. */
/* --- Equipment & Facilities Section Styling --- */

.equipment-facilities {
    padding: 80px 0;
    background: #fff; /* White background for separation */
}

.equipment-facilities .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.equipment-facilities h2 {
    color: #003366;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
}

.facilities-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start; /* Align items to the top */
}

.facilities-list {
    flex: 2; /* Takes more space for the text list */
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 300px;
}

.facility-item {
    background: #f8f9fa; /* Light grey background for each item */
    border-left: 5px solid #0066cc; /* Blue accent line */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.facility-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 51, 102, 0.1);
}

.facility-item i {
    font-size: 2rem;
    color: #0066cc;
    margin-bottom: 10px;
    display: block;
}

.facility-item h3 {
    font-size: 1.4rem;
    color: #003366;
    margin-bottom: 8px;
    font-weight: 600;
}

.facility-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.facilities-gallery {
    flex: 1; /* Takes less space, allowing the list to be dominant */
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    min-width: 250px;
}

.facilities-gallery img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(0, 51, 102, 0.15);
    transition: opacity 0.3s;
}

.facilities-gallery img:hover {
    opacity: 0.9;
}

/* --- Quality & Certification Section Styling --- */

.quality-certification {
    background: linear-gradient(135deg, #003366 0%, #004d99 100%); /* Dark blue gradient background */
    padding: 80px 0;
    color: #fff;
}

.quality-certification .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.quality-certification h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
}

.certification-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    justify-content: center;
}

.certification-text {
    flex: 2;
    max-width: 600px;
    min-width: 300px;
    text-align: left;
}

.certification-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 0;
    color: #e6f0ff;
}

.certification-logos {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 30px;
    min-width: 250px;
    flex-wrap: wrap;
}

.certification-logo {
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 100px;
}

.certification-logo img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(100%); /* Makes logos black and white */
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}

.certification-logo img:hover {
    filter: none; /* Color on hover */
    opacity: 1;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
    .facilities-content {
        flex-direction: column;
        align-items: center;
    }

    .facilities-list,
    .facilities-gallery {
        flex: 1 1 100%; /* Full width on smaller screens */
        max-width: 600px;
    }

    .facilities-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .certification-content {
        flex-direction: column;
        text-align: center;
    }

    .certification-text {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .equipment-facilities h2,
    .quality-certification h2 {
        font-size: 2rem;
    }

    .facilities-gallery {
        grid-template-columns: 1fr;
    }
}
/*======================================================
  CLEANING PAGE SPECIFIC STYLES (Based on existing variables)
======================================================*/

/* --- 1. Cleaning Services Grid (6 Cards) --- */

.cleaning-services {
    padding: 80px 0;
    text-align: center;
    background-color: var(--background-color); /* Matches the body background */
}

/* Use a grid for the service cards (6 cards) */
.services-grid {
    display: grid;
    /* 3 columns on desktop, adapts to smaller screens */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    /* Reusing base service card style but enhancing it */
    background: var(--section-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-bottom: 4px solid var(--secondary-color); /* Highlight color */
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color); /* Change accent on hover */
}

.service-card i {
    font-size: 3.5rem; /* Slightly larger icons */
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* --- 2. Cleaning Process Steps (6 Steps) --- */

.cleaning-process {
    padding: 80px 0;
    background-color: #e9eef3; /* Light grey/blue for contrast */
    text-align: center;
}

.cleaning-process h2 {
    color: var(--primary-color);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    margin-top: 50px;
}

/* Horizontal line connecting steps (Desktop) */
.process-steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 5%;
    right: 5%;
    height: 4px;
    background: var(--secondary-color);
    opacity: 0.2;
    z-index: 1;
}

.step {
    flex: 1; /* Distribute space equally */
    max-width: 16.66%; /* To fit 6 steps exactly */
    padding: 0 10px;
    text-align: center;
    z-index: 2;
}

.step-number {
    background: var(--accent-color); /* Orange/Accent color */
    color: var(--light-text);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 2em;
    font-weight: bold;
    margin: 0 auto 20px;
    border: 5px solid #e9eef3; /* Matches section background */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.step h3 {
    font-size: 1.25em;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

/* --- 3. Eco-Friendly Section (Text Block) --- */

.eco-friendly {
    padding: 80px 0;
    background-color: var(--section-bg);
}

.eco-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 30px;
}

.eco-text {
    flex: 2;
}

.eco-image {
    flex: 1;
}

.eco-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* --- 4. Benefits Section (4 Cards) --- */

.benefits {
    padding: 80px 0;
    text-align: center;
    background-color: var(--background-color);
}

.benefits-grid {
    display: grid;
    /* 4 columns on desktop, using minmax to ensure responsiveness */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit {
    background: var(--section-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.benefit i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.benefit h3 {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/*======================================================
  RESPONSIVE ADJUSTMENTS FOR CLEANING PAGE
======================================================*/

@media (max-width: 992px) {
    /* Adjust Process Steps for vertical display on tablets/mobiles */
    .process-steps::before {
        display: none; /* Hide horizontal line */
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .step {
        width: 100%;
        max-width: 400px;
        text-align: left;
        border-left: 3px solid var(--secondary-color);
        padding: 0 0 0 30px;
        position: relative;
    }
    
    .step-number {
        position: absolute;
        top: -15px;
        left: -35px;
        margin: 0;
        border-color: var(--background-color); /* Match body background for better visibility */
    }
    
    .intro-content, .eco-content {
        flex-direction: column;
        text-align: center;
    }
    
    .intro-image {
        order: -1; /* Move image to the top on small screens */
    }
}

@media (max-width: 768px) {
    .services-grid, .benefits-grid {
        /* Switch to 2 columns on small tablets */
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid, .benefits-grid {
        /* Switch to 1 column on mobile phones */
        grid-template-columns: 1fr;
    }
}
/*==================================
  CSS لجعل بطاقات الخدمات في 3 حقول
==================================*/

.services-grid {
    /* 1. استخدام CSS Grid للتخطيط المرن */
    display: grid;
    
    /* 2. تحديد 3 أعمدة متساوية العرض على الشاشات الكبيرة */
    grid-template-columns: repeat(3, 1fr);
    
    /* 3. إضافة فواصل بين البطاقات */
    gap: 30px;
    
    /* 4. ضمان التباعد عن العنوان */
    margin-top: 40px;
}

/* --- التجاوب (Responsive) --- */

/* للشاشات المتوسطة (مثل الأجهزة اللوحية - أقل من 992 بكسل)، نغير إلى عمودين */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* للشاشات الصغيرة (مثل الهواتف - أقل من 576 بكسل)، نغير إلى عمود واحد */
@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
/*======================================================
  PRODUCTION SERVICES PAGE STYLES
======================================================*/

/* --- 1. Production Services Section (3-Column Grid) --- */

.production-services {
    padding: 80px 0;
    background-color: var(--background-color);
}

/* Forcing the services grid to 3 columns on desktop */
.production-services .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Reusing and refining the service-card style */
.production-services .service-card {
    background: var(--section-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-bottom: 4px solid var(--secondary-color);
}

.production-services .service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.production-services .service-card i {
    font-size: 3.5rem;
    color: var(--accent-color); /* Using accent color for production icons */
    margin-bottom: 15px;
}

.production-services .service-card h3 {
    color: var(--primary-color);
}

/* --- 2. Manufacturers Section (Partner Logos) --- */

.manufacturers {
    padding: 80px 0;
    background-color: var(--section-bg);
    text-align: center;
}

.manufacturers-grid {
    display: grid;
    /* 6 logos, using a repeat grid that adapts well */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: center;
    justify-content: center;
}

.manufacturer {
    padding: 20px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid #eee;
    background-color: #f9f9f9;
}

.manufacturer:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.manufacturer img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
    filter: grayscale(80%); /* Makes logos look professional */
    transition: filter 0.3s;
}

.manufacturer:hover img {
    filter: none; /* Full color on hover */
}

.manufacturer p {
    font-size: 0.9em;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

/* --- 3. Quality Assurance Process Steps --- */

.quality-assurance {
    padding: 80px 0;
    background-color: var(--background-color);
}

.quality-process {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    margin-top: 50px;
}

/* Horizontal line for process steps */
.quality-process::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 5%;
    right: 5%;
    height: 4px;
    background: var(--secondary-color);
    opacity: 0.2;
    z-index: 1;
}

.process-step {
    flex: 1; /* Equal space distribution for 5 steps */
    max-width: 20%;
    padding: 0 10px;
    text-align: center;
    z-index: 2;
    position: relative; /* Needed for step-number positioning */
}

.process-step .step-number {
    background: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 2em;
    font-weight: bold;
    margin: 0 auto 20px;
    border: 5px solid var(--background-color); /* Matches section background */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.process-step h3 {
    font-size: 1.25em;
    color: var(--accent-color);
    margin-bottom: 5px;
}

/* --- 4. Regulatory Compliance Section --- */

.compliance {
    padding: 80px 0;
    background-color: var(--section-bg);
}

.compliance-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.compliance-text {
    flex: 2;
    min-width: 300px;
    font-size: 1.1em;
    line-height: 1.7;
}

.compliance-logos {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    min-width: 250px;
}

.compliance-logo {
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.compliance-logo img {
    max-height: 60px;
    max-width: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}

.compliance-logo img:hover {
    filter: none;
    opacity: 1;
}

/* --- 5. Quote Section (Call to Action) --- */

.quote-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
}

.quote-section h2 {
    color: var(--light-text);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.quote-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.quote-section .btn {
    background-color: var(--accent-color);
    color: var(--light-text);
}

.quote-section .btn:hover {
    background-color: #fff;
    color: var(--accent-color);
}


/*======================================================
  RESPONSIVE ADJUSTMENTS FOR PRODUCTION PAGE
======================================================*/

@media (max-width: 992px) {
    /* Adjust Production Services Grid */
    .production-services .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Adjust Quality Process Steps for vertical display */
    .quality-process::before {
        display: none;
    }

    .quality-process {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .process-step {
        width: 100%;
        max-width: 400px;
        text-align: left;
        border-left: 3px solid var(--secondary-color);
        padding: 0 0 0 30px;
    }
    
    .process-step .step-number {
        position: absolute;
        top: -15px;
        left: -35px;
        margin: 0;
        border-color: var(--background-color);
    }

    /* Adjust Compliance Content */
    .compliance-content {
        flex-direction: column;
        text-align: center;
    }
    
    .compliance-text {
        text-align: center;
    }
    
    .compliance-logos {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Manufacturers grid smaller */
    .manufacturers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    /* Adjust Production Services Grid */
    .production-services .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Manufacturers grid to 2 columns on small screens */
    .manufacturers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quote-section h2 {
        font-size: 1.8rem;
    }
}