/* =========================================================
   ANNASHI ENTERPRISE
   GLOBAL WEBSITE STYLESHEET
   =========================================================

   Brand:
   ANNASHI ENTERPRISE

   Primary Colors:
   Navy  #182b49
   Gold  #d7b96d

   Architecture:
   - Shared styling for all pages
   - Responsive layout
   - Reusable components
   - No page-specific CSS required in HTML

   ========================================================= */


/* =========================================================
   01. DESIGN TOKENS
   ========================================================= */

:root {

    /* ---------- Brand Colors ---------- */

    --navy: #182b49;
    --navy-dark: #101f36;
    --navy-light: #243d63;

    --gold: #d7b96d;
    --gold-dark: #b08d3c;
    --gold-light: #eee1b8;


    /* ---------- Neutral Colors ---------- */

    --white: #ffffff;
    --off-white: #f7f8fa;
    --light-gray: #eef1f5;

    --gray-light: #d6dbe3;
    --gray: #6b7280;
    --gray-dark: #4b5563;

    --dark: #1f2937;
    --black: #111827;

    --border: #e5e7eb;


    /* ---------- Typography ---------- */

    --font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    --font-size-base: 16px;

    --line-height-base: 1.7;


    /* ---------- Layout ---------- */

    --container-width: 1180px;

    --header-height: 78px;


    /* ---------- Border Radius ---------- */

    --radius-small: 8px;
    --radius: 16px;
    --radius-large: 22px;


    /* ---------- Shadows ---------- */

    --shadow-soft:
        0 8px 25px rgba(24, 43, 73, 0.07);

    --shadow:
        0 12px 35px rgba(24, 43, 73, 0.10);

    --shadow-hover:
        0 18px 45px rgba(24, 43, 73, 0.16);


    /* ---------- Transitions ---------- */

    --transition-fast:
        0.2s ease;

    --transition:
        0.3s ease;

    --transition-slow:
        0.5s ease;
}


/* =========================================================
   02. RESET & BASE
   ========================================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}


body {
    margin: 0;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--dark);
    background: var(--white);
    text-rendering: optimizeLegibility;
}


body.menu-open {
    overflow: hidden;
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    cursor: pointer;
}


ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}


p {
    margin: 0;
}


::selection {
    background: var(--gold);
    color: var(--navy);
}


/* =========================================================
   03. ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 3px solid rgba(215, 185, 109, 0.75);
    outline-offset: 3px;
}


.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 9999;

    padding: 12px 18px;

    background: var(--navy);
    color: var(--white);

    border-radius: var(--radius-small);

    font-weight: 700;

    transition: var(--transition);
}


.skip-link:focus {
    top: 20px;
}


/* =========================================================
   04. GLOBAL CONTAINER
   ========================================================= */

.container {
    width: min(92%, var(--container-width));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   05. HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background:
        rgba(255, 255, 255, 0.97);

    border-bottom:
        1px solid rgba(24, 43, 73, 0.08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


.navbar {
    min-height: var(--header-height);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* ---------- Logo ---------- */

.logo {
    display: inline-flex;
    align-items: center;

    flex-shrink: 0;

    transition:
        transform var(--transition);
}


.logo:hover {
    transform: translateY(-1px);
}


.logo img {
    width: 150px;
    height: auto;
}


/* ---------- Navigation ---------- */

.nav-menu {
    display: flex;
    align-items: center;

    gap: 3px;
}


.nav-menu a {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 44px;

    padding: 8px 13px;

    color: var(--navy);

    font-size: 0.91rem;
    font-weight: 600;

    transition:
        color var(--transition),
        background var(--transition);
}


.nav-menu a::after {
    content: "";

    position: absolute;

    left: 13px;
    right: 13px;
    bottom: 3px;

    height: 2px;

    background: var(--gold-dark);

    transform:
        scaleX(0);

    transform-origin: center;

    transition:
        transform var(--transition);
}


.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold-dark);
}


.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}


/* ---------- Navigation CTA ---------- */

.nav-menu .nav-cta {
    margin-left: 7px;

    padding:
        10px 18px;

    border-radius:
        var(--radius-small);

    background:
        var(--navy);

    color:
        var(--white);
}


.nav-menu .nav-cta::after {
    display: none;
}


.nav-menu .nav-cta:hover,
.nav-menu .nav-cta.active {
    background:
        var(--gold-dark);

    color:
        var(--white);
}


/* ---------- Mobile Menu Button ---------- */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: var(--radius-small);

    background: transparent;
    color: var(--navy);

    font-size: 1.65rem;
    line-height: 1;

    transition:
        background var(--transition),
        color var(--transition);
}


.menu-toggle:hover {
    background: var(--off-white);
}


.menu-toggle[aria-expanded="true"] {
    background: var(--navy);
    color: var(--white);
}


/* =========================================================
   06. GLOBAL TYPOGRAPHY
   ========================================================= */

.eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--gold-dark);

    font-size: 0.77rem;
    font-weight: 800;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}


.section-heading {
    max-width: 740px;

    margin-bottom: 42px;
}


.section-heading.center {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}


.section-heading h2 {
    margin-bottom: 14px;

    color: var(--navy);

    font-size:
        clamp(2rem, 4vw, 3rem);

    line-height: 1.2;
}


.section-heading p {
    color: var(--gray);

    font-size: 1rem;
}


.section-navy .section-heading h2,
.section-navy .section-heading p {
    color: var(--white);
}


/* =========================================================
   07. BUTTON SYSTEM
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 48px;

    padding:
        12px 22px;

    border:
        2px solid transparent;

    border-radius:
        var(--radius-small);

    font-weight: 700;
    line-height: 1.2;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}


.btn:hover {
    transform: translateY(-2px);
}


.btn:active {
    transform: translateY(0);
}


/* ---------- Primary ---------- */

.btn-primary {
    background: var(--gold);
    color: var(--navy);

    box-shadow:
        0 7px 18px rgba(176, 141, 60, 0.15);
}


.btn-primary:hover {
    background: var(--gold-light);
    color: var(--navy);

    box-shadow:
        0 10px 24px rgba(176, 141, 60, 0.20);
}


/* ---------- Secondary ---------- */

.btn-secondary {
    background: transparent;

    color: var(--white);

    border-color:
        rgba(255, 255, 255, 0.65);
}


.btn-secondary:hover {
    background: var(--white);
    color: var(--navy);

    border-color: var(--white);
}


/* ---------- Navy Outline ---------- */

.btn-outline {
    background: transparent;

    color: var(--navy);

    border-color: var(--navy);
}


.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}


/* ---------- Gold Outline ---------- */

.btn-gold-outline {
    background: transparent;

    color: var(--gold-dark);

    border-color: var(--gold-dark);
}


.btn-gold-outline:hover {
    background: var(--gold-dark);
    color: var(--white);
}


/* =========================================================
   08. HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 680px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(16, 31, 54, 0.96),
            rgba(24, 43, 73, 0.82),
            rgba(24, 43, 73, 0.38)
        ),
        url("../images/about-background.jpg")
        center center / cover
        no-repeat;
}


.hero-content {
    position: relative;
    z-index: 2;

    max-width: 780px;

    padding:
        90px 0;

    color: var(--white);
}


.hero-content .eyebrow {
    color: var(--gold);
}


.hero h1 {
    margin-bottom: 22px;

    color: var(--white);

    font-size:
        clamp(2.7rem, 6vw, 5rem);

    line-height: 1.05;

    letter-spacing: -0.025em;
}


.hero h1 span {
    color: var(--gold);
}


.hero p {
    max-width: 690px;

    margin-bottom: 32px;

    color:
        rgba(255, 255, 255, 0.88);

    font-size: 1.1rem;
}


.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


/* =========================================================
   09. INNER PAGE HERO
   ========================================================= */

.page-hero {
    position: relative;

    min-height: 360px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(16, 31, 54, 0.87),
            rgba(24, 43, 73, 0.87)
        ),
        url("../images/about-background.jpg")
        center center / cover
        no-repeat;
}


.page-hero-content {
    max-width: 820px;

    color: var(--white);
}


.page-hero .eyebrow {
    color: var(--gold);
}


.page-hero h1 {
    margin-bottom: 14px;

    color: var(--white);

    font-size:
        clamp(2.3rem, 5vw, 4rem);

    line-height: 1.1;
}


.page-hero p {
    max-width: 700px;

    color:
        rgba(255, 255, 255, 0.86);

    font-size: 1rem;
}


/* =========================================================
   10. GLOBAL SECTIONS
   ========================================================= */

.section {
    padding:
        90px 0;
}


.section-light {
    background:
        var(--off-white);
}


.section-white {
    background:
        var(--white);
}


.section-navy {
    background:
        var(--navy);

    color:
        var(--white);
}


.section-gold {
    background:
        linear-gradient(
            135deg,
            var(--gold),
            #e6d39a
        );
}


/* =========================================================
   11. INTRODUCTION / COMPANY OVERVIEW
   ========================================================= */

.intro-grid {
    display: grid;

    grid-template-columns:
        1fr 1.15fr;

    gap: 60px;

    align-items: center;
}


.intro-image {
    position: relative;

    overflow: hidden;

    border-radius:
        var(--radius);

    background:
        var(--light-gray);

    box-shadow:
        var(--shadow);
}


.intro-image::after {
    content: "";

    position: absolute;

    inset: 0;

    border:
        1px solid rgba(255, 255, 255, 0.18);

    border-radius:
        inherit;

    pointer-events: none;
}


.intro-image img {
    width: 100%;

    height: 100%;

    object-fit: contain;

    transition:
        transform var(--transition-slow);
}


.intro-image:hover img {
    transform:
        scale(1.025);
}


.intro-content h2 {
    margin-bottom: 18px;

    color: var(--navy);

    font-size:
        clamp(2rem, 4vw, 3rem);

    line-height: 1.2;
}


.intro-content p {
    margin-bottom: 17px;

    color: var(--gray);
}


/* =========================================================
   12. SERVICE CARDS
   ========================================================= */

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


.service-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 100%;

    padding: 32px;

    overflow: hidden;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


.service-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--navy),
            var(--gold)
        );

    transform:
        scaleX(0);

    transform-origin: left;

    transition:
        transform var(--transition);
}


.service-card:hover {
    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow-hover);

    border-color:
        rgba(176, 141, 60, 0.4);
}


.service-card:hover::before {
    transform:
        scaleX(1);
}


.service-number {
    display: block;

    margin-bottom: 20px;

    color: var(--gold-dark);

    font-size: 0.77rem;
    font-weight: 800;

    letter-spacing: 0.12em;
}


.service-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin-bottom: 20px;

    border-radius:
        14px;

    background:
        var(--navy);

    color:
        var(--gold);

    font-size:
        1.45rem;

    font-weight:
        800;

    box-shadow:
        0 8px 20px rgba(24, 43, 73, 0.14);
}


.service-card h3 {
    margin-bottom: 12px;

    color: var(--navy);

    font-size:
        1.35rem;
}


.service-card p {
    margin-bottom: 22px;

    color: var(--gray);
}


.service-card .service-link {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    margin-top: auto;

    color:
        var(--gold-dark);

    font-weight:
        700;

    transition:
        color var(--transition),
        gap var(--transition);
}


.service-card .service-link:hover {
    color:
        var(--navy);

    gap:
        9px;
}


/* =========================================================
   13. FEATURE LIST
   ========================================================= */

.feature-list {
    display: grid;

    gap: 11px;

    margin:
        8px 0 28px;
}


.feature-list li {
    position: relative;

    padding-left:
        27px;

    color:
        var(--gray);

    font-size:
        0.92rem;
}


.feature-list li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 0;

    color:
        var(--gold-dark);

    font-weight:
        900;
}


/* =========================================================
   14. FOUNDER SECTION
   ========================================================= */

.founder-grid {
    display: grid;

    grid-template-columns:
        380px 1fr;

    gap: 60px;

    align-items: center;
}


.founder-photo {
    position: relative;

    overflow: hidden;

    border-radius:
        var(--radius);

    background:
        var(--light-gray);

    box-shadow:
        var(--shadow);
}


.founder-photo::after {
    content: "";

    position: absolute;

    inset: 0;

    border:
        1px solid rgba(255, 255, 255, 0.2);

    border-radius:
        inherit;

    pointer-events: none;
}


.founder-photo img {
    width: 100%;

    aspect-ratio:
        4 / 5;

    object-fit: cover;

    transition:
        transform var(--transition-slow);
}


.founder-photo:hover img {
    transform:
        scale(1.02);
}


.founder-content h2 {
    margin-bottom: 7px;

    color:
        var(--navy);

    font-size:
        2.2rem;
}


.founder-role {
    margin-bottom: 22px;

    color:
        var(--gold-dark);

    font-weight:
        800;
}


.founder-content p {
    margin-bottom: 16px;

    color:
        var(--gray);
}


/* =========================================================
   15. MISSION & VISION
   ========================================================= */

.mv-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 24px;
}


.mv-card {
    position: relative;

    padding: 38px;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);

    overflow: hidden;
}


.mv-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    background:
        linear-gradient(
            var(--navy),
            var(--gold)
        );
}


.mv-card h3 {
    margin-bottom: 15px;

    color:
        var(--navy);

    font-size:
        1.55rem;
}


.mv-card p {
    color:
        var(--gray);
}


/* =========================================================
   16. VALUES
   ========================================================= */

.values-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.value-card {
    padding: 28px;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


.value-card:hover {
    transform:
        translateY(-4px);

    box-shadow:
        var(--shadow);

    border-color:
        rgba(176, 141, 60, 0.35);
}


.value-card h3 {
    margin-bottom: 9px;

    color:
        var(--navy);

    font-size:
        1.12rem;
}


.value-card p {
    color:
        var(--gray);

    font-size:
        0.93rem;
}


/* =========================================================
   17. SERVICE AREAS
   ========================================================= */

.service-area {
    position: relative;

    padding: 45px;

    margin-bottom: 28px;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);

    overflow: hidden;
}


.service-area:last-child {
    margin-bottom: 0;
}


.service-area::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    background:
        linear-gradient(
            var(--navy),
            var(--gold)
        );
}


.service-area-header {
    display: grid;

    grid-template-columns:
        80px 1fr;

    gap: 25px;

    align-items: start;

    margin-bottom: 30px;
}


.service-area-number {
    color:
        var(--gold-dark);

    font-size:
        1rem;

    font-weight:
        900;

    letter-spacing:
        0.08em;
}


.service-area h2 {
    margin-bottom: 10px;

    color:
        var(--navy);

    font-size:
        2rem;
}


.service-area-header p {
    max-width:
        780px;

    color:
        var(--gray);
}


.service-items {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;
}


.service-item {
    padding:
        18px 20px;

    border-radius:
        var(--radius-small);

    background:
        var(--off-white);

    border-left:
        3px solid var(--gold);

    transition:
        background var(--transition),
        transform var(--transition);
}


.service-item:hover {
    background:
        #f1f3f6;

    transform:
        translateX(3px);
}


.service-item h3 {
    margin-bottom: 4px;

    color:
        var(--navy);

    font-size:
        1rem;
}


.service-item p {
    color:
        var(--gray);

    font-size:
        0.9rem;
}


/* =========================================================
   18. STATS / PROCESS CARDS
   ========================================================= */

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.stat-card {
    padding:
        28px 20px;

    text-align:
        center;

    border:
        1px solid rgba(255, 255, 255, 0.13);

    border-radius:
        var(--radius);

    background:
        rgba(255, 255, 255, 0.05);

    transition:
        background var(--transition),
        transform var(--transition);
}


.stat-card:hover {
    background:
        rgba(255, 255, 255, 0.09);

    transform:
        translateY(-3px);
}


.stat-card strong {
    display: block;

    margin-bottom: 5px;

    color:
        var(--gold);

    font-size:
        1.7rem;
}


.stat-card span {
    color:
        rgba(255, 255, 255, 0.72);

    font-size:
        0.9rem;
}


/* =========================================================
   19. CTA SECTION
   ========================================================= */

.cta {
    padding:
        75px 0;

    background:
        linear-gradient(
            135deg,
            rgba(24, 43, 73, 0.98),
            rgba(36, 61, 99, 0.96)
        );

    color:
        var(--white);
}


.cta-content {
    max-width:
        800px;

    margin:
        0 auto;

    text-align:
        center;
}


.cta .eyebrow {
    color:
        var(--gold);
}


.cta h2 {
    margin-bottom:
        15px;

    color:
        var(--white);

    font-size:
        clamp(2rem, 4vw, 3rem);
}


.cta p {
    margin-bottom:
        28px;

    color:
        rgba(255, 255, 255, 0.78);
}


/* =========================================================
   20. CONTACT PAGE
   ========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap:
        30px;

    align-items:
        start;
}


.contact-card,
.form-card {
    padding:
        35px;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);
}


.contact-card h2,
.form-card h2 {
    margin-bottom:
        12px;

    color:
        var(--navy);
}


.contact-card > p {
    margin-bottom:
        25px;

    color:
        var(--gray);
}


/* ---------- Contact Details ---------- */

.contact-detail {
    padding:
        17px 0;

    border-bottom:
        1px solid var(--border);
}


.contact-detail:last-child {
    border-bottom:
        0;
}


.contact-detail strong {
    display:
        block;

    margin-bottom:
        3px;

    color:
        var(--navy);
}


.contact-detail span,
.contact-detail a {
    color:
        var(--gray);
}


.contact-detail a {
    transition:
        color var(--transition);
}


.contact-detail a:hover {
    color:
        var(--gold-dark);
}


/* =========================================================
   21. FORM SYSTEM
   ========================================================= */

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        20px;
}


.form-group {
    margin-bottom:
        19px;
}


.form-group.full {
    grid-column:
        1 / -1;
}


.form-group label {
    display:
        block;

    margin-bottom:
        7px;

    color:
        var(--navy);

    font-size:
        0.9rem;

    font-weight:
        700;
}


.form-group input,
.form-group select,
.form-group textarea {
    width:
        100%;

    padding:
        13px 14px;

    border:
        1px solid var(--gray-light);

    border-radius:
        var(--radius-small);

    background:
        var(--white);

    color:
        var(--dark);

    outline:
        none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color:
        #9ca3af;
}


.form-group textarea {
    min-height:
        145px;

    resize:
        vertical;
}


.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color:
        #b9c0ca;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color:
        var(--gold-dark);

    box-shadow:
        0 0 0 3px rgba(215, 185, 109, 0.18);

    background:
        var(--white);
}


/* ---------- Selected Service ---------- */

.selected-service {
    display:
        none;

    margin-bottom:
        20px;

    padding:
        13px 16px;

    border-radius:
        var(--radius-small);

    background:
        #f8f3e7;

    border-left:
        4px solid var(--gold-dark);

    color:
        var(--navy);

    font-size:
        0.9rem;
}


.selected-service.visible {
    display:
        block;
}


/* ---------- Checkbox ---------- */

.checkbox-group {
    display:
        flex;

    align-items:
        flex-start;

    gap:
        10px;

    margin-bottom:
        20px;
}


.checkbox-group input {
    width:
        17px;

    height:
        17px;

    flex:
        0 0 auto;

    margin-top:
        4px;

    accent-color:
        var(--navy);
}


.checkbox-group label {
    color:
        var(--gray);

    font-size:
        0.86rem;

    line-height:
        1.55;
}


.checkbox-group a {
    color:
        var(--gold-dark);

    font-weight:
        600;
}


.checkbox-group a:hover {
    text-decoration:
        underline;
}


/* ---------- Form Disclaimer ---------- */

.form-disclaimer {
    color:
        var(--gray);

    font-size:
        0.78rem;

    line-height:
        1.5;
}




/* =========================================================
   22A. FORM STATUS MESSAGES
   ========================================================= */

.form-message {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: var(--radius-small);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    line-height: 1.55;
}

.form-success {
    background: #f4f8f3;
    border-color: #cbdcc8;
    color: #31532d;
}


/* =========================================================
   22. FAQ
   ========================================================= */

.faq-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        20px;
}


.faq-item {
    padding:
        25px;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-small);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.faq-item:hover {
    transform:
        translateY(-3px);

    box-shadow:
        var(--shadow-soft);
}


.faq-item h3 {
    margin-bottom:
        8px;

    color:
        var(--navy);

    font-size:
        1rem;
}


.faq-item p {
    color:
        var(--gray);

    font-size:
        0.9rem;
}


/* =========================================================
   23. FOOTER
   ========================================================= */

.site-footer {
    background:
        var(--navy-dark);

    color:
        var(--white);
}


.footer-main {
    display:
        grid;

    grid-template-columns:
        1.4fr 1fr 1fr 1fr;

    gap:
        45px;

    padding:
        65px 0 45px;
}


/* ---------- Footer Brand ---------- */

.footer-brand img {
    width:
        150px;

    margin-bottom:
        18px;
}


.footer-brand p {
    max-width:
        340px;

    color:
        rgba(255, 255, 255, 0.63);

    font-size:
        0.9rem;
}


/* ---------- Footer Columns ---------- */

.footer-column h3 {
    margin-bottom:
        17px;

    color:
        var(--gold);

    font-size:
        0.95rem;
}


.footer-column li {
    margin-bottom:
        9px;
}


.footer-column a {
    color:
        rgba(255, 255, 255, 0.67);

    font-size:
        0.88rem;

    transition:
        color var(--transition);
}


.footer-column a:hover {
    color:
        var(--gold);
}


/* ---------- Footer Bottom ---------- */

.footer-bottom {
    padding:
        20px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.1);

    color:
        rgba(255, 255, 255, 0.52);

    font-size:
        0.8rem;
}


.footer-bottom-inner {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;
}


/* =========================================================
   24. UTILITY CLASSES
   ========================================================= */

.text-center {
    text-align:
        center;
}


.text-left {
    text-align:
        left;
}


.text-right {
    text-align:
        right;
}


.mt-10 {
    margin-top:
        10px;
}


.mt-20 {
    margin-top:
        20px;
}


.mt-30 {
    margin-top:
        30px;
}


.mt-40 {
    margin-top:
        40px;
}


.mb-10 {
    margin-bottom:
        10px;
}


.mb-20 {
    margin-bottom:
        20px;
}


.mb-30 {
    margin-bottom:
        30px;
}


.mb-40 {
    margin-bottom:
        40px;
}


.no-margin {
    margin:
        0 !important;
}




/* =========================================================
   24. ANNASHI MARKETPLACE
   ========================================================= */

/*
   The Marketplace is intentionally styled as a curated
   advertising, listings, and partner directory rather than
   a full e-commerce platform.
*/


/* ---------- Shared Advertisement Bar ---------- */

.shared-advertisement-bar {
    position: relative;
    z-index: 20;
    padding: 14px 0;
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
}

.advertisement-carousel-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: stretch;
    gap: 10px;
}

.advertisement-carousel {
    display: flex;
    align-items: stretch;
    gap: 16px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 10px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
}

.advertisement-carousel::-webkit-scrollbar {
    height: 6px;
}

.advertisement-carousel::-webkit-scrollbar-track {
    background: transparent;
}

.advertisement-carousel::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 999px;
}

.advertisement-control {
    align-self: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: var(--shadow-soft);
    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}

.advertisement-control:hover {
    transform: translateY(-2px);
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.advertisement-card {
    flex: 0 0 300px;
    min-height: 138px;
    display: grid;
    grid-template-columns: 120px 1fr;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.advertisement-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(176, 141, 60, 0.45);
}

.advertisement-card img {
    width: 100%;
    height: 100%;
    min-height: 138px;
    object-fit: cover;
}

.advertisement-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
}

.advertisement-card-category,
.archive-category,
.product-category {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--gold-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.advertisement-card-title {
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.3;
}

.marketplace-image-placeholder,
.partner-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 138px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--navy-light)
        );
    color: var(--gold);
    font-weight: 900;
    letter-spacing: 0.14em;
}


/* ---------- Marketplace Page Sections ---------- */

.marketplace-section {
    position: relative;
}

.marketplace-section + .marketplace-section {
    border-top: 1px solid var(--border);
}

.marketplace-section .section-heading {
    margin-bottom: 32px;
}


/* ---------- Advertisement Detail ---------- */

.advertisement-detail {
    display: none;
    margin-top: 30px;
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.advertisement-detail.active {
    display: block;
}

.advertisement-detail-content {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
    gap: 35px;
    align-items: center;
}

.advertisement-detail-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--radius-small);
    background: var(--light-gray);
}

.advertisement-detail-category {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--gold-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.advertisement-detail-date {
    display: block;
    margin-bottom: 12px;
    color: var(--gray);
    font-size: 0.85rem;
}

.advertisement-detail-content h2,
.advertisement-detail-title {
    margin-bottom: 14px;
    color: var(--navy);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.advertisement-detail-description {
    margin-bottom: 24px;
    color: var(--gray);
}

.advertisement-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.advertisement-back-btn {
    cursor: pointer;
}


/* ---------- Advertisement Archive ---------- */

.advertisement-archive-list {
    display: grid;
    gap: 14px;
}

.archive-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 15px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.archive-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(176, 141, 60, 0.35);
}

.archive-image {
    width: 110px;
    height: 76px;
    object-fit: cover;
    border-radius: var(--radius-small);
    background: var(--light-gray);
}

.archive-item .marketplace-image-placeholder {
    width: 110px;
    height: 76px;
    min-height: 76px;
    border-radius: var(--radius-small);
}

.archive-content h3 {
    margin-bottom: 4px;
    color: var(--navy);
    font-size: 1rem;
}

.archive-date {
    color: var(--gray);
    font-size: 0.8rem;
}

.archive-view-btn {
    width: auto;
    min-width: 100px;
}


/* ---------- Empty States ---------- */

.marketplace-empty-state {
    width: 100%;
    padding: 38px 28px;
    text-align: center;
    background: var(--off-white);
    border: 1px dashed var(--gray-light);
    border-radius: var(--radius);
}

.marketplace-empty-state h3 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 1.2rem;
}

.marketplace-empty-state p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--gray);
    font-size: 0.9rem;
}


/* ---------- Product Search & Filters ---------- */

.marketplace-product-tools {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 30px;
}

.product-search {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-small);
    background: var(--white);
    color: var(--dark);
    outline: none;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.product-search:hover {
    border-color: #b9c0ca;
}

.product-search:focus {
    border-color: var(--gold-dark);
    box-shadow:
        0 0 0 3px rgba(215, 185, 109, 0.18);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-filter {
    min-height: 42px;
    padding: 8px 15px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 700;
    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}

.category-filter:hover,
.category-filter.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}


/* ---------- Product Grid ---------- */

.product-grid,
#product-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.marketplace-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.marketplace-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(176, 141, 60, 0.4);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--light-gray);
}

.product-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.marketplace-product-card:hover .product-image {
    transform: scale(1.025);
}

.product-image-wrapper .marketplace-image-placeholder {
    height: 230px;
    min-height: 230px;
}

.product-status {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 800;
    box-shadow: var(--shadow-soft);
}

.product-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 23px;
}

.product-card-content h3 {
    margin-bottom: 9px;
    color: var(--navy);
    font-size: 1.15rem;
    line-height: 1.3;
}

.product-price {
    margin-bottom: 6px;
    color: var(--gold-dark);
    font-size: 1.2rem;
    font-weight: 800;
}

.product-location {
    margin-bottom: 13px;
    color: var(--gray);
    font-size: 0.82rem;
}

.product-short-description {
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 0.88rem;
}

.product-details-btn {
    width: 100%;
    margin-top: auto;
}


/* ---------- Product Detail Modal ---------- */

.product-detail-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 30px;
    overflow-y: auto;
    background: rgba(16, 31, 54, 0.72);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--transition),
        visibility var(--transition);
}

.product-detail-panel.active {
    opacity: 1;
    visibility: visible;
}

.product-detail-panel-inner {
    position: relative;
    width: min(100%, 1000px);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 38px;
    background: var(--white);
    border-radius: var(--radius-large);
    box-shadow: 0 25px 70px rgba(16, 31, 54, 0.28);
    transform: translateY(15px);
    transition: transform var(--transition);
}

.product-detail-panel.active .product-detail-panel-inner {
    transform: translateY(0);
}

.product-detail-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--off-white);
    color: var(--navy);
    font-size: 1.5rem;
    line-height: 1;
    transition:
        background var(--transition),
        color var(--transition);
}

.product-detail-close:hover {
    background: var(--navy);
    color: var(--white);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) 1.05fr;
    gap: 35px;
    align-items: start;
}

.product-detail-image {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--light-gray);
}

.product-detail-layout .marketplace-image-placeholder {
    min-height: 360px;
    border-radius: var(--radius);
}

.product-detail-information h2 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.product-detail-description {
    margin: 20px 0;
    color: var(--gray);
}

.product-detail-specifications {
    display: grid;
    gap: 10px;
    margin-bottom: 25px;
    padding: 18px;
    background: var(--off-white);
    border-radius: var(--radius-small);
}

.product-detail-specifications p {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.product-detail-specifications strong {
    color: var(--navy);
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-detail-actions .btn {
    width: auto;
}

.marketplace-modal-open {
    overflow: hidden;
}


/* ---------- Marketplace Information Boxes ---------- */

.marketplace-information-box {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 24px;
    background: #f8f3e7;
    border: 1px solid rgba(176, 141, 60, 0.25);
    border-radius: var(--radius);
}

.marketplace-information-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--navy);
    color: var(--gold);
    font-size: 1.15rem;
    font-weight: 800;
}

.marketplace-information-box h3 {
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 1.05rem;
}

.marketplace-information-box p {
    color: var(--gray-dark);
    font-size: 0.9rem;
}


/* ---------- Partner Cards ---------- */

.business-partner-grid,
.school-partner-grid,
#business-partner-grid,
#school-partner-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.partner-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 24px;
    align-items: stretch;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(176, 141, 60, 0.4);
}

.partner-image {
    min-height: 100%;
    overflow: hidden;
    background: var(--light-gray);
}

.partner-image img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: contain;
}

.partner-image .partner-image-placeholder {
    min-height: 220px;
}

.partner-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 27px 27px 27px 0;
}

.partner-content h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 1.25rem;
}

.partner-content p {
    margin-bottom: 10px;
    color: var(--gray);
    font-size: 0.88rem;
}

.partner-content .btn {
    width: auto;
    margin-top: 10px;
}

.school-partner-card .partner-content .eyebrow {
    color: var(--gold-dark);
}


/* ---------- Marketplace Anchor Offset ---------- */

#advertisements,
#products,
#partners,
#business-partners,
#school-partners {
    scroll-margin-top: 100px;
}


/* =========================================================
   25. RESPONSIVE - MARKETPLACE
   ========================================================= */

@media (max-width: 1100px) {

    .product-grid,
    #product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .business-partner-grid,
    .school-partner-grid,
    #business-partner-grid,
    #school-partner-grid {
        grid-template-columns: 1fr;
    }

    .partner-card {
        grid-template-columns: 135px 1fr;
    }

}


@media (max-width: 850px) {

    .advertisement-card {
        flex-basis: 285px;
        grid-template-columns: 105px 1fr;
    }

    .advertisement-detail-content,
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .advertisement-detail-image {
        max-height: 400px;
    }

    .product-detail-panel {
        padding: 18px;
    }

    .product-detail-panel-inner {
        max-height: calc(100vh - 36px);
        padding: 30px 24px 24px;
    }

    .marketplace-product-tools {
        grid-template-columns: 1fr;
    }

    .partner-card {
        grid-template-columns: 120px 1fr;
    }

}


@media (max-width: 600px) {

    .shared-advertisement-bar {
        padding: 10px 0;
    }

    .advertisement-carousel-wrapper {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        gap: 6px;
    }

    .advertisement-control {
        width: 36px;
        min-width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .advertisement-card {
        flex-basis: 270px;
        min-height: 118px;
        grid-template-columns: 92px 1fr;
    }

    .advertisement-card img {
        min-height: 118px;
    }

    .advertisement-card-content {
        padding: 14px;
    }

    .advertisement-card-title {
        font-size: 0.92rem;
    }

    .advertisement-detail {
        padding: 20px;
    }

    .advertisement-detail-actions {
        flex-direction: column;
    }

    .advertisement-detail-actions .btn {
        width: 100%;
    }

    .archive-item {
        grid-template-columns: 82px 1fr;
        gap: 14px;
    }

    .archive-image,
    .archive-item .marketplace-image-placeholder {
        width: 82px;
        height: 65px;
        min-height: 65px;
    }

    .archive-view-btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .product-grid,
    #product-grid {
        grid-template-columns: 1fr;
    }

    .category-filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .category-filter {
        width: 100%;
    }

    .product-detail-panel-inner {
        padding: 28px 18px 18px;
        border-radius: var(--radius);
    }

    .product-detail-image {
        max-height: 330px;
    }

    .product-detail-layout .marketplace-image-placeholder {
        min-height: 260px;
    }

    .product-detail-actions {
        flex-direction: column;
    }

    .product-detail-actions .btn {
        width: 100%;
    }

    .marketplace-information-box {
        flex-direction: column;
    }

    .partner-card {
        grid-template-columns: 1fr;
    }

    .partner-image {
        min-height: 190px;
    }

    .partner-image img,
    .partner-image .partner-image-placeholder {
        min-height: 190px;
        height: 190px;
    }

    .partner-content {
        padding: 0 22px 24px;
    }

    .partner-content .btn {
        width: 100%;
    }

}


@media (max-width: 380px) {

    .advertisement-card {
        flex-basis: 245px;
        grid-template-columns: 80px 1fr;
    }

    .category-filters {
        grid-template-columns: 1fr;
    }

}




/* =========================================================
   24A. ORIGINAL MARKETPLACE STRUCTURE
   ========================================================= */

/*
   Layout follows the original Marketplace concept:
   - advertisement strip across the top
   - product/listing area on the left
   - business-partner area on the right
   - advertisement archive underneath
*/


/* ---------- Marketplace Advertisement Header ---------- */

.marketplace-advertisement-area {
    position: sticky;
    top: var(--header-height);
    z-index: 900;
    padding: 18px 0 16px;
    background: rgba(247, 248, 250, 0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.marketplace-advertisement-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 20px;
    align-items: end;
    margin-bottom: 14px;
}

.marketplace-advertisement-heading .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 4px;
}

.marketplace-advertisement-heading h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.35rem, 2.3vw, 2rem);
    line-height: 1.15;
}

.marketplace-advertisement-heading p {
    max-width: 560px;
    margin: 0;
    color: var(--gray);
    font-size: 0.82rem;
}


/* ---------- Main Two-Column Marketplace ---------- */

.marketplace-main-section {
    padding: 55px 0 70px;
    background: var(--white);
}

.marketplace-main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.85fr);
    gap: 34px;
    align-items: start;
}

.marketplace-products-column {
    min-width: 0;
}

.marketplace-partners-column {
    min-width: 0;
    position: sticky;
    top: calc(var(--header-height) + 210px);
}

.marketplace-block-heading {
    margin-bottom: 25px;
}

.marketplace-block-heading h2 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.12;
    text-transform: uppercase;
}

.marketplace-block-heading p {
    max-width: 760px;
    color: var(--gray);
    font-size: 0.92rem;
}


/* ---------- Marketplace Controls ---------- */

.marketplace-controls {
    display: grid;
    gap: 14px;
    margin-bottom: 25px;
    padding: 18px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
}

.marketplace-search input,
.marketplace-controls input[type="search"] {
    width: 100%;
    min-height: 48px;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-small);
    background: var(--white);
    color: var(--dark);
    outline: none;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.marketplace-search input:focus,
.marketplace-controls input[type="search"]:focus {
    border-color: var(--gold-dark);
    box-shadow:
        0 0 0 3px rgba(215, 185, 109, 0.18);
}

.marketplace-controls .category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


/* ---------- Right-Side Partner Panel ---------- */

.marketplace-sidebar-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.marketplace-sidebar-card .marketplace-block-heading h2 {
    font-size: clamp(1.65rem, 2.6vw, 2.25rem);
}

.marketplace-partner-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
}

.marketplace-partner-card .partner-image {
    min-height: 150px;
}

.marketplace-partner-card .partner-image img,
.marketplace-partner-card .partner-image .partner-image-placeholder {
    min-height: 150px;
    height: 150px;
}

.marketplace-partner-card .partner-content {
    padding: 20px;
}

.partner-label {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--gold-dark);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.marketplace-partner-card .partner-content h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.marketplace-partner-card .partner-content p {
    margin-bottom: 7px;
    font-size: 0.82rem;
}

.marketplace-partner-card .partner-content .btn {
    width: 100%;
    margin-top: 10px;
    min-height: 43px;
    padding: 9px 13px;
    font-size: 0.8rem;
}

.marketplace-sidebar-divider {
    height: 1px;
    margin: 26px 0;
    background: var(--border);
}


/* ---------- School Partners in Sidebar ---------- */

.marketplace-school-partners > h3 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 1.45rem;
}

.marketplace-sidebar-text {
    margin-bottom: 18px;
    color: var(--gray);
    font-size: 0.83rem;
}

.school-partner-card {
    margin-bottom: 12px;
    padding: 17px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-small);
}

.school-partner-content h4 {
    margin-bottom: 6px;
    color: var(--navy);
    font-size: 1rem;
}

.school-partner-content p {
    margin-bottom: 9px;
    color: var(--gray);
    font-size: 0.8rem;
}

.partner-page-link {
    color: var(--gold-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

.partner-page-link:hover {
    color: var(--navy);
    text-decoration: underline;
}

.marketplace-school-program {
    margin-top: 18px;
    padding: 18px;
    background: #f8f3e7;
    border: 1px solid rgba(176, 141, 60, 0.25);
    border-radius: var(--radius-small);
}

.marketplace-school-program h4 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 1rem;
}

.marketplace-school-program p {
    margin-bottom: 15px;
    color: var(--gray-dark);
    font-size: 0.8rem;
}

.marketplace-school-program .btn {
    width: 100%;
    min-height: 42px;
    font-size: 0.78rem;
}

/* =========================================================
   SCHOOL PARTNER CARDS - SIDEBAR FIX
   ========================================================= */

#school-partner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

#school-partner-grid .school-partner-card {
    display: block;
    width: 100%;
    overflow: hidden;
}

#school-partner-grid .school-partner-card .partner-image {
    width: 100%;
    min-height: 180px;
    height: 180px;
}

#school-partner-grid .school-partner-card .partner-image img {
    width: 100%;
    height: 180px;
    min-height: 180px;
    object-fit: contain;
    padding: 12px;
    box-sizing: border-box;
    background: var(--white);
}

#school-partner-grid .school-partner-card .partner-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

#school-partner-grid .school-partner-card .partner-content h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 1.15rem;
}

#school-partner-grid .school-partner-card .partner-content p {
    width: 100%;
    margin-bottom: 9px;
    color: var(--gray);
    font-size: 0.84rem;
    line-height: 1.6;
}

#school-partner-grid .school-partner-card .partner-content .btn {
    width: 100%;
    margin-top: 8px;
    box-sizing: border-box;
}

/* ---------- Archive ---------- */

.marketplace-archive-section {
    padding: 70px 0;
    border-top: 1px solid var(--border);
}

.marketplace-archive-section .marketplace-block-heading {
    max-width: 720px;
}

.marketplace-archive-section .marketplace-block-heading h2 {
    text-transform: uppercase;
}


/* ---------- Marketplace Closing Note ---------- */

.marketplace-note-section {
    padding-top: 55px;
    padding-bottom: 70px;
}

.marketplace-note {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.marketplace-note h2 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.marketplace-note p {
    color: var(--gray);
}


/* ---------- Screen-reader Utility ---------- */

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* ---------- Responsive Original Structure ---------- */

@media (max-width: 1100px) {

    .marketplace-main-layout {
        grid-template-columns:
            minmax(0, 1.45fr)
            minmax(280px, 0.8fr);
        gap: 24px;
    }

    .marketplace-sidebar-card {
        padding: 23px;
    }

}


@media (max-width: 850px) {

    .marketplace-advertisement-area {
        position: relative;
        top: auto;
    }

    .marketplace-advertisement-heading {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .marketplace-main-section {
        padding-top: 42px;
    }

    .marketplace-main-layout {
        grid-template-columns: 1fr;
    }

    .marketplace-partners-column {
        position: relative;
        top: auto;
    }

}


@media (max-width: 600px) {

    .marketplace-advertisement-area {
        padding: 14px 0;
    }

    .marketplace-advertisement-heading h1 {
        font-size: 1.35rem;
    }

    .marketplace-advertisement-heading p {
        font-size: 0.78rem;
    }

    .marketplace-main-section,
    .marketplace-archive-section {
        padding-top: 45px;
        padding-bottom: 50px;
    }

    .marketplace-block-heading h2 {
        font-size: 1.8rem;
    }

    .marketplace-sidebar-card {
        padding: 20px;
    }

}


/* =========================================================
   30. END OF MARKETPLACE STYLES
   ========================================================= */


/* =========================================================
   31. RESPONSIVE - LARGE TABLETS
   ========================================================= */

@media (max-width: 1100px) {

    .nav-menu a {
        padding:
            8px 9px;

        font-size:
            0.85rem;
    }


    .nav-menu a::after {
        left:
            9px;

        right:
            9px;
    }


    .nav-menu .nav-cta {
        margin-left:
            4px;

        padding:
            9px 13px;
    }


    .service-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .footer-main {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================================================
   32. RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 850px) {

    :root {
        --header-height:
            70px;
    }


    /* ---------- Header ---------- */

    .navbar {
        min-height:
            var(--header-height);
    }


    .logo img {
        width:
            140px;
    }


    .menu-toggle {
        display:
            inline-flex;
    }


    .nav-menu {
        position:
            absolute;

        left:
            0;

        right:
            0;

        top:
            var(--header-height);

        display:
            none;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            0;

        padding:
            12px 5% 18px;

        background:
            var(--white);

        border-bottom:
            1px solid var(--border);

        box-shadow:
            var(--shadow);
    }


    .nav-menu.active {
        display:
            flex;
    }


    .nav-menu a {
        display:
            flex;

        width:
            100%;

        min-height:
            46px;

        padding:
            12px 10px;

        border-radius:
            var(--radius-small);

        font-size:
            0.95rem;
    }


    .nav-menu a:hover,
    .nav-menu a.active {
        background:
            var(--off-white);
    }


    .nav-menu a::after {
        display:
            none;
    }


    .nav-menu .nav-cta {
        margin:
            8px 0 0;

        justify-content:
            center;

        background:
            var(--navy);
    }


    .nav-menu .nav-cta:hover,
    .nav-menu .nav-cta.active {
        background:
            var(--gold-dark);
    }


    /* ---------- Layouts ---------- */

    .intro-grid,
    .founder-grid,
    .contact-grid {
        grid-template-columns:
            1fr;
    }


    .intro-image {
        max-width:
            680px;

        margin:
            0 auto;
    }


    .founder-photo {
        max-width:
            420px;

        margin:
            0 auto;
    }


    .stats-grid,
    .values-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .mv-grid,
    .faq-grid {
        grid-template-columns:
            1fr;
    }


    .service-area-header {
        grid-template-columns:
            1fr;

        gap:
            8px;
    }


    .service-area-number {
        margin-bottom:
            5px;
    }
}


/* =========================================================
   33. RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .container {
        width:
            min(91%, 1180px);
    }


    .section {
        padding:
            65px 0;
    }


    /* ---------- Hero ---------- */

    .hero {
        min-height:
            600px;

        background:
            linear-gradient(
                rgba(16, 31, 54, 0.94),
                rgba(24, 43, 73, 0.88)
            ),
            url("../images/about-background.jpg")
            center center / cover
            no-repeat;
    }


    .hero-content {
        padding:
            70px 0;
    }


    .hero h1 {
        font-size:
            2.65rem;
    }


    .hero p {
        font-size:
            1rem;
    }


    .hero-buttons {
        flex-direction:
            column;

        align-items:
            stretch;
    }


    .hero-buttons .btn {
        width:
            100%;
    }


    /* ---------- Inner Hero ---------- */

    .page-hero {
        min-height:
            300px;
    }


    .page-hero h1 {
        font-size:
            2.3rem;
    }


    /* ---------- Cards ---------- */

    .service-grid,
    .stats-grid,
    .values-grid,
    .service-items,
    .form-grid {
        grid-template-columns:
            1fr;
    }


    .service-card {
        padding:
            27px;
    }


    .service-area {
        padding:
            28px 25px;
    }


    .service-area h2 {
        font-size:
            1.7rem;
    }


    .service-item {
        padding:
            17px;
    }


    /* ---------- Contact ---------- */

    .contact-card,
    .form-card,
    .mv-card {
        padding:
            25px;
    }


    /* ---------- Buttons ---------- */

    .btn {
        width:
            100%;
    }


    /* ---------- Footer ---------- */

    .footer-main {
        grid-template-columns:
            1fr;

        gap:
            30px;

        padding:
            50px 0 35px;
    }


    .footer-bottom-inner {
        flex-direction:
            column;

        text-align:
            center;
    }
}


/* =========================================================
   34. VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 380px) {

    .hero h1 {
        font-size:
            2.3rem;
    }


    .page-hero h1 {
        font-size:
            2rem;
    }


    .service-card,
    .service-area,
    .contact-card,
    .form-card,
    .mv-card {
        padding:
            22px;
    }


    .logo img {
        width:
            125px;
    }
}


/* =========================================================
   35. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior:
            auto;
    }


    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;
    }
}


/* Disable continuous carousel movement when the
   visitor requests reduced motion. */
@media (prefers-reduced-motion: reduce) {

    .advertisement-carousel {
        scroll-behavior: auto;
    }

    .advertisement-card,
    .marketplace-product-card,
    .product-detail-panel-inner {
        transition: none;
    }

}

/* =========================================================
   36. PRIVACY POLICY PAGE
   ========================================================= */

.privacy-hero {
    background:
        linear-gradient(
            rgba(16, 31, 54, 0.90),
            rgba(24, 43, 73, 0.90)
        ),
        url("../images/about-background.jpg")
        center center / cover
        no-repeat;
}

.page-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.page-hero-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
}

.content-card {
    padding: 38px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.privacy-introduction {
    max-width: 960px;
    margin: 0 auto;
}

.privacy-introduction h2 {
    margin-bottom: 15px;
    color: var(--navy);
    font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.privacy-introduction p {
    margin-bottom: 15px;
    color: var(--gray);
}

.privacy-introduction p:last-child {
    margin-bottom: 0;
}

.privacy-section {
    background: var(--white);
}

.privacy-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 55px;
    align-items: start;
}

.privacy-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 25px);
}

.privacy-toc {
    padding: 25px 22px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.privacy-toc h3 {
    margin-bottom: 17px;
    color: var(--navy);
    font-size: 1.05rem;
}

.privacy-toc ol {
    list-style: none;
    counter-reset: privacy-toc;
}

.privacy-toc li {
    counter-increment: privacy-toc;
    margin-bottom: 2px;
}

.privacy-toc li:last-child {
    margin-bottom: 0;
}

.privacy-toc a {
    position: relative;
    display: block;
    padding: 8px 8px 8px 30px;
    border-radius: var(--radius-small);
    color: var(--gray-dark);
    font-size: 0.82rem;
    line-height: 1.4;
    transition:
        color var(--transition),
        background var(--transition);
}

.privacy-toc a::before {
    content: counter(privacy-toc, decimal-leading-zero);
    position: absolute;
    left: 8px;
    top: 8px;
    color: var(--gold-dark);
    font-size: 0.68rem;
    font-weight: 800;
}

.privacy-toc a:hover {
    background: var(--white);
    color: var(--navy);
}

.privacy-content {
    min-width: 0;
    max-width: 850px;
}

.privacy-block {
    scroll-margin-top: calc(var(--header-height) + 25px);
    padding: 0 0 42px;
    margin-bottom: 42px;
    border-bottom: 1px solid var(--border);
}

.privacy-block:last-of-type {
    margin-bottom: 0;
}

.privacy-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 43px;
    min-height: 28px;
    margin-bottom: 13px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f8f3e7;
    color: var(--gold-dark);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.privacy-block h2 {
    margin-bottom: 16px;
    color: var(--navy);
    font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.privacy-block h3 {
    margin: 25px 0 9px;
    color: var(--navy);
    font-size: 1.05rem;
}

.privacy-block p {
    margin-bottom: 15px;
    color: var(--gray);
    line-height: 1.75;
}

.privacy-block p:last-child {
    margin-bottom: 0;
}

.privacy-block ul {
    margin: 14px 0 19px;
    padding-left: 22px;
    list-style: disc;
}

.privacy-block li {
    margin-bottom: 9px;
    padding-left: 4px;
    color: var(--gray);
    line-height: 1.65;
}

.privacy-block li::marker {
    color: var(--gold-dark);
}

.privacy-block strong {
    color: var(--navy);
}

.privacy-note {
    margin-top: 22px;
    padding: 19px 21px;
    background: #f8f3e7;
    border: 1px solid rgba(176, 141, 60, 0.25);
    border-left: 4px solid var(--gold-dark);
    border-radius: var(--radius-small);
}

.privacy-note strong {
    display: block;
    margin-bottom: 5px;
    color: var(--navy);
}

.privacy-note p {
    margin-bottom: 0;
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.privacy-contact-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 25px 0 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--off-white);
}

.privacy-contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    padding: 19px 20px;
    border-bottom: 1px solid var(--border);
}

.privacy-contact-item:nth-child(odd) {
    border-right: 1px solid var(--border);
}

.privacy-contact-item:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.privacy-contact-label {
    color: var(--gray);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.privacy-contact-item strong,
.privacy-contact-item > span:last-child,
.privacy-contact-item a {
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.privacy-contact-item a {
    color: var(--gold-dark);
    transition: color var(--transition);
}

.privacy-contact-item a:hover {
    color: var(--navy);
    text-decoration: underline;
}

.privacy-contact-note {
    font-size: 0.86rem;
}

.privacy-reference {
    margin-top: 42px;
    padding: 27px 28px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.privacy-reference h2 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 1.25rem;
}

.privacy-reference p {
    margin-bottom: 12px;
    color: var(--gray);
    font-size: 0.88rem;
    line-height: 1.65;
}

.privacy-reference p:last-child {
    margin-bottom: 0;
}

.privacy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 35px;
}

.privacy-actions .btn {
    width: auto;
}


/* =========================================================
   37. PRIVACY POLICY RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .privacy-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 32px;
    }

    .privacy-toc {
        padding: 22px 17px;
    }

    .privacy-toc a {
        font-size: 0.78rem;
        padding-left: 28px;
    }
}

@media (max-width: 850px) {

    .privacy-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .privacy-sidebar {
        position: relative;
        top: auto;
    }

    .privacy-toc {
        padding: 20px;
    }

    .privacy-toc ol {
        columns: 2;
        column-gap: 25px;
    }

    .privacy-toc li {
        break-inside: avoid;
    }

    .privacy-content {
        max-width: none;
    }

    .privacy-contact-card {
        grid-template-columns: 1fr;
    }

    .privacy-contact-item:nth-child(odd) {
        border-right: 0;
    }

    .privacy-contact-item:nth-last-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .privacy-contact-item:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 600px) {

    .page-hero-meta {
        margin-top: 18px;
    }

    .content-card {
        padding: 27px 24px;
    }

    .privacy-layout {
        gap: 28px;
    }

    .privacy-toc {
        padding: 18px;
    }

    .privacy-toc ol {
        columns: 1;
    }

    .privacy-block {
        padding-bottom: 34px;
        margin-bottom: 34px;
    }

    .privacy-block h2 {
        font-size: 1.6rem;
    }

    .privacy-block p,
    .privacy-block li {
        font-size: 0.92rem;
    }

    .privacy-note {
        padding: 17px;
    }

    .privacy-reference {
        padding: 22px 20px;
    }

    .privacy-actions {
        flex-direction: column;
    }

    .privacy-actions .btn {
        width: 100%;
    }
}

@media (max-width: 380px) {

    .content-card {
        padding: 23px 20px;
    }

    .privacy-toc {
        padding: 16px;
    }

    .privacy-contact-item {
        padding: 16px;
    }
}
