/* ===== Color Palette ===== */
:root {
    --primary-color: #C0392B;     /* Red from logo */
    --secondary-color: #2C2C2C;   /* Dark gray / black */
    --light-bg: #F8F9FA;          /* Light background */
    --gray-color: #6C757D;        /* Neutral gray */
    --white-color: #FFFFFF;       /* Pure white */
}

/* ===== General ===== */
body {
    padding-top: 100px;
    font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--secondary-color);
}

/* ===== Navbar ===== */
.custom-navbar {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 6px 0;
}

/* ===== Logo ===== */
.logo {
    height: 80px;
    width: auto;
}

/* ===== Nav links ===== */
.nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    margin-left: 15px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* ===== RTL fixes ===== */
[dir="rtl"] .navbar-nav {
    margin-left: 0 !important;
    margin-right: auto;
}

[dir="rtl"] .nav-link {
    margin-left: 0;
    margin-right: 15px;
}

/* ===== Language buttons ===== */
.btn-group .btn {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-group .btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}
/* ===== Language Switch Fix ===== */
.lang-switch {
    display: flex;
    direction: ltr; /* مهم جدًا */
}

.lang-switch .btn {
    min-width: 42px;
    text-align: center;
}

/* Fix border overlap */
.lang-switch .btn:not(:last-child) {
    border-right: 0;
}


/* ===== Buttons (Global use) ===== */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #A93226; /* darker red */
    border-color: #A93226;
}

/* ===== Sections Helpers ===== */
.section-light {
    background-color: var(--light-bg);
}

.section-dark {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.text-muted {
    color: var(--gray-color) !important;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .logo {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .nav-link {
        margin-left: 10px;
        font-size: 14px;
    }
}
/* ===== Hero Section (Background Image Style) ===== */
.hero-section {
    position: relative;
    min-height: 85vh;
    background-image: url("../assets/images/hero.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;      /* vertical center */
    justify-content: center;  /* horizontal center */
    text-align: center;
    color: var(--white-color);
}

/* Dark Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.4),
        rgba(0,0,0,0.2)
    );
    z-index: 1;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: auto;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 35px;
    color: #e5e5e5;
}


/* RTL support */
[dir="rtl"] .hero-section {
    text-align: right;
}

[dir="rtl"] .hero-overlay {
    background: linear-gradient(
        to left,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.4),
        rgba(0,0,0,0.2)
    );
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        min-height: 75vh;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    [dir="rtl"] .hero-section {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }
}
/* ===== About Us Section ===== */
.about-section {
    padding: 80px 0; /* أقل شوية */
    background-color: var(--light-bg);
     margin-bottom: 30px;
}

/* Force row alignment */
.about-section .row {
    align-items: stretch;
}

/* Image wrapper */
.about-image-wrapper {
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text wrapper */
.about-text-wrapper {
    max-width: 520px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 👈 أهم سطر */
}

/* Title */
.section-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

/* Accent line */
.section-line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 12px 0 20px;
}

/* Subtitle */
.section-subtitle {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
}
.about-text {
    margin-bottom: 14px;
}

/* Text */
.about-text {
    font-size: 16px;
    line-height: 1.85;
    color: var(--gray-color);
}

/* Highlight */
.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* Desktop spacing */
@media (min-width: 992px) {
    .about-text-wrapper {
        padding-left: 40px;
    }
}

/* RTL */
[dir="rtl"] .about-text-wrapper {
    padding-left: 0;
    padding-right: 40px;
    text-align: right;
}

[dir="rtl"] .section-line {
    margin-left: auto;
}

/* Mobile */
@media (max-width: 991px) {
    .about-section {
        padding: 60px 20px;
    }

    .about-text-wrapper {
        max-width: 100%;
        padding: 0;
        margin-top: 30px;
        text-align: center;
    }

    .section-line {
        margin: 15px auto 20px;
    }
}

/* ===== Sectors We Serve Section ===== */
.sectors-section {
    padding: 90px 0;
    background-color: var(--white-color);
        margin-bottom: 30px;

}

/* Description */
.section-description {
   font-size: 16.5px;
    color: var(--gray-color);
    line-height: 1.9;
}

/* Card */
.sector-card {
    height: 100%;
    background-color: var(--light-bg);
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.sector-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Image placeholder */
.sector-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.sector-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text */
.sector-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 20px 15px 10px;
    color: var(--secondary-color);
}

.sector-card p {
    font-size: 15.5px;
    line-height: 1.75;
}

/* Responsive */
@media (max-width: 991px) {
    .sectors-section {
        padding: 70px 20px;
    }
}

@media (max-width: 576px) {
    .sector-image {
        height: 160px;
    }
}

/* ===== Our Clients Section ===== */
.clients-section {
    padding: 90px 0;
    background-color: var(--light-bg);
}

/* Logo box */
.client-logo {
    background-color: var(--white-color);
    border-radius: 14px;
    padding: 25px;
    height: 120px; /* كان 100 */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo img {
    max-width: 100%;
    max-height: 75px; /* كان 60 */
    filter: grayscale(100%);
    opacity: 0.75;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .client-logo {
        height: 100px;
        padding: 18px;
    }

    .client-logo img {
        max-height: 60px;
    }
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 90px 0;
    background-color: var(--white-color);
}

.contact-description {
    font-size: 16px;
    color: var(--gray-color);
    margin-bottom: 25px;
    line-height: 1.8;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 12px;
    font-size: 15.5px;
    color: var(--secondary-color);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-form-wrapper {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.contact-form-wrapper .form-control {
    border-radius: 10px;
    padding: 12px 15px;
}
/* ===== Footer ===== */
.footer {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 70px 0 30px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 15px;
}

.footer-text {
    font-size: 14.5px;
    color: #ccc;
    line-height: 1.7;
}

.footer-title {
    font-size: 17px;
    margin-bottom: 15px;
    color: var(--white-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 40px;
    font-size: 13px;
    color: #aaa;
}
.contact-map iframe {
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
    color: #fff;
}

/* RTL fix */
[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 25px;
}

/* Mobile */
@media (max-width: 576px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
    }
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#submitBtn {
    position: relative;
    min-width: 160px;
}

.btn-loader {
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    display: none;
    animation: spin 0.8s linear infinite;
}

#submitBtn.loading .btn-text {
    display: none;
}

#submitBtn.loading .btn-loader {
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}



