/* ========== Tajawal Arabic ========== */
@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal/Tajawal-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal/Tajawal-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal/Tajawal-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ========== Poppins English ========== */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins/Poppins-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins/Poppins-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins/Poppins-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins/Poppins-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html[lang="ar"] body {
    font-family: "Tajawal", "Segoe UI", sans-serif;
    direction: rtl;
    text-align: right;
}

html[lang="en"] body {
    font-family: "Poppins", "Segoe UI", sans-serif;
    direction: ltr;
    text-align: left;
}

/* اختيارياً: تحسين المظهر في العناوين */
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4 {
    font-weight: 700;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4 {
    font-weight: 600;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

:root {
    /* Color Palette */
    --color-primary: #01103b;
    --color-primary-light: #007a8c;
    --color-accent: #00afc1;
    --color-text: #1e1e1e;
    --color-text-light: #6c757d;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-highlight: #f7941d;
    --color-transparent: transparent;
    --primary: #0d6efd;
    --dark: #0b1c2d;
    --gray: #6c757d;
    --light: #f8f9fa;
    --border: #e5e7eb;

    /* Typography */
    --font-arabic-main: "Tajawal", sans-serif;
    --font-english-main: "Poppins", sans-serif;

    /* Optional UI variables */
    --shadow-soft: 0 4px 10px rgba(0, 0, 0, 0.336);
    --radius-lg: 16px;
    --transition-fast: 0.3s ease;

    --card-w: 360px;
    --card-h: 470px;
    --card-radius: 24px;
    --bg-card: #1e2b3e;
    --text-color: #eef6ff;
}

body {
    font-family: var(--font-english-main);
    background: #fcfdfd;
}

a {
    text-decoration: none;
}

p {
    color: #6c757d;
}

.text-white p {
    color: #e8e8e8;
}

/* 
******************************
********* Loader style *********
******************************
*/
.loader-wrapper {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 6px solid #e0e0e0;
    border-top-color: #0d556d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-wrapper.fade-out {
    opacity: 0;
    pointer-events: none;
}

.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;

    padding: 0;
    color: #fff;

    background: transparent;

    /* Performance-friendly transition */
    transition:
        background-color 0.5s ease,
        backdrop-filter 0.5s ease;
}

/* حالة السكروول */
.main-header.scrolled {
    background: linear-gradient(
        to bottom right,
        rgb(1 16 59 / 84%),
        rgb(0 7 28 / 94%)
    );

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo {
    width: 80px;
    height: auto;
    aspect-ratio: 774 / 788;
}

.logoAR {
    transform: rotateY(180deg);
}

.brand-name {
    font-weight: bold;
    color: #fff;
    width: 60px;
    font-size: 22px;
    margin-bottom: 0;
    margin-top: 6px;
    white-space: wrap;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: start;
    gap: 10px;
}

.nav-link {
    color: var(--color-white) !important;
    font-size: 16px;
    font-weight: 500 !important;
    position: relative;
    transition: all 0.5s ease;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #87ceeb;
    transition: width 0.35s ease;
}

.navbar-nav .active::after,
.nav-link:hover::after {
    width: 100%;
}

.navbar-nav .active,
.nav-link:hover {
    color: #87ceeb !important;
}

.nav-item.dropdown>.nav-link::after {
    display: none;
    /* عشان ما يتعارض مع السهم */
}

.dropdown-toggle::after {
    margin-left: 0.4rem;
    vertical-align: 0.15em;
    border-top: 0.4em solid;
    border-right: 0.4em solid transparent;
    border-left: 0.4em solid transparent;
    transition: transform 0.3s ease;
}

.show>.dropdown-toggle::after {
    transform: rotate(180deg);
}

[dir="rtl"] .dropdown-toggle::after {
    margin-left: 0;
    margin-right: 0.4rem;
}

.dropdown-menu li a {
    color: var(--color-white) !important;
    font-size: 16px;
    font-weight: 500 !important;
    position: relative;
    transition: all 0.5s ease;
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: #fff !important;
    background: #003343;
}

.btn-lang {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-weight: 500;
    padding: 5px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 100%;
    min-width: 100%;
    transition: all 0.5s ease;
}

#btnProfile{
    background: #ff6f00;
    border-radius: 8px;
    padding: 7px 20px;
}

.btn-lang:hover {
    background: rgba(255, 255, 255, 0.236);
}

.btn-lang i {
    font-size: 16px;
}

.btn-lang span {
    font-size: 16px;
    margin: 0;
    padding: 0;
    margin-top: 3px;
}

.navbar-toggler {
    border: none;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar .spans {
    width: 40px;
}

.navbar .spans span {
    display: inline-block;
    height: 3px;
    background: var(--color-bg);
}

.navbar .spans .span1 {
    width: 90%;
}

.navbar .spans .span2 {
    width: 60%;
}

.navbar .spans .span3 {
    width: 30%;
}





/* ================= Modern Cookie Consent ================= */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 95%;
    max-height: 200px;
    background: rgba(255, 255, 255, 0.98); /* شفافية بسيطة تعطي لمسة عصرية */
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: cookieSlideIn 0.6s ease-out;
}

.cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: right;
    direction: rtl;
}

.cookie-icon {
    font-size: 24px;
}

.cookie-banner p {
    margin: 0;
    color: #444;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
}

.cookie-banner button {
    background: #1a1a1a; /* لون داكن احترافي أو استخدم لون البراند الأحمر */
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-banner button:hover {
    background: #bd0000; /* يتحول للون البراند عند الهوفر */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(189, 0, 0, 0.3);
}

.hide-banner {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
}

@keyframes cookieSlideIn {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
        border-radius: 16px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}


/* 
******************************
********* about style *********
******************************
*/

#about {
    padding: 150px 0 !important;
    background: #f8f9fa;
    position: relative;
}

.about-images {
    position: relative;
    display: flex;
}

.about-images .main-img {
    width: 90%;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    margin: auto;
    z-index: 4;
}

.about-images .small-img {
    position: absolute;
    border-radius: 15px;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    width: 30%;
    object-fit: cover;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

.about-images .small-img:hover {
    transform: scale(1.05);
}

.about-images .small-img-1 {
    top: -15%;
    right: 0%;
}

.about-images .small-img-2 {
    bottom: -15%;
    left: -20px;
}

.icon-circle-blue {
    width: 200px;
    height: 200px;
    background-image: url("../image/circle-blue.png");
    background-position: center;
    background-size: cover;
    opacity: 0.5;
    left: -40px;
    top: -70px;
    animation: spin 30s linear infinite;
}

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

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

section h2 {
    font-size: 36px;
    color: #01103b;
    position: relative;
    padding-bottom: 10px;
}

section h2::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, #01103b, #9c4100);
    border-radius: 2px;
}

section .about-paragraph {
    font-size: 18px;
    line-height: 1.25;
}

section .about-paragraph p{
    color: #00071C;
}

#about .about-paragraph strong {
    color: #9c4100;
}

#about .stats .stat h3 {
    color: #9c4100;
    font-size: 28px;
    font-weight: bold;
}

#about .stats .stat p {
    color: #666;
    font-size: 15px;
}

/* RTL دعم */
html[lang="ar"] #about h2::after {
    left: auto;
    right: 0;
}

@media (max-width: 992px) {
    .about-images {
        margin-bottom: 40px;
    }

    .about-images .small-img-1,
    .about-images .small-img-2 {
        position: static;
        width: 35%;
    }

    .about-images {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    #about .icon-circle-blue {
        left: -107px;
        top: -183px;
    }
}

/* 
*****************************
****** portfolio style ******
*****************************
*/

#portfolio {
    background: #fff;
    text-align: center;
    padding: 40px 0;
}

#portfolio h2::after {
    left: 50%;
    transform: translate(-50%, 0);
}

#portfolio .pp{
    padding-top: 10px;
}

.portfolio-slider {
    width: 100%;
    padding: 20px 0 0;
}

.portfolio-card {
    background: linear-gradient(to bottom, #ffffff, #f1f1f155);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
}

.portfolio-card img,
.card-img-top img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.7s ease;
    max-width: 511px !important;
    max-height: 314px !important;
}

.portfolio-info {
    padding: 15px;
}

.portfolio-info h3,
.card-body h3 {
    color: #0d556d !important;
    font-size: 25px;
    font-weight: 700;
    min-height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* عدد السطور */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portfolio-info .content,
.card-body .desc {
    font-size: 15px;
    font-weight: 600;
    margin: 0;

    display: -webkit-box;
    -webkit-line-clamp: 2;   /* عدد السطور */
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: calc(1.6em * 3);
}

.portfolio-info .content p{
    color: #080808f5 !important;
    font-size: 17px;
}

.card-body .desc p{
    color: #080808f5 !important;
    font-size: 17px;
    margin-bottom: 0 !important;
}

.portfolio-info .content * {
    margin: 0;
}

.card-body .badgee {
    background: #ff6f00;
}

.pp-color {
    color: #f7941d !important;
    font-size: 18px;
    font-weight: 500;
}

.swiper-button-next,
.swiper-button-prev {
    color: #0d556d;
    background: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px;
}

.btn-Details {
    display: inline-block;
    align-self: center;
    background: linear-gradient(-200deg, #00071C, #01103B , #01195b);
    color: #fff;
    text-decoration: none;
    padding: 5px 30px;
    width: 180px;
    text-align: center;
    border-radius: 30px;
    margin-top: 10px;
    font-size: 20px;
    transition: 0.3s;
}

.btn-Details:hover {
    color: #fff;
    opacity: 0.85;
}

.portfolio-card:hover img {
    transform: scale(1.5);
}

/* 
******************************
******* services style *******
******************************
*/

#services {
    background-color: #fff;
    padding: 0px 0 !important;
    position: relative;
    overflow: hidden;
    padding: 70px 0 !important;
}

#services h2 {
    font-size: 38px;
    font-weight: 800;
    color: #0d556d;
    margin-bottom: 15px;
    text-transform: capitalize;
    position: relative;
}

#services h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #0d556d, #f97316);
    border-radius: 2px;
}

.text-end h2::after {
    left: auto;
    right: 0;
}

#services p {
    font-size: 16px;
    color: #777;
    line-height: 1.7;
}

#services .row {
    position: sticky;
    z-index: 3;
}

#services .col-md-4 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#services .mb-4 {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    padding: 25px 25px 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin-bottom: 0 !important;
}

#services .mb-4::after{
    content: "";
    position: absolute;
    inset: 0;
    background: #00071c7a;
    z-index: 1;
    border-radius: 10px;
}

#services .service-content{
    z-index: 2;
    position: relative;
}

#services .mb-4:hover {
    transform: translateY(-6px);
    border-color: #f97316;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

#services h5 {
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: capitalize;
}

#services ul {
    margin-top: 10px;
    list-style: none !important;
}

#services li {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

#services li::before {
    content: "★";
    font-size: 16px;
    color: #f97316;
    position: relative;
    top: -1px;
}

#services .icon-circle-blue {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: url("../image/circle-blue.png");
    background-position: center;
    background-size: cover;
    opacity: 0.5;
    right: -80px;
    top: 83%;
    animation: spin 25s linear infinite;
    z-index: 2;
}

#services .icon-circle-blue2 {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: url("../image/circle-blue.png");
    background-position: center;
    background-size: cover;
    opacity: 0.5;
    left: -70px;
    top: -70px;
    animation: spin 25s linear infinite;
    z-index: 2;
}

.btn-services {
    display: inline-block;
    align-self: center;
    background: linear-gradient(-200deg, #220e00, #8e3b00 , #f97316);
    color: #fff;
    text-decoration: none;
    padding: 5px 30px;
    text-align: center;
    border-radius: 30px;
    margin-top: 10px;
    font-size: 16px;
    transition: 0.3s;
    font-weight: 600;
}

.btn-services:hover {
    color: #fff;
    opacity: 0.8;
}

@media (max-width: 768px) {
    #services h2 {
        font-size: 28px;
    }

    #services .mb-4 {
        padding: 20px;
    }

    #services h5 {
        font-size: 18px;
    }

    #services .icon-circle-blue2 {
        left: 258px;
        top: -144px;
    }
}

/* 
*******************************
****** Exhibitions style ******
*******************************
*/

#exhibitions {
    position: relative;
    color: #fff;
    padding: 40px 0;
    z-index: 1;
    background: #fff;
}

#agreements #agreements{
    padding: 50px 0;
    background: #efefef64;
}

#agreements .portfolio-info{
    background: #fff
}

#exhibitions::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}

#exhibitions h2 {
    text-align: center;
    font-weight: 800;
    margin-bottom: 20px;
}

#exhibitions h2::after,
#agreements h2::after {
    left: 50%;
    transform: translate(-50%, 0);
}

#exhibitions .pp {
    text-align: center;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 28px;
}

.timeline {
    position: relative;
    margin: 3rem auto;
    width: 100%;
    max-width: 1000px;
    direction: ltr !important;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #ffffff;
    transform: translateX(-50%);
    opacity: 0.6;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 95px;
    width: 16px;
    height: 16px;
    background: #00afc1;
    border-radius: 50%;
    z-index: 10;
    border: 3px solid #fff;
}

.timeline-dot::before {
    content: "";
    position: absolute;
    top: 4px;
    width: 25px;
    height: 3px;
    background: #00afc1;
}

.timeline-item.left .timeline-dot {
    right: -8px;
}

.timeline-item.left .timeline-dot::before {
    right: 18px;
}

.timeline-item.right .timeline-dot {
    left: -8px;
}

.timeline-item.right .timeline-dot::before {
    left: 18px;
}

.timeline-content {
    background: #00ddff38;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    cursor: pointer;
    transform: translateY(-5px);
    box-shadow: 8px 8px 10px #00aec1e7, -8px -8px 10px #00aec1e7;
}

.event-title {
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    color: #fff;
}

.event-category {
    color: #f97316;
    text-align: center;
    font-weight: 500;
}

.event-date {
    font-size: 0.9rem;
    color: #aaa;
    text-align: center;
}

.event-info {
    font-size: 0.9rem;
    color: #ccc;
    flex-wrap: wrap;
    gap: 5px;
}

.timeline-content i {
    color: #f97316;
    font-size: 18px;
    margin-inline: 5px;
}

.buy-ticket-btn {
    display: inline-block;
    align-self: center;
    background: linear-gradient(-200deg, #003343, #007a8c, #00afc1);
    color: #fff;
    text-decoration: none;
    padding: 5px 30px;
    width: 180px;
    text-align: center;
    border-radius: 30px;
    margin-top: 10px;
    font-size: 20px;
    transition: 0.3s;
}

.buy-ticket-btn:hover {
    color: #ffffff;
    opacity: 0.85;
}

/* زر عرض الكل */
.view-all-btn {
    background: linear-gradient(-200deg, #003343, #007a8c, #00afc1);
    color: #fff;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 30px;
    transition: 0.3s;
    font-size: 20px;
}

.view-all-btn:hover {
    color: #fff;
    opacity: 0.85;
}

@media (max-width: 992px) {
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left;
        padding-left: 50px;
        padding-right: 20px;
    }

    .timeline::before {
        left: 25px;
    }

    .timeline-item .timeline-dot {
        left: 18px !important;
        right: auto !important;
    }

    .timeline-dot::before {
        display: none;
        /* نخفي الخط الجانبي في الموبايل لتجنب التشوه */
    }
}

/* 
***********************************
****** successPartners style ******
***********************************
*/

#partners {
    padding: 50px 0 100px !important;
    background-color: #fff;
}

#partners h2 {
    font-size: 35px;
    font-weight: bold;
    text-align: center;
    color: #0d556d;
}

#partners h2::after {
    left: 50%;
    transform: translate(-50%, 0);
}

#partners .section-subtitle {
    color: #004358;
}

.partners-sliders {
    display: flex;
    flex-direction: column;
    gap: 15px;
    direction: ltr !important;
}

.partners-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.partners-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll-right 30s linear infinite;
    transition: filter 0.4s ease;
}

.partners-slider[data-direction="left"] .partners-track {
    animation: scroll-left 30s linear infinite;
}

.partners-track img {
    max-width: 180px;
    max-height: 80px;
    padding: 5px;
    user-select: none;
    pointer-events: none;
    width: 160px;
    aspect-ratio: 160 / 133;
    object-fit: contain;
    transition: transform 0.9s ease, filter 0.9s ease;
}

.partners-slider:hover .partners-track {
    animation-play-state: paused;
    filter: brightness(1);
}

.partners-slider:hover img {
    pointer-events: auto;
}

.partners-track img:hover {
    transform: scale(1.05);
}

@keyframes scroll-right {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

@media (max-width: 992px) {
    #partners h2 {
        font-size: 28px;
    }

    .partners-track img {
        height: 70px;
    }

    .partners-track {
        gap: 15px;
        animation-duration: 45s;
    }
}

@media (max-width: 768px) {
    .partners-track {
        gap: 10px;
        animation-duration: 50s;
    }
}

@media (max-width: 480px) {
    .partners-track {
        animation-duration: 55s;
    }
}

/* 
*******************************
****** Exhibitions style ******
*******************************
*/

.video-section {
    background: #fff;
    position: relative;
    overflow-x: hidden;
}

.bg-section-video {
    position: absolute;
    height: 100%;
    width: 70%;
    top: -50px;
    left: -50px;
    object-fit: cover;
    opacity: 0.1;
}

#video h2::after {
    bottom: 1px;
    left: 50%;
    transform: translate(-50%, 0);
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.video-title {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 1.5rem;
}

.video-subtitle {
    color: #004358;
    font-weight: bold;
    padding: 10px 0 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px !important;
}

.video-text {
    max-width: 800px;
    line-height: 1.3;
    letter-spacing: 0.8px;
    color: #777;
}

.video-wrapper {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.video-poster {
    position: relative;
    cursor: pointer;
}

.video-poster img {
    width: 100%;
    display: block;
    height: 240px;
    filter: brightness(60%);
}

.video-poster i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 70px;
    border-radius: 50%;
    transition: 0.3s;
    animation: pulse 0.9s ease infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.video-section .shape {
    opacity: 0.2;
    position: absolute;
    top: -5%;
    right: 22%;
    animation: pulse2 1.09s ease infinite;
}

@keyframes pulse2 {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.4;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.2;
    }
}

.video-poster i:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* 
*******************************
****** contact style ******
*******************************
*/

#contact {
    position: relative;
    padding: 100px 0;
    background: #f9f9f9;
    overflow: hidden;
    font-family: "Noto Kufi Arabic", sans-serif;
}

#contact::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #0d556d20 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

#contact::after {
    content: "";
    position: absolute;
    bottom: -120px;
    right: -120px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #1a7a9920 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

#contact h2 {
    color: #0d556d;
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: 0.5px;
    padding-bottom: 10px;
}

#contact h2::after {
    left: 50%;
    transform: translate(-50%, 0);
}

#contact p {
    color: #6c757d;
}

#contact form {
    position: relative;
    z-index: 1;
}

#contact .p-4 {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

#contact .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

#contact .form-control:focus {
    border-color: #0d556d;
    box-shadow: 0 0 0 3px rgba(13, 85, 109, 0.1);
}

#contact button {
    background: linear-gradient(-200deg, #00071C, #01103B , #01195b) !important;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

#contact button:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

#contact .col-lg-6 h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0d556d;
}

#contact .col-lg-6>.p-4 {
    background: #fff;
}

#contact .bg-light {
    background: #f8f9fa;
    transition: all 0.3s ease;
}

#contact .bg-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#contact .bg-light i {
    font-size: 1.3rem;
}

/* بطاقة مواعيد العمل */
#contact .text-white {
    border-radius: 15px;
}

[dir="rtl"] #contact .text-start {
    text-align: right !important;
}

[dir="rtl"] #contact input,
[dir="rtl"] #contact textarea {
    text-align: right;
}

@media (max-width: 992px) {
    #contact {
        padding: 80px 0;
    }

    #contact h2 {
        font-size: 2rem;
    }

    #contact .p-4 {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    #contact button {
        font-size: 0.95rem;
    }
}

/* 
*******************************
******** blog sec style *******
*******************************
*/

#blog .blog-section{
    padding-top: 50px;
}

#blog h2::after {
    left: 50%;
    transform: translate(-50%);
}

#blog p{
    color: #00071ce4;
    font-weight: 500;
    margin-top: 0;
}

.swiper-button-next:after, .swiper-button-prev:after{
    font-family: swiper-icons;
    font-size: 25px;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    font-weight: 900;
}

#blog .blog-content h2{
    min-height: 100px;
    font-size: 25px;
    margin-bottom: 0;
}

#blog .blog-content h2::after{
    display: none;
}

#blog .swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    overflow-y: visible;
    list-style: none;
    padding: 0 15px 70px;
    z-index: 1;
    display: block;
}

/* خلي السلايد نفسه Stretch */
#blog .swiper-slide {
    height: auto;
    display: flex;
}

/* خلي الكارت يتمدد */
#blog .blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* خلي محتوى الكارت يتمدد */
#blog .blog-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* يخلي النص يتمدد وياخد المساحة */
#blog .blog-excerpt {
    flex-grow: 1;
}

/* يثبت زر اقرأ المزيد تحت */
#blog .read-more {
    margin-top: auto;
}

/* 
*******************************
****** footer style ******
*******************************
*/

.bg-footer {
    background: linear-gradient(to bottom right, #01103B, #00071C, #01103B);
}


/* Slightly faded text */
.text-white-80 {
    color: rgba(255, 255, 255, 0.8);
}

/* Subtle text color for footer note */
.text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

/* Social icon design */
.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #fff;
    color: #0d556d;
    transform: translateY(-3px);
}

footer h5 {
    position: relative;
    padding-bottom: 10px;
}

footer ul li a {
    color: #e0e0e0;
    font-family: Arial, Helvetica, sans-serif;
}

footer .footerDiv a {
    position: relative;
    padding-bottom: 7px;
    font-weight: 600;
}

footer .footerDiv a::before {
    content: "";
    position: absolute;
    left: -7px;
    bottom: 0;
    height: 0;
    width: 3px;
    background: #00bfdc;
    transition: all 0.5s;
}

footer .footerDiv a::after {
    content: "";
    position: absolute;
    left: -5px;
    bottom: 0;
    height: 3px;
    width: 0%;
    background: #00bfdc;
    transition: all 0.5s;
}

footer ul li a:hover {
    color: #00bfdc;
}

footer .footerDiv a:hover::before {
    height: 100%;
}

footer .footerDiv a:hover::after {
    width: 115%;
}

.footer-accordion-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;
    transition: color 0.3s;
}

.footer-accordion-btn:hover {
    color: #f97316;
    /* لون ذهبي مثلاً */
}

.footer-accordion-btn i {
    font-size: 14px;
    transition: transform 0.3s;
}

.footer-accordion-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.footer-accordion-body a {
    font-size: 14px;
    color: #ddd;
    transition: color 0.3s;
}

.footer-accordion-body a:hover {
    color: #fff;
}

.footer-link {
    text-decoration: underline !important;
    transition: all 0.7s;
}

.footer-link:hover {
    color: #fff;
}

/* 
*******************************
********* About page **********
*******************************
*/

.about-banner {
    min-height: 60vh;
    background: url("../image/about/main-img.jpg") center/cover no-repeat;
}

.about-banner .overlay {
    background: linear-gradient(to bottom right,
            rgba(2, 55, 72, 0.6),
            rgba(0, 0, 0, 0.53),
            rgba(118, 49, 0, 0.574));
}

.stats-section h2,
.why-us-section h2,
.team-section h2,
#partners h2 {
    text-align: center;
    padding-bottom: 10px;
}

.stats-section h2::after,
.why-us-section h2::after,
.team-section h2::after,
#partners h2::after {
    left: 50%;
    transform: translate(-50%, 0);
}

.stats-section {
    position: relative;
    background: linear-gradient(to bottom right, #001534, #0091bd);
    overflow: hidden;
}

.stats-bg-overlay {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../image/about/main-img.jpg") center/cover no-repeat;
    opacity: 0.199;
    z-index: 0;
}

.stats-section h2 {
    position: relative;
    color: #fff;
    font-size: 2rem;
    letter-spacing: 1px;
}

.stat-card {
    background: rgb(0 0 0 / 34%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s ease;
    backdrop-filter: blur(6px);
    border-radius: 10px;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    color: #fff;
    transition: 0.4s ease;
}

.stat-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
}

.stat-num {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
}

.stat-card i,
.stat-card h3,
.stat-card span{
    color: #00c4ff;
}

.stat-card p {
    color: #e2e2e2;
    margin-top: 8px;
    font-weight: 700;
    text-align: center;
    font-size: 18px !important;
}

.stats-section {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

/* Layer فوق الصورة */
.stats-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgb(0 0 0 / 17%), rgb(0 0 0 / 33%));
    z-index: 1;
}

/* خلي المحتوى فوق الـ overlay */
.stats-section .container {
    padding-block: 40px;
    position: relative;
    z-index: 2;
}

.why-us-section {
    position: relative;
    background-color: #f8f9fa;
}

.why-card {
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    border-radius: 10px;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.why-icon {
    background-color: #f47b1f2a;
}

.why-bg-circle {
    position: absolute;
    border-radius: 50%;
    background-image: url(../image/circle-blue.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    animation: spin 25s linear infinite;
    z-index: 0;
}

.why-bg-circle.circle1 {
    width: 150px;
    height: 150px;
    top: 2%;
    right: 15%;
}

.why-bg-circle.circle2 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: -40px;
}

.why-bg-circle.circle3 {
    width: 150px;
    height: 150px;
    bottom: 0%;
    right: 15%;
}

.why-number {
    font-weight: 600;
    color: #adb5bd;
}

.why-card .why-icon {
    height: 70px;
    width: 70px;
    border: 2px solid #f7941d;
    color: #f7941d;
}

.why-card h5 {
    color: #003343;
    margin-block: 10px !important;
}

.team-section {
    position: relative;
    background: #f9fbfc;
    overflow: hidden;
    padding-bottom: 100px !important;
}

.teamSwiper {
    padding: 20px 0 60px;
}

.team-card {
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 51, 67, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    padding: 20px 25px 40px;
    cursor: pointer;
}

.team-card img {
    border-radius: 20px;
    object-fit: contain;
    height: 270px;
    width: 70%;
    transition: transform 0.6s ease, box-shadow 0.3s ease;
}

.team-card img {
    box-shadow: 0 8px 25px rgba(244, 124, 31, 0.25);
}

.team-card h5 {
    font-size: 1.3rem;
    color: #003343;
    font-weight: 700;
    margin-top: 18px;
    transition: color 0.3s ease;
}

.team-card p {
    color: #f47c1f !important;
    font-size: 1rem;
    font-weight: 500;
}

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

.team-card::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle,
            rgba(244, 124, 31, 0.08),
            transparent 70%);
    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.team-card h5,
.team-card p {
    position: relative;
    z-index: 1;
}

.cta-overlay {
    background: #fff;
}

.cta-section h2 {
    color: #003343;
}

.cta-section h2::after {
    left: 50%;
    transform: translate(-50%, 0);
}

.cta-section p {
    color: #6b6b6b;
}

.cta-section .btn {
    display: inline-block;
    align-self: center;
    background: linear-gradient(-200deg, #00071C, #01103B , #01195b);
    color: #fff;
    text-decoration: none;
    padding: 5px 30px;
    text-align: center;
    border-radius: 30px;
    margin-top: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none !important;
}

.cta-section .btn:hover {
    color: #fff;
    opacity: 0.8;
}


@media (max-width: 768px) {
    .stat-num {
        font-size: 2rem;
    }

    .stat-card p {
        text-wrap: wrap;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
    }

    .team-card {
        padding: 15px 20px 35px;
    }
}


#main-content .loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-size: 30px;
    font-weight: bold;
    color: #003343;
}


/* 
*******************************
********* services page **********
*******************************
*/

.inner-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 140px 0;
    color: #fff;
}

.inner-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.inner-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.inner-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* 💼 Elevate Section */
.elevate-section {
    background-color: #fff;
}

.elevate-section h6 {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #f47c1f;
}

.elevate-section h2 {
    font-size: 30px;
    line-height: 1.3;
}

.elevate-section p {
    line-height: 1.8;
}

/* 🖼️ Images Grid */
.images-grid {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    border-radius: 50% !important;
}

.images-grid img {
    max-width: 50%;
    height: 100%;
    margin: auto 0;
}

#services {
    background-color: #fafafa;
}

#services-section {
    margin-top: 2rem;
}

/* 🤝 Why Partner Section */
.why-partner {
    background-color: #ffffff;
}

.why-partner h2 {
    font-size: 28px;
}

.why-partner p {
    line-height: 1.8;
    font-size: 18px;
}

.why-partner img {
    width: 59%;
    display: block;
    border-radius: 10px;
    margin-inline: auto;
}

.why-items .why-item {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.why-items .why-item:hover {
    transform: translateY(-3px);
    border-left: 4px solid #f47c1f;
    background-color: #fff8f2;
}

/* 🧭 قسم الفلاتر */
.filters-section {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

.filters-section label {
    color: #3e2723;
    /* بني داكن */
    font-weight: 600;
}

.filters-section select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 6px 12px;
    transition: all 0.3s ease;
}

.filters-section select:focus {
    border-color: #b8860b;
    /* ذهبي */
    box-shadow: 0 0 0 0.15rem rgba(184, 134, 11, 0.25);
}

/* 🧱 كروت المعارض */
#exhibitionsGrid {
    margin-top: 1rem;
}

.form-select:focus {
    border-color: #003343;
    outline: 0;
    box-shadow: none;
}

.form-select {
    font-size: 1rem;
    font-weight: 600;
    color: #003343;
}



.exhibition-item .card {
    transition: all 0.35s ease;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
}

.exhibition-item .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.exhibition-item .card-img-top img,
.exhibition-item .card-img-top video,
.portfolio-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.exhibition-item .card:hover .card-img-top img,
.exhibition-item .card:hover .card-img-top video {
    transform: scale(1.05);
}

.exhibition-item h5 {
    color: #003343;
    font-weight: 700;
    font-size: 25px;
}

.exhibition-item p,
.exhibition-item small {
    color: #f97316 !important;
    line-height: 1.6;
}

.portfolio-info .desc p {
    color: #ccc !important;
    display: -webkit-box;
    font-weight: 500;
    -webkit-line-clamp: 2;
    /* عدد السطور */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.exhibition-item .badge {
    background-color: transparent !important;
    /* ذهبي */
    color: #f97316;
    border: 1px solid #f97316;
    padding: 6px 10px;
    font-weight: 500;
    border-radius: 8px;
}

.exhibition-item small {
    color: #666;
}

/* 🎟️ زر التفاصيل */
.buy-ticket-btn {
    padding: 2px 18px;
}

.buy-ticket-btn:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* 🔢 الترقيم */
#paginationContainer {
    margin-top: 2rem;
}

#paginationContainer .btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 16px !important;
    border: 2px solid;
}

#paginationContainer .btn-primary {
    background-color: #003343;
    border-color: #003343;
}

#paginationContainer .btn-primary:hover {
    background-color: #003343;
    border-color: #003343;
}

#paginationContainer .btn-outline-primary {
    border-color: #003343;
    color: #003343;
}

#paginationContainer .btn-outline-primary:hover {
    background-color: #003343;
    color: #fff;
}

.btn-check:focus+.btn-primary,
.btn-primary:focus {
    box-shadow: none !important;
}


.faq h2::after,
.cta-section h2::after {
    left: 50%;
    transform: translate(-50%, 0);
}

.arside .accordion-button::after {
    margin-right: auto;
    margin-left: 0;
}


/* 📚 FAQ Section */
.accordion-button {
    background-color: #fff !important;
    font-weight: 600;
    font-size: 22px;
    color: #003343;
    transition: all 0.3s ease;
    box-shadow: none !important;
    /* 🔒 يمنع أي ظل */
    border: none !important;
}

.accordion-button:not(.collapsed) {
    color: #f47c1f;
    /* لون دهبي رايق */
    background-color: #fdf4e3;
}

.accordion-item {
    border: none;
    margin-bottom: 10px;
}

.accordion-body {
    line-height: 1.8;
    background-color: #fafafa;
    border-radius: 0 0 8px 8px;
}





/* 📩 Contact Page */
.contact-sec-page #contact::before,
.contact-sec-page #contact::after {
    background: radial-gradient(circle, #0d556d5c 0%, transparent 70%);
}

.contact-sec-page .title {
    display: none;
}

.contact-sec-page .row {
    display: flex;
    flex-direction: column !important;
}

.contact-sec-page .row .col-lg-6 {
    width: 100%;
}

.contact-sec-page .divForm {
    width: 75%;
    margin: 0 auto;
}

.contact-sec-page .left {
    order: 2;
}

.contact-sec-page .right {
    order: 1;
}

.contact-sec-page .contactData {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* العناصر الداخلية (الكروت) */
.contact-sec-page .contactData>div {
    flex: 1 1 calc(25% - 20px);
    /* اتنين في الصف */
    min-width: 300px;
    max-width: 500px;
    min-height: 130px;
    border: none;
    border-radius: 16px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

/* أيقونة الدائرة */
.contact-sec-page .contactData .rounded-circle {
    width: 55px !important;
    height: 55px !important;
    flex-shrink: 0;
    box-shadow: none !important;
}

/* العناوين والنصوص */
.contact-sec-page .contactData h5 {
    color: #0d556d;
    font-weight: 600;
}

.contact-sec-page .contactData a {
    color: #666;
    transition: color 0.3s ease;
}

.contact-sec-page .contactData a:hover {
    color: #0d556d;
}

/* ✅ الكارت رقم 2 و 4 بخلفية متدرجة */
.contact-sec-page .bgContactDataDiv2 {
    background: linear-gradient(to right, #0d556d, #1a7a99) !important;
    color: #fff;
}

.contact-sec-page .bgContactDataDiv2 .rounded-circle {
    background: #fff !important;
}

.contact-sec-page .bgContactDataDiv2 .rounded-circle i {
    color: #004358 !important;
}

.contact-sec-page .contactData>div:nth-child(2) h5,
.contact-sec-page .contactData>div:nth-child(4) h5,
.contact-sec-page .contactData>div:nth-child(2) a,
.contact-sec-page .contactData>div:nth-child(4) a,
.contact-sec-page .contactData>div:nth-child(2) p,
.contact-sec-page .contactData>div:nth-child(4) p {
    color: #fff !important;
}

/* الهوفر العام */
.contact-sec-page .contactData>div:hover {
    transform: translateY(-4px);
    transition: 0.3s;
}

/* استجابة للموبايل */
@media (max-width: 767px) {
    .contact-sec-page .contactData>div {
        flex: 1 1 100%;
    }
}




#contact .form-control {
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: none !important;
    transition: border-color 0.3s ease;
}

#contact .form-control:focus {
    border-color: #0d556d;
}

#contact button {
    border-radius: 10px;
    transition: all 0.3s ease;
}

#contact button:hover {
    background-color: #093b4d !important;
}


#contact .rounded-circle {
    box-shadow: none !important;
}

.map-section iframe {
    filter: grayscale(30%) brightness(95%);
}


/* 🧩 About Section */
.about-booths img {
    width: 90%;
    margin-inline: auto;
    border-radius: 20px !important;
}

.about-booths h2 {
    color: #0d556d;
    font-weight: 700;
}

.about-booths p {
    color: #777;
}

/* 💎 Features Section */
.booths-features,
.cta-section {
    background: linear-gradient(to bottom right, #01103B, #00071C, #01103B);
}

.booths-features .col-md-12 {
    border-radius: 10px;
    background-color: #00334394;
}

.booths-features .bg-white:hover p,
.booths-features .bg-white:hover i {
    color: #fff !important;
}

/* 📸 Usage Section */
.usage-section h2::after,
.portfolio-section h2::after {
    left: 50%;
    transform: translate(-50%, 0);
}

.usage-section ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
}

.usage-section i {
    color: #0d556d !important;
}

.usage-section .images {
    position: relative;
}

.usage-section .images img {
    border-radius: 5px;
}

.usage-section .small-img {
    width: 50%;
    bottom: -20px;
    left: -40px;
    border: 15px solid #fff;
    box-shadow: none !important;
    /* 🔥 بدون شادو */
}

.usage-section .lang-small-img {
    width: 50%;
    bottom: -20px;
    border: 15px solid #fff;
    box-shadow: none !important;
    right: -40px;
    left: auto;
}

/* 🚀 CTA Section */
.cta-sec {
    background: linear-gradient(to bottom right, #01103B, #00071C, #01103B);
}

.cta-sec h3 {
    font-weight: 600;
}

.cta-sec .btn {
    background: #fff;
    font-size: 18px;
    font-weight: 600;
    color: #0d556d;
    border: none;
    border-radius: 40px;
    transition: 0.5s;
}

.cta-sec .btn:hover {
    background: #003c51;
    color: #fff;
}

/* 📱 Responsive Design */
@media (max-width: 992px) {
    .inner-banner {
        padding: 100px 0;
    }

    .inner-banner h1 {
        font-size: 2.3rem;
    }

    .about-booths h2 {
        font-size: 2rem;
    }

    .usage-section .small-img {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .inner-banner {
        padding: 80px 0;
    }

    .inner-banner h1 {
        font-size: 1.9rem;
        padding-top: 50px;
    }

    .about-booths img {
        margin-bottom: 1rem;
    }

    .usage-section .small-img {
        position: static;
        width: 45%;
        left: -5px;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .inner-banner {
        padding: 70px 0;
    }

    .inner-banner h1 {
        font-size: 1.6rem;
    }

    .inner-banner p {
        font-size: 1rem;
    }

    .cta-section h3 {
        font-size: 1.2rem;
    }
}





/* 📱 Responsive Design */
@media (max-width: 992px) {
    .inner-banner {
        padding: 100px 0;
    }

    .inner-banner h1 {
        font-size: 2.3rem;
    }

    .inner-banner p {
        font-size: 1rem;
    }

    .elevate-section h2 {
        font-size: 2rem;
    }

    .images-grid {
        gap: 0.7rem;
    }

    .images-grid img {
        border-radius: 10px;
    }

    .why-partner h2 {
        font-size: 1.9rem;
    }

    .contact-sec-page .divForm {
        width: 98%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .inner-banner {
        padding: 80px 0;
    }

    .inner-banner h1 {
        font-size: 1.8rem;
    }

    .inner-banner p {
        font-size: 0.95rem;
    }

    .elevate-section h2 {
        font-size: 1.7rem;
    }

    .elevate-section p {
        font-size: 0.95rem;
    }

    .images-grid {
        flex-direction: column;
    }

    .images-grid .d-flex {
        flex-direction: column;
    }

    .images-grid img {
        width: 100% !important;
    }

    .why-partner h2 {
        font-size: 1.6rem;
    }

    .why-partner p {
        font-size: 0.95rem;
    }

    .accordion-button {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .inner-banner {
        padding: 70px 0;
    }

    .inner-banner h1 {
        font-size: 1.6rem;
    }

    .elevate-section h6 {
        font-size: 0.8rem;
    }

    .elevate-section h2 {
        font-size: 1.5rem;
    }

    .elevate-section p {
        font-size: 0.9rem;
    }
}


.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 199;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: pulse 1.2s infinite;
}

.whatsapp-float:hover {
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}



/* =========================
   Blog Page – General
========================= */
.blog_banner{
    min-height: 50vh;
    background: #01103b;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: "Almarai", sans-serif !important;
    color: #fff;
}

.blog_banner h1{
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 10px;
}

.blog_banner .main_link{
    color: #87ceeb;
}
.blog-page {
    direction: rtl !important;
    padding: 60px 20px;
    max-width: 1300px;
    margin: auto;
}

.blog-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #0a2c3d;
}

/* =========================
   Blog Grid
========================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* =========================
   Blog Card
========================= */
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 10px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* =========================
   Image
========================= */
.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: fill;
}

/* =========================
   Content
========================= */
.blog-card-content {
    padding: 20px;
}

.blog-meta {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.blog-card-title {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #0a2c3d;
}

.blog-excerpt {
    width: 95%;
    margin-inline: auto;
    font-size: 16px;
    margin-block: 15px;
    direction: rtl !important;
    text-align: start;
}

/* =========================
   Read More
========================= */
.read-more {
    display: block;
    width: 150px;
    text-align: center;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 40px;
    margin-inline: auto;
    margin-bottom: 20px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(-200deg, #00071cc2, #01103B , #01195b);
    text-decoration: none;
}
.blog-date {
    font-size: 16px;
    width: 95%;
    margin-inline: auto;
    font-weight: 500;
    color: #f47c1f;
    font-family: var(--font-arabic-main);
    direction: rtl !important;
}

.read-more:hover {
    text-decoration: underline;
}

/* =========================
   Pagination (لو موجود)
========================= */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.blog-pagination a {
    padding: 8px 14px;
    border-radius: 8px;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
}

.blog-pagination a.active {
    background: #0a6da6;
    color: #fff;
}

.blog-content h2{
    text-align: center;
    font-size: 27px;
    font-weight: bold !important;
    margin-block: 20px;
    padding-inline: 20px;
}

.blog-content h2::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 4px;
    bottom: 0px;
    left: 50%;
    background: linear-gradient(to right, #0d556d, #f97316);
    border-radius: 2px;
    transform: translate(-50%, 0);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.page-btn {
    border: 1px solid #ddd;
    padding: 6px 12px;
    background: #fff;
    cursor: pointer;
}

.page-btn.active {
    background: #001534;
    color: #fff;
    border-color: #0d6efd;
    outline: none;
    box-shadow: none;
}


@media (max-width: 768px) {
    .blog-title {
        font-size: 26px;
    }

    .blog-card img {
        height: 180px;
    }
    
    .blog-content h2{
        text-align: center;
        font-size: 19px;
        font-weight: bold !important;
        margin-block: 20px;
        padding-inline: 20px;
    }
    
    .blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
        gap: 30px;
    }
}


.breadcrumb-section {
    background: var(--light);
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
    min-height: 30vh;
    background: #001534;
    display: flex;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    width: 100%;
    font-size: 18px;
    justify-content: right !important;
    text-align: right !important;
    direction: rtl !important;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb span {
    color: #f47c1f;
    font-weight: 500;
}

#main-content{
    min-height: 100vh !important;
}

/* =========================
   Single Blog Layout
========================= */
.single-blog {
    padding: 60px 0;
}
.single_article,
.single_article .breadcrumb-section,
.single_article .single-blog{
    direction: rtl !important;
    text-align: right !important;
}

.blog-article {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: right !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

/* =========================
   Title & Meta
========================= */
.article-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #001534;
    position: relative;
}

.article-title::after{
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    right: -8px;
    top: 0;
    background: linear-gradient(#00265f, #f97316);
}

.article-meta {
    color: #f97316;
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 25px;
}

/* =========================
   Main Image
========================= */
.article-image {
    margin-bottom: 30px;
}

.article-image img {
    max-width: 100%;
    display: block;
    margin-inline: auto;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* =========================
   Article Content
========================= */
.article-content {
    font-size: 17px;
    line-height: 1.9;
    color: #333;
}

.article-content h2 {
    font-size: 26px;
    margin: 20px 0;
}

.article-content h2::after{
    display: none;
}

.article-content h3 {
    font-size: 22px;
    margin: 30px 0 10px;
}

.article-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 20px 0;
}

/* =========================
   Share Buttons
========================= */
.article-share {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    direction: rtl !important;
}

.article-share span {
    font-weight: 600;
}

.article-share a {
    padding: 8px 14px;
    border-radius: 6px;
    background: linear-gradient(135deg, #001535, #003d98, #001535);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

/* =========================
   Sidebar
========================= */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.05);
}

.sidebar-box h3,
.article-share h3 {
    font-size: 22px;
    position: relative;
    color: #00071C;
    text-align: right !important;
}

.sidebar-box h3 {
    margin-bottom: 15px;
}

.sidebar-box h3::after,
.article-share h3::after{
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    right: -8px;
    top: 0;
    background: linear-gradient(#00265f, #f97316);
}

/* Related Posts */
.related-post {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: #333;
    font-size: 15px;
}

.related-post:last-child {
    border-bottom: none;
}

.related-post:hover {
    color: var(--primary);
}

/* CTA */
.cta-box {
    background: linear-gradient(135deg, #001535, #003d98, #001535);
    color: #fff;
}

.cta-box h3{
    color: #fff;
}

.cta-box h3::after{
    background: linear-gradient(#ffffff, #f97316);
}

.cta-box p {
    margin: 10px 0 20px;
    font-size: 16px;
    font-weight: 500;
    color: #fcfdfd;
}

.cta-box .btn {
    background: #fff;
    color: #001535;
    border-radius: 6px;
    padding: 7px 18px;
    border: none;
    font-weight: bold;
}

/* =========================
   Responsive
========================= */

/* Tablets */
@media (max-width: 991px) {
    .blog-sidebar {
        position: static;
        margin-top: 40px;
    }

    .article-title {
        font-size: 28px;
    }

    .article-image img {
        width: 100%;
    }
}

/* =========================
   Related Posts (Sidebar)
========================= */
.related-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-post-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    direction: rtl !important;
    text-align: right !important;
}

.related-post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Active (Current Article) */
.related-post-item.active {
    background: rgba(13,110,253,0.08);
    box-shadow: 0 0 0 2px rgba(13,110,253,0.25);
    pointer-events: none;
}

/* Image */
.related-thumb {
    flex: 0 0 80px;
    height: 70px;
    overflow: hidden;
    border-radius: 8px;
}

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

/* Content */
.related-content h4 {
    font-size: 15px;
    margin: 0 0 5px;
    line-height: 1.4;
}

.related-content p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
    line-height: 1.6;
}

/* =========================
   Responsive
========================= */
@media (max-width: 575px) {
    .related-post-item {
        gap: 10px;
    }

    .related-thumb {
        flex: 0 0 65px;
        height: 60px;
    }

    .related-content h4 {
        font-size: 14px;
    }
}


/* Mobile */
@media (max-width: 575px) {
    .blog-article {
        padding: 20px;
    }

    .article-title {
        font-size: 24px;
    }

    .article-content {
        font-size: 16px;
    }

    .article-share {
        gap: 10px;
    }

    .article-share a {
        font-size: 13px;
        padding: 7px 12px;
    }
}

.swiper-wrapper {
    position: relative;
    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;
}
/* لو فيه 1 أو 2 فقط */
.swiper-wrapper:has(.swiper-slide:nth-child(-n+2):last-child) {
  justify-content: center;
}