﻿:root {
    --navy: #0b3f6d;
    --navy-dark: #08345b;
    --blue: #1676c5;
    --blue-dark: #0f5fa6;
    --blue-soft: #eef6fc;
    --yellow: #f4b400;
    --text: #17324d;
    --muted: #66788a;
    --border: #dce8f3;
    --white: #ffffff;
    --shadow-sm: 0 8px 28px rgba(11, 63, 109, 0.08);
    --shadow-md: 0 16px 42px rgba(11, 63, 109, 0.12);
    --shadow-lg: 0 22px 65px rgba(0, 0, 0, 0.20);
}

/* =========================================
   General
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    direction: rtl;
    overflow-x: hidden;
    background: #ffffff;
    color: var(--text);
    font-family: "Tajawal", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

/* =========================================
   Fixed Header
========================================= */

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    color: var(--white);
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

    .site-header.scrolled {
        background: var(--navy-dark);
        box-shadow: 0 7px 28px rgba(0, 0, 0, 0.20);
    }

/* =========================================
   Top Bar
========================================= */

.topbar {
    min-height: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
}

.header-row {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-actions,
.header-contact,

.header-actions,
.header-contact {
    gap: 18px;
}

.socials {
    gap: 12px;
}

.header-row a {
    color: rgba(255, 255, 255, 0.90);
    transition: color 0.2s ease;
}

    .header-row a:hover {
        color: var(--yellow);
    }

/* =========================================
   Main Navigation
========================================= */

.main-nav {
    height: 66px;
}

.nav-row {
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* =========================================
   Logo
========================================= */

.brand {
    flex: 0 0 245px;
    width: 245px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.brand-logo {
    display: block;
    width: 230px;
    height: 58px;
    object-fit: contain;
    object-position: right center;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.brand:hover .brand-logo {
    transform: scale(1.02);
    opacity: 0.96;
}

/* =========================================
   Navigation Links
========================================= */

.nav-links {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    font-size: 15px;
    font-weight: 700;
}

    .nav-links a {
        position: relative;
        height: 66px;
        display: flex;
        align-items: center;
        padding: 0;
        color: rgba(255, 255, 255, 0.95);
        white-space: nowrap;
        transition: color 0.2s ease;
    }

        .nav-links a:hover {
            color: #ffffff;
        }

        .nav-links a::after {
            content: "";
            position: absolute;
            right: 0;
            bottom: 9px;
            width: 0;
            height: 3px;
            border-radius: 999px;
            background: var(--yellow);
            transition: width 0.25s ease;
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

.menu-toggle {
    display: none;
    padding: 5px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 31px;
    cursor: pointer;
}

/* =========================================
   Hero
========================================= */

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 165px 0 210px;
    background-image: linear-gradient( 90deg, rgba(3, 40, 72, 0.56), rgba(5, 61, 108, 0.40) ), url("../images/contact/contact-building.jpg");
    background-size: cover;
/*    background-position: center;*/
    background-repeat: no-repeat;
    margin-top: 5%
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient( circle at center, rgba(10, 114, 199, 0.05), rgba(3, 45, 80, 0.34) );
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    color: #ffffff;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

    .hero-badge i {
        color: var(--yellow);
    }

.hero h1 {
    max-width: 880px;
    margin: 0 auto 16px;
    font-size: clamp(38px, 5vw, 66px);
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero p {
    max-width: 680px;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, 0.93);
    font-size: 20px;
    line-height: 1.9;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.20);
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* =========================================
   Buttons
========================================= */

.btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

    .btn:hover {
        transform: translateY(-3px);
    }

.btn-primary {
    background: var(--blue);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(10, 114, 199, 0.28);
}

    .btn-primary:hover {
        background: var(--blue-dark);
    }

.btn-light {
    background: #ffffff;
    color: var(--navy);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

    .btn-light:hover {
        background: #f5f9fd;
    }

.btn-warning {
    background: var(--yellow);
    color: var(--text);
}

/* =========================================
   Quick Services
========================================= */

.quick-services {
    position: absolute;
    right: 50%;
    bottom: 130px;
    z-index: 5;
    width: min(1180px, calc(100% - 32px));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: hidden;
    transform: translateX(50%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.quick-card {
    position: relative;
    min-height: 138px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 14px;
    text-align: center;
    border-left: 1px solid var(--border);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

    .quick-card:last-child {
        border-left: 0;
    }

    .quick-card:hover {
        z-index: 2;
        background: var(--blue-soft);
        transform: translateY(-4px);
        box-shadow: var(--shadow-sm);
    }

    .quick-card i {
        width: 50px;
        height: 50px;
        display: grid;
        place-items: center;
        margin-bottom: 10px;
        border-radius: 14px;
        background: var(--blue-soft);
        color: var(--blue);
        font-size: 25px;
        transition: background 0.25s ease, color 0.25s ease;
    }

    .quick-card:hover i {
        background: var(--blue);
        color: #ffffff;
    }

    .quick-card strong,
    .quick-card span {
        display: block;
    }

    .quick-card strong {
        color: var(--text);
        font-size: 16px;
        font-weight: 800;
    }

    .quick-card span {
        margin-top: 6px;
        color: var(--muted);
        font-size: 13px;
    }

/* =========================================
   Hero Wave
========================================= */

.hero-wave {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 4;
    width: 100%;
    height: 90px;
    pointer-events: none;
}

/* =========================================
   Sections
========================================= */

.section {
    padding: 80px 0;
}

.section-heading {
    margin-bottom: 34px;
    text-align: center;
}

    .section-heading > span {
        color: var(--blue);
        font-size: 15px;
        font-weight: 700;
    }

    .section-heading h2 {
        margin: 8px 0 10px;
        color: var(--text);
        font-size: clamp(27px, 3vw, 36px);
        font-weight: 800;
    }

.heading-line {
    width: 44px;
    height: 4px;
    margin-inline: auto;
    border-radius: 999px;
    background: var(--yellow);
}

/* =========================================
   Services Grid
========================================= */

.services-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(160px, auto));
    gap: 18px;
    direction: ltr;
    align-items: stretch;
}

    .services-grid > * {
        direction: rtl;
    }

.calculator-card {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: center;
    gap: 22px;
    min-width: 0;
    padding: 28px;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(145deg, #0d5d9d, #073b66);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

    .calculator-card > div:first-child {
        min-width: 0;
    }

    .calculator-card h3 {
        margin: 0 0 12px;
        color: #ffffff;
        font-size: 25px;
        font-weight: 800;
        line-height: 1.45;
    }

    .calculator-card p {
        margin: 0 0 22px;
        color: rgba(255, 255, 255, 0.88);
        font-size: 15px;
        line-height: 1.9;
    }

    .calculator-card .btn-warning {
        min-width: 145px;
    }

.calculator-visual {
    width: 150px;
    justify-self: end;
    padding: 14px;
    border-radius: 18px;
    background: #eaf5fc;
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.45);
}

.screen {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 7px;
    background: #a9d2de;
    color: #244454;
    text-align: left;
    font-weight: 800;
}

.keys {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

    .keys span {
        min-height: 36px;
        display: grid;
        place-items: center;
        border-radius: 6px;
        background: #0d76c8;
        color: #ffffff;
        text-align: center;
    }

.info-card {
    min-width: 0;
    min-height: 160px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .info-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

    .info-card h3 {
        margin: 0 0 7px;
        color: var(--text);
        font-size: 19px;
        font-weight: 800;
    }

    .info-card p {
        margin: 0 0 9px;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.7;
    }

    .info-card a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--blue);
        font-size: 14px;
        font-weight: 700;
    }

.info-icon {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 29px;
}

    .info-icon.warm {
        background: #fff6da;
    }


/* =========================================
   Statistics
========================================= */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 20px;
    padding: 25px;
    border-radius: 16px;
    background: linear-gradient(120deg, #0d4b7f, #0d73c7);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

    .stats > div {
        padding: 5px 15px;
        border-left: 1px solid rgba(255, 255, 255, 0.25);
        text-align: center;
    }

        .stats > div:last-child {
            border-left: 0;
        }

    .stats i {
        display: block;
        margin-bottom: 9px;
        font-size: 30px;
    }

    .stats strong,
    .stats span {
        display: block;
    }

    .stats strong {
        font-size: 30px;
    }

    .stats span {
        margin-top: 5px;
        opacity: 0.90;
    }

/* =========================================
   News
========================================= */

.news-section {
    padding-top: 0;
    background: #f8fbfe;
}

.news-header {
    display: flex;
    justify-content: flex-start;
    margin: -65px 0 22px;
}

.outline-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--blue);
    font-weight: 700;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

    .news-card img {
        width: 100%;
        height: 190px;
        object-fit: cover;
    }

.news-body {
    padding: 18px;
}

    .news-body small {
        color: #97a4af;
    }

    .news-body h3 {
        margin: 8px 0;
        font-size: 19px;
    }

    .news-body p {
        color: var(--muted);
        line-height: 1.7;
    }

/* =========================================
   Application Banner
========================================= */

.app-banner {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 55px;
    margin-top: 28px;
    padding: 30px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(90deg, #e9f5ff, #cde7fb);
}

.phone-mockup {
    width: 145px;
    height: 250px;
    display: grid;
    place-items: center;
    border: 8px solid #0c2439;
    border-radius: 30px;
    background: #ffffff;
    color: var(--blue);
    font-size: 60px;
    transform: translateY(45px);
}

.app-copy h2 {
    margin: 0 0 10px;
    font-size: 30px;
}

.app-copy p {
    color: var(--muted);
    line-height: 1.8;
}

.store-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.store-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
}

    .store-button.dark {
        background: #111111;
        color: #ffffff;
    }

.qr-placeholder {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 2px dashed #3c5871;
    background: #ffffff;
    font-weight: 800;
}

/* =========================================
   Partners
========================================= */

.partners {
    padding-top: 34px;
    text-align: center;
}

    .partners h2 {
        font-size: 30px;
    }

.partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

    .partner-grid div {
        min-height: 75px;
        display: grid;
        place-items: center;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: #ffffff;
        font-weight: 700;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

        .partner-grid div:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }

/* =========================================
   Footer
========================================= */

.site-footer {
    padding: 55px 0 20px;
    background: var(--navy);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr);
    gap: 38px;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: #ffffff;
}

.site-footer p,
.site-footer a,
.site-footer span {
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.9;
}

.site-footer a,
.site-footer span {
    display: block;
}

.site-footer a {
    transition: color 0.2s ease;
}

    .site-footer a:hover {
        color: var(--yellow);
    }

.footer-link {
    margin-top: 10px;
    color: #66b8fa !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

    .footer-bottom div {
        display: flex;
        gap: 20px;
    }

/* =========================================
   Laptop
========================================= */

@media (max-width: 1100px) {

    .brand {
        flex-basis: 205px;
        width: 205px;
    }

    .brand-logo {
        width: 195px;
        height: 54px;
    }

    .nav-links {
        gap: 18px;
        font-size: 14px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        direction: rtl;
    }

    .calculator-card {
        grid-column: 1 / -1;
        grid-row: auto;
        grid-template-columns: minmax(0, 1fr) 170px;
    }

    .calculator-visual {
        width: 170px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================================
   Tablet
========================================= */

@media (max-width: 980px) {

    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .brand {
        flex: 0 0 190px;
        width: 190px;
    }

    .brand-logo {
        width: 180px;
        height: 52px;
    }

    .nav-links {
        position: absolute;
        top: 106px;
        right: 16px;
        left: 16px;
        z-index: 1100;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 20px;
        border: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: 12px;
        background: var(--navy-dark);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    }

        .nav-links.open {
            display: flex;
        }

        .nav-links a {
            height: auto;
            padding: 14px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

            .nav-links a:last-child {
                border-bottom: 0;
            }

            .nav-links a::after {
                display: none;
            }

    .hero {
        min-height: 100vh;
        padding: 150px 0 50px;
    }

    .hero-content {
        width: 100%;
        margin: 0 auto 40px;
        padding: 0 16px;
    }

    .quick-services {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(calc(100% - 32px), 700px);
        margin: 0 auto;
        grid-template-columns: repeat(2, 1fr);
        transform: none;
        border-radius: 16px;
    }

    .store-row {
        justify-content: center;
    }

    .quick-card {
        min-height: 125px;
        border-left: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

        .quick-card:nth-child(2n) {
            border-left: 0;
        }

        .quick-card:last-child {
            grid-column: 1 / -1;
            border-left: 0;
            border-bottom: 0;
        }

    .hero-wave {
        display: none;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

        .stats > div {
            border-left: 0;
        }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-dropdown {
        width: 100%;
        height: auto;
        display: block;
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .nav-dropdown-menu {
        position: static;
        width: 100%;
        max-height: none;
        display: none;
        margin: 0;
        padding: 5px 12px;
        border: 0;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.06);
        box-shadow: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown.open:hover .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        padding: 10px 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        font-size: 13px;
    }

        .nav-dropdown-menu a:last-child {
            border-bottom: 0;
        }
}

/* =========================================
   Mobile
========================================= */

@media (max-width: 640px) {

    .topbar {
        display: block;
        min-height: 34px;
    }

    .header-row {
        min-height: 34px;
    }

    .header-contact {
        gap: 10px;
    }

        .header-contact a {
            font-size: 12px;
        }

    .socials {
        display: none;
    }

    .header-actions {
        display: flex;
        gap: 10px;
    }

        .header-actions a {
            font-size: 12px;
        }

            .header-actions a:nth-child(2),
            .header-actions a:nth-child(3) {
                display: none;
            }

    .main-nav,
    .nav-row {
        height: 72px;
    }

    .brand {
        flex: 0 0 auto;
        width: 175px;
        height: 72px;
    }

    .brand-logo {
        width: 165px;
        height: 50px;
        object-position: right center;
    }

    .nav-links {
        top: 72px;
    }

    .hero {
        min-height: 100vh;
        padding: 105px 0 35px;
        /*        background-position: center;*/
        margin-top: 5%;
    }

    .hero-content {
        width: 100%;
        margin-bottom: 32px;
        padding: 0 20px;
        text-align: center;
    }

    .hero-badge {
        margin-bottom: 16px;
        padding: 8px 15px;
        font-size: 12px;
    }

    .hero h1 {
        margin-bottom: 12px;
        font-size: 32px;
        line-height: 1.35;
    }

    .hero p {
        margin-bottom: 24px;
        font-size: 15px;
        line-height: 1.8;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

        .hero-buttons .btn {
            width: 100%;
            max-width: 280px;
        }

    .quick-services {
        width: calc(100% - 28px);
        grid-template-columns: repeat(2, 1fr);
        margin: 0 auto;
        border-radius: 14px;
    }

    .quick-card {
        min-height: 118px;
        padding: 16px 8px;
        border-left: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

        .quick-card:nth-child(2n) {
            border-left: 0;
        }

        .quick-card:last-child {
            grid-column: 1 / -1;
            border-left: 0;
            border-bottom: 0;
        }

        .quick-card i {
            width: 42px;
            height: 42px;
            margin-bottom: 8px;
            font-size: 21px;
        }

        .quick-card strong {
            font-size: 14px;
        }

        .quick-card span {
            font-size: 11px;
            line-height: 1.5;
        }

    .section {
        padding: 60px 0;
    }

    .services-grid,
    .news-grid,
    .stats,
    .partner-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        direction: rtl;
        grid-template-rows: auto;
    }

    .calculator-card {
        grid-column: auto;
        grid-row: auto;
        grid-template-columns: 1fr;
        gap: 24px;
        min-height: auto;
        padding: 28px 22px;
        text-align: center;
    }

        .calculator-card h3 {
            font-size: 24px;
        }

        .calculator-card p {
            margin-inline: auto;
            font-size: 15px;
        }

    .calculator-visual {
        width: 170px;
        max-width: 100%;
        justify-self: center;
    }

    .news-header {
        justify-content: center;
        margin: 0 0 22px;
    }

    .app-banner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .phone-mockup {
        height: 190px;
        transform: none;
    }



    .footer-bottom,
    .footer-bottom div {
        flex-direction: column;
    }

    .footer-bottom {
        text-align: center;
    }
}
/* =========================================
   Navigation Dropdowns
========================================= */

.nav-dropdown {
    position: relative;
    height: 66px;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: flex !important;
    align-items: center;
    gap: 6px;
}

    .nav-dropdown-toggle i {
        font-size: 11px;
        transition: transform 0.25s ease;
    }

.nav-dropdown:hover .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% - 2px);
    right: 0;
    z-index: 1200;
    width: 290px;
    max-height: 470px;
    display: none;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 0 14px 14px;
    background: rgba(3, 45, 80, 0.98);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    padding: 11px 13px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.90);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    white-space: normal;
    transition: background 0.2s ease, color 0.2s ease, padding 0.2s ease;
}

    .nav-dropdown-menu a::after {
        display: none;
    }

    .nav-dropdown-menu a:hover {
        padding-right: 18px;
        background: rgba(255, 255, 255, 0.10);
        color: var(--yellow);
    }

/* Scrollbar */
.nav-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.nav-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.nav-dropdown-menu::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.25);
}
/* تحسين توزيع الهيدر بعد إضافة القوائم الجديدة */

.nav-row {
    gap: 20px;
}

.brand {
    flex: 0 0 210px;
    width: 210px;
}

.brand-logo {
    width: 200px;
    height: 54px;
}

.nav-links {
    gap: 20px;
    font-size: 14px;
}

.nav-dropdown-toggle {
    gap: 5px;
}

    .nav-dropdown-toggle i {
        font-size: 10px;
    }

/* ضبط القوائم الطويلة */
.nav-dropdown-menu {
    width: 275px;
}

/* للشاشات أقل من 1250 */
@media (max-width: 1250px) {

    .brand {
        flex-basis: 185px;
        width: 185px;
    }

    .brand-logo {
        width: 175px;
        height: 50px;
    }

    .nav-links {
        gap: 14px;
        font-size: 13px;
    }

    .nav-row {
        gap: 14px;
    }
}

/* إظهار زر الموبايل أبكر حتى لا تنضغط القوائم */
@media (max-width: 1120px) {
    .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown.open:hover .nav-dropdown-menu {
        display: block;
    }
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 106px;
        right: 16px;
        left: 16px;
        z-index: 1100;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 20px;
        border-radius: 12px;
        background: var(--navy-dark);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    }

        .nav-links.open {
            display: flex;
        }

        .nav-links > a,
        .nav-dropdown {
            width: 100%;
            height: auto;
        }

        .nav-links > a,
        .nav-dropdown-toggle {
            height: auto;
            padding: 14px 0;
        }

        .nav-links a::after {
            display: none;
        }
}
/* =========================================
   Leadership, Vision, Mission and Values
========================================= */

.leadership-section {
    position: relative;
    padding-top: 30px ;
    background: linear-gradient( 180deg, #ffffff 0%, #f7fbff 100% );
}

.leadership-heading {
    margin-bottom: 45px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

/* =========================================
   Manager Card
========================================= */

.home-manager-card,
.identity-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.home-manager-card {
    padding: 32px;
}

.home-manager-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.manager-title-line {
    width: 6px;
    height: 58px;
    flex: 0 0 6px;
    border-radius: 999px;
    background: linear-gradient( 180deg, #00a8e6, var(--blue) );
}

.section-label {
    display: block;
    margin-bottom: 4px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

.home-manager-card-header h3 {
    margin: 0;
    color: var(--navy);
    font-size: 27px;
    font-weight: 800;
}

.manager-profile {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--border);
}

.manager-image {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    padding: 5px;
    border: 1px solid #d6e6f3;
    border-radius: 50%;
    background: #ffffff;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(3, 57, 99, 0.14);
}

.manager-info h4 {
    margin: 0 0 6px;
    color: var(--navy);
    font-size: 21px;
    font-weight: 800;
}

.manager-info span {
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
}

.manager-message {
    position: relative;
    padding-right: 34px;
}

.quote-icon {
    position: absolute;
    top: -4px;
    right: 0;
    color: rgba(10, 114, 199, 0.16);
    font-size: 28px;
}

.manager-message p {
    margin: 0 0 12px;
    color: #4f6376;
    font-size: 15px;
    line-height: 2;
}

.manager-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--blue);
    font-size: 15px;
    font-weight: 800;
    transition: color 0.2s ease, gap 0.2s ease;
}

    .manager-more:hover {
        gap: 12px;
        color: var(--navy);
    }

/* =========================================
   Vision, Mission and Values Card
========================================= */

.identity-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 26px;
}

.identity-item {
    padding: 22px;
    border: 1px solid #e7eef5;
    border-radius: 16px;
    background: linear-gradient( 135deg, #ffffff, #f8fbfe );
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .identity-item:hover {
        transform: translateY(-4px);
        border-color: #c8e1f4;
        box-shadow: 0 12px 30px rgba(20, 52, 86, 0.08);
    }

.identity-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.identity-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 21px;
}

.identity-title h3 {
    margin: 0;
    color: var(--navy);
    font-size: 21px;
    font-weight: 800;
}

.identity-item p {
    margin: 0;
    color: #4f6376;
    font-size: 15px;
    line-height: 1.9;
}

.values-list {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .values-list li {
        position: relative;
        padding-right: 22px;
        color: #4f6376;
        font-size: 14px;
        line-height: 1.85;
    }

        .values-list li::before {
            content: "";
            position: absolute;
            top: 11px;
            right: 0;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--blue);
            box-shadow: 0 0 0 4px var(--blue-soft);
        }

/* =========================================
   LEADERSHIP SECTION
========================================= */

.leadership-section {
    position: relative;
/*    padding: 85px 0;*/
    overflow: hidden;
    background: radial-gradient( circle at 10% 15%, rgba(10, 114, 199, 0.07), transparent 32% ), linear-gradient( 180deg, #ffffff 0%, #f6faff 100% );
}

.leadership-heading {
    margin-bottom: 42px;
}

    .leadership-heading > span {
        color: #0b6faf;
        font-weight: 800;
    }

    .leadership-heading h2 {
        margin: 8px 0 12px;
        color: #073f69;
        font-size: clamp(32px, 4vw, 46px);
        font-weight: 800;
    }

.leadership-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 26px;
    align-items: stretch;
}

/* =========================================
   MANAGER CARD
========================================= */

.home-manager-card {
    position: relative;
    min-height: 100%;
    padding: 34px 38px 32px;
    overflow: hidden;
    border: 1px solid #dce7f0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(7, 63, 105, 0.09);
}

.home-manager-accent {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background: linear-gradient( 90deg, #075ca8, #1596d2 );
}

.home-manager-card-header {
    margin-bottom: 28px;
}

.section-label {
    display: block;
    margin-bottom: 7px;
    color: #0b78b8;
    font-size: 13px;
    font-weight: 800;
}

.home-manager-card-header h3 {
    position: relative;
    margin: 0;
    padding-bottom: 13px;
    color: #073f69;
    font-size: 31px;
    font-weight: 800;
}

    .home-manager-card-header h3::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        width: 56px;
        height: 4px;
        border-radius: 999px;
        background: #f5bd28;
    }

.manager-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 26px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2ebf3;
}

.manager-image {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    padding: 5px;
    border: 1px solid #d8e5ef;
    border-radius: 50%;
    background: #ffffff;
    object-fit: cover;
    object-position: center top;
    box-shadow: 0 12px 28px rgba(7, 63, 105, 0.15);
}

.manager-info h4 {
    margin: 0 0 7px;
    color: #073f69;
    font-size: 23px;
    font-weight: 800;
}

.manager-info span {
    color: #0b78b8;
    font-size: 14px;
    font-weight: 700;
}

.manager-message {
    position: relative;
    padding-right: 38px;
}

.quote-icon {
    position: absolute;
    top: -6px;
    right: 0;
    color: rgba(11, 111, 175, 0.18);
    font-size: 30px;
}

.manager-message p {
    margin: 0 0 15px;
    color: #4d6377;
    font-size: 15px;
    line-height: 2;
}

.manager-more {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 9px;
    padding: 0 19px;
    border: 1px solid #0b6faf;
    border-radius: 999px;
    color: #0b6faf;
    font-size: 14px;
    font-weight: 800;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

    .manager-more:hover {
        color: #ffffff;
        background: #0b6faf;
        transform: translateY(-2px);
    }

/* =========================================
   IDENTITY CARD
========================================= */

.identity-card {
    display: grid;
    gap: 16px;
}

.identity-item {
    position: relative;
    min-height: 135px;
    padding: 25px 28px 24px;
    overflow: hidden;
    border: 1px solid #dce7f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 9px 25px rgba(7, 63, 105, 0.065);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .identity-item:hover {
        transform: translateY(-4px);
        border-color: #bad8eb;
        box-shadow: 0 15px 34px rgba(7, 63, 105, 0.11);
    }

.identity-side-line {
    position: absolute;
    top: 20px;
    right: 0;
    bottom: 20px;
    width: 5px;
    border-radius: 0 5px 5px 0;
    background: linear-gradient( 180deg, #075ca8, #1596d2 );
}

.identity-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 13px;
}

.identity-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf5fc;
    color: #075ca8;
    font-size: 24px;
}

.identity-title h3 {
    margin: 0;
    color: #073f69;
    font-size: 23px;
    font-weight: 800;
}

.identity-item p {
    margin: 0;
    color: #566b7e;
    font-size: 14px;
    line-height: 1.9;
}

.values-item {
    min-height: 190px;
}

.values-list {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .values-list li {
        position: relative;
        padding-right: 20px;
        color: #566b7e;
        font-size: 13px;
        line-height: 1.8;
    }

        .values-list li::before {
            content: "";
            position: absolute;
            top: 10px;
            right: 0;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #0b78b8;
            box-shadow: 0 0 0 4px #eaf5fc;
        }

/* =========================================
   RESPONSIVE
========================================= */

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

    .home-manager-card,
    .identity-card {
        max-width: 760px;
        width: 100%;
        margin-inline: auto;
    }
}

@media (max-width: 640px) {
    .leadership-section {
        padding: 58px 0;
    }

    .leadership-heading {
        margin-bottom: 30px;
    }

        .leadership-heading h2 {
            font-size: 30px;
        }

    .home-manager-card {
        padding: 28px 22px 25px;
    }

    .home-manager-card-header h3 {
        font-size: 25px;
    }

    .manager-profile {
        flex-direction: column;
        text-align: center;
    }

    .manager-image {
        width: 100px;
        height: 100px;
        flex-basis: 100px;
    }

    .manager-message {
        padding-right: 0;
    }

    .quote-icon {
        position: static;
        display: block;
        margin-bottom: 4px;
    }

    .manager-message p {
        font-size: 14px;
    }

    .identity-item {
        min-height: auto;
        padding: 21px 22px 20px;
    }

    .identity-icon {
        width: 47px;
        height: 47px;
        flex-basis: 47px;
        font-size: 21px;
    }

    .identity-title h3 {
        font-size: 20px;
    }

    .identity-item p,
    .values-list li {
        font-size: 13px;
    }
}
/* =========================================
   Footer Content
========================================= */

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

    .footer-column h3 {
        position: relative;
        padding-bottom: 10px;
    }

        .footer-column h3::after {
            content: "";
            position: absolute;
            right: 0;
            bottom: 0;
            width: 34px;
            height: 3px;
            border-radius: 999px;
            background: var(--yellow);
        }

    .footer-column > a,
    .footer-column > span {
        display: flex;
        align-items: flex-start;
        gap: 9px;
        margin-bottom: 7px;
    }

        .footer-column > a i,
        .footer-column > span i {
            margin-top: 5px;
            color: #66b8fa;
        }

.footer-subtitle {
    margin-top: 22px !important;
    margin-bottom: 12px !important;
    font-size: 16px;
}

.footer-description {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 13px;
    line-height: 1.8 !important;
}

/* Social media */

.footer-socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

    .footer-socials a {
        width: 40px;
        height: 40px;
        display: grid !important;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.07);
        color: #ffffff !important;
        font-size: 18px;
        transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
    }

        .footer-socials a:hover {
            transform: translateY(-3px);
            background: var(--yellow);
            color: var(--navy-dark) !important;
        }

/* Store links */

.footer-stores {
    display: grid;
    gap: 8px;
}

    .footer-stores .store-button {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
    }

        .footer-stores .store-button:hover {
            background: rgba(255, 255, 255, 0.16);
            color: var(--yellow);
        }

/* Responsive footer */

@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column {
        padding-bottom: 22px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

        .footer-column:last-child {
            border-bottom: 0;
        }

    .footer-socials {
        justify-content: flex-start;
    }

    .footer-bottom {
        align-items: center;
    }

        .footer-bottom div {
            align-items: center;
            gap: 8px;
        }
}
/* =========================================
   IDECO Application Showcase
========================================= */

.app-showcase {
    position: relative;
    padding: 95px 0;
    overflow: hidden;
    background: radial-gradient( circle at 15% 20%, rgba(10, 114, 199, 0.12), transparent 36% ), linear-gradient( 135deg, #eaf6ff, #f8fbff );
    width: min(1180px, calc(100% - 32px));
    margin: 40px auto;
    border-radius: 24px;
}

    .app-showcase::before,
    .app-showcase::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        background: rgba(10, 114, 199, 0.08);
    }

    .app-showcase::before {
        width: 280px;
        height: 280px;
        top: -120px;
        right: -90px;
    }

    .app-showcase::after {
        width: 220px;
        height: 220px;
        bottom: -110px;
        left: -70px;
    }

.app-showcase-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

/* =========================================
   Application Copy
========================================= */

.app-copy {
    max-width: 560px;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(10, 114, 199, 0.10);
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
}

.app-copy h2 {
    margin: 0 0 17px;
    color: var(--navy);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.35;
}

.app-copy > p {
    margin: 0;
    color: #6b7f91;
    font-size: 17px;
    line-height: 2;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin: 25px 0;
}

    .app-features span {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--text);
        font-size: 14px;
        font-weight: 700;
    }

    .app-features i {
        color: var(--blue);
    }

/* =========================================
   Store Buttons
========================================= */

.store-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.app-store-button {
    min-width: 165px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 7px 16px;
    border-radius: 12px;
    background: #111827;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .app-store-button:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 35px rgba(17, 24, 39, 0.25);
        color: #ffffff;
    }

    .app-store-button i {
        font-size: 28px;
    }

    .app-store-button span {
        display: flex;
        flex-direction: column;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.2;
    }

    .app-store-button small {
        margin-bottom: 3px;
        color: rgba(255, 255, 255, 0.70);
        font-size: 10px;
        font-weight: 500;
    }

.app-qr {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 2px dashed rgba(6, 57, 99, 0.35);
    border-radius: 12px;
    background: #ffffff;
    color: var(--navy);
    font-weight: 800;
}

/* =========================================
   Application Phones
========================================= */

.app-phones {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-frame {
    position: absolute;
    width: 255px;
    height: 530px;
    overflow: hidden;
    border: 9px solid #10283f;
    border-radius: 38px;
    background: #ffffff;
    box-shadow: 0 28px 60px rgba(3, 45, 80, 0.23);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .phone-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
    }

.phone-speaker {
    position: absolute;
    top: 10px;
    right: 50%;
    z-index: 3;
    width: 68px;
    height: 6px;
    transform: translateX(50%);
    border-radius: 999px;
    background: #10283f;
}

.phone-back {
    right: 20px;
    transform: rotate(6deg) translateY(18px);
    opacity: 0.92;
}

.phone-front {
    left: 65px;
    z-index: 2;
    transform: rotate(-3deg) translateY(-8px);
}

.app-phones:hover .phone-back {
    transform: rotate(3deg) translateY(8px) translateX(-6px);
}

.app-phones:hover .phone-front {
    transform: rotate(0deg) translateY(-16px) translateX(7px);
    box-shadow: 0 34px 70px rgba(3, 45, 80, 0.29);
}

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

@media (max-width: 980px) {

    .app-showcase {
        padding: 75px 0;
    }

    .app-showcase-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .app-copy {
        max-width: 700px;
        margin-inline: auto;
        text-align: center;
    }

    .app-features {
        max-width: 560px;
        margin: 25px auto;
    }

    .store-row {
        justify-content: flex-start;
    }

    .app-phones {
        min-height: 550px;
    }

    .phone-back {
        right: calc(50% - 60px);
    }

    .phone-front {
        left: calc(50% - 60px);
    }
}

@media (max-width: 640px) {

    .app-showcase {
        padding: 55px 0;
    }

    .app-copy h2 {
        font-size: 29px;
    }

    .app-copy > p {
        font-size: 15px;
    }

    .app-features {
        grid-template-columns: 1fr;
        text-align: right;
    }

    .store-row {
        flex-direction: column;
    }

    .app-store-button {
        width: 100%;
        max-width: 280px;
    }

    .app-qr {
        display: none;
    }

    .app-phones {
        min-height: 500px;
    }

    .phone-frame {
        width: 205px;
        height: 445px;
        border-width: 7px;
        border-radius: 30px;
    }

    .phone-back {
        right: calc(50% - 35px);
    }

    .phone-front {
        left: calc(50% - 35px);
    }
}

@media (max-width: 420px) {

    .app-phones {
        min-height: 455px;
    }

    .phone-frame {
        width: 235px;
        height: 500px;
    }

    .phone-back {
        right: calc(50% - 28px);
    }

    .phone-front {
        left: calc(50% - 28px);
    }
}
/* =========================================
   Cookie banner
========================================= */

.cookie-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99990;
    padding: 22px 0;
    direction: rtl;
    background: #f2f8fd;
    border-top: 1px solid #dbeaf6;
    box-shadow: 0 -6px 25px rgba(12, 67, 110, 0.08);
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cookie-banner-content {
    flex: 1;
    color: #064b83;
    text-align: right;
}

.cookie-title {
    margin: 0 0 8px;
    color: #034b82;
    font-size: 15px;
    font-weight: 800;
}

.cookie-description {
    margin: 0 0 12px;
    color: #034b82;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
}

.cookie-description a {
    color: #034b82;
    font-weight: 800;
    text-decoration: underline;
}

.cookie-policy-link {
    padding: 10px 26px;
    border: 0;
    border-radius: 24px;
    color: #034b82;
    background: #e2f0fa;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
    transition: background-color 0.2s ease,
                transform 0.2s ease;
}

.cookie-policy-link:hover {
    background: #d4eafa;
    transform: translateY(-1px);
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.cookie-btn {
    min-height: 48px;
    padding: 11px 25px;
    border: 0;
    border-radius: 28px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease,
                background-color 0.2s ease;
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

.cookie-btn-accept {
    min-width: 270px;
    color: #ffffff;
    background: linear-gradient(135deg, #075797, #2e92c2);
    box-shadow: 0 12px 25px rgba(7, 87, 151, 0.22);
}

.cookie-btn-accept:hover {
    box-shadow: 0 14px 30px rgba(7, 87, 151, 0.3);
}

.cookie-btn-reject {
    min-width: 82px;
    color: #034b82;
    background: #e2f0fa;
}

.cookie-btn-reject:hover {
    background: #d4eafa;
}
/* =========================================
   Cookie banner
========================================= */

.cookie-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99990;
    padding: 22px 0;
    direction: rtl;
    background: #f2f8fd;
    border-top: 1px solid #dbeaf6;
    box-shadow: 0 -6px 25px rgba(12, 67, 110, 0.08);
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cookie-banner-content {
    flex: 1;
    color: #064b83;
    text-align: right;
}

.cookie-title {
    margin: 0 0 8px;
    color: #034b82;
    font-size: 15px;
    font-weight: 800;
}

.cookie-description {
    margin: 0 0 12px;
    color: #034b82;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
}

    .cookie-description a {
        color: #034b82;
        font-weight: 800;
        text-decoration: underline;
    }

.cookie-policy-link {
    padding: 10px 26px;
    border: 0;
    border-radius: 24px;
    color: #034b82;
    background: #e2f0fa;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .cookie-policy-link:hover {
        background: #d4eafa;
        transform: translateY(-1px);
    }

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.cookie-btn {
    min-height: 48px;
    padding: 11px 25px;
    border: 0;
    border-radius: 28px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

    .cookie-btn:hover {
        transform: translateY(-2px);
    }

.cookie-btn-accept {
    min-width: 270px;
    color: #ffffff;
    background: linear-gradient(135deg, #075797, #2e92c2);
    box-shadow: 0 12px 25px rgba(7, 87, 151, 0.22);
}

    .cookie-btn-accept:hover {
        box-shadow: 0 14px 30px rgba(7, 87, 151, 0.3);
    }

.cookie-btn-reject {
    min-width: 82px;
    color: #034b82;
    background: #e2f0fa;
}

    .cookie-btn-reject:hover {
        background: #d4eafa;
    }

/* =========================================
   Cookie policy modal
========================================= */

.cookie-policy-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease;
}

    .cookie-policy-modal.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.cookie-policy-dialog {
    transform: translateY(20px) scale(.98);
    opacity: 0;
    transition: transform .18s ease, opacity .18s ease;
}

.cookie-policy-modal.show .cookie-policy-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}



.cookie-policy-header {
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 70px;
    color: #ffffff;
    background: #345d9d;
}

.cookie-policy-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
}

    .cookie-policy-heading h2 {
        margin: 0 0 3px;
        color: #ffffff;
        font-size: 21px;
        font-weight: 800;
    }

    .cookie-policy-heading p {
        margin: 0;
        color: rgba(255, 255, 255, 0.75);
        font-size: 12px;
    }

.cookie-policy-icon {
    width: 43px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 11px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    font-size: 21px;
}

.cookie-policy-close {
    position: absolute;
    top: 17px;
    left: 18px;
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .cookie-policy-close:hover {
        background: rgba(255, 255, 255, 0.23);
        transform: rotate(90deg);
    }

.cookie-policy-body {
    height: calc(92vh - 80px);
    max-height: 720px;
    overflow-y: auto;
    padding: 28px;
    background: #f7f9fc;
    overscroll-behavior: contain;
}

.cookie-policy-loading {
    padding: 50px 20px;
    color: #4d6780;
    text-align: center;
    font-weight: 700;
}

body.cookie-modal-open {
    overflow: hidden;
}

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

@media (max-width: 900px) {

    .cookie-banner {
        padding: 18px 0;
    }

    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .cookie-banner-content {
        text-align: center;
    }

    .cookie-banner-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {

    .cookie-banner {
        padding: 16px 0;
    }

    .cookie-banner-inner {
        padding-right: 17px;
        padding-left: 17px;
    }

    .cookie-title {
        font-size: 14px;
    }

    .cookie-description {
        font-size: 13px;
    }

    .cookie-banner-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cookie-btn,
    .cookie-btn-accept,
    .cookie-btn-reject {
        width: 100%;
        min-width: 0;
    }

    .cookie-policy-modal {
        padding: 0;
    }

    .cookie-policy-dialog {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
    }

    .cookie-policy-header {
        min-height: 75px;
        padding: 12px 58px;
    }

    .cookie-policy-heading h2 {
        font-size: 17px;
    }

    .cookie-policy-heading p {
        font-size: 11px;
    }

    .cookie-policy-icon {
        display: none;
    }

    .cookie-policy-close {
        top: 15px;
        left: 13px;
        width: 42px;
        height: 42px;
    }

    .cookie-policy-body {
        height: calc(100vh - 75px);
        max-height: none;
        padding: 18px 14px;
    }
}
.header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}



.socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* =========================================
   Accessibility Panel
========================================= */

.accessibility-panel {
    position: fixed;
    top: 52px;
    left: 18px;
    z-index: 999999;
    width: min(430px, calc(100vw - 28px));
    max-height: calc(100dvh - 70px);
    display: none;
    overflow: hidden;
    direction: rtl;
    border: 1px solid rgba(11, 63, 109, 0.14);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(5, 35, 65, 0.24), 0 4px 14px rgba(5, 35, 65, 0.10);
    transform-origin: top left;
}

    .accessibility-panel.show {
        display: block;
        animation: accessibilityPanelShow 0.22s ease;
    }

@keyframes accessibilityPanelShow {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }

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

/* Header */

.accessibility-panel-header {
    position: relative;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 68px;
    color: #ffffff;
    background: linear-gradient( 135deg, #0b3f6d 0%, #126fae 100% );
}

    .accessibility-panel-header::after {
        content: "";
        position: absolute;
        right: 28px;
        bottom: 0;
        left: 28px;
        height: 1px;
        background: rgba(255, 255, 255, 0.18);
    }

    .accessibility-panel-header h2 {
        margin: 0;
        color: #ffffff;
        font-size: 22px;
        font-weight: 800;
        line-height: 1.4;
        text-align: center;
    }

/* Close button */

.accessibility-close {
    position: absolute;
    top: 50%;
    left: 18px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    font-size: 19px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

    .accessibility-close:hover {
        border-color: rgba(255, 255, 255, 0.75);
        background: rgba(255, 255, 255, 0.24);
        transform: translateY(-50%) rotate(90deg);
    }

    .accessibility-close:focus-visible {
        outline: 3px solid #ffffff;
        outline-offset: 3px;
    }

/* Body */

.accessibility-panel-body {
    max-height: calc(100dvh - 160px);
    overflow-y: auto;
    padding: 18px;
    background: linear-gradient( 180deg, #f7fbff 0%, #eef5fb 100% );
    overscroll-behavior: contain;
}

    .accessibility-panel-body::-webkit-scrollbar {
        width: 7px;
    }

    .accessibility-panel-body::-webkit-scrollbar-track {
        background: transparent;
    }

    .accessibility-panel-body::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: #b7cadb;
    }

/* Grid */

.accessibility-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

/* Option cards */

.accessibility-option {
    position: relative;
    min-width: 0;
    min-height: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 12px;
    border: 1px solid #cfdeeb;
    border-radius: 16px;
    color: #173f60;
    background: rgba(255, 255, 255, 0.96);
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(9, 60, 102, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

    .accessibility-option::before {
        content: "";
        position: absolute;
        top: 8px;
        right: 8px;
        width: 8px;
        height: 8px;
        border: 2px solid #9eb5c8;
        border-radius: 50%;
        background: transparent;
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .accessibility-option:hover {
        color: #075c9f;
        border-color: #4d9bd2;
        background: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 12px 26px rgba(7, 80, 137, 0.12);
    }

    .accessibility-option.active {
        color: #075c9f;
        border-color: #1682cf;
        background: linear-gradient( 180deg, #ffffff 0%, #eaf6ff 100% );
        box-shadow: inset 0 0 0 1px rgba(22, 130, 207, 0.12), 0 10px 22px rgba(22, 130, 207, 0.10);
    }

        .accessibility-option.active::before {
            opacity: 1;
            border-color: #1682cf;
            background: #1682cf;
            box-shadow: 0 0 0 3px #dff1ff;
        }

    .accessibility-option i {
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 13px;
        color: #0d67a8;
        background: #eaf5fc;
        font-size: 23px;
        line-height: 1;
        transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    }

    .accessibility-option:hover i,
    .accessibility-option.active i {
        color: #ffffff;
        background: #1676c5;
        transform: scale(1.04);
    }

    .accessibility-option span {
        display: block;
        overflow-wrap: anywhere;
    }

/* Reset button */

#resetAccessibility {
    color: #805317;
    border-color: #ead7b0;
    background: #fffaf0;
}

    #resetAccessibility i {
        color: #a66d13;
        background: #fff0cf;
    }

    #resetAccessibility:hover {
        color: #75470c;
        border-color: #d8aa57;
        background: #fff7e7;
    }

        #resetAccessibility:hover i {
            color: #ffffff;
            background: #d38a18;
        }

/* Focus */

.accessibility-option:focus-visible {
    outline: 3px solid rgba(22, 118, 197, 0.35);
    outline-offset: 3px;
}

/* =========================================
   Tablet and mobile
========================================= */

@media (max-width: 768px) {
    .accessibility-panel {
        top: 44px;
        right: 12px;
        left: 12px;
        width: auto;
        max-height: calc(100dvh - 56px);
        border-radius: 18px;
        transform-origin: top center;
    }

    .accessibility-panel-header {
        min-height: 76px;
        padding: 15px 58px;
    }

        .accessibility-panel-header h2 {
            font-size: 19px;
        }

    .accessibility-close {
        left: 14px;
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .accessibility-panel-body {
        max-height: calc(100dvh - 132px);
        padding: 15px;
    }

    .accessibility-option {
        min-height: 96px;
        padding: 13px 9px;
        font-size: 13px;
    }

        .accessibility-option i {
            width: 40px;
            height: 40px;
            font-size: 21px;
        }
}

@media (max-width: 420px) {
    .accessibility-panel {
        top: 38px;
        right: 8px;
        left: 8px;
        max-height: calc(100dvh - 46px);
        border-radius: 16px;
    }

    .accessibility-panel-header {
        min-height: 70px;
        padding: 12px 52px;
    }

        .accessibility-panel-header h2 {
            font-size: 17px;
        }

    .accessibility-close {
        left: 11px;
        width: 36px;
        height: 36px;
    }

    .accessibility-panel-body {
        max-height: calc(100dvh - 116px);
        padding: 12px;
    }

    .accessibility-grid {
        gap: 9px;
    }

    .accessibility-option {
        min-height: 88px;
        gap: 7px;
        padding: 11px 7px;
        border-radius: 13px;
        font-size: 12px;
    }

        .accessibility-option i {
            width: 36px;
            height: 36px;
            border-radius: 11px;
            font-size: 19px;
        }
}

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

    .accessibility-option {
        min-height: 78px;
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 14px;
        text-align: right;
    }
}
.accessibility-toggle {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(180deg, #2ea9ff 0%, #0b84dd 55%, #006fbe 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all .25s ease;
}

    .accessibility-toggle::before {
        content: "";
        position: absolute;
        top: 1px;
        left: 4px;
        right: 4px;
        height: 40%;
        border-radius: 12px;
        background: rgba(255,255,255,.18);
    }

    .accessibility-toggle i {
        position: relative;
        z-index: 2;
        font-size: 24px;
        line-height: 1;
    }

    .accessibility-toggle:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(0,110,190,.35);
    }

    .accessibility-toggle:active {
        transform: scale(.96);
    }
.topbar-separator {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.28);
}
/* =========================================
   Accessibility Effects
========================================= */


/* ==============================
   High Contrast
============================== */

body.accessibility-high-contrast {
    --text: #ffffff;
    --muted: #ffffff;
    --border: #ffffff;
    --white: #ffffff;
    --blue-soft: #000000;
    background: #000000 !important;
    color: #ffffff !important;
}

    body.accessibility-high-contrast main,
    body.accessibility-high-contrast section,
    body.accessibility-high-contrast article,
    body.accessibility-high-contrast footer,
    body.accessibility-high-contrast .section,
    body.accessibility-high-contrast .info-card,
    body.accessibility-high-contrast .identity-card,
    body.accessibility-high-contrast .identity-item,
    body.accessibility-high-contrast .home-manager-card,
    body.accessibility-high-contrast .news-card {
        background: #000000 !important;
        color: #ffffff !important;
    }

    body.accessibility-high-contrast h1,
    body.accessibility-high-contrast h2,
    body.accessibility-high-contrast h3,
    body.accessibility-high-contrast h4,
    body.accessibility-high-contrast h5,
    body.accessibility-high-contrast h6,
    body.accessibility-high-contrast p,
    body.accessibility-high-contrast span,
    body.accessibility-high-contrast li,
    body.accessibility-high-contrast strong {
        color: #ffffff !important;
    }

    body.accessibility-high-contrast a {
        color: #ffff00 !important;
    }

    body.accessibility-high-contrast button {
        border-color: #ffffff !important;
    }


/* ==============================
   Highlight Links
============================== */

body.accessibility-highlight-links a {
    text-decoration: underline !important;
    text-decoration-thickness: 3px !important;
    text-underline-offset: 4px !important;
    font-weight: 800 !important;
}

    body.accessibility-highlight-links a:focus,
    body.accessibility-highlight-links a:hover {
        outline: 2px solid currentColor;
        outline-offset: 3px;
    }


/* ==============================
   Hide Images
============================== */

body.accessibility-hide-images img {
    display: none !important;
}


/* الصور المستخدمة كـ background */
body.accessibility-hide-images .hero {
    background-image: none !important;
}


/* ==============================
   Keep Accessibility Panel usable
============================== */

body.accessibility-high-contrast .accessibility-panel {
    background: #ffffff !important;
    color: #173f60 !important;
}

body.accessibility-high-contrast .accessibility-panel-body {
    background: #eef5fb !important;
}

body.accessibility-high-contrast .accessibility-option {
    background: #ffffff !important;
    color: #173f60 !important;
}

    body.accessibility-high-contrast .accessibility-option span {
        color: inherit !important;
    }

body.accessibility-high-contrast .accessibility-panel-header h2 {
    color: #ffffff !important;
}