/* =========================================
   Wisal Software - Main Stylesheet
   Final Clean Version
========================================= */

/* =========================================
   Root Variables
========================================= */

:root {
    --primary: #0b2342;
    --primary-2: #123b68;
    --accent: #19b7a5;
    --accent-2: #75e0d2;
    --dark: #071526;
    --muted: #6c7b8d;
    --light: #f5f8fb;
    --white: #fff;
    --border: #e7edf3;
    --shadow: 0 15px 45px rgba(7, 21, 38, .08);
    --radius: 18px;
}

/* =========================================
   General
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo", sans-serif;
    color: var(--dark);
    background: #fff;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.section {
    padding: 90px 0;
}

.section-sm {
    padding: 65px 0;
}

.section-title {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-title .eyebrow,
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 38px;
    line-height: 1.35;
    font-weight: 800;
    margin: 0 0 14px;
}

.section-title p {
    color: var(--muted);
    margin: 0;
}

.text-accent {
    color: var(--accent) !important;
}

.bg-light {
    background: var(--light) !important;
}

/* =========================================
   Navbar
========================================= */

.navbar {
    padding: 18px 0;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 2px 18px rgba(7, 21, 38, .05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 25px;
    font-weight: 900;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
}

.navbar-nav {
    gap: 4px;
}

.nav-link {
    font-size: 14px;
    font-weight: 700;
    color: #33465c !important;
    padding: 9px 13px !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent) !important;
}

.lang-btn {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 13px;
    color: var(--primary);
    font-weight: 700;
}

.btn-main {
    background: var(--accent);
    color: #fff;
    border: 0;
    padding: 12px 22px;
    border-radius: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: .25s;
}

.btn-main:hover {
    background: #119c8d;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-main {
    background: transparent;
    color: var(--primary);
    border: 1px solid #cad7e4;
    padding: 11px 21px;
    border-radius: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.btn-outline-main:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* =========================================
   Navigation Dropdown
========================================= */

.navbar .dropdown {
    position: relative;
}

.navbar .dropdown-menu {
    min-width: 190px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.navbar .dropdown-item {
    padding: 9px 12px;
    border-radius: 8px;
    color: #33465c;
    font-size: 14px;
    font-weight: 600;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: #edf8f7;
    color: var(--accent);
}

.navbar .dropdown-toggle::after {
    margin-right: 5px;
    vertical-align: middle;
}

html[dir="rtl"] .navbar .dropdown-menu {
    right: 0;
    left: auto;
    text-align: right;
}

html[dir="rtl"] .navbar .dropdown-item {
    text-align: right;
}

html[dir="ltr"] .navbar .dropdown-menu {
    left: 0;
    right: auto;
    text-align: left;
}

html[dir="ltr"] .navbar .dropdown-item {
    text-align: left;
}

/* =========================================
   Hero
========================================= */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #071a31 0%, #0d3156 55%, #0c4a5b 100%);
    color: #fff;
    padding: 110px 0 100px;
}

.hero:before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(117, 224, 210, .15);
    border-radius: 50%;
    top: -230px;
    right: -150px;
}

.hero:after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    bottom: -180px;
    left: -80px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.25;
    font-weight: 900;
    margin: 0 0 20px;
    max-width: 760px;
}

.hero p {
    font-size: 18px;
    color: #d6e4f1;
    max-width: 650px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero .btn-outline-main {
    border-color: rgba(255, 255, 255, .25);
    color: #fff;
}

.hero-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .2);
    backdrop-filter: blur(12px);
}

.dashboard {
    background: #fff;
    border-radius: 17px;
    padding: 18px;
    color: var(--dark);
}

.dash-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.dash-title {
    font-weight: 900;
}

.dot {
    width: 9px;
    height: 9px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

.dash-number {
    font-size: 30px;
    font-weight: 900;
    color: var(--primary);
}

.dash-bars {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 90px;
}

.dash-bars span {
    flex: 1;
    background: linear-gradient(180deg, var(--accent), #b6eee7);
    border-radius: 7px 7px 2px 2px;
}

.trust-strip {
    background: #fff;
    box-shadow: var(--shadow);
    margin-top: -38px;
    position: relative;
    z-index: 4;
    border-radius: 18px;
    padding: 24px;
}

.trust-item {
    text-align: center;
    border-left: 1px solid var(--border);
}

[dir="ltr"] .trust-item {
    border-left: 0;
    border-right: 1px solid var(--border);
}

.trust-item:last-child {
    border: 0;
}

.trust-item strong {
    display: block;
    font-size: 25px;
    color: var(--primary);
    font-weight: 900;
}

.trust-item span {
    font-size: 13px;
    color: var(--muted);
}

/* =========================================
   Cards
========================================= */

.service-card,
.product-card,
.project-card,
.blog-card,
.client-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: .25s;
}

.service-card:hover,
.product-card:hover,
.project-card:hover,
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.service-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.icon-box {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    background: #e9fbf8;
    color: var(--accent);
    display: grid;
    place-items: center;
    font-size: 23px;
    margin-bottom: 18px;
}

.service-card .tag {
    margin-bottom: 12px;
}

.service-card h4,
.product-card h4,
.project-card h4,
.blog-card h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
}

.service-card h4 {
    min-height: 32px;
}

.service-card p,
.product-card p,
.project-card p,
.blog-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.service-card p {
    min-height: 58px;
    margin-bottom: 20px;
}

.read-more {
    color: var(--accent);
    font-weight: 800;
    font-size: 14px;
}

.service-card .read-more {
    margin-top: auto;
}

.image-wrap {
    height: 230px;
    overflow: hidden;
    background: #e9eef4;
}

.image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.project-card:hover .image-wrap img,
.blog-card:hover .image-wrap img {
    transform: scale(1.04);
}

.card-body-custom {
    padding: 23px;
}

.tag {
    display: inline-flex;
    background: #edf8f7;
    color: #118e81;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 11px;
}

/* =========================================
   About
========================================= */

.about-box {
    background: var(--primary);
    border-radius: 25px;
    color: #fff;
    padding: 45px;
    overflow: hidden;
    position: relative;
}

.about-box:after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    right: -100px;
    top: -130px;
}

.about-box h2 {
    font-size: 36px;
    font-weight: 900;
}

.about-box p {
    color: #cfdeea;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
}

.check-list li {
    display: flex;
    gap: 10px;
    margin: 11px 0;
    color: #e6f0f7;
}

.check-list i {
    color: var(--accent);
}

/* =========================================
   Process
========================================= */

.process-item {
    position: relative;
    text-align: center;
    padding: 10px 15px;
}

.process-number {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    margin: 0 auto 18px;
    border: 5px solid #e8f5f4;
}

.process-item h5 {
    font-weight: 800;
}

.process-item p {
    color: var(--muted);
    font-size: 13px;
}

/* =========================================
   CTA
========================================= */

.cta {
    background: linear-gradient(135deg, var(--primary), #104e66);
    border-radius: 25px;
    color: #fff;
    padding: 55px;
}

.cta h2 {
    font-size: 36px;
    font-weight: 900;
}

.cta p {
    color: #d7e6ef;
}

/* =========================================
   Clients
========================================= */

.client-card {
    padding: 25px;
    display: grid;
    place-items: center;
    min-height: 110px;
    color: #718297;
    font-weight: 900;
    background: #fff;
}

.client-card span {
    font-size: 18px;
    letter-spacing: .5px;
}

/* =========================================
   Page Hero
========================================= */

.page-hero {
    background: linear-gradient(135deg, #071a31, #0e405c);
    color: #fff;
    padding: 75px 0;
}

.page-hero h1 {
    font-size: 44px;
    font-weight: 900;
    margin: 0 0 10px;
}

.breadcrumb-custom {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #bcd0df;
    font-size: 14px;
}

.breadcrumb-custom a {
    color: #fff;
}

/* =========================================
   Details
========================================= */

.detail-image {
    overflow: hidden;
    border-radius: 22px;
    background: #e9eef4;
}

.detail-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.detail-content h2,
.detail-content h3 {
    font-weight: 900;
    color: var(--primary);
    margin-top: 30px;
}

.detail-content p {
    color: #627286;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
    margin-top: 25px;
}

.feature-list div {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    font-weight: 700;
    background: #fff;
}

/* =========================================
   Blog
========================================= */

.blog-meta {
    font-size: 13px;
    color: #8795a5;
    margin-bottom: 10px;
}

.article-content {
    font-size: 16px;
    color: #58697d;
    line-height: 2;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--primary);
    line-height: 1.6;
    font-weight: 800;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    margin: 25px 0;
}

.article-details-card {
    background: #fff;
    border-radius: 24px;
}

.article-gallery {
    border-top: 1px solid #eee;
    padding-top: 25px;
}

.article-gallery-item {
    overflow: hidden;
    border-radius: 16px;
    background: #f5f7fa;
}

.article-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.article-gallery-item:hover img {
    transform: scale(1.03);
}

.article-share {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f5f8;
    color: #162033;
    text-decoration: none;
    transition: .3s ease;
}

.share-btn:hover {
    background: var(--accent);
    color: #fff;
}

/* =========================================
   Article Sidebar
========================================= */

.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: #fff;
    border: 1px solid #e9edf2;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .05);
}

.sidebar-title {
    margin-bottom: 20px;
}

.sidebar-title h4 {
    margin: 8px 0 0;
    font-weight: 800;
    color: #162033;
}

.category-list {
    display: flex;
    flex-direction: column;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid #edf0f3;
    color: #555;
    text-decoration: none;
    transition: .3s ease;
}

.category-list a:last-child {
    border-bottom: 0;
}

.category-list a:hover,
.category-list a.active {
    color: var(--accent);
}

.category-list a i {
    font-size: 14px;
}

.category-list a small {
    color: #999;
}

/* =========================================
   Forms & Contact
========================================= */

.form-control,
.form-select {
    padding: 13px 15px;
    border-radius: 11px;
    border: 1px solid #dbe4ec;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 .2rem rgba(25, 183, 165, .12);
}

.contact-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 18px;
    height: 100%;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    background: #e9fbf8;
    color: var(--accent);
    display: grid;
    place-items: center;
    font-size: 21px;
    margin-bottom: 15px;
}

.contact-info-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #f8fafb;
}

.contact-info-box-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #edf8f7;
    color: var(--accent);
    font-size: 19px;
}

.contact-map {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 14px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* =========================================
   Category Filters
========================================= */

.service-category-filter,
.product-category-filter,
.project-category-filter,
.article-category-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.service-category-filter-item,
.product-category-filter-item,
.project-category-filter-item,
.article-category-filter-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: .25s;
}

.service-category-filter-item small,
.product-category-filter-item small,
.project-category-filter-item small,
.article-category-filter-item small {
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #edf8f7;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
}

.service-category-filter-item:hover,
.service-category-filter-item.active,
.product-category-filter-item:hover,
.product-category-filter-item.active,
.project-category-filter-item:hover,
.project-category-filter-item.active,
.article-category-filter-item:hover,
.article-category-filter-item.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.service-category-filter-item:hover small,
.service-category-filter-item.active small,
.product-category-filter-item:hover small,
.product-category-filter-item.active small,
.project-category-filter-item:hover small,
.project-category-filter-item.active small,
.article-category-filter-item:hover small,
.article-category-filter-item.active small {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

/* =========================================
   Footer
========================================= */

.footer {
    background: #061525;
    color: #b9c8d5;
    padding: 65px 0 25px;
}

.footer .row {
    align-items: flex-start;
}

.footer h5 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer a {
    color: #b9c8d5;
    font-size: 14px;
    display: block;
    margin: 9px 0;
    transition: .25s;
}

.footer a:hover {
    color: var(--accent);
}

.footer-brand {
    font-size: 24px;
    color: #fff !important;
    font-weight: 900;
}

.footer p {
    color: #b9c8d5;
    font-size: 14px;
    line-height: 1.9;
}

.footer-links a {
    width: fit-content;
}

.footer-links a:hover {
    transform: translateX(-3px);
}

[dir="ltr"] .footer-links a:hover {
    transform: translateX(3px);
}

.footer-contact a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact a i {
    margin-top: 5px;
    flex: 0 0 auto;
    color: var(--accent);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #b9c8d5;
    font-size: 16px;
    transition: .25s;
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 13px;
    color: #8fa1b1;
}

/* =========================================
   WhatsApp
========================================= */

.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 25px;
    z-index: 1100;
    box-shadow: 0 8px 25px rgba(37, 211, 102, .3);
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 22px;
}

/* =========================================
   Pagination & Search
========================================= */

.pagination .page-link {
    color: var(--primary);
    border: 0;
    margin: 0 3px;
    border-radius: 8px;
}

.pagination .active .page-link {
    background: var(--accent);
    color: #fff;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    top: 15px;
    inset-inline-start: 15px;
    color: #9aa8b6;
}

.search-box input {
    padding-inline-start: 43px;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 991px) {

    .navbar-collapse {
        background: #fff;
        padding: 12px;
        border-radius: 12px;
        margin-top: 12px;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-card {
        margin-top: 35px;
    }

    .trust-item {
        border: 0 !important;
        margin-bottom: 15px;
    }

    .section {
        padding: 70px 0;
    }

    .about-box {
        padding: 32px;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .article-sidebar {
        position: static;
    }

    .sidebar-card {
        margin-top: 10px;
    }

    .footer {
        padding-top: 50px;
    }

    .footer .col-lg-4,
    .footer .col-lg-2 {
        margin-bottom: 15px;
    }
}

@media (max-width: 575px) {

    .hero h1 {
        font-size: 35px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title h2,
    .cta h2,
    .about-box h2 {
        font-size: 29px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .detail-image img {
        height: 270px;
    }

    .cta {
        padding: 35px 25px;
    }

    .navbar-brand {
        font-size: 21px;
    }

    .footer {
        padding-top: 45px;
    }

    .footer-bottom {
        margin-top: 25px;
    }

    .footer-social {
        margin-bottom: 10px;
    }
}