/* ============================================================
   Kuwait Logistics Services (Egypt) - Global Styles
   ============================================================ */

:root {
    /* Brand palette - premium corporate petrol green */
    --color-primary:        #123F45;   /* petrol green dark */
    --color-primary-dark:   #0b2e33;
    --color-primary-light:  #1C6268;   /* medium petrol */
    --color-accent:         #D8A23A;   /* gold (premium accent only) */
    --color-accent-dark:    #bf8c2f;
    --color-highlight:      #C94C3D;   /* burnt red (CTA / strong accent) */
    --color-text:           #172B2B;
    --color-text-muted:     #5a6b6b;
    --color-border:         #e4ebe9;
    --color-bg:             #ffffff;
    --color-bg-alt:         #F6F8F7;   /* light background */
    --color-white:          #ffffff;
    --color-success:        #16a34a;
    --color-error:          #C94C3D;

    --radius:       10px;
    --radius-lg:    16px;
    --shadow:       0 6px 24px rgba(18, 63, 69, 0.08);
    --shadow-lg:    0 16px 44px rgba(18, 63, 69, 0.14);
    --transition:   all 0.25s ease;

    --container: 1200px;
    --header-h:   76px;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent-dark);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    background: var(--color-primary);
    color: #fff;
    padding: 0.6rem 1rem;
}
.skip-link:focus {
    left: 0;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

main {
    display: block;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.2px;
}
.btn--primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.btn--primary:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
/* Strong burnt-red CTA (main conversion) */
.btn--highlight {
    background: var(--color-highlight);
    color: #fff;
    border-color: var(--color-highlight);
}
.btn--highlight:hover {
    background: #b64337;
    border-color: #b64337;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn--ghost {
    background: transparent;
    color: var(--color-primary);
    border-color: rgba(18, 63, 69, 0.4);
}
.btn--ghost:hover {
    background: rgba(18, 63, 69, 0.06);
    color: var(--color-primary);
    border-color: var(--color-primary);
}
/* Ghost for dark backgrounds */
.btn--ghost-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}
.btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn--outline:hover {
    background: var(--color-primary);
    color: #fff;
}
.btn--light {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}
.btn--light:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}
.btn--sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
}

/* ============================================================
   Alert (form status)
   ============================================================ */
.alert {
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius);
    font-weight: 500;
    margin-bottom: 1.2rem;
}
.alert--success {
    background: #ecfdf5;
    color: var(--color-success);
    border: 1px solid #a7f3d0;
}
.alert--error {
    background: #fef2f2;
    color: var(--color-error);
    border: 1px solid #fecaca;
}

/* ============================================================
   Section scaffolding
   ============================================================ */
.section {
    padding: 5rem 0;
}
.section--alt {
    background: var(--color-bg-alt);
}
.section--dark {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.85);
}
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}
.section-badge {
    display: inline-block;
    background: rgba(216, 162, 58, 0.14);
    color: var(--color-accent-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.28;
    margin-bottom: 0.8rem;
    position: relative;
}
.section-sub {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}
/* Refined brand-title accent (short gold underline) */
.section-title--center {
    text-align: center;
}
.section-title--center::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 3px;
    margin: 0.85rem auto 0;
}
.section-title--left::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 3px;
    margin-top: 0.85rem;
}
/* Title on dark sections */
.section--dark .section-title {
    color: #fff;
}
.section--dark .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
}
.section--dark .section-sub {
    color: rgba(255, 255, 255, 0.75);
}

/* Left-aligned titles inside two-column sections get a refined gold rule */
.about__content .section-title,
.smart__content .section-title,
.coverage__content .section-title,
.partners__content .section-title,
.future__content .section-title {
    position: relative;
    padding-bottom: 0.7rem;
}
.about__content .section-title::after,
.smart__content .section-title::after,
.coverage__content .section-title::after,
.partners__content .section-title::after,
.future__content .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 3px;
}

/* ============================================================
   Header / Navbar
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(18, 63, 69, 0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 14px rgba(11, 46, 51, 0.18);
    border-bottom: 3px solid var(--color-accent);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 1.5rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
}
.brand:hover {
    color: #fff;
}
.brand__logo {
    display: inline-flex;
}
.brand__img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 8px;
}
.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.brand__name {
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
}
.brand__tagline {
    font-size: 0.72rem;
    color: var(--color-accent);
    opacity: 0.9;
}
.primary-nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}
.primary-nav__list {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.primary-nav__link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.2rem;
    position: relative;
}
.primary-nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}
.primary-nav__item:hover .primary-nav__link::after,
.primary-nav__item.is-active .primary-nav__link {
    color: #fff;
}
.primary-nav__item.is-active .primary-nav__link::after,
.primary-nav__item:hover .primary-nav__link::after {
    width: 100%;
}
.primary-nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.nav-cta {
    color: #fff;
}

/* Dropdown */
.primary-nav__item--dropdown {
    position: relative;
}
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 50;
}
.primary-nav__item--dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: var(--color-text);
    font-size: 0.92rem;
}
.dropdown a:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

/* Language switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.85rem;
}
.lang-switcher:hover {
    color: var(--color-accent);
}

/* Mobile toggle (hidden on desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.4rem;
}
.nav-toggle__bar {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================================
   Hero — premium corporate logistics, full-bleed background
   ============================================================ */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    overflow: hidden;
    isolation: isolate;
}
/* Full-bleed background image filling the entire hero */
.hero__bg-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/* Transparent dark petrol overlay over the image */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        110deg,
        rgba(18, 63, 69, 0.82) 0%,
        rgba(18, 63, 69, 0.55) 45%,
        rgba(28, 98, 104, 0.42) 100%
    );
}
.hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
}
.hero__content {
    max-width: 720px;
    color: #fff;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(216, 162, 58, 0.16);
    border: 1px solid rgba(216, 162, 58, 0.45);
    color: #f4d59a;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    margin-bottom: 1.6rem;
    backdrop-filter: blur(2px);
}
.hero__badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-highlight);
    box-shadow: 0 0 0 3px rgba(201, 76, 61, 0.25);
}
.hero__title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.18;
    color: #fff;
    margin-bottom: 1.3rem;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 18px rgba(11, 46, 51, 0.35);
}
.hero__subtitle {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.15rem;
    line-height: 1.75;
    max-width: 600px;
    margin-bottom: 2.4rem;
    text-shadow: 0 1px 12px rgba(11, 46, 51, 0.4);
}
.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.8rem;
}
.hero__stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    padding-top: 2.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.hero__stat {
    position: relative;
}
.hero__stat strong {
    display: block;
    font-size: 2.1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.35rem;
}
.hero__stat strong span {
    color: var(--color-accent);
    font-size: 1.4rem;
}
.hero__stat span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
}

/* ============================================================
   Generic two-column media/content sections
   ============================================================ */
.about__inner,
.smart__inner,
.coverage__inner,
.partners__inner,
.future__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.about__text,
.smart__text,
.partners__text,
.coverage__text,
.future__text {
    color: var(--color-text-muted);
    margin-bottom: 1.3rem;
}

/* ------------------------------------------------
   ABOUT — soft ring-layer behind a rounded image,
   image is part of composition, not a plain box.
   ------------------------------------------------ */
.about__media {
    position: relative;
}
.about__media::before {
    content: '';
    position: absolute;
    top: 12%;
    left: -6%;
    width: 78%;
    height: 78%;
    background: var(--color-primary);
    border-radius: 50%;
    z-index: 0;
}
.about__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    border: 6px solid #fff;
}
.about__points li {
    position: relative;
    padding-left: 1.7rem;
    margin-bottom: 0.7rem;
    font-weight: 500;
    color: var(--color-text);
}
.about__points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 800;
}

/* ------------------------------------------------
   SMART — tech forward: offset frame with a thin
   gold rule + subtle petrol underline beneath image.
   ------------------------------------------------ */
.smart__media {
    position: relative;
    padding: 1.1rem 1.1rem 0 0;
}
.smart__media::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-top: 3px solid var(--color-accent);
    border-right: 3px solid var(--color-accent);
    width: 96px;
    height: 96px;
    border-radius: 0 4px 0 0;
}
.smart__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}
.smart__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.8rem;
}
.smart__feature {
    background: var(--color-bg-alt);
    border-top: 3px solid var(--color-primary-light);
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem;
    transition: var(--transition);
}
.smart__feature:hover {
    transform: translateY(-4px);
    border-top-color: var(--color-accent);
    box-shadow: var(--shadow);
}
.smart__feature h3 {
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 0.3rem;
}
.smart__feature p {
    font-size: 0.86rem;
    color: var(--color-text-muted);
}

/* ------------------------------------------------
   WHY — premium intent pillars with gold top rule
   ------------------------------------------------ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}
.why-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.why-item:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--color-accent);
}
.why-item h3 {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}
.why-item p {
    color: var(--color-text-muted);
    font-size: 0.93rem;
}

/* ------------------------------------------------
   PARTNERS — quiet, minimal. No strong frame.
   Soft ellipse tint + rounded image, understated.
   ------------------------------------------------ */
.partners__media {
    position: relative;
}
.partners__media::before {
    content: '';
    position: absolute;
    top: 4%;
    right: -3%;
    bottom: 4%;
    width: 90%;
    background: rgba(28, 98, 104, 0.08);
    border-radius: 200px 60px 60px 200px;
}
.partners__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

/* ------------------------------------------------
   COVERAGE — dark petrol section, subdued gold accent
   ------------------------------------------------ */
.section-coverage {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.88);
}
.section-coverage .section-title {
    color: #fff;
}
.section-coverage .section-title--left::after {
    background: var(--color-accent);
}
.section-coverage .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
}
.section-coverage .coverage__text {
    color: rgba(255, 255, 255, 0.78);
}
.section-coverage .btn--ghost {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}
.section-coverage .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}
/* Subdued ring behind coverage map (soft, not a glow) */
.coverage__media {
    position: relative;
}
.coverage__media::before {
    content: '';
    position: absolute;
    inset: -2.5%;
    border: 2px solid rgba(216, 162, 58, 0.5);
    border-radius: 26px;
}
.coverage__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

/* ------------------------------------------------
   FUTURE — simple arch top, lighter + airy
   ------------------------------------------------ */
.future__media {
    position: relative;
}
.future__media img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: center;
    border-radius: 30px 30px 18px 18px;
    box-shadow: var(--shadow);
}
.future__list {
    margin-top: 0.5rem;
}
.future__list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.7rem;
    color: var(--color-text);
    font-weight: 500;
}
.future__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
}

/* ============================================================
   Service cards — premium cards w/ refined media cap
   ============================================================ */
.service-cards {
    display: grid;
    grid-template-columns: repeat(var(--card-cols, 3), 1fr);
    gap: 1.8rem;
}
.service-cards--4 { --card-cols: 4; }
.service-cards--3 { --card-cols: 3; }
.service-cards--2 { --card-cols: 2; }
.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(216, 162, 58, 0.4);
}
.service-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-primary);
}
.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    opacity: 0.92;
}
.service-card:hover .service-card__media img {
    transform: scale(1.06);
}
.service-card__media::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 26%;
    background: linear-gradient(to top, rgba(18, 63, 69, 0.55), transparent);
}
.service-card__body {
    padding: 1.6rem;
}
.service-card__title {
    color: var(--color-primary);
    font-size: 1.18rem;
    margin-bottom: 0.5rem;
}
.service-card__text {
    color: var(--color-text-muted);
    font-size: 0.93rem;
    margin-bottom: 1rem;
}
.service-card__link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary-light);
}
.service-card__link:hover {
    color: var(--color-highlight);
}

/* ============================================================
   CTA Banner — premium petrol panel with gold rule
   ============================================================ */
.cta-banner {
    background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: 3.2rem 0;
    position: relative;
    overflow: hidden;
}
/* thin gold accent rule */
.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), transparent 55%);
}
.cta-banner__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta-banner__title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}
.cta-banner__text {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}
.cta-banner .btn--light {
    background: var(--color-highlight);
    border-color: var(--color-highlight);
    color: #fff;
}
.cta-banner .btn--light:hover {
    background: #b64337;
    border-color: #b64337;
}

/* ============================================================
   Page Hero (inner pages) — refined dark petrol banner
   ============================================================ */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 70%);
    color: #fff;
    padding: 3.4rem 0;
    text-align: center;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(216, 162, 58, 0.08);
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), transparent 60%);
}
.page-hero__title {
    position: relative;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}
.page-hero__sub {
    position: relative;
    color: rgba(255, 255, 255, 0.82);
    max-width: 640px;
    margin: 0 auto 0;
}
.breadcrumb__list {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
}
.breadcrumb__list a {
    color: var(--color-accent);
}
.breadcrumb__list a:hover {
    color: #fff;
}
.breadcrumb__sep {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   Forms
   ============================================================ */
.form-row {
    display: grid;
    gap: 1.2rem;
}
.form-row--2 {
    grid-template-columns: 1fr 1fr;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
    color: var(--color-primary);
}
.form-group .req {
    color: var(--color-error);
}
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(18, 63, 69, 0.12);
}
.form-hint {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}
.field-error {
    display: block;
    color: var(--color-error);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}
.form-group.has-error .form-control {
    border-color: var(--color-error);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 3.5rem 0 1.5rem;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), transparent 60%);
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}
.footer__about {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
}
.footer__heading {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.footer__links li,
.footer__contact li {
    margin-bottom: 0.5rem;
}
.footer__links a,
.footer__contact a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
}
.footer__links a:hover,
.footer__contact a:hover {
    color: var(--color-accent);
}
.footer__contact-label {
    font-weight: 600;
    color: #fff;
}
.footer__nl-title {
    color: #fff;
    margin-bottom: 0.3rem;
}
.footer__nl-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
}
.footer__nl-form {
    display: flex;
    gap: 0.5rem;
}
.footer__nl-input {
    flex: 1;
    padding: 0.6rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.footer__nl-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.footer__nl-input:focus {
    outline: none;
    border-color: var(--color-accent);
}
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}
.footer__legal {
    display: flex;
    gap: 1.2rem;
}
.footer__legal a {
    color: rgba(255, 255, 255, 0.6);
}
.footer__legal a:hover {
    color: var(--color-accent);
}

/* ============================================================
   Inner page grids — distinct image compositions
   ============================================================ */
.about-page__grid,
.fleet-page__grid,
.tech-page__grid,
.partners-page__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-page__media img,
.fleet-page__media img,
.tech-page__media img,
.partners-page__media img,
.coverage-page__media img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: center;
}

/* About page: management image in a soft card with petrol corner */
.about-page__media {
    position: relative;
}
.about-page__media::before {
    content: '';
    position: absolute;
    right: -8%;
    bottom: -6%;
    width: 60%;
    height: 60%;
    background: var(--color-primary);
    border-radius: 0 22px 0 22px;
    z-index: 0;
}
.about-page__media img {
    position: relative;
    z-index: 1;
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    border: 6px solid #fff;
}
.about-page__text {
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

/* Fleet page: dynamic larger image with offset petrol frame */
.fleet-page__media {
    position: relative;
}
.fleet-page__media::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-primary-light);
    border-radius: 4px;
    z-index: 0;
}
.fleet-page__media img {
    position: relative;
    z-index: 1;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
}
.fleet-page__text {
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

/* Tech page: image with precise thin gold corner rules (tech-forward) */
.tech-page__media {
    position: relative;
    padding: 1rem 0 0 1rem;
}
.tech-page__media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    border-top: 4px solid var(--color-accent);
    border-left: 4px solid var(--color-accent);
    border-radius: 8px 0 0 0;
}
.tech-page__media img {
    position: relative;
    z-index: 1;
    border-radius: 6px;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}
.tech-page__text {
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

/* Partners page: quiet, minimal soft ellipse */
.partners-page__media {
    position: relative;
}
.partners-page__media::before {
    content: '';
    position: absolute;
    top: 3%;
    left: -3%;
    bottom: 3%;
    width: 88%;
    background: rgba(216, 162, 58, 0.14);
    border-radius: 160px 30px 30px 160px;
}
.partners-page__media img {
    position: relative;
    z-index: 1;
    border-radius: 22px;
    box-shadow: var(--shadow);
}
.partners-page__text {
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
}

/* About cards */
.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.about-card {
    background: var(--color-white);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow);
}
.about-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.6rem;
}
.about-card p {
    color: var(--color-text-muted);
}
.about-values {
    text-align: center;
}
.about-values h3 {
    color: var(--color-primary);
    margin-bottom: 1.2rem;
}
.about-values__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.about-values__list li {
    background: var(--color-primary);
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
}
.about-values__list li::marker {
    color: var(--color-accent);
}
.about-management {
    text-align: center;
}
.about-management__text {
    color: var(--color-text-muted);
    max-width: 640px;
    margin: 0.5rem auto 0;
}

/* Fleet / tech features */
.fleet-features,
.tech-features {
    margin-top: 3rem;
}

/* Coverage page */
.coverage-page__intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
}
.coverage-page__text {
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}
.coverage-cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
}
.coverage-city {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.5rem 1.3rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: var(--transition);
}
.coverage-city:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.coverage-page__media {
    max-width: 760px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Contact page */
.contact-page__head {
    text-align: center;
    margin-bottom: 2.5rem;
}
.contact-page__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}
.contact-info {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.contact-info__title {
    color: var(--color-primary);
    margin-bottom: 1.2rem;
}
.contact-info__list li {
    margin-bottom: 1.2rem;
}
.contact-info__label {
    display: block;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-info__value {
    color: var(--color-text-muted);
}
.contact-page__form {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}
.contact-form__title,
.quote-form__title {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

/* Quote page */
.quote-page__inner {
    max-width: 820px;
    margin: 0 auto;
}
.quote-page__head {
    text-align: center;
    margin-bottom: 2rem;
}
.quote-page__form {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

/* ============================================================
   Legal pages
   ============================================================ */
.legal-page__body {
    max-width: 820px;
    margin: 0 auto;
}
.legal-page__body > p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}
.legal-page__updated {
    font-size: 0.9rem;
}
.legal-block {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}
.legal-block h2 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}
.legal-block p {
    color: var(--color-text-muted);
}

/* ============================================================
   404 page
   ============================================================ */
.page-404__inner {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 560px;
    margin: 0 auto;
}
.page-404__code {
    font-size: 6rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    display: block;
}
.page-404__title {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin: 1rem 0 0.6rem;
}
.page-404__text {
    color: var(--color-text-muted);
    margin-bottom: 1.8rem;
}

/* حماية عامة لمنع التجاوز الأفقي على الموبايل */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}
img, video, iframe, table {
    max-width: 100% !important;
    height: auto !important;
}
