

:root {
    --navy: #0A1F44;
    --navy-dark: #061533;
    --navy-light: #14306b;
    --gold: #C9A961;
    --gold-light: #e0c485;
    --gold-dark: #a8884a;
    --white: #ffffff;
    --off-white: #f8f6f1;
    --gray: #8a92a6;
    --gray-light: #e5e7eb;
    --shadow: 0 20px 60px rgba(10, 31, 68, 0.15);
    --shadow-lg: 0 30px 80px rgba(10, 31, 68, 0.25);
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Hama', 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--off-white);
    color: var(--navy);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body > .footer { margin-top: auto; }

body.rtl { direction: rtl; text-align: right; }
body.ltr { direction: ltr; text-align: left; }

::selection { background: var(--gold); color: var(--navy); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--navy), var(--gold)); border-radius: 10px; }

a { color: inherit; text-decoration: none; transition: all 0.3s var(--transition); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.preloader {
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-logo {
    color: var(--gold);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 8px;
    animation: pulse 1.5s ease infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}
.preloader-logo-sub {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 4px;
    margin-top: 0.4rem;
}
@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.95); }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.4s var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(10, 31, 68, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    padding: 12px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 2px;
}
.brand-logo {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--white);
    display: grid; place-items: center;
    color: var(--navy); font-weight: 900;
    box-shadow: 0 8px 20px rgba(201,169,97,0.4);
    overflow: hidden;
    flex-shrink: 0;
}
.brand-logo img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.has-dropdown { position: relative; }
.has-dropdown > a .caret { transition: transform 0.3s var(--transition); }
.has-dropdown:hover > a .caret { transform: rotate(180deg); }
.dropdown {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    min-width: 240px;
    background: rgba(10,31,68,0.97);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(201,169,97,0.25);
    border-radius: 14px;
    padding: 10px;
    margin-top: 12px;
    list-style: none;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--transition), transform 0.3s var(--transition), visibility 0.3s;
    z-index: 1100;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.open > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown::before {
    content: '';
    position: absolute;
    top: -12px; left: 0; right: 0;
    height: 12px;
}
.dropdown li { display: block; }
.dropdown a {
    display: block;
    padding: 10px 16px;
    color: rgba(255,255,255,0.85);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.25s var(--transition);
}
.dropdown a:hover {
    background: rgba(201,169,97,0.18);
    color: var(--gold-light);
    padding-inline-start: 22px;
}
.dropdown-divider {
    height: 1px;
    background: rgba(201,169,97,0.2);
    margin: 8px 6px;
}
@media (max-width: 900px) {
    .has-dropdown { width: 100%; text-align: center; }
    .dropdown {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0,0,0,0.25);
        margin: 8px auto 0;
        max-width: 360px;
        box-shadow: none;
    }
    .has-dropdown.open > .dropdown { display: block; }
    .dropdown a { font-size: 1.05rem; padding: 12px 16px; }
}
.nav-links a {
    color: rgba(255,255,255,0.85);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--white);
    background: rgba(201,169,97,0.18);
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    transform: translateX(-50%);
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

.lang-switch {
    display: flex; gap: 4px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 4px;
    border-radius: 30px;
}
.lang-switch a {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
}
.lang-switch a.active {
    background: var(--gold);
    color: var(--navy);
}

.menu-toggle { display: none; }
.nav-close { display: none; }

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy-dark);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--navy-dark);
    background-image:
        linear-gradient(135deg, rgba(10,31,68,0.85) 0%, rgba(6,21,51,0.7) 100%),
        url('/assets/images/bg.jpeg');
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
}
.hero-bg::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at top right, rgba(201,169,97,0.25), transparent 50%);
}
.hero-particles {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(201,169,97,0.15) 0%, transparent 2%),
        radial-gradient(circle at 70% 60%, rgba(201,169,97,0.1) 0%, transparent 2%),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.05) 0%, transparent 1.5%);
    background-size: 100% 100%;
    animation: drift 15s ease infinite;
}
@keyframes drift {
    0%,100% { background-position: 0 0; }
    50% { background-position: 30px 30px; }
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 120px 0 80px;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(201,169,97,0.15);
    border: 1px solid rgba(201,169,97,0.4);
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}
.hero-badge .dot {
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--gold);
    animation: glow 2s ease infinite;
}
@keyframes glow {
    0%,100% { box-shadow: 0 0 8px var(--gold); }
    50% { box-shadow: 0 0 20px var(--gold); }
}
.hero-welcome {
    font-size: clamp(1.4rem, 3.4vw, 2.6rem);
    color: rgba(255,255,255,0.92);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.hero-title {
    font-size: clamp(2rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--white);
    text-transform: uppercase;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .hero-title { white-space: normal; word-spacing: 0.2em; }
    .container.hero-content { padding-left: 32px; padding-right: 32px; }
}
.hero-sub { display: none; }
.hero-desc {
    max-width: 600px;
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(100%);
    transition: transform 0.4s var(--transition);
}
.btn span { position: relative; z-index: 1; }
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    box-shadow: 0 12px 30px rgba(201,169,97,0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(201,169,97,0.55); }
.btn-primary:hover::before { transform: translateY(0); }
.btn-outline {
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn-outline::before { display: none; }

.scroll-down {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    z-index: 2;
}
.scroll-down::after {
    content: '';
    display: block;
    width: 1px; height: 40px;
    background: linear-gradient(var(--gold), transparent);
    margin: 12px auto 0;
    animation: scrollDown 2s ease infinite;
}
@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

.section {
    padding: 120px 0;
    position: relative;
}
.section-light { background: var(--off-white); }
.section-dark { background: var(--navy); color: var(--white); }
.section-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy);
}

.section-head { text-align: center; margin-bottom: 70px; }
.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(201,169,97,0.12);
    color: var(--gold-dark);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.section-dark .section-tag { background: rgba(201,169,97,0.18); color: var(--gold-light); }
.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}
.section-title .accent { color: var(--gold); }
.section-desc {
    max-width: 720px;
    margin: 0 auto;
    color: var(--gray);
    font-size: 1.1rem;
}
.section-dark .section-desc { color: rgba(255,255,255,0.7); }

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.loc-section {
    padding: 100px 0;
    background: var(--off-white);
    position: relative;
}
.loc-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.loc-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: start;
}
.loc-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
}
.loc-line {
    flex: 0 0 auto;
    width: 50px; height: 2px;
    background: var(--gold);
}
.loc-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.5px;
    margin: 0;
}
.loc-map-frame {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(10,31,68,0.15);
    border: 1px solid rgba(201,169,97,0.2);
    transition: transform 0.5s var(--transition), box-shadow 0.5s var(--transition);
}
.loc-map-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(10,31,68,0.22);
}
.loc-map-frame img {
    width: 100%;
    height: auto;
    display: block;
}
.loc-info { padding-top: 0; }
.loc-block {
    padding: 18px 0;
    border-bottom: 1px solid rgba(201,169,97,0.18);
}
.loc-block:last-child { border-bottom: 0; }
.loc-label {
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 700;
    margin-bottom: 8px;
}
.loc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.loc-list a {
    color: var(--navy);
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: 0.5px;
    transition: color 0.3s var(--transition);
}
.loc-list a:hover { color: var(--gold-dark); }
.loc-mail {
    color: var(--navy);
    font-weight: 600;
    font-size: 1.02rem;
    border-bottom: 1px dashed rgba(201,169,97,0.5);
    padding-bottom: 2px;
}
.loc-mail:hover { color: var(--gold-dark); border-color: var(--gold); }
.loc-text {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}
@media (max-width: 900px) {
    .loc-grid { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 600px) {
    .loc-section { padding: 60px 0; }
    .loc-heading { gap: 12px; margin-bottom: 22px; }
    .loc-line { width: 36px; }
    .loc-list a, .loc-mail, .loc-text { font-size: 0.95rem; }
}

.catalog-section {
    padding: 70px 0 100px;
    background: var(--off-white);
}
.catalog-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.catalog-page {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(10,31,68,0.18);
    background: #fff;
    transition: transform 0.5s var(--transition), box-shadow 0.5s var(--transition);
}
.catalog-page:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(10,31,68,0.28);
}
.catalog-page img {
    width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 600px) {
    .catalog-section { padding: 50px 0 70px; }
    .catalog-grid { gap: 18px; }
    .catalog-page { border-radius: 10px; }
}

.ins-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--navy-dark);
    padding-top: 90px;
}
.ins-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,31,68,0.4) 0%, rgba(10,31,68,0.85) 100%),
        url('/assets/images/bg.jpeg') center/cover no-repeat;
}
.ins-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px;
    color: var(--white);
}
.ins-hero-tag {
    font-size: 0.95rem;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 12px;
}
.ins-hero-title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 4px;
    line-height: 1;
}
.ins-portfolio {
    padding: 80px 0;
    background: var(--off-white);
    text-align: center;
}
.ins-portfolio-title {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    color: var(--navy);
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 24px;
}
.ins-portfolio-text {
    max-width: 760px;
    margin: 0 auto;
    color: var(--gray);
    line-height: 1.8;
    font-size: 1rem;
}
.ins-row { padding: 90px 0; }
.ins-row-dark { background: var(--navy); color: var(--white); }
.ins-row-light { background: var(--off-white); color: var(--navy); }
.ins-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}
.ins-row-body { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.ins-row-title {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 700;
    letter-spacing: 3px;
    margin: 0;
}
.ins-row-title.gold { color: var(--gold); }
.ins-row-title.navy { color: var(--navy); }
.ins-row-dark p { color: rgba(255,255,255,0.85); line-height: 1.75; margin: 0; }
.ins-row-light p { color: var(--gray); line-height: 1.75; margin: 0; }
.ins-row-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 38px;
    border-radius: 50px;
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    font-size: 0.78rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.35s var(--transition);
}
.ins-row-btn:hover { background: var(--gold); color: var(--navy); }
.ins-row-btn-navy { border-color: var(--navy); color: var(--navy); }
.ins-row-btn-navy:hover { background: var(--navy); color: var(--white); }
.ins-row-stat { text-align: center; }
.ins-stat-label {
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}
.ins-row-light .ins-stat-label { color: var(--gray); }
.ins-stat-value {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 700;
    line-height: 1;
}
.ins-stat-value.gold { color: var(--gold); }
.ins-stat-value.navy { color: var(--navy); }
.ins-partner {
    padding: 100px 0;
    background: var(--navy);
    color: var(--white);
}
.ins-partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.ins-partner-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 22px;
}
.ins-partner-text {
    color: rgba(255,255,255,0.78);
    line-height: 1.85;
    font-size: 1rem;
}
.ins-partner-form { display: flex; flex-direction: column; gap: 14px; }
.ins-form-group { display: flex; flex-direction: column; gap: 6px; }
.ins-form-group label {
    font-size: 0.78rem;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
}
.ins-form-group input,
.ins-form-group textarea {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
}
.ins-form-group input::placeholder,
.ins-form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.ins-form-group input:focus,
.ins-form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.1);
}
.ins-testimonials {
    padding: 90px 0;
    background: var(--navy-dark);
    color: var(--white);
    text-align: center;
}
.ins-test-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 30px;
}
.ins-test-quote {
    max-width: 780px;
    margin: 0 auto 22px;
    color: rgba(255,255,255,0.85);
    line-height: 1.85;
    font-size: 1rem;
}
.ins-test-author {
    color: var(--gold-light);
    font-style: italic;
    letter-spacing: 1px;
}
@media (max-width: 900px) {
    .ins-row-grid { grid-template-columns: 1fr; gap: 30px; }
    .ins-row-stat { text-align: left; }
    .ins-partner-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
    .ins-hero { min-height: 50vh; }
    .ins-row { padding: 60px 0; }
    .ins-portfolio { padding: 60px 0; }
    .ins-partner { padding: 70px 0; }
    .ins-testimonials { padding: 60px 0; }
}

.ab-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 480px;
}
.ab-block-dark { background: var(--navy); color: var(--white); }
.ab-block-light { background: var(--off-white); color: var(--navy); }
.ab-image {
    overflow: hidden;
    min-height: 360px;
}
.ab-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}
.ab-image:hover img { transform: scale(1.04); }
.ab-body {
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}
.ab-title {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 0 6px;
}
.ab-title.gold { color: var(--gold); }
.ab-title.navy { color: var(--navy); }
.ab-block-dark p { color: rgba(255,255,255,0.92); font-size: 1rem; line-height: 1.75; margin: 0; }
.ab-block-light p { color: var(--navy); font-size: 1rem; line-height: 1.75; margin: 0; }
.ab-block-dark p strong { color: var(--white); font-weight: 700; }
.ab-btn {
    align-self: flex-end;
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 44px;
    border-radius: 50px;
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    font-size: 0.78rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: all 0.35s var(--transition);
}
.ab-btn:hover { background: var(--gold); color: var(--navy); }
body.rtl .ab-btn { align-self: flex-start; }

@media (max-width: 900px) {
    .ab-block { grid-template-columns: 1fr; min-height: 0; }
    .ab-image { min-height: 260px; }
    .ab-block-light .ab-body { order: 2; }
    .ab-block-light .ab-image { order: 1; }
    .ab-body { padding: 44px 26px; }
}

.trusted-section {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.trusted-section::before {
    content: '';
    position: absolute;
    top: 30px; left: 50%;
    transform: translateX(-50%);
    width: 120px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.trusted-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    color: var(--gold);
    letter-spacing: clamp(3px, 0.8vw, 8px);
    margin-bottom: 30px;
    text-transform: uppercase;
}
.trusted-text {
    max-width: 760px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,0.92);
    font-size: clamp(0.98rem, 1.3vw, 1.1rem);
    line-height: 1.85;
}
.trusted-sign {
    color: var(--gold-light);
    font-size: 1rem;
    letter-spacing: 2px;
    font-style: italic;
}
@media (max-width: 600px) {
    .trusted-section { padding: 60px 0; }
    .trusted-title { margin-bottom: 22px; }
    .trusted-text { font-size: 0.95rem; line-height: 1.75; }
}

.our-projects {
    padding: 100px 0 110px;
    background: var(--white);
    text-align: center;
}
.our-projects-title {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    color: var(--gray);
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 70px;
    text-transform: uppercase;
}
.op-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 60px 40px;
    max-width: 1100px;
    margin: 0 auto;
}
.op-grid .op-card:nth-child(1) { grid-column: 2 / span 2; }
.op-grid .op-card:nth-child(2) { grid-column: 4 / span 2; }
.op-grid .op-card:nth-child(3) { grid-column: 1 / span 2; }
.op-grid .op-card:nth-child(4) { grid-column: 3 / span 2; }
.op-grid .op-card:nth-child(5) { grid-column: 5 / span 2; }
.op-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}
.op-circle {
    width: 200px; height: 200px;
    border-radius: 50%;
    border: 2px solid rgba(91,127,200,0.35);
    display: grid; place-items: center;
    background: var(--white);
    box-shadow: 0 8px 28px rgba(10,31,68,0.06);
    transition: all 0.5s var(--transition);
    overflow: hidden;
    position: relative;
}
.op-card:hover .op-circle {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 24px 50px rgba(10,31,68,0.18);
    border-color: var(--gold);
}
a.op-circle, a.op-circle-link {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.op-card h3 {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 2px;
    margin: 0;
}
.op-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 32px;
    border: 1px solid var(--gray-light);
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.3s var(--transition);
}
.op-btn:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.op-img { width: 100%; height: 100%; object-fit: cover; }
.op-circle-default {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-color: var(--gold);
}
.op-logo-default {
    font-family: 'Hama', serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--gold);
}

.op-logo-rami { display:flex; align-items:center; gap:6px; color: var(--navy); }
.op-logo-r {
    font-family: 'Hama', serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}
.op-logo-name {
    font-family: 'Hama', serif;
    font-size: 1.4rem;
    letter-spacing: 6px;
    color: var(--navy);
    font-weight: 600;
}
.op-logo-sub {
    display:none;
}
.op-circle-rami .op-logo-rami { flex-direction: column; gap: 2px; }
.op-circle-rami .op-logo-rami .op-logo-name { font-size: 1.1rem; letter-spacing: 5px; margin-top: -6px; }
.op-circle-rami .op-logo-sub { display: block; font-size: 0.55rem; letter-spacing: 3px; color: var(--gold-dark); }

.op-circle-roya {
    background: radial-gradient(circle at center, #fff685 0%, #ffe53d 60%, #f4c800 100%);
    border-color: #f0c500;
}
.op-logo-roya { color: var(--navy); text-align: center; line-height: 1; }
.op-stars { font-size: 0.7rem; color: var(--navy); letter-spacing: 2px; }
.op-roya-r {
    font-family: 'Hama', serif;
    font-size: 4.4rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 0.9;
    text-shadow: 2px 2px 0 rgba(255,255,255,0.5);
}
.op-roya-name {
    font-family: 'Hama', serif;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--navy);
    background: var(--gold-light);
    padding: 2px 14px;
    border-radius: 20px;
    margin-top: -4px;
    letter-spacing: 1px;
}

.op-circle-farm {
    background: radial-gradient(circle, #1e4595 0%, #0a1f44 70%);
    border-color: #ffd700;
    color: var(--white);
}
.op-circle-farm::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 2px solid #ffd700;
    pointer-events: none;
}
.op-logo-farm {
    display:flex; flex-direction: column;
    align-items: center;
    color: var(--white);
    line-height: 1;
}
.op-farm-name {
    font-family: 'Hama', serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
}
.op-farm-sub {
    font-family: 'Hama', serif;
    font-size: 1rem;
    color: #ffd700;
    letter-spacing: 6px;
    margin-top: 2px;
}
.op-farm-tag {
    font-size: 0.5rem;
    color: var(--white);
    letter-spacing: 2px;
    margin-top: 8px;
    border-top: 1px solid rgba(255,215,0,0.5);
    padding-top: 4px;
}

.op-circle-market {
    background: radial-gradient(circle at top, #fff8e7, #fff);
    border-color: rgba(201,169,97,0.4);
}
.op-logo-market {
    display:flex; flex-direction: column;
    align-items: center;
    color: var(--navy);
    line-height: 1;
}
.op-logo-market svg { width: 70px; height: 50px; }
.op-market-name {
    font-family: 'Hama', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 3px;
    margin-top: -4px;
}
.op-market-sub {
    font-size: 0.65rem;
    color: var(--gold-dark);
    letter-spacing: 5px;
    margin-top: 4px;
    border-top: 1px solid var(--gold);
    padding-top: 3px;
}

.op-circle-zab {
    background: radial-gradient(circle at top, #fff5b8 0%, #fff 70%);
    border-color: rgba(201,169,97,0.5);
}
.op-logo-zab {
    display:flex; flex-direction: column;
    align-items: center;
    line-height: 1;
    position: relative;
}
.op-zab-rays {
    position: absolute;
    top: -10px; left: 50%;
    transform: translateX(-50%);
    width: 90px; height: 30px;
    background: radial-gradient(ellipse at bottom, rgba(255,215,0,0.7), transparent 70%);
    pointer-events: none;
}
.op-zab-bird {
    width: 64px; height: 40px;
    color: var(--navy);
    position: relative;
    z-index: 2;
}
.op-zab-text {
    font-family: 'Hama', serif;
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: 3px;
    margin-top: 6px;
}

@media (max-width: 900px) {
    .op-grid { grid-template-columns: repeat(2, 1fr); gap: 50px 30px; }
    .op-grid .op-card:nth-child(1),
    .op-grid .op-card:nth-child(2),
    .op-grid .op-card:nth-child(3),
    .op-grid .op-card:nth-child(4),
    .op-grid .op-card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 600px) {
    .our-projects { padding: 70px 0 80px; }
    .our-projects-title { margin-bottom: 50px; }
    .op-grid { grid-template-columns: 1fr; gap: 44px; }
    .op-circle { width: 170px; height: 170px; }
    .op-card h3 { font-size: 1rem; letter-spacing: 1.5px; }
    .op-btn { padding: 10px 26px; font-size: 0.68rem; }
}

.projects-section {
    padding: 90px 0 100px;
    background: var(--off-white);
    position: relative;
}
.projects-section::before {
    content: '';
    position: absolute;
    top: 40px; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.projects-heading {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 600;
    color: var(--navy);
    text-align: center;
    margin-bottom: 14px;
}
.projects-subhead {
    text-align: center;
    color: var(--gray);
    max-width: 560px;
    margin: 0 auto 60px;
    font-size: 1rem;
    line-height: 1.7;
}
.proj-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 60px;
}
.proj-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.proj-ico {
    flex: 0 0 auto;
    width: 110px; height: 110px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    display: grid;
    place-items: center;
    color: var(--gold-dark);
    background: var(--white);
    box-shadow: 0 8px 24px rgba(168,136,74,0.10);
    transition: all 0.5s var(--transition);
    overflow: hidden;
}
.proj-ico svg { width: 60px; height: 60px; }
.proj-item:hover .proj-ico {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    border-color: var(--gold-dark);
    transform: rotate(-4deg) scale(1.04);
    box-shadow: 0 16px 36px rgba(168,136,74,0.32);
}
.proj-ico-logo {
    background: var(--white);
    border-color: var(--gold);
    padding: 0;
}
.proj-ico-logo img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.proj-item:hover .proj-ico-logo {
    transform: rotate(-4deg) scale(1.04);
    background: var(--white);
    border-color: var(--gold-dark);
}
.proj-body { flex: 1; min-width: 0; }
.proj-body h3 {
    font-size: 1.25rem;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 10px;
}
.proj-body h3::after { content: ':'; }
.proj-body p {
    color: var(--navy);
    font-size: 0.95rem;
    line-height: 1.65;
    opacity: 0.78;
}

@media (max-width: 900px) {
    .proj-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
    .projects-section { padding: 60px 0 70px; }
    .projects-subhead { margin-bottom: 40px; }
    .proj-item { gap: 18px; }
    .proj-ico { width: 86px; height: 86px; }
    .proj-ico svg { width: 46px; height: 46px; }
    .proj-ico-logo { padding: 0; }
    .proj-body h3 { font-size: 1.1rem; }
    .proj-body p { font-size: 0.9rem; }
}

.intro-section {
    padding: 90px 0 40px;
    background: var(--off-white);
    text-align: center;
    position: relative;
}
.intro-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 120px; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.intro-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-bottom: 26px;
}
.intro-line {
    flex: 0 0 auto;
    width: clamp(40px, 8vw, 90px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.intro-title {
    font-size: clamp(2rem, 5.5vw, 3.6rem);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: clamp(2px, 0.6vw, 6px);
    margin: 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.intro-text {
    max-width: 760px;
    margin: 0 auto;
    color: var(--gray);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.85;
    text-align: center;
}
@media (max-width: 600px) {
    .intro-section { padding: 60px 0 20px; }
    .intro-wrap { gap: 14px; margin-bottom: 20px; }
    .intro-text { font-size: 0.98rem; line-height: 1.75; }
}

.vision-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-lg);
}
.vision-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.vision-image:hover img { transform: scale(1.05); }
.vision-image::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(45deg, rgba(10,31,68,0.2), transparent);
}

.priorities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 60px;
}
.priority-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(10,31,68,0.06);
    transition: all 0.5s var(--transition);
    border: 1px solid rgba(201,169,97,0.1);
    position: relative;
    overflow: hidden;
}
.priority-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--transition);
}
.priority-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(10,31,68,0.12);
}
.priority-card:hover::before { transform: scaleX(1); }
.priority-icon {
    width: 70px; height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 20px;
    display: grid; place-items: center;
    color: var(--gold);
    font-size: 1.8rem;
    box-shadow: 0 12px 25px rgba(10,31,68,0.25);
    transition: transform 0.5s var(--transition);
}
.priority-card:hover .priority-icon { transform: rotate(-8deg) scale(1.1); }
.priority-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: #000; }
.priority-card p { color: var(--gray); font-size: 0.95rem; }

.stats-section {
    position: relative;
    padding: 100px 0;
    background:
        linear-gradient(135deg, rgba(10,31,68,0.92), rgba(6,21,51,0.92)),
        url('https://images.unsplash.com/photo-1500595046743-cd271d694d30?auto=format&fit=crop&w=2000&q=80') center/cover fixed;
    color: var(--white);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}
.stat {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,169,97,0.15);
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--transition);
}
.stat:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    background: rgba(201,169,97,0.08);
}
.stat-num {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
}
.stat-label { font-size: 0.95rem; color: rgba(255,255,255,0.7); letter-spacing: 2px; text-transform: uppercase; }

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,31,68,0.7));
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.project-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.5s var(--transition);
    position: relative;
}
.project-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.project-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.project-card:hover .project-img img { transform: scale(1.08); }
.project-meta {
    position: absolute; top: 16px; left: 16px;
    background: var(--gold);
    color: var(--navy);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
}
.project-body { padding: 30px; }
.project-body h3 { font-size: 1.4rem; margin-bottom: 12px; }
.project-body p { color: var(--gray); margin-bottom: 16px; }
.project-link { color: var(--gold-dark); font-weight: 600; }
.project-link:hover { color: var(--gold); }

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: var(--white);
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    margin-top: -120px;
    position: relative;
    z-index: 5;
}
.contact-info h2 { color: var(--navy); margin-bottom: 20px; font-size: 2rem; }
.contact-info p { color: var(--gray); margin-bottom: 30px; }
.contact-list { list-style: none; }
.contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-light);
}
.contact-list li:last-child { border: 0; }
.contact-list .ci-ico {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--gold);
    border-radius: 12px;
    display: grid; place-items: center;
    flex-shrink: 0;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; position: relative; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: var(--off-white);
    border: 2px solid transparent;
    border-radius: 14px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--navy);
    transition: all 0.3s var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(201,169,97,0.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
    font-weight: 500;
    font-size: 0.9rem;
}
.form-group .req { color: #e74c3c; }

.alert {
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    border: 1px solid;
}
.alert-success { background: #e6f7ee; color: #1a7a45; border-color: #b6e3c8; }
.alert-error { background: #fdecec; color: #b03434; border-color: #f3c2c2; }
.alert-warning { background: #fef6e7; color: #8a6206; border-color: #f5d68f; }

.footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 50px;
    margin-bottom: 50px;
}
.footer h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}
.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--gold);
}
body.rtl .footer h4::after { left: auto; right: 0; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a:hover { color: var(--gold); padding-left: 6px; }
body.rtl .footer ul a:hover { padding-left: 0; padding-right: 6px; }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: grid; place-items: center;
    transition: all 0.3s var(--transition);
}
.social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-4px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

.bottom-nav { display: none; }

.fade-up { opacity: 0; transform: translateY(40px); transition: all 0.8s var(--transition); }
.fade-up.in { opacity: 1; transform: translateY(0); }
.fade-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s var(--transition); }
.fade-left.in { opacity: 1; transform: translateX(0); }
.fade-right { opacity: 0; transform: translateX(40px); transition: all 0.8s var(--transition); }
.fade-right.in { opacity: 1; transform: translateX(0); }
.fade-scale { opacity: 0; transform: scale(0.9); transition: all 0.8s var(--transition); }
.fade-scale.in { opacity: 1; transform: scale(1); }

.page-hero {
    padding: 180px 0 100px;
    background:
        linear-gradient(135deg, rgba(10,31,68,0.92), rgba(6,21,51,0.92)),
        url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?auto=format&fit=crop&w=2000&q=80') center/cover;
    color: var(--white);
    text-align: center;
}
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }
.crumb { color: var(--gold); font-size: 0.9rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; }

.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
    background: #f1f4fb;
}
.admin-sidebar {
    background: var(--navy-dark);
    color: var(--white);
    padding: 30px 20px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.admin-sidebar .brand { font-size: 1.2rem; margin-bottom: 30px; }
.admin-menu { list-style: none; }
.admin-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    color: rgba(255,255,255,0.7);
    border-radius: 12px;
    margin-bottom: 4px;
    font-size: 0.95rem;
}
.admin-menu a:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.admin-menu a.active { background: var(--gold); color: var(--navy); font-weight: 600; }
.admin-main { padding: 30px 40px; }
.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    padding: 16px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(10,31,68,0.04);
}
.admin-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(10,31,68,0.04);
    margin-bottom: 24px;
}
.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}
.stat-card {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(10,31,68,0.05);
    border-left: 4px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 18px;
}
body.rtl .stat-card { border-left: 0; border-right: 4px solid var(--gold); }
.stat-card .ic {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--gold);
    display: grid; place-items: center;
}
.stat-card .v { font-size: 1.8rem; font-weight: 800; color: var(--navy); }
.stat-card .l { color: var(--gray); font-size: 0.9rem; }

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
}
.table th, .table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
}
body.rtl .table th, body.rtl .table td { text-align: right; }
.table th { background: var(--off-white); font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.table tr:hover { background: rgba(201,169,97,0.05); }
.badge { padding: 4px 12px; border-radius: 30px; font-size: 0.8rem; font-weight: 600; }
.badge-new { background: #fef3c7; color: #92400e; }
.badge-read { background: #dbeafe; color: #1e3a8a; }
.badge-replied { background: #d1fae5; color: #065f46; }
.badge-archived { background: var(--gray-light); color: var(--gray); }
.badge-admin { background: var(--gold); color: var(--navy); }
.badge-editor { background: #dbeafe; color: #1e3a8a; }
.badge-viewer { background: var(--gray-light); color: var(--gray); }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-danger { background: #e74c3c; color: var(--white); }
.btn-danger:hover { background: #c0392b; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); }

.login-page {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(10,31,68,0.95), rgba(6,21,51,0.95)),
        url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?auto=format&fit=crop&w=2000&q=80') center/cover;
    display: grid;
    place-items: center;
    padding: 30px;
}
.login-card {
    background: var(--white);
    width: 100%;
    max-width: 440px;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.login-card .brand { color: var(--navy); justify-content: center; margin-bottom: 30px; }
.login-card h2 { color: var(--navy); margin-bottom: 8px; text-align: center; }
.login-card .sub { text-align: center; color: var(--gray); margin-bottom: 30px; }

@media (max-width: 1280px) {
    .container { max-width: 100%; padding: 0 28px; }
    .footer-grid { gap: 36px; }
}

@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    .section { padding: 90px 0; }
    .vision-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-wrap { grid-template-columns: 1fr; padding: 40px; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
    .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: auto; grid-row: auto; }
    .priorities { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar {
        position: fixed; top: 0;
        left: -100%;
        width: 280px;
        z-index: 1100;
        transition: left 0.3s ease;
    }
    body.rtl .admin-sidebar { left: auto; right: -100%; }
    .admin-sidebar.open { left: 0; }
    body.rtl .admin-sidebar.open { right: 0; }
    .admin-main { padding: 24px 20px; }
    .stats-section { background-attachment: scroll; }

    
    .ab-body { padding: 50px 36px; }
    .ins-row-grid { gap: 32px; }
    .loc-grid { gap: 50px; }
    .op-grid { grid-template-columns: repeat(2, 1fr); }
    .proj-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .menu-toggle {
        display: grid;
        place-items: center;
        width: 44px; height: 44px;
        background: rgba(255,255,255,0.08);
        border-radius: 12px;
        color: var(--white);
    }
    .nav-links.open {
        display: flex;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: var(--navy-dark);
        flex-direction: column;
        justify-content: center;
        gap: 18px;
        padding: 80px 30px 40px;
        z-index: 1050;
    }
    .nav-links.open a { font-size: 1.3rem; padding: 14px 24px; }
    .nav-close {
        position: absolute;
        top: 20px;
        inset-inline-end: 20px;
        width: 44px; height: 44px;
        background: rgba(255,255,255,0.1);
        border-radius: 12px;
        color: var(--white);
        display: grid; place-items: center;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 22px; }
    .section { padding: 60px 0; }
    .section-head { margin-bottom: 40px; }
    .section-title { line-height: 1.2; }
    .section-desc { font-size: 1rem; }
    .section-tag { font-size: 0.72rem; letter-spacing: 2px; padding: 6px 14px; margin-bottom: 14px; }

    .navbar { padding: 10px 0; }
    .brand { font-size: 1.05rem; letter-spacing: 1px; gap: 10px; }
    .brand-logo { width: 38px; height: 38px; }

    .hero { min-height: 100svh; }
    .hero-content { padding: 100px 0 130px; }
    .hero-badge { font-size: 0.75rem; padding: 7px 14px; margin-bottom: 18px; }
    .hero-desc { font-size: 0.98rem; margin-bottom: 28px; }
    .scroll-down { display: none; }
    .hero-actions { gap: 12px; }

    .priorities { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
    .priority-card { padding: 28px 22px; }
    .priority-card h3 { font-size: 1.1rem; }
    .priority-icon { width: 60px; height: 60px; font-size: 1.5rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer { padding: 50px 0 24px; }
    .footer h4 { margin-bottom: 18px; }
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
    .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: auto; grid-row: auto; }
    .stats-grid { gap: 16px; grid-template-columns: repeat(2, 1fr); }
    .stat { padding: 22px 14px; }
    .stats-section { padding: 60px 0; background-attachment: scroll; }

    .vision-grid { gap: 28px; }
    .projects-grid { grid-template-columns: 1fr; gap: 22px; }
    .project-body { padding: 22px; }
    .project-body h3 { font-size: 1.2rem; }

    .contact-wrap {
        grid-template-columns: 1fr;
        padding: 28px 20px;
        margin-top: -50px;
        border-radius: 20px;
        gap: 28px;
    }
    .contact-info h2 { font-size: 1.4rem; }
    .contact-info p { margin-bottom: 20px; font-size: 0.95rem; }
    .page-hero { padding: 120px 0 60px; }
    .page-hero h1 { letter-spacing: -0.5px; }
    .page-hero p { font-size: 0.98rem; }
    .crumb { font-size: 0.7rem; letter-spacing: 2px; margin-bottom: 12px; }

    .btn { padding: 13px 24px; font-size: 0.92rem; }
    .divider { margin: 36px 0; }

    
    .ab-block { grid-template-columns: 1fr; min-height: 0; }
    .ab-image { min-height: 240px; max-height: 320px; }
    .ab-image img { height: 100%; object-fit: cover; }
    .ab-block-light .ab-body { order: 2; }
    .ab-block-light .ab-image { order: 1; }
    .ab-body { padding: 36px 22px; gap: 14px; }
    .ab-title { letter-spacing: 0.5px; }

    
    .ins-hero { min-height: 50vh; padding-top: 80px; }
    .ins-hero-content { padding: 40px 18px; }
    .ins-hero-tag { font-size: 0.78rem; letter-spacing: 3px; margin-bottom: 8px; }
    .ins-hero-title { letter-spacing: 2px; }
    .ins-portfolio { padding: 60px 0; }
    .ins-portfolio-title { letter-spacing: 3px; margin-bottom: 18px; }
    .ins-portfolio-text { font-size: 0.95rem; line-height: 1.7; }
    .ins-row { padding: 50px 0; }
    .ins-row-grid { grid-template-columns: 1fr; gap: 24px; }
    .ins-row-stat { text-align: left; }
    .ins-row-title { letter-spacing: 2px; }
    .ins-stat-value { font-size: 3rem; }
    .ins-partner { padding: 60px 0; }
    .ins-partner-grid { grid-template-columns: 1fr; gap: 32px; }
    .ins-partner-title { letter-spacing: 3px; margin-bottom: 14px; }
    .ins-partner-text { font-size: 0.95rem; }
    .ins-form-group input, .ins-form-group textarea { padding: 11px 14px; font-size: 0.92rem; }
    .ins-testimonials { padding: 56px 0; }
    .ins-test-title { letter-spacing: 3px; margin-bottom: 22px; }
    .ins-test-quote { font-size: 0.95rem; line-height: 1.7; }

    
    .trusted-section { padding: 60px 0; }
    .trusted-title { letter-spacing: 3px; margin-bottom: 18px; }
    .trusted-text { font-size: 0.95rem; line-height: 1.75; margin-bottom: 18px; }
    .trusted-sign { font-size: 0.9rem; }

    
    .loc-section { padding: 60px 0; }
    .loc-grid { grid-template-columns: 1fr; gap: 36px; }
    .loc-heading { gap: 12px; margin-bottom: 18px; }
    .loc-line { width: 36px; }
    .loc-title { font-size: 1.4rem; }
    .loc-block { padding: 14px 0; }
    .loc-list a, .loc-mail, .loc-text { font-size: 0.95rem; }

    
    .catalog-section { padding: 40px 0 60px; }
    .catalog-grid { gap: 16px; }
    .catalog-page { border-radius: 10px; box-shadow: 0 10px 28px rgba(10,31,68,0.14); }

    
    .intro-section { padding: 50px 0 20px; }
    .intro-wrap { gap: 12px; margin-bottom: 18px; }
    .intro-title { letter-spacing: 2px; }
    .intro-text { font-size: 0.95rem; line-height: 1.75; }

    
    .our-projects { padding: 60px 0 70px; }
    .our-projects-title { margin-bottom: 36px; letter-spacing: 3px; }
    .op-grid { grid-template-columns: 1fr; gap: 36px; }
    .op-circle { width: 160px; height: 160px; }
    .op-card h3 { font-size: 1rem; letter-spacing: 1.5px; }

    
    .projects-section { padding: 50px 0 60px; }
    .proj-grid { grid-template-columns: 1fr; gap: 28px; }
    .proj-item { gap: 16px; }
    .proj-ico { width: 78px; height: 78px; }
    .proj-ico svg { width: 42px; height: 42px; }
    .proj-body h3 { font-size: 1rem; }
    .proj-body p { font-size: 0.88rem; line-height: 1.6; }

    body { padding-bottom: 0; }
    .footer { padding-bottom: 110px; }

    .bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 14px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 24px);
        max-width: 380px;
        background: rgba(10,31,68,0.92);
        backdrop-filter: saturate(180%) blur(24px);
        -webkit-backdrop-filter: saturate(180%) blur(24px);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 999px;
        padding: 7px;
        z-index: 999;
        box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.15);
    }
    .bottom-nav a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 42px;
        color: rgba(255,255,255,0.55);
        border-radius: 999px;
        transition: all 0.35s var(--transition);
    }
    .bottom-nav a span { display: none; }
    .bottom-nav a svg { width: 22px; height: 22px; transition: transform 0.35s var(--transition); }
    .bottom-nav a:hover { color: var(--gold-light); }
    .bottom-nav a.active {
        color: var(--navy);
        background: var(--gold);
        box-shadow: 0 6px 16px rgba(201,169,97,0.45);
    }
    .bottom-nav a.active svg { transform: scale(1.05); }

    .admin-main { padding: 18px 14px; }
    .admin-topbar { padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
    .admin-topbar h2 { font-size: 1.1rem; }
    .admin-card { padding: 18px; border-radius: 14px; }
    .stat-cards { gap: 14px; }
    .stat-card { padding: 18px; }
    .stat-card .v { font-size: 1.4rem; }
    .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .table { min-width: 520px; }
    .table th, .table td { padding: 12px 14px; font-size: 0.9rem; }
    .login-card { padding: 36px 24px; border-radius: 20px; }
}

@media (max-width: 600px) {
    .lang-switch { padding: 3px; }
    .lang-switch a { padding: 5px 10px; font-size: 0.72rem; }
    .nav-wrap { gap: 10px; }
    .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .form-group input, .form-group textarea, .form-group select { padding: 13px 16px; font-size: 0.95rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .contact-wrap { padding: 24px 16px; }
    .preloader-logo { font-size: 2.4rem; letter-spacing: 6px; }
    .preloader-logo-sub { font-size: 0.85rem; letter-spacing: 3px; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .section { padding: 50px 0; }
    .section-head { margin-bottom: 32px; }
    .hero-content { padding: 90px 0 120px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-badge { font-size: 0.7rem; padding: 6px 12px; }
    .hero-desc { font-size: 0.95rem; }
    .priority-card { padding: 24px 16px; }
    .priority-icon { width: 56px; height: 56px; font-size: 1.3rem; }
    .priority-card h3 { font-size: 1.05rem; }
    .priority-card p { font-size: 0.9rem; }
    .stat { padding: 20px 14px; }
    .stat-label { font-size: 0.78rem; letter-spacing: 1.5px; }
    .contact-wrap { padding: 20px 14px; margin-top: -40px; border-radius: 18px; }
    .contact-list li { padding: 12px 0; gap: 12px; }
    .contact-list .ci-ico { width: 38px; height: 38px; }
    .footer { padding: 44px 0 20px; }
    .footer h4 { margin-bottom: 14px; }
    .social a { width: 38px; height: 38px; }
    .page-hero { padding: 110px 0 50px; }
    .page-hero p { font-size: 0.92rem; }

    .bottom-nav { bottom: 10px; padding: 6px; width: calc(100% - 16px); }
    .bottom-nav a { height: 40px; }
    .bottom-nav a svg { width: 20px; height: 20px; }

    .admin-topbar > div:last-child span:first-child { display: none; }
    .admin-topbar h2 { font-size: 1rem; }
    .stat-card { gap: 12px; padding: 16px; }
    .stat-card .ic { width: 42px; height: 42px; }
    .stat-card .v { font-size: 1.25rem; }
    .stat-card .l { font-size: 0.82rem; }
    .login-card { padding: 28px 18px; border-radius: 18px; }
    .login-card h2 { font-size: 1.35rem; }
    .login-card .sub { font-size: 0.9rem; margin-bottom: 24px; }

    .btn { padding: 12px 22px; font-size: 0.9rem; }
    .form-group { margin-bottom: 14px; }
    .form-group input, .form-group textarea, .form-group select { padding: 12px 14px; border-radius: 12px; }
    .alert { padding: 12px 16px; font-size: 0.88rem; }

    .ab-body { padding: 30px 18px; }
    .ab-image { min-height: 200px; max-height: 280px; }
    .ins-hero-content { padding: 30px 14px; }
    .ins-stat-value { font-size: 2.6rem; }
    .ins-row { padding: 44px 0; }
    .loc-section { padding: 50px 0; }
    .loc-title { font-size: 1.25rem; }
    .catalog-section { padding: 30px 0 50px; }
    .op-circle { width: 140px; height: 140px; }
    .proj-ico { width: 70px; height: 70px; }
    .proj-ico svg { width: 38px; height: 38px; }
    .footer-grid { gap: 28px; }
}

@media (max-width: 360px) {
    .container { padding: 0 12px; }
    .brand span:not(.brand-logo) { display: none; }
    .lang-switch a { padding: 4px 8px; font-size: 0.68rem; }
    .hero-title { letter-spacing: -0.5px; }
    .hero-sub { letter-spacing: 3px; font-size: 0.95rem; }
    .hero-content { padding: 80px 0 110px; }
    .bottom-nav a svg { width: 18px; height: 18px; }
    .stats-grid { grid-template-columns: 1fr; }
    .gallery { grid-auto-rows: 180px; }
    .preloader-logo { font-size: 2rem; letter-spacing: 4px; }
    .section-title { font-size: 1.6rem; }
    .page-hero h1 { font-size: 1.9rem; }
}

@media (min-width: 1600px) {
    .container { max-width: 1440px; }
    .hero-content { padding-top: 160px; }
}

@media (orientation: landscape) and (max-height: 500px) {
    .hero { min-height: 100svh; }
    .hero-content { padding: 90px 0 80px; }
    body { padding-bottom: 0; }
    .footer { padding-bottom: 90px; }
    .bottom-nav { bottom: 8px; }
}

@media (hover: none) and (pointer: coarse) {
    .priority-card:hover, .project-card:hover, .stat:hover { transform: none; }
    .btn-primary:hover, .btn-outline:hover { transform: none; }
    .nav-links a:hover { background: transparent; }
}

@supports (padding: max(0px)) {
    .bottom-nav {
        bottom: max(14px, env(safe-area-inset-bottom));
    }
    .footer {
        padding-bottom: max(110px, calc(90px + env(safe-area-inset-bottom)));
    }
}

.spinner {
    display: inline-block;
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 50px 0;
}

/* === RTL: remove letter-spacing for Arabic/Kurdish (joined scripts) === */
[dir="rtl"],
[dir="rtl"] *:not([class*="rt-year-num"]):not([class*="rt-stat-num"]):not(h1):not(h2):not(h3) {
    letter-spacing: normal !important;
    word-spacing: normal !important;
}
[dir="rtl"] .crumb,
[dir="rtl"] .hero-welcome,
[dir="rtl"] .scroll-down,
[dir="rtl"] .loc-label,
[dir="rtl"] .rt-stat-label,
[dir="rtl"] .rh-branch-label,
[dir="rtl"] .rt-year-label,
[dir="rtl"] .nav-link,
[dir="rtl"] .footer h4,
[dir="rtl"] .btn,
[dir="rtl"] .op-btn,
[dir="rtl"] .intro-title,
[dir="rtl"] .ab-title,
[dir="rtl"] .trusted-title,
[dir="rtl"] .our-projects-title,
[dir="rtl"] .loc-title {
    letter-spacing: 0 !important;
    text-transform: none;
}
