:root {
    --navy: #0f2740;
    --deep-navy: #0b1a2d;
    --gold: #c79a2b;
    --text: #1d2a36;
    --muted: #5f6f80;
    --card: #ffffff;
    --soft-bg: #f4f7fb;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 100px;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background-color: var(--soft-bg);
    background-image: url("../images/zahrafgrey.jpg");
    background-repeat: repeat;
    line-height: 1.2;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #fefcfa;
    backdrop-filter: blur(3px);
    padding: 1px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 600;
}

.brand img {
    display: block;
}

.logo-desktop {
    height: 80px;
    border-radius: 8px;
}

.logo-mobile {
    display: none;
    height: 68px;
    width: auto;
    border-radius: 8px;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

nav a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    color: var(--gold);
}

/* .hero {
    background: linear-gradient(rgba(9, 27, 48, 0.58), rgba(9, 27, 48, 0.84)), url("../images/hero-business.svg") center/cover no-repeat;
    color: #fff;
    padding: 110px 20px;
} */

.hero {
    background:
        linear-gradient(rgb(253 253 253 / 58%), rgb(61 62 62 / 84%)), url(../images/hero.avif) center / cover no-repeat;
    color: #fff;
    padding: 110px 20px;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.eyebrow {
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    font-size: 0.82rem;
    margin-bottom: 8px;
    color: #f2d48f;
}

.hero h1 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    background: linear-gradient(45deg, #dcb01e, #f9c344);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    margin-top: 14px;
    font-size: 1.1rem;
}

.section {
    padding: 64px 8%;
    background: transparent;
}

.alt-bg {
    background: transparent;
}

h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.section-intro {
    margin-top: 0;
    color: var(--muted);
}

.split-grid {
    margin-top: 22px;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.info-card {
    background: var(--card);
    border-left: 4px solid var(--gold);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(6, 23, 42, 0.08);
}

.info-card h3 {
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vm-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.vm-icon svg {
    width: 100%;
    height: 100%;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.card {
    background: var(--card);
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(10, 27, 44, 0.1);
}

.division-logo {
    width: min(100%, 240px);
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    margin-bottom: 14px;
    margin-inline: auto;
    display: grid;
    place-items: center;
    padding: 12px;
    background: #fff;
    border: 1px solid #dde5ee;
    overflow: hidden;
}

.division-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 8px;
}

button {
    background: var(--gold);
    border: 0;
    border-radius: 8px;
    padding: 10px 16px;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

button:hover {
    background: #b68718;
}

.goals-list {
    margin: 16px 0 0;
    padding-left: 20px;
}

.goals-list li {
    margin-bottom: 8px;
}

.contact {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(15, 39, 64, 0.95), rgba(11, 26, 45, 0.98));
    color: #fff;
    text-align: center;
    padding: 70px 20px;
}

.contact::before,
.contact::after {
    content: "";
    position: absolute;
    top: 50%;
    width: clamp(140px, 16vw, 240px);
    aspect-ratio: 1 / 1;
    background: url("../images/footer-pattern.svg") center/contain no-repeat;
    opacity: 0.32;
    transform: translateY(-50%);
    pointer-events: none;
}

.contact::before {
    left: 2%;
}

.contact::after {
    right: 2%;
}

.contact>* {
    position: relative;
    z-index: 1;
}

.contact h3 {
    margin-top: 30px;
    margin-bottom: 10px;
}

.contact a {
    color: #fff;
    text-decoration: none;
}

.contact a:hover {
    color: #f6d894;
}

footer {
    background: var(--deep-navy);
    color: #c9d0db;
    text-align: center;
    padding: 18px;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.7);
    padding: 100px;
}

.modal-content {
    background: #fff;
    max-width: 820px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    margin: 0 auto;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.close {
    float: right;
    font-size: 1.8rem;
    line-height: 1;
    padding: 0;
    margin: -8px -2px 8px 0;
    background: transparent;
    color: #3f4d5a;
}

.modal h2 {
    margin-top: 6px;
}

.modal ul {
    padding-left: 20px;
}


@media (max-width: 980px) {

    .contact::before,
    .contact::after {
        display: none;
    }
}

@media (max-width: 700px) {
    header {
        gap: 14px;
        padding: 10px 5%;
        flex-direction: column;
    }

    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
        height: 78px;
    }

    nav {
        width: 100%;
        justify-content: center;
        gap: 10px 14px;
    }

    nav a {
        font-size: 0.95rem;
    }

    .hero {
        padding: 88px 16px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 52px 6%;
    }

    .card,
    .info-card {
        padding: 18px;
    }
}