/* =========================================================
   ALHAJ SECURITIES AND STOCKS LIMITED
   PROFESSIONAL CORPORATE WEBSITE
   MASTER STYLESHEET
   VERSION: 2026
========================================================= */


/* =========================================================
   01. ROOT VARIABLES
========================================================= */

:root {
    --maroon: #6f1625;
    --maroon-dark: #4d0e19;
    --maroon-light: #8c2637;

    --gold: #c9a227;
    --gold-light: #e0c45a;

    --teal: #27b9bb;
    --teal-dark: #049699;

    --dark: #20242a;
    --dark-light: #394047;

    --text: #4c5258;
    --text-light: #747b82;

    --white: #ffffff;
    --off-white: #f7f8f9;
    --light: #eef1f3;

    --border: #e2e5e8;
}


/* =========================================================
   02. RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family:
        "Inter",
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);
    background: off-white !important;

    font-size: 15px;
    line-height: 1.7;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   03. CONTAINER
========================================================= */

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}


/* =========================================================
   04. TOP INFORMATION BAR
========================================================= */

.top {
    background: var(--maroon-dark);
    color: rgba(255,255,255,0.90);

    border-bottom: 1px solid rgba(255,255,255,0.08);

    font-size: 11px;
    letter-spacing: 0.2px;
}

.top .container {
    min-height: 34px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.top a {
    color: var(--white);
    transition: var(--transition);
}

.top a:hover {
    color: var(--gold-light);
}


/* =========================================================
   05. HEADER
========================================================= */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255,255,255,0.98);

    border-bottom: 1px solid var(--border);

    box-shadow:
        0 3px 18px rgba(0,0,0,0.05);

    backdrop-filter: blur(10px);
}

.head {
    min-height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   06. BRAND / LOGO
========================================================= */

.brand {
    display: flex;
    align-items: center;

    gap: 14px;

    flex-shrink: 0;

    color: var(--dark);
}

.brand img {
    width: 112px;
    height: auto;

    object-fit: contain;

    transition: var(--transition);
}

.brand:hover img {
    transform: scale(1.02);
}

.brand div {
    display: flex;
    flex-direction: column;
}

.brand b {
    color: var(--maroon);

    font-size: 15px;
    line-height: 1.3;

    font-weight: 800;

    letter-spacing: 0.25px;
}

.brand small {
    margin-top: 4px;

    color: var(--text-light);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.25px;
}


/* =========================================================
   07. MAIN NAVIGATION
========================================================= */

.nav {
    display: flex;
    align-items: center;

    gap: 2px;
}

.nav a {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 88px;

    padding: 0 13px;

    color: var(--dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.25px;

    white-space: nowrap;

    transition: var(--transition);
}

.nav a::after {
    content: "";

    position: absolute;

    left: 13px;
    right: 13px;

    bottom: 22px;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--maroon),
            var(--gold)
        );

    transform: scaleX(0);
    transform-origin: center;

    transition:
        transform 0.25s ease;
}

.nav a:hover {
    color: var(--maroon);
}

.nav a:hover::after,
.nav a.active::after {
    transform: scaleX(1);
}

.nav a.active {
    color: var(--maroon);
}


/* CONTACT BUTTON */

.nav a.cta {
    margin-left: 7px;

    min-height: 42px;

    padding: 0 18px;

    border-radius: 4px;

    background: var(--maroon);

    color: var(--white);
}

.nav a.cta::after {
    display: none;
}

.nav a.cta:hover {
    background: var(--maroon-dark);

    color: var(--white);

    transform: translateY(-1px);
}


/* =========================================================
   08. MOBILE MENU BUTTON
========================================================= */

.menu {
    display: none;

    width: 44px;
    height: 44px;

    border: 1px solid var(--border);

    border-radius: 5px;

    background: var(--white);

    color: var(--maroon);

    font-size: 20px;

    align-items: center;
    justify-content: center;
}


/* =========================================================
   09. HOME HERO SLIDER
========================================================= */

.hero {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #111;
}

.slider {
    position: relative;

    width: 100%;

    overflow: hidden;
}


/* SLIDE */

.slide {
    position: relative;

    display: none;

    width: 100%;

    min-height: 570px;

    overflow: hidden;

    background: #111;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 570px;

    object-fit: cover;
    object-position: center;

    user-select: none;

    -webkit-user-drag: none;
}


/* DARK OVERLAY */

.slide::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.68) 0%,
            rgba(0,0,0,0.42) 38%,
            rgba(0,0,0,0.08) 75%,
            rgba(0,0,0,0.02) 100%
        );

    pointer-events: none;
}


/* =========================================================
   10. HERO CAPTION
========================================================= */

.caption {
    position: absolute;

    z-index: 5;

    left: max(4%, calc((100% - var(--container)) / 2));

    top: 50%;

    transform: translateY(-50%);

    width: min(650px, 82%);

    color: var(--white);
}

.caption small {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--gold-light);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}

.caption h1,
.caption h2 {
    margin-bottom: 15px;

    color: var(--white);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(32px, 4.3vw, 56px);

    line-height: 1.12;

    font-weight: 700;
}

.caption p {
    max-width: 590px;

    margin-bottom: 25px;

    color: rgba(255,255,255,0.90);

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   11. SLIDER BUTTONS
========================================================= */

.sbtn {
    position: absolute;

    top: 50%;

    z-index: 10;

    transform: translateY(-50%);

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.45);

    border-radius: 50%;

    background: rgba(0,0,0,0.38);

    color: var(--white);

    font-size: 30px;

    line-height: 1;

    transition: var(--transition);
}

.sbtn:hover {
    background: var(--maroon);

    border-color: var(--maroon);

    transform:
        translateY(-50%)
        scale(1.06);
}

.sbtn.prev {
    left: 25px;
}

.sbtn.next {
    right: 25px;
}


/* =========================================================
   12. SLIDER DOTS
========================================================= */

.dots {
    position: absolute;

    z-index: 15;

    left: 50%;
    bottom: 20px;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 8px;
}

.dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border: 1px solid rgba(255,255,255,0.85);

    border-radius: 50%;

    background: rgba(255,255,255,0.45);

    transition: var(--transition);
}

.dot:hover {
    background: var(--white);
}

.dot.active {
    width: 28px;

    border-radius: 10px;

    background: var(--white);
}


/* =========================================================
   13. GENERAL SECTION
========================================================= */

.section {
    padding: 85px 0;
}

.section.lightbg {
    background: var(--off-white);
}


/* =========================================================
   14. SECTION TITLE
========================================================= */

.title {
    max-width: 820px;

    margin: 0 auto 45px;

    text-align: center;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 9px;

    color: var(--maroon);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.title h2 {
    margin-bottom: 13px;

    color: var(--dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(27px, 3.5vw, 40px);

    line-height: 1.2;

    font-weight: 700;
}

.title p {
    max-width: 760px;

    margin: 0 auto;

    color: var(--text-light);

    font-size: 15px;
}


/* =========================================================
   15. GRID SYSTEM
========================================================= */

.grid2 {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 45px;

    align-items: center;
}

.grid3 {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* =========================================================
   16. CARD
========================================================= */

.card {
    position: relative;

    padding: 32px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);

    transition: var(--transition);

    overflow: hidden;
}

.card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--maroon),
            var(--gold)
        );

    transform: scaleX(0);

    transform-origin: left;

    transition:
        transform 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow);

    border-color:
        rgba(100,21,37,0.20);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    margin-bottom: 10px;

    color: var(--dark);

    font-size: 19px;

    line-height: 1.35;
}

.card p {
    color: var(--text-light);

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   17. CARD ICON
========================================================= */

.icon {
    width: 58px;
    height: 58px;

    margin-bottom: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        rgba(100,21,37,0.08);

    color: var(--maroon);

    font-size: 15px;

    font-weight: 900;

    letter-spacing: 0.5px;
}


/* =========================================================
   18. FEATURES
========================================================= */

.features {
    display: grid;

    gap: 13px;

    margin-top: 22px;
}

.feature {
    display: flex;

    align-items: flex-start;

    gap: 11px;

    color: var(--text);

    font-size: 14px;
}

.check {
    flex: 0 0 23px;

    width: 23px;
    height: 23px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(77,150,153,0.12);

    color: var(--teal-dark);

    font-size: 12px;
}


/* =========================================================
   19. ALHAJ TRADEX BOX
========================================================= */

.tradex {
    position: relative;

    overflow: hidden;

    padding: 48px;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            var(--maroon-dark),
            var(--maroon)
        );

    color: var(--white);

    box-shadow: var(--shadow-lg);
}

.tradex::after {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: -140px;
    top: -160px;

    border: 1px solid rgba(255,255,255,0.10);

    border-radius: 50%;
}

.tradex h2 {
    position: relative;

    z-index: 2;

    margin-bottom: 14px;

    color: var(--white);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(26px, 3.5vw, 40px);

    line-height: 1.2;
}

.tradex p {
    position: relative;

    z-index: 2;

    max-width: 800px;

    margin-bottom: 22px;

    color: rgba(255,255,255,0.88);

    font-size: 15px;
}


/* =========================================================
   20. BUTTONS
========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 23px;

    border: 1px solid var(--maroon);

    border-radius: 4px;

    color: var(--maroon);

    background: transparent;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.3px;

    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 6px 15px rgba(0,0,0,0.10);
}

.btn.primary {
    background: var(--gold);

    border-color: var(--gold);

    color: #241c08;
}

.btn.primary:hover {
    background: var(--gold-light);

    border-color: var(--gold-light);
}

.btn.light {
    background: var(--white);

    border-color: var(--white);

    color: var(--maroon);
}

.btn.light:hover {
    background: var(--gold-light);

    border-color: var(--gold-light);

    color: var(--dark);
}


/* =========================================================
   21. PAGE HERO
========================================================= */

.pagehero {
    position: relative;

    overflow: hidden;

    padding: 82px 0;

    background:
        linear-gradient(
            120deg,
            var(--maroon-dark),
            var(--maroon)
        );

    color: var(--white);
}

.pagehero::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: -150px;
    top: -220px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.045);
}

.pagehero::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    left: -130px;
    bottom: -170px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,0.08);
}

.pagehero .container {
    position: relative;

    z-index: 2;
}

.pagehero h1 {
    margin-bottom: 10px;

    color: var(--white);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(34px, 5vw, 56px);

    line-height: 1.15;
}

.pagehero p {
    color: rgba(255,255,255,0.86);

    font-size: 15px;
}


/* =========================================================
   22. CTA SECTION
========================================================= */

.cta {
    position: relative;

    overflow: hidden;

    padding: 65px 0;

    background:
        linear-gradient(
            120deg,
            #f4f0ef,
            #faf8f6
        );

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);
}

.cta::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -120px;
    top: -160px;

    border-radius: 50%;

    background:
        rgba(100,21,37,0.04);
}

.ctain {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.ctain h2 {
    margin-bottom: 8px;

    color: var(--dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(26px, 3vw, 38px);

    line-height: 1.2;
}

.ctain p {
    color: var(--text-light);

    font-size: 14px;
}


/* =========================================================
   23. FOOTER
========================================================= */

footer {
    background: #171a1e;

    color: #aeb4ba;

    padding-top: 60px;
}

.footgrid {
    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1fr
        1fr;

    gap: 35px;

    padding-bottom: 45px;
}

.footgrid > div:first-child {
    padding-right: 15px;
}

.footgrid h3 {
    position: relative;

    margin-bottom: 18px;

    padding-bottom: 10px;

    color: var(--white);

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 0.5px;
}

.footgrid h3::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 30px;
    height: 2px;

    background: var(--gold);
}

.footgrid p {
    color: #aeb4ba;

    font-size: 13px;

    line-height: 1.8;
}

.footgrid ul li {
    margin-bottom: 8px;
}

.footgrid ul a {
    color: #aeb4ba;

    font-size: 13px;

    transition: var(--transition);
}

.footgrid ul a:hover {
    color: var(--white);

    padding-left: 3px;
}


/* =========================================================
   24. SOCIAL ICONS
========================================================= */

.socials {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: 22px;
}

.social {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(255,255,255,0.15);

    border-radius: 50%;

    color: #d7dadd;

    font-size: 14px;

    font-weight: 700;

    transition: var(--transition);
}

.social:hover {
    background: var(--maroon);

    border-color: var(--maroon);

    color: var(--white);

    transform: translateY(-3px);
}


/* =========================================================
   25. FOOTER BOTTOM
========================================================= */

.bottom {
    min-height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid rgba(255,255,255,0.08);

    color: #858b91;

    font-size: 11px;
}

.bottom a {
    color: #aeb4ba;

    transition: var(--transition);
}

.bottom a:hover {
    color: var(--white);
}

.bottom b {
    color: var(--gold-light);
}


/* =========================================================
   26. TABLES
========================================================= */

.table-responsive {
    width: 100%;

    overflow-x: auto;
}

table {
    width: 100%;

    border-collapse: collapse;

    background: var(--white);
}

th,
td {
    padding: 13px 15px;

    text-align: left;

    border-bottom: 1px solid var(--border);

    font-size: 13px;
}

th {
    background: var(--maroon);

    color: var(--white);

    font-weight: 700;
}

tr:hover td {
    background: var(--off-white);
}


/* =========================================================
   27. FORMS
========================================================= */

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: var(--dark);

    font-size: 13px;

    font-weight: 700;
}

.form-control {
    width: 100%;

    min-height: 46px;

    padding: 10px 13px;

    border: 1px solid var(--border);

    border-radius: 4px;

    outline: none;

    background: var(--white);

    color: var(--text);

    font-size: 14px;

    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--maroon);

    box-shadow:
        0 0 0 3px
        rgba(100,21,37,0.08);
}

textarea.form-control {
    min-height: 130px;

    resize: vertical;
}


/* =========================================================
   28. ACCESSIBILITY
========================================================= */

:focus-visible {
    outline:
        2px solid var(--gold);

    outline-offset: 3px;
}


/* =========================================================
   29. SELECTION
========================================================= */

::selection {
    background: var(--maroon);

    color: var(--white);
}


/* =========================================================
   30. TABLET
========================================================= */

@media (max-width: 1100px) {

    .brand div {
        display: none;
    }

    .brand img {
        width: 115px;
    }

    .nav a {
        padding-left: 9px;
        padding-right: 9px;

        font-size: 10px;
    }

    .nav a.cta {
        padding-left: 13px;
        padding-right: 13px;
    }

    .grid3 {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }

    .footgrid {
        grid-template-columns:
            repeat(3, minmax(0,1fr));
    }

    .slide,
    .slide img {
        height: 520px;
        min-height: 520px;
    }
}


/* =========================================================
   31. MOBILE NAVIGATION
========================================================= */

@media (max-width: 900px) {

    .top .container {
        justify-content: center;

        text-align: center;

        min-height: 32px;
    }

    .head {
        min-height: 72px;
    }

    .menu {
        display: flex;
    }

    .nav {
        position: absolute;

        left: 0;
        right: 0;
        top: 100%;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 7px 0;

        background: var(--white);

        border-top: 1px solid var(--border);

        border-bottom: 1px solid var(--border);

        box-shadow:
            0 15px 30px rgba(0,0,0,0.12);
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        min-height: 46px;

        padding: 0 24px;

        justify-content: flex-start;

        font-size: 12px;
    }

    .nav a::after {
        display: none;
    }

    .nav a.cta {
        margin: 7px 18px;

        justify-content: center;
    }

    .grid2 {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .ctain {
        flex-direction: column;

        align-items: flex-start;
    }

    .slide,
    .slide img {
        height: 470px;

        min-height: 470px;
    }

    .caption {
        left: 6%;
        width: 80%;
    }

    .caption h1,
    .caption h2 {
        font-size: clamp(29px, 6vw, 43px);
    }

    .caption p {
        font-size: 14px;
    }
}


/* =========================================================
   32. MOBILE 650px
========================================================= */

@media (max-width: 650px) {

    body {
        font-size: 14px;
    }

    .container {
        width: 90%;
    }

    .top {
        font-size: 9px;
    }

    .top .container {
        min-height: 30px;

        flex-direction: column;

        gap: 0;
    }

    .brand img {
        width: 105px;
    }

    .head {
        min-height: 68px;
    }

    .slide,
    .slide img {
        height: 410px;

        min-height: 410px;
    }

    .caption {
        left: 7%;

        width: 78%;
    }

    .caption small {
        font-size: 9px;

        letter-spacing: 1.5px;
    }

    .caption h1,
    .caption h2 {
        margin-bottom: 10px;

        font-size: 29px;
    }

    .caption p {
        margin-bottom: 18px;

        font-size: 13px;

        line-height: 1.6;
    }

    .sbtn {
        width: 38px;
        height: 38px;

        font-size: 23px;
    }

    .sbtn.prev {
        left: 10px;
    }

    .sbtn.next {
        right: 10px;
    }

    .dots {
        bottom: 12px;
    }

    .section {
        padding: 60px 0;
    }

    .title {
        margin-bottom: 30px;
    }

    .title h2 {
        font-size: 28px;
    }

    .grid3 {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 27px 23px;
    }

    .tradex {
        padding: 35px 25px;
    }

    .tradex h2 {
        font-size: 28px;
    }

    .pagehero {
        padding: 60px 0;
    }

    .pagehero h1 {
        font-size: 36px;
    }

    .cta {
        padding: 55px 0;
    }

    .ctain {
        gap: 20px;
    }

    .ctain h2 {
        font-size: 29px;
    }

    .footgrid {
        grid-template-columns: 1fr;

        gap: 30px;

        padding-bottom: 35px;
    }

    .bottom {
        min-height: auto;

        padding: 20px 0;

        flex-direction: column;

        text-align: center;

        justify-content: center;
    }
}


/* =========================================================
   33. SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .brand img {
        width: 98px;
    }

    .menu {
        width: 40px;
        height: 40px;

        font-size: 18px;
    }

    .slide,
    .slide img {
        height: 350px;

        min-height: 350px;
    }

    .caption {
        width: 76%;
    }

    .caption h1,
    .caption h2 {
        font-size: 25px;
    }

    .caption p {
        display: none;
    }

    .btn {
        min-height: 42px;

        padding: 0 17px;

        font-size: 10px;
    }

    .sbtn {
        width: 34px;
        height: 34px;

        font-size: 20px;
    }

    .section {
        padding: 50px 0;
    }

    .title h2 {
        font-size: 25px;
    }

    .pagehero {
        padding: 50px 0;
    }

    .pagehero h1 {
        font-size: 31px;
    }

    .card {
        padding: 24px 20px;
    }
}


/* =========================================================
   34. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* =========================================================
   END OF ALHAJ MASTER STYLESHEET
========================================================= */