/* ==========================================================================
   1. VARIABLES & GLOBAL STYLES
   ========================================================================== */
:root {
    --fsize: 14px;
    --color: #085482;
    --tr: .55s ease-in-out;
}

html {
    line-height: 1.8;
    -webkit-text-size-adjust: 100%;
}

body, html {
    overflow-x: hidden;
}

body {
    font-size: 18px;
    font-weight: 400;
}

body, button, input, input::placeholder, select {
    font-family: 'Almarai';
    color: inherit;
    direction: rtl;
}

h1 { font-size: 1.5em; }
h1, h2, h5 { margin: 0 0 0.5em; }

img {
    position: relative;
    z-index: 1;
}

.container, container {
    margin: auto;
    max-width: 1150px;
    padding: 0 10px;
}

.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.h-100 { height: 100%; }
.ltr .service, .service a { text-align: left; }
.icon-boxes i, .link:hover, nav .main-menu>li:hover, ul.sub-menu li a:hover, a.term-box:hover { color: var(--color); }

.main-menu>li, .main-menu>li ul li, .sh, .slider-item, article.fixed-header, button.owl-dot:before {
    transition: var(--tr);
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
header {
    background: var(--color);
    padding: 5px 0;
    position: relative;
    z-index: 1;
}

header:before {
    content: '';
    position: absolute;
    width: 50%;
    top: 0;
    left: -20px;
    height: 100%;
    background: #0b3e5d;
    z-index: -1;
    transform: skewX(-10deg);
}

header container {
    background: #fff;
    border-radius: 5px;
    margin: 20px auto;
}

header div[class*=menu] { flex: 1; }
header div[class*=menu] ul { display: flex; list-style: none; }
header div[class*=menu] ul li { font-weight: 600; font-size: 17px; margin-inline-end: 20px; }
header div[class*=menu] ul li:hover { color: var(--color); }

figure.first-image { margin-inline-end: 20px; }
figure.first-image img { width: 100px; }

ul.sub-menu {
    list-style: none;
    top: 100%;
    width: 220px;
    transform: translateY(20px);
    border-radius: 4px;
    right: 0;
    position: absolute;
}

ul.sub-menu li a {
    color: #fff;
    display: block;
    padding: 8px;
    font-size: 14px;
    border-bottom: 1px solid #ffffff0f;
    transition: .45s;
}

.main-menu>li ul li:last-child, ul.sub-menu li:last-child a { border: 0; }

/* Search Wrap */
a.btn.show-search { fill: var(--color); }
.search-wrap { display: none; justify-content: center; }
.search-wrap.open {
    display: flex;
    background-color: #fbfbfb;
    position: fixed;
    left: 0;
    top: 141px;
    z-index: 9999;
    padding: 15px;
    width: 100%;
    right: 0;
    box-shadow: 0 1px 6px 0 rgb(0 0 0 / 15%);
}

.search-wrap form { max-width: 1150px; }
.search-form {
    box-shadow: 0 0 5px 0 rgb(60 64 67 / 16%);
    display: flex;
    flex-direction: row;
    border: 1px solid #ebebeb;
    padding: 2px;
    border-radius: 20px;
    width: 80%;
}

.search-input {
    padding: 11px;
    -webkit-appearance: textfield;
    background: 0 0;
    flex-grow: 2;
}

.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    height: 1px;
    overflow: hidden;
    position: absolute!important;
    width: 1px;
    word-wrap: normal!important;
}

.search-submit { background: 0 0; padding: 0 10px; }

/* ==========================================================================
   3. MAIN CONTENT & SECTIONS
   ========================================================================== */
/* Intro Section */
article.intro {
    padding: 40px 0;
    background-color: var(--color);
    background-repeat: repeat;
    color: #fff;
    position: relative;
    border-radius: 0;
}

article.intro:before {
    content: '';
    position: absolute;
    width: 50%;
    top: 0;
    left: -70px;
    height: 100%;
    background: #0b3e5d;
    transform: skewX(-10deg);
}

.intro-box h1 { font-size: 32px; }
.intro-box p { opacity: .7; font-size: 16px; }

.scanner { width: 540px; text-align: left; max-width: 100%; position: relative; }
.scanner iframe { width: 100%; height: 340px; display: block; border-radius: 15px; border: 2px solid #ffffff24; }

/* Our Services Section */
article.our-services { padding: 40px 0; position: relative; }
article.our-services h2 { color: var(--color); font-size: 32px; }

.group-holder { display: flex; flex-wrap: wrap; margin-top: 40px; gap: 4px; }
.group-box {
    flex: 1;
    min-width: calc(25% - 20px);
    padding: 34px 24px;
    flex-direction: column;
    margin: 10px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eef2f5;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: right;
    box-shadow: 0 6px 24px rgb(11 62 93 / 6%);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.group-box:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgb(11 62 93 / 12%); border-color: #4cc2c0; }
.group-box img { width: auto; margin-bottom: 10px; }
.group-box p { font-size: 14.5px; color: #5a6b78; line-height: 1.85; margin: 0; }
.group-box h3 { color: #0b3e5d; text-align: right; font-size: 17px; font-weight: 800; margin: 0 0 10px; }
.group-box svg,
.group-box i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #085482, #4cc2c0);
    color: #fff;
    font-size: 22px;
    margin-bottom: 18px;
}
.group-box:nth-child(odd) { padding-inline-end: 24px; }
.group-box:nth-child(even) { padding-inline-start: 24px; }

/* Categories & Blog Section */
article.categories { background: #08548221; padding: 40px 0; text-align: center; }
article.categories.blog { background: #fff; }
article.categories h2 { font-size: 30px; text-align: center; margin-bottom: 10px; }
.category-holder { margin-bottom: 40px; }
.category-holder h3 { position: relative; text-align: right; margin-bottom: 30px; color: var(--color); font-size: 25px; }
.category-holder h3:after, h2.widgettitle:after { width: 100px; right: 35px; }

a.blog-box {
    background-color: #f7f7f7;
    margin: 10px;
    border-radius: 9px;
    overflow: hidden;
    display: block;
    padding: 15px;
    height: calc(100% - 20px);
    position: relative;
    border: 1px solid #ccc;
}

a.blog-box:before { content: ''; position: absolute; right: 5px; top: 5px; left: 5px; bottom: 5px; }
a.blog-box img { width: 100%; height: 200px; display: block; border-radius: 7px; object-fit: cover; }
.blog-box span { padding: 15px; border-top: 1px solid #dfdfdf; display: block; }
a.blog-box:hover { box-shadow: 0 14px 32px 10px rgb(0 0 0 / 7%); }

article.pd.blog.text-center { padding: 40px 0; }

/* Post Thumbnail & Elements */
post-thumbnail { text-align: center; display: block; margin-bottom: 18px; }
post-thumbnail img { box-shadow: 0 0 6px 0 rgb(0 0 0 / 25%); border-radius: 5px 5px 0 0; width: auto; display: block; margin: auto; max-height: 500px; }

.breadcrumb li { margin-inline-end: 6px; }
.breadcrumb li:after { content: "\00bb"; padding: 0 0.3em; }
.breadcrumb li:last-child:after { display: none; }

.services-share { display: flex; flex-wrap: wrap; justify-content: center; }
.services-share a { background: var(--color); color: #fff; display: flex; align-items: center; justify-content: center; padding: 10px; border-radius: 5px; margin: 5px; }
.services-share a svg { margin-right: 10px; }

a.term-box { font-size: 19px; box-shadow: 0 0 2px 1px rgb(21 20 20 / 21%); margin-bottom: 25px; margin-right: 20px; padding: 10px 5px; background: #fff; width: 150px; font-weight: bold; }
a.term-box img { width: 80px; display: block; margin: auto; margin-bottom: 15px; }

.box-images { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: stretch; }
.box-images img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; border-radius: 18px; box-shadow: 0 10px 30px rgb(11 62 93 / 12%); }
.box-images img:nth-child(1) { grid-row: span 2; }
.box-images img:nth-child(2) { position: static; transform: none; }
@media (max-width: 767px) { .box-images { grid-template-columns: 1fr 1fr; } .box-images img { min-height: 130px; } }

.ver, .horizontal { position: absolute; width: 100%; height: 100%; top: 0; right: 0; display: flex; z-index: -1; }
.ver div { border-left: 1px solid #ddd; flex: 1; }
.horizontal { flex-direction: column; }
.horizontal div { border-bottom: 1px solid #ddd; flex: 1; }

.box-holder { text-align: right; }
.icon-box-box { margin: 5px; padding: 15px; }
.icon-box-box svg { margin-inline-end: 15px; }
.icon-box-box a, .icon-box-box p { font-size: 15px; }
.icon-box-box a:hover { color: #4cc2c0; }
.icon-box-box strong { display: block; font-size: 14px; }

/* Widgets & Text Widgets */
.textwidget, h2.widgettitle { margin: auto; width: 1350px; color: #495257; max-width: 95% !important; }
.textwidget h2, .textwidget h3, .textwidget h4 { background: #fbfbfb; padding: 20px; margin: 20px 0; color: var(--color); border-right: 2px solid; }
.textwidget table { width: 100%; margin: 20px 0; background: #efefef; }
.textwidget table td { padding: 9px; background: #fff; }
.textwidget p, .textwidget ul, .textwidget ol { margin: 15px 0; font-size: 17px; }
.textwidget { border: 1px solid #0000001c; padding: 25px; border-radius: 15px; box-shadow: 0 0 150px #00000005; }

article~.widgettitle { text-align: center; }
article~.textwidget { max-width: 1200px; margin: auto; }
article~.textwidget * { padding: revert; margin: revert; max-width: 100%; }
article~.textwidget h2, article~.textwidget h3, article~.textwidget a { color: var(--color); }
article~.textwidget p, article~.textwidget ol, article~.textwidget ul, article~.textwidget table { padding: 25px; background: #f7f7f7; border-radius: 5px; }
article~.textwidget table { width: 100%; }
article~.textwidget table td { border: 1px solid #eee; background: #fff; padding: 5px; }

.mobile-menu~h2.widgettitle { margin: 20px auto; color: var(--color); text-align: center; font-size: 34px; }
single container iframe { display: block; width: 100% !important; }

/* ==========================================================================
   4. SINGLE CONTAINER & FORMS
   ========================================================================== */
single container { color: #2f2c2c; margin: 30px auto; max-width: 1000px; }
single h2, single h3, single h4, single h5 { border-bottom: 1px solid #dee6ec; margin: 40px 0 25px; padding: 8px 15px 7px 0; border-right: 3px solid var(--color); border-radius: 10px 0; color: var(--color); }
single container * { max-width: 100%; width: auto; }
single container table { width: 100%; }
single container table td { padding: 10px; border: 1px solid #eee; }
single container li { margin-right: 20px; }
single container li a { color: var(--color); }
single container p, single container ul { margin-bottom: 18px; }

.bar-box { text-align: center; padding: 20px; color: #fff; background: var(--color); position: relative; z-index: 1; }
.bar-box:before { content: ''; position: absolute; width: 50%; top: 0; left: -48px; height: 100%; background: #0b3e5d; z-index: -1; transform: skewX(-10deg); }

.contact { background: var(--color); margin: 50px auto; padding: 30px; border-radius: 10px; }
.contact label { display: block; color: #fff; text-align: right; }
.contact input, .contact textarea { background: #ffffff24; padding: 15px; margin-bottom: 10px; width: 100%; max-height: 80px; }

span.wpcf7-form-control-wrap { display: block; margin-top: 13px; }
input.wpcf7-form-control.wpcf7-submit.has-spinner { background: #ff3131; color: #fff; }

a.btn { display: inline-flex; margin-top: 20px; background: #0dbd50; padding: 10px 30px; border-radius: 50px; }

/* ==========================================================================
   5. PAGINATION STYLES (EXPLICIT FORCE)
   ========================================================================== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px 0 40px;
    padding: 40px 0;
    width: 100%;
}

.pagination-wrapper nav {
    width: 100%;
    background: transparent !important;
    color: inherit !important;
}

.pagination-wrapper nav:hover {
    background: transparent !important;
    color: inherit !important;
}

.pagination-wrapper ul.page-numbers,
.pagination-wrapper ul,
.pagination-wrapper nav ul,
.pagination-wrapper nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.pagination-wrapper ul.page-numbers:hover {
    background: transparent !important;
    color: inherit !important;
}

.pagination-wrapper ul.page-numbers li,
.pagination-wrapper ul li {
    list-style: none !important;
    list-style-type: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

.pagination-wrapper ul.page-numbers li:hover {
    background: transparent !important;
    color: inherit !important;
    border: none !important;
    padding: 0 !important;
}

.pagination-wrapper ul.page-numbers li::before,
.pagination-wrapper ul.page-numbers li::after {
    content: "" !important;
    display: none !important;
}

.pagination-wrapper .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px;
    height: 50px;
    text-decoration: none;
    border: 2px solid #d0d0d0;
    border-radius: 8px;
    color: var(--color);
    font-weight: 700;
    font-size: 15px;
    transition: all var(--tr);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    list-style: none !important;
    list-style-type: none !important;
}

.pagination-wrapper .page-numbers::before,
.pagination-wrapper .page-numbers::after {
    content: "" !important;
    display: none !important;
}

.pagination-wrapper ul.page-numbers li a,
.pagination-wrapper ul.page-numbers li span {
    background: transparent !important;
    color: var(--color) !important;
}

.pagination-wrapper a.page-numbers:hover {
    background: var(--color) !important;
    color: #fff !important;
    border-color: var(--color) !important;
    box-shadow: 0 8px 20px rgba(8, 84, 130, 0.4) !important;
}

.pagination-wrapper .page-numbers.current {
    background: var(--color);
    color: #fff;
    border-color: var(--color);
    box-shadow: 0 8px 20px rgba(8, 84, 130, 0.4);
    cursor: default;
}

.pagination-wrapper .page-numbers.dots,
.pagination-wrapper ul.page-numbers .dots,
.pagination-wrapper ul.page-numbers span.dots {
    display: none !important;
    visibility: hidden !important;
    border: none;
    background: transparent;
    cursor: default;
    box-shadow: none;
    color: #999;
    font-weight: 400;
}

.pagination-wrapper .page-numbers.prev,
.pagination-wrapper .page-numbers.next {
    width: auto;
    padding: 10px 16px;
    gap: 8px;
    font-size: 14px;
}

.pagination-wrapper .page-numbers.prev i,
.pagination-wrapper .page-numbers.next i {
    font-size: 13px;
}

.pagination-wrapper .page-numbers.prev:hover,
.pagination-wrapper .page-numbers.next:hover {
    background: var(--color);
    color: #fff;
    border-color: var(--color);
    box-shadow: 0 8px 20px rgba(8, 84, 130, 0.4);
}

.pagination-wrapper .page-numbers.prev:disabled,
.pagination-wrapper .page-numbers.next:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5;
    border-color: #d0d0d0;
    color: #999;
}

.tbl {
    overflow-x: scroll;
    white-space: nowrap;
}

/* ==========================================================================
   6. FOOTER STYLES
   ========================================================================== */
footer {
    background: linear-gradient(180deg, #0b3e5d 0%, #062338 100%);
    padding-top: 0;
    color: #fff;
    position: relative;
    z-index: 1;
    margin-top: 20px;
    border-radius: 28px 28px 0 0;
    overflow: hidden;
}

footer:before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #085482, #4cc2c0, #085482);
}

.footer-cols {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.3fr;
    gap: 40px;
    padding: 52px 0 30px;
}

.footer-heading {
    position: relative;
    padding-bottom: 16px;
    margin: 0 0 20px;
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    display: inline-block;
}
.footer-heading::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 44px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #085482, #4cc2c0);
}

.footer-about-text { color: rgba(255,255,255,.65); font-size: 13.5px; line-height: 1.9; margin: 0 0 20px; }

.footer-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 11px;
    transition: all .2s;
    color: #fff;
}
.footer-social-link svg { width: 18px; height: 18px; }
.footer-social-link:hover { background: linear-gradient(135deg, #085482, #4cc2c0); border-color: transparent; transform: translateY(-3px); }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 13px; }
.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.75);
    font-size: 14px;
    transition: color .2s;
}
.footer-links a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: #4cc2c0;
    flex-shrink: 0;
}
.footer-links a:hover { color: #4cc2c0; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { margin-bottom: 18px; display: flex; align-items: flex-start; gap: 12px; }
.footer-contact a, .footer-contact > li > span:not(.footer-contact-ico) { display: flex; align-items: flex-start; gap: 12px; color: rgba(255,255,255,.85); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.footer-contact-ico {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border-radius: 11px;
    font-size: 16px;
}
.footer-contact small { display: block; color: rgba(255,255,255,.45); font-size: 11.5px; font-weight: 400; margin-top: 3px; }
.footer-contact a:hover span:not(.footer-contact-ico) { color: #4cc2c0; }

.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 0 0 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 12px;
    padding-top: 32px;
}

.footer-col { min-width: 0; }

.footer-rights { text-align: center; padding: 22px 20px; margin-top: 12px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; color: rgba(255,255,255,.55); }
.footer-rights a { color: #4cc2c0; }

@media (max-width: 991px) {
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .footer-col-about { grid-column: 1 / -1; }
    .footer-widgets-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 767px) {
    footer { border-radius: 20px 20px 0 0; }
    .footer-cols { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 12px; }
    .footer-widgets-grid { grid-template-columns: 1fr; padding: 36px 0 12px; gap: 30px; }
}

/* ==========================================================================
   7. FLOATING ACTION BUTTONS & ANIMATIONS
   ========================================================================== */
.scrollUp {
    position: fixed;
    bottom: 0;
    text-align: center;
    z-index: 99;
    right: 13px;
    width: 40px;
    display: flex;
    height: 40px;
    line-height: 43px;
    border-radius: 20px 20px 0 0;
    background: var(--color);
    align-items: center;
    justify-content: center;
}

.call-btn, .whats-btn {
    display: flex;
    position: fixed;
    outline: 0;
    cursor: pointer;
    z-index: 9999;
    left: 15px;
}

.whats-btn { bottom: 10px; }
.call-btn { bottom: 86px; }

.call-icon, .whats-icon {
    display: inline-flex;
    position: relative;
    width: 65px;
    height: 65px;
    text-align: center;
    border-radius: 50%;
    line-height: 68px;
    align-items: center;
    justify-content: center;
    animation: 4s ease-in-out infinite callrotate;
}

.call-icon { background-color: var(--color); }
.whats-icon { background-color: #0dbd50; }
.call-icon, .scrollUp, .whats-icon { box-shadow: 0 0 30px rgba(0,0,0,.3); }

@keyframes callrotate {
    0%, 100%, 50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        transform: rotate(0) scale(1) skew(1deg);
    }
    10%, 30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
        transform: rotate(-25deg) scale(1) skew(1deg);
    }
    20%, 40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
        transform: rotate(25deg) scale(1) skew(1deg);
    }
}

/* ==========================================================================
   8. MOBILE RESPONSIVE & OVERRIDES
   ========================================================================== */
.mobile-menu {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    height: 100%;
    background: #fff;
    z-index: 999999;
    padding: 35px;
    transform: translateX(100%);
    transition: .35s ease;
    opacity: 0;
    visibility: hidden;
}

svg.close {
    position: absolute;
    border: 1px solid;
    left: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

.mobile-menu figure.first-image, .mobile-menu .show-search { display: none; }
div#search-mobile { display: block; width: 100%; margin-bottom: 30px; }

.mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
}

.mobile-menu .menu { list-style: none; }
.mobile-menu .menu li a { display: block; padding: 10px 0; border-bottom: 1px solid #ddd; }

.bars {
    width: 50px;
    height: 50px;
    border: 1px solid #eee;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

/* Responsive Queries */
@media (min-width: 992px) {
    .search-form {
        width: 30%;
        margin: auto;
        background: #fff;
    }
}

@media(max-width: 1023px) {
    .group-box { min-width: 300px; }
    header div[class*=menu] { display: none; }
    .bars { display: flex; }
    .show-search { display: none !important; }
    figure.first-image { flex: 1; }
    figure.first-image img { width: 70px; }
    article.intro:before, article.intro:after, header:before, footer:before, .bar-box:before { display: none; }
}

@media (max-width: 991px) {
    footer .menu li { width: 100%; }
    .icon-box-box { min-width: 100%; }
}

@media (max-width: 768px) {
    .pagination-wrapper { padding: 30px 0; margin: 40px 0 25px; }
    .pagination-wrapper ul.page-numbers { gap: 10px !important; display: flex !important; justify-content: center !important; flex-wrap: wrap !important; }
    .pagination-wrapper .page-numbers { width: 44px; height: 44px; font-size: 14px; }
    .pagination-wrapper .page-numbers.prev, .pagination-wrapper .page-numbers.next { padding: 10px 14px; font-size: 13px; }
}

@media (max-width: 480px) {
    .pagination-wrapper { padding: 25px 0; margin: 30px 0 20px; }
    .pagination-wrapper ul.page-numbers { gap: 8px !important; display: flex !important; justify-content: center !important; flex-wrap: wrap !important; }
    .pagination-wrapper .page-numbers { width: 40px; height: 40px; font-size: 13px; }
    .pagination-wrapper .page-numbers.prev, .pagination-wrapper .page-numbers.next { padding: 8px 12px; font-size: 12px; }
}
/* ═══════════════════════ SHARED HEAD ═══════════════════════ */
.gallery-widget-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.gallery-widget-head h2 { font-size: 30px; font-weight: 800; color: #0b3e5d; margin: 0 0 10px; }
.gallery-widget-head p { color: #6a7883; font-size: 15px; line-height: 1.8; margin: 0; }

/* ═══════════════════════ TESTIMONIALS ═══════════════════════ */
.testimonials-widget { padding: 60px 0; background: #f7fbfd; }
.testimonials-widget-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.testimonials-widget-head h2 { font-size: 30px; font-weight: 800; color: #0b3e5d; margin: 0 0 10px; }
.testimonials-widget-head p { color: #6a7883; font-size: 15px; line-height: 1.8; margin: 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card { background: #fff; border-radius: 16px; padding: 26px 24px; box-shadow: 0 4px 20px rgb(11 62 93 / 8%); border: 1px solid #eef2f5; transition: transform .25s, box-shadow .25s; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgb(11 62 93 / 14%); }
.testimonial-stars { display: flex; gap: 3px; color: #f5a623; margin-bottom: 14px; }
.testimonial-stars .star-empty { color: #dfe6ea; }
.testimonial-text { color: #445; font-size: 14.5px; line-height: 1.9; margin: 0 0 20px; min-height: 60px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #eef2f5; }
.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-avatar-fallback { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #085482, #4cc2c0); color: #fff; font-weight: 800; font-size: 18px; }
.testimonial-person strong { display: block; font-size: 14.5px; color: #0b3e5d; }
.testimonial-person span { display: block; font-size: 12.5px; color: #8a97a0; margin-top: 2px; }

@media (max-width: 991px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .testimonials-grid { grid-template-columns: 1fr; } .testimonials-widget-head h2, .gallery-widget-head h2 { font-size: 24px; } }

/* ═══════════════════════ BEFORE / AFTER GALLERY ═══════════════════════ */
.ba-widget { padding: 60px 0; }
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.ba-grid.ba-slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 6px 16px; scrollbar-width: none; }
.ba-grid.ba-slider-track::-webkit-scrollbar { display: none; }
.ba-grid.ba-slider-track .ba-card { flex: 0 0 400px; scroll-snap-align: start; }
.ba-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgb(11 62 93 / 8%); border: 1px solid #eef2f5; }
.ba-label { padding: 14px 18px 0; font-size: 15px; font-weight: 800; color: #0b3e5d; margin: 0; }
.ba-slider { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; margin-top: 12px; cursor: ew-resize; user-select: none; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba-before-wrap .ba-img { width: 100%; height: 100%; }
.ba-handle { position: absolute; top: 0; bottom: 0; right: 50%; width: 3px; background: #fff; cursor: ew-resize; transform: translateX(1.5px); }
.ba-handle-btn { position: absolute; top: 50%; right: 50%; transform: translate(50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #085482; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgb(0 0 0 / 25%); }
.ba-tag { position: absolute; top: 12px; background: rgba(11,62,93,.75); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; pointer-events: none; }
.ba-tag-before { right: 12px; }
.ba-tag-after { left: 12px; }

@media (max-width: 767px) { .ba-grid:not(.ba-slider-track) { grid-template-columns: 1fr; } .ba-grid.ba-slider-track .ba-card { flex-basis: 86vw; } }

/* ═══════════════════════ VIDEO GALLERY ═══════════════════════ */
.video-gallery-widget { padding: 60px 0; background: #f7fbfd; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video-item { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16/10; background: #0b3e5d; box-shadow: 0 4px 18px rgb(11 62 93 / 10%); }
.video-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(8,84,130,.35); color: #fff; transition: background .2s; }
.video-item:hover .video-play { background: rgba(8,84,130,.55); }
.video-play svg { width: 60px; height: 60px; padding: 18px; background: rgba(255,255,255,.9); color: #085482; border-radius: 50%; }
.video-lightbox { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; background: rgba(11,62,93,.94); padding: 30px; }
.video-lightbox.active { display: flex; }
.video-lightbox video { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: 0 20px 60px rgb(0 0 0 / 40%); }
.video-lightbox-close { position: absolute; top: 22px; left: 28px; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; z-index: 2; }

@media (max-width: 991px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════ NEIGHBORHOODS SLIDER ═══════════════════════ */
.nbh-slider-widget { padding: 64px 0; background: linear-gradient(180deg, #f7fbfd 0%, #fff 100%); position: relative; }
.nbh-slider-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.nbh-slider-head .gallery-widget-head { max-width: none; margin: 0; }
.nbh-slider-head .gallery-widget-head h2 { font-size: 26px; }
.nbh-slider-nav { display: flex; gap: 10px; flex-shrink: 0; }
.nbh-nav-btn { width: 46px; height: 46px; border-radius: 50%; border: none; background: #fff; color: #085482; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 14px rgb(11 62 93 / 14%); transition: all .2s; }
.nbh-nav-btn:hover { background: linear-gradient(135deg, #085482, #4cc2c0); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgb(11 62 93 / 24%); }
.nbh-slider-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 6px 16px; scrollbar-width: none; }
.nbh-slider-track::-webkit-scrollbar { display: none; }
.nbh-slide-card { flex: 0 0 340px; scroll-snap-align: start; background: #fff; border-radius: 18px; padding: 26px; border: 1px solid #eef2f5; box-shadow: 0 6px 24px rgb(11 62 93 / 8%); transition: transform .25s, box-shadow .25s; }
.nbh-slide-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgb(11 62 93 / 14%); }
.nbh-case-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1.5px dashed #dfe6ea; }
.nbh-case-head::before { content: '📍'; flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #085482, #4cc2c0); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.nbh-case-head h4 { flex: 1; font-size: 17px; font-weight: 800; color: #0b3e5d; margin: 0; }
.nbh-case-duration { flex-shrink: 0; background: #eaf6f6; color: #0d8a88; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; white-space: nowrap; }
.nbh-case-row { margin-bottom: 14px; }
.nbh-case-row:last-child { margin-bottom: 0; }
.nbh-case-row strong { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #085482; margin-bottom: 5px; }
.nbh-row-ico { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; font-size: 11px; }
.nbh-case-row p { font-size: 14px; color: #445; line-height: 1.8; margin: 0; }
.nbh-case-solution strong { color: #0dbd50; }

@media (max-width: 600px) {
    .nbh-slider-head { flex-direction: row; align-items: center; }
    .nbh-slider-head .gallery-widget-head h2 { font-size: 20px; }
    .nbh-nav-btn { width: 40px; height: 40px; }
    .nbh-slide-card { flex-basis: 84vw; padding: 20px; }
}

/* ═══════════════════════ FAQ ACCORDION ═══════════════════════ */
.faq-widget { padding: 60px 0; background: linear-gradient(180deg, #f7fbfd 0%, white 22%); }
.faq-accordion { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { position: relative; background: #fff; border: 1.5px solid #eef2f5; border-radius: 16px; overflow: hidden; box-shadow: 0 3px 14px rgb(11 62 93 / 5%); transition: border-color .25s, box-shadow .25s; }
.faq-item::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, #085482, #4cc2c0); opacity: 0; transition: opacity .25s; }
.faq-item.faq-open { border-color: #4cc2c0; box-shadow: 0 10px 30px rgb(76 194 192 / 18%); }
.faq-item.faq-open::before { opacity: 1; }
.faq-q { width: 100%; display: flex; align-items: center; gap: 16px; background: transparent; border: none; cursor: pointer; padding: 19px 22px; text-align: right; font-family: inherit; }
.faq-q-num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; background: #eaf6f6; color: #0d8a88; transition: all .25s; }
.faq-item.faq-open .faq-q-num { background: linear-gradient(135deg, #085482, #4cc2c0); color: #fff; }
.faq-q span.faq-q-text { flex: 1; font-size: 15.5px; font-weight: 800; color: #0b3e5d; line-height: 1.6; }
.faq-arrow { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #f2f5f7; color: #085482; transition: all .3s; }
.faq-item.faq-open .faq-arrow { transform: rotate(180deg); background: #085482; color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 22px 22px 66px; color: #556; font-size: 14.5px; line-height: 1.9; }
.faq-a-inner p { margin: 0 0 10px; }
.faq-a-inner p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
    .faq-q { padding: 15px 16px; gap: 12px; }
    .faq-q span.faq-q-text { font-size: 14px; }
    .faq-q-num, .faq-arrow { width: 26px; height: 26px; }
    .faq-a-inner { padding-right: 16px; padding-left: 16px; }
}

/* ═══════════════════════ PLAIN IMAGE GALLERY ═══════════════════════ */
.gallery-widget { padding: 60px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1/1; box-shadow: 0 2px 12px rgb(11 62 93 / 10%); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(8,84,130,.45); color: #fff; opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-zoom { opacity: 1; }
.gallery-lightbox { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; background: rgba(11,62,93,.94); padding: 30px; }
.gallery-lightbox.active { display: flex; }
.gallery-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: 0 20px 60px rgb(0 0 0 / 40%); }
.gallery-lightbox-close { position: absolute; top: 22px; left: 28px; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; z-index: 2; }

@media (max-width: 991px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ═══════════════════════ ARTICLE CONTACT FORM ═══════════════════════ */
.cform-widget { padding: 60px 0; }
.cform-card { max-width: 640px; margin: 0 auto; position: relative; background: linear-gradient(150deg, #062338 0%, #085482 55%, #0d6ea3 100%); border-radius: 26px; box-shadow: 0 30px 70px rgb(6 35 56 / 30%); overflow: hidden; }
.cform-badge { position: absolute; top: 24px; left: 24px; text-align: center; color: #fff; z-index: 2; }
.cform-badge strong { display: block; font-size: 22px; font-weight: 900; line-height: 1; }
.cform-badge span { display: block; font-size: 10.5px; color: rgba(255,255,255,.65); margin-top: 4px; }
.cform-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 40px 28px 8px; }
.cform-ico { display: none; }
.cform-head h3 { margin: 0; color: #fff; font-size: 22px; font-weight: 900; }
.cform-head p { margin: 0; color: rgba(255,255,255,.68); font-size: 13.5px; }
.cform-form { padding: 22px 28px 32px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.cform-label { display: block; color: rgba(255,255,255,.85); font-size: 12.5px; font-weight: 700; margin-bottom: 7px; }
.cform-field { position: relative; display: flex; flex-direction: column; }
.cform-field svg { display: none; }
.cform-field input, .cform-field select, .cform-field textarea { width: 100%; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.16); border-radius: 12px; padding: 13px 16px; font-size: 14px; font-family: inherit; color: #fff; transition: border-color .2s, background .2s; }
.cform-field input::placeholder, .cform-field textarea::placeholder { color: rgba(255,255,255,.4); }
.cform-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; }
.cform-field select option { color: #0b3e5d; }
.cform-field input:focus, .cform-field select:focus, .cform-field textarea:focus { outline: none; border-color: #4cc2c0; background: rgba(255,255,255,.14); }
.cform-field-full { margin-bottom: 18px; }
.cform-field-full textarea { resize: vertical; min-height: 90px; }
.cform-submit { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, #4cc2c0, #085482); color: #fff; border: none; border-radius: 12px; padding: 16px; font-size: 15.5px; font-weight: 800; cursor: pointer; transition: opacity .2s, transform .2s; box-shadow: 0 10px 26px rgb(8 84 130 / 40%); }
.cform-submit:hover { opacity: .92; transform: translateY(-1px); }
.cform-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.cform-response { margin: 14px 0 0; font-size: 13.5px; font-weight: 700; min-height: 18px; text-align: center; }
.cform-response.cform-success { color: #4ce6a8; }
.cform-response.cform-error { color: #ff6b6b; }

@media (max-width: 600px) {
    .cform-row { grid-template-columns: 1fr; gap: 12px; }
    .cform-head { padding: 60px 20px 6px; }
    .cform-badge { top: 18px; left: 18px; }
    .cform-form { padding: 18px 20px 26px; }
}

/* ═══════════════════════ INSULATION TYPES (DARK GRID) ═══════════════════════ */
.itypes-widget { padding: 64px 0; background: linear-gradient(160deg, #062338 0%, #0b3e5d 100%); }
.itypes-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.itypes-tag { display: inline-block; background: rgba(76,194,192,.15); color: #4cc2c0; font-size: 12px; font-weight: 700; padding: 6px 18px; border-radius: 20px; margin-bottom: 14px; }
.itypes-head h2 { color: #fff; font-size: 28px; font-weight: 900; margin: 0 0 10px; }
.itypes-head p { color: rgba(255,255,255,.6); font-size: 14.5px; line-height: 1.8; margin: 0; }
.itypes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.itypes-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 26px; transition: all .25s; }
.itypes-card:hover { background: rgba(255,255,255,.08); border-color: rgba(76,194,192,.4); transform: translateY(-4px); }
.itypes-ico { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #085482, #4cc2c0); font-size: 24px; margin-bottom: 18px; box-shadow: 0 6px 14px rgb(11 62 93 / 18%); }
.itypes-card:nth-child(6n+2) .itypes-ico { background: linear-gradient(135deg, #6a5af9, #a78bfa); }
.itypes-card:nth-child(6n+3) .itypes-ico { background: linear-gradient(135deg, #ff5c5c, #ff8a8a); }
.itypes-card:nth-child(6n+4) .itypes-ico { background: linear-gradient(135deg, #0dbd6e, #4ce39a); }
.itypes-card:nth-child(6n+5) .itypes-ico { background: linear-gradient(135deg, #ff8a3d, #ffb35c); }
.itypes-card:nth-child(6n+6) .itypes-ico { background: linear-gradient(135deg, #ec4899, #f472b6); }
.itypes-card h4 { color: #fff; font-size: 16.5px; font-weight: 800; margin: 0 0 10px; }
.itypes-card p { color: rgba(255,255,255,.55); font-size: 13.5px; line-height: 1.9; margin: 0; }

@media (max-width: 991px) { .itypes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
    .itypes-grid { grid-template-columns: 1fr; }
    .itypes-head h2 { font-size: 22px; }
    .itypes-widget { padding: 44px 0; }
}

/* ==========================================================================
   الأقسام الجديدة (ليه تختارنا / مراحل / مشاكل وحلول / مقارنة / أسعار /
   اعتماد / أسئلة شائعة / دليل الأحياء / مشاريع)
   ========================================================================== */

/* مراحل عملنا */
.process-widget { padding: 56px 0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-card { text-align: center; padding: 22px; border-radius: 16px; background: #f7fbfd; }
.process-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #085482, #4cc2c0); color: #fff; font-weight: 800; margin-bottom: 12px; }
.process-card h4 { font-size: 16px; font-weight: 800; margin: 0 0 8px; color: #0b3e5d; }
.process-card p { font-size: 13.5px; color: #6a7883; margin: 0; line-height: 1.7; }
@media (max-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }

/* مشاكل وحلول */
.ps-widget { padding: 56px 0; background: #f7fbfd; }
.ps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ps-card { background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 6px 20px rgb(11 62 93 / 8%); }
.ps-row { display: flex; gap: 12px; margin-bottom: 10px; }
.ps-row:last-child { margin-bottom: 0; }
.ps-mark { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.ps-problem .ps-mark { background: #ffe1e1; color: #d33; }
.ps-solution .ps-mark { background: #e1fff0; color: #0dbd50; }
.ps-row strong { display: block; font-size: 14.5px; color: #0b3e5d; margin-bottom: 3px; }
.ps-row p { font-size: 13px; color: #6a7883; margin: 0; line-height: 1.6; }
@media (max-width: 768px) { .ps-grid { grid-template-columns: 1fr; } }

/* جدول المقارنة */
.compare-widget { padding: 56px 0; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 12px 16px; text-align: center; border: 1px solid #eef2f5; font-size: 13.5px; }
.compare-table thead th { background: #085482; color: #fff; font-weight: 800; }
.compare-table td:first-child { text-align: right; font-weight: 700; color: #0b3e5d; background: #f7fbfd; }

/* باقات الأسعار */
.pricing-widget { padding: 56px 0; background: #f7fbfd; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pricing-card { position: relative; background: #fff; border-radius: 18px; padding: 28px 22px; text-align: center; box-shadow: 0 6px 20px rgb(11 62 93 / 8%); border: 2px solid transparent; }
.pricing-card.pricing-featured { border-color: #4cc2c0; transform: translateY(-6px); }
.pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #4cc2c0; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 20px; white-space: nowrap; }
.pricing-card h4 { font-size: 17px; font-weight: 800; color: #0b3e5d; margin: 6px 0 8px; }
.pricing-price { font-size: 26px; font-weight: 800; color: #085482; margin-bottom: 16px; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 20px; text-align: right; }
.pricing-features li { font-size: 13.5px; color: #445; margin-bottom: 8px; }
.pricing-cta { display: inline-block; background: linear-gradient(135deg, #085482, #4cc2c0); color: #fff; padding: 10px 26px; border-radius: 30px; font-size: 14px; font-weight: 700; text-decoration: none; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } .pricing-card.pricing-featured { transform: none; } }

/* الاعتماد والمعايير */
.certs-widget { padding: 56px 0; }
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.certs-card { display: flex; align-items: center; gap: 12px; background: #f7fbfd; border-radius: 14px; padding: 16px; }
.certs-check { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #e1fff0; color: #0dbd50; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.certs-card strong { display: block; font-size: 13.5px; color: #0b3e5d; }
.certs-card span { font-size: 12px; color: #6a7883; }
@media (max-width: 768px) { .certs-grid { grid-template-columns: 1fr 1fr; } }

/* الأسئلة الشائعة */
.faq-widget { padding: 56px 0; background: #f7fbfd; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 14px; margin-bottom: 12px; overflow: hidden; box-shadow: 0 4px 14px rgb(11 62 93 / 6%); }
.faq-q { width: 100%; text-align: right; background: none; border: none; padding: 18px 22px; font-size: 15px; font-weight: 700; color: #0b3e5d; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-plus { font-size: 20px; color: #085482; transition: transform .2s; }
.faq-item.faq-open .faq-plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.faq-open .faq-a { max-height: 400px; }
.faq-a p { margin: 0; padding: 0 22px 18px; font-size: 13.5px; color: #6a7883; line-height: 1.8; }

/* دليل الأحياء (فلترة) */
.dir-widget { padding: 56px 0; }
.dir-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.dir-tab { background: #f7fbfd; border: none; padding: 8px 20px; border-radius: 30px; font-size: 13.5px; font-weight: 700; color: #0b3e5d; cursor: pointer; }
.dir-tab.dir-tab-active { background: linear-gradient(135deg, #085482, #4cc2c0); color: #fff; }
.dir-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dir-card { background: #f7fbfd; border-radius: 14px; padding: 16px; overflow: hidden; }
.dir-card-img { margin: -16px -16px 12px; height: 120px; overflow: hidden; }
.dir-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dir-card.dir-card-more { display: none; }
.dir-card h4 { font-size: 14.5px; font-weight: 800; color: #0b3e5d; margin: 0 0 10px; }
.dir-specs { list-style: none; padding: 0; margin: 0 0 12px; }
.dir-specs li { font-size: 12px; color: #556570; line-height: 1.8; }
.dir-specs li strong { color: #085482; font-weight: 700; }
.dir-card-actions { display: flex; gap: 8px; }
.dir-btn { flex: 1; text-align: center; padding: 7px 8px; border-radius: 8px; font-size: 12px; font-weight: 700; text-decoration: none; }
.dir-btn-wa { background: #25d366; color: #fff; }
.dir-btn-call { background: #085482; color: #fff; }
.dir-more-btn { display: block; margin: 24px auto 0; background: #085482; color: #fff; border: none; padding: 10px 26px; border-radius: 30px; font-size: 13.5px; font-weight: 700; cursor: pointer; }
@media (max-width: 900px) { .dir-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dir-grid { grid-template-columns: 1fr; } }

/* مشاريع ودراسات حالة */
.cases-widget { padding: 56px 0; background: #f7fbfd; }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cases-card { background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 6px 20px rgb(11 62 93 / 8%); overflow: hidden; }
.cases-card-img { margin: -22px -22px 16px; height: 160px; overflow: hidden; }
.cases-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cases-ico { font-size: 24px; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #ff8a3d, #ffb35c); box-shadow: 0 6px 14px rgb(11 62 93 / 18%); }
.cases-card h4 { font-size: 15.5px; font-weight: 800; color: #0b3e5d; margin: 10px 0 6px; }
.cases-meta { display: flex; gap: 14px; margin-bottom: 10px; }
.cases-meta span { font-size: 12px; color: #6a7883; }
.cases-card p { font-size: 13px; color: #445; margin: 0 0 6px; line-height: 1.6; }
.cases-result { color: #0dbd50 !important; font-weight: 700; }
@media (max-width: 900px) { .cases-grid { grid-template-columns: 1fr; } }

/* أسباب نجاحنا */
.success-widget { padding: 56px 0; background: linear-gradient(180deg, #f7fbfd 0%, #fff 100%); }
.success-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.success-card { background: #fff; border-radius: 16px; padding: 26px 24px; box-shadow: 0 6px 20px rgb(11 62 93 / 8%); display: flex; gap: 16px; align-items: flex-start; }
.success-ico { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #085482, #4cc2c0); display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 6px 14px rgb(11 62 93 / 18%); }
.success-card:nth-child(2n) .success-ico { background: linear-gradient(135deg, #0dbd6e, #4ce39a); }
.success-card h4 { font-size: 16.5px; font-weight: 800; color: #0b3e5d; margin: 0 0 8px; }
.success-card p { font-size: 14px; line-height: 1.9; color: #556570; margin: 0; }
@media (max-width: 768px) { .success-grid { grid-template-columns: 1fr; } }

/* خدماتنا — تصميم جديد: قائمة مرقّمة + لوحة تفاصيل (svx) */
.svx { position: relative; padding: 72px 0; background: #0b3e5d; background-image: radial-gradient(circle at 12% 0%, rgb(76 194 192 / 22%), transparent 45%), radial-gradient(circle at 100% 100%, rgb(8 84 130 / 70%), transparent 50%); color: #fff; overflow: hidden; }
.svx::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.svx container { position: relative; display: block; }
.svx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.svx-head-text { max-width: 620px; text-align: right; }
.svx-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #4cc2c0; letter-spacing: .3px; margin-bottom: 10px; }
.svx-eyebrow::before { content: ""; width: 28px; height: 2px; background: #4cc2c0; border-radius: 2px; }
.svx-head h2 { font-size: 34px; font-weight: 800; line-height: 1.4; color: #fff; margin: 0 0 8px; }
.svx-head p { font-size: 15.5px; line-height: 1.8; color: rgb(255 255 255 / 70%); margin: 0; }
.svx-head-call { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 20px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 14px; background: rgb(255 255 255 / 6%); color: #fff; text-decoration: none; transition: background .25s, border-color .25s; }
.svx-head-call span { font-size: 12px; color: rgb(255 255 255 / 65%); }
.svx-head-call strong { font-size: 17px; font-weight: 800; direction: ltr; }
.svx-head-call:hover { background: rgb(76 194 192 / 16%); border-color: #4cc2c0; color: #fff; }

.svx-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 22px; align-items: start; }
.svx-tabs { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 100px; }
.svx-tab { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 16px; background: rgb(255 255 255 / 4%); color: #fff; font-family: inherit; text-align: right; cursor: pointer; transition: background .25s, border-color .25s, transform .25s; }
.svx-tab:hover { background: rgb(255 255 255 / 9%); }
.svx-tab:focus-visible { outline: 2px solid #4cc2c0; outline-offset: 2px; }
.svx-tab-num { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgb(255 255 255 / 8%); font-size: 15px; font-weight: 800; color: rgb(255 255 255 / 75%); transition: background .25s, color .25s; }
.svx-tab-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.svx-tab-text strong { font-size: 16px; font-weight: 800; line-height: 1.5; }
.svx-tab-text small { font-size: 12px; color: rgb(255 255 255 / 55%); }
.svx-tab-arrow { flex-shrink: 0; display: grid; place-items: center; color: rgb(255 255 255 / 35%); transition: color .25s, transform .25s; }
.svx-tab.is-active { background: #fff; border-color: #fff; color: #0b3e5d; transform: translateX(-6px); box-shadow: 0 14px 34px rgb(0 0 0 / 22%); }
.svx-tab.is-active .svx-tab-num { background: linear-gradient(135deg, #085482, #4cc2c0); color: #fff; }
.svx-tab.is-active .svx-tab-text small { color: #4a8fa8; }
.svx-tab.is-active .svx-tab-arrow { color: #4cc2c0; transform: translateX(-4px); }

.svx-panels { min-width: 0; }
.svx-panel { display: grid; grid-template-columns: 1fr 1.15fr; background: #fff; color: #0b3e5d; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgb(0 0 0 / 25%); }
.svx-panel + .svx-panel { margin-top: 22px; }
.svx--js .svx-panel { display: none; margin-top: 0; }
.svx--js .svx-panel.is-active { display: grid; animation: svxIn .45s ease both; }
@keyframes svxIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.svx-media { position: relative; min-height: 100%; background: linear-gradient(135deg, #085482, #4cc2c0); }
.svx-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.svx-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(11 62 93 / 75%), rgb(11 62 93 / 0%) 55%); }
.svx-media--empty { background-image: radial-gradient(rgb(255 255 255 / 18%) 1.2px, transparent 1.4px), radial-gradient(circle at 80% 20%, rgb(255 255 255 / 25%), transparent 45%), linear-gradient(135deg, #085482, #4cc2c0); background-size: 18px 18px, auto, auto; }
.svx-media--empty::after { background: none; border: 1px solid rgb(255 255 255 / 25%); inset: 22px; border-radius: 16px; }
.svx-media-num { position: absolute; bottom: 14px; right: 22px; z-index: 1; font-size: 84px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / 85%); }
.svx-badge { position: absolute; top: 18px; right: 18px; z-index: 1; font-size: 12.5px; font-weight: 700; color: #0b3e5d; background: #fff; padding: 6px 14px; border-radius: 30px; box-shadow: 0 6px 16px rgb(0 0 0 / 15%); }

.svx-body { padding: 34px 34px 30px; text-align: right; display: flex; flex-direction: column; }
.svx-body h3 { font-size: 26px; font-weight: 800; color: #0b3e5d; margin: 0 0 10px; line-height: 1.4; }
.svx-desc { font-size: 15px; line-height: 1.9; color: #5d6d78; margin: 0 0 22px; }
.svx-points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.svx-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.7; color: #2f4250; padding-bottom: 12px; border-bottom: 1px dashed #dbe7ee; }
.svx-points li:last-child { border-bottom: 0; padding-bottom: 0; }
.svx-check { flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: #e3f6f5; color: #1a9e9b; }
.svx-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.svx-cta, .svx-call { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 14px; font-size: 14.5px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.svx-cta { background: linear-gradient(135deg, #085482, #4cc2c0); color: #fff; box-shadow: 0 10px 24px rgb(8 84 130 / 28%); }
.svx-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgb(8 84 130 / 35%); }
.svx-call { background: #f1f6f9; color: #0b3e5d; }
.svx-call:hover { background: #e3eef4; color: #0b3e5d; }

@media (max-width: 1024px) {
    .svx-wrap { grid-template-columns: 260px 1fr; }
    .svx-panel { grid-template-columns: 1fr; }
    .svx-media { min-height: 220px; }
}
@media (max-width: 820px) {
    .svx { padding: 52px 0; }
    .svx-head { flex-direction: column; align-items: stretch; margin-bottom: 24px; }
    .svx-head h2 { font-size: 26px; }
    .svx-head-call { align-items: center; }
    .svx-wrap { grid-template-columns: 1fr; gap: 16px; }
    .svx-tabs { position: static; flex-direction: row; overflow-x: auto; gap: 8px; margin: 0 -10px; padding: 4px 10px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .svx-tabs::-webkit-scrollbar { display: none; }
    .svx-tab { width: auto; flex-shrink: 0; padding: 10px 14px 10px 16px; gap: 10px; border-radius: 40px; scroll-snap-align: center; }
    .svx-tab.is-active { transform: none; }
    .svx-tab-num { width: 30px; height: 30px; border-radius: 50%; font-size: 12px; }
    .svx-tab-text strong { font-size: 14px; white-space: nowrap; }
    .svx-tab-text small, .svx-tab-arrow { display: none; }
    .svx-media { min-height: 190px; }
    .svx-media-num { font-size: 60px; }
    .svx-body { padding: 24px 20px 22px; }
    .svx-body h3 { font-size: 21px; }
    .svx-actions a { flex: 1; }
    .svx-tabs { display: none; }
    .svx--js .svx-tabs { display: flex; }
}
@media (prefers-reduced-motion: reduce) { .svx--js .svx-panel.is-active { animation: none; } .svx-tab, .svx-cta { transition: none; } }

/* نص مخصص */
.customtext-widget { padding: 48px 0; background: var(--ct-bg, #f7fbfd); }
.customtext-widget .customtext-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.customtext-widget h2 { font-size: 24px; font-weight: 800; color: var(--ct-color, #0b3e5d); margin: 0 0 14px; }
.customtext-widget h3 { font-size: 18px; font-weight: 800; color: var(--ct-color, #0b3e5d); margin: 24px 0 10px; }
.customtext-widget p { font-size: 15px; line-height: 1.9; color: var(--ct-color, #445); margin: 0 0 10px; }
.customtext-widget .customtext-list { text-align: right; list-style: none; padding: 0; margin: 0 0 10px; }
.customtext-widget .customtext-list li { font-size: 14.5px; line-height: 1.9; color: var(--ct-color, #445); margin-bottom: 6px; padding-right: 20px; position: relative; }
.customtext-widget .customtext-list li::before { content: '✔'; position: absolute; right: 0; color: #0dbd50; font-weight: 700; }
.customtext-widget .customtext-richtext { text-align: right; }
.customtext-widget .customtext-richtext h3 { font-size: 18px; font-weight: 800; color: var(--ct-color, #0b3e5d); margin: 24px 0 10px; }
.customtext-widget .customtext-richtext p { margin: 0 0 14px; }
.customtext-widget .customtext-richtext ul, .customtext-widget .customtext-richtext ol { margin: 0 0 14px; padding-inline-start: 22px; }
.customtext-widget .customtext-richtext li { margin-bottom: 6px; }
.customtext-widget .customtext-richtext a { color: #085482; font-weight: 700; text-decoration: underline; }
.customtext-widget .customtext-richtext img { max-width: 100%; height: auto; border-radius: 12px; margin: 14px 0; display: block; }
.customtext-widget .customtext-richtext table { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.customtext-widget .customtext-richtext table td, .customtext-widget .customtext-richtext table th { padding: 10px 14px; border-bottom: 1px solid rgba(0,0,0,.06); font-size: 13.5px; }
.customtext-widget .customtext-richtext table tr:nth-child(even) { background: rgba(0,0,0,.02); }
.customtext-widget .customtext-richtext table td:last-child { font-weight: 800; color: #085482; white-space: nowrap; }

/* رؤيتنا */
.vision-widget { padding: 48px 0; background: linear-gradient(135deg, #085482, #4cc2c0); }
.vision-widget .vision-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.vision-widget .vision-ico { font-size: 30px; display: inline-block; margin-bottom: 10px; }
.vision-widget h2 { font-size: 24px; font-weight: 800; color: #fff; margin: 0 0 12px; }
.vision-widget p { font-size: 15px; line-height: 1.9; color: rgba(255,255,255,.92); margin: 0; }

/* مميزاتنا - 4 عناصر */
.features4-widget { padding: 48px 0; }
.features4-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.features4-card { background: #fff; border: 1px solid #eef2f5; border-radius: 16px; padding: 26px 18px; text-align: center; box-shadow: 0 4px 16px rgb(11 62 93 / 6%); }
.features4-ico { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; font-size: 26px; margin-bottom: 14px; box-shadow: 0 6px 14px rgb(11 62 93 / 18%); }
.features4-card:nth-child(4n+1) .features4-ico { background: linear-gradient(135deg, #6a5af9, #a78bfa); }
.features4-card:nth-child(4n+2) .features4-ico { background: linear-gradient(135deg, #ff5c5c, #ff8a8a); }
.features4-card:nth-child(4n+3) .features4-ico { background: linear-gradient(135deg, #0dbd6e, #4ce39a); }
.features4-card:nth-child(4n+4) .features4-ico { background: linear-gradient(135deg, #ff8a3d, #ffb35c); }
.features4-card h4 { font-size: 15.5px; font-weight: 800; color: #0b3e5d; margin: 0 0 8px; }
.features4-card p { font-size: 12.5px; color: #6a7883; line-height: 1.7; margin: 0; }
@media (max-width: 900px) { .features4-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .features4-grid { grid-template-columns: 1fr; } }

/* جدول أسعار العزل */
.pricelist-widget { padding: 48px 0; background: #f7fbfd; }
.pricelist-grid { max-width: 720px; margin: 0 auto; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 20px rgb(11 62 93 / 8%); }
.pricelist-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-bottom: 1px solid #eef2f5; }
.pricelist-row:last-child { border-bottom: none; }
.pricelist-row:nth-child(even) { background: #fafcfd; }
.pricelist-name { font-size: 14px; color: #0b3e5d; font-weight: 700; }
.pricelist-price { font-size: 14px; color: #085482; font-weight: 800; background: #e6f4fb; padding: 4px 14px; border-radius: 20px; white-space: nowrap; }
.pricelist-note { max-width: 720px; margin: 16px auto 0; font-size: 12.5px; color: #9a6b1f; background: #fff8e8; border: 1px solid #ffe4a8; padding: 10px 16px; border-radius: 10px; text-align: center; }
@media (max-width: 600px) {
    .pricelist-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* بيانات الشركة - جدول */
.infotable-widget { padding: 48px 0; }
.infotable-grid { max-width: 700px; margin: 0 auto; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 20px rgb(11 62 93 / 8%); border: 1px solid #eef2f5; }
.infotable-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-bottom: 1px solid #eef2f5; }
.infotable-row:last-child { border-bottom: none; }
.infotable-row:nth-child(even) { background: #fafcfd; }
.infotable-label { font-size: 13.5px; color: #6a7883; font-weight: 700; }
.infotable-value { font-size: 14px; color: #0b3e5d; font-weight: 800; }
.infotable-link { text-decoration: none; }
.infotable-link:hover { text-decoration: underline; }
@media (max-width: 600px) {
    .infotable-row { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* تنسيق محتوى المقالات/الصفحات العادية (post-content) */
post-content, .post-content { display: block; max-width: 820px; margin: 0 auto; line-height: 1.9; color: #445; font-size: 15.5px; }
post-content h1, .post-content h1 { font-size: 28px; font-weight: 800; color: #0b3e5d; margin: 32px 0 16px; }
post-content h2, .post-content h2 { font-size: 22px; font-weight: 800; color: #0b3e5d; margin: 30px 0 14px; }
post-content h3, .post-content h3 { font-size: 18px; font-weight: 800; color: #085482; margin: 24px 0 10px; }
post-content p, .post-content p { margin: 0 0 16px; }
post-content ul, .post-content ul, post-content ol, .post-content ol { margin: 0 0 16px; padding-inline-start: 24px; }
post-content li, .post-content li { margin-bottom: 8px; }
post-content strong, .post-content strong { color: #0b3e5d; }
post-content a, .post-content a { color: #085482; font-weight: 700; text-decoration: underline; }
post-content img, .post-content img { max-width: 100%; height: auto; border-radius: 14px; margin: 20px 0; display: block; box-shadow: 0 6px 20px rgb(11 62 93 / 10%); }
post-content table, .post-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
post-content th, .post-content th { background: #085482; color: #fff; padding: 10px 14px; font-size: 13.5px; font-weight: 700; text-align: center; }
post-content td, .post-content td { padding: 10px 14px; border: 1px solid #eef2f5; font-size: 13.5px; text-align: center; }
post-content td:first-child, .post-content td:first-child { text-align: right; font-weight: 700; color: #0b3e5d; background: #f7fbfd; }
post-content blockquote, .post-content blockquote { border-right: 4px solid #4cc2c0; background: #f7fbfd; padding: 14px 20px; margin: 20px 0; border-radius: 0 10px 10px 0; color: #556570; }
@media (max-width: 768px) {
    post-content, .post-content { font-size: 14px; }
    post-content h1, .post-content h1 { font-size: 22px; }
    post-content h2, .post-content h2 { font-size: 19px; }
}
