@charset "UTF-8";

/* ==========================================================================
   Fonts & Variables
   ========================================================================== */
@font-face {
    font-family: "AdobeArabic";
    src: url("/assets/fonts/AdobeArabic-Regular.otf") format("opentype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Somar";
    src: url("/assets/fonts/alfont_com_SomarGX.ttf") format("truetype");
    font-weight: 400 800;
    font-display: swap;
}

:root {
    /* Brand Palette */
    --primary: #023983;
    --primary-dark: #012558;
    --primary-light: #0b4ca8;
    --secondary: #FF8E14;
    --secondary-hover: #e67d0a;
    --accent: #137DE2;
    --accent-soft: #ebf5ff;
    --accent-glow: rgba(19, 125, 226, 0.15);

    /* Neutral Colors */
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #1a2434;
    --text-muted: #5f718d;
    --text-light: #ffffff;
    --border-color: rgba(2, 57, 131, 0.08);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #023983 0%, #137DE2 100%);
    --gradient-hero: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
    --gradient-card: linear-gradient(180deg, #ffffff 0%, #fafdff 100%);

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(2, 57, 131, 0.04);
    --shadow-md: 0 10px 25px rgba(2, 57, 131, 0.08);
    --shadow-lg: 0 20px 40px rgba(2, 57, 131, 0.12);
    --shadow-hover: 0 22px 35px rgba(2, 57, 131, 0.15);

    /* Geometry */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    --container-max: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body.site-body {
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body.site-body,
body.site-body {
    direction: rtl;
    text-align: right;
    font-family: "Somar", "AdobeArabic", "Poppins", sans-serif;
}

html[dir="ltr"] body.site-body {
    direction: ltr;
    text-align: left;
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 30px;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(19, 125, 226, 0.35);
}

.btn-secondary {
    background-color: var(--secondary);
    color: #ffffff;
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 142, 20, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navbar (Fixed like kaftrade.co)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(2, 57, 131, 0.08);
    transition: all 0.35s ease;
    padding: 8px 0;
}

.site-header.is-sticky {
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(2, 57, 131, 0.08);
}

.site-header__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-header__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.site-header__logo img {
    height: 76px;
    max-height: 82px;
    width: auto;
    padding: 5px;
    background: #fff;
    border-radius: 18px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 0 18px rgba(19, 125, 226, 0.35));
    transition: transform 0.5s ease, height 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-header__logo:hover img {
    transform: scale(1.05);
}

.site-header.is-sticky .site-header__logo img {
    height: 62px;
    border-radius: 15px;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav__item {
    position: relative;
}

.site-nav__link {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav__link:hover,
.site-nav__item.is-active .site-nav__link {
    color: var(--primary);
    background-color: var(--accent-soft);
}

.site-nav__arrow {
    width: 10px;
    height: 10px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

/* Dropdown */
.site-nav__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 210px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 100;
}

.site-nav__item.has-dropdown:hover .site-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav__item.has-dropdown:hover .site-nav__arrow {
    transform: rotate(180deg);
}

.site-nav__dropdown li a {
    display: block;
    padding: 10px 14px;
    font-size: 15px;
    color: var(--text-main);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.site-nav__dropdown li a:hover {
    background-color: var(--accent-soft);
    color: var(--primary);
    padding-right: 18px;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ==========================================================================
   Language Switcher
   ========================================================================== */
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: #f1f5fa;
    color: #011b47;
    border: 1px solid rgba(1, 27, 71, 0.12);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    font-family: inherit;
    line-height: 1;
}

.lang-switcher__btn:hover,
.lang-switcher:hover .lang-switcher__btn,
.lang-switcher.is-open .lang-switcher__btn {
    background: #ffffff;
    border-color: #e67d0a;
    color: #e67d0a;
    box-shadow: 0 4px 16px rgba(230, 125, 10, 0.18);
}

.lang-switcher__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.lang-switcher__current {
    letter-spacing: -0.2px;
}

.lang-switcher__arrow {
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    color: inherit;
}

.lang-switcher:hover .lang-switcher__arrow,
.lang-switcher.is-open .lang-switcher__arrow {
    transform: rotate(180deg);
}

.lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 145px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(1, 27, 71, 0.15);
    border: 1px solid rgba(1, 27, 71, 0.08);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1050;
    list-style: none;
    margin: 0;
}

[dir="ltr"] .lang-switcher__dropdown {
    right: auto;
    left: 0;
}

.lang-switcher:hover .lang-switcher__dropdown,
.lang-switcher.is-open .lang-switcher__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher__item {
    margin: 0;
    list-style: none;
}

.lang-switcher__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    color: #2b3a4a;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.lang-switcher__link:hover {
    background: #f0f5fc;
    color: #004b9e;
}

.lang-switcher__link.is-active {
    background: rgba(230, 125, 10, 0.09);
    color: #e67d0a;
    font-weight: 700;
}

.lang-switcher__check {
    color: #e67d0a;
}

.site-nav__item--mobile-cta {
    display: none;
}

.site-header__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
}

.site-header__burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    position: absolute;
}

.site-header__burger span:nth-child(1) { top: 0; }
.site-header__burger span:nth-child(2) { top: 10px; }
.site-header__burger span:nth-child(3) { top: 20px; }

/* ==========================================================================
   Hero Section (Pixel-Perfect Kaftrade.co Dark Cosmic Style)
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 820px;
    padding-top: 150px;
    padding-bottom: 80px;
    background: #011b47 url("https://kaftrade.co/wp-content/uploads/2026/02/1533-1.webp") center center / cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 60%, rgba(2, 57, 131, 0.75) 0%, rgba(1, 25, 68, 0.92) 50%, rgba(0, 14, 40, 0.98) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(19, 125, 226, 0.25) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-section__inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 40px;
    min-height: 560px;
}

/* Hero Text (Right Side in RTL) */
.hero-section__text {
    color: #ffffff;
    text-align: right;
}

.hero-section__title-ar {
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 800;
    color: #e67d0a;
    line-height: 1.1;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(230, 125, 10, 0.35);
}

.hero-section__title-sub {
    font-size: 58px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.hero-section__tagline {
    font-size: 30px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-section__description {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.85;
    margin-bottom: 34px;
    max-width: 560px;
    font-weight: 400;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

/* White Pill Button */
.btn-hero-white {
    background-color: #ffffff;
    color: #023983;
    font-size: 17px;
    font-weight: 700;
    padding: 13px 42px;
    border-radius: var(--radius-pill);
    border: 2px solid #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-hero-white:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 142, 20, 0.45);
}

/* Hero Image (Planet Globe on Left in RTL) */
.hero-section__image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-section__image img {
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 0 50px rgba(19, 125, 226, 0.35));
    transition: transform 0.6s ease;
}

.hero-section__image img:hover {
    transform: scale(1.025);
}

/* ==========================================================================
   Section Headers (ElementsKit style)
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 40px auto;
}

.section-header__pill {
    display: inline-block;
    background: #ffffff;
    color: #137de2;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(19, 125, 226, 0.2);
    box-shadow: 0 4px 14px rgba(19, 125, 226, 0.08);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-header__title {
    font-size: 42px;
    font-weight: 800;
    color: #023983;
    margin-bottom: 14px;
    line-height: 1.25;
}

.section-header__desc {
    font-size: 16px;
    color: #2c4975;
    line-height: 1.8;
}

.section-header--light .section-header__title,
.section-header--light .section-header__desc {
    color: #ffffff;
}

/* ==========================================================================
   Services Section (Kaftrade 5-Column Sectors Grid)
   ========================================================================== */
.services-section {
    padding: 85px 0 90px 0;
    background-color: #f0f6fd;
}

.services-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(19, 125, 226, 0.14);
    border-radius: 32px;
    padding: 38px 16px 26px 16px;
    text-align: center;
    cursor: default;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 6px 20px rgba(2, 57, 131, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Hover Gradient: Dark Blue to Deep Night Blue (Exact Kaftrade effect) */
.service-card:hover {
    background: linear-gradient(180deg, #004E9E 0%, #18173A 100%) !important;
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 78, 158, 0.25);
    border-color: transparent;
}

.service-card:hover * {
    color: #ffffff !important;
}

/* Diamond Rotated Icon Box */
.service-card__icon-wrap {
    width: 68px;
    height: 68px;
    margin: 6px auto 26px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 2px solid #137de2;
    background: #ffffff;
    transform: rotate(45deg);
    transition: all 0.35s ease;
}

.service-card:hover .service-card__icon-wrap {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    transform: rotate(0deg);
}

.service-card__icon {
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease, color 0.35s ease;
    color: #023983;
}

.service-card:hover .service-card__icon {
    transform: rotate(0deg);
    color: #ffffff !important;
}

.service-card__icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    transition: stroke 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-card__icon svg,
.service-card:hover .service-card__icon svg * {
    stroke: #ffffff !important;
    color: #ffffff !important;
}

.service-card__title {
    font-size: 19px;
    font-weight: 800;
    color: #023983;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card__desc {
    font-size: 13.5px;
    color: #556885;
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card__link {
    font-size: 13px;
    font-weight: 700;
    color: #023983;
    transition: color 0.25s ease;
    display: inline-block;
}

/* Services Bottom CTA Button */
.services-cta-wrap {
    text-align: center;
    margin-top: 15px;
}

.btn-services-pill {
    background-color: #023983;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 42px;
    border-radius: var(--radius-pill);
    border: 2px solid #023983;
    box-shadow: 0 8px 22px rgba(2, 57, 131, 0.22);
    transition: all 0.35s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-services-pill:hover {
    background-color: #137de2;
    border-color: #137de2;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(19, 125, 226, 0.35);
}

/* ==========================================================================
   About Section (عن كاف للتجارة والتوزيع - Dark Royal Gradient)
   ========================================================================== */
.about-section {
    padding: 95px 0;
    background: linear-gradient(180deg, #004E9E 0%, #18173A 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-section__inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 45px;
    align-items: center;
}

/* About Text (Right Side in RTL) */
.about-section__content {
    text-align: right;
    color: #ffffff;
}

.about-section__pill {
    display: inline-block;
    background: #ffffff;
    color: #004E9E;
    font-size: 14px;
    font-weight: 700;
    padding: 5px 22px;
    border-radius: var(--radius-pill);
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.about-section__title {
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.about-section__desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.85;
    margin-bottom: 22px;
}

.about-section__subtitle {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.about-section__checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-section__checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.about-section__checklist .check-icon {
    width: 22px;
    height: 22px;
    fill: #ffffff;
    flex-shrink: 0;
}

.btn-about-blue {
    background-color: #0f68c4;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 38px;
    border-radius: var(--radius-pill);
    border: 2px solid #0f68c4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.35s ease;
}

.btn-about-blue:hover {
    background-color: #1a7ae2;
    border-color: #1a7ae2;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(26, 122, 226, 0.4);
}

/* About Image (Left Side in RTL: Plane, Globe with Boxes, Truck, Van) */
.about-section__image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.about-section__image img {
    width: 100%;
    max-width: 620px;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.3));
    transition: transform 0.5s ease;
}

.about-section__image img:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   Why Us Section (لماذا كاف للتجارة والتوزيع؟ - Kaftrade style)
   ========================================================================== */
.why-section {
    padding: 85px 0 95px 0;
    background: #ffffff;
}

.why-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 46px auto;
}

.why-header__title {
    font-size: 40px;
    font-weight: 800;
    color: #023983;
    line-height: 1.25;
    margin-bottom: 12px;
}

.why-header__desc {
    font-size: 15.5px;
    font-weight: 500;
    color: #2c4975;
    line-height: 1.7;
}

.why-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.why-card {
    background-color: #f4f8fd;
    border: 1px solid rgba(19, 125, 226, 0.16);
    border-radius: 20px;
    padding: 42px 16px 36px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 15px rgba(2, 57, 131, 0.02);
}

.why-card:hover {
    transform: translateY(-8px);
    background-color: #ffffff;
    border-color: #137de2;
    box-shadow: 0 16px 32px rgba(2, 57, 131, 0.1);
}

.why-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
}

.why-card__icon svg {
    width: 44px;
    height: 44px;
    fill: #004E9E;
    transition: all 0.3s ease;
}

.why-card:hover .why-card__icon svg {
    fill: #137de2;
    transform: scale(1.08);
}

.why-card__title {
    font-size: 19px;
    font-weight: 800;
    color: #023983;
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

/* ==========================================================================
   Features Section (شريكك الموثوق في التجارة والتوزيع - Kaftrade style)
   ========================================================================== */
.features-section {
    padding: 95px 0 0 0;
    background: linear-gradient(135deg, #00367d 0%, #051a44 45%, #0b0c20 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.features-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 55px auto;
}

.features-header__title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.25;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.features-header__desc {
    font-size: 16.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.features-triptych {
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;
    align-items: center;
    gap: 20px;
}

.features-col--side {
    display: flex;
    flex-direction: column;
    gap: 70px;
    align-items: center;
    justify-content: center;
    padding-bottom: 60px;
}

.feature-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
}

.feature-card__icon-wrap {
    width: 68px;
    height: 68px;
    margin: 0 auto 22px auto;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.04);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.feature-card:hover .feature-card__icon-wrap {
    border-color: #ffffff;
    background: rgba(19, 125, 226, 0.28);
    box-shadow: 0 0 28px rgba(19, 125, 226, 0.65);
    transform: rotate(0deg);
}

.feature-card__icon {
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease;
}

.feature-card:hover .feature-card__icon {
    transform: rotate(0deg);
}

.feature-card__icon svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}

.feature-card__title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.35;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.2px;
}

.features-col--center {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.features-globe-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    margin-bottom: -15px;
}

.features-globe-img {
    width: 100%;
    max-width: 530px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(19, 125, 226, 0.38));
    transition: transform 0.6s ease;
}

.features-globe-img:hover {
    transform: scale(1.025);
}

/* ==========================================================================
   CTA Section (Floating Banner - Kaftrade style)
   ========================================================================== */
.cta-section {
    padding: 50px 0 35px 0;
    background: linear-gradient(to bottom, #ffffff 135px, #004b9e 135px);
    position: relative;
    z-index: 5;
}

.cta-banner {
    background: radial-gradient(circle at 75% 50%, #032357 0%, #02173d 50%, #010a1e 100%);
    border-radius: 36px;
    position: relative;
    overflow: hidden;
    padding: 42px 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 235px;
}

.cta-banner__grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.cta-banner__content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.cta-banner__title {
    font-size: 46px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.cta-banner__desc {
    font-size: 16.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-banner__tagline {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.2px;
}

.brand-orange,
.text-brand-orange {
    color: #e67d0a !important;
}

.cta-banner__action-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 20px;
    width: 250px;
}

.cta-banner__globe {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -15px;
}

.cta-banner__globe-img {
      width: 220px;
    height: auto;
    background: #fff;
    border-radius: 30px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 35px rgba(19, 125, 226, 0.45));
    transition: transform 0.5s ease;
}

.cta-banner:hover .cta-banner__globe-img {
    transform: scale(1.05);
}

.btn-cta-contact {
    position: relative;
    z-index: 3;
    background-color: #005bb7;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 9px 38px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
}

.btn-cta-contact:hover {
    background-color: #004b9e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 91, 183, 0.6);
}

/* ==========================================================================
   Footer (Kaftrade Solid Royal Blue)
   ========================================================================== */
.site-footer {
    background-color: #004b9e;
    color: #ffffff;
    position: relative;
    padding-top: 25px;
}

.site-footer__top {
    padding-bottom: 50px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr;
    gap: 40px;
    align-items: flex-start;
    text-align: center;
}

.site-footer__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.site-footer__logo {
    display: flex;
    justify-content: center;
    width: 100%;
}

.site-footer__logo img {
    height: 82px;
    width: auto;
    margin: 0 auto 20px auto;
    display: inline-block;
    object-fit: contain;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    image-rendering: -webkit-optimize-contrast;
}

.site-footer__brand-desc {
    font-size: 14.5px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 auto;
    max-width: 440px;
    text-align: center;
}

.site-footer__heading {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 22px;
    text-align: center;
}

.site-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.site-footer__links a {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
    text-align: center;
}

.site-footer__links a:hover {
    color: #ffffff;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.site-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.site-footer__contact li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
    color: #ffffff;
}

.site-footer__contact-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.site-footer__contact-icon svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.site-footer__contact-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    direction: ltr;
    display: inline-block;
    transition: opacity 0.25s ease;
}

.site-footer__contact-link:hover {
    opacity: 0.85;
}

.site-footer__contact-text {
    color: #ffffff;
    font-weight: 500;
}

.site-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: nowrap;
    margin: 0 auto;
}

.social-icon {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.social-icon svg {
    width: 15px;
    height: 15px;
    fill: #004b9e;
    transition: fill 0.3s ease;
}

.social-icon:hover {
    background: #022359;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.social-icon:hover svg {
    fill: #ffffff;
}

.site-footer__bottom {
    background-color: #00438e;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding: 22px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
}

.site-footer__bottom-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
    flex-direction: column;
}

.site-footer__copyright {
    margin: 0;
    font-size: 14.5px;
    font-weight: 500;
    text-align: center;
}

.site-footer__bottom-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.site-footer__bottom-links a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.site-footer__bottom-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================================================
   Animations
   ========================================================================== */
[data-animate] {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-animate="fadeInDown"] { transform: translateY(-30px); }
[data-animate="fadeInUp"] { transform: translateY(30px); }
[data-animate="fadeIn"] { transform: translateY(0); }

[data-animate].is-animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .site-nav {
        position: fixed;
        top: 75px;
        right: 0;
        left: 0;
        background: #ffffff;
        box-shadow: var(--shadow-lg);
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
        display: none;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .site-nav__dropdown {
        position: static;
        box-shadow: none;
        border: none;
        background: var(--bg-page);
        margin-top: 6px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-header__burger {
        display: block;
    }

    .site-header__btn-desktop {
        display: none !important;
    }

    .site-nav__item--mobile-cta {
        display: block !important;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid var(--border-color, #e2e8f0);
    }

    .site-nav__mobile-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
        font-weight: 700;
        border-radius: var(--radius-pill);
        text-align: center;
    }

    .hero-section {
        min-height: auto;
        padding-top: 130px;
        padding-bottom: 60px;
    }

    .hero-section__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-section__text {
        text-align: center;
    }

    .hero-section__description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-section__image img {
        max-width: 480px;
    }

    .services-grid-5 {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .why-grid-5 {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .about-section__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-section__content {
        text-align: center;
    }

    .about-section__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .about-section__checklist li {
        justify-content: center;
    }

    .about-section__image img {
        max-width: 480px;
    }

    .features-triptych {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-col--side {
        flex-direction: row;
        justify-content: center;
        gap: 50px;
        padding-bottom: 0;
    }

    .features-col--center {
        order: 3;
    }

    .cta-section {
        padding: 35px 0 25px 0;
        background: linear-gradient(to bottom, #ffffff 130px, #004b9e 130px);
    }

    .cta-banner {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 30px 20px 30px;
        gap: 20px;
    }

    .cta-banner__action-wrap {
        margin-left: 0;
        width: auto;
    }

    .cta-banner__globe {
        margin-left: 0;
    }

    .cta-banner__globe-img {
        width: 230px;
    }

    .site-footer {
        padding-top: 25px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .site-footer__col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer__logo {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .site-footer__logo img {
        margin: 0 auto 18px auto;
    }

    .site-footer__brand-desc {
        text-align: center;
        max-width: 480px;
        margin: 0 auto;
    }

    .site-footer__heading {
        text-align: center;
        margin-bottom: 16px;
    }

    .site-footer__links {
        align-items: center;
        text-align: center;
    }

    .site-footer__links a {
        text-align: center;
    }

    .site-footer__contact {
        align-items: center;
        text-align: center;
    }

    .site-footer__contact li {
        justify-content: center;
    }

    .site-footer__social {
        justify-content: center;
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        justify-content: center;
    }

    .site-footer__copyright {
        text-align: center;
    }

    .site-footer__bottom-links {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .site-header__logo img {
        height: 62px;
    }

    .lang-switcher__btn {
        padding: 5px 10px;
        font-size: 12px;
        gap: 5px;
    }

    .about-section__title {
        font-size: 32px;
    }

    .about-section__checklist li {
        font-size: 14.5px;
        justify-content: flex-start;
        text-align: right;
    }

    .about-section__image img {
        max-width: 320px;
    }

    .services-grid-5 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-header__title {
        font-size: 28px;
    }

    .why-grid-5 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hero-section__title-ar {
        font-size: 42px;
    }
    .hero-section__title-sub {
        font-size: 28px;
    }
    .hero-section__tagline {
        font-size: 20px;
    }
    .section-header__title {
        font-size: 28px;
    }
    .cta-section {
        padding: 25px 0 20px 0;
        background: linear-gradient(to bottom, #ffffff 110px, #004b9e 110px);
    }
    .cta-banner {
        padding: 30px 20px 15px 20px;
        border-radius: 22px;
    }
    .cta-banner__title-brand {
        font-size: 38px;
    }
    .cta-banner__title-sub {
        font-size: 24px;
    }
    .cta-banner__desc {
        font-size: 14.5px;
    }
    .cta-banner__globe-img {
        width: 170px;
    }
    .site-footer {
        padding-top: 20px;
    }
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .site-footer__col--contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .site-footer__contact li {
        justify-content: center;
    }
    .site-footer__social {
        justify-content: center;
    }
    .features-header__title {
        font-size: 28px;
    }
    .features-header__desc {
        font-size: 15px;
    }
    .features-col--side {
        flex-direction: column;
        gap: 36px;
    }
    .features-globe-img {
        max-width: 340px;
    }
    .site-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Full LTR Layout Overrides (English & Chinese)
   ========================================================================== */
html[dir="ltr"] {
    direction: ltr;
}

html[dir="ltr"] .hero-section__text {
    text-align: left;
}

html[dir="ltr"] .hero-section__title-ar,
html[dir="ltr"] .hero-section__title-sub,
html[dir="ltr"] .hero-section__tagline,
html[dir="ltr"] .hero-section__description {
    text-align: left;
}

html[dir="ltr"] .about-section__content {
    text-align: left;
}

html[dir="ltr"] .about-section__subtitle {
    text-align: left;
}

html[dir="ltr"] .about-section__checklist li {
    justify-content: flex-start;
    text-align: left;
}

html[dir="ltr"] .cta-banner {
    background: radial-gradient(circle at 25% 50%, #032357 0%, #02173d 50%, #010a1e 100%);
    text-align: left;
}

html[dir="ltr"] .cta-banner__content {
    text-align: left;
}

html[dir="ltr"] .cta-banner__title,
html[dir="ltr"] .cta-banner__desc,
html[dir="ltr"] .cta-banner__tagline {
    text-align: left;
}

html[dir="ltr"] .cta-banner__action-wrap {
    margin-left: 0;
    margin-right: 20px;
}

html[dir="ltr"] .site-nav__dropdown {
    right: auto;
    left: 0;
}

html[dir="ltr"] .site-nav__dropdown li a:hover {
    padding-right: 14px;
    padding-left: 18px;
}

@media (max-width: 991px) {
    html[dir="ltr"] .about-section__checklist li {
        justify-content: center;
        text-align: center;
    }
    html[dir="ltr"] .cta-banner__action-wrap {
        margin-right: 0;
    }
}

