/* Reset and Base Styles - Mobile First */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c89e68;
    --secondary-color: #2a2745;
    --text-color: #333333;
    --text-light: #666666;
    --accent-color: #c89e68;
    --bg-overlay: rgba(42, 39, 69, 0.7);
    --bg-light: #f8f7f5;
    --gold-light: #e8d4b8;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-heading: 'Open Sans', sans-serif;
    --container-padding: 1rem;
    --section-padding: 3rem 1rem;
}

/* Arabic font support */
[dir="rtl"] {
    font-family: 'Cairo', 'Tajawal', 'Montserrat', 'Inter', 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 1rem;
}

[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(42, 39, 69, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
}

[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

.mobile-header-actions {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.mobile-lang-dropdown {
    position: relative;
}

.mobile-lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: white;
    border: 2px solid var(--bg-light);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    min-width: auto;
}

.mobile-lang-btn:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.mobile-lang-btn .flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.mobile-lang-btn span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.mobile-lang-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: auto;
    min-width: 100px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

[dir="rtl"] .mobile-lang-menu {
    left: 0;
    right: auto;
}

.mobile-lang-btn.active + .mobile-lang-menu,
.mobile-lang-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-lang-menu .language-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    width: 100%;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    transition: background 0.2s ease;
    text-align: left;
}

[dir="rtl"] .mobile-lang-menu .language-option {
    text-align: right;
}

.mobile-lang-menu .language-option:hover {
    background: var(--bg-light);
}

.mobile-lang-menu .language-option .flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.mobile-lang-menu .language-option span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: space-between;
}

@media (max-width: 1024px) {
    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        gap: 2rem;
    }
    
    [dir="rtl"] .nav-menu-wrapper {
        left: auto;
        right: -100%;
    }
    
    .nav-menu-wrapper.active {
        left: 0;
    }
    
    [dir="rtl"] .nav-menu-wrapper.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        justify-content: flex-start;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 0;
        width: 100%;
        font-size: 1.1rem;
    }
    
    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        align-items: stretch;
    }
    
    .social-links-nav {
        justify-content: center;
        width: 100%;
    }
    
    .language-dropdown {
        width: 100%;
    }
    
    .btn-download {
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Overlay when menu is open */
    .nav-menu-wrapper.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(42, 39, 69, 0.2));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    flex: 1;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-family: var(--font-primary);
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    line-height: 1.4;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* Adjust menu for smaller screens to prevent overflow */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
        padding: 0.25rem 0.4rem;
    }
}

@media (max-width: 1100px) {
    .nav-menu {
        gap: 0.75rem;
    }
    
    .nav-menu a {
        font-size: 0.8rem;
        padding: 0.2rem 0.3rem;
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.social-links-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-links-nav a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 39, 69, 0.05);
    border-radius: 50%;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links-nav a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.social-links-nav svg {
    width: 18px;
    height: 18px;
}

.language-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}


.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.btn-download {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-download:hover {
    background: #b88d55;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 158, 104, 0.4);
}

/* Hero Section - Text Left Over Image */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 180px 1rem 4rem;
    text-align: left;
    color: white;
    background: white;
    overflow: hidden;
    --hero-focus-y: 10%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center var(--hero-focus-y);
    transform: scale(1);
    transform-origin: center top;
}

.hero-background .hero-bg-image {
    object-position: center var(--hero-focus-y);
    min-height: 100%;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(42, 39, 69, 0.75) 0%,
        rgba(42, 39, 69, 0.5) 40%,
        rgba(42, 39, 69, 0.2) 70%,
        transparent 100%);
    z-index: 1;
}

[dir="rtl"] .hero-gradient {
    background: linear-gradient(270deg, 
        rgba(42, 39, 69, 0.75) 0%,
        rgba(42, 39, 69, 0.5) 40%,
        rgba(42, 39, 69, 0.2) 70%,
        transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0;
    animation: fadeInUp 0.8s ease-out;
    padding: 2rem 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

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

.hero-title {
    display: none;
}

.hero-subtitle {
    font-size: clamp(1.15rem, 3.5vw, 1.6rem);
    line-height: 1.7;
    margin: 0 0 2.5rem 0;
    color: white;
    white-space: pre-line;
    font-weight: 400;
    text-align: left;
    font-family: var(--font-secondary);
    letter-spacing: -0.01em;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.5),
                 0 0 30px rgba(42, 39, 69, 0.3);
}

[dir="rtl"] .hero-subtitle {
    text-align: right;
}


.hero-cta {
    margin-top: 1rem;
}

.btn-hero-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(200, 158, 104, 0.35),
                0 4px 12px rgba(200, 158, 104, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.btn-hero-primary:hover {
    background: #b88d55;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(200, 158, 104, 0.5),
                0 6px 20px rgba(200, 158, 104, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Intro Section - App Promo Optimized */
.intro-section {
    background: white;
    padding: 4rem 2rem;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold-light));
}

.intro-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--secondary-color);
    line-height: 1.2;
    position: relative;
}

.intro-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.intro-info {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(42, 39, 69, 0.08);
}

[dir="rtl"] .intro-info {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

.intro-info p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.intro-info p:last-child {
    margin-bottom: 0;
}

.intro-info strong {
    font-weight: 700;
    color: var(--primary-color);
}

/* Sections - Mobile First */
.section {
    padding: var(--section-padding);
}

.section:nth-child(even) {
    background: var(--bg-light);
}

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

.section h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 1rem;
    line-height: 1.2;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold-light));
    border-radius: 2px;
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* FAQ Section - Mobile First */
.faq-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    position: relative;
    padding: var(--section-padding);
}

.faq-header {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    line-height: 1.6;
}

.faq-accordion {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(200, 158, 104, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(42, 39, 69, 0.06);
    width: 100%;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(42, 39, 69, 0.1);
    border-color: var(--primary-color);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(200, 158, 104, 0.15);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    min-height: 60px;
}

[dir="rtl"] .faq-question {
    text-align: right;
    flex-direction: row-reverse;
}

.faq-question:hover {
    color: var(--primary-color);
    background: rgba(200, 158, 104, 0.05);
}

.faq-question:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.faq-question span {
    flex: 1;
    text-align: left;
    line-height: 1.5;
}

[dir="rtl"] .faq-question span {
    text-align: right;
}

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    color: var(--primary-color);
    margin-left: auto;
}

[dir="rtl"] .faq-icon {
    margin-left: 0;
    margin-right: auto;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
    text-align: left;
}

[dir="rtl"] .faq-answer p {
    text-align: right;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a162f 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold-light));
}

.contact-section h2 {
    color: white;
}

.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info .phone {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.contact-info .email {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.contact-info .email a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.social-links svg {
    width: 24px;
    height: 24px;
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 1.5rem;
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.pricing-card-featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, white 0%, var(--bg-light) 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(200, 158, 104, 0.3);
}

[dir="rtl"] .pricing-badge {
    right: auto;
    left: 2rem;
}

.pricing-icon {
    width: 64px;
    height: 64px;
    color: var(--primary-color);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 158, 104, 0.1);
    border-radius: 50%;
    padding: 1rem;
}

.pricing-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.pricing-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
}

.pricing-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.pricing-period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.pricing-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.pricing-description:empty,
.pricing-description[style*="display: none"] {
    margin-bottom: 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features[style*="display: none"] {
    margin: 0;
}

.pricing-card:has(.pricing-features[style*="display: none"]) {
    padding-bottom: 2.5rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-color);
    line-height: 1.6;
}

[dir="rtl"] .pricing-features li {
    padding-left: 0;
    padding-right: 1.75rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

[dir="rtl"] .pricing-features li::before {
    left: auto;
    right: 0;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .pricing-card {
        padding: 3rem 2.5rem;
    }
}

/* Download Section - App Promo Optimized */
.download-section {
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem;
    text-align: center;
}

.download-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.download-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold-light));
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    min-width: 180px;
    border: 2px solid transparent;
}

.download-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(200, 158, 104, 0.3);
    border-color: var(--primary-color);
}

.download-btn.android {
    background: var(--secondary-color);
}

.download-btn.android:hover {
    background: var(--primary-color);
}

.download-btn.ios {
    background: var(--secondary-color);
}

.download-btn.ios:hover {
    background: var(--primary-color);
}

.app-screenshots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    position: relative;
    padding: 2rem 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.promo-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}

/* App Promo Best Practices - Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

.logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.screenshot {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(42, 39, 69, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 0;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    display: block;
}

.promo-image {
    max-width: 320px;
    filter: drop-shadow(0 8px 24px rgba(42, 39, 69, 0.15));
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.promo-image-wrapper:first-child .promo-image {
    transform: translateY(-12px);
}

.promo-image-wrapper:nth-child(2) .promo-image {
    transform: translateY(0px);
}

.promo-image-wrapper:last-child .promo-image {
    transform: translateY(12px);
}

.promo-image-wrapper:hover .promo-image {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 56px rgba(42, 39, 69, 0.35);
    filter: drop-shadow(0 12px 32px rgba(42, 39, 69, 0.2));
}

.promo-image-wrapper:first-child:hover .promo-image {
    transform: translateY(-20px) scale(1.02);
}

.promo-image-wrapper:nth-child(2):hover .promo-image {
    transform: translateY(-8px) scale(1.02);
}

.promo-image-wrapper:last-child:hover .promo-image {
    transform: translateY(4px) scale(1.02);
}

/* Desktop: Hide decorative backgrounds */
@media (min-width: 768px) {
    .promo-image-wrapper::before,
    .promo-image-wrapper::after {
        display: none;
    }
}


/* Mission Section Enhancement */
#us {
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
}

#meeting {
    background: white;
}

/* Features Section - App Promo Standard */
.features-section {
    background: white;
    padding: 5rem 2rem;
}

.benefits-section {
    background: var(--bg-light);
    padding: 5rem 2rem;
}

.benefits-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.benefits-list {
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(42, 39, 69, 0.08);
    border-left: 4px solid var(--primary-color);
}

[dir="rtl"] .benefit-item {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

.benefit-item p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(42, 39, 69, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(42, 39, 69, 0.2);
    border-color: var(--primary-color);
}

.feature-icon-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 2rem 0;
}

.feature-icon {
    width: 64px;
    height: 64px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-icon.bankid-logo {
    width: 100px;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    color: var(--primary-color);
}

.feature-icon.bankid-logo svg,
.feature-icon.bankid-logo path {
    fill: currentColor;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card:hover .feature-icon:not(.bankid-logo) {
    color: var(--secondary-color);
}

.feature-card:hover .feature-icon.bankid-logo {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Keep old class for backward compatibility */
.feature-image-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--bg-light);
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image {
    transform: scale(1.05);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* How It Works Section - App Landing Page */
.how-it-works-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    padding: 3rem 2rem;
    position: relative;
}

/* Timeline Steps Design - Mobile First */
.steps-visual-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
    position: relative;
    padding: 2rem 0;
}

.step-visual-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    position: relative;
    flex: 1;
}

.step-visual-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #b88d55);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(200, 158, 104, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.step-visual-item:hover .step-visual-circle {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(200, 158, 104, 0.5);
}

.step-number-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(42, 39, 69, 0.3);
    border: 3px solid white;
    z-index: 2;
}

.step-icon {
    color: white;
    width: 40px;
    height: 40px;
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-content {
    max-width: 280px;
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

.step-connector {
    width: 3px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary-color), transparent);
    margin: 0;
    position: relative;
    flex-shrink: 0;
}

/* Timeline Steps Design - Compact */
.steps-timeline-container {
    max-width: 900px;
    margin: 2.5rem auto 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 2rem;
}

[dir="rtl"] .steps-timeline-container {
    padding-left: 0;
    padding-right: 2rem;
}

.steps-timeline-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(200, 158, 104, 0.3) 100%);
}

[dir="rtl"] .steps-timeline-container::before {
    left: auto;
    right: 0;
}

.step-timeline {
    position: relative;
    padding-left: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

[dir="rtl"] .step-timeline {
    padding-left: 0;
    padding-right: 2rem;
}

.step-timeline::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
    transition: all 0.3s ease;
    z-index: 2;
}

[dir="rtl"] .step-timeline::before {
    left: auto;
    right: -6px;
}

.step-timeline:hover::before {
    transform: translateY(-50%) scale(1.3);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.step-timeline-content {
    background: white;
    padding: 0.875rem 1rem;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(42, 39, 69, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    flex: 1;
}

.step-timeline:hover .step-timeline-content {
    box-shadow: 0 2px 8px rgba(42, 39, 69, 0.12);
    border-color: var(--primary-color);
}

.step-timeline-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-color);
    font-weight: 400;
}

.step-connector::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Privacy Policy Section */
.privacy-section {
    padding: 8rem 2rem 4rem;
    background: white;
    min-height: 100vh;
}

.privacy-section h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.privacy-updated {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 3rem;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-color);
}

.privacy-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.privacy-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-content p {
    margin-bottom: 1.5rem;
}

.privacy-content ul,
.privacy-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

[dir="rtl"] .privacy-content ul,
[dir="rtl"] .privacy-content ol {
    padding-left: 0;
    padding-right: 2rem;
}

.privacy-content li {
    margin-bottom: 0.75rem;
}

.privacy-summary {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

[dir="rtl"] .privacy-summary {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

.privacy-summary h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.privacy-summary h3:first-child {
    margin-top: 0;
}

.privacy-toc {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.privacy-toc li {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(42, 39, 69, 0.15);
    transition: all 0.3s ease;
    background: var(--bg-light);
    aspect-ratio: 9/16;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(42, 39, 69, 0.25);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Organization Section - Mobile First */
.organization-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    padding: var(--section-padding);
}

.organization-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0;
    box-shadow: 0 2px 12px rgba(42, 39, 69, 0.08);
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

[dir="rtl"] .organization-card {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

.organization-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(42, 39, 69, 0.12);
}

.organization-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.organization-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

[dir="rtl"] .organization-card h3::after {
    left: auto;
    right: 0;
}

.organization-card .subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.organization-card p {
    margin-bottom: 0;
    line-height: 1.7;
    color: var(--text-light);
    font-size: 0.9rem;
}

.organization-card p:last-child {
    margin-bottom: 0;
}

.organization-card .highlight {
    background: linear-gradient(135deg, var(--gold-light) 0%, rgba(200, 158, 104, 0.2) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-right: 4px solid var(--primary-color);
}

[dir="rtl"] .organization-card .highlight {
    border-right: none;
    border-left: 4px solid var(--primary-color);
}



/* Footer - Mobile First Best Practices */
.footer {
    background: linear-gradient(180deg, var(--secondary-color) 0%, #1a162f 100%);
    color: white;
    padding: 2.25rem 1rem 1.25rem;
    border-top: 3px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

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

/* Mobile-First: Single column layout - Centered */
.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 0 auto 1.5rem;
    max-width: 640px;
    direction: ltr; /* Keep consistent grid order */
}

/* Improved spacing for footer sections */
.footer-section {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    direction: inherit; /* Inherit text direction */
}

/* Ensure contact section is properly centered */
.footer-contact-section {
    align-items: center;
    text-align: center;
}

/* First section: Logo */
.footer-section:first-child {
    order: 1;
}

    /* Second section: Contact */
    .footer-section:nth-child(2) {
        order: 2;
    }

/* Remove borders between sections - cleaner look */
.footer-section {
    border-bottom: none;
}

.footer-contact-section {
    border-bottom: none !important;
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    direction: ltr; /* Default LTR */
    text-align: center; /* Center always */
}

/* RTL support for Arabic */
[dir="rtl"] .footer-section h4 {
    direction: rtl;
    text-align: center;
    text-transform: none; /* Remove uppercase for Arabic text */
    letter-spacing: normal; /* Remove letter spacing for Arabic */
}

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.footer-logo .logo {
    height: 45px;
    width: auto;
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .footer-logo .logo {
        height: 50px;
    }
}

.footer-logo .logo:hover {
    transform: scale(1.05);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-links li {
    margin: 0;
    width: auto;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--primary-color);
    background: rgba(200, 158, 104, 0.15);
    transform: translateX(3px);
}

[dir="rtl"] .footer-links a:hover,
[dir="rtl"] .footer-links a:focus {
    transform: translateX(-3px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 0.5rem;
    align-items: center;
    width: 100%;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: color 0.3s ease;
    padding: 0.25rem 0;
    justify-content: center;
}

.footer-contact-item svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-contact-item span {
    line-height: inherit;
}

.footer-contact-item:hover,
.footer-contact-item:focus {
    color: var(--primary-color);
}

.footer-contact-item:hover svg,
.footer-contact-item:focus svg {
    opacity: 1;
}

@media (min-width: 768px) {
    .footer-contact-section {
        align-items: center;
        text-align: center;
    }
    
    [dir="rtl"] .footer-contact-section {
        align-items: center;
        text-align: center;
    }
    
    .footer-contact {
        align-items: center;
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    [dir="rtl"] .footer-contact {
        align-items: center;
    }
    
    .footer-contact-item {
        font-size: 0.95rem;
        gap: 0.75rem;
        justify-content: center;
    }
    
    [dir="rtl"] .footer-contact-item {
        justify-content: center;
        flex-direction: row-reverse;
    }
    
    .footer-contact-item svg {
        width: 18px;
        height: 18px;
    }
}

/* Phone number LTR in Arabic */
[dir="rtl"] .footer-contact-item[dir="ltr"] {
    direction: ltr;
    unicode-bidi: embed;
}

[dir="rtl"] .footer-contact-item[dir="ltr"] span {
    direction: ltr;
    unicode-bidi: embed;
}

/* Language Dropdown in Header */
.nav-actions .language-dropdown {
    position: relative;
    margin-right: 1rem;
}

[dir="rtl"] .nav-actions .language-dropdown {
    margin-right: 0;
    margin-left: 1rem;
}

.language-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: var(--text-color);
    cursor: pointer;
    font-size: 0.9rem;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.language-dropdown-btn.active {
    border-color: var(--primary-color);
    background: var(--gold-light);
}

.language-dropdown-btn:hover {
    background: var(--gold-light);
    border-color: var(--primary-color);
}

.language-dropdown-btn svg {
    margin-left: auto;
    transition: transform 0.3s ease;
}

[dir="rtl"] .language-dropdown-btn svg {
    margin-left: 0;
    margin-right: auto;
}

.language-dropdown.active .language-dropdown-btn svg,
.language-dropdown-btn.active svg {
    transform: rotate(180deg);
}

.language-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: auto;
    min-width: 180px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

[dir="rtl"] .language-dropdown-menu {
    left: auto;
    right: 0;
}

.language-dropdown.active .language-dropdown-menu,
.language-dropdown-btn.active + .language-dropdown-menu,
.language-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Footer Language Dropdown Styling */
.footer-language-dropdown {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.footer-language-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(200, 158, 104, 0.3);
    color: white;
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
}

.footer-language-btn:hover,
.footer-language-btn:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

.footer-language-menu {
    background: var(--secondary-color);
    border: 1px solid rgba(200, 158, 104, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    width: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
}

[dir="rtl"] .footer-language-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-10px);
}

.footer-language-menu.active {
    transform: translateX(-50%) translateY(0);
}

[dir="rtl"] .footer-language-menu.active {
    transform: translateX(-50%) translateY(0);
}

.footer-language-menu .language-option {
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

[dir="rtl"] .footer-language-menu .language-option {
    text-align: right;
}

.footer-language-menu .language-option:hover {
    background: rgba(200, 158, 104, 0.2);
    color: var(--primary-color);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: var(--font-secondary);
    color: var(--text-color);
    transition: all 0.3s ease;
    text-align: left;
}

[dir="rtl"] .language-option {
    text-align: right;
}

.language-option:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.language-option .flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(200, 158, 104, 0.2);
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-logo-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    order: 2;
}

.footer-logo-bottom .logo {
    height: 40px;
    width: auto;
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.footer-logo-bottom .logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-social {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover,
.footer-social a:focus {
    background: var(--primary-color);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 4px 12px rgba(200, 158, 104, 0.3);
}

.footer-social a:active {
    transform: translateY(-2px) scale(1.05);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.footer-copyright a:hover,
.footer-copyright a:focus {
    color: var(--primary-color);
    background: rgba(200, 158, 104, 0.1);
}

.contact-section h2 {
    color: white;
}


/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 3px solid white;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 2rem;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    border-color: var(--primary-color);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Modern Mobile Drawer Menu */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: white;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

[dir="rtl"] .mobile-drawer {
    left: auto;
    right: -100%;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-drawer.active {
    left: 0;
}

[dir="rtl"] .mobile-drawer.active {
    right: 0;
    left: auto;
}

/* Drawer Header */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 2px solid var(--bg-light);
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
}

.drawer-logo {
    flex: 1;
}

.drawer-logo .logo {
    height: 50px;
    width: auto;
}

.drawer-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
}

.drawer-close:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.drawer-close svg {
    width: 24px;
    height: 24px;
}

/* Drawer Navigation */
.drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.drawer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drawer-menu li {
    margin: 0;
    padding: 0;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    position: relative;
}

[dir="rtl"] .drawer-link {
    border-left: none;
    border-right: 3px solid transparent;
    flex-direction: row-reverse;
}

.drawer-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

[dir="rtl"] .drawer-link:hover {
    border-left-color: transparent;
    border-right-color: var(--primary-color);
}

.drawer-link svg {
    width: 22px;
    height: 22px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.drawer-link span {
    flex: 1;
}

/* Drawer Footer */
.drawer-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--bg-light);
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.drawer-language {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.drawer-language-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.drawer-language-dropdown {
    width: 100%;
}

.drawer-lang-btn {
    width: 100%;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    background: white;
    border: 2px solid var(--bg-light);
    border-radius: 10px;
    font-size: 1rem;
}

.drawer-lang-btn:hover {
    border-color: var(--primary-color);
    background: white;
}

.drawer-lang-menu {
    position: relative;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.drawer-lang-btn.active + .drawer-lang-menu,
.drawer-lang-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.drawer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.drawer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.drawer-social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 158, 104, 0.3);
}

.drawer-social-link svg {
    width: 20px;
    height: 20px;
}

.drawer-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #b88d55);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 158, 104, 0.3);
    text-align: center;
}

.drawer-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 158, 104, 0.4);
    background: linear-gradient(135deg, #b88d55, var(--primary-color));
}

.drawer-download-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* RTL Support for Drawer */
[dir="rtl"] .drawer-link {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .drawer-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .drawer-language-label {
    text-align: right;
}

[dir="rtl"] .drawer-lang-btn {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .drawer-lang-menu {
    right: 0;
    left: auto;
}

[dir="rtl"] .drawer-download-btn {
    flex-direction: row-reverse;
}

/* Hide drawer on desktop */
@media (min-width: 969px) {
    .mobile-drawer,
    .mobile-drawer-overlay {
        display: none !important;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu-wrapper {
        display: none;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    /* Mobile header actions */
    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    /* RTL: Language dropdown before hamburger (from right to left: Lang | Hamburger) */
    [dir="rtl"] .mobile-header-actions {
        flex-direction: row;
    }
    
    [dir="rtl"] .mobile-lang-dropdown {
        order: 0;
    }
    
    [dir="rtl"] .mobile-menu-toggle {
        order: 1;
    }
    
    /* Mobile menu toggle position for RTL */
    [dir="rtl"] .logo-container {
        order: 2;
        margin-right: 0;
        margin-left: auto;
    }
    
    .hero {
        min-height: 70vh;
        padding: 140px 1rem 3rem;
        justify-content: center;
        --hero-focus-y: 8%;
    }
    
    .hero-content {
        margin-bottom: 0;
        padding: 2rem 1.25rem;
        max-width: 100%;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: clamp(1.05rem, 3vw, 1.25rem);
        margin-bottom: 2rem;
        line-height: 1.65;
        text-align: center;
    }
    
    [dir="rtl"] .hero-subtitle {
        text-align: center;
    }
    
    .hero-cta {
        margin-top: 0.5rem;
        text-align: center;
    }
    
    .btn-hero-primary {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }
    
    .intro-info-section {
        padding: 2rem 1rem;
    }
    
    .intro-info {
        padding: 1.25rem;
    }
    
    .steps-visual-container {
        gap: 2rem;
        padding: 1.5rem 0;
    }
    
    .step-visual-circle {
        width: 90px;
        height: 90px;
    }
    
    .step-icon {
        width: 36px;
        height: 36px;
    }
    
    .step-number-badge {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
        top: -6px;
        right: -6px;
    }
    
    .step-content {
        max-width: 100%;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .step-connector {
        height: 25px;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features-section,
    .how-it-works-section,
    .gallery-section,
    .benefits-section {
        padding: 3rem 1.5rem;
    }
    
    /* Timeline steps responsive */
    .steps-timeline-container {
        margin: 2rem auto 0;
        padding-left: 1.5rem;
    }
    
    [dir="rtl"] .steps-timeline-container {
        padding-right: 1.5rem;
    }
    
    .step-timeline {
        padding-left: 1.5rem;
        padding-top: 0.375rem;
        padding-bottom: 0.375rem;
    }
    
    [dir="rtl"] .step-timeline {
        padding-right: 1.5rem;
    }
    
    .step-timeline::before {
        left: -5px;
        width: 8px;
        height: 8px;
        border-width: 2px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    [dir="rtl"] .step-timeline::before {
        right: -5px;
    }
    
    .step-timeline:hover::before {
        transform: translateY(-50%) scale(1.3);
    }
    
    .step-timeline-content {
        padding: 0.75rem 0.875rem;
    }
    
    .step-timeline-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-image-wrapper {
        height: 180px;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step-image-wrapper {
        max-width: 250px;
        height: 400px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* Tablet and up - Mobile First Enhancement */
@media (min-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 160px 2rem 4rem;
        justify-content: flex-start;
        --hero-focus-y: 18%;
    }
    
    .hero-content {
        margin-bottom: 0;
        padding: 2rem;
        max-width: 550px;
        text-align: left;
    }
    
    [dir="rtl"] .hero-content {
        text-align: right;
        margin-left: auto;
        margin-right: 0;
    }
    
    .hero-subtitle {
        font-size: clamp(1.2rem, 3vw, 1.55rem);
        margin-bottom: 2.5rem;
        line-height: 1.7;
        text-align: left;
    }
    
    [dir="rtl"] .hero-subtitle {
        text-align: right;
    }
    
    .btn-hero-primary {
        padding: 1.1rem 2.75rem;
        font-size: 1rem;
    }
    
    .intro-info-section {
        padding: 4rem 2rem;
    }
    
    .intro-info {
        padding: 2rem;
    }
    
    .steps-visual-container {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        padding: 3rem 0;
    }
    
    .step-visual-item {
        flex: 1;
        max-width: 280px;
    }
    
    .step-visual-circle {
        width: 120px;
        height: 120px;
        margin-bottom: 2rem;
    }
    
    .step-icon {
        width: 48px;
        height: 48px;
    }
    
    .step-number-badge {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        top: -10px;
        right: -10px;
    }
    
    .step-content {
        max-width: 100%;
    }
    
    .step-content h3 {
        font-size: 1.3rem;
    }
    
    .step-content p {
        font-size: 0.95rem;
    }
    
    .step-connector {
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-color), transparent);
        margin: 60px 0 0;
        position: relative;
        flex: 1;
        max-width: 100px;
    }
    
    .step-connector::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        background: var(--primary-color);
        border-radius: 50%;
        left: auto;
        bottom: auto;
    }
    
    [dir="rtl"] .step-connector {
        background: linear-gradient(270deg, var(--primary-color), transparent);
    }
    
    [dir="rtl"] .step-connector::after {
        right: auto;
        left: 0;
    }
}

@media (min-width: 1024px) {
    :root {
        --container-padding: 2rem;
        --section-padding: 4rem 2rem;
    }
    
    .container {
        max-width: 1200px;
    }
    
    .hero {
        min-height: 85vh;
        padding: 180px 3rem 5rem;
        justify-content: flex-start;
        --hero-focus-y: 20%;
    }
    
    .hero-content {
        padding: 2.5rem 2rem;
        max-width: 600px;
        text-align: left;
    }
    
    [dir="rtl"] .hero-content {
        text-align: right;
        margin-left: auto;
        margin-right: 0;
    }
    
    .hero-subtitle {
        font-size: clamp(1.25rem, 3vw, 1.65rem);
        margin-bottom: 3rem;
        line-height: 1.75;
        text-align: left;
    }
    
    [dir="rtl"] .hero-subtitle {
        text-align: right;
    }
    
    .btn-hero-primary {
        padding: 1.15rem 3rem;
        font-size: 1.05rem;
    }
    
    .intro-info-section {
        padding: 4rem 2rem;
    }
    
    .intro-info {
        padding: 2rem;
    }
    
    .steps-visual-container {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1.5rem;
        padding: 3rem 0;
    }
    
    .step-visual-item {
        flex: 1;
        max-width: 300px;
    }
    
    .step-visual-circle {
        width: 130px;
        height: 130px;
        margin-bottom: 2rem;
    }
    
    .step-icon {
        width: 52px;
        height: 52px;
    }
    
    .step-number-badge {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }
    
    .step-content {
        max-width: 100%;
    }
    
    .step-content h3 {
        font-size: 1.4rem;
    }
    
    .step-content p {
        font-size: 1rem;
    }
    
    .step-connector {
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-color), transparent);
        margin: 65px 0 0;
        position: relative;
        flex: 1;
        max-width: 120px;
    }
    
    .step-connector::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 10px;
        height: 10px;
        background: var(--primary-color);
        border-radius: 50%;
        left: auto;
        bottom: auto;
    }
    
    [dir="rtl"] .step-connector {
        background: linear-gradient(270deg, var(--primary-color), transparent);
    }
    
    [dir="rtl"] .step-connector::after {
        right: auto;
        left: 0;
    }
    
    .section h2 {
        font-size: 2.5rem;
        padding-bottom: 1.5rem;
    }
    
    .section h2::after {
        width: 100px;
        height: 4px;
    }
    
    .faq-section {
        padding: 5rem 2rem;
    }
    
    .faq-header {
        margin-bottom: 3rem;
    }
    
    .faq-subtitle {
        font-size: 1.1rem;
    }
    
    .faq-accordion {
        max-width: 900px;
        margin: 0 auto;
    }
    
    .organization-section {
        padding: 4rem 2rem;
    }
    
    .organization-card {
        padding: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .organization-card h3 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
        padding-bottom: 1rem;
    }
    
    .organization-card .subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }
    
    .organization-card p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .faq-question {
        padding: 1.5rem 2rem;
        font-size: 1.1rem;
    }
    
    .faq-answer {
        padding: 0 2rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 2rem 1.5rem;
    }
    
    .faq-answer p {
        font-size: 1rem;
    }
}

/* Desktop and up */
@media (min-width: 1024px) {
    :root {
        --section-padding: 5rem 2rem;
    }
    
    .steps-timeline-container {
        max-width: 950px;
        padding-left: 2.5rem;
    }
    
    [dir="rtl"] .steps-timeline-container {
        padding-right: 2.5rem;
    }
    
    .step-timeline {
        padding-left: 2.5rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    [dir="rtl"] .step-timeline {
        padding-right: 2.5rem;
    }
    
    .step-timeline::before {
        left: -7px;
        width: 12px;
        height: 12px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    [dir="rtl"] .step-timeline::before {
        right: -7px;
    }
    
    .step-timeline:hover::before {
        transform: translateY(-50%) scale(1.3);
    }
    
    .step-timeline-content {
        padding: 1rem 1.25rem;
    }
    
    .step-timeline-content p {
        font-size: 0.95rem;
        line-height: 1.55;
    }
    
    .section h2 {
        font-size: 2.8rem;
    }
    
    /* Desktop: Centered footer layout */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr; /* Keep consistent grid order */
        align-items: center;
        justify-items: center;
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-section {
        align-items: center;
        text-align: center;
        width: 100%;
        border-bottom: none;
        padding-bottom: 0;
    }

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

    .footer-contact-section {
        align-items: center;
        text-align: center;
    }
    
    [dir="rtl"] .footer-contact-section {
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    [dir="rtl"] .footer-logo {
        justify-content: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    [dir="rtl"] .footer-links {
        align-items: center;
    }
    
    .footer-contact {
        align-items: flex-start;
    }
    
    .footer-language-dropdown {
        margin: 0;
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        direction: ltr; /* Force LTR for bottom section */
        padding-top: 2rem;
        gap: 1.25rem;
    }
    
    .footer-social {
        order: 1;
    }
    
    .footer-logo-bottom {
        order: 2;
    }
    
    .footer-logo-bottom .logo {
        height: 45px;
    }
    
    .footer-copyright {
        order: 3;
        margin: 0;
        text-align: center;
    }
    
    [dir="rtl"] .footer-bottom {
        text-align: center;
        flex-direction: column;
        direction: rtl; /* RTL for Arabic */
    }
}

@media (min-width: 768px) {
    /* Tablet: Increase padding moderately */
    .footer {
        padding: 2.5rem 2rem 1.5rem;
    }
    
    .footer-content {
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    /* Desktop: Centered footer layout */
    .footer {
        padding: 2.5rem 2rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2rem;
        direction: ltr; /* Keep consistent grid order */
        align-items: center;
        justify-items: center;
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-logo .logo {
        height: 55px;
    }
    
    .footer-section {
        align-items: center;
        text-align: center;
    }
    
    [dir="rtl"] .footer-section {
        align-items: center;
        text-align: center;
    }
    
    .footer-contact-section {
        align-items: center;
        text-align: center;
    }
    
    [dir="rtl"] .footer-contact-section {
        align-items: center;
        text-align: center;
    }
}

/* Mobile specific adjustments - Mobile First Best Practices */
@media (max-width: 767px) {
    .nav-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn-download {
        width: 100%;
        text-align: center;
    }
    
    .hero {
        min-height: 65vh;
        padding: 130px 1rem 2.5rem;
        justify-content: center;
        text-align: center;
        --hero-focus-y: 4%;
    }
    
    .hero-bg-image {
        transform: scale(1);
        object-position: center var(--hero-focus-y);
        object-fit: cover;
    }
    
    .hero-content {
        margin-top: 0;
        padding: 1.5rem 1rem;
        max-width: 100%;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.15rem);
        margin-bottom: 1.75rem;
        line-height: 1.6;
        text-align: center;
    }
    
    [dir="rtl"] .hero-subtitle {
        text-align: center;
    }
    
    .hero-cta {
        text-align: center;
    }
    
    .btn-hero-primary {
        padding: 0.85rem 1.75rem;
        font-size: 0.85rem;
    }
    
    .intro-section {
        padding: 3rem 1rem;
    }
    
    .intro-title {
        font-size: 2rem;
    }
    
    .intro-description {
        font-size: 1.1rem;
    }
    
    .intro-info {
        padding: 1.5rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    /* Enhanced Mobile Screenshots - Better Visual Effects */
    .app-screenshots {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        margin-top: 2.5rem;
        padding: 2rem 1rem;
        position: relative;
    }
    
    .promo-image-wrapper {
        width: 100%;
        max-width: 300px;
        position: relative;
        padding: 1rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Enhanced decorative background for mobile images */
    .promo-image-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        height: 100%;
        background: linear-gradient(135deg, rgba(200, 158, 104, 0.1) 0%, rgba(42, 39, 69, 0.05) 100%);
        border-radius: 30px;
        z-index: 0;
        transition: all 0.4s ease;
    }
    
    .promo-image-wrapper:hover::before {
        width: 95%;
        background: linear-gradient(135deg, rgba(200, 158, 104, 0.15) 0%, rgba(42, 39, 69, 0.08) 100%);
    }
    
    /* Subtle gradient overlay on images */
    .promo-image-wrapper::after {
        content: '';
        position: absolute;
        top: 1rem;
        left: 50%;
        transform: translateX(-50%);
        width: calc(90% - 2rem);
        height: calc(100% - 2rem);
        background: linear-gradient(
            180deg,
            rgba(200, 158, 104, 0.03) 0%,
            transparent 20%,
            transparent 80%,
            rgba(42, 39, 69, 0.05) 100%
        );
        border-radius: 24px;
        pointer-events: none;
        z-index: 1;
        opacity: 0;
        transition: opacity 0.4s ease;
    }
    
    .promo-image-wrapper:hover::after {
        opacity: 1;
    }
    
    .promo-image {
        max-width: 100%;
        width: 100%;
        position: relative;
        z-index: 2;
        border-radius: 24px;
        box-shadow: 
            0 8px 24px rgba(42, 39, 69, 0.15),
            0 2px 8px rgba(42, 39, 69, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 3px solid rgba(255, 255, 255, 0.8);
        background: white;
    }
    
    .promo-image-wrapper:first-child .promo-image,
    .promo-image-wrapper:nth-child(2) .promo-image,
    .promo-image-wrapper:last-child .promo-image {
        transform: none;
    }
    
    /* Enhanced hover/touch effects for mobile */
    .promo-image-wrapper:active .promo-image,
    .promo-image-wrapper:hover .promo-image {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 
            0 20px 48px rgba(42, 39, 69, 0.25),
            0 8px 16px rgba(200, 158, 104, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        border-color: rgba(200, 158, 104, 0.4);
    }
    
    /* Staggered animation on load */
    .promo-image-wrapper:nth-child(1) {
        animation: fadeInUp 0.6s ease-out 0.1s both;
    }
    
    .promo-image-wrapper:nth-child(2) {
        animation: fadeInUp 0.6s ease-out 0.2s both;
    }
    
    .promo-image-wrapper:nth-child(3) {
        animation: fadeInUp 0.6s ease-out 0.3s both;
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .screenshot {
        max-width: 100%;
        transform: none;
        border-width: 0;
        position: relative;
    }
    
    .screenshot:active,
    .screenshot:hover {
        transform: translateY(-6px) scale(1.01);
    }
    
    .download-section {
        padding: 4rem 1.5rem;
    }
    
    .download-section h2 {
        font-size: 2rem;
    }
}

/* Tablet and medium screen adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .app-screenshots {
        gap: 1.5rem;
        padding: 2.5rem 0;
        max-width: 950px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .promo-image-wrapper {
        flex: 0 1 auto;
        max-width: 280px;
    }
    
    .promo-image-wrapper::before,
    .promo-image-wrapper::after {
        display: none; /* Hide decorative backgrounds on tablet+ */
    }
    
    .promo-image {
        max-width: 280px;
    }
    
    .promo-image-wrapper:first-child .promo-image {
        transform: translateY(-10px);
    }
    
    .promo-image-wrapper:nth-child(2) .promo-image {
        transform: translateY(0px);
    }
    
    .promo-image-wrapper:last-child .promo-image {
        transform: translateY(10px);
    }
    
    .promo-image-wrapper:hover .promo-image {
        transform: translateY(-12px) scale(1.03);
        box-shadow: 0 20px 56px rgba(42, 39, 69, 0.35);
    }
    
    .promo-image-wrapper:first-child:hover .promo-image {
        transform: translateY(-20px) scale(1.03);
    }
    
    .promo-image-wrapper:nth-child(2):hover .promo-image {
        transform: translateY(-12px) scale(1.03);
    }
    
    .promo-image-wrapper:last-child:hover .promo-image {
        transform: translateY(-4px) scale(1.03);
    }
}

/* Mobile styles for new sections */
    .features-section,
    .how-it-works-section,
    .gallery-section {
        padding: 3rem 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-image-wrapper {
        height: 180px;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step-image-wrapper {
        max-width: 250px;
        height: 400px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        min-height: 56px;
    }
    
    .faq-answer {
        padding: 0 1.25rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
    
    /* Mobile Footer - Compact spacing for mobile-first approach */
    .footer {
        padding: 2rem 1rem 1.25rem;
    }
    
    .footer-content {
        gap: 1.75rem;
        margin-bottom: 1.75rem;
    }
    
    .footer-section {
        padding-bottom: 1.5rem;
    }
    
    /* Remove borders on mobile too */
    .footer-section {
        border-bottom: none !important;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        gap: 1.25rem;
        flex-direction: column;
    }
    
    .footer-social {
        order: 1;
    }
    
    .footer-logo-bottom {
        order: 2;
    }
    
    .footer-logo-bottom .logo {
        height: 35px;
    }
    
    .footer-copyright {
        order: 3;
    }
    
    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.875rem;
    }
    
    /* Ensure contact section is centered on mobile */
    .footer-contact-section {
        text-align: center;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 1.5rem;
        right: 1.5rem;
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    }
    
    .whatsapp-float:active {
        transform: scale(0.95);
    }
    
    [dir="rtl"] .whatsapp-float {
        left: 1.5rem;
        right: auto;
    }
}

/* RTL Specific Adjustments */
[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-actions {
    flex-direction: row-reverse;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-consent-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.cookie-btn-accept {
    background: var(--primary-color);
    color: white;
}

.cookie-btn-accept:hover {
    background: #b88a5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 158, 104, 0.3);
}

.cookie-btn-decline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

[dir="rtl"] .cookie-consent-content {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-consent-content p {
        min-width: auto;
        text-align: center;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        justify-content: stretch;
    }
    
    .cookie-btn {
        flex: 1;
    }
}

[dir="rtl"] .download-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .social-links {
    flex-direction: row-reverse;
}
