@import url("../font.css");

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

html,
body {
    width: 100%;
    height: 100%;
}

/* RTL Typography Adjustments */
html[dir="rtl"] * {
    font-family: "din-next-regular", sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
    font-family: "TheYearOfHandicrafts", sans-serif !important;
    /* letter-spacing: 0; */
}

#main {
    width: 100%;
    position: relative;
    z-index: 2;
}

/* MAIN ABOUT WRAPPER */
#main #hero {
    width: 100%;
    min-height: 100vh;
    background-color: var(--green-color);
    color: #ffffff;
    padding: 0rem 0 5rem;
}

/* Shared vars */
:root {
    --page-max-width: 1200px;
    --page-padding: 3rem;
    --soft-border: rgba(255, 255, 255, 0.12);
    --sand: #f4d6a2;
}

.about-container {
    width: min(var(--page-max-width), 100% - var(--page-padding));
    margin: 0 auto;
}

/* Eyebrow / kicker */
.eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem !important;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 0.75rem;
}

/* icon before the text */
.eyebrow::before {
    content: "";
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    background-image: url("../images/home/tag.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(-45deg);
    transform-origin: center;
    margin-bottom: 4px;
}

/* =======================
   HERO
   ======================= */

/* --- Hero Section --- */
#services-hero {
    position: relative;
    width: 100%;
    max-width: 100vw;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url(../images/home/hero-bg-green.webp) no-repeat center
        center/cover;
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 0%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 0%,
        black 90%,
        transparent 100%
    );
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-hero-content .tag {
    margin-bottom: 2.5rem;
}

.services-hero-content h1 {
    font-family: "didot-bold", serif;
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    color: var(--secondary-golden-color);
    width: 80%;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.services-hero-content > p {
    /* font-family: "TheYearOfHandicrafts", serif; */
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto;
}

.about-hero {
    /* UPDATED: reduced spacing after first section */
    padding-bottom: 2.25rem;
    height: 70vh;
    display: flex;
    align-items: center;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: flex-start;
}

.about-hero-left h1,
.about-hero-title {
    font-family: "didot-bold";
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: var(--secondary-golden-color);
}

.about-hero-left .lead {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 36rem;
    opacity: 0.9;
}

/* Pillars (Define / Design / Deploy) */
.about-hero-pillars {
    /* display: grid; */
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.25rem;
}

.pillar h3 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.pillar p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.85;
}

/* keep this for future right content */
.about-hero-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo-spin-wrap {
    perspective: 1000px;
    cursor: pointer;
    position: relative;
    isolation: isolate;
}

/* ====== KEEP IMAGE AS-IS, ONLY HOVER "GLASS GLOW" ====== */

/* glow behind image (no border/box) */
.logo-spin-wrap::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%) scale(0.92);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(244, 214, 162, 0.45),
        rgba(244, 214, 162, 0.18) 40%,
        transparent 70%
    );
    filter: blur(26px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 0;
}

/* soft glass shimmer (no box) */
.logo-spin-wrap::after {
    content: "";
    position: absolute;
    inset: -10%;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    transform: translateZ(0) scale(0.98);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.22),
        rgba(255, 255, 255, 0.08) 35%,
        rgba(255, 255, 255, 0) 70%
    );
    filter: blur(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 2;
}

.logo-spin {
    width: min(380px, 42vw);
    aspect-ratio: 1 / 1;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out, filter 0.25s ease;
    will-change: transform, filter;
    z-index: 1;
}

.logo-face {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.logo-face.back {
    transform: rotateY(180deg);
}

/* hover: glass shimmer + glow
    .logo-spin-wrap:hover::before {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    .logo-spin-wrap:hover::after {
        opacity: 1;
        transform: translateZ(0) scale(1);
    } */

/* .logo-spin-wrap:hover .logo-spin {
    filter: drop-shadow(0 28px 60px rgba(244, 214, 162, 0.22))
        drop-shadow(0 0 22px rgba(244, 214, 162, 0.25));
} */

@media (prefers-reduced-motion: reduce) {
    .logo-spin {
        transform: none !important;
    }
}

/* =======================
   STRUCTURE SECTION
   ======================= */

.about-structure {
    /* UPDATED: reduced spacing before second section */
    padding: 2.6rem 0 0rem;
    margin-bottom: 3rem;
    margin-top: -20px;
}

.about-structure-grid {
    display: flex;
    /* grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr); */
    gap: 3rem;
    align-items: center;
}

.structure-copy {
    width: 50%;
}

.structure-copy h2 {
    color: var(--secondary-golden-color);
    font-size: 1.8rem;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    font-family: "didot-bold";
}

.structure-copy p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
}

.structure-copy .structure-sub {
    margin-top: 1rem;
    opacity: 0.85;
}

/* Diagram wrapper */
.structure-visual {
    flex: 1;
    position: relative;
}

.structure-wrapper {
    position: relative;
    border-radius: 1.75rem;
    /* padding: 1.5rem; */
}

/* IMPORTANT FIX:
   Do NOT scale the SVG here, it clips SVG text/labels because wrapper has overflow:hidden */
.structure-wrapper svg {
    /* transform: scale(1.3); */
}

/* SVG */
.structure-diagram {
    width: 100%;
    height: auto;
    display: block;
}

/* Lines */
.structure-link-path {
    fill: none;
    stroke: var(--sand);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Labels on the lines */
.structure-label {
    fill: var(--sand);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    paint-order: stroke;
    stroke: rgba(0, 0, 0, 0.75);
    stroke-width: 4px;
    stroke-linejoin: round;
    opacity: 0.95;
}

/* Cards / nodes */
.structure-card {
    fill: rgba(4, 24, 20, 0.95);
    stroke: rgba(244, 214, 162, 0.95);
    stroke-width: 2.6;
}

.structure-card-title {
    fill: var(--sand);
    font-size: 1.1rem;
    letter-spacing: 0.04em;
}

/* Node base look */
.structure-node {
    cursor: default;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.55));
    transition: filter 0.25s ease-out;
}

/* Hover + active highlights */
.structure-node.is-active .structure-card,
.structure-node:hover .structure-card {
    stroke: #ffffff;
    stroke-width: 3;
}

.structure-node.is-active .structure-card-title,
.structure-node:hover .structure-card-title {
    fill: #ffffff;
}

/* Info panel under diagram */
.structure-info {
    margin-top: 1.4rem;
    /* display: grid; */
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.structure-info-item {
    border-radius: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.18);
    padding: 0.85rem 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    cursor: pointer;
    color: #ffffff;
    transition: border-color 0.2s ease, background 0.2s ease,
        transform 0.18s ease, box-shadow 0.18s ease;
}

.structure-info-item .chip {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(244, 214, 162, 0.7);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
}

.structure-info-item p {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.structure-info-item.is-active,
.structure-info-item:hover {
    border-color: rgba(244, 214, 162, 0.95);
    background: rgba(4, 24, 20, 0.96);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

/* =======================
   GLOBAL REACH SECTION (Map + Stats)
   ======================= */

.about-global-reach {
    padding: 4.5rem 0 3.5rem;
    position: relative;
}

.global-reach-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem;
}

.global-reach-header h2 {
    color: var(--secondary-golden-color);
    font-family: "didot-bold";
    font-size: 2rem;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.global-reach-lead {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-top: 1rem;
}

/* Globe Map Wrapper */
.global-map-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 3rem;
    border-radius: 2rem;
    overflow: hidden;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.03),
        transparent 70%
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.global-map-chart {
    width: 100%;
    height: 680px;
    background: transparent;
}

/* Map Interaction Hint */
.map-hint {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(4, 24, 20, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(244, 214, 162, 0.3);
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--sand);
    opacity: 0.8;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.map-hint svg {
    width: 16px;
    height: 16px;
    color: var(--sand);
    opacity: 0.9;
}

.global-map-wrapper:hover .map-hint {
    opacity: 1;
}

/* Stats Strip (reused from old section) */
.about-global-reach .stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3rem;
    align-items: end;
    max-width: 1000px;
    margin: 0 auto;
}

.about-global-reach .stat-item {
    text-align: center;
}

.about-global-reach .stat-line {
    width: 120px;
    height: 2px;
    background: rgba(255, 255, 255, 0.55);
    margin: 0 auto 1.8rem;
}

.about-global-reach .stat-value {
    font-family: "didot-bold";
    font-size: clamp(2.2rem, 4vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--sand);
    display: block;
}

.about-global-reach .stat-name {
    margin-top: 1rem;
    font-size: 1rem;
    opacity: 0.92;
}

/* Remove old stats strip section */
.about-stats-strip {
    padding: 2.8rem 0 1rem;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3rem;
    align-items: end;
}

.stat-item {
    text-align: left;
}

.stat-line {
    width: 160px;
    height: 2px;
    background: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.8rem;
}

.stat-value {
    font-family: "didot-bold";
    font-size: clamp(2.6rem, 4vw, 5.2rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--sand);
}

.stat-name {
    margin-top: 1.4rem;
    font-size: 1.05rem;
    opacity: 0.92;
}

/* =======================
   SECTION HEADER
   ======================= */

.about-section-header {
    max-width: 34rem;
    margin-bottom: 1rem;
}

.about-section-header h2 {
    color: var(--secondary-golden-color);
    font-family: "didot-bold";
    font-size: 1.8rem;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.about-section-header p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* =======================
   METHODOLOGY (How we Work)
   ======================= */

.about-methodology {
    padding: 4.5rem 0 3.5rem;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.method-card {
    padding: 1.75rem 1.5rem;
    border-radius: 1.25rem;
    /* border: 1px solid var(--soft-border); */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease,
        border-color 0.2s ease, border 0.2s ease;
    opacity: 0;
    transform: translateY(200px);
}

.method-card .step-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    opacity: 0.7;
}

.method-card h3 {
    color: var(--secondary-golden-color);
    font-family: "didot-bold", sans-serif;
    font-size: 1.5rem;
}

.method-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

.method-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 0.5rem;
}

.method-card ul li {
    font-size: 0.85rem;
    opacity: 0.7;
    padding-left: 1rem;
    position: relative;
    margin-bottom: 0.25rem;
}

.method-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.7;
}

/* UPDATED: Remove images on hover in "How we Work"
   - bring back normal cursor
   - hide the preview element completely */
.method-card,
.method-card * {
    cursor: auto !important;
}

.cursor-preview {
    display: none !important;
}

/* =======================
   SECTORS (Who we work with)
   ======================= */

.about-sectors {
    padding: 4.5rem 0 3.5rem;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 0.5rem;
}

/* Sector Cards with Spotlight Effect */
.sector-card {
    position: relative;
    padding: 2rem 1.75rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.3s ease,
        box-shadow 0.3s ease;
    --mouse-x: 50%;
    --mouse-y: 50%;
}

/* Spotlight effect - same as tag */
.sector-card::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(236, 207, 156, 0.25) 0%,
        rgba(236, 207, 156, 0.15) 25%,
        rgba(58, 75, 67, 0.1) 50%,
        transparent 70%
    );
    left: var(--mouse-x);
    top: var(--mouse-y);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.sector-card:hover::before {
    opacity: 1;
}

.sector-card:hover {
    border-color: rgba(244, 214, 162, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Number */
.sector-card .sector-number {
    position: relative;
    z-index: 1;
    display: block;
    font-family: "didot-bold", serif;
    font-size: 2.5rem;
    color: var(--sand);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 1.25rem;
    transition: opacity 0.3s ease;
}

.sector-card:hover .sector-number {
    opacity: 1;
}

/* Title */
.sector-card h3 {
    position: relative;
    z-index: 1;
    font-family: "didot-bold", serif;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.sector-card:hover h3 {
    color: var(--sand);
}

/* Description */
.sector-card p {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    line-height: 1.65;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.sector-card:hover p {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 960px) {
    .sectors-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .about-sectors {
        padding: 3.5rem 0 2.5rem;
    }

    .sector-card {
        padding: 1.5rem 1.25rem;
    }

    .sector-card .sector-number {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .sector-card h3 {
        font-size: 1.1rem;
    }

    .sector-card p {
        font-size: 0.85rem;
    }
}

/* =======================
   OUR PHILOSOPHY (CULTURE)
   ======================= */

.about-culture {
    padding: 1rem 0 1rem;
}

.about-culture-grid {
    display: flex;
    flex-direction: row-reverse;

    gap: 3rem;
    align-items: center;
}
.culture-copy {
    width: 50%;
}

.culture-copy h2 {
    color: var(--secondary-golden-color);
    font-family: "didot-bold";
    font-size: 1.8rem;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.culture-copy p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
}

.philosophy-visual {
    position: relative;
    flex: 1;
}

.philosophy-wrapper {
    position: relative;
    border-radius: 1.75rem;
    /* padding: 1.5rem; */
    overflow: hidden;
}

.philosophy-svg {
    width: 100%;
    height: auto;
    display: block;
    transform-origin: center;
}

/* =========================
   SUCCESSFUL CLIENTS (ABOUT)
   ========================= */

#main #clients {
    width: 100%;
    min-height: 25vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    overflow-x: hidden;
    padding: 2.5rem 0;
    background-color: rgb(239, 239, 239);
    color: var(--green-color);
    margin-top: 50px;
    margin-bottom: -80px;
}

#main #clients #clientstop {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
}

#main #clients #clientstop > h1 {
    /* color: var(--secondary-golden-color); */
    font-size: 3rem;
    font-family: "didot-bold", sans-serif;
    line-height: 1;
    font-weight: 500;
    width: 40%;
    text-align: center;
}

#main #clients p {
    font-size: 1.1rem;
    opacity: 0.7 !important;
    width: 40%;
    text-align: center;
    line-height: 1.5;
}

#main #clients #clientsbtm {
    max-width: 100vw;
    overflow: hidden;
    display: flex;
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: auto;
    direction: ltr !important;
}

#main #clients #clientsbtm::-webkit-scrollbar {
    display: none;
}

#main #clients #clientwrapper {
    width: max-content;
    display: flex;
    gap: 2rem;
}

#main #clients #clientsbtm {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: grab;
}

#main #clients #clientsbtm.grabbing {
    cursor: grabbing !important;
}

#main #clients #clientsbtm * {
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

#main #clients #clientwrapper .logo:last-child {
    margin-right: 2rem;
}

#main #clients #clientwrapper .logo {
    width: 230px;
    height: 110px;
    background-color: rgba(239, 239, 239, 0.9);
    border: 0.5px solid #3a4b4366;
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#main #clients #clientwrapper .logo::after {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: rgba(239, 239, 239, 0.6);
    position: absolute;
    clip-path: circle(10% at 100% 0%);
    transition: all 0.5s ease;
}

#main #clients #clientwrapper .logo:hover::after {
    clip-path: circle(100% at 50% 50%);
}

#main #clients #clientwrapper .logo img {
    width: 100%;
    object-fit: cover;
}

/* Responsive like home */
@media screen and (max-width: 1024px) {
    #main #clients #clientstop > h1 {
        font-size: 2.5rem;
        width: 50%;
        text-align: center;
    }
    #main #clients p {
        font-size: 1rem;
        width: 50%;
    }
}

@media screen and (max-width: 768px) {
    #main #clients {
        min-height: 25vh;
    }
    #main #clients #clientstop > h1 {
        font-size: 2rem;
        width: 90%;
        text-align: center;
    }
    #main #clients p {
        font-size: 0.95rem;
        width: 90%;
    }
    #main #clients #clientsbtm {
        max-width: 90vw;
    }
    #main #clients #clientwrapper .logo {
        width: 150px;
        height: 60px;
    }
}

@media screen and (max-width: 480px) {
    #main #clients #clientwrapper .logo {
        width: 130px;
        height: 55px;
    }
    #main #clients #clientstop > h1 {
        font-size: 1.8rem;
        width: 90%;
        text-align: center;
    }
}

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

@media (max-width: 960px) {
    .about-hero-grid,
    .about-structure-grid,
    .methodology-grid,
    .sectors-grid,
    .about-culture-grid {
        margin-top: 2rem;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .culture-copy,
    .structure-copy {
        width: 100%;
    }

    .about-hero-pillars {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .about-structure {
        /* keep reduced spacing on tablet too */
        padding-top: 2.2rem;
    }

    /* Global reach / Stats strip: 2 columns */
    .about-global-reach .stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem;
    }

    .about-global-reach .stat-line {
        width: 100px;
        margin-bottom: 1.4rem;
    }

    .global-map-chart {
        height: 450px;
    }


    .philosophy-wrapper {
        padding: 1.2rem;
    }
}

@media (max-width: 768px) {
    .about-hero-right {
        display: none !important;
    }
    #services-hero {
        height: 55vh;
    }

    .services-hero-content {
        padding: 0 1.5rem;
    }
}

@media (max-width: 640px) {
    .structure-wrapper svg {
        transform: scale(1);
    }

    .about-container {
        width: 100%;
        padding: 0 1.25rem;
    }

    .about-hero {
        /* slightly tighter on mobile */
        padding-bottom: 1.75rem;
    }

    .about-structure {
        padding-top: 2rem;
    }


    .philosophy-wrapper {
        padding: 1.1rem;
    }

    /* Global reach / Stats strip: 2 columns on mobile */
    .about-global-reach .stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }

    .about-global-reach .stat-line {
        width: 80px;
    }

    .global-map-chart {
        height: 400px;
    }

    .global-map-wrapper {
        border-radius: 1.5rem;
    }

    .map-hint {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
        bottom: 1rem;
    }

    .map-hint svg {
        width: 14px;
        height: 14px;
    }

    .global-reach-header h2 {
        font-size: 1.6rem;
    }

    .global-reach-lead {
        font-size: 0.9rem;
    }
}

/* =======================
   RTL SUPPORT
   ======================= */

html[dir="rtl"] .about-hero-right {
    justify-content: flex-start;
}

html[dir="rtl"] .structure-info-item {
    text-align: right;
}

html[dir="rtl"] .structure-info-item .chip {
    align-self: flex-end;
}

html[dir="rtl"] .about-global-reach .stat-item {
    text-align: center;
}

html[dir="rtl"] .stat-line {
    margin-left: auto;
    margin-right: 0;
}

html[dir="rtl"] .method-card {
    text-align: right;
}

html[dir="rtl"] .method-card ul li {
    padding-left: 0;
    padding-right: 1rem;
}

html[dir="rtl"] .method-card ul li::before {
    left: auto;
    right: 0;
}


html[dir="rtl"] .about-section-header {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

html[dir="rtl"] .sector-card {
    text-align: right;
}

html[dir="rtl"] .sector-card .sector-number {
    text-align: right;
}

html[dir="rtl"] svg{
    direction: ltr !important;;
}