/* ===================================
   Global Styles & Variables
   =================================== */
:root {
    --primary-color: #C68C17;
    --secondary-color: #A07012;
    --accent-color: #E1AF46;
    --dark-color: #0F0F0F;
    --light-color: #F8F8F8;
    --text-dark: #0F0F0F;
    --text-light: #787878;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Cairo', -apple-system-arabic, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html[dir="ltr"] body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Better text rendering for Arabic */
html[dir="rtl"] {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html[dir="rtl"] * {
    letter-spacing: 0;
}

/* Improve Arabic number display */
html[dir="rtl"] .stat-number,
html[dir="rtl"] .stat-label {
    font-family: 'Cairo', sans-serif;
}

/* Better spacing for Arabic text */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
    font-weight: 700;
}

html[dir="rtl"] p {
    line-height: 1.8;
}

/* Fix RTL overflow issues on mobile */
@media (max-width: 768px) {
    html[dir="rtl"] {
        overflow-x: hidden !important;
    }

    html[dir="rtl"] body {
        overflow-x: hidden !important;
        margin: 0;
        padding: 0;
    }

    html[dir="rtl"] .container {
        margin-left: auto;
        margin-right: auto;
        padding-left: 15px;
        padding-right: 15px;
    }

    html[dir="rtl"] .hero-content {
        margin: 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    html[dir="rtl"] .nav-content {
        padding: 0;
        margin: 0;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===================================
   Navbar Styles
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    backdrop-filter: none;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.nav-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

html[dir="ltr"] .nav-content {
    justify-content: flex-end;
}

/* Hero Logo */
.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}

.hero-logo-img {
    width: 280px;
    height: 280px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

.hero-logo-img:hover {
    transform: scale(1.05) rotate(5deg);
    filter: drop-shadow(0 12px 32px rgba(198, 140, 23, 0.5));
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: #fff3cd;
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .hamburger:hover {
    background-color: rgba(198, 140, 23, 0.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .hamburger span {
    background-color: var(--primary-color);
}

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

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

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

/* Mobile menu overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* ===================================
   Buttons
   =================================== */
.btn-primary,
.btn-secondary,
.btn-hero {
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(198, 140, 23, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 140, 23, 0.4);
}

.lang-switch {
    padding: 10px 18px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .lang-switch {
    background-color: rgba(198, 140, 23, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    backdrop-filter: none;
}

.lang-switch:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 140, 23, 0.3);
}

.navbar.scrolled .lang-switch:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #C68C17, #A07012);
    color: var(--white);
    overflow-x: hidden;
    overflow-y: visible;
}

.hero-tagline {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff3cd;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

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

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 0 50px;
    overflow: visible;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
    display: block;
    color: #fff3cd;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 25px;
    position: relative;
    opacity: 0.7;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background-color: var(--white);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

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

/* ===================================
   Section Styles
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 20px;
}

/* ===================================
   Features Section
   =================================== */
.features {
    padding: 100px 0;
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(198, 140, 23, 0.3);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(198, 140, 23, 0.4);
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   App Section
   =================================== */
.app-section {
    padding: 100px 0;
    background-color: var(--white);
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-features-list {
    list-style: none;
    margin: 30px 0;
}

.app-features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    font-size: 18px;
}

.app-features-list i {
    color: var(--primary-color);
    font-size: 24px;
}

.app-download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.store-button {
    display: inline-block;
    transition: var(--transition);
    text-decoration: none;
}

.store-button:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

.store-badge {
    height: 55px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.store-button:hover .store-badge {
    transform: scale(1.05);
}

.app-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 40px;
    padding: 15px;
    box-shadow: var(--shadow-hover);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--white);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: var(--primary-color);
    opacity: 0.3;
}

/* ===================================
   Delivery Methods Section
   =================================== */
.delivery-methods {
    padding: 100px 0;
    background-color: var(--white);
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.delivery-card {
    background-color: var(--light-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

.delivery-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
    background-color: var(--white);
}

.delivery-icon {
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(198, 140, 23, 0.3);
    transition: var(--transition);
}

.delivery-card:hover .delivery-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 16px rgba(198, 140, 23, 0.5);
}

.delivery-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.delivery-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
}

/* ===================================
   App Screenshots Section
   =================================== */
.app-screenshots {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f8f8, #ffffff);
}

.screenshots-slider {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 60px;
}

.screenshot-card {
    flex: 0 1 350px;
    text-align: center;
}

.screenshot-phone {
    width: 280px;
    height: 570px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
}

.screenshot-header {
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notch {
    width: 120px;
    height: 25px;
    background-color: #000;
    border-radius: 0 0 15px 15px;
}

.screenshot-content {
    width: 100%;
    height: calc(100% - 30px);
    background-color: #1a1a1a;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Demo Splash Screen */
.demo-splash {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #C68C17, #A07012);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: var(--white);
}

.demo-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.demo-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.demo-splash h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
}

.demo-splash p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.demo-tagline {
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    opacity: 0.95;
}

.demo-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #fff3cd;
}

/* Demo Home Screen */
.demo-home {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #C68C17 120px, #f8f8f8 120px);
    padding: 15px;
    overflow: hidden;
}

.demo-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: var(--white);
}

.demo-badge {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.demo-welcome {
    font-size: 13px;
    font-weight: 600;
}

.demo-small-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.demo-info-box {
    background: linear-gradient(135deg, #C68C17, #A07012);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
}

.demo-info-box p {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.demo-delivery-options {
    background-color: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.demo-delivery-options h4 {
    font-size: 14px;
    color: var(--dark-color);
    margin-bottom: 15px;
    text-align: center;
}

.demo-options-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.demo-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background-color: var(--light-color);
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.demo-option.active {
    background: linear-gradient(135deg, rgba(198, 140, 23, 0.1), rgba(160, 112, 18, 0.1));
    border-color: var(--primary-color);
}

.demo-option i {
    font-size: 20px;
    color: var(--primary-color);
}

.demo-option span {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-color);
}

.screenshot-caption {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    margin-top: 15px;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-color), #ffffff);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-rating {
    color: #ffc107;
    font-size: 18px;
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 26px;
    box-shadow: 0 4px 12px rgba(198, 140, 23, 0.3);
    transition: var(--transition);
    overflow: hidden;
}

.author-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(198, 140, 23, 0.4);
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 3px;
}

.author-role {
    font-size: 14px;
    color: var(--text-light);
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(198, 140, 23, 0.3);
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(198, 140, 23, 0.4);
}

.contact-details h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-details p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(198, 140, 23, 0.4);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--light-color);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
}

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

/* Contact Section Update */
.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

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

.contact-map {
    margin-top: 50px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.contact-map iframe {
    display: block;
    border-radius: var(--border-radius);
}

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

.footer-links i {
    font-size: 16px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 80px;
    width: 80px;
    object-fit: contain;
    transition: var(--transition);
    border-radius: 50%;
    background-color: transparent;
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 20px rgba(198, 140, 23, 0.4);
}

@media (max-width: 768px) {
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo-img {
        height: 70px;
        width: 70px;
    }
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 600;
}

.map-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 140, 23, 0.4);
}

.map-link i {
    font-size: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-separator {
    margin: 0 15px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    min-width: 55px;
    min-height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(198, 140, 23, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(198, 140, 23, 0.5);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    /* Fix horizontal overflow */
    .nav-content {
        width: 100%;
        overflow: visible;
    }

    /* Hide nav links on mobile, show hamburger */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 85%;
        max-width: 320px;
        background-color: var(--white);
        flex-direction: column;
        padding: 100px 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: flex-start;
        z-index: 999;
        overflow-y: auto;
    }

    html[dir="ltr"] .nav-links {
        right: auto;
        left: -100%;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
    }

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

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

    .hamburger {
        display: flex;
    }

    /* Hero logo responsive */
    .hero-logo-img {
        width: 220px;
        height: 220px;
    }

    /* Fix hero section visibility */
    .hero {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .hero-content {
        display: block !important;
        visibility: visible !important;
        width: 100%;
    }

    .nav-link {
        color: var(--dark-color);
        width: 100%;
        padding: 15px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .lang-switch {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        margin-top: 10px;
        background-color: var(--primary-color);
        color: var(--white);
        border-color: var(--primary-color);
    }

    .app-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .app-mockup {
        margin-top: 40px;
    }

    .app-mockup .screenshot-phone {
        width: 250px;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    /* Ensure no horizontal scroll */
    body, html {
        max-width: 100vw;
        overflow-x: hidden !important;
    }

    /* Fix hero section on mobile */
    .hero {
        min-height: 100vh;
        padding-top: 80px;
        width: 100%;
        display: flex !important;
        overflow: hidden !important;
    }

    .hero .container {
        width: 100%;
        overflow: visible;
    }

    .hero-content {
        padding: 60px 0 40px;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    /* Fix hero overlay */
    .hero-overlay {
        width: 100%;
        height: 100%;
    }

    .hero-tagline {
        font-size: 13px;
        letter-spacing: 1px;
        display: block;
        width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.3;
        display: block;
        width: 100%;
        text-align: center;
    }

    .hero-title .highlight {
        display: block;
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 30px;
        display: block;
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
        padding: 14px 25px;
        font-size: 15px;
    }

    .hero-stats {
        gap: 25px;
        margin-top: 50px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 14px;
    }

    /* Ensure all sections are visible */
    section {
        width: 100%;
    }

    /* Features */
    .features {
        padding: 60px 0;
        width: 100%;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
        margin-bottom: 20px;
    }

    .feature-title {
        font-size: 20px;
    }

    .feature-description {
        font-size: 14px;
    }

    /* App Section */
    .app-section {
        padding: 60px 0;
    }

    .app-features-list li {
        font-size: 15px;
        padding: 12px 0;
    }

    /* Delivery Methods */
    .delivery-methods {
        padding: 60px 0;
    }

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

    .delivery-card {
        padding: 30px 20px;
    }

    .delivery-icon {
        width: 75px;
        height: 75px;
        font-size: 35px;
    }

    /* App Screenshots */
    .app-screenshots {
        padding: 60px 0;
    }

    .screenshots-slider {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .screenshot-phone {
        width: 260px;
        height: 530px;
    }

    .app-download-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .store-button {
        width: 100%;
    }

    .store-badge {
        height: 45px;
        max-width: 100%;
    }

    /* Testimonials */
    .testimonials {
        padding: 60px 0;
    }

    .testimonial-card {
        padding: 25px 20px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    /* Contact */
    .contact {
        padding: 60px 0;
    }

    .contact-content {
        gap: 40px;
    }

    .contact-item {
        flex-direction: row;
        gap: 15px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .contact-map {
        margin-top: 40px;
    }

    .contact-map iframe {
        height: 400px;
    }

    .form-input {
        font-size: 15px;
        padding: 12px 18px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

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

    .footer-section {
        text-align: center;
    }

    html[dir="rtl"] .footer-section {
        text-align: center;
    }

    html[dir="ltr"] .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Navigation overlay */
    .nav-links.active + .hamburger {
        z-index: 1001;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .navbar {
        padding: 15px 0;
    }

    .hero-logo-img {
        width: 180px;
        height: 180px;
    }
    
    /* Hamburger positioning */
    .hamburger {
        position: relative;
        z-index: 1001;
    }

    /* Ensure navbar doesn't overflow */
    .navbar .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .nav-content {
        justify-content: flex-end;
    }

    .hero-content {
        padding: 40px 0 30px;
    }

    .hero-tagline {
        font-size: 12px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.6;
    }

    .btn-hero {
        padding: 12px 20px;
        font-size: 14px;
    }

    .hero-stats {
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 13px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .features,
    .app-section,
    .testimonials,
    .contact {
        padding: 50px 0;
    }

    .contact-map {
        margin-top: 30px;
    }

    .contact-map iframe {
        height: 350px;
    }

    .feature-card {
        padding: 25px 18px;
    }

    .delivery-methods,
    .app-screenshots {
        padding: 50px 0;
    }

    .delivery-card {
        padding: 25px 18px;
    }

    .delivery-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .screenshot-phone {
        width: 240px;
        height: 490px;
    }

    .demo-logo {
        width: 100px;
        height: 100px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .feature-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .feature-description {
        font-size: 13px;
        line-height: 1.6;
    }

    .app-features-list li {
        font-size: 14px;
    }

    .app-features-list i {
        font-size: 20px;
    }

    .store-badge {
        height: 40px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .app-mockup .screenshot-phone {
        width: 220px;
        height: 450px;
    }

    .testimonial-card {
        padding: 20px 15px;
    }

    .testimonial-rating {
        font-size: 16px;
    }

    .testimonial-text {
        font-size: 13px;
        line-height: 1.7;
    }

    .author-avatar {
        width: 55px;
        height: 55px;
        min-width: 55px;
        min-height: 55px;
        font-size: 24px;
    }

    .author-name {
        font-size: 14px;
    }

    .author-role {
        font-size: 12px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
        font-size: 20px;
    }

    .contact-details h4 {
        font-size: 16px;
    }

    .contact-details p {
        font-size: 14px;
    }

    .social-link {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        font-size: 18px;
    }

    .form-input {
        font-size: 14px;
        padding: 12px 16px;
    }

    .footer-logo-img {
        height: 60px;
        width: 60px;
    }

    .footer-description,
    .footer-links a {
        font-size: 14px;
    }

    .footer-title {
        font-size: 18px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }

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

    .scroll-indicator {
        display: none;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .hero-logo-img {
        width: 150px;
        height: 150px;
    }

    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .nav-links {
        width: 90%;
    }

    .store-button {
        flex-direction: column;
        text-align: center;
    }

    .store-button i {
        margin-bottom: 5px;
    }
}

/* Touch improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .btn-primary,
    .btn-secondary,
    .btn-hero,
    .store-button,
    .social-link,
    .back-to-top,
    .lang-switch {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .nav-link {
        padding: 18px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
    }

    .hamburger {
        padding: 10px;
        margin: -10px;
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
    }

    /* Smooth scrolling on iOS */
    .nav-links {
        -webkit-overflow-scrolling: touch;
    }

    /* Prevent text selection on tap */
    .btn-primary,
    .btn-secondary,
    .btn-hero,
    .lang-switch,
    .hamburger,
    .back-to-top {
        -webkit-user-select: none;
        user-select: none;
    }
}

/* Landscape mobile */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .hero-content {
        padding: 40px 0 30px;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 40px;
    }

    .scroll-indicator {
        display: none;
    }

    .nav-links {
        padding: 90px 30px 30px;
    }
}
