/* Custom properties */
:root {
    --primary-color: #0F2F3A;
    --secondary-color: #102A43;
    --accent-color: #D8A735;
    --bg-color: #F7F9FA;
    --text-color: #1F2933;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

[dir="rtl"] {
    text-align: right;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Site Header - Glassmorphism */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    padding: 22px 0;
    background: rgba(247, 249, 250, 0.58);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 0;
    box-shadow: none;
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}

.site-header.is-scrolled {
    background: rgba(247, 249, 250, 0.82);
    box-shadow: 0 10px 34px rgba(15, 47, 58, 0.06);
    padding: 14px 0;
}

.site-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    max-height: 56px;
    width: auto;
    display: block;
}

.site-logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-nav .nav-list {
    display: flex;
    gap: 44px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    position: relative;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.main-nav a.is-active::after,
.main-nav a:hover::after,
.nav-link.is-active::after,
.nav-link:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -14px;
    height: 2px;
    background: #D8A735;
    border-radius: 999px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.language-switcher a {
    color: #0F2F3A;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    opacity: 0.68;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.language-switcher a.is-active,
.language-switcher a:hover {
    opacity: 1;
    color: #D8A735;
}

.language-separator {
    width: 1px;
    height: 16px;
    background: rgba(15, 47, 58, 0.28);
}

.header-menu-toggle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,0.82);
    box-shadow: 0 10px 30px rgba(15,47,58,0.08);
    display: none; /* hidden on desktop */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.header-menu-toggle:hover {
    background: #fff;
}

/* RTL Support */
[dir="rtl"] .site-header-inner {
    direction: rtl;
}

@media (max-width: 991px) {
    .site-header-inner {
        grid-template-columns: 1fr auto;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        text-align: center;
    }
    
    .main-nav.is-open {
        display: block;
    }
    
    .main-nav .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-menu-toggle {
        display: inline-flex;
    }
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}
.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}
.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.page-content {
    padding-top: 110px;
}

.hero {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 110px 2rem 4rem; /* Adjusted for fixed header */
    text-align: center;
    position: relative;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Home Hero Custom Styles */
.home-hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-color);
    margin-top: 0;
    padding-top: 120px;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.home-hero::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(
        180deg,
        rgba(247, 249, 250, 0) 0%,
        rgba(247, 249, 250, 0.88) 70%,
        rgba(247, 249, 250, 1) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(247, 249, 250, 0.96) 0%,
        rgba(247, 249, 250, 0.86) 28%,
        rgba(247, 249, 250, 0.28) 58%,
        rgba(247, 249, 250, 0.04) 100%
    );
    z-index: 1;
}

.home-hero-inner {
    position: relative;
    z-index: 2;
}

.home-hero-content {
    max-width: 560px;
}

.home-hero-content h1 {
    font-size: clamp(44px, 6vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    color: #0F2F3A;
    margin-bottom: 1rem;
}

.home-hero-content h1 span {
    color: #D8A735;
}

.home-hero-content p {
    margin-top: 28px;
    font-size: 18px;
    line-height: 1.7;
    color: #52616B;
    max-width: 520px;
}

.home-hero-actions {
    margin-top: 36px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* RTL Home Hero Adjustments */
[dir="rtl"] .home-hero-bg img,
html[lang="ar"] .home-hero-bg img {
    transform: scaleX(-1);
}

[dir="rtl"] .home-hero::after,
html[lang="ar"] .home-hero::after {
    background: linear-gradient(
        270deg,
        rgba(247, 249, 250, 0.96) 0%,
        rgba(247, 249, 250, 0.86) 28%,
        rgba(247, 249, 250, 0.28) 58%,
        rgba(247, 249, 250, 0.04) 100%
    );
}

[dir="rtl"] .home-hero-content,
html[lang="ar"] .home-hero-content {
    margin-right: 0;
    margin-left: auto;
}

@media (max-width: 900px) {
    .home-hero {
        min-height: auto;
        padding: 120px 0 80px;
        background: var(--bg-color);
    }

    .home-hero::after {
        background: rgba(247, 249, 250, 0.88);
    }

    .home-hero-bg img {
        object-position: center;
    }
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}
.card h3 {
    margin-bottom: 1rem;
}
.card a {
    color: var(--primary-color);
    text-decoration: none;
}
.card a:hover {
    color: var(--accent-color);
}

section {
    padding: 4rem 0;
}

.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.page-content, .service-detail, .product-detail, .not-found {
    padding: 4rem 0;
    min-height: 60vh;
}
.page-content h1, .service-detail h1, .product-detail h1, .not-found h1 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

/* Solutions Showcase Cards for Homepage */
.solutions-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-top: 2rem;
}

.solution-showcase-card {
    display: block;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 18px 45px rgba(15, 47, 58, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.solution-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15, 47, 58, 0.14);
}

.solution-showcase-image {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #0F2F3A, #102A43);
    overflow: hidden;
}

.solution-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.solution-showcase-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 47, 58, 0.35),
        rgba(15, 47, 58, 0.65)
    );
}

.solution-showcase-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0F2F3A, #102A43);
}

.solution-showcase-body {
    padding: 28px 32px 34px;
    text-align: center;
}

.solution-showcase-body h3 {
    margin: 0 0 14px;
    color: #0F2F3A;
    font-size: 20px;
    letter-spacing: .08em;
}

.solution-showcase-body p {
    margin: 0;
    color: #5B6770;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .solutions-showcase-grid {
        grid-template-columns: 1fr;
    }
}

/* Brand Strip */
.brand-strip {
    position: relative;
    z-index: 4;
    margin: -56px auto 72px;
    max-width: 1180px;
}

.brand-strip-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 14px 42px rgba(15, 47, 58, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.42);
}

.brand-strip-item {
    position: relative;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 18px 28px;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}

.brand-strip-label {
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    color: #163847;
    letter-spacing: -0.01em;
    transition: color .25s ease;
}

.brand-strip-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 34px;
    background: rgba(15, 47, 58, 0.10);
}

[dir="rtl"] .brand-strip-item:not(:last-child)::after {
    right: auto;
    left: 0;
}

.brand-strip-item:hover {
    background: rgba(216, 167, 53, 0.05);
}

.brand-strip-item:hover .brand-strip-label {
    color: #0F2F3A;
}

.brand-strip-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #D6A43A;
}

.brand-strip-icon svg {
    width: 36px;
    height: 36px;
    display: block;
    stroke: currentColor;
}

@media (max-width: 800px) {
    .brand-strip {
        margin: 30px auto 60px;
    }

    .brand-strip-inner {
        grid-template-columns: 1fr;
    }

    .brand-strip-item:not(:last-child)::after {
        right: 15%;
        left: 15%;
        top: auto;
        bottom: 0;
        transform: none;
        width: auto;
        height: 1px;
    }
}

/* ==========================================================================
   DETAIL PAGES (SERVICE & PRODUCT) PREMIUM LAYOUT
   ========================================================================== */

.detail-page .container {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Breadcrumb */
.breadcrumb-nav {
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: var(--border-color);
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.is-current span {
    color: var(--primary-color);
    font-weight: 500;
}

/* Detail Hero */
.detail-hero {
    padding: 42px 0 72px;
    background: #f3f5f8;
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
    gap: 72px;
    align-items: center;
}

.detail-hero-content h1 {
    margin: 0;
    color: #0F2F3A;
    font-size: clamp(52px, 5.4vw, 78px);
    line-height: .98;
    letter-spacing: -0.06em;
}

.detail-title-line {
    display: block;
    width: 54px;
    height: 3px;
    margin: 26px 0 0;
    border-radius: 999px;
    background: #D8A735;
}

.detail-hero-content p {
    margin: 28px 0 0;
    max-width: 620px;
    color: #52616B;
    font-size: 17px;
    line-height: 1.8;
}

.detail-hero-visual {
    min-height: 330px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15,47,58,0.10);
}

.detail-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    display: block;
}

/* Info Section */
.detail-info-section {
    padding: 0 0 36px;
    background: #f3f5f8;
}

.detail-info-card {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.62);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(15,47,58,0.07);
    padding: 42px 46px 38px;
}

.detail-info-card h2 {
    margin: 0 0 18px;
    color: #0F2F3A;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.detail-content-text {
    color: #293844;
    font-size: 16px;
    line-height: 1.85;
    max-width: 940px;
}

.detail-feature-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 34px;
}

.detail-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 0 24px;
    border-left: 1px solid rgba(15,47,58,.10);
}

.detail-feature-item:first-child {
    border-left: 0;
    padding-left: 0;
}

.detail-feature-icon {
    width: 38px;
    height: 38px;
    color: #D8A735;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.detail-feature-icon svg {
    width: 34px;
    height: 34px;
    stroke: currentColor;
}

.detail-feature-item h3 {
    margin: 0 0 6px;
    color: #0F2F3A;
    font-size: 15px;
    font-weight: 800;
}

.detail-feature-item p {
    margin: 0;
    color: #52616B;
    font-size: 13px;
    line-height: 1.5;
}

/* Media & FAQ Section */
.detail-media-faq-section {
    padding: 0 0 90px;
    background: #f3f5f8;
}

.detail-media-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.8fr);
    gap: 28px;
    align-items: start;
}

.detail-video-card,
.detail-faq-card {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.62);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(15,47,58,0.07);
    padding: 28px;
}

.detail-video-card h2,
.detail-faq-card h2 {
    margin: 0 0 18px;
    color: #0F2F3A;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.video-embed-ratio {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #0F2F3A;
}

.video-embed-ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-embed-ratio.is-short {
    max-width: 330px;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(15,47,58,0.08);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 18px;
    color: #0F2F3A;
    font-weight: 750;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "?";
    color: #0F2F3A;
    opacity: .72;
    font-size: 18px;
    transition: transform .2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    margin: 0;
    padding: 0 18px 18px;
    color: #52616B;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1080px) {
    .detail-hero-grid,
    .detail-media-faq-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .detail-feature-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .detail-feature-item {
        border-left: 0;
        padding: 0;
    }
}

@media (max-width: 680px) {
    .detail-hero {
        padding-bottom: 48px;
    }

    .detail-hero-content h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .detail-info-card,
    .detail-video-card,
    .detail-faq-card {
        padding: 24px;
        border-radius: 18px;
    }

    .detail-feature-row {
        grid-template-columns: 1fr;
    }
}

/* Detail page spacing refinement */
.detail-hero {
    padding-top: 36px;
    padding-bottom: 34px;
}

.detail-info-section {
    padding-top: 0;
    padding-bottom: 20px;
    margin-bottom: 0;
}

.detail-info-card {
    margin-bottom: 0;
}

.detail-media-faq-section {
    padding-top: 0;
    padding-bottom: 72px;
}

.detail-media-faq-grid {
    margin-top: 0;
}

/* Detail Info Card Width Assurance */
.detail-info-card {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.detail-content-text {
    max-width: 940px;
}

/* Products Index Page CSS */
.products-page {
    background:
        radial-gradient(circle at 84% 20%, rgba(216, 167, 53, 0.10), transparent 28%),
        linear-gradient(180deg, #f7f9fb 0%, #f3f5f8 100%);
    padding: 118px 0 96px;
    min-height: 100vh;
    overflow: hidden;
}

.products-page-hero {
    max-width: 760px;
    margin-bottom: 58px;
}

.products-page-hero h1 {
    margin: 0;
    color: #0F2F3A;
    font-size: clamp(56px, 6vw, 86px);
    line-height: .98;
    letter-spacing: -0.06em;
}

.products-page-hero p {
    margin: 24px 0 0;
    color: #52616B;
    font-size: 18px;
    line-height: 1.75;
    max-width: 680px;
}

.products-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.product-list-card {
    display: flex;
    flex-direction: column;
    min-height: 520px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.68);
    border-radius: 26px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 22px 64px rgba(15,47,58,0.08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-list-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(15,47,58,0.13);
    border-color: rgba(216,167,53,0.34);
}

.product-list-image {
    position: relative;
    height: 270px;
    background:
        radial-gradient(circle at 30% 20%, rgba(216,167,53,0.16), transparent 30%),
        linear-gradient(135deg, #0F2F3A, #102A43);
    overflow: hidden;
}

.product-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-list-placeholder {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 26% 20%, rgba(216,167,53,0.24), transparent 34%),
        radial-gradient(circle at 76% 72%, rgba(74,144,226,0.18), transparent 36%),
        linear-gradient(135deg, #0F2F3A, #102A43);
}

.product-list-icon {
    position: absolute;
    left: 28px;
    bottom: -32px;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: rgba(255,255,255,0.96);
    color: #D8A735;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 34px rgba(15,47,58,0.14);
}

.product-list-icon svg {
    width: 38px;
    height: 38px;
    stroke: currentColor;
}

.product-list-body {
    position: relative;
    flex: 1;
    padding: 58px 30px 34px;
}

.product-list-body h2 {
    margin: 0 0 16px;
    color: #0F2F3A;
    font-size: 32px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.product-list-body p {
    margin: 0;
    color: #52616B;
    font-size: 16px;
    line-height: 1.75;
}

.product-list-arrow {
    display: inline-flex;
    margin-top: 30px;
    color: #D8A735;
    font-size: 34px;
    line-height: 1;
    transition: transform .25s ease;
}

.product-list-card:hover .product-list-arrow {
    transform: translateX(6px);
}

@media (max-width: 1080px) {
    .products-list-grid {
        grid-template-columns: 1fr;
    }

    .product-list-card {
        min-height: auto;
    }

    .product-list-image {
        height: 300px;
    }
}

@media (max-width: 680px) {
    .products-page {
        padding-top: 96px;
        padding-bottom: 72px;
    }

    .products-page-hero h1 {
        font-size: clamp(48px, 14vw, 64px);
    }

    .product-list-image {
        height: 240px;
    }
}

html[dir="rtl"] .product-list-icon {
    left: auto;
    right: 28px;
}

html[dir="rtl"] .product-list-card:hover .product-list-arrow {
    transform: translateX(-6px);
}






/* Contact Page CSS */
.contact-page {
    background:
        radial-gradient(circle at 85% 20%, rgba(216,167,53,0.10), transparent 28%),
        linear-gradient(180deg, #f7f9fb 0%, #f3f5f8 100%);
    min-height: 100vh;
    padding-bottom: 96px;
    overflow: hidden;
}

.contact-hero {
    padding: 5px 0 5px;
    position: relative;
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(520px, 1.15fr);
    gap: 64px;
    align-items: center;
}

.contact-eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    color: #D8A735;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.contact-hero-content h1 {
    margin: 0;
    color: #0F2F3A;
    font-size: clamp(58px, 6vw, 88px);
    line-height: .98;
    letter-spacing: -0.06em;
}

.contact-title-line {
    display: block;
    width: 62px;
    height: 3px;
    margin: 28px 0 0;
    border-radius: 999px;
    background: #D8A735;
}

.contact-hero-content p {
    margin: 28px 0 0;
    color: #52616B;
    font-size: 18px;
    line-height: 1.75;
    max-width: 540px;
}

.contact-hero-visual {
    min-height: 380px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15,47,58,.10);
    border: 1px solid rgba(255,255,255,.70);
    background: #eef3f7;
    position: relative;
}

.contact-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    object-position: center right;
    display: block;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 0;
    margin-bottom: 24px;
}

.contact-info-card {
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.66);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(15,47,58,.07);
    padding: 30px;
    min-height: 210px;
}

.contact-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(216,167,53,.10);
    color: #D8A735;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.contact-icon svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
}

.contact-info-card h2 {
    margin: 0 0 12px;
    color: #0F2F3A;
    font-size: 21px;
}

.contact-info-card p,
.contact-info-card a {
    color: #52616B;
    font-size: 15px;
    line-height: 1.65;
    text-decoration: none;
}

.contact-info-card a:hover {
    color: #D8A735;
}

.contact-office-location {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
    gap: 28px;
    align-items: stretch;
    margin-top: 0;
}

.office-card {
    background:
        radial-gradient(circle at 20% 15%, rgba(216,167,53,.16), transparent 28%),
        linear-gradient(135deg, #0F2F3A, #102A43);
    color: #fff;
    border-radius: 24px;
    padding: 44px;
    min-height: 360px;
    box-shadow: 0 22px 64px rgba(15,47,58,.14);
    position: relative;
    overflow: hidden;
}

.office-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.10), transparent 28%),
        linear-gradient(120deg, transparent, rgba(255,255,255,.06), transparent);
    pointer-events: none;
}

.office-card h2 {
    margin: 0 0 18px;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.office-card p {
    max-width: 640px;
    color: rgba(255,255,255,.78);
    line-height: 1.75;
}

.office-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 34px;
    margin-top: 38px;
    position: relative;
    z-index: 1;
}

.office-feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.office-feature .contact-icon {
    width: 42px;
    height: 42px;
    margin: 0;
    background: transparent;
    color: #D8A735;
}

.office-feature h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.office-feature p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
}

.map-card {
    border-radius: 24px;
    overflow: hidden;
    min-height: 360px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.66);
    box-shadow: 0 18px 50px rgba(15,47,58,.07);
    position: relative;
}

.map-placeholder {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,.8), rgba(231,237,244,.75)),
        radial-gradient(circle at 70% 55%, rgba(216,167,53,.22), transparent 22%);
}

.map-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15,47,58,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,47,58,.06) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: .55;
}

.map-pin-card {
    position: absolute;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    background: #0F2F3A;
    color: #fff;
    border-radius: 14px;
    padding: 18px 20px;
    width: min(280px, calc(100% - 48px));
    box-shadow: 0 18px 42px rgba(15,47,58,.22);
}

.map-pin-card strong {
    display: block;
    margin-bottom: 8px;
}

.map-pin-card p {
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: 13px;
    line-height: 1.55;
}

.map-pin {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #D8A735;
    color: #fff;
    position: absolute;
    left: 50%;
    top: calc(48% + 104px);
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 34px rgba(216,167,53,.28);
}

.map-directions {
    position: absolute;
    left: 28px;
    bottom: 26px;
    color: #D8A735;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 1080px) {
    .contact-hero-grid,
    .contact-office-location {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .contact-hero {
        padding-top: 32px;
    }

    .contact-hero-content h1 {
        font-size: clamp(48px, 14vw, 66px);
    }

    .contact-info-grid,
    .office-feature-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card,
    .office-card {
        padding: 26px;
    }
}

html[dir="rtl"] .contact-hero-content,
html[dir="rtl"] .contact-info-card,
html[dir="rtl"] .office-card,
html[dir="rtl"] .map-pin-card {
    text-align: right;
}

html[dir="rtl"] .map-directions {
    left: auto;
    right: 28px;
}

/* References Section */
.references-section {
    padding: 60px 0;
    background-color: #fff;
    border-top: 1px solid #eaeaea;
}

.references-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 600;
}

.references-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.reference-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    height: 100px;
    transition: all 0.3s ease;
}

.reference-item:hover {
    transform: scale(1.05);
}

.reference-link {
    cursor: pointer;
    text-decoration: none;
    border-radius: 14px;
}

.reference-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 28px rgba(15, 47, 58, 0.08);
}

.reference-link:focus-visible {
    outline: 3px solid rgba(190, 141, 58, 0.45);
    outline-offset: 6px;
    border-radius: 14px;
}

.reference-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: #555;
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reference-text.text-small {
    font-size: 0.9rem;
    font-weight: 700;
}

.reference-logo { 
    max-width: 100%; 
    max-height: 90px; 
    object-fit: contain; 
}

/* Projects module */
.projects-page {
    padding: 96px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafb 100%);
}

.projects-page-hero {
    max-width: 860px;
    margin: 0 auto 48px;
    text-align: center;
}

.projects-list-grid {
    align-items: stretch;
}

.project-list-card {
    position: relative;
    overflow: hidden;
}

.project-list-image {
    position: relative;
}

.project-list-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: #0f2f3a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 10px 24px rgba(15, 47, 58, 0.12);
}

.project-list-body h2 {
    min-height: 0;
}

.project-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.project-meta-list span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(15, 47, 58, 0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.7);
    color: #244b56;
    font-size: 13px;
    font-weight: 600;
}

.project-content-card {
    display: grid;
    gap: 30px;
}

.project-content-block {
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(15, 47, 58, 0.10);
}

.project-content-block:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.project-content-block h2,
.project-gallery-card h2,
.project-cta-box h2 {
    margin: 0 0 14px;
    color: #0f2f3a;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.18;
}

.project-content-block p,
.project-content-block .detail-content-text {
    color: #49636b;
    font-size: 16px;
    line-height: 1.8;
}

.project-cta-box {
    padding: 30px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(15,47,58,.06), rgba(212,175,55,.12));
    border: 1px solid rgba(212,175,55,.24);
}

.project-cta-box p {
    max-width: 760px;
    color: #49636b;
    line-height: 1.7;
}

.project-media-section {
    padding-top: 0;
}

.project-video-card,
.project-gallery-card {
    background: #fff;
    border: 1px solid rgba(15, 47, 58, 0.08);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 22px 70px rgba(15, 47, 58, 0.08);
    margin-bottom: 28px;
}

.project-local-video {
    width: 100%;
    border-radius: 18px;
    margin-top: 16px;
    background: #0f2f3a;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.project-gallery-grid figure {
    margin: 0;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    background: #edf3f4;
}

.project-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

[dir="rtl"] .project-list-badge {
    left: auto;
    right: 18px;
}

@media (max-width: 900px) {
    .projects-page {
        padding: 72px 0;
    }

    .project-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .project-gallery-grid {
        grid-template-columns: 1fr;
    }

    .project-cta-box,
    .project-video-card,
    .project-gallery-card {
        padding: 20px;
        border-radius: 18px;
    }
}
