:root {
    --p: #FF6B00;
    --pd: #e55a00;
}

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

body {
    font-family: 'Tajawal', sans-serif;
    background: #f8f9fc;
    color: #1a1a1a;
    overflow-x: hidden;
}

header {
    background: #fff;
    padding: 18px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar {
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 900;
}

.logo span {
    color: var(--p);
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #0c1544 ;
    font-weight: 600;
    font-size: 17px;
    transition: .3s;
}

.nav-links a:hover {
    color: var(--p);
}

.login-btn {
    background: var(--p);
    color: #fff;
    padding: 11px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    color: var(--p);
    cursor: pointer;
}

/* السايد بار الجانبي للموبايل */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100vh;
    background: #fff;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
    padding: 90px 30px 40px;
    transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    display: block;
    padding: 16px 0;
    font-size: 19px;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: .3s;
    text-decoration: auto;
}

.mobile-nav a:hover {
    color: var(--p);
    padding-right: 20px;
}

.mobile-nav .login-btn {
    display: inline-block;
    margin-top: 30px;
    text-align: center;
    width: 100%;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: .4s;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* باقي الستايل السابق (Hero، Filters، Cards…) */
.page-hero {
    background: linear-gradient(rgba(255, 107, 0, 0.88), rgba(255, 107, 0, 0.92)), url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?w=1600') center/cover;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

.page-hero h1 {
    font-size: 52px;
    margin-bottom: 16px;
}

.filters-bar {
    background: #fff;
    padding: 30px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin: -60px auto 60px;
    max-width: 1350px;
    border-radius: 20px;
    position: relative;
    z-index: 10;
}

.search-box {
    display: flex;
    gap: 15px;
    max-width: 800px;
    margin: auto;
    flex-wrap: wrap;
    justify-content: center;
}

.search-input,
.filter-select {
    padding: 16px 24px;
    border: 2px solid #eee;
    border-radius: 50px;
    font-size: 17px;
}

.search-btn {
    background: var(--p);
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

.suppliers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 35px;
    max-width: 1400px;
    margin: auto;
    padding: 0 20px 50px;
}

.supplier-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transition: 0.5s ease;
}

.supplier-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 70px rgba(255, 107, 0, 0.25);
}

.card-img {
    height: 220px;
    background: linear-gradient(135deg, var(--p), #ff8c33);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img img.logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 8px solid #fff;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.card-body {
    padding: 30px;
    text-align: center;
}

.card-body h3 {
    font-size: 26px;
    margin: 12px 0;
}

.specialization {
    background: var(--p);
    color: #fff;
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 15px;
    margin: 12px 0;
    display: inline-block;
}

.rating {
    color: #f39c12;
    font-size: 18px;
    margin: 10px 0;
}

.btn-view {
    background: var(--p);
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
}

.btn-view:hover {
    background: var(--pd);
}

@media(max-width:992px) {
    .menu-toggle {
        display: block;
    }

    .nav-links,
    .login-btn {
        display: none;
    }

    .page-hero h1 {
        font-size: 42px;
    }
}

@media(max-width:768px) {
    .search-box {
        flex-direction: column;
        align-items: center;
    }

    .search-input,
    .filter-select {
        width: 100%;
        max-width: 400px;
    }

    .suppliers-grid {
        grid-template-columns: 1fr;
    }
}

:root {
    --p: #FF6B00;
    --pd: #e55a00;
    --gray: #f8f9fa;
    --text: #1a1a1a;
}

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

body {
    font-family: 'Tajawal', sans-serif;
    background: #fff;
    color: var(--text);
    line-height: 1.7;
}



.navbar {
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--text);
}

.logo span {
    color: var(--p);
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

/* .nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 17px;
    transition: .3s;
}
 */
.nav-links a:hover {
    color: var(--p);
}

.login-btn {
    background: var(--p);
    color: #fff;
    padding: 11px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    color: var(--p);
    cursor: pointer;
}

.hero {
    padding: 90px 20px;
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-slider {
    position: relative;
    height: 540px;
    /*   border-radius: 22px; */
    overflow: hidden;

}

.slide {
    /*    position: absolute; */
    inset: 0;
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
}

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

.slide.active {
    opacity: 1;
}

.orange-shape {
    position: absolute;
    top: -90px;
    right: -90px;
    width: 380px;
    height: 380px;
    background: var(--p);
    border-radius: 50%;
    opacity: 0.88;
    z-index: -1;
}

.hero-content h1 {
    font-size: 54px;
    line-height: 1.25;
    margin-bottom: 24px;
    color: #0c1544;
}

.hero-content h1 span {
    color: var(--p);
}

.hero-content p {
    font-size: 20px;
    color: #555;
    max-width: 620px;
}

.suppliers-section {
    padding: 110px 20px;
    background: linear-gradient(135deg, #fdfdfd 0%, #f1f5f9 100%);
}

.container {
    max-width: 1400px;
    margin: auto;
    text-align: center;
}

.section-title {
    font-size: 44px;
    margin-bottom: 18px;
    color: var(--text);
}

.section-subtitle {
    font-size: 21px;
    color: #666;
    margin-bottom: 70px;
}

.suppliers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

.supplier-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.supplier-card:hover {
    transform: translateY(-18px);
    box-shadow: 0 30px 70px rgba(255, 107, 0, 0.22);
}

.card-header {
    height: 190px;
    background: url(./cover.png) !important;
    background-size: cover;
    position: relative;
    background-repeat: no-repeat;
    background-position: top;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-header img.logo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 7px solid #fff;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo img {
    width: 103px;
    margin-top: 15px;
    position: relative;
    top: 2px;

}

.card-body {
    padding: 28px;
}

.card-body h3 {
    font-size: 25px;
    margin: 12px 0;
    color: var(--text);
}

.specialization {
    background: var(--p);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 15px;
    display: inline-block;
    margin: 10px 0 15px;
}

.card-body p {
    color: #666;
    font-size: 16px;
    height: 70px;
    overflow: hidden;
    margin-bottom: 22px;
}

.btn-more {
    background: var(--p);
    color: #fff;
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: .3s;
}

.btn-more:hover {
    background: var(--pd);
    transform: scale(1.07);
}

.load-more-btn {
    background: var(--p);
    color: #fff;
    padding: 18px 60px;
    border: none;
    border-radius: 50px;
    font-size: 19px;
    font-weight: bold;
    cursor: pointer;
    transition: .4s;
}

.load-more-btn:hover {
    background: var(--pd);
    transform: scale(1.1);
}

.chat-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--p);
    color: #fff;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.45);
    font-size: 30px;
    z-index: 999;
    text-decoration: none;
}

.svg-rotate {
    animation: wiggle 2.8s ease-in-out infinite;
    transform-origin: center;
}

@keyframes wiggle {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(0.5deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-1.5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/*     .slide {
    position: unset !important;
} */

.modern-suppliers {
    padding: 60px 0;
}

.suppliers-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    padding: 52px;
}

.supplier-modern-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    /*  box-shadow: 0 8px 22px rgba(0,0,0,0.08); */
    transition: 0.3s ease;
}

.supplier-modern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 32px rgba(0, 0, 0, 0.12);
}

.supplier-modern-card .cover img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.profile-pic {
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
}

.profile-pic img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 5px solid #fff;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.info {
    text-align: center;
    padding: 70px 20px 25px;
}

.info h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.info .specialization {
    color: #ffffffff;
    font-size: 0.9rem;
}

.rating {
    margin: 12px 0;
    font-size: 1rem;
    color: #444;
    font-weight: bold;
}

.btn-modern {
    display: inline-block;
    padding: 10px 22px;
    background: #0c1544;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.25s;
}

.btn-modern:hover {
    opacity: 0.9;
}

.load-modern-btn {
    margin: 40px auto 0;
    display: block;
    padding: 19px 83px;
    font-size: 1rem;
    border-radius: 30px;
    border: none;
    background: #ff6b00;
    color: #fff;
    cursor: pointer;
    transition: 0.25s;
}

.load-modern-btn:hover {
    background: #111;
}



@media(max-width:992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-slider {
        height: 420px;
        margin: auto;
    }

    .hero-content h1 {
        font-size: 33px !important;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links,
    .login-btn {
        display: none;
    }

    .logo img {
        width: 119px;
        margin-top: 15px;
        position: relative;
        top: 2px;
    }

}

/* ====================== Innovative Suppliers Grid - تصميم 2025 النظيف والمبتكر ====================== */

.innovative-suppliers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto 80px;
}

.innovative-supplier-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.innovative-supplier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05) 0%, rgba(255, 107, 0, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.innovative-supplier-card:hover::before {
    opacity: 1;
}

.innovative-supplier-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.18);
}

.card-logo {
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.card-logo img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: contain;
    padding: 8px;
    background: #fff;
    border: 3px solid #f8f9fc;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.card-info {
    position: relative;
    z-index: 1;
}

.card-info h3 {
    font-size: 23px;
    margin: 0 0 10px;
    color: #1a1a1a;
    font-weight: 700;
}

.specialization {
    display: block;
    font-size: 15px;
    color: #666;
    margin-bottom: 14px;
    font-weight: 500;
}

.rating {
    font-size: 17px;
    color: #ff6b00;
    margin-bottom: 24px;
    font-weight: 600;
}

.btn-innovate {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 13px 34px;
    background: #ff6b00;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-innovate:hover {
    background: #e55a00;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

.load-innovate-btn {
    display: block;
    margin: 40px auto 0;
    padding: 18px 60px;
    background: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-innovate-btn:hover {
    background: #e55a00;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .innovative-suppliers-grid {
        gap: 40px;
        padding: 0 15px;
    }
}

@media (max-width: 600px) {
    .innovative-suppliers-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .innovative-supplier-card {
        padding: 35px 20px;
    }
}

/* ====================== Filters Section - أنيقة ومتجاوبة ====================== */
.filters-section {
    padding: 40px 20px;
    background: linear-gradient(to bottom, #fdfdfd, #f8f9fc);
}

.filters-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.filter-input,
.filter-select {
    padding: 16px 24px;
    border: 2px solid #eee;
    border-radius: 50px;
    font-size: 17px;
    min-width: 280px;
    background: #fff;
    transition: border-color 0.3s ease;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #ff6b00;
}

.filter-btn {
    background: #ff6b00;
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-btn:hover {
    background: #e55a00;
    transform: translateY(-2px);
}

/* Responsive للفلاتر */
@media (max-width: 768px) {
    .filters-wrapper {
        flex-direction: column;
    }

    .filter-input,
    .filter-select {
        min-width: 100%;
        max-width: 400px;
    }

    .filter-btn {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    border-radius: 0;
    padding: 40px;
    max-width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFade 0.4s ease;
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: scale(0.9)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 36px;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.about-hero {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8a33 100%);
    color: white;
    text-align: center;
    padding: 140px 20px 100px;
    position: relative;
    overflow: hidden;
}

.about-hero h1 {
    font-size: 56px;
    margin: 0 0 30px;
    font-weight: 900;
}

.about-hero p {
    font-size: 24px;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.section {
    padding: 100px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section:nth-child(even) {
    background: #f8f9fc;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section h2 {
    font-size: 44px;
    color: #0c1544;
    margin-bottom: 30px;
    text-align: center;
}

.section p {
    font-size: 20px;
    line-height: 2;
    color: #555;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.4s;
}

.value-card:hover {
    transform: translateY(-15px);
}

.value-card i {
    font-size: 48px;
    color: #ff6b00;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #0c1544;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    color: #ff6b00;
    margin: 0;
    font-weight: 900;
}

.stat-item p {
    font-size: 20px;
    color: #0c1544;
    margin: 10px 0 0;
}

.partners-carousel {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
}

.partner-logo {
    width: 180px;
    height: 120px;
    object-fit: contain;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.btn-sec {
    background-color: #0c1544 !important;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    color: #ffffff !important;
}

.counter {
    font-size: 48px;
    font-weight: 900;
    color: #ff6b00;
}



.swiper-wrapper {
    position: relative !important;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    box-sizing: content-box !important;
    align-items: center !important;
    justify-content: center !important;
}

.swiper-slide div a div {
    display: flex !important;
    max-width: max-content !important;
    width: auto !important;
    height: auto !important;
    max-height: unset !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    border-radius: unset !important;
    overflow: unset !important;
}
.swiper-slide div a div img {
 width: 140px !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 16px !important;
}.swiper-slide div a {
    display: flex !important;
    justify-content: center;
    align-items: center;
}






.hero-slider-container::before {
    content: "";
    position: absolute;
    top: -75px;
    right: -67px;
    width: 45%;
    height: 46%;
    border-radius: 90%;
    background: #ff6b00;
    z-index: 6;
}.hero-slider-container {
    position: relative;
    border-radius: 0 !important;
    overflow: hidden;
}
.hero-slide {
    z-index: 999 !important;
    position: inherit !important;
}
.cover_images img {
    width: 100%;
    height: 174px;
    object-fit: cover;
}

.cover_images {
    position: absolute;
    left: 0;
    right: 0;
}

.partner-logo {
    margin-top: 69px !important;
}



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

    .about-hero h1 {
        font-size: 42px;
    }

    .about-hero p {
        font-size: 20px;
    }

    .section h2 {
        font-size: 36px;
    }
}





@media(max-width:600px) {
    .hero-content h1 {
        font-size: 25px;
    }

    .suppliers-grid {
        grid-template-columns: 1fr;
    }
}