
/* Dr. Ahmad Atallah - Website Design */

:root {
    --navy: #102b46;
    --gold: #b89445;
    --white: #ffffff;
    --light: #f7f8fa;
    --text: #263747;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background: var(--light);
    color: var(--text);
}

.site-header {
    background: var(--navy);
    color: var(--white);
    padding: 16px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    font-size: 23px;
    font-weight: bold;
    color: var(--white);
}

.navigation {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.navigation a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
}

.navigation a:hover {
    color: var(--gold);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    min-height: 560px;
    background: var(--white);
}

.hero-content {
    min-width: 0;
    padding: 70px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    color: var(--navy);
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.15;
    margin: 18px 0;
}

.hero h2 {
    color: var(--gold);
    font-size: 22px;
    font-weight: normal;
}

.hero p {
    font-size: 18px;
    line-height: 1.8;
}
.hero-image {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 30px;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-image img {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    object-fit: contain;
}



.button {
    display: inline-block;
    align-self: flex-start;
    margin-top: 20px;
    padding: 15px 26px;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    border-radius: 4px;
}

.button:hover {
    background: var(--navy);
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.hero-buttons .button {
    margin-top: 0;
    border: 1px solid var(--gold);
    text-align: center;
}

.hero-buttons .button-outline {
    background: transparent;
    color: var(--gold);
}

.hero-buttons .button-outline:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}
.experience {
    padding: 55px 7%;
    text-align: center;
    background: var(--navy);
    color: var(--white);
}

.experience h2 {
    color: var(--gold);
}

@media (max-width: 800px) {
    .site-header {
        flex-direction: column;
        text-align: center;
    }

    .navigation {
        justify-content: center;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 55px 7%;
    }

    .hero-image {
        min-height: 350px;
    }

    .hero-image img {
        max-height: 450px;
    }
}

/* Language Switcher */

.language-switcher {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
}

.language-switcher button {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 3px;
    padding: 7px 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
}

.language-switcher button:hover,
.language-switcher button.active {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}

/* Arabic Language Support */

html[dir="rtl"] .hero-content {
    text-align: right;
    padding-inline: 8%;
    box-sizing: border-box;
    min-width: 0;
}

html[dir="rtl"] .hero-content .button {
    align-self: flex-start;
}

html[lang="ar"] body {
    font-family: Tahoma, Arial, sans-serif;
}

html[lang="ar"] .eyebrow {
    letter-spacing: 0;
}

@media (max-width: 800px) {
    .language-switcher {
        justify-content: center;
    }
}

/* ABOUT PAGE */

.about-page {
    background: #f7f8fa;
    padding: 70px 7%;
    min-height: 80vh;
}

.about-container {
    max-width: 1050px;
    margin: 0 auto;
    background: #ffffff;
    padding: 55px 65px;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.about-container h1 {
    color: #b89445;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about-container h2 {
    color: #102b46;
    font-size: 38px;
    margin-bottom: 15px;
}

.about-subtitle {
    color: #b89445;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.about-container h3 {
    color: #102b46;
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 18px;
    border-bottom: 2px solid #b89445;
    padding-bottom: 10px;
}

.about-container p,
.about-container li {
    font-size: 17px;
    line-height: 1.9;
}

.about-container li {
    margin-bottom: 8px;
}

html[dir="rtl"] .about-container {
    text-align: right;
}

html[lang="ar"] .about-container h1 {
    letter-spacing: 0;
}

@media (max-width: 800px) {
    .about-page {
        padding: 30px 4%;
    }

    .about-container {
        padding: 30px 22px;
    }

    .about-container h2 {
        font-size: 30px;
    }
}

/* =====================================
   SERVICES PAGE
===================================== */

.services-page {
    padding: 70px 25px 100px;
    background-color: #f7f9fc;
    min-height: 80vh;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-container > h1 {
    color: #102b46;
    font-size: 38px;
    text-align: center;
    margin-bottom: 35px;
}

/* Introduction */

.services-intro {
    max-width: 950px;
    margin: 0 auto 45px;
    text-align: center;
    line-height: 1.9;
    color: #455468;
    font-size: 16px;
}

/* Section navigation */

.services-navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 65px;
}

.services-navigation a {
    padding: 12px 22px;
    border: 1px solid #b89445;
    border-radius: 8px;
    color: #102b46;
    background: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.services-navigation a:hover {
    background: #102b46;
    color: white;
}

/* Main service sections */

.services-section {
    margin-bottom: 75px;
    scroll-margin-top: 110px;
}

.services-section-header {
    text-align: center;
    margin-bottom: 35px;
}

.services-section-header h2 {
    color: #102b46;
    font-size: 28px;
    margin-bottom: 12px;
}

.services-section-header p {
    color: #667487;
    line-height: 1.8;
}

.services-divider {
    width: 90px;
    height: 3px;
    background-color: #b89445;
    margin: 18px auto;
    border-radius: 3px;
}

/* Service cards */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.service-card {
    background: #ffffff;
    padding: 30px 25px;
    border: 1px solid #e2e7ed;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(16, 43, 70, 0.04);
    transition: transform 0.3s, border-color 0.3s,
                box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #b89445;
    box-shadow: 0 10px 25px rgba(16, 43, 70, 0.10);
}

.service-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 12px;
    background: #f8f2e5;
    color: #b89445;
}

.service-card-icon svg {
    width: 29px;
    height: 29px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    color: #102b46;
    font-size: 19px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.service-card p {
    color: #526174;
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}

/* Arabic */

html[dir="rtl"] .service-card {
    text-align: right;
}

html[dir="rtl"] .services-intro,
html[dir="rtl"] .services-section-header {
    direction: rtl;
}

/* Tablet */

@media (max-width: 950px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */

@media (max-width: 600px) {
    .services-page {
        padding: 45px 18px 65px;
    }

    .services-container > h1 {
        font-size: 30px;
    }

    .services-section-header h2 {
        font-size: 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 25px 20px;
    }

    .services-navigation a {
        font-size: 14px;
        padding: 10px 15px;
    }
}

/* LEGAL HUB DROPDOWN */

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    padding: 10px 0;
    background: #102b46;
    border: 1px solid #b89445;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
    background: rgba(184, 148, 69, 0.2);
    color: #d9b45f;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.is-open .dropdown-arrow {
    transform: rotate(180deg);
}

[dir="rtl"] .nav-dropdown-menu {
    left: auto;
    right: 0;
}

/* =====================================
   NEWS & UPDATES PAGE
===================================== */

.news-page {
    min-height: 70vh;
    padding: 90px 24px;
    background: #f5f7fa;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
}

.news-page-header {
    text-align: center;
    margin-bottom: 55px;
}

.news-page-header h1 {
    color: #102b46;
    font-size: clamp(30px, 4vw, 42px);
    margin-bottom: 18px;
}

.news-page-header .services-divider {
    margin: 0 auto 24px;
}

.news-page-header p {
    max-width: 850px;
    margin: 0 auto;
    color: #536b83;
    font-size: 17px;
    line-height: 1.8;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.news-card {
    background: #ffffff;
    border: 1px solid #e1e6ec;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 5px 18px rgba(16, 43, 70, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(16, 43, 70, 0.10);
}

.news-card-category {
    color: #b89445;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card h2 {
    color: #102b46;
    font-size: 21px;
    line-height: 1.45;
    margin: 15px 0;
}

.news-card p {
    color: #536b83;
    font-size: 15px;
    line-height: 1.8;
}

.news-card-date {
    display: block;
    color: #73849a;
    font-size: 13px;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .news-page {
        padding: 55px 18px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   LEGAL RESOURCES PAGE
========================================== */

.resources-page {
    padding: 60px 24px 50px;
    background: #f5f7fa;
    min-height: 70vh;
}

.resources-container {
    max-width: 1200px;
    margin: 0 auto;
}

.resources-page-header {
    text-align: center;
    margin-bottom: 35px;
}

.resources-page-header h1 {
    color: var(--navy);
    font-size: clamp(30px, 4vw, 42px);
    margin: 0 0 18px;
}

.resources-page-header .services-divider {
    margin: 0 auto 24px;
}

.resources-page-header p {
    color: #53677f;
    font-size: 17px;
    line-height: 1.9;
    max-width: 850px;
    margin: 0 auto;
}

.resources-country-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 0 0 35px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e0e5ec;
    border-radius: 12px;
}

.resources-filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.resources-filter-group label {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
}

#resources-region-select,
#resources-country-select {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 16px;
    color: var(--navy);
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#resources-region-select:hover,
#resources-country-select:hover {
    border-color: var(--gold);
}

#resources-region-select:focus,
#resources-country-select:focus {
    outline: 2px solid #806326;
    outline-offset: 2px;
    border-color: var(--gold);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

.resources-section-title {
    grid-column: 1 / -1;
    color: var(--navy);
    font-size: 28px;
    font-weight: 700;
    text-align: start;
    margin: 30px 0 5px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gold);
}

.resources-section-title:first-child {
    margin-top: 0;
}

.resource-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e0e6ee;
    border-top: 3px solid var(--gold);
    border-radius: 8px;
    padding: 26px;
    box-shadow: 0 4px 15px rgba(16, 43, 70, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(16, 43, 70, 0.08);
}

.resource-card h3 {
    color: var(--navy);
    font-size: 20px;
    line-height: 1.5;
    margin: 0 0 14px;
    overflow-wrap: anywhere;
}

.resource-card p {
    color: #53677f;
    line-height: 1.8;
    margin: 0 0 20px;
    overflow-wrap: anywhere;
}

.resource-card a {
    color: #806326;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    align-self: flex-start;
}

.resource-card a:hover {
    text-decoration: underline;
}

.resource-card a:focus-visible {
    outline: 2px solid #806326;
    outline-offset: 4px;
}

.resources-note {
    margin: 32px 0 0;
    padding-top: 18px;
    border-top: 1px solid #dce2e9;
    color: #53677f;
    font-size: 14px;
    line-height: 1.9;
    text-align: start;
}

.resources-empty-message {
    grid-column: 1 / -1;
    width: 100%;
    margin: 20px 0 40px;
    padding: 32px 24px;
    background: #ffffff;
    border: 1px solid #e0e5ec;
    border-inline-start: 4px solid var(--gold);
    border-radius: 10px;
    color: var(--navy);
    font-size: 17px;
    line-height: 1.8;
    text-align: center;
}

html[dir="rtl"] .resources-country-navigation,
html[dir="rtl"] #resources-region-select,
html[dir="rtl"] #resources-country-select {
    direction: rtl;
    text-align: right;
}

main:has(> .resources-page) + .site-footer {
    margin-top: 0;
}

@media (max-width: 900px) {
    .resources-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .resources-country-navigation {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 16px;
    }

    .resources-empty-message {
        padding: 24px 16px;
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .resources-page {
        padding: 35px 18px 40px;
    }

    .resources-page-header {
        margin-bottom: 25px;
    }

    .resources-page-header p {
        font-size: 15px;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .resources-section-title {
        font-size: 23px;
    }

    .resource-card {
        padding: 22px;
    }

    .resource-card h3 {
        font-size: 19px;
    }

    #resources-region-select,
    #resources-country-select {
        font-size: 15px;
    }

    .resources-note {
        font-size: 13px;
    }
}


/* Arabic homepage title - mobile only */
@media (max-width: 700px) {
    html[dir="rtl"] .hero h1 {
        font-size: 28px;
        line-height: 1.3;
    }
}

/* Professional Values Section */

.values-section {
    margin-top: 55px;
    padding-top: 35px;
    border-top: 1px solid #e5e7eb;
}

.values-section .values-title {
    text-align: center;
    color: var(--navy);
    font-size: 28px;
    margin-bottom: 35px;
}

.values-title::after {
    content: "";
    display: block;
    width: 65px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.value-card {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px 22px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(16, 44, 67, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(16, 44, 67, 0.12);
    border-color: var(--gold);
}

.value-card h4 {
    color: var(--navy);
    font-size: 20px;
    margin: 18px 0 12px;
}

.value-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #52606d;
    text-align: center;
    margin: 0;
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--navy);
    color: var(--gold);
    border-radius: 12px;
}

@media (max-width: 900px) {
    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .values-section .values-title {
        font-size: 24px;
    }
}
/* Professional Values Icons */

.value-icon::before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    background-color: var(--gold);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.value-icon[data-icon="trust"]::before {
  mask-image: url("images/icons/handshake.svg");
}

.value-icon[data-icon="transparency"]::before {
    mask-image: url("images/icons/file-check.svg");
}

.value-icon[data-icon="quality"]::before {
    mask-image: url("images/icons/award.svg");
}

.value-icon[data-icon="confidentiality"]::before {
    mask-image: url("images/icons/lock-keyhole.svg");
}

.value-icon[data-icon="knowledge"]::before {
    mask-image: url("images/icons/book-open.svg");
}

.value-icon[data-icon="international"]::before {
    mask-image: url("images/icons/globe.svg");
}
.values-section .values-title {
    border-bottom: none;
    padding-bottom: 0;
}

/* ==============================
   OUR TEAM SECTION
============================== */

.team-section {
    margin-top: 70px;
    padding-top: 45px;
    border-top: 1px solid #e5e7eb;
    scroll-margin-top: 100px;
}

.team-section .team-title {
    text-align: center;
    color: var(--navy);
    font-size: 30px;
    margin-bottom: 35px;
    border-bottom: none;
    padding-bottom: 0;
}

.team-title::after {
    content: "";
    display: block;
    width: 65px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

.team-card {
    background: #ffffff;
    border: 1px solid #e2e5e9;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.09);
}

.team-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 25%;
    background: #f3f4f6;
}

.team-card h4 {
    color: var(--navy);
    font-size: 21px;
    line-height: 1.4;
    margin: 22px 15px 8px;
}

.team-role {
    display: block;
    color: var(--gold);
    font-size: 15px;
    font-weight: 600;
    margin: 0 15px 15px;
}

.team-card p {
    font-size: 14px;
    line-height: 1.85;
    color: #505965;
    margin: 0 20px 18px;
    text-align: center;
}

.team-card .team-languages {
    width: calc(100% - 40px);
    box-sizing: border-box;
    margin: auto 20px 0;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    color: var(--navy);
}

/* Tablet */

@media (max-width: 1000px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .team-section .team-title {
        font-size: 26px;
    }

    .team-card {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
        box-sizing: border-box;
    }
}
/* Team Layout: 3 - 3 */

@media (min-width: 1001px) {

    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .team-grid > .team-card {
        grid-column: auto;
    }

}
/* ========================================
   INTERNATIONAL PROFESSIONAL NETWORK
======================================== */

.international-network {
    margin-top: 65px;
    margin-bottom: 40px;
}

.international-network h3 {
    text-align: center;
    color: #14263e;
    font-size: 28px;
    margin-bottom: 25px;
    border-bottom: none;
}

.international-network h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #b89b5e;
    margin: 15px auto 0;
}

.network-intro {
    max-width: 950px;
    margin: 0 auto 35px;
    text-align: center;
    line-height: 1.9;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

.network-card {
    background: #14263e;
    border: 1px solid #b89b5e;
    border-radius: 12px;
    padding: 30px 25px;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.network-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.network-card h4 {
    color: #d4b477;
    font-size: 21px;
    text-align: center;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 180, 119, 0.45);
}

.network-country {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 60px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-sizing: border-box;
}

.network-country:last-child {
    border-bottom: none;
}

.network-country img {
    width: 42px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 3px;
}

.network-country span {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

/* Responsive Design */

@media (max-width: 900px) {
    .network-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .network-card:last-child {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 450px;
        justify-self: center;
        box-sizing: border-box;
    }
}

@media (max-width: 600px) {
    .network-grid {
        grid-template-columns: 1fr;
    }

    .network-card:last-child {
        max-width: none;
    }

    .international-network h3 {
        font-size: 24px;
    }

    .network-card {
        padding: 25px 20px;
    }
}

/* Services Category Titles */

.services-category {
    margin-top: 50px;
    margin-bottom: 60px;
}

.services-category-title {
    text-align: center;
    color: #14263e;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 35px;
    border-bottom: none;
}

.services-category-title::after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    background-color: #b6984e;
    margin: 16px auto 0;
    border-radius: 2px;
}
/* Center remaining service cards */

/* Desktop */
@media (min-width: 951px) {
    .services-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .services-grid > .service-card {
        grid-column: span 2;
    }

    .services-grid > .service-card:last-child:nth-child(3n+1) {
        grid-column: 3 / span 2;
    }

    .services-grid > .service-card:nth-last-child(2):nth-child(3n+1) {
        grid-column: 2 / span 2;
    }
}

/* Tablet */
@media (min-width: 601px) and (max-width: 950px) {
    .services-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .services-grid > .service-card {
        grid-column: span 2;
    }

    .services-grid > .service-card:last-child:nth-child(odd) {
        grid-column: 2 / span 2;
    }
}

/* Services - Consultation Call to Action */

.services-cta {
    background-color: #102b46;
    border-radius: 12px;
    padding: 55px 35px;
    margin-top: 65px;
    text-align: center;
    color: #ffffff;
}

.services-cta h2 {
    color: #ffffff;
    font-size: 30px;
    margin: 0 0 18px;
}

.services-cta-divider {
    width: 70px;
    height: 3px;
    background-color: #b89445;
    margin: 0 auto 25px;
    border-radius: 3px;
}

.services-cta p {
    max-width: 800px;
    margin: 0 auto 30px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.9;
}

.services-cta-button {
    display: inline-block;
    background-color: #b89445;
    color: #ffffff;
    padding: 14px 35px;
    border: 1px solid #b89445;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.services-cta-button:hover {
    background-color: transparent;
    color: #b89445;
    transform: translateY(-3px);
}

/* Consultation section - Mobile */

@media (max-width: 600px) {
    .services-cta {
        padding: 35px 20px;
        margin-top: 40px;
    }

    .services-cta h2 {
        font-size: 24px;
    }

    .services-cta p {
        font-size: 15px;
    }
}
/* ========================================
   CONTACT PAGE
======================================== */

.contact-page {
    background-color: #f4f6f9;
    padding: 90px 25px 40px;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-container > h1 {
    font-size: 40px;
    color: #102b46;
    text-align: center;
    margin-bottom: 30px;
}

.contact-intro {
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center;
    font-size: 17px;
    line-height: 1.9;
    color: #526174;
}

/* Contact form */

.contact-form-wrapper {
    background-color: #ffffff;
    border: 1px solid #e2e7ed;
    border-top: 4px solid #b89445;
    border-radius: 12px;
    padding: 45px;
    box-shadow: 0 5px 25px rgba(16, 43, 70, 0.06);
}

.contact-required {
    font-size: 14px;
    color: #667487;
    margin-bottom: 25px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.contact-full-width {
    grid-column: 1 / -1;
}

.contact-field > label {
    color: #102b46;
    font-size: 16px;
    font-weight: 600;
}

.contact-field input:not([type="file"]),
.contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid #d6dde5;
    border-radius: 6px;
    background-color: #fafbfc;
    color: #102b46;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #b89445;
    box-shadow: 0 0 0 3px rgba(184, 148, 69, 0.12);
}

.contact-field textarea {
    min-height: 170px;
    resize: vertical;
}

/* File attachments */

.contact-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px 20px;
    border: 2px dashed #b89445;
    border-radius: 8px;
    background-color: #faf8f2;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-upload:hover {
    background-color: #f3eddf;
}

.contact-upload svg {
    width: 36px;
    height: 36px;
    color: #b89445;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-upload span {
    color: #102b46;
    font-size: 17px;
    font-weight: 600;
}

.contact-upload small {
    color: #667487;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
}

.contact-field input[type="file"] {
    width: 100%;
    font-family: inherit;
    font-size: 14px;
    color: #526174;
}

.contact-field input[type="file"]::file-selector-button {
    background-color: #102b46;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 9px 14px;
    margin-inline-end: 10px;
    font-family: inherit;
    cursor: pointer;
}

.contact-confidentiality {
    color: #667487;
    font-size: 13px;
    line-height: 1.8;
    margin: 5px 0 0;
}

/* Privacy consent */

.contact-privacy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 30px 0;
    color: #526174;
    font-size: 14px;
    line-height: 1.8;
    cursor: pointer;
}

.contact-privacy input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 4px;
    accent-color: #b89445;
}

/* Submit button */

.contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 220px;
    margin: 0 auto;
    padding: 15px 30px;
    background-color: #b89445;
    color: #102b46;
    border: 1px solid #b89445;
    border-radius: 6px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.contact-submit svg {
    width: 21px;
    height: 21px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-submit:not(:disabled):hover {
    background-color: #102b46;
    color: #ffffff;
    border-color: #102b46;
}

.contact-submit:disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

/* Arabic direction */

html[dir="rtl"] .contact-form-wrapper {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .contact-submit svg {
    transform: scaleX(-1);
}

/* Tablet */

@media (max-width: 950px) {
    .contact-form-wrapper {
        padding: 35px;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .contact-page {
        padding: 45px 18px 30px;
    }

    .contact-container > h1 {
        font-size: 30px;
    }

    .contact-intro {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .contact-form-wrapper {
        padding: 25px 18px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-submit {
        width: 100%;
        min-width: 0;
    }
}
/* ========================================
   CONTACT FORM - ATTACHMENTS
======================================== */

#contact-attachments[hidden] {
    display: none;
}

.contact-upload {
    cursor: pointer;
}

.contact-file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-file-list:not(:empty) {
    margin-top: 15px;
}

.contact-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 15px;
    background-color: #f5f7fa;
    border: 1px solid #e2e7ed;
    border-radius: 6px;
}

.contact-file-item span {
    color: #102b46;
    font-size: 14px;
    overflow-wrap: anywhere;
    min-width: 0;
}

.contact-file-remove {
    background-color: transparent;
    color: #102b46;
    border: 1px solid #b89445;
    border-radius: 5px;
    padding: 6px 12px;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.3s, color 0.3s;
}

.contact-file-remove:hover {
    background-color: #102b46;
    color: #ffffff;
}

.contact-file-remove:focus-visible {
    outline: 2px solid #b89445;
    outline-offset: 3px;
}
/* Contact navigation link */

.navigation .nav-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.navigation .nav-contact svg {
    width: 18px;
    height: 18px;
    color: #b89445;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.navigation .nav-contact:hover svg {
    transform: translateY(-2px);
}
/* =================================
   SITE FOOTER
================================= */

.site-footer {
    background: #10283e;
    color: #ffffff;
    border-top: 3px solid #b89445;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}

.footer-logo {
    width: 250px;
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.footer-brand h3,
.footer-column h3 {
    color: #d4b477;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 18px;
}

.footer-brand p {
    color: #d2d9df;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-column > a {
    display: block;
    color: #e0e5ea;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.25s ease;
}

.footer-column > a:hover {
    color: #d4b477;
}

.footer-location {
    margin-bottom: 22px;
}

.footer-location h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 10px;
}

.footer-phone-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #e0e5ea;
}

.footer-phone-row span {
    white-space: nowrap;
}

.footer-phone-icon,
.footer-whatsapp-icon,
.footer-social-icon {
    display: inline-block;
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
}

.footer-phone-icon {
    background-color: #d4b477;
    mask-image: url("images/icons/phone.svg");
    -webkit-mask-image: url("images/icons/phone.svg");
}

.footer-whatsapp-icon {
    background-color: #25D366;
    mask-image: url("images/icons/whatsapp.svg");
    -webkit-mask-image: url("images/icons/whatsapp.svg");
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
}

.footer-social-icon {
    width: 23px;
    height: 23px;
    background-color: #d4b477;
}

.footer-linkedin {
    mask-image: url("images/icons/linkedin.svg");
    -webkit-mask-image: url("images/icons/linkedin.svg");
}

.footer-facebook {
    mask-image: url("images/icons/facebook.svg");
    -webkit-mask-image: url("images/icons/facebook.svg");
}
.footer-instagram {
    mask-image: url("images/icons/instagram.svg");
    -webkit-mask-image: url("images/icons/instagram.svg");
}

.footer-phone-icon,
.footer-whatsapp-icon {
    transition: transform 0.25s ease;
}

.footer-phone-icon:hover,
.footer-whatsapp-icon:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 180, 119, 0.4);
    margin-top: 35px;
    padding-top: 22px;
    text-align: center;
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #d2d9df;
}

.footer-separator {
    color: #d4b477;
}

.footer-copyright {
    color: #b8c3ce;
    font-size: 12px;
    line-height: 1.7;
    margin: 15px 0 0;
}

/* Responsive Footer */

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 35px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand,
    .footer-column {
        text-align: center;
    }

    .footer-social,
    .footer-phone-row {
        justify-content: center;
    }
}
.footer-phone-row {
    direction: ltr;
    justify-content: flex-start;
}

.footer-contact:dir(rtl) .footer-phone-row {
    justify-content: flex-end;
}

@media (max-width: 600px) {
    .footer-phone-row,
    .footer-contact:dir(rtl) .footer-phone-row {
        justify-content: center;
    }
}
/* Footer Visual Refinements */



.footer-brand h3,
.footer-column h3 {
    font-size: 19px;
}

.footer-brand p,
.footer-column > a,
.footer-phone-row {
    font-size: 15px;
}

.footer-location h4 {
    font-size: 16px;
}

.footer-legal {
    font-size: 14px;
}

.footer-copyright {
    font-size: 13px;
}
/* =================================
   CONTACT OFFICES
================================= */

.contact-offices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin: 35px 0 45px;
}

.contact-office-card {
    background: #10283e;
    color: #ffffff;
    border-top: 3px solid #b89445;
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.contact-office-card:hover {
    transform: translateY(-4px);
}

.contact-office-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: #d4b477;
    margin-bottom: 15px;
    mask: url("images/icons/map-pin.svg") center / contain no-repeat;
    -webkit-mask: url("images/icons/map-pin.svg") center / contain no-repeat;
}

.contact-office-card h2 {
    color: #d4b477;
    font-size: 23px;
    margin: 0 0 18px;
}

.contact-office-address {
    color: #e0e5ea;
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 22px;
}

.contact-office-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 17px;
    margin-top: auto;
}

.contact-office-phone span {
    white-space: nowrap;
}

.contact-office-phone .footer-phone-icon,
.contact-office-phone .footer-whatsapp-icon {
    width: 24px;
    height: 24px;
}

@media (max-width: 700px) {
    .contact-offices {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .contact-office-card {
        padding: 25px 20px;
    }

    .contact-office-card h2 {
        font-size: 21px;
    }
}
/* =========================================
   LEGAL NOTICE PAGE
========================================= */

.about-container:has(.legal-content) > h1 {
    font-size: 32px;
    color: #10283e;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 45px;
}

.about-container:has(.legal-content) > h1::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background-color: #b89445;
    margin: 18px auto 0;
}

.legal-content {
    font-size: 17px;
    line-height: 1.9;
    text-align: start;
}

.legal-content h2 {
    font-size: 25px;
    color: #10283e;
    margin: 38px 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #b89445;
    text-align: start;
}

.legal-content h3 {
    font-size: 20px;
    color: #10283e;
    margin: 25px 0 15px;
    padding-bottom: 0;
    border-bottom: none;
    text-align: start;
}

.legal-content p {
    margin-bottom: 18px;
    line-height: 1.9;
}

.legal-content ul {
    padding-inline-start: 25px;
    margin-bottom: 25px;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.legal-content a {
    color: #10283e;
    text-decoration: none;
}

.legal-content a:hover {
    color: #b89445;
    text-decoration: underline;
}

.legal-content .legal-last-updated {
    margin-top: 35px;
    font-size: 15px;
    font-style: italic;
}

.legal-content .legal-copyright {
    font-size: 14px;
    text-align: center;
    color: #66717c;
    border-top: 1px solid #ddd;
    padding-top: 25px;
    margin-top: 30px;
}

@media (max-width: 700px) {
    .about-container:has(.legal-content) > h1 {
        font-size: 26px;
    }

    .legal-content {
        font-size: 16px;
    }

    .legal-content h2 {
        font-size: 21px;
    }

    .legal-content h3 {
        font-size: 18px;
    }
}
/* =========================================
   FOOTER LEGAL LINKS
========================================= */

.footer-legal a,
.footer-legal a:visited {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
    color: #b89445;
    text-decoration: underline;
}
/* Contact Form - Privacy Notice */

.contact-privacy-notice {
    background-color: #f5f7f9;
    border: 1px solid #e1e5e9;
    border-inline-start: 3px solid #b89445;
    border-radius: 5px;
    padding: 18px 20px;
    margin-top: 25px;
    margin-bottom: 20px;
}

.contact-privacy-notice p {
    color: #10283e;
    font-size: 14px;
    line-height: 1.9;
    text-align: start;
    margin: 0;
}

.contact-privacy a,
.contact-privacy a:visited {
    color: #10283e;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-privacy a:hover,
.contact-privacy a:focus-visible {
    color: #b89445;
}

@media (max-width: 700px) {
    .contact-privacy-notice {
        padding: 15px;
    }

    .contact-privacy-notice p {
        font-size: 13px;
    }
}
.brand-logo {
    width: 250px;
    max-width: 100%;
    height: auto;
    display: block;
}
/* Mobile Navigation Menu */

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 800px) {

    .site-header:has(.mobile-menu-toggle) {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 16px 5%;
        gap: 15px;
    }

    .site-header:has(.mobile-menu-toggle) .brand {
        order: 1;
    }

    .site-header:has(.mobile-menu-toggle) .brand-logo {
        width: 210px;
        max-width: 100%;
        height: auto;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        padding: 8px;
        background: transparent;
        border: none;
        cursor: pointer;
        order: 2;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 27px;
        height: 2px;
        background-color: #d4b477;
        border-radius: 2px;
    }

    .site-header:has(.mobile-menu-toggle) .navigation {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 15px 0;
        order: 4;
    }

    .site-header:has(.mobile-menu-toggle) .navigation.mobile-open {
        display: flex;
    }

    .site-header:has(.mobile-menu-toggle) > :not(.brand):not(.mobile-menu-toggle):not(.navigation) {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}
/* Mobile Menu Animation */

.mobile-menu-toggle span {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
/* Mobile Dropdown Refinement */

@media (max-width: 800px) {

    .navigation.mobile-open .nav-dropdown {
        width: 100%;
        text-align: center;
    }

    .navigation.mobile-open .nav-dropdown-menu {
        position: static;
        transform: none;
        width: 90%;
        min-width: 0;
        margin: 12px auto 0;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(212, 180, 119, 0.35);
        border-radius: 5px;
    }

    .navigation.mobile-open .nav-dropdown-menu a {
        display: block;
        padding: 12px 15px;
        text-align: center;
    }
}
@media (max-width: 800px) {

    .navigation.mobile-open .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .navigation.mobile-open .nav-dropdown-toggle {
        justify-content: center;
        white-space: nowrap;
    }
}

/* =========================================
   HOME PAGE - INSTITUTIONAL DESIGN
========================================= */

.hero#home {
    min-height: 500px;
}
.hero#home .hero-content {
    padding-block: 42px;
}
.hero#home .eyebrow {
    font-size: 16px;
    line-height: 1.6;
    color: #806326;
}
.hero#home h1 { margin: 14px 0; }
.hero#home h2 { margin: 0 0 14px; color: #806326; }
.hero#home p {
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 14px;
}
.hero#home .hero-buttons { margin-top: 12px; }
.hero#home .button:not(.button-outline),
.home-expertise .button,
.home-contact .button {
    color: var(--navy);
    font-weight: 600;
}
.hero#home .button-outline { color: #806326; }
.hero#home .button:hover,
.home-expertise .button:hover,
.home-contact .button:hover { color: var(--white); }

.hero#home + .experience {
    padding: 42px 7%;
}
.hero#home + .experience h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin: 0 0 18px;
}
.hero#home + .experience p {
    max-width: 900px;
    margin: 12px auto 0;
    font-size: 17px;
    line-height: 1.8;
}

.home-expertise {
    padding: 60px 7%;
    background: var(--light);
    text-align: center;
}
.home-section-title {
    color: var(--navy);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.4;
    margin: 0 0 22px;
}
.home-section-title::after {
    content: "";
    display: block;
    width: 65px;
    height: 3px;
    background: var(--gold);
    margin: 16px auto 0;
}
.home-section-intro,
.home-contact p {
    max-width: 850px;
    margin: 0 auto 32px;
    font-size: 17px;
    line-height: 1.9;
    color: #526174;
}
.home-expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.home-expertise-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 26px 20px;
    background: var(--white);
    border: 1px solid #e2e7ed;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(16, 43, 70, 0.04);
    transition: border-color 0.25s, box-shadow 0.25s;
}
.home-expertise-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 22px rgba(16, 43, 70, 0.10);
}
.home-expertise-card h3 {
    color: var(--navy);
    font-size: 19px;
    line-height: 1.6;
    margin: 16px 0 0;
    overflow-wrap: anywhere;
}
.home-expertise-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    background: var(--navy);
    border-radius: 12px;
}
.home-expertise-icon::before {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    background: var(--gold);
    -webkit-mask: var(--home-icon) center / contain no-repeat;
    mask: var(--home-icon) center / contain no-repeat;
}

.home-expertise-icon[data-icon="representation"] {
    --home-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v18M5%2021h14M3%207h18M6%207l-4%208h8L6%207Zm12%200-4%208h8l-4-8Z%22%2F%3E%3C%2Fsvg%3E");
}

.home-expertise-icon[data-icon="corporate"] {
    --home-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%223%22%20width%3D%2214%22%20height%3D%2218%22%20rx%3D%221%22%2F%3E%3Cpath%20d%3D%22M9%2021v-5h6v5M9%207h1m4%200h1M9%2011h1m4%200h1%22%2F%3E%3C%2Fsvg%3E");
}

.home-expertise-icon[data-icon="investment"] {
    --home-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%227%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%207V4h8v3M3%2012h18M10%2012v3h4v-3%22%2F%3E%3C%2Fsvg%3E");
}

.home-expertise-icon[data-icon="mobility"] {
    --home-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%2212%22%20rx%3D%224%22%20ry%3D%229%22%2F%3E%3Cpath%20d%3D%22M3%2012h18M5%207h14M5%2017h14%22%2F%3E%3C%2Fsvg%3E");
}

.home-expertise-icon[data-icon="disputes"] {
    --home-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%208%204-3%205%202%205-2%204%203-3%208-5%204-6-4-4-8Z%22%2F%3E%3Cpath%20d%3D%22m7%205%205%202-4%205%202%202%204-3%204%205M7%2016l3-3m0%205%203-3%22%2F%3E%3C%2Fsvg%3E");
}

.home-expertise-icon[data-icon="governance"] {
    --home-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%204%206v6c0%205%204%208%208%2010%204-2%208-5%208-10V6l-8-3Z%22%2F%3E%3Cpath%20d%3D%22m8%2012%203%203%205-6%22%2F%3E%3C%2Fsvg%3E");
}

.home-expertise-action { margin-top: 28px; }
.home-expertise-action .button,
.home-contact .button { margin-top: 0; }
.home-contact {
    background: var(--white);
    text-align: center;
    padding: 48px 7% 55px;
    border-top: 1px solid #e2e7ed;
}
main:has(> .home-contact) + .site-footer { margin-top: 0; }
.hero#home .button:focus-visible,
.home-expertise .button:focus-visible,
.home-contact .button:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 4px;
}
@media (max-width: 950px) {
    .home-expertise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 800px) {
    .hero#home { min-height: 0; }
    .hero#home .hero-content { padding-block: 35px 20px; }
    .hero#home .hero-image { min-height: 0; padding: 20px 7% 30px; }
    .hero#home .hero-image img { max-width: 360px; }
}
@media (max-width: 600px) {
    .hero#home .eyebrow { font-size: 14px; }
    .hero#home p { font-size: 16px; }
    .hero#home .hero-buttons { gap: 12px; }
    .hero#home .hero-buttons .button { width: 100%; }
    .hero#home + .experience { padding: 32px 6%; }
    .home-expertise, .home-contact { padding: 38px 5%; }
    .home-expertise-grid { grid-template-columns: 1fr; gap: 16px; }
    .home-expertise-card { min-height: 145px; padding: 22px 16px; }
    .home-expertise-card h3 { font-size: 18px; }
    .home-section-intro, .home-contact p { font-size: 16px; }
}
/* =====================================
   NEWS AND LEGAL RESEARCH
===================================== */

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 35px auto 45px;
    flex-wrap: wrap;
}

.news-tab {
    flex: 1;
    max-width: 340px;
    min-height: 55px;
    padding: 15px 25px;
    background: #ffffff;
    color: #102b46;
    border: 1px solid #b89445;
    border-radius: 4px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.news-tab:hover {
    background: #f2eee5;
}

.news-tab.active {
    background: #102b46;
    color: #ffffff;
    border-color: #102b46;
}

.news-tab:focus-visible,
.publication-link:focus-visible {
    outline: 2px solid #b89445;
    outline-offset: 4px;
}

#news-content.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

.publication-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e1e5ea;
    border-top: 3px solid #b89445;
    border-radius: 5px;
    padding: 28px;
    text-align: start;
    box-shadow: 0 4px 15px rgba(16, 43, 70, 0.05);
}

.publication-date {
    color: #806326;
    font-size: 14px;
    margin-bottom: 15px;
}

.publication-card h2 {
    color: #102b46;
    font-size: 21px;
    line-height: 1.5;
    margin: 0 0 15px;
}

.publication-card p {
    color: #263747;
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 20px;
}

.publication-link {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    color: #806326;
    font-weight: 600;
    text-decoration: none;
}

.publication-link:hover {
    text-decoration: underline;
}

.news-empty {
    grid-column: 1 / -1;
    padding: 45px 20px;
    text-align: center;
    color: #526174;
    background: #ffffff;
    border: 1px solid #e1e5ea;
    border-radius: 5px;
    line-height: 1.8;
}

@media (max-width: 950px) {

    #news-content.news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .news-tabs {
        flex-direction: column;
        gap: 10px;
        margin: 25px auto 30px;
    }

    .news-tab {
        width: 100%;
        max-width: none;
        font-size: 16px;
    }

    #news-content.news-grid {
        grid-template-columns: 1fr;
    }

    .publication-card {
        padding: 22px;
    }

}

/* =========================================
   INDIVIDUAL PUBLICATION PAGES
   NEWS AND LEGAL RESEARCH
========================================= */

.publication-page {
    background: #f4f6f9;
    padding: 65px 25px 75px;
}

.publication-detail {
    max-width: 1000px;
    margin: 0 auto;
    padding: 55px 65px;
    background: #ffffff;
    border-top: 4px solid #b89445;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(16, 43, 70, 0.06);
    box-sizing: border-box;
}

/* PUBLICATION CATEGORY */

.publication-category {
    color: #806326;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* PUBLICATION TITLE */

.publication-detail h1 {
    color: #102b46;
    font-size: 34px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0 0 22px;
    overflow-wrap: break-word;
}

/* PUBLICATION LOCATION AND DATE */

.publication-meta {
    color: #806326;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.publication-detail .services-divider {
    width: 70px;
    height: 3px;
    background: #b89445;
    margin: 0 0 35px;
}

/* PUBLICATION BODY */

.publication-body {
    color: #263747;
    font-size: 18px;
    line-height: 1.95;
    text-align: start;
}

.publication-body p {
    margin: 0 0 24px;
}

.publication-body p:last-child {
    margin-bottom: 0;
}

/* EXTERNAL WEBSITE LINK */

.publication-external {
    margin-top: 35px;
    padding: 22px 0;
    border-top: 1px solid #e0e5eb;
}

.publication-external[hidden] {
    display: none;
}

.publication-external a {
    color: #806326;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.publication-external a:hover {
    color: #102b46;
    text-decoration: underline;
}

/* BACK TO PUBLICATIONS */

.publication-bottom {
    border-top: 1px solid #e0e5eb;
    margin-top: 12px;
    padding-top: 30px;
}

.publication-back {
    display: inline-block;
    background: #102b46;
    color: #ffffff;
    border: 1px solid #102b46;
    border-radius: 4px;
    padding: 13px 25px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
    transition: background 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease;
}

.publication-back:hover {
    background: #b89445;
    border-color: #b89445;
    color: #102b46;
}

.publication-back:focus-visible,
.publication-external a:focus-visible {
    outline: 2px solid #b89445;
    outline-offset: 4px;
}

/* ARABIC PUBLICATIONS */

html[lang="ar"] .publication-detail {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .publication-detail h1 {
    font-size: 32px;
    line-height: 1.7;
}

html[lang="ar"] .publication-body {
    font-size: 17px;
    line-height: 2.15;
}

/* PUBLICATION PAGE FOOTER SPACING */

main:has(.publication-page) + .site-footer {
    margin-top: 0;
}

/* TABLET RESPONSIVE DESIGN */

@media (max-width: 900px) {

    .publication-page {
        padding: 45px 20px 55px;
    }

    .publication-detail {
        padding: 40px;
    }

    .publication-detail h1 {
        font-size: 29px;
    }

    html[lang="ar"] .publication-detail h1 {
        font-size: 28px;
    }

}

/* MOBILE RESPONSIVE DESIGN */

@media (max-width: 600px) {

    .publication-page {
        padding: 30px 15px 40px;
    }

    .publication-detail {
        padding: 28px 22px;
    }

    .publication-category {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .publication-detail h1 {
        font-size: 24px;
        line-height: 1.5;
    }

    .publication-meta {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .publication-detail .services-divider {
        margin-bottom: 25px;
    }

    .publication-body {
        font-size: 16px;
        line-height: 1.85;
    }

    html[lang="ar"] .publication-detail h1 {
        font-size: 23px;
        line-height: 1.7;
    }

    html[lang="ar"] .publication-body {
        font-size: 16px;
        line-height: 2;
    }

    .publication-external a {
        font-size: 15px;
    }

    .publication-back {
        display: block;
        text-align: center;
    }

}

/* Academic research publications */
.research-card .research-author { color: var(--navy); font-weight: 600; border-top: 1px solid #e1e6ec; padding-top: 14px; width: 100%; }
.research-card .research-institution { color: #53677f; font-size: 14px; line-height: 1.6; margin: 5px 0 12px; }
.research-card h2 { overflow-wrap: anywhere; }
[data-publication-id="corporate-governance"] .publication-meta { overflow-wrap: anywhere; }
.publication-body h2 { color: var(--navy); font-size: 23px; line-height: 1.5; margin: 0 0 16px; }
.research-section { border-top: 1px solid #e1e6ec; padding-top: 22px; margin-top: 28px; }
.research-section p[dir="ltr"] { text-align: left; overflow-wrap: anywhere; }
@media (max-width: 600px) { .publication-body h2 { font-size: 20px; } }
/* Contact - Professional Engagement Notice */

.contact-engagement-notice {
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.8;
    color: #526170;
    text-align: start;
}
/* Contact Page - Footer Spacing */

main:has(.contact-page) ~ .site-footer {
    margin-top: 0;
}
/* Research - Bibliographic References */

.research-citation {
    direction: ltr;
    text-align: left;
    overflow-wrap: anywhere;
}

.research-citation em {
    font-style: italic;
}
/* Contact - General Email */

.contact-office-email {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 10px 0;
}

.contact-office-email a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #102b46;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

.contact-office-email svg {
    color: #b89445;
    flex-shrink: 0;
}

.contact-office-email a:hover {
    color: #b89445;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .contact-office-email a {
        font-size: 16px;
    }
}
/* Footer - General Email */

.footer-email {
    margin-top: 0;
    margin-bottom: 18px;
}

.footer-email a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}

.footer-email svg {
    color: #b89445;
    flex-shrink: 0;
}

.footer-email a:hover {
    color: #b89445;
    text-decoration: underline;
}
/* Contact form security verification */

#contact-turnstile {
    width: 100%;
    max-width: 100%;
    margin: 20px 0 12px;
}

#contact-form-status {
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0 18px;
    overflow-wrap: anywhere;
}

#contact-form-status:empty {
    display: none;
}

#contact-form-status.is-success {
    color: #247344;
}

#contact-form-status.is-error {
    color: #a12626;
}

.contact-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}