/* ط§ظ„ط£ط³ط§ط³ظٹط§طھ ط§ظ„ط¹ط§ظ…ط© */
:root {
    --brand-yellow: #F4BC00;
    --brand-yellow-dark: #F4BC00;
    --brand-black: #111827;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --bg-main: #FFF9EC;
    --bg-soft: #F7F1E4;
    --bg-card: #FFFFFF;
    --border-soft: #E8DCC2;
}

/* Brand yellow overrides for utility-heavy markup */
.text-yellow-400,
.text-yellow-500,
.text-yellow-600 {
    color: var(--brand-yellow) !important;
}

.text-yellow-700,
.text-yellow-800 {
    color: var(--brand-yellow-dark) !important;
}

.bg-yellow-400,
.bg-yellow-500 {
    background-color: var(--brand-yellow) !important;
}

.bg-yellow-50 {
    background-color: rgba(244, 188, 0, 0.08) !important;
}

.bg-yellow-100 {
    background-color: rgba(244, 188, 0, 0.14) !important;
}

.bg-yellow-200 {
    background-color: rgba(244, 188, 0, 0.2) !important;
}

.border-yellow-200,
.border-yellow-300,
.border-yellow-400,
.border-yellow-500 {
    border-color: var(--brand-yellow) !important;
}

.ring-yellow-200,
.ring-yellow-300,
.ring-yellow-400 {
    --tw-ring-color: rgba(244, 188, 0, 0.35) !important;
}

.hover\:bg-yellow-50:hover {
    background-color: rgba(244, 188, 0, 0.08) !important;
}

.hover\:bg-yellow-500:hover {
    background-color: var(--brand-yellow-dark) !important;
}

.hover\:border-yellow-300:hover,
.hover\:border-yellow-400:hover,
.focus\:border-yellow-400:focus,
.focus\:border-yellow-500:focus {
    border-color: var(--brand-yellow) !important;
}

.focus\:ring-yellow-100:focus,
.focus\:ring-yellow-500:focus {
    --tw-ring-color: rgba(244, 188, 0, 0.25) !important;
}

body {
    box-sizing: border-box;
    font-family: 'Cairo', 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    position: relative;
}

body.homepage {
    overflow-x: clip;
}

/* طھط£ط«ظٹط± ط®ظپظٹظپ ط¹ظ„ظ‰ ط§ظ„ط®ظ„ظپظٹط© ط§ظ„ط¹ط§ظ…ط© */

body.homepage::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    background-image: url('../images/main_header.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(6px);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: -2;
    pointer-events: none;
}

/* ط£ظ„ظˆط§ظ† ظˆظ‡ظˆظٹط© ط§ظ„ط¹ظ„ط§ظ…ط© */
.bee-yellow {
    color: var(--brand-yellow-dark);
}
.bg-bee-yellow {
    background-color: var(--brand-yellow);
}
.border-bee-yellow {
    border-color: var(--brand-yellow);
}
.glow-yellow {
    box-shadow: 0 10px 24px rgba(244, 188, 0, 0.18);
}

/* ط®ظ„ظپظٹط© ط§ظ„ظ‡ظٹط±ظˆ ظˆط§ظ„ظ†ط§ظپط¨ط§ط± ظ…ط¹ ط¨ظ„ظˆط± */
.hero-bg-wrapper {
    position: relative;
    min-height: clamp(420px, 72vh, 760px);
    overflow: hidden;
}

/* ط§ظ„ط·ط¨ظ‚ط© ط§ظ„ظ„ظٹ ظپظٹظ‡ط§ ط§ظ„طµظˆط±ط© + ط§ظ„ط¨ظ„ظˆط± */
.homepage .hero-bg-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/main_header.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: none;
    transform: none;
    z-index: -1;
}

html[dir="ltr"] .homepage .hero-bg-wrapper::before {
    background-image: url('../images/hero-ltr-en-tr.png');
    background-position: center 40%;
    transform: none;
}


/* ظ†ط§ظپط¨ط§ط± ط²ط¬ط§ط¬ظٹط© */
.nav-glass {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

/* طµظˆط±ط© ط§ظ„ظ„ظˆط¬ظˆ */
.logo-img {
    width: 200px;
    height: 80px;
    object-fit: contain;
    margin-right: 20px;
}

.nav-logo-group {
    flex-shrink: 0;
}

.hero-layout {
    justify-content: flex-start;
}

.hero-copy {
    max-width: 64rem;
}

.hero-actions {
    align-items: flex-start;
}

.hero-copy .text-black,
.hero-copy .typing-container.text-black,
.hero-copy #typing-text-1 {
    color: var(--brand-black) !important;
}

.hero-copy p {
    color: var(--text-muted) !important;
}

.hero-banner-shell {
    display: none;
}

.hero-banner-image {
    display: none;
}

html[dir="rtl"] .hero-copy {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

html[dir="ltr"] .hero-copy {
    margin-right: auto;
    margin-left: 0;
    text-align: left;
}

html[dir="ltr"] .hero-actions {
    align-items: flex-start;
}

html[dir="ltr"] .logo-img {
    margin-right: 0;
    margin-left: 20px;
}

#language-selector,
#mobile-language-selector {
    margin-inline: 0.75rem;
    max-width: calc(100% - 1.5rem);
}

/* ط±ظˆط§ط¨ط· ط§ظ„ظ†ط§ظپط¨ط§ط± */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
    padding-bottom: 8px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-yellow), var(--brand-yellow-dark));
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}
.nav-link:hover {
    color: var(--brand-yellow-dark);
    transform: translateY(-2px);
}
.nav-link:hover::after {
    width: 100%;
}

html[dir="ltr"] .nav-home-link {
    margin-left: 0 !important;
    margin-right: 1.5rem !important;
}

@media (min-width: 1024px) {
    html[dir="ltr"] .nav-home-link {
        margin-right: 2rem !important;
    }
}

/* ط§ظ„ط£ط²ط±ط§ط± */
.btn-primary {
    background: var(--brand-yellow);
    color: var(--brand-black);
    border: 1px solid var(--brand-yellow);
    box-shadow: 0 8px 20px rgba(244, 188, 0, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.btn-primary:hover {
    background: var(--brand-yellow-dark);
    border-color: var(--brand-yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(244, 188, 0, 0.22);
}
.btn-outline {
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-main);
    border: 1px solid var(--brand-yellow-dark);
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.btn-outline:hover {
    background-color: #FFF3BF;
    color: var(--brand-black);
    border-color: var(--brand-yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(244, 188, 0, 0.14);
}

.nav-beeorder-btn {
    background: #FFF3BF;
    color: var(--brand-black);
    border: 1px solid #F4BC00;
    box-shadow: 0 6px 16px rgba(244, 188, 0, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.nav-beeorder-btn:hover {
    background: #FFE082;
    border-color: var(--brand-yellow-dark);
    box-shadow: 0 10px 20px rgba(244, 188, 0, 0.16);
    transform: translateY(-1px);
}

/* طھط£ط«ظٹط± ط§ظ„ظƒطھط§ط¨ط© ظپظٹ ط§ظ„ظ‡ظٹط±ظˆ */
.typing-container {
    display: inline-block;
}
.typing-text,
.typing-text-2 {
    display: inline;
    border-right: 3px solid var(--brand-yellow-dark);
    animation: blink-caret 0.75s step-end infinite;
}
.typing-text.finished,
.typing-text-2.finished {
    border-right: none;
}
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--brand-yellow-dark); }
}

/* ط¯ط®ظˆظ„ ظ†ط§ط¹ظ… ظ„ظ„ظ†طµظˆطµ */
.fade-in {
    animation: fadeIn 1s ease-in-out 0.6s both;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   ظ‚ط³ظ… ط§ظ„ط£ط´ظƒط§ظ„ ط§ظ„ط³ط¯ط§ط³ظٹط© ط§ظ„ظ…طھط­ط±ظƒط© (Hexagons)
   ========================================= */
.hexagon-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hexagon {
    position: absolute;
    width: 60px;
    height: 35px;
    background-color: rgba(244, 188, 0, 0.03);
    animation: float-up linear infinite;
}

.hexagon:before,
.hexagon:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
}

.hexagon:before {
    bottom: 100%;
    border-bottom: 17.5px solid rgba(244, 188, 0, 0.03);
}

.hexagon:after {
    top: 100%;
    border-top: 17.5px solid rgba(244, 188, 0, 0.03);
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* =========================================
   ظ‚ط³ظ… ط´ط±ظٹط· ط§ظ„ط¹ظ„ط§ظ…ط§طھ ط§ظ„طھط¬ط§ط±ظٹط© (Brands Marquee)
   ========================================= */
.brands-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    direction: ltr; /* Force LTR direction for the container to ensure correct marquee alignment */
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    direction: ltr; /* Force LTR for consistent animation math */
    /* ط³ظٹطھظ… ط¥ط¶ط§ظپط© ط§ظ„ط£ظ†ظٹظ…ظٹط´ظ† ط¹ط¨ط± JS ط¨ظ†ط§ط،ظ‹ ط¹ظ„ظ‰ ط§ظ„ط¹ط±ط¶ */
}

.brand-set {
    display: flex;
    gap: 30px;
    flex-shrink: 0;
}

.brand-set a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
    width: 150px; /* Fixed width */
    height: 120px;
    flex-shrink: 0;
}

.brand-set a:hover {
    transform: scale(1.05);
    border-color: var(--brand-yellow-dark);
    box-shadow: 0 0 0 4px rgba(244, 188, 0, 0.14), 0 12px 28px rgba(17, 24, 39, 0.08);
}

.brand-set a img {
    max-width: 100px;
    max-height: 80px;
    object-fit: contain;
}

.marquee-track:hover {
    animation-play-state: paused !important;
}

.homepage .hero-bg-wrapper + section {
    background: rgba(255, 249, 236, 0.92) !important;
    border-top: 1px solid rgba(232, 220, 194, 0.9) !important;
    box-shadow: 0 -20px 60px rgba(247, 241, 228, 0.85) !important;
}

.homepage .why-bee-logistics-section .feature-card,
.homepage .how-we-work-section .step-card,
.homepage .guide-section .guide-card {
    background: var(--bg-card);
    border-color: var(--border-soft);
}

.homepage .why-bee-logistics-section .main-title,
.homepage .how-we-work-section .main-title,
.homepage .guide-section .main-title,
.homepage .service-title,
.homepage .guide-section .guide-card .card-title {
    color: var(--brand-black);
}

.homepage .why-bee-logistics-section .subtitle,
.homepage .how-we-work-section .subtitle,
.homepage .guide-section .subtitle,
.homepage .why-bee-logistics-section .feature-description,
.homepage .how-we-work-section .step-description,
.homepage .guide-section .guide-card .card-description {
    color: var(--text-muted);
}

.homepage .how-we-work-section .step-card:nth-child(2) .icon-container,
.homepage .pre-footer-section .w-12.h-12.bg-blue-100,
.homepage .pre-footer-section .w-10.h-10.bg-gradient-to-br.from-purple-400.to-purple-500,
.homepage .pre-footer-section .w-4.h-4.bg-blue-500,
.homepage .pre-footer-section .bg-gradient-to-r.from-blue-50.to-blue-100,
.homepage .pre-footer-section .bg-blue-200,
.homepage .pre-footer-section .bg-blue-500 {
    background: #111827 !important;
    color: #F4BC00 !important;
}

.homepage .how-we-work-section .step-card:nth-child(4) .icon-container,
.homepage .pre-footer-section .w-12.h-12.bg-purple-100,
.homepage .pre-footer-section .feature-icon.purple {
    background: linear-gradient(135deg, #F4BC00, #F4BC00) !important;
    color: #111827 !important;
}

/* =========================================
   ظ‚ط³ظ… ط§ظ„ط®ط¯ظ…ط§طھ (Services Section)
   ========================================= */
@keyframes pulse-yellow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.service-card {
    width: 280px;
    min-width: 240px;
    height: 320px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.services-grid {
    overflow-x: visible;
    max-width: 100%;
}

.hexagon-card {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(244, 188, 0, 0.4);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(244, 188, 0, 0.2);
}

.service-card:hover .hexagon-card {
    background: rgba(26, 26, 26, 0.85);
    border-color: rgba(244, 188, 0, 0.8);
    box-shadow: 0 0 40px rgba(244, 188, 0, 0.5), 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: translateY(-10px);
}

.card-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 20px;
    width: 85%;
    height: 85%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.icon-container {
    margin-bottom: 20px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F4BC00 0%, #DFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(244, 188, 0, 0.4);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(244, 188, 0, 0.6);
}

.service-title {
    color: #F4BC00;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Cairo', sans-serif;
    text-shadow: 0 2px 10px rgba(244, 188, 0, 0.3);
}

.service-description {
    color: #FFFFFF;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    font-family: 'Cairo', sans-serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.service-btn {
    background: linear-gradient(135deg, #F4BC00 0%, #DFA500 100%);
    color: black;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    box-shadow: 0 4px 15px rgba(244, 188, 0, 0.3);
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 188, 0, 0.5);
}

/* ظ„ظ…ط§ط°ط§ Bee Logistics */
.why-bee-logistics-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}
.why-bee-logistics-section .section-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}
.why-bee-logistics-section .main-title {
    font-size: 40px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 16px 0;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.why-bee-logistics-section .main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #F4BC00, transparent);
    border-radius: 2px;
}
.why-bee-logistics-section .subtitle {
    font-size: 20px;
    color: #707070;
    font-weight: 400;
    margin: 0;
    line-height: 1.6;
}
.why-bee-logistics-section .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px 30px;
    margin-top: 30px;
}
.why-bee-logistics-section .feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    padding: 28px 24px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(244, 188, 0, 0.1);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}
.why-bee-logistics-section .feature-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.why-bee-logistics-section .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #F4BC00, #F4BC00, #F4BC00);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.why-bee-logistics-section .feature-card:hover::before {
    transform: scaleX(1);
}
.why-bee-logistics-section .feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 188, 0, 0.03) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
}
.why-bee-logistics-section .feature-card:hover::after {
    transform: scale(1);
}
.why-bee-logistics-section .icon-container {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #F4BC00 0%, #F4BC00 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(244, 188, 0, 0.3);
    position: relative;
}
.why-bee-logistics-section .icon-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #F4BC00, #F4BC00, #F4BC00);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.why-bee-logistics-section .feature-card:hover .icon-container {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 30px rgba(244, 188, 0, 0.4);
}
.why-bee-logistics-section .feature-card:hover .icon-container::before {
    opacity: 1;
}
.why-bee-logistics-section .feature-card:hover .icon-container svg {
    animation: iconBounce 0.6s ease;
}
@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}
.why-bee-logistics-section .feature-title {
    font-size: 22px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 16px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}
.why-bee-logistics-section .feature-card:hover .feature-title {
    color: #F4BC00;
}
.why-bee-logistics-section .feature-description {
    font-size: 16px;
    color: #444444;
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
}
.why-bee-logistics-section .feature-card:hover .feature-description {
    color: #333333;
}
@media (max-width: 768px) {
    .why-bee-logistics-section .container {
        padding: 25px 16px;
    }
    .why-bee-logistics-section .main-title {
        font-size: 32px;
    }
    .why-bee-logistics-section .subtitle {
        font-size: 18px;
    }
    .why-bee-logistics-section .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .why-bee-logistics-section .feature-card {
        padding: 24px 20px;
    }
    .why-bee-logistics-section .feature-title {
        font-size: 20px;
    }
    .why-bee-logistics-section .feature-description {
        font-size: 15px;
    }
}
@media (max-width: 480px) {
    .why-bee-logistics-section .main-title {
        font-size: 28px;
    }
    .why-bee-logistics-section .subtitle {
        font-size: 16px;
    }
    .why-bee-logistics-section .feature-card {
        padding: 28px 20px;
    }
}
.why-bee-logistics-section .feature-card:nth-child(1) .icon-container::after { content: '01'; }
.why-bee-logistics-section .feature-card:nth-child(2) .icon-container::after { content: '02'; }
.why-bee-logistics-section .feature-card:nth-child(3) .icon-container::after { content: '03'; }
.why-bee-logistics-section .feature-card:nth-child(4) .icon-container::after { content: '04'; }
.why-bee-logistics-section .icon-container::after {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #1A1A1A;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.3s ease;
}
.why-bee-logistics-section .feature-card:hover .icon-container::after {
    opacity: 1;
    transform: scale(1.2);
}

/* ظ‚ط³ظ… ظƒظٹظپ ظ†ط¹ظ…ظ„طں */
.how-we-work-section {
    background: transparent;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px; /* ط¥ط¶ط§ظپط© ظپط§طµظ„ ط¹ظ„ظˆظٹ ط¨ظٹظ† ط§ظ„ط£ظ‚ط³ط§ظ… */
}
.how-we-work-section::before {
    content: none !important; /* طھظ… ط­ط°ظپ ط§ظ„ط®ظ„ظپظٹط© ط£ظˆ ط§ظ„طھط£ط«ظٹط± ط¨ط§ظ„ظƒط§ظ…ظ„ ط¨ظ†ط§ط،ظ‹ ط¹ظ„ظ‰ ط·ظ„ط¨ ط§ظ„ظ…ط³طھط®ط¯ظ… */
}
.how-we-work-section .container {
    position: relative;
    z-index: 1;
}
.how-we-work-section .main-title {
    color: #F4BC00;
    font-size: 2.8rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    margin-bottom: 0.5rem;
    position: relative;
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.how-we-work-section .main-title::after {
    content: '';
    display: block;
    margin: 18px auto 0 auto;
    width: 160px;
    height: 5px;
    background: linear-gradient(90deg, transparent 0%, #f7d86a 20%, #F4BC00 50%, #f7d86a 80%, transparent 100%);
    border-radius: 3px;
    box-shadow: 0 2px 12px rgba(244, 188, 0, 0.27);
}
.how-we-work-section .subtitle {
    color: #444;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0,0,0,0.10);
}
.how-we-work-section .steps-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
}
.how-we-work-section .step-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    min-width: 260px;
    max-width: 300px;
    text-align: center;
    position: relative;
    border: 1px solid #eee;
    transition: box-shadow 0.3s, transform 0.3s;
    cursor: pointer;
}
.how-we-work-section .step-card:hover {
    box-shadow: 0 8px 32px rgba(244,188,0,0.18), 0 2px 16px rgba(0,0,0,0.10);
    transform: translateY(-10px) scale(1.04);
    border-color: #F4BC00;
}
.how-we-work-section .step-number {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    background: #F4BC00;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(244,188,0,0.25);
    border: 4px solid #fff;
    z-index: 2;
}
.how-we-work-section .icon-container {
    margin: 1.2rem auto 1rem auto;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(244,188,0,0.10);
}
.how-we-work-section .step-card:nth-child(1) .icon-container {
    background: radial-gradient(circle, #ff9800 60%, #fff 100%);
    color: #fff;
}
.how-we-work-section .step-card:nth-child(2) .icon-container {
    background: radial-gradient(circle, #2196f3 60%, #fff 100%);
    color: #fff;
}
.how-we-work-section .step-card:nth-child(3) .icon-container {
    background: radial-gradient(circle, #4caf50 60%, #fff 100%);
    color: #fff;
}
.how-we-work-section .step-card:nth-child(4) .icon-container {
    background: radial-gradient(circle, #9c27b0 60%, #fff 100%);
    color: #fff;
}
.how-we-work-section .step-title {
    color: #222;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0.2rem;
    font-family: 'Cairo', 'Inter', sans-serif;
    letter-spacing: 0.5px;
}
.how-we-work-section .step-description {
    color: #666;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.2rem;
    font-family: 'Cairo', 'Inter', sans-serif;
    letter-spacing: 0.2px;
}
.how-we-work-section .step-card {
    font-family: 'Cairo', 'Inter', sans-serif;
}

/* ظ‚ط³ظ… ط§ظ„ط¯ظ„ظٹظ„ ظˆط§ظ„ظ†طµط§ط¦ط­ */
.guide-section {
    background: transparent;
    position: relative;
    min-height: 500px;
    margin-top: 60px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
/* .guide-section::before removed for overlay div replacement */
.guide-section .container {
    position: relative;
    z-index: 1;
    padding: 64px 24px 64px 24px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.guide-section .main-title {
    color: #F4BC00;
    font-size: 2.3rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    margin-bottom: 0.5rem;
    position: relative;
    display: block;
}
.guide-section .main-title::after {
    content: '';
    display: block;
    margin: 18px auto 0 auto;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, transparent 0%, #f7d86a 20%, #F4BC00 50%, #f7d86a 80%, transparent 100%);
    border-radius: 3px;
    box-shadow: 0 2px 12px rgba(244, 188, 0, 0.27);
}
.guide-section .subtitle {
    color: #444;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0,0,0,0.10);
}
.guide-section .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 40px;
}
.guide-section .guide-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFFEF8 100%);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(244, 188, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(244, 188, 0, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
}
.guide-section .guide-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s, transform 0.6s;
}
.guide-section .guide-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(244, 188, 0, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(244, 188, 0, 0.2);
}
.guide-section .guide-card .icon-container {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #F4BC00 0%, #F4BC00 50%, #F4BC00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(244, 188, 0, 0.3);
    position: relative;
}
.guide-section .guide-card .icon-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #F4BC00, #F4BC00, #F4BC00);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.guide-section .guide-card:hover .icon-container {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 8px 25px rgba(244, 188, 0, 0.4);
}
.guide-section .guide-card:hover .icon-container::before {
    opacity: 1;
}
.guide-section .guide-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 16px 0;
    line-height: 1.4;
}
.guide-section .guide-card .card-description {
    font-size: 1rem;
    color: #666666;
    line-height: 1.7;
    margin: 0 0 24px 0;
}
.guide-section .guide-card .read-more-btn {
    background: #F4BC00;
    color: #1A1A1A;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    display: inline-block;
}
.guide-section .guide-card .read-more-btn:hover {
    background: #E5B504;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 188, 0, 0.3);
}
@media (max-width: 900px) {
    .guide-section .cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .guide-section .container {
        padding: 40px 16px;
    }
}
@media (max-width: 480px) {
    .guide-section .main-title {
        font-size: 28px;
    }
    .guide-section .subtitle {
        font-size: 16px;
    }
    .guide-section .guide-card {
        padding: 20px;
    }
    .guide-section .guide-card .card-title {
        font-size: 1.1rem;
    }
}

/* Responsive hardening for the marketing home page */
*, *::before, *::after {
    box-sizing: border-box;
}

html,
body,
.homepage {
    max-width: 100%;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

.container,
.why-bee-logistics-section .container,
.how-we-work-section .container,
.guide-section .container {
    width: min(100% - 32px, 1200px);
    max-width: 1200px;
    margin-inline: auto;
}

.why-bee-logistics-section .features-grid,
.guide-section .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.how-we-work-section .steps-container {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.how-we-work-section .step-card,
.guide-section .guide-card,
.why-bee-logistics-section .feature-card {
    min-width: 0;
}

@media (max-width: 1024px) {
    .hero-section {
        min-height: auto !important;
        padding-top: 110px !important;
        padding-bottom: 48px !important;
    }

    .hero-layout {
        min-height: 52vh !important;
        align-items: center;
    }

    .hero-copy {
        width: min(100%, 720px);
    }
}

@media (max-width: 768px) {
    .container,
    .why-bee-logistics-section .container,
    .how-we-work-section .container,
    .guide-section .container {
        width: min(100% - 24px, 1200px);
    }

    .hero-section {
        padding-inline: 16px !important;
        padding-top: 96px !important;
    }

    .hero-layout {
        justify-content: center !important;
        min-height: 48vh !important;
    }

    .hero-copy {
        margin-inline: auto !important;
        max-width: 100% !important;
        text-align: start !important;
    }

    .hero-copy h1 {
        font-size: clamp(2rem, 10vw, 3.2rem) !important;
        line-height: 1.15 !important;
    }

    .hero-copy p {
        max-width: 100%;
        font-size: 1rem !important;
    }

    .hero-actions {
        width: 100%;
        justify-content: stretch !important;
    }

    .hero-actions button,
    .hero-actions a {
        width: 100%;
        justify-content: center;
    }

    .why-bee-logistics-section .feature-card,
    .guide-section .guide-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container,
    .why-bee-logistics-section .container,
    .how-we-work-section .container,
    .guide-section .container {
        width: min(100% - 20px, 1200px);
    }

    .hero-section {
        padding-top: 88px !important;
        padding-inline: 12px !important;
    }

    .hero-copy h1 {
        font-size: clamp(1.75rem, 11vw, 2.6rem) !important;
    }

    .hero-copy br {
        display: none;
    }

    .why-bee-logistics-section .feature-card,
    .how-we-work-section .step-card,
    .guide-section .guide-card {
        padding: 18px;
        border-radius: 18px;
    }

    .typing-container {
        white-space: normal;
    }
}

