@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ===== Core Design System ===== */
:root {
    --primary-color: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --secondary-color: #0d9488;
    --accent-gold: #c5a059;
    --text-main: #111827;
    --text-muted: #4b5563;
    --text-on-primary: #ffffff;
    --bg-main: #ffffff;
    --bg-soft: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --border-soft: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.rtl {
    direction: rtl;
    font-family: 'Outfit', 'Segoe UI', Tahoma, Arial, sans-serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Header Top Bar ===== */
.header-top {
    background: var(--primary-dark);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.8rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-info {
    display: flex;
    gap: 1.5rem;
}

.header-top-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== Premium Header ===== */
.header {
    background: #fff;
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-img {
    height: 48px;
    width: auto;
}

.company-name {
    display: none;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
    position: relative;
    display: flex;
}

.search-bar input {
    width: 100%;
    padding: 0.75rem 1.25rem;
    padding-right: 3rem;
    border: 2px solid var(--border-soft);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-bar button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    aspect-ratio: 1;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-bar button:hover {
    background: var(--primary-dark);
}

.rtl .search-bar input {
    padding-right: 1.25rem;
    padding-left: 3rem;
}

.rtl .search-bar button {
    right: auto;
    left: 0;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.header-nav {
    background: var(--bg-main);
    border-top: 1px solid var(--border-soft);
    position: relative;
    z-index: 999;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-list>li {
    position: relative;
}

.nav-list>li>a {
    display: block;
    padding: 1.25rem 1.5rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-list .has-dropdown>a {
    padding-right: 2.5rem;
}

.rtl .nav-list .has-dropdown>a {
    padding-right: 1.5rem;
    padding-left: 2.5rem;
}

.nav-list .has-dropdown>a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8rem;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.rtl .nav-list .has-dropdown>a::after {
    right: auto;
    left: 1.25rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 260px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-soft);
    z-index: 1001;
}

.nav-list .has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-list .has-dropdown:hover>a::after {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.dropdown-menu a:hover {
    background: #f8fafc;
    color: var(--primary-color);
    padding-left: 1.75rem;
}

.rtl .dropdown-menu a:hover {
    padding-left: 1.5rem;
    padding-right: 1.75rem;
}

.rtl .dropdown-menu {
    left: auto;
    right: 0;
}

.nav-list>li>a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 3px 3px 0 0;
}

.nav-list>li>a:hover,
.nav-list>li>a.active {
    color: var(--primary-color);
}

.nav-list>li>a:hover::before,
.nav-list>li>a.active::before {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.lang-switch {
    display: flex;
    background: var(--bg-soft);
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-soft);
}

.lang-btn {
    padding: 0.5rem 0.75rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    color: var(--text-muted);
}

.lang-btn.active {
    background: var(--bg-main);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

/* Mobile Toggler */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

@media (max-width: 992px) {
    .header-top {
        display: none;
    }

    .header-content {
        padding: 0.75rem 0;
        min-height: 70px;
    }

    .search-bar {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .header-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        height: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-md);
        z-index: 999;
        border-top: 1px solid var(--border-soft);
    }

    .header-nav.active {
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-list {
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--border-soft);
        position: static;
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list>li>a {
        padding: 1.25rem 0;
        font-size: 1.1rem;
    }

    .nav-list .has-dropdown>a {
        padding-right: 3rem;
    }

    .nav-list>li>a::before {
        display: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-bottom: 1rem;
        transform: none;
        min-width: 100%;
        background: #f9fafb;
        border-radius: var(--radius-md);
    }

    .has-dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-list .has-dropdown>a::after {
        right: 0.5rem;
    }

    .rtl .nav-list .has-dropdown>a::after {
        right: auto;
        left: 0.5rem;
    }

    .dropdown-menu a {
        padding: 0.875rem 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .dropdown-menu a:last-child {
        border-bottom: none;
    }

    .nav-list .has-dropdown:hover .dropdown-menu {
        display: none;
    }

    .has-dropdown.active>a::after {
        transform: translateY(-50%) rotate(180deg);
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: scale(1.1);
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

.rtl .whatsapp-float {
    right: auto;
    left: 30px;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/banner/car-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 12rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.85;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
}

/* ===== Premium Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--bg-main);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-premium);
    background: var(--bg-soft);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

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

.btn-light:hover {
    background: #f3f4f6;
}

/* ===== Parent Company ===== */
.parent-company {
    background: #f1f5f9;
    padding: 15px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-soft);
}

/* ===== Grid Sections (WhatsApp, Cards) ===== */
.section-padding {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.whatsapp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.whatsapp-card {
    background: var(--bg-main);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.whatsapp-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary-light);
}

.whatsapp-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.whatsapp-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.whatsapp-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.whatsapp-link:hover {
    background: #20ba5a;
}

/* ===== Highlights Section ===== */
.highlights {
    padding: 60px 20px;
    background: var(--bg-light);
}

.highlights h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-card {
    text-align: center;
}

.highlight-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.highlight-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.highlight-card p {
    color: var(--text-light);
}

/* ===== Services Preview ===== */
.services-preview {
    padding: 60px 20px;
    background: var(--bg-white);
}

.services-preview h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card-img {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-card-img img {
    transform: scale(1.1);
}

.service-card-body {
    padding: 2rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-card:hover {
    box-shadow: var(--shadow-premium);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

/* Category Grid like Youmats */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
    border: 1px solid var(--border-soft);
}

.category-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateY(-5px);
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card h4 {
    font-size: 1rem;
    font-weight: 600;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== CTA Section ===== */
.cta {
    background: var(--primary-color);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===== Premium Footer ===== */
.footer {
    background: #111827;
    color: white;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-light);
}

.rtl .footer-section h4::after {
    left: auto;
    right: 0;
}

.footer-section p {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-section ul a:hover {
    color: white;
    padding-left: 0.5rem;
}

.rtl .footer-section ul a:hover {
    padding-left: 0;
    padding-right: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Page Sections ===== */
.page-header {
    background: linear-gradient(135deg, #1e40af 0%, #0f766e 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.page-content {
    padding: 60px 20px;
}

.content-section {
    max-width: 1000px;
    margin: 0 auto 40px;
}

.content-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

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

/* ===== Animations ===== */
.revealed {
    animation: revealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-card,
.highlight-card,
.service-card {
    opacity: 0;
}

/* Detailed Pages */
.detailed-service-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.service-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 991px) {
    .service-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.service-image {
    width: 100%;
}

.service-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
}

.service-main-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-main-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.service-sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card-detailed {
    background: var(--bg-soft);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    transition: var(--transition);
}

.service-card-detailed:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-premium);
    background: #fff;
}

.service-card-detailed .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card-detailed h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.service-card-detailed p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ===== Responsive Fixes ===== */
@media (max-width: 1024px) {
    .nav-list {
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0.75rem 0;
    }

    .nav {
        display: none;
        /* Hide for mobile till toggle added */
    }

    .hero {
        padding: 6rem 1rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .whatsapp-grid,
    .highlights-grid,
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* ===== Utility Classes ===== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 1.25rem;
}

.mb-20 {
    margin-bottom: 1.25rem;
}

.success-message,
.error-message {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

.success-message {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #10b981;
}

.error-message {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.product-card {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-soft);
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary-light);
    background: var(--bg-main);
}

.product-card-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 2rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    transition: var(--transition);
}

.product-card:hover .product-card-img {
    border-color: var(--primary-light);
    transform: scale(1.05);
}

.product-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.product-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.product-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.product-card ul {
    list-style: none;
    text-align: left;
    border-top: 1px solid var(--border-soft);
    padding-top: 1.5rem;
}

.product-card li {
    padding: 0.4rem 0;
    color: var(--text-main);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.product-card li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

.product-card a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

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

.rtl .product-card li::before {
    margin-right: 0;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Page Specific Layouts ===== */

/* About Page */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.mv-card {
    background: var(--bg-soft);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--primary-color);
}

.mv-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.location-card {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 2rem;
    background: var(--bg-main);
    transition: var(--transition);
}

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

.location-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    padding: 1.5rem;
    background: var(--bg-main);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* Projects Page */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid var(--border-soft);
    transition: var(--transition);
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary-light);
    background: var(--bg-main);
}

.project-tag {
    background: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.project-card h3 {
    color: var(--text-main);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-soft);
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Clients Page */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-category {
    background: var(--bg-soft);
    padding: 3.5rem 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-soft);
    transition: var(--transition);
}

.client-category:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    background: var(--bg-main);
    border-color: var(--primary-light);
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.client-category h3 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.client-category p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Career Page */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--bg-soft);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-soft);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary-light);
    background: var(--bg-main);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    color: var(--text-main);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.career-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
}

.career-box h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.career-box p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.career-box .btn-primary {
    background: #fff;
    color: var(--primary-color);
}

.career-box .btn-primary:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: scale(1.05);
}

/* Vendor Page */
.vendor-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}

.path-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.path-step::after {
    content: '';
    position: absolute;
    left: 21px;
    top: 50px;
    width: 2px;
    height: calc(100% - 20px);
    background: var(--border-soft);
}

.path-step:last-child::after {
    display: none;
}

.step-num {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    z-index: 1;
}

.step-content h4 {
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.vendor-form-container {
    background: var(--bg-soft);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.contact-card {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 2rem;
    background: var(--bg-soft);
    transition: var(--transition);
}

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

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-form {
    background: var(--bg-soft);
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 900px;
    margin: 0 auto;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form button {
    width: 100%;
    margin-top: 1rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.hours-card {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    background: var(--bg-soft);
}

/* Shared RTL Fixes */
.rtl .path-step::after {
    left: auto;
    right: 21px;
}

.rtl .mv-card {
    border-left: none;
    border-right: 5px solid var(--primary-color);
}

/* Shared Responsive Fixes */
@media (max-width: 992px) {
    .vendor-grid {
        grid-template-columns: 1fr;
    }

    .path-step::after {
        display: none;
    }

    .path-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .mv-grid,
    .projects-grid,
    .clients-grid,
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }
}