* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #C8102E;
    --dark-red: #8B0000;
    --light-gray: #F5F5F5;
    --gray: #E0E0E0;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    min-height: 90px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 90px;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 100%;
    max-height: 90px;
    width: auto;
    max-width: 300px;
    min-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    display: block;
    background: transparent;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Ensure logo is visible */
.logo img[src] {
    opacity: 1;
    visibility: visible;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-toggle {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    transition: background 0.3s;
}

.lang-toggle:hover {
    background: var(--dark-red);
}

.btn-download-header {
    background: var(--primary-red);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-download-header:hover {
    background: var(--dark-red);
}

/* Hamburger Menu */
.menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-red);
    border-radius: 3px;
    transition: all 0.3s;
    transform-origin: center;
}

.menu-toggle:hover span {
    background: var(--dark-red);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 90px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 90px);
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 20px;
    display: flex !important;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

body[dir="ltr"] .nav-menu {
    right: auto;
    left: -100%;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.nav-menu.active {
    right: 0;
}

body[dir="ltr"] .nav-menu.active {
    left: 0;
    right: auto;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.nav-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-red);
    border-color: var(--primary-red);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    background-image: url('assets/red-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(200, 16, 46, 0.8);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
}

/* Intro Section */
.intro-section {
    background: var(--white);
    background-image: url('assets/white-bg.png');
    background-size: cover;
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 30px;
}

.section-title.white {
    color: var(--white);
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Features Section */
.features-section {
    background: var(--light-gray);
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-red);
}

.feature-item h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Services Preview */
.services-preview {
    background: var(--white);
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--gray);
    transition: all 0.3s;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(200, 16, 46, 0.2);
}

.service-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.text-center {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background: var(--dark-red);
    transform: scale(1.05);
}

/* Download CTA */
.download-cta {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    background-image: url('assets/red-bg.png');
    background-size: cover;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.download-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.download-cta .container {
    position: relative;
    z-index: 1;
}

.btn-download-large {
    display: inline-block;
    background: var(--dark-red);
    color: var(--white);
    padding: 20px 50px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    margin-top: 30px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-download-large:hover {
    background: var(--primary-red);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-text {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Download Page */
.download-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background: var(--light-gray);
}

.download-content {
    text-align: center;
    max-width: 600px;
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.download-content h1 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.download-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.google-play-btn {
    display: inline-block;
    background: var(--dark-red);
    color: var(--white);
    padding: 20px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.google-play-btn:hover {
    background: var(--primary-red);
    transform: scale(1.05);
}

.google-play-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-left: 10px;
    vertical-align: middle;
}

/* Services Page */
.services-page {
    padding: 60px 0;
    background: var(--white);
    background-image: url('assets/white-bg.png');
    background-size: cover;
}

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-page-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary-red);
    transition: all 0.3s;
}

.service-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.2);
}

.service-page-card h3 {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-page-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Page */
.contact-page {
    padding: 60px 0;
    background: var(--light-gray);
    min-height: 70vh;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.2);
    border: 2px solid var(--primary-red);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
}

.contact-icon svg {
    width: 40px;
    height: 40px;
}

.contact-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .btn-download-header {
        display: none;
    }

    /* Menu toggle always visible */
    .menu-toggle {
        display: flex !important;
    }

    /* Logo on mobile */
    .logo {
        height: 70px;
    }

    .logo img {
        max-height: 70px;
        min-width: 150px;
    }
}

.partners-logos img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 10px;
  }
  /* Partners Section */
.partners {
    background: #ffffff;
    padding: 60px 20px 80px;
    text-align: center;
  }
  
  .partners-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
  }
  
  /* Logos container */
  .partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  /* Logos */
  .partners-logos img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
  }
  
  .partners-logos img:hover {
    transform: scale(1.08);
  }
  
  /* Mobile */
  @media (max-width: 768px) {
    .partners-logos {
      gap: 25px;
    }
  
    .partners-logos img {
      width: 110px;
      height: 110px;
    }
  }
  

