/*
Theme Name: Haffiri Freight
Theme URI: https://haffirifreight.com
Author: HAFFIRI LLC
Author URI: https://haffiri.com
Description: A custom WordPress theme for Haffiri Freight — a modern freight logistics and smart freight matching platform.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haffiri-freight
Tags: one-column, custom-menu, full-width-template, logistics, freight
*/

/* ========================================================================
   CSS RESET & BASE
   ======================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

button,
.btn {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

/* ========================================================================
   VARIABLES
   ======================================================================== */

:root {
    --color-bg-primary: #0d0d0d;
    --color-bg-secondary: #1a1a2e;
    --color-bg-overlay: rgba(10, 10, 20, 0.70);
    --color-accent: #e63946;
    --color-accent-hover: #c62d39;
    --color-white: #ffffff;
    --color-white-muted: rgba(255, 255, 255, 0.7);
    --color-white-subtle: rgba(255, 255, 255, 0.5);
    --font-primary: 'Inter', sans-serif;
    --header-height: 80px;
    --container-max: 1280px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: 0.3s ease;
}

/* ========================================================================
   UTILITY
   ======================================================================== */

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

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

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    height: var(--header-height);
    transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
}

.site-header.scrolled {
    position: fixed;
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.site-logo span {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-white);
    white-space: nowrap;
}

/* Navigation */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 16px;
    border-radius: 50px;
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-white-muted);
    padding: 12px 24px;
    border-radius: 50px;
    transition: color var(--transition), background var(--transition);
}

.main-nav a:hover {
    color: var(--color-white);
}

.main-nav a.active,
.main-nav .current-menu-item a {
    color: var(--color-white);
    background: var(--color-accent);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--color-accent);
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.lang-btn:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
}

.lang-btn-flag {
    font-size: 20px;
    line-height: 1;
}

.lang-btn-label {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.03em;
}

.lang-btn-arrow {
    width: 14px;
    height: 14px;
    color: var(--color-white);
    transition: transform var(--transition);
}

.lang-dropdown.open .lang-btn-arrow {
    transform: rotate(180deg);
}

/* Language Dropdown Menu */
.lang-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 2000;
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.lang-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.lang-menu li:last-child {
    border-bottom: none;
}

.lang-menu-header {
    padding: 8px 16px 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    border-bottom: none !important;
    pointer-events: none;
}

.lang-menu-header:not(:first-child) {
    margin-top: 4px;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}

.lang-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    color: #1a1a1a;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.lang-menu a:hover {
    background: #f7f7f7;
}

.lang-menu a.lang-active {
    background: #FFA297;
    color: #1a1a1a;
}

.lang-menu .flag {
    font-size: 20px;
    line-height: 1;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: rgba(13, 13, 13, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 50px;
    transition: background var(--transition), transform var(--transition);
}

.btn-contact:hover {
    background: rgba(13, 13, 13, 0.75);
    transform: translateY(-1px);
}

.btn-contact.active {
    background: #E5422F;
}

.btn-contact.active:hover {
    background: #c62d39;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================================================
   HERO SECTION
   ======================================================================== */

.hero-section {
    position: relative;
    width: calc(100% - 40px);
    margin: 20px auto 0;
    height: calc(85vh - 40px);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 24px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 20, 0.65) 0%,
        rgba(10, 10, 20, 0.50) 40%,
        rgba(10, 10, 20, 0.75) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-content .hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: 0.01em;
    margin-bottom: 12px;
    text-transform: none;
}

.hero-content h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-white);
    margin-bottom: 28px;
}

.hero-content h1 em {
    font-style: italic;
    color: var(--color-white);
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.btn-download-app {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.938rem;
    font-weight: 600;
    border-radius: 10px;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 24px rgba(230, 57, 70, 0.30);
}

.btn-download-app:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(230, 57, 70, 0.40);
}

.hero-subtext {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #E8E8E8;
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
    z-index: 2;
}

/* ========================================================================
   DESCRIPTION SECTION
   ======================================================================== */

.description-section {
    position: relative;
    background: var(--color-bg-secondary);
    overflow: hidden;
    width: calc(100% - 40px);
    margin: 20px auto;
    border-radius: 24px;
    padding: 0;
}

.description-inner {
    display: flex;
    align-items: center;
    min-height: 280px;
    padding: 20px 0;
    gap: 20px;
}

/* Side images */
.description-side-image {
    flex: 0 0 180px;
    height: 240px;
    overflow: hidden;
}

.description-side-image--left {
    border-radius: 0 16px 16px 0;
}

.description-side-image--right {
    border-radius: 16px 0 0 16px;
}

.description-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Center text */
.description-text {
    flex: 1;
    text-align: center;
    padding: 50px 40px;
    position: relative;
}

.africa-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: auto;
    opacity: 0.95;
    pointer-events: none;
    z-index: 0;
    filter: none;
}

.africa-watermark img {
    width: 100%;
    height: auto;
}

.description-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.8;
    color: #E8E8E8;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.btn-how {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.25);
    position: relative;
    z-index: 1;
}

.btn-how:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(230, 57, 70, 0.35);
}

.dark-wrapper {
    background: var(--color-bg-primary);
    border-radius: 0 0 30px 30px;
    overflow: hidden;
    padding-bottom: 20px;
}

/* ========================================================================
   HOW IT WORKS
   ======================================================================== */

.how-it-works-section {
    padding: 80px 20px 60px;
    text-align: center;
    background: #ffffff;
}

.how-it-works-header {
    margin-bottom: 50px;
}

.how-it-works-header h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #1E1E1E;
    margin-bottom: 16px;
}

.how-it-works-header h2 .how-bold {
    color: #E5422F;
    font-weight: 700;
}

.how-it-works-header p {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #151515;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.how-carousel {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.how-carousel-viewport {
    overflow: hidden;
    border-radius: 20px;
}

.how-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.how-carousel-slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: var(--color-bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    min-width: 100%;
}

.how-slide-image {
    flex: 0 0 42%;
    max-height: 242px;
    overflow: hidden;
    padding: 12px 0 12px 12px;
}

.how-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.how-slide-content {
    flex: 1;
    padding: 16px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.how-slide-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.how-slide-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
}

.how-slide-icon svg {
    width: 18px;
    height: 18px;
}

.how-slide-icon-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.how-slide-icon--shipper {
    background: var(--color-accent);
}

.how-slide-icon--carrier {
    background: #2563eb;
}

.how-slide-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
}

.how-slide-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.813rem;
    color: var(--color-white-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Carousel dots */
.how-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.how-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #cccccc;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.how-dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* How It Works — responsive */
@media (max-width: 768px) {
    .how-it-works-header h2 {
        font-size: 1.75rem;
    }

    .how-carousel-slide {
        flex-direction: column;
    }

    .how-slide-image {
        flex: none;
        min-height: 200px;
    }

    .how-slide-content {
        padding: 30px 24px;
    }

}

/* ========================================================================
   ABOUT US VIDEO INTRODUCTION
   ======================================================================== */

.video-section {
    background: #151515;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.video-bg-watermark {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 550px;
    height: auto;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.video-bg-watermark img {
    width: 100%;
    height: auto;
}

.video-section-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.video-text {
    margin-bottom: 40px;
}

.video-text h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.text-accent {
    color: #E5422F;
}

.video-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #B9B9B9;
    line-height: 1.6;
}

.video-player {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.video-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    transition: background 0.3s ease;
}

.video-thumbnail:hover::after {
    background: rgba(0, 0, 0, 0.2);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.video-play-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 768px) {
    .video-text h2 {
        font-size: 1.75rem;
    }

    .video-section {
        padding: 50px 20px;
    }
}

/* ========================================================================
   WHY CHOOSE US
   ======================================================================== */

.why-choose-section {
    padding: 80px 20px 60px;
    background: #ffffff;
    text-align: center;
}

.why-choose-header {
    margin-bottom: 50px;
}

.why-choose-header h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #1E1E1E;
    margin-bottom: 16px;
}

.why-choose-header p {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #151515;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.why-choose-cards {
    display: flex;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.why-card {
    flex: 1;
    border-radius: 20px;
    padding: 20px 32px 32px;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

/* Left card — dark with carousel */
.why-card--left {
    background: #111118;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.why-carousel-viewport {
    overflow: hidden;
    flex: 1;
}

.why-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    height: 100%;
}

.why-carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.why-icon-img {
    width: 80px;
    height: auto;
    object-fit: contain;
    margin-bottom: 24px;
}

.why-card--left h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 14px;
}

.why-card--left p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: var(--color-white-muted);
    line-height: 1.7;
}

.why-carousel-nav {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-start;
}

.why-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.why-nav-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

#why-prev {
    background: #E5422F;
}

/* Right card — dark with mockup image */
.why-card--right {
    background: #111118;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.why-mockup-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .why-choose-header h2 {
        font-size: 1.75rem;
    }

    .why-choose-header p {
        font-size: 1rem;
    }

    .why-choose-cards {
        flex-direction: column;
    }

    .why-card {
        min-height: 260px;
    }
}

/* ========================================================================
   FEATURES
   ======================================================================== */

.features-section {
    background: #151515;
    padding: 80px 20px 100px;
}

.features-header {
    max-width: 1100px;
    margin: 0 auto 50px;
}

.features-header h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.features-header p {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #B9B9B9;
    line-height: 1.6;
    max-width: 700px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: #1E1E1E;
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 14px;
    line-height: 1.4;
}

.feature-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #F6FDF1;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .features-header h2 {
        font-size: 1.75rem;
    }

    .features-header p {
        font-size: 1rem;
    }

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

/* ========================================================================
   TRUSTED PARTNERS SECTION
   ======================================================================== */

.partners-section {
    padding: 80px 24px;
    background: #ffffff;
    text-align: center;
}

.partners-header {
    max-width: 600px;
    margin: 0 auto 48px;
}

.partners-header h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #1E1E1E;
    margin-bottom: 12px;
}

.partners-header p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.partners-logos {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.partners-track {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.partner-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
}

.partner-logo img {
    width: 345px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .partners-section {
        padding: 60px 20px;
    }

    .partners-header h2 {
        font-size: 2rem;
    }

    .partners-track {
        gap: 24px;
    }

    .partner-logo img {
        width: 250px;
    }
}

/* ========================================================================
   DOWNLOAD SECTION
   ======================================================================== */

.download-section {
    background: #ffffff;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.download-bg-watermark {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: auto;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}

.download-bg-watermark img {
    width: 100%;
    height: auto;
}

.download-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.download-content {
    flex: 1;
    text-align: center;
}

.download-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.download-avatars-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.download-trust span {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #1E1E1E;
}

.download-content h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #1E1E1E;
    margin-bottom: 20px;
    line-height: 1.1;
    white-space: nowrap;
}

.download-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #4B4B4B;
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto 32px;
}

.download-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.download-badge-img {
    display: inline-block;
    transition: transform 0.3s ease;
}

.download-badge-img img {
    height: 52px;
    width: auto;
}

.download-badge-img:hover {
    transform: translateY(-2px);
}

.download-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #1E1E1E;
    text-align: center;
}

.download-preview {
    flex: 0 0 400px;
}

.download-preview img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .download-inner {
        flex-direction: column;
        text-align: center;
    }

    .download-content h2 {
        font-size: 2rem;
    }

    .download-trust {
        justify-content: center;
    }

    .download-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    .download-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .download-preview {
        flex: none;
        max-width: 300px;
    }
}

/* ========================================================================
   FAQ
   ======================================================================== */

.faq-section {
    background: #151515;
    padding: 80px 20px 100px;
    border-radius: 30px 30px 0 0;
}

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

.faq-header h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    white-space: nowrap;
}

.text-accent-italic {
    color: #E5422F;
}

.faq-header p {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #B9B9B9;
    line-height: 1.6;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #1E1E1E;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
    text-align: left;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: background 0.3s ease;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: #FFFFFF;
    border-radius: 1px;
}

.faq-toggle::before {
    width: 14px;
    height: 2px;
}

.faq-toggle::after {
    width: 2px;
    height: 14px;
    transition: transform 0.3s ease;
}

.faq-item.active {
    background: #FFFFFF;
}

.faq-item.active .faq-question span:first-child {
    color: #1E1E1E;
    font-size: 24px;
    font-weight: 400;
}

.faq-item.active .faq-answer p {
    color: #4B4B4B;
    font-size: 20px;
}

.faq-item.active .faq-toggle {
    background: #E5422F;
}

.faq-item.active .faq-toggle::after {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: #B9B9B9;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .faq-header h2 {
        font-size: 1.75rem;
    }
}

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

.site-footer {
    background: #151515;
    padding: 0 20px 40px;
    text-align: center;
}

.footer-card {
    background: #1B1B1B;
    border-radius: 24px;
    padding: 60px 20px 32px;
    max-width: 1188px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.footer-africa {
    position: absolute;
    width: 300px;
    height: auto;
    pointer-events: none;
    z-index: 0;
    opacity: 0.08;
}

.footer-africa img {
    width: 100%;
    height: auto;
}

.footer-africa--left {
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
}

.footer-africa--right {
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
}

.footer-watermark {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.footer-watermark img {
    width: 100%;
    height: auto;
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-trust-avatars {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.footer-trust span {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #E9E9E9;
}

.site-footer h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.footer-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #E9E9E9;
    line-height: 1.6;
    margin-bottom: 28px;
}

.footer-follow {
    margin-top: 60px;
    margin-bottom: 24px;
}

.footer-follow span {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--color-white-muted);
    margin-bottom: 14px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.social-icon--youtube {
    background: #E5422F;
}

.social-icon--twitter {
    background: #333333;
}

.social-icon--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon--facebook {
    background: #1877F2;
}

.footer-email {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: var(--color-white-muted);
    margin-top: 40px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.footer-email-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.copy-toast {
    font-size: 14px;
    color: #22c55e;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
}

.copy-toast.show {
    opacity: 1;
}

/* Footer Location Picker */
.footer-location {
    position: relative;
    display: inline-flex;
    margin-top: 12px;
}

.footer-location-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 8px 16px;
    color: var(--color-white-muted);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.footer-location-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.footer-location-pin {
    flex-shrink: 0;
    color: var(--color-accent);
}

.footer-location-label {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white-muted);
}

.footer-location-arrow {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.footer-location.open .footer-location-arrow {
    transform: rotate(180deg);
}

.footer-location-menu {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    transform: translateX(-50%) translateY(8px);
    z-index: 100;
    overflow: hidden;
}

.footer-location.open .footer-location-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.footer-location-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-location-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.footer-location-menu li:last-child {
    border-bottom: none;
}

.footer-location-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #1a1a1a;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
}

.footer-location-menu a:hover {
    background: #f7f7f7;
}

.footer-location-menu a.location-active {
    background: #FFA297;
    color: #1a1a1a;
}

.footer-location-menu .flag {
    font-size: 20px;
    line-height: 1;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--color-white-subtle);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 40px;
    padding-top: 20px;
}

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

.contact-wrapper {
    background: #151515;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.contact-wrapper + .keep-in-touch {
    flex-shrink: 0;
}

.contact-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
    flex: 1;
}

.contact-hero .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.contact-hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.contact-hero-text {
    flex: 1;
}

.contact-hero-text h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 80px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.1;
    white-space: nowrap;
}

.contact-hero-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.7;
    max-width: 420px;
}

.contact-form-card {
    flex: 0 0 480px;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 36px 32px;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group--full {
    margin-bottom: 24px;
}

.form-group label {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #444444;
}

.form-group input,
.form-group textarea {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #1E1E1E;
    background: #FFFFFF;
    border: 1px solid #D0D0D0;
    border-radius: 10px;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #AAAAAA;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #E5422F;
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #E5422F;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-submit:hover {
    background: #c62d39;
    transform: translateY(-2px);
}

.form-message {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    display: none;
}

.form-message--error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-message--success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Keep In Touch */
.keep-in-touch {
    background: #151515;
    padding: 20px 0 0;
    text-align: center;
}

.keep-in-touch-card {
    background: #1B1B1B;
    border-radius: 24px;
    padding: 60px 20px 40px;
}

.keep-in-touch-header {
    margin-bottom: 40px;
}

.keep-in-touch-header h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.keep-in-touch-header p {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #E9E9E9;
    line-height: 1.6;
}

.keep-in-touch-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 32px;
    flex-wrap: wrap;
}

.touch-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.touch-card--copyable {
    cursor: pointer;
    position: relative;
    transition: opacity 0.3s ease;
}

.touch-card--copyable:hover {
    opacity: 0.8;
}

.copy-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #E5422F;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.copy-tooltip.show {
    opacity: 1;
}

.touch-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.touch-card-icon--svg {
    background: #E5422F;
    display: flex;
    align-items: center;
    justify-content: center;
}

.touch-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #B9B9B9;
    text-align: left;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .contact-hero-inner {
        flex-direction: column;
        padding: 120px 20px 40px;
    }

    .contact-hero-text h1 {
        font-size: 2rem;
    }

    .contact-form-card {
        flex: none;
        width: 100%;
    }

    .form-row {
        flex-direction: column;
    }

    .keep-in-touch-cards {
        flex-direction: column;
        align-items: center;
    }

    .keep-in-touch-header h2 {
        font-size: 1.75rem;
    }
}

/* ========================================================================
   RESPONSIVE DESIGN
   ======================================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .description-side-image {
        flex: 0 0 140px;
    }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {
    :root {
        --header-height: 68px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(13, 13, 13, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 100px 32px 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .main-nav a {
        font-size: 1.1rem;
    }

    .header-actions .btn-contact {
        display: none;
    }

    /* Hero */
    .hero-section {
        min-height: 600px;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .hero-content .hero-subtitle {
        font-size: 0.95rem;
    }

    /* Description */
    .description-side-image {
        display: none;
    }

    .description-text {
        padding: 40px 24px;
    }

    .description-text p {
        font-size: 1rem;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .site-logo span {
        font-size: 1rem;
    }

    .site-logo img {
        height: 32px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .btn-download {
        padding: 14px 32px;
        font-size: 0.938rem;
    }

    .hero-subtext {
        font-size: 0.8rem;
    }

    .description-text p {
        font-size: 0.95rem;
    }
}

/* Overlay for mobile nav */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}
