/* =========================================================
   SULT AL RAWAHI TRADING - SRT
   MASTER WEBSITE STYLESHEET
   ========================================================= */

:root {
    --navy: #062f59;
    --navy-dark: #031f3b;
    --navy-light: #0b4f82;
    --blue: #0877d1;
    --blue-light: #eaf5ff;
    --sky: #72c4ff;

    --text: #172c3e;
    --muted: #647789;

    --background: #f5f8fb;
    --white: #ffffff;
    --border: #dce6ee;

    --shadow: 0 8px 28px rgba(6, 47, 89, .08);
    --shadow-hover: 0 15px 38px rgba(6, 47, 89, .13);
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;
    line-height: 1.6;

    color: var(--text);
    background: var(--white);

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font-family: inherit;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
    width: min(1160px, calc(100% - 42px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
    background: var(--navy-dark);
    color: #dce9f3;

    font-size: 11px;
}

.topbar-inner {
    min-height: 31px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.header {
    height: 72px;

    background: rgba(255,255,255,.98);

    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;

    z-index: 1000;
}

.header-inner {
    height: 100%;

    display: flex;
    align-items: center;
}

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

    flex-shrink: 0;
}

.logo img {
    width: auto;
    height: 56px;

    object-fit: contain;
}

/*
IMPORTANT:
Original SRT logo is displayed without
filters, recolouring or modification.
*/

.navigation {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 2px;
}

.navigation a {
    padding: 9px 10px;

    border-radius: 5px;

    font-size: 12px;
    font-weight: 650;

    color: #263c4e;

    transition: .2s ease;
}

.navigation a:hover {
    color: var(--blue);
    background: var(--blue-light);
}

.navigation a.active {
    color: var(--blue);
    background: var(--blue-light);
}

.header-button {
    margin-left: 10px;

    padding: 9px 14px;

    background: var(--blue);
    color: var(--white);

    border-radius: 5px;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;

    transition: .2s ease;
}

.header-button:hover {
    background: #0667b7;
}


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

.hero {
    min-height: 430px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;

    color: white;

    background:
        radial-gradient(
            circle at 82% 25%,
            rgba(24, 143, 225, .36),
            transparent 32%
        ),
        linear-gradient(
            115deg,
            #032643 0%,
            #06497d 63%,
            #0876ba 100%
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -90px;
    top: -165px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.13);
}

.hero::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: 85px;
    bottom: -190px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.09);
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 770px;
}

.eyebrow {
    display: inline-block;

    color: var(--blue);

    text-transform: uppercase;

    letter-spacing: 1.6px;

    font-size: 10px;
    font-weight: 800;
}

.hero .eyebrow,
.page-hero .eyebrow,
.contact-information .eyebrow,
.footer .eyebrow {
    color: #76c8ff;
}

.hero h1 {
    max-width: 780px;

    margin: 8px 0 13px;

    color: white;

    font-size: clamp(34px, 4vw, 45px);
    line-height: 1.08;

    font-weight: 750;

    letter-spacing: -.7px;
}

.hero p {
    max-width: 690px;

    margin: 0;

    color: #dbeaf4;

    font-size: 15.5px;
    line-height: 1.65;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.buttons {
    margin-top: 21px;
}

.button {
    display: inline-block;

    margin-top: 15px;
    margin-right: 7px;

    padding: 10px 16px;

    border: none;
    border-radius: 5px;

    background: var(--blue);
    color: white;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.button:hover {
    background: #0667b7;

    transform: translateY(-1px);
}

.button-outline {
    background: transparent;

    border: 1px solid rgba(255,255,255,.55);
}

.button-outline:hover {
    background: rgba(255,255,255,.1);
}


/* =========================================================
   HOMEPAGE STATISTICS
   ========================================================= */

.statistics {
    background: var(--navy);
    color: white;
}

.statistics-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);
}

.stat {
    padding: 15px 10px;

    text-align: center;

    border-right:
        1px solid rgba(255,255,255,.12);
}

.stat:last-child {
    border-right: none;
}

.stat strong {
    display: block;

    font-size: 19px;
    line-height: 1.25;

    font-weight: 750;
}

.stat span {
    display: block;

    margin-top: 2px;

    color: #c7d9e7;

    font-size: 9.5px;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 48px 0;
}

.section-light {
    background: var(--background);
}

.section-heading {
    margin-bottom: 21px;
}

.section-heading h2 {
    max-width: 780px;

    margin: 4px 0 6px;

    color: var(--navy);

    font-size: 27px;
    line-height: 1.22;

    letter-spacing: -.25px;
}

.section-heading p {
    max-width: 790px;

    margin: 0;

    color: var(--muted);

    font-size: 13.5px;
}


/* =========================================================
   GRID SYSTEM
   ========================================================= */

.grid-4 {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}

.grid-3 {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;
}

.grid-2 {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


/* =========================================================
   CARDS
   ========================================================= */

.card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 8px;

    padding: 18px;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.card:hover {
    transform: translateY(-3px);

    border-color: #cbdde9;

    box-shadow: var(--shadow-hover);
}

.card h3 {
    margin: 0 0 6px;

    color: var(--navy);

    font-size: 15.5px;
    line-height: 1.35;
}

.card p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
}

.service-number {
    margin-bottom: 8px;

    color: var(--blue);

    font-size: 9.5px;
    font-weight: 800;

    letter-spacing: 1px;
}

.service-list {
    margin: 10px 0 0;

    padding-left: 17px;

    color: var(--muted);

    font-size: 12.5px;
}

.service-list li {
    margin: 4px 0;
}


/* =========================================================
   INTERNAL PAGE HERO
   ========================================================= */

.page-hero {
    padding: 36px 0;

    color: white;

    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(27, 135, 214, .30),
            transparent 28%
        ),
        linear-gradient(
            110deg,
            var(--navy),
            #0a5d9b
        );
}

.page-hero h1 {
    margin: 4px 0 3px;

    color: white;

    font-size: 31px;
    line-height: 1.2;

    letter-spacing: -.3px;
}

.page-hero p {
    max-width: 720px;

    margin: 0;

    color: #d9e8f2;

    font-size: 13.5px;
}


/* =========================================================
   ABOUT PAGE
   ========================================================= */

.about-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(280px, .75fr);

    gap: 30px;

    align-items: start;
}

.about-layout p {
    color: var(--muted);
}

.about-layout strong {
    color: var(--navy);
}

.building-photo {
    width: 100%;
    height: 310px;

    object-fit: cover;

    border-radius: 9px;

    box-shadow: var(--shadow);
}

.photo-caption {
    margin-top: 6px;

    color: var(--muted);

    font-size: 10.5px;
}


/* =========================================================
   FOUNDER
   ========================================================= */

.founder-card {
    display: grid;

    grid-template-columns: 145px 1fr;

    gap: 23px;

    align-items: center;

    padding: 22px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 10px;

    box-shadow: var(--shadow);
}

.founder-image-wrapper {
    display: flex;

    align-items: center;
    justify-content: center;
}

.founder-image {
    width: 132px;
    height: 132px;

    border-radius: 50%;

    object-fit: cover;
    object-position: center 18%;

    border: 5px solid white;

    box-shadow:
        0 0 0 2px #dce8f0,
        0 8px 22px rgba(6,47,89,.16);
}

.founder-card h3 {
    margin: 2px 0 0;

    color: var(--navy);

    font-size: 20px;
}

.founder-role {
    margin: 1px 0 7px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 700;
}

.founder-card p {
    margin: 6px 0;

    color: var(--muted);

    font-size: 12.5px;
}


/* =========================================================
   GALLERY
   ========================================================= */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 10px;
}

.gallery-item {
    height: 205px;

    position: relative;

    overflow: hidden;

    border-radius: 8px;

    background: #e8eef3;
}

.gallery-item.large {
    grid-column: span 2;

    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;
}

.gallery-item:hover img {
    transform: scale(1.035);
}

.gallery-caption {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 34px 11px 9px;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,.78)
        );

    color: white;

    font-size: 10.5px;
    font-weight: 700;
}


/* =========================================================
   CLIENTS
   ========================================================= */

.clients-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 11px;
}

.client-box {
    min-height: 76px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 12px;

    text-align: center;

    background: white;

    color: var(--navy);

    border: 1px solid var(--border);

    border-radius: 7px;

    font-size: 12.5px;
    font-weight: 700;

    transition: .2s ease;
}

.client-box:hover {
    border-color: #bcd5e6;

    box-shadow: var(--shadow);

    transform: translateY(-2px);
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-layout {
    display: grid;

    grid-template-columns:
        minmax(280px, .8fr)
        minmax(0, 1.2fr);

    gap: 22px;
}

.contact-information {
    padding: 23px;

    background:
        linear-gradient(
            145deg,
            var(--navy-dark),
            var(--navy)
        );

    color: white;

    border-radius: 9px;
}

.contact-information h2 {
    margin: 4px 0 8px;

    font-size: 24px;
}

.contact-information h3 {
    color: white;

    font-size: 13px;
}

.contact-information p {
    color: #d4e3ed;

    font-size: 12.5px;
}

label {
    display: block;

    margin: 0 0 4px;

    color: var(--navy);

    font-size: 11px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;

    margin: 0 0 10px;

    padding: 10px 11px;

    border: 1px solid #ccd9e3;

    border-radius: 5px;

    background: white;

    color: var(--text);

    font-size: 12.5px;

    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 2px rgba(8,119,209,.08);
}

textarea {
    min-height: 115px;

    resize: vertical;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    padding: 30px 0 13px;

    background: var(--navy-dark);

    color: #c5d7e3;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    gap: 28px;
}

.footer-logo {
    width: auto;
    height: 55px;

    object-fit: contain;
}

.footer p {
    max-width: 430px;

    margin: 9px 0 0;

    color: #bcd0dd;

    font-size: 11.5px;
}

.footer h4 {
    margin: 0 0 7px;

    color: white;

    font-size: 12.5px;
}

.footer a {
    display: block;

    margin: 4px 0;

    color: #c5d7e3;

    font-size: 11.5px;
}

.footer a:hover {
    color: white;
}

.copyright {
    margin-top: 20px;

    padding-top: 11px;

    border-top:
        1px solid rgba(255,255,255,.10);

    color: #91a9b9;

    font-size: 9.5px;
}


/* =========================================================
   SMALL UTILITIES
   ========================================================= */

.muted {
    color: var(--muted);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .container {
        width: min(100% - 30px, 1160px);
    }

    .navigation {
        display: none;
    }

    .header {
        height: 67px;
    }

    .logo img {
        height: 51px;
    }

    .hero {
        min-height: 390px;
    }

    .hero h1 {
        font-size: 35px;
    }

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

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

    .statistics-grid {
        grid-template-columns:
            repeat(5,1fr);
    }

    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .building-photo {
        height: 360px;
    }

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

    .founder-card {
        grid-template-columns: 115px 1fr;
    }

    .founder-image {
        width: 105px;
        height: 105px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    body {
        font-size: 13px;
    }

    .container {
        width: calc(100% - 26px);
    }

    .topbar-inner {
        min-height: 28px;

        justify-content: center;

        text-align: center;
    }

    .topbar-inner span:last-child {
        display: none;
    }

    .header {
        height: 63px;
    }

    .logo img {
        height: 47px;
    }

    .header-button {
        margin-left: auto;

        padding: 8px 11px;

        font-size: 10px;
    }

    .hero {
        min-height: 365px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 13.5px;
    }

    .statistics-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .stat:nth-child(5) {
        grid-column: span 2;
    }

    .stat {
        border-bottom:
            1px solid rgba(255,255,255,.1);
    }

    .section {
        padding: 39px 0;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    .page-hero {
        padding: 30px 0;
    }

    .page-hero h1 {
        font-size: 27px;
    }

    .grid-4,
    .grid-3,
    .grid-2,
    .clients-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: auto;

        height: 220px;
    }

    .gallery-item {
        height: 220px;
    }

    .building-photo {
        height: 260px;
    }

    .founder-card {
        grid-template-columns: 1fr;

        text-align: center;

        padding: 20px;
    }

    .founder-image {
        width: 112px;
        height: 112px;

        margin: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

}


/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 390px) {

    .hero h1 {
        font-size: 27px;
    }

    .button {
        display: block;

        width: 100%;

        margin-right: 0;

        text-align: center;
    }

    .statistics-grid {
        grid-template-columns: 1fr;
    }

    .stat:nth-child(5) {
        grid-column: auto;
    }

}