/********** Template CSS **********/
@import url('https://fonts.googleapis.com/css2?family=Cairo&display=swap');
:root {
    --primary: #FD5D14;
    --secondary: #FDBE33;
    --light: #F4F6F8;
    --dark: #040F28;
}

* {
  box-sizing: border-box;
font-family: 'Cairo', sans-serif !important;
}

body{
font-family: 'Cairo', sans-serif !important;

}
/***********************************
 DARK TURQUOISE BRAND OVERRIDE
***********************************/
:root {
    --primary: #0E7490;   /* تركواز غامق */
    --secondary: #FACC15;
}

/* ===== Buttons ===== */
.btn-primary,
.bg-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #FFFFFF !important;
}

.btn-primary:hover {
    background-color: #155E75 !important;
    border-color: #155E75 !important;
}

/* زر اطلب عرض سعر */
.navbar .btn,
.hero-buttons .btn {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #FFFFFF !important;
}

/* ===== Text & Icons ===== */
.text-primary,
i.text-primary,
.bi.text-primary,
.fa.text-primary {
    color: var(--primary) !important;
}

/* ===== Service Icons ===== */
.service-icon,
.service-item .service-icon {
    background: white!important;
}

.service-icon i {
    color: #FFFFFF !important;
}

/* ===== Navbar Links ===== */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

/* ===== Top Bar Icons (OUR OFFICE / EMAIL / CALL US) ===== */
.topbar i,
.topbar .text-primary {
    color: var(--primary) !important;
}

/* ===== Borders ===== */
.border-primary {
    border-color: var(--primary) !important;
}

/* ===== Shadows ===== */
.btn-primary,
.service-icon {
    box-shadow: 0 10px 25px rgba(14,116,144,.35) !important;
}

/* ===== Remove any hardcoded orange ===== */
[style*="#FD5D14"],
[style*="#fd5d14"] {
    color: var(--primary) !important;
    background-color: var(--primary) !important;
}

/***********************************
 CARDS – SHADOW & RADIUS SYSTEM
***********************************/



.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    transition: .5s;
}

.btn::after {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: -1px;
    left: 50%;
    background: var(--primary);
    transition: .5s;
}

.btn.btn-primary::after {
    background: var(--dark);
}

.btn:hover::after,
.btn.active::after {
    width: 50%;
    left: 25%;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 50%;
    bottom: 0;
    margin-left: -22px;
    border-radius: 0;
    z-index: 99;
}

.bg-dark-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.bg-light-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
    transition: .5s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 15, 40, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.page-header {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(4, 15, 40, .7), rgba(4, 15, 40, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.service-item .service-icon {
    margin-top: -50px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.service-item .service-icon i {
    transition: .2s;
}

.service-item:hover .service-icon i {
    font-size: 60px;
}

/* الصورة */
.portfolio-box img {
    width: 100%;
    height: 260px;            /* ← ثبات ارتفاع الصورة */
    object-fit: cover;        /* قص ذكي */
}


/* Responsive */
@media (max-width: 991px) {
    .portfolio-box img {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .portfolio-box img {
        height: 200px;
    }
}

/* ===== Portfolio Filters Scroll ===== */
.portfolio-filters-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #22D3EE transparent;
}

/* إخفاء سكرول افتراضي (اختياري) */
.portfolio-filters-scroll::-webkit-scrollbar {
    height: 6px;
}
.portfolio-filters-scroll::-webkit-scrollbar-thumb {
    background-color: #22D3EE;
    border-radius: 10px;
}

/* عنصر الفلتر */
.portfolio-filters-scroll li {
    position: relative;
    flex: 0 0 auto;
    min-width: 120px;
    border-radius: 10px;
    overflow: hidden;
    padding: 6px !important;
}

/* صورة الفلتر (مصغرة) */
.portfolio-filters-scroll li img {
    width: 110px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
}

/* Overlay */
.filter-overlay {
    position: absolute;
    inset: 6px;
    background: rgba(4, 15, 40, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.filter-overlay h6 {
    color: #fff;
    font-size: 13px;
    margin: 0;
    font-weight: 600;
}

/* الحالة النشطة */
#portfolio-flters li.active {
    border: 2px solid #22D3EE;
}

.portfolio-item {
    margin-bottom: 60px;
}

.portfolio-title {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 120px;
    padding: 0 30px;
    right: 30px;
    left: 30px;
    bottom: -60px;
    background: #FFFFFF;
    z-index: 3;
}

.portfolio-btn {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -60px;
    font-size: 120px;
    line-height: 0;
    transition: .1s;
    transition-delay: .3s;
    z-index: 2;
    opacity: 0;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
}

.portfolio-box::before,
.portfolio-box::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    transition: .5s;
    z-index: 1;
    background: rgba(4, 15, 40, .7);
}

.portfolio-box::before {
    left: 0;
}

.portfolio-box::after {
    right: 0;
}

.portfolio-item:hover .portfolio-box::before {
    left: 0;
    width: 50%;
}

.portfolio-item:hover .portfolio-box::after {
    right: 0;
    width: 50%;
}


/* ====== Premium Ad Cards (Compact Version) ====== */
.ad-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 22px 45px rgba(0,0,0,0.12);
    transition: all 0.35s ease;
    height: 100%;
}

.ad-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 65px rgba(0,0,0,0.16);
}

/* Image */
.ad-card-img {
    height: 220px;          /* ⬅️ أقل ارتفاع */
    overflow: hidden;
}

.ad-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ad-card:hover .ad-card-img img {
    transform: scale(1.05);
}

/* Body */
.ad-card-body {
    padding: 22px 26px;     /* ⬅️ أقل padding */
    text-align: right;
}

.ad-card-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.ad-card-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ad-card-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* Button */
.ad-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;     /* زر أنحف */
    border-radius: 40px;
    background: rgba(14,116,144,.85);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ad-card-btn:hover {
    background: #000;
    color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
    .ad-card-img {
        height: 180px;
    }

    .ad-card-body {
        padding: 18px 20px;
    }
}


@media (min-width: 992px) {
    .testimonial,
    .contact-form {
        margin-left: -90px;
    }
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: var(--primary)
    }
}

.footer-shape::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 100%;
    top: 0;
    left: -40px;
    background: var(--primary);
    transform: skew(40deg);
}




/********** Hero Section **********/
.hero-section {
    background: linear-gradient(
        135deg,
        #020617 0%,   /* كحلي شبه أسود */
        #083344 45%,  /* تركواز غامق جدًا */
        #0B1F2A 100%  /* كحلي داكن */
    );
    padding: 120px 0;
    color: #FFFFFF;
    position: relative;
}


.hero-title {
    color: #E0F7FA; /* أبيض مائل للتركواز */
    text-shadow: 0 4px 20px rgba(0,0,0,.6);
}

.hero-subtitle {
    color: #FACC15;
    text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.hero-text {
    color: #E5E7EB;
    text-shadow: 0 2px 8px rgba(0,0,0,.45);
}



.hero-subtitle {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-divider span {
    width: 60px;
    height: 3px;
    background: var(--secondary);
}

.hero-divider i {
    color: var(--primary);
    font-size: 18px;
}

.hero-text {
    color: #E5E7EB;
    line-height: 1.9;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons .btn {
    margin-left: 10px;
    border-radius: 6px;
}

/* Hero Carousel */
.hero-carousel img {
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
}

/***********************************
 CAROUSEL CONTROLS – ELEGANT STYLE
***********************************/
.carousel-control-prev,
.carousel-control-next {
    width: 56px;
    height: 56px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(14,116,144,.85); /* تركواز غامق */
    border-radius: 50%;
    opacity: 1;
    transition: all .3s ease;
}

.carousel-control-prev {
    right: 20px;
    left: auto;
}

.carousel-control-next {
    left: 20px;
    right: auto;
}

/* الأيقونات */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
    filter: brightness(0) invert(1);
}

/* Hover */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #155E75;
    box-shadow: 0 12px 30px rgba(14,116,144,.5);
    transform: translateY(-50%) scale(1.08);
}

/* Responsive Hero */
@media (max-width: 991px) {
    .hero-section {
        padding: 80px 0;
        text-align: center;
    }

    .hero-content {
        margin: 40px 10px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-carousel img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-title { font-size: 26px; }
    .hero-text { font-size: 14px; }
}
/* Page Header – Gradient Style (Paint & Decor Theme) */
.page-header {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* تدرج ألوان أنيق */
    background: linear-gradient(
        135deg,
        #0E7490 0%,   /* تركواز داكن */
        #155E75 40%,  /* أزرق مخضر */
        #0F172A 100%  /* كحلي داكن */
    );

    position: relative;
    overflow: hidden;
}

/* لمسة فنية خفيفة (تشبه رذاذ الدهان) */
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 20% 30%,
        rgba(250, 204, 21, 0.12),
        transparent 45%
    ),
    radial-gradient(
        circle at 80% 70%,
        rgba(255, 255, 255, 0.08),
        transparent 50%
    );
    pointer-events: none;
}

/* عنوان الصفحة */
.page-header h1 {
    position: relative;
    z-index: 1;
    color: #F8FAFC;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 6px 20px rgba(0,0,0,.45);
}


/* ===============================
   Floating Contact Buttons
================================ */
.floating-contact {
    position: fixed;
    left: 20px;        /* ⬅️ الزاوية السفلية اليسرى */
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* زر عام */
.floating-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

/* واتساب */
.floating-btn.whatsapp {
    background: #25D366;
}

/* اتصال */
.floating-btn.call {
    background: #0E7490; /* متناسق مع هوية الموقع */
}

/* Hover */
.floating-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

/* موبايل */
@media (max-width: 576px) {
    .floating-btn {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}
