/* ============================================================
   ALQUDS Trans - Landing Page Styles
   Egyptian Shipping & Customs Clearance Company
   ============================================================ */

/* ===== ROOT VARIABLES ===== */
:root {
    --navy-deep: #0d1b2a;
    --navy: #15294a;
    --navy-medium: #1e3a5f;
    --navy-light: #2a4d7a;
    --teal: #1a6b5a;
    --teal-light: #238a73;
    --gold: #c9a55a;
    --gold-light: #dbb97a;
    --gold-hover: #e0c88a;
    --gold-dark: #a8873d;
    --white: #ffffff;
    --off-white: #f0f4f8;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.12);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.14);
    --shadow-gold: 0 4px 20px rgba(201, 165, 90, 0.25);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.8;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: direction 0s;
}

/* Language switch transition */
.lang-switching * {
    transition: none !important;
    animation: none !important;
}

.lang-fade {
    animation: langFade 0.35s ease;
}

@keyframes langFade {
    0% { opacity: 0.4; transform: scale(0.995); }
    100% { opacity: 1; transform: scale(1); }
}

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

ul, ol {
    list-style: none;
}

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--navy-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* ===== SECTION COMMON ===== */
.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

.section-title.light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.9;
}

.section-subtitle.light {
    color: var(--text-light);
}

/* ===== NAVBAR ===== */
.main-navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1050;
    padding: 18px 0;
    transition: var(--transition);
    background: transparent;
}

.main-navbar.scrolled {
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    z-index: 1051;
}

.nav-logo .logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-logo .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.nav-logo .logo-ar {
    color: var(--gold);
}

.nav-logo .logo-en {
    color: var(--white);
    font-weight: 600;
    font-size: 1.3rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 50%;
    transform: translateX(50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
    transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: translateX(50%) scaleX(1);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta .btn-nav {
    padding: 8px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: 'Cairo', sans-serif;
}

.nav-cta .btn-nav-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.nav-cta .btn-nav-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.nav-cta .btn-nav-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-deep);
}

.nav-cta .btn-nav-gold:hover {
    background: linear-gradient(135deg, var(--gold-hover), var(--gold));
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: 'Cairo', sans-serif;
}

.lang-toggle i {
    font-size: 0.9rem;
    color: var(--gold);
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold);
    color: var(--gold);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1051;
    padding: 8px;
    background: none;
    border: none;
}

.mobile-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

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

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

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 40%, var(--navy-medium) 70%, var(--navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

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

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
    background: var(--gold);
}

.hero-bg-shapes .shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    animation: float-slow 20s ease-in-out infinite;
}

.hero-bg-shapes .shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.hero-bg-shapes .shape-3 {
    width: 250px;
    height: 250px;
    top: 30%;
    left: 60%;
    animation: float-slow 18s ease-in-out infinite 2s;
}

.hero-bg-shapes .shape-4 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 20%;
    border-radius: 30%;
    animation: rotate-slow 25s linear infinite;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 0;
}

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

.hero-particles canvas {
    width: 100%;
    height: 100%;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge i {
    font-size: 0.85rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-company-name {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 8px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
    letter-spacing: -1px;
}

.hero-company-name .ar-name {
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-company-name .en-name {
    color: var(--white);
    font-weight: 700;
    font-size: 3.5rem;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 2;
    max-width: 700px;
    margin: 0 auto 36px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-hero-primary {
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-deep);
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
    background: linear-gradient(135deg, var(--gold-hover), var(--gold));
    color: var(--navy-deep);
}

.btn-hero-secondary {
    padding: 14px 40px;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
}

.btn-hero-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
    background: rgba(201, 165, 90, 0.08);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

.hero-scroll-indicator .scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-indicator .scroll-mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--navy-deep), var(--navy));
    padding: 60px 0;
    margin-top: -2px;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(201, 165, 90, 0.3);
}

.stat-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
    direction: ltr;
}

.stat-number .counter-suffix {
    font-size: 1.5rem;
    color: var(--gold);
    margin-right: 4px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--off-white);
    padding: 100px 0;
    position: relative;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    order: 1;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.4;
}

.about-content h2 span {
    color: var(--gold);
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.about-feature-item:hover {
    transform: translateX(-4px);
    box-shadow: var(--shadow-md);
}

.about-feature-item i {
    color: var(--gold);
    font-size: 1.1rem;
    min-width: 20px;
}

.about-feature-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.about-visual {
    order: 2;
    position: relative;
}

/* About Image Stack */
.about-image-stack {
    position: relative;
    padding-bottom: 30px;
    padding-left: 30px;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.about-img-main img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-image-stack:hover .about-img-main img {
    transform: scale(1.03);
}

.about-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    z-index: 2;
}

.about-img-overlay img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.about-img-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-deep);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    z-index: 3;
    box-shadow: var(--shadow-gold);
}

.about-img-badge .badge-year {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    direction: ltr;
}

.about-img-badge .badge-label {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 2px;
}

/* About Highlights Row */
.about-highlights-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.about-highlights-row .about-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
    font-size: 0.85rem;
    transition: var(--transition-fast);
    border: 1px solid var(--gray-200);
}

.about-highlights-row .about-highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.about-highlights-row .about-highlight-item i {
    color: var(--gold);
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
}

.about-highlights-row .about-highlight-item span {
    font-weight: 600;
    font-size: 0.85rem;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: var(--white);
    padding: 100px 0;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--gold), var(--gold-light));
    transition: var(--transition);
    border-radius: 0 0 0 2px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--navy-deep), var(--navy));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--gold);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-deep);
    transform: scale(1.05) rotate(-5deg);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== COUNTRIES SECTION ===== */
.countries-section {
    background: var(--off-white);
    padding: 100px 0;
    position: relative;
}

.countries-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.countries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    cursor: default;
}

.country-card:hover {
    transform: translateY(-8px);
}

.country-flag {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--white);
    transition: var(--transition);
    position: relative;
}

.country-flag::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 3px solid transparent;
    transition: var(--transition);
}

.country-card:hover .country-flag {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.country-card:hover .country-flag::after {
    border-color: var(--gold);
}

.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: linear-gradient(135deg, var(--navy-deep), var(--navy));
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 165, 90, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
}

.form-control-custom {
    width: 100%;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 0.95rem;
    font-family: 'Cairo', sans-serif;
    transition: var(--transition-fast);
    outline: none;
    direction: rtl;
}

.form-control-custom::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-control-custom:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(201, 165, 90, 0.15);
}

textarea.form-control-custom {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-deep);
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--gold-hover), var(--gold));
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Contact No-Form Layout */
.contact-no-form {
    grid-template-columns: 1.2fr 1fr;
}

.contact-map-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.map-large {
    height: 350px;
}

.contact-wa-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 28px;
    background: #25d366;
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    margin-top: 8px;
    text-decoration: none;
}

.contact-wa-cta i {
    font-size: 1.4rem;
}

.contact-wa-cta:hover {
    background: #1da855;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.35);
    color: var(--white);
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 250px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(201, 165, 90, 0.3);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    min-width: 44px;
}

.contact-info-icon.phone-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.contact-info-icon.whatsapp-icon {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
}

.contact-info-icon.email-icon {
    background: rgba(201, 165, 90, 0.15);
    color: var(--gold);
}

.contact-info-icon.location-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

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

.contact-info-text .info-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 2px;
}

.contact-info-text .info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    direction: ltr;
    text-align: right;
}

.contact-info-text .info-value a {
    color: var(--white);
}

.contact-info-text .info-value a:hover {
    color: var(--gold);
}

.contact-actions {
    display: flex;
    gap: 8px;
}

.contact-action-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    text-decoration: none;
}

.contact-action-btn.call-btn {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.contact-action-btn.call-btn:hover {
    background: #3b82f6;
    color: var(--white);
}

.contact-action-btn.wa-btn {
    background: rgba(37, 211, 102, 0.2);
    color: #25d366;
}

.contact-action-btn.wa-btn:hover {
    background: #25d366;
    color: var(--white);
}

/* ===== FOOTER ===== */
.main-footer {
    background: #080f1a;
    padding: 60px 0 0;
    color: var(--white);
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-brand .footer-logo .logo-ar {
    color: var(--gold);
}

.footer-brand .footer-logo .logo-en {
    color: var(--white);
    font-weight: 600;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-deep);
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--gold);
    transform: translateX(-4px);
}

.footer-col ul li a i {
    font-size: 0.7rem;
    color: var(--gold);
}

.footer-contact-item {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--gold);
    margin-top: 4px;
    min-width: 18px;
}

.footer-contact-item a {
    color: var(--text-light);
}

.footer-contact-item a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
}

.footer-bottom span {
    color: var(--gold);
}

/* ===== FLOATING WHATSAPP ===== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
    animation: pulse-wa 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--navy-deep);
    box-shadow: var(--shadow-md);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    border: none;
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-slow {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, -30px);
    }
    50% {
        transform: translate(-20px, 20px);
    }
    75% {
        transform: translate(20px, 10px);
    }
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-company-name {
        font-size: 3.5rem;
    }

    .hero-company-name .en-name {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(13, 27, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        transition: var(--transition);
        z-index: 1050;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 24px;
    }

    .nav-cta {
        display: flex;
        align-items: center;
        margin-left: auto;
        margin-right: 12px;
    }

    .nav-cta .lang-toggle {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        order: 1;
    }

    .about-content {
        order: 2;
    }

    .contact-container,
    .contact-no-form {
        grid-template-columns: 1fr;
    }

    .map-large {
        height: 280px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-company-name {
        font-size: 3rem;
    }

    .hero-company-name .en-name {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-company-name {
        font-size: 2.5rem;
    }

    .hero-company-name .en-name {
        font-size: 2rem;
        display: block;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .countries-grid {
        gap: 20px;
    }

    .country-flag {
        width: 65px;
        height: 65px;
    }

    .country-name {
        font-size: 0.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .about-image-stack {
        padding-left: 20px;
        padding-bottom: 20px;
    }

    .about-img-main img {
        height: 280px;
    }

    .about-img-overlay {
        width: 40%;
    }

    .about-img-overlay img {
        height: 120px;
    }

    .about-highlights-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .about-highlights-row .about-highlight-item {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .about-year {
        font-size: 4rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 60px;
    }

    .hero-company-name {
        font-size: 2rem;
    }

    .hero-company-name .en-name {
        font-size: 1.6rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btns a {
        justify-content: center;
    }

    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-card {
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .floating-whatsapp {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ===== MOBILE OVERLAY ===== */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1049;
}

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

/* ===== LOADING ANIMATION ===== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-content .loader-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.loader-content .loader-logo .ar {
    color: var(--gold);
}

.loader-content .loader-logo .en {
    color: var(--white);
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    animation: loading-bar 1.5s ease-in-out infinite;
}

@keyframes loading-bar {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(350%);
    }
}

/* ============================================================
   LTR (ENGLISH) DIRECTION OVERRIDES
   ============================================================ */
html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

/* Navbar LTR */
html[dir="ltr"] .nav-links a::after {
    right: auto;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
}

html[dir="ltr"] .nav-links a:hover::after,
html[dir="ltr"] .nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Section Headers LTR */
html[dir="ltr"] .section-title::after {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

/* Hero LTR */
html[dir="ltr"] .hero-content {
    text-align: center;
}

html[dir="ltr"] .hero-badge {
    direction: ltr;
}

/* Stats LTR */
html[dir="ltr"] .stat-card {
    direction: ltr;
}

/* About Section LTR */
html[dir="ltr"] .about-content {
    order: 1;
}

html[dir="ltr"] .about-visual {
    order: 2;
}

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

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

html[dir="ltr"] .about-feature-item:hover {
    transform: translateX(4px);
}

html[dir="ltr"] .about-image-stack {
    padding-left: 0;
    padding-right: 30px;
}

html[dir="ltr"] .about-img-overlay {
    left: auto;
    right: 0;
}

html[dir="ltr"] .about-img-badge {
    left: auto;
    right: 20px;
}

/* Service Cards LTR */
html[dir="ltr"] .service-card {
    text-align: left;
}

html[dir="ltr"] .service-card::before {
    right: auto;
    left: 0;
    border-radius: 0 0 2px 0;
}

/* Countries LTR */
html[dir="ltr"] .country-card {
    direction: ltr;
}

/* Contact LTR */
html[dir="ltr"] .contact-info-card {
    direction: ltr;
}

html[dir="ltr"] .contact-info-text .info-value {
    text-align: left;
    direction: ltr;
}

html[dir="ltr"] .contact-actions {
    margin-left: 0;
    margin-right: auto;
}

/* Footer LTR */
html[dir="ltr"] .footer-brand {
    text-align: left;
}

html[dir="ltr"] .footer-col h4::after {
    right: auto;
    left: 0;
}

html[dir="ltr"] .footer-col ul li a {
    direction: ltr;
}

html[dir="ltr"] .footer-col ul li a:hover {
    transform: translateX(4px);
}

html[dir="ltr"] .footer-contact-item {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .footer-bottom {
    direction: ltr;
}

/* Floating buttons LTR */
html[dir="ltr"] .floating-whatsapp {
    left: auto;
    right: 24px;
}

html[dir="ltr"] .back-to-top {
    right: auto;
    left: 24px;
}

/* Mobile Nav LTR */
@media (max-width: 992px) {
    html[dir="ltr"] .nav-links {
        right: auto;
        left: -100%;
    }

    html[dir="ltr"] .nav-links.active {
        left: 0;
        right: auto;
    }

    html[dir="ltr"] .about-image-stack {
        padding-right: 20px;
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    html[dir="ltr"] .about-image-stack {
        padding-right: 15px;
        padding-left: 0;
    }
}