/* ===== CSS Variables ===== */
:root {
    --primary: #FFD600;
    --primary-dark: #dba61a;
    --dark: #343538;
    --light: #ffffff;
    --gray: #667085;
    --gray-light: #F5F5F5;
    --border: #E2E8F0;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

ul {
    list-style: none;
}

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

/* ===== Container ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== Header ===== */
.header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.4s ease;
}

.header.scrolled {
    background: #FFFFFF; /* Solid White */
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header.scrolled .nav-links a {
    font-weight: 600; /* Increased weight on scroll */
}



.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo img {
    height: 62px;
    width: 113px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-size: 18px;
    font-weight: 400;
    color: var(--dark);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== Hero Section ===== */
.hero {
    background: #FFFFFF;
    padding: 100px 0 60px;
    min-height: auto;
    display: flex;
    align-items: center;
}

/* Standard hero alignment */
.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-direction: row-reverse;
    justify-content: space-between;
}

/* Hero Images Grid */
.hero-images {
    flex: 1.2;
    max-width: 760px;
    height: auto;
    aspect-ratio: 760 / 489;
    opacity: 1;
    overflow: hidden;
    display: block;
}


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

/* Hero Text */
.hero-text {
    width: 500px; /* 1320 (available) - 760 - 60 = 500 */
    flex-shrink: 0;
}

.hero-text h1 {
    font-size: 49px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark);
    margin-bottom: 20px;
    text-align: right;
}

.hero-text .subtitle {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 8px;
    text-align: right;
}

.hero-text .highlight {
    color: var(--primary);
    font-weight: 700;
}

.hero-text .description {
    font-size: 28px;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: right;
}

.btn-download {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 12px 40px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    width: 100% !important;
    text-align: center;
}

.btn-download:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 186, 29, 0.3);
}

/* ===== Why Choose Us Section ===== */
.why-choose {
    padding: 30px 0;
    background:  linear-gradient(90deg, #FFF9D6 0%, #FFF9D6 50%, #FFFFFF 100%);
    text-align: center;
}

.why-choose-content {
    margin: 0 auto;
}

.why-choose h2 {
    font-size: 34px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.why-choose .subtitle {
    font-size: 22px;
    color: #4A4A4A;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 20px;
    white-space: normal; /* Fixed: was nowrap */
}

.why-choose-list {
    display: inline-flex; /* Shrink to content width */
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    padding: 0;
    text-align: right;
    margin: 0 auto;
}

.why-choose-list-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.why-choose-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 500;
    color: #292826;
    direction: rtl;
}

.check-icon {
    font-size: 22px;
    display: flex;
    align-items: center;
    order: 0; /* Stays on the right in RTL */
}

.why-choose .footer-note {
    font-size: 18px;
    color: #4A4A4A;
    font-weight: 500;
    max-width: 800px;
    margin: 20px auto 0;
}

/* ===== Owner Importance Section ===== */
.owner-importance {
    padding: 80px 0;
    background: #FFFFFF;
    text-align: center;
}

.owner-importance .section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--dark);
}

/* Tabs Styling */
.tabs-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 14px 35px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
}

.tab-btn .tab-icon {
    font-size: 22px;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(255, 214, 0, 0.2);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

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


.owner-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.owner-card {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #F0F0F0;
}

.owner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.card-image {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image img {
    max-width: 280px;
    height: 203px;
    width: 219px;

}

.owner-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.owner-card p {
    font-size: 16px;
    color: #667085;
    line-height: 1.7;
}

/* Update Media Query for this part */
@media (max-width: 992px) {
    .owner-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .owner-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Services Package Section ===== */
.services-package {
    padding: 80px 0;
    background: linear-gradient(90deg, #FFF9D6 0%, #FFF9D6 50%, #FFFFFF 100%);
    text-align: center;
}

.services-package .section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.services-package .section-subtitle {
    font-size: 18px;
    color: #4A4A4A;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.package-card {
    background: #FFFFFF;
    padding: 50px 30px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.package-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-icon img {
    max-width: 100%;
    max-height: 100%;
}

.package-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.package-card p {
    font-size: 20px;
    color: #667085;
    line-height: 1.6;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 80px 0;
    background: #FFFFFF;
}

.faq .section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.faq .section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #667085;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-accordion {
   
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 1320px;
    opacity: 1;
    border-radius: 20px;
    border-width: 0.5px;


}

.accordion-item {
    border: 0.5px solid #FFED94;
    border-radius: 20px;
    overflow: hidden;
    background: #FFFFFF;
    transition: all 0.3s ease;
    width: 100%;
    height: 96px;
}


.accordion-item.active {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-color: var(--primary);
    height: auto;
}

.accordion-header {
    width: 100%;
    height: 96px;
    padding: 0 42px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: right;
    font-family: inherit;
    transition: background 0.3s;
}


.accordion-header:hover {
    background: #FFFEF5;
}

.question-text {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
}

.icon-plus {
    font-size: 24px;
    color: #667085;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.accordion-item.active .icon-plus {
    transform: rotate(45deg);
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    background: #FFFFFF;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 0 42px 30px; /* Match horizontal padding of header */
}

.accordion-content p {
    font-size: 18px;
    color: #4A4A4A;
    line-height: 1.8;
}

/* ===== App CTA Section ===== */
.app-cta {
    padding: 30px 0 10px;
    background: linear-gradient(90deg, #FFF9D6 0%, #FFF9D6 50%, #FFFFFF 100%);
    overflow: hidden;
}


.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-direction: row; /* In RTL: content will be right, image left */
}


.cta-image {
    flex: 1;
    max-width: 400px;
}

.cta-image img {
    width: 250px;
    height: 505px;
    max-height: 420px;
    display: block;
}


.cta-content {
    flex: 1;
    text-align: right;
}

.cta-content h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 25px;
}

.cta-content p {
    font-size: 20px;
    color: #4A4A4A;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.6;
}


.cta-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}


.cta-features li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    font-size: 18px;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 15px;
    direction: rtl;
}

.cta-features .check {
    font-size: 22px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.store-btn img {
    height: 54px;
    width: auto;
    transition: transform 0.3s;
}

.store-btn:hover img {
    transform: translateY(-5px);
}

/* ===== Main Footer ===== */
.footer {
     background: linear-gradient(90deg, #FFF9D6 0%, #FFF9D6 50%, #FFFFFF 100%);
    padding: 10px 0 20px;
}


.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}


.footer-nav {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    font-size: 18px;
    font-weight: 500;
    color: #4A4A4A;
}

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

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

.footer-social a {
    color: #333;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social img {
    height: 17px;
    width: 14px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-social a:hover img {
    transform: scale(1.1);
}

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




/* ===== Responsive Styles (ALL Media Queries here) ===== */

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

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        text-align: center;
        gap: 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }

    .hero-wrapper {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .hero-images {
        width: 100%;
        max-width: 600px;
        height: auto;
        aspect-ratio: 760 / 489;
        flex-shrink: 1;
    }
    
    .hero-text {
        width: 100%;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 34px; /* Reduced from 36px */
        text-align: center;
    }

    .hero-text .subtitle,
    .hero-text .description {
        text-align: center;
        font-size: 18px; /* Reduced from 20px */
    }


    .btn-download {
        width: auto !important;
        min-width: 280px;
    }

    .importance-wrapper {
        flex-direction: column;
    }
    
    .visual-circle {
        width: 320px;
        height: 320px;
    }

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

    /* App CTA Responsive */
    .cta-container {
        flex-direction: column; /* Text stays on top */
        gap: 20px;
        text-align: center;
    }



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

    .cta-features {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: right;
    }

    .cta-features li {
        justify-content: flex-start;
        width: 100%;
    }

    .cta-buttons {
        justify-content: center;
    }

    .footer-nav {
        gap: 20px 30px;
    }
}


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

    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-text h1 {
        font-size: 26px; /* Reduced from 28px */
    }
    
    .hero-text .subtitle {
        font-size: 16px; /* Reduced from 18px */
    }
    
    .hero-text .description {
        font-size: 14px; /* Reduced from 16px */
    }

    .why-choose h2 {
        font-size: 26px; /* Reduced from 28px */
    }

    .why-choose .subtitle {
        font-size: 14px; /* Reduced from 16px */
    }

    .why-choose-list li {
        font-size: 14px; /* Reduced from 16px */
        text-align: right;
        width: 100%;
        padding: 0 10px;
        align-items: flex-start;
    }

    .importance-text h2 {
        font-size: 30px; /* Reduced from 32px */
    }


    .importance-list strong {
        font-size: 1.1rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        font-size: 14px; /* Reduced from 16px */
    }


    .services-package-grid {
        grid-template-columns: 1fr;
    }
    
    .services-package .section-title {
        font-size: 24px; /* Reduced from 26px */
    }

    /* FAQ Responsive */
    .faq-accordion {
        gap: 10px;
    }

    .accordion-item {
        height: auto; /* Allow items to grow if question wraps */
        min-height: auto;
    }

    .accordion-header {
        padding: 20px;
        min-height: 70px;
    }

    .question-text {
        font-size: 16px; /* Reduced from 18px */
        padding-left: 10px; /* Space for icon */
    }


    .accordion-item.active .accordion-content {
        padding: 0 20px 20px;
    }

    .accordion-content p {
        font-size: 16px;
    }

    /* Mobile CTA Adjustments */
    .cta-content h2 {
        font-size: 26px; /* Reduced from 28px */
    }

    .cta-content p {
        font-size: 14px; /* Reduced from 16px */
    }

    .cta-features li {
        font-size: 14px; /* Reduced from 16px */
    }

    .store-btn img {
        height: 38px; /* Balanced for mobile */
    }

    .footer-nav {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        font-size: 14px; /* Reduced from 16px */
    }


    .footer-social {
        gap: 20px;
    }

    .footer .container {
        gap: 25px;
    }
}


@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 22px; /* Reduced from 24px */
    }
    
    .btn-download {
        width: 100% !important;
        min-width: 0;
    }

    /* Footer & CTA Mobile (Small) */
    .cta-content h2 {
        font-size: 22px; /* Reduced from 24px */
        margin-bottom: 15px;
    }

    .cta-content p {
        font-size: 13px; /* Reduced from 15px */
    }

    .cta-features li {
        font-size: 12px; /* Reduced from 14px */
        gap: 8px;
    }


    .cta-image img {
        width: 180px; /* Smaller mockup for small screens */
        height: auto;
    }

    .footer-nav {
        gap: 12px;
    }

    .footer-nav a {
        font-size: 16px;
    }

    .footer-social {
        gap: 15px;
    }
}

