/* ==========================================================================
   Sama Al Ibtikaar — design system
   Deep navy + amber gold. Built on top of Bootstrap 5.3 utilities.
   ========================================================================== */

/* --------------------------------------------------------------- Fonts */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-var.woff2') format('woff2-variations'),
         url('../fonts/inter-var.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/barlow-condensed-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/barlow-condensed-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------- Tokens */
:root {
    --navy-900: #061726;
    --navy-800: #0b2545;
    --navy-700: #123a68;
    --navy-600: #1b4f88;
    --navy-050: #eef3f9;

    --amber-600: #c47f0a;
    --amber-500: #f5a524;
    --amber-400: #ffbe4d;
    --amber-050: #fff6e6;

    --ink-900: #0d1520;
    --ink-700: #33465c;
    --ink-500: #5f7085;
    --ink-300: #9aa8b8;

    --line: #dfe6ee;
    --surface: #ffffff;
    --surface-alt: #f5f8fb;

    --brand: var(--navy-800);
    --accent: var(--amber-500);

    --radius: 4px;
    --radius-lg: 8px;

    --shadow-sm: 0 1px 3px rgba(6, 23, 38, .08);
    --shadow-md: 0 6px 20px rgba(6, 23, 38, .10);
    --shadow-lg: 0 18px 48px rgba(6, 23, 38, .16);

    --header-h: 84px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Barlow Condensed', 'Inter', 'Segoe UI', sans-serif;

    --bs-body-font-family: var(--font-sans);
}

/* --------------------------------------------------------------- Base */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--ink-700);
    background: var(--surface);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: var(--font-display);
    color: var(--navy-900);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.01em;
    text-transform: uppercase;
    /* Spread the words evenly across lines instead of orphaning the last one */
    text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1.05rem; }

a { color: var(--navy-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--amber-600); }

img { max-width: 100%; height: auto; }

::selection { background: var(--amber-500); color: var(--navy-900); }

:focus-visible {
    outline: 3px solid var(--amber-500);
    outline-offset: 2px;
}

.container { max-width: 1240px; }

/* --------------------------------------------------------------- Helpers */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--alt { background: var(--surface-alt); }
.section--navy { background: var(--navy-900); color: rgba(255, 255, 255, .78); }

/* Every dark-background section gets light headings. .cred-band is listed here
   too — without it its headings inherit the dark default and vanish. */
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4, .section--navy h5,
.cred-band h1, .cred-band h2, .cred-band h3, .cred-band h4, .cred-band h5,
.cta-band h1, .cta-band h2, .cta-band h3, .cta-band h4 { color: #fff; }

.section--navy .lead-text, .cred-band .lead-text { color: rgba(255, 255, 255, .74); }
.section--navy p, .cred-band p { color: rgba(255, 255, 255, .74); }
.section--navy a:not(.btn), .cred-band a:not(.btn) { color: var(--amber-400); }
.section--navy .check-list li, .cred-band .check-list li { color: rgba(255, 255, 255, .82); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: .85rem;
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--amber-500);
}
.section--navy .eyebrow { color: var(--amber-400); }

.lead-text {
    font-size: 1.075rem;
    color: var(--ink-500);
    max-width: 62ch;
}
.section--navy .lead-text { color: rgba(255, 255, 255, .72); }

.text-accent { color: var(--amber-500) !important; }

.rule {
    width: 56px;
    height: 3px;
    background: var(--amber-500);
    border: 0;
    opacity: 1;
    margin: 1.15rem 0 1.5rem;
}
.rule--center { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------- Buttons */
.btn {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: .02em;
    border-radius: var(--radius);
    padding: .8rem 1.7rem;
    border: 2px solid transparent;
    transition: all .2s ease;
}

.btn-brand {
    background: var(--amber-500);
    border-color: var(--amber-500);
    color: var(--navy-900);
}
.btn-brand:hover, .btn-brand:focus {
    background: var(--amber-400);
    border-color: var(--amber-400);
    color: var(--navy-900);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(245, 165, 36, .35);
}

.btn-navy {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: #fff;
}
.btn-navy:hover, .btn-navy:focus {
    background: var(--navy-700);
    border-color: var(--navy-700);
    color: #fff;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
}
.btn-ghost:hover, .btn-ghost:focus {
    background: #fff;
    border-color: #fff;
    color: var(--navy-900);
}

.btn-outline-navy {
    background: transparent;
    border-color: var(--navy-800);
    color: var(--navy-800);
}
.btn-outline-navy:hover, .btn-outline-navy:focus {
    background: var(--navy-800);
    color: #fff;
}

.btn-lg { padding: 1rem 2.1rem; font-size: 1rem; }

/* --------------------------------------------------------------- Top bar */
.topbar {
    background: var(--navy-900);
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
    padding: .55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar a { color: rgba(255, 255, 255, .82); }
.topbar a:hover { color: var(--amber-400); }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__sep { color: rgba(255, 255, 255, .2); margin: 0 .85rem; }
.topbar__badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(245, 165, 36, .14);
    border: 1px solid rgba(245, 165, 36, .3);
    color: var(--amber-400);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .18rem .6rem;
    border-radius: 2px;
}

/* --------------------------------------------------------------- Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }

.navbar { padding: 0; }

.brand { display: flex; align-items: center; gap: .8rem; padding: .9rem 0; }
.brand__mark { flex: 0 0 auto; }
.brand__text { line-height: 1.05; }
.brand__name {
    font-family: var(--font-display);
    font-size: 1.42rem;
    font-weight: 700;
    color: var(--navy-900);
    text-transform: uppercase;
    letter-spacing: .01em;
    display: block;
}
.brand__tag {
    font-size: .655rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ink-500);
    font-weight: 600;
    display: block;
    margin-top: .12rem;
}

.main-nav .nav-link {
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .015em;
    color: var(--navy-800);
    padding: 1.65rem .85rem !important;
    position: relative;
    text-transform: uppercase;
}
.main-nav .nav-link::after {
    content: '';
    position: absolute;
    left: .85rem;
    right: .85rem;
    bottom: 1.15rem;
    height: 2px;
    background: var(--amber-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after { transform: scaleX(1); }
.main-nav .nav-link.active { color: var(--navy-900); }

.main-nav .dropdown-menu {
    border: 0;
    border-top: 3px solid var(--amber-500);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    padding: .5rem 0;
    min-width: 290px;
    margin-top: 0;
}
.main-nav .dropdown-item {
    font-size: .875rem;
    font-weight: 500;
    color: var(--ink-700);
    padding: .6rem 1.25rem;
    border-left: 3px solid transparent;
    white-space: normal;
}
.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus {
    background: var(--navy-050);
    border-left-color: var(--amber-500);
    color: var(--navy-800);
}

.navbar-toggler {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .5rem .7rem;
}
.navbar-toggler:focus { box-shadow: none; }

@media (min-width: 992px) {
    .main-nav .dropdown:hover > .dropdown-menu { display: block; }
}
@media (max-width: 991.98px) {
    .main-nav { padding: .5rem 0 1.25rem; border-top: 1px solid var(--line); }
    .main-nav .nav-link { padding: .75rem .25rem !important; }
    .main-nav .nav-link::after { display: none; }
    .main-nav .dropdown-menu { box-shadow: none; border-top: 0; padding-left: .75rem; }
}

/* --------------------------------------------------------------- Hero slider */
.hero {
    position: relative;
    height: clamp(560px, 82vh, 820px);
    overflow: hidden;
    background: var(--navy-900);
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__media { position: absolute; inset: 0; }
.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
}
.hero__slide.is-active .hero__media img {
    animation: kenburns 9s ease-out forwards;
}
@keyframes kenburns {
    from { transform: scale(1.06); }
    to   { transform: scale(1.16); }
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(6, 23, 38, .93) 0%, rgba(6, 23, 38, .78) 42%, rgba(6, 23, 38, .30) 78%, rgba(6, 23, 38, .18) 100%),
        linear-gradient(180deg, rgba(6, 23, 38, .45) 0%, transparent 32%, rgba(6, 23, 38, .55) 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 2rem;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--amber-400);
    background: rgba(245, 165, 36, .12);
    border: 1px solid rgba(245, 165, 36, .32);
    padding: .38rem .85rem;
    border-radius: 2px;
    margin-bottom: 1.35rem;
}

.hero__title {
    color: #fff;
    font-size: clamp(2.35rem, 5.1vw, 4.35rem);
    line-height: 1.02;
    margin-bottom: 1.15rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}
.hero__title span { color: var(--amber-500); display: block; }

.hero__text {
    color: rgba(255, 255, 255, .84);
    font-size: 1.075rem;
    max-width: 56ch;
    margin-bottom: 2rem;
}

/* Entry animation, staggered per element */
.hero__slide.is-active .hero__anim {
    animation: heroIn .75s cubic-bezier(.2, .7, .3, 1) both;
}
.hero__slide.is-active .hero__anim:nth-child(1) { animation-delay: .12s; }
.hero__slide.is-active .hero__anim:nth-child(2) { animation-delay: .24s; }
.hero__slide.is-active .hero__anim:nth-child(3) { animation-delay: .36s; }
.hero__slide.is-active .hero__anim:nth-child(4) { animation-delay: .48s; }
@keyframes heroIn {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
}

.hero__controls {
    position: absolute;
    z-index: 4;
    bottom: 2.2rem;
    right: max(2rem, calc((100vw - 1240px) / 2 + 12px));
    display: flex;
    gap: .6rem;
}
.hero__arrow {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(6, 23, 38, .38);
    color: #fff;
    border-radius: 2px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all .2s ease;
    backdrop-filter: blur(4px);
}
.hero__arrow:hover {
    background: var(--amber-500);
    border-color: var(--amber-500);
    color: var(--navy-900);
}

.hero__dots {
    position: absolute;
    z-index: 4;
    bottom: 2.6rem;
    left: max(2rem, calc((100vw - 1240px) / 2 + 12px));
    display: flex;
    gap: .55rem;
    align-items: center;
}
.hero__dot {
    width: 34px;
    height: 3px;
    background: rgba(255, 255, 255, .3);
    border: 0;
    padding: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background .2s ease;
}
.hero__dot::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--amber-500);
    transform: scaleX(0);
    transform-origin: left;
}
.hero__dot.is-active::after { animation: dotFill 7s linear forwards; }
.hero__dot:hover { background: rgba(255, 255, 255, .55); }
@keyframes dotFill { to { transform: scaleX(1); } }

@media (max-width: 767.98px) {
    .hero { height: auto; min-height: 76vh; padding: 5rem 0 7rem; }
    .hero__inner { padding-top: 0; }
    .hero__controls { display: none; }
    .hero__dots { left: 50%; transform: translateX(-50%); bottom: 2rem; }
    .hero__scrim { background: linear-gradient(180deg, rgba(6, 23, 38, .82) 0%, rgba(6, 23, 38, .88) 100%); }
}

@media (prefers-reduced-motion: reduce) {
    .hero__slide.is-active .hero__media img,
    .hero__slide.is-active .hero__anim,
    .hero__dot.is-active::after { animation: none; }
    .hero__dot.is-active::after { transform: scaleX(1); }
    html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------- Page banner */
.page-banner {
    position: relative;
    padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem);
    background: var(--navy-900);
    overflow: hidden;
}
.page-banner__media { position: absolute; inset: 0; }
.page-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.page-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(6, 23, 38, .95) 0%, rgba(6, 23, 38, .82) 48%, rgba(6, 23, 38, .55) 100%);
}
.page-banner > .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: .75rem; }
.page-banner p { color: rgba(255, 255, 255, .78); max-width: 64ch; margin-bottom: 0; }

.breadcrumb-nav {
    font-size: .82rem;
    margin-bottom: 1.1rem;
}
.breadcrumb-nav ol {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}
.breadcrumb-nav a { color: rgba(255, 255, 255, .68); }
.breadcrumb-nav a:hover { color: var(--amber-400); }
.breadcrumb-nav li + li::before {
    content: '/';
    margin-right: .45rem;
    color: rgba(255, 255, 255, .32);
}
.breadcrumb-nav [aria-current] { color: var(--amber-400); font-weight: 600; }

/* --------------------------------------------------------------- Stats */
.stats {
    background: var(--navy-800);
    position: relative;
    z-index: 5;
}
.stat {
    padding: 2.1rem 1.25rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .1);
}
.stat:last-child { border-right: 0; }
.stat__num {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--amber-500);
    line-height: 1;
    display: block;
}
.stat__label {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .68);
    margin-top: .5rem;
    display: block;
}
@media (max-width: 767.98px) {
    .stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 1.5rem 1rem; }
}

/* --------------------------------------------------------------- Division cards */
.division {
    position: relative;
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.division:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.division__media {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--navy-800);
}
.division__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}
.division:hover .division__media img { transform: scale(1.07); }
.division__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(6, 23, 38, .72) 100%);
}
.division__icon {
    position: absolute;
    z-index: 2;
    left: 1.5rem;
    bottom: -26px;
    width: 56px;
    height: 56px;
    background: var(--amber-500);
    color: var(--navy-900);
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.division__body { padding: 2.4rem 1.6rem 1.7rem; }
.division__title {
    font-size: 1.4rem;
    margin-bottom: .6rem;
    color: var(--navy-900);
    transition: color .2s ease;
}
.division:hover .division__title { color: var(--navy-600); }
.division__text { font-size: .93rem; color: var(--ink-500); margin-bottom: 1.1rem; }
.division__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: .87rem;
}
.division__list li {
    padding: .3rem 0 .3rem 1.3rem;
    position: relative;
    color: var(--ink-700);
}
.division__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .95rem;
    width: 6px;
    height: 6px;
    background: var(--amber-500);
    border-radius: 50%;
}
.division__more {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy-800);
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.division:hover .division__more { color: var(--amber-600); gap: .75rem; }
.division__more svg { transition: transform .2s ease; }

/* --------------------------------------------------------------- Service cards */
.svc-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.svc-card__media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--surface-alt);
}
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card__body { padding: 1.35rem 1.4rem 1.5rem; flex: 1 1 auto; display: flex; flex-direction: column; }
.svc-card__tag {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: .5rem;
}
.svc-card__title { font-size: 1.16rem; margin-bottom: .5rem; }
.svc-card__title a { color: var(--navy-900); }
.svc-card:hover .svc-card__title a { color: var(--navy-600); }
.svc-card__text { font-size: .89rem; color: var(--ink-500); margin-bottom: 1rem; flex: 1 1 auto; }
.svc-card__link {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--navy-800);
}
.svc-card:hover .svc-card__link { color: var(--amber-600); }

/* Stretch the whole card as one click target */
.stretch-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}
.pos-rel { position: relative; }

/* --------------------------------------------------------------- Feature list */
.feature-row { display: flex; gap: 1rem; align-items: flex-start; }
.feature-row__icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: var(--radius);
    background: var(--amber-050);
    color: var(--amber-600);
    display: grid;
    place-items: center;
    border: 1px solid rgba(245, 165, 36, .3);
}
.section--navy .feature-row__icon {
    background: rgba(245, 165, 36, .12);
    border-color: rgba(245, 165, 36, .3);
    color: var(--amber-400);
}
.feature-row__title { font-size: 1.05rem; margin-bottom: .3rem; }
.feature-row__text { font-size: .9rem; color: var(--ink-500); margin: 0; }
.section--navy .feature-row__text { color: rgba(255, 255, 255, .66); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
    position: relative;
    padding: .42rem 0 .42rem 1.85rem;
    font-size: .94rem;
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .78rem;
    width: 16px;
    height: 9px;
    border-left: 2.5px solid var(--amber-500);
    border-bottom: 2.5px solid var(--amber-500);
    transform: rotate(-45deg);
}

/* --------------------------------------------------------------- Media panel */
.media-panel { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.media-panel img { width: 100%; display: block; }
.media-panel__badge {
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--amber-500);
    color: var(--navy-900);
    padding: 1.2rem 1.6rem;
    max-width: 76%;
}
.media-panel__badge strong {
    font-family: var(--font-display);
    font-size: 1.9rem;
    display: block;
    line-height: 1;
}
.media-panel__badge span {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------- Height-filling media
   Paired with .align-items-stretch on the row, these make the picture column
   match the height of the copy beside it, so a long text block never leaves a
   band of empty space above and below a small image. */
.media-fill {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-alt);
    aspect-ratio: 4 / 3;            /* mobile, where the columns stack */
}
.media-fill img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.media-fill:hover img { transform: scale(1.04); }

/* Two images sharing the column height */
.media-stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    aspect-ratio: 4 / 5;
}

/* Four images in a square, sharing the column height */
.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    aspect-ratio: 1 / 1;
}

.media-stack > .media-fill,
.media-grid > .media-fill { aspect-ratio: auto; height: 100%; }

@media (min-width: 992px) {
    .media-fill,
    .media-stack,
    .media-grid {
        aspect-ratio: auto;
        height: 100%;
        min-height: 400px;
    }
}

/* --------------------------------------------------------------- Image collage
   A tall lead image with two supporting shots. Stretches to match the height of
   the text column beside it, so a long copy block never leaves dead space. */
.collage {
    display: grid;
    grid-template-columns: 1.38fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    aspect-ratio: 1 / 1;
}
@media (min-width: 992px) {
    .collage {
        aspect-ratio: auto;
        height: 100%;
        min-height: 460px;
    }
}

.collage__cell {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface-alt);
}
.collage__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.collage__cell:hover img { transform: scale(1.05); }

.collage__cell--main {
    grid-row: 1 / 3;
}

/* Badge sits on the lead image */
.collage__badge {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    background: var(--amber-500);
    color: var(--navy-900);
    padding: .85rem 1.2rem;
    max-width: 92%;
}
.collage__badge strong {
    font-family: var(--font-display);
    font-size: 1.75rem;
    display: block;
    line-height: 1;
}
.collage__badge span {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

/* Caption chip on the supporting shots */
.collage__caption {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    background: rgba(6, 23, 38, .82);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: .42rem .7rem;
    backdrop-filter: blur(3px);
}

@media (max-width: 575.98px) {
    .collage { gap: 10px; }
    .collage__badge { padding: .6rem .8rem; }
    .collage__badge strong { font-size: 1.3rem; }
    .collage__badge span { font-size: .6rem; }
    .collage__caption { font-size: .62rem; padding: .32rem .5rem; }
}

/* --------------------------------------------------------------- Aramco band */
.cred-band {
    background:
        linear-gradient(100deg, rgba(6, 23, 38, .96) 0%, rgba(11, 37, 69, .92) 100%);
    color: rgba(255, 255, 255, .8);
    position: relative;
    overflow: hidden;
}
.cred-chip {
    display: flex;
    align-items: center;
    gap: .85rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: 1rem 1.15rem;
    height: 100%;
}
.cred-chip__icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--amber-400);
    background: rgba(245, 165, 36, .12);
    border-radius: 3px;
}
.cred-chip strong {
    display: block;
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
}
.cred-chip span { font-size: .78rem; color: rgba(255, 255, 255, .6); }

/* --------------------------------------------------------------- Testimonials */
.quote-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem 1.6rem;
    height: 100%;
    position: relative;
}
.quote-card::before {
    content: '"';
    position: absolute;
    top: .2rem;
    right: 1.25rem;
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--amber-050);
}
.quote-card__text {
    font-size: .96rem;
    color: var(--ink-700);
    position: relative;
    z-index: 1;
    margin-bottom: 1.25rem;
}
.quote-card__author { font-weight: 700; color: var(--navy-900); font-size: .92rem; }
.quote-card__meta { font-size: .82rem; color: var(--ink-500); }
.stars { color: var(--amber-500); font-size: .85rem; letter-spacing: .1em; margin-bottom: .85rem; }

/* --------------------------------------------------------------- CTA band */
.cta-band {
    background: linear-gradient(100deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(2.25rem, 4vw, 3.25rem);
    position: relative;
    overflow: hidden;
}
.cta-band::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 260px;
    height: 260px;
    border: 40px solid rgba(245, 165, 36, .08);
    border-radius: 50%;
}
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, .72); margin-bottom: 0; }

/* --------------------------------------------------------------- Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}
.data-table thead th {
    background: var(--navy-800);
    color: #fff;
    font-family: var(--font-sans);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .8rem 1rem;
    text-align: left;
    white-space: nowrap;
}
.data-table tbody td {
    padding: .68rem 1rem;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}
.data-table tbody tr:nth-child(even) { background: var(--surface-alt); }
.data-table tbody tr:hover { background: var(--navy-050); }

.pill {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .18rem .55rem;
    border-radius: 2px;
}
.pill--skilled { background: #e3f2e8; color: #1c6b38; }
.pill--semi { background: #fdf0dd; color: #8a5a09; }
.pill--aramco { background: rgba(11, 37, 69, .08); color: var(--navy-800); }

/* --------------------------------------------------------------- Prose */
.prose { font-size: 1.0125rem; color: var(--ink-700); }
.prose h2 { margin: 2.4rem 0 1rem; font-size: 1.75rem; }
.prose h3 { margin: 2rem 0 .85rem; font-size: 1.35rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.15rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------- Forms */
.form-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--navy-800);
    letter-spacing: .02em;
    margin-bottom: .35rem;
}
.form-control, .form-select {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .72rem .9rem;
    font-size: .94rem;
    color: var(--ink-900);
    background-color: #fff;
}
.form-control:focus, .form-select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 3px rgba(245, 165, 36, .18);
}
.form-control::placeholder { color: var(--ink-300); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.alert-success {
    background: #e8f5ed;
    border: 1px solid #b6dcc4;
    color: #1c6b38;
    border-radius: var(--radius);
}

/* --------------------------------------------------------------- Info cards */
/* No height here on purpose. These cards are used both stacked in a sidebar and
   side by side in a grid; a blanket height:100% made every stacked card as tall
   as the whole column and pushed the rest out of it. Grid usages ask for equal
   heights explicitly with Bootstrap's .h-100. */
.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.info-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--navy-800);
    color: var(--amber-500);
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.info-card p, .info-card address { font-size: .91rem; color: var(--ink-500); margin: 0; font-style: normal; }
.info-card a { color: var(--navy-700); font-weight: 500; }

/* --------------------------------------------------------------- Footer */
.site-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, .62);
    font-size: .9rem;
}
.site-footer h4 {
    color: #fff;
    font-size: .92rem;
    letter-spacing: .12em;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: .7rem;
}
.site-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: var(--amber-500);
}
.site-footer a { color: rgba(255, 255, 255, .62); }
.site-footer a:hover { color: var(--amber-400); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-links a::before {
    content: '';
    width: 5px;
    height: 5px;
    background: rgba(245, 165, 36, .55);
    flex: 0 0 auto;
}

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .95rem; align-items: flex-start; }
.footer-contact svg { flex: 0 0 auto; margin-top: .22rem; color: var(--amber-500); }

.footer-iso {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.1rem;
}
.footer-iso span {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .07em;
    padding: .28rem .6rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 2px;
    color: rgba(255, 255, 255, .72);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 1.3rem 0;
    font-size: .84rem;
    line-height: 1.9;
}
.footer-bottom__sep {
    color: rgba(255, 255, 255, .28);
    margin: 0 .55rem;
}
/* On narrow screens the two lines stack; hide the dot and keep the credit
   clear of the floating WhatsApp button in the corner. */
@media (max-width: 575.98px) {
    .footer-bottom { padding-bottom: 5.5rem; }
    .footer-bottom__sep { display: none; }
    .footer-bottom__copy { display: block; }
}
.dev-credit { color: rgba(255, 255, 255, .55); }
.dev-credit a {
    color: var(--amber-400);
    font-weight: 600;
}
.dev-credit a:hover { color: var(--amber-500); text-decoration: underline; }

.social-links { display: flex; gap: .5rem; }
.social-links a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    transition: all .2s ease;
}
.social-links a:hover {
    background: var(--amber-500);
    border-color: var(--amber-500);
    color: var(--navy-900);
}

/* --------------------------------------------------------------- WhatsApp + back to top */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: .6rem;
    background: #25d366;
    color: #fff;
    border-radius: 50px;
    padding: .7rem .8rem;
    box-shadow: 0 8px 26px rgba(37, 211, 102, .42);
    font-weight: 600;
    font-size: .9rem;
    transition: all .25s ease;
}
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37, 211, 102, .5); }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s ease, margin .3s ease; }
.wa-float:hover .wa-float__label { max-width: 190px; margin-right: .3rem; }
.wa-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    border: 2px solid #25d366;
    animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
    0%   { transform: scale(1); opacity: .7; }
    100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }

.to-top {
    position: fixed;
    right: 26px;
    bottom: 92px;
    z-index: 1039;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: var(--radius);
    background: var(--navy-800);
    color: #fff;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
    cursor: pointer;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--amber-500); color: var(--navy-900); }

@media (max-width: 575.98px) {
    .wa-float { right: 14px; bottom: 14px; }
    .to-top { right: 18px; bottom: 80px; }
}

/* --------------------------------------------------------------- Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------- Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--amber-500);
    color: var(--navy-900);
    padding: .75rem 1.25rem;
    font-weight: 700;
}
.skip-link:focus { left: 0; }
