:root {
    --primary-color: #636af9;
    --secondary-color: #1e40af;
    --text-color: #111827;
    --light-bg: #f3f4f6;
    --white: #ffffff;
}

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

body {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    direction: rtl;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Header Styles */
.header {
    padding-top: 16px;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-nav {
    gap: 38px;
}

@media screen and (max-width: 768px) {
    .navbar-nav {
        padding-top: 16px;
        gap: 0;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 14px;
}

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

/* Hero Section */
.hero-section {
    background-color: #fff;
    padding-top: 100px;
    padding-bottom: 125px;
    max-width: 1260px;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
}


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

@media screen and (max-width: 1200px) {
    .hero-section::before,
    .hero-section::after {
        display: none;
    }
}

@media screen and (min-width: 768px) {
    .hero-section {
        margin-top:0px;
        margin-bottom:0px;
        padding-bottom: 0px;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        background-size: cover;
        padding-top: 50px;
        padding-bottom: 0px;
        margin-bottom:0px;

    }
}

.hero-section h6 {
    font-size: 20px;
    font-weight: 600;
    color: #4955cd;
    margin-bottom: 24px;
    line-height: 1.5;
}

.hero-section .hero-description {
    max-width: 658px;
    margin: 0 auto 40px;
    font-size: 16px;
    font-weight: 600;
    color: #4B5563;
    line-height: 1.56;
}

.hero-section h1 {
    max-width: 658px;
    margin: 0 auto 24px;
    font-size: 31px;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.56;
}

.hero-section .download-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-section .download-btns a img {
    height: 70px;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    .hero-section .hero-description {
        max-width: 100%;
        font-size: 14px;
        margin-bottom: 32px;
    }
    .hero-section {
        padding-bottom: 40px;
    }
    .hero-section h1 {
        max-width: 100%;
        margin: 0 auto 16px;
        font-size: 16px;
        color: var(--text-color);
        font-weight: 700;
        line-height: 1.5;
    }

    .hero-section h6 {
        margin-bottom: 8px;
        font-size: 14px;
    }

    .hero-section .download-btns {
        gap: 12px;
    }

    .hero-section .download-btns a img {
        height: 50px;
    }
}

/* About Section */
.about-section {
    background: linear-gradient(33deg, #A5BBFF 0%, #F7F9FF 14%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 66px;
    gap: 60px;
    margin: 76px 64px;
    border-radius: 40px;
}

.about-content {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
}

.about-section .container {
    width: 100%;
}

.about-image {
    flex: 0 0 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 560px;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.about-content-wrapper {
    width: 100%;
}
.about-header {
    text-align: right;
    margin-bottom: 24px;
}

.about-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    line-height: 1.5;
    margin: 0 0 12px 0;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.about-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: #374151;
    line-height: 1.6;
    margin: 0;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.challenges-wrapper {
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.challenges-intro {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    line-height: 1.6;
    text-align: right;
    margin: 0;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}
.challenges-intro-not {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    line-height: 1.6;
    text-align: right;
    margin: 0;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}
.challenges-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 7px 12px;
    border-top: 1px solid #E9E9E9;
    border-bottom: 1px solid #E9E9E9;
}

.challenge-card {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 0;
    flex: 1;
}

.challenge-icon-wrapper {
    flex-shrink: 0;
}

.challenge-icon {
    width: 45px;
    height: 45px;
    border-radius: 22.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.challenge-icon.question-icon {
    background: rgba(244, 237, 255, 0.13);
    border: 0.8px solid #4955CD;
}

.challenge-icon.auction-icon {
    background: rgba(244, 237, 255, 0.13);
    border: 0.8px solid #4955CD;
}

.challenge-icon img {
    width: 29px;
    height: 29px;
}

.challenge-content {
    flex: 1;
    max-width: 233px;
}

.challenge-title-row {
  display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
}

.challenge-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    line-height: 1.6;
    margin: 0;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.challenge-description {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    line-height: 1.6;
    text-align: right;
    margin: 0;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: #FEFCE8;
    border: 1px solid #EAB308;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    color: #854D0E;
    line-height: 1.6;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.challenge-separator {
    width: 1px;
    background: #E9E9E9;
    align-self: stretch;
}

.challenge-cta-box {
    display: flex;
    justify-content: flex-end;
    align-self: flex-start;
    gap: 4px;
    padding: 5px 7px 5px 11px;
    background: #FFF7E2;
    border-radius: 20px;
    max-width: 426px;
}

.challenge-cta-box .cta-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.cta-text {
    font-size: 14px;
    font-weight: 500;
    color: #BF8000;
    line-height: 1.6;
    text-align: right;
    margin: 0;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

@media screen and (max-width: 1024px) {
    .about-section::before {
        width: 300px;
        height: 300px;
        left: 40px;
            margin-left: 64;
         margin-right: 64;
    }
}

@media screen and (max-width: 768px) {
    /* Prevent horizontal overflow on mobile */
    body, html {
        overflow-x: hidden;
        max-width: 100vw;
    }

    * {
        max-width: 100%;
    }

    .about-section {
        flex-direction: column;
        padding: 30px 20px;
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 10px;
        margin-bottom: 0px;

    }

    .about-section::before {
        display: none;
    }

    .about-content {
        flex: 1 1 100%;
        order: 2;
    }

    .about-image {
        flex: 1 1 100%;
        order: 1;
        max-width: 369px;
        min-width: auto;
    }

    .about-image img {
        max-width: 369px;
        height: auto;
    }

    .about-content-wrapper {
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
    }

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

    .about-subtitle {
        font-size: 16px;
    }

    /* Hide about-header and challenges-intro on mobile */
    .about-header {
        display: none;
    }

    .challenges-intro {
        display: none;
    }
    .challenges-intro-not {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.6;
    text-align: right;
    margin: 0;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

    .challenges-container {
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
        align-items: flex-start;
    }

    .challenge-card {
        flex-direction: row;
        align-items: flex-start;
        text-align: right;
    }

    .challenge-content {
        max-width: 100%;
        display: flex;
       flex-direction: column;
    }

    .challenge-title-row {
        justify-content: flex-start;
         white-space: nowrap;
    }

    .challenge-description {
        text-align: right;
    }

    .challenge-separator {
        width: 100%;
        height: 1px;
    }

    .challenge-cta-box {
        max-width: 100%;
        padding: 10px 15px;
    }

    .cta-text {
        font-size: 13px;
    }
}

/* How to play section */
.how-to-play-section {
    padding-top: 100px;
    padding-bottom: 48px;
}

.how-to-play-section .section-head {
    text-align: right;
}

.how-to-play-section .section-head h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-color);
    text-align: right;
    margin: 0;
    padding: 0;
}

.how-to-play-section .section-head p {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-color);
    text-align: right;
    margin: 14px 0;
    padding: 0;
}

.how-to-play-section .steps {
    display: flex;
    align-items: center;
}

.how-to-play-section .steps .step {
    width: 100%;
}

.how-to-play-section .steps .step .content h5 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    padding-left: 18px;
    line-height: 1.5;
    height: 27px;
}

.how-to-play-section .steps .step .content h5 span {
    font-weight: 700;
}

.how-to-play-section .steps .step .arrow {
    display: flex;
    align-items: end;
    position: relative;
}

.how-to-play-section .steps .step .arrow img {
    position: absolute;
    width: 90%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.how-to-play-section .steps .step .arrow .number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #2f3aa3;
    border-radius: 30px;
    font-size: 20px;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .how-to-play-section .steps {
        flex-direction: column;
        gap: 45px;
    }

    .how-to-play-section .steps .step .content h5 {
        margin-top: 12px !important;
    }

    .how-to-play-section .steps .step {
        width: 65%;
    }

    .how-to-play-section .steps .step .arrow img {
        right: -88px;
        width: 130px;
        top: 0;
        transform: rotate(276deg);
        top: 110px;
    }

    .how-to-play-section .steps .step .arrow .number {
        width: 76px;
        height: 76px;
        font-size: 18px;
    }
}

/* Footer */
footer {
    background-image: url("images/footer-bg.svg");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    margin-top: 180px;
}

footer p {
    font-size: 18px;
    font-weight: 400;
    color: #3d3d3d;
    text-align: right;
    margin: 32px 0;
    padding: 0;
}

footer .footer-img {
    position: absolute;
    bottom: 0;
    left: 6.5%;
    width: 32%;
    object-fit: cover;
}

@media screen and (min-width: 1600px) {
    footer .footer-img {
        position: absolute;
        bottom: 0;
        left: 6.5%;
        width: 25%;
        object-fit: cover;
    }
}

footer .download-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

footer .download-btns a img {
    height: 48px;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    footer .download-btns a img {
        height: 50px;
        width: 137px;
    }

    footer {
        background-image: url("footer-bg_mobile.svg");
        margin-top: 200px;
        padding-top: 230px;
        padding-bottom: 65px;
    }

    footer .footer-img {
        width: 88%;
        left: 6%;
        top: -20%;
        bottom: unset;
    }
}

footer .social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

footer .social-icons a {
    text-decoration: none;
    width: 24px;
    height: 24px;
}

footer .social-icons a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pages-links a {
    font-size: 16px;
    font-weight: 400;
    color: #3d3d3d;
    text-decoration: none;
    margin-inline-end: 20px;
}

html[lang="ar"] .hide-on-ar {
    display: none;
}

html[lang="en"] .hide-on-en {
    display: none;
}

/* Maroof Link Styles */
.maroof-link {
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.maroof-link:hover {
    transform: translateY(-2px);
}

.maroof-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 400;
    color: #3d3d3d;
    margin: 32px 0;
    padding: 0;
    transition: all 0.3s ease;
}

.zod-brand {
    color: #3945b7;
    font-size: 16px;
    font-weight: 500;
}

.zod-icon {
    width: 47px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.maroof-link:hover .zod-icon {
    transform: scale(1.2) rotate(5deg);
}

.maroof-link:hover .maroof-text {
    color: #2f3aa3;
}

@media screen and (max-width: 768px) {
    .maroof-text {
        font-size: 14px;
        gap: 10px;
    }

    .zod-icon {
        width: 35px;
        height: 37px;
    }
}

/* How to bid hero */
.ar-circle-logo {
    position: absolute;
    top: 10px;
    right: 20px;
}

.zod-idea-section {
    width: 63.1875rem;
    height: auto;
    margin: auto;
    border-radius: 20px;
}

.zod-steps-section {
    width: 65%;
    margin: auto;
    margin-top: 1.5rem;
    border-radius: 20px;
}

.accordion-button::after {
    content: "";
    background-image: url("images/plus.svg");
    background-repeat: no-repeat;
    background-position: center;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    margin-left: 10px;
    transition: all 0.2s ease-in-out;
    transform: none;
}

/* Change to minus image when expanded */
.accordion-button:not(.collapsed)::after {
    background-image: url("images/minus.svg");
    transform: none;
}

/* Prevent default button color change when expanded */
.accordion-button:not(.collapsed) {
    color: #5D6AE5 !important;
    background-color: #F8F7FD !important;
    box-shadow: none !important;
    font-weight: 700 !important;
}

/* Keep consistent styling for collapsed state */
.accordion-button {
    color: #111827 !important;
    background-color: transparent !important;
    font-size: 20px !important;
    font-weight: 500 !important;
}

/* Remove focus outline */
.accordion-button:focus {
    box-shadow: none !important;
    border-color: transparent !important;
}

/* Optional: Add hover effect */
.accordion-button:hover {
    background-color: #F8F7FD !important;
}

/* Ensure proper RTL alignment */
.accordion-button {
    text-align: right;
    direction: rtl;
}

.accordion-item {
    border: none;
    border-radius: 12px !important;
    box-shadow: 0px 2px 6px 0px #1F22290A, 0px 0px 1px 0px #1F22293D;
    margin-bottom: 12px;
}

/* Answer text color */
.accordion-body {
    color: #111827 !important;
    background-color: #F8F7FD !important;
    font-size: 16px !important;
}

/* How to bid responsive */
#how-to-bid-hero {
    background-image: url("images/hero-bg.svg");
    background-size: cover;
    background-position: center;
    padding-top: 32px;
    height: 56.8rem;
}
.head-button-container {
    margin-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    background: #636af9;
    border-radius: 50px;
    outline: 1px #444ce7 solid;
    outline-offset: -1px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: inline-flex;
}
.hero-content {
    padding-left: 177px;
    padding-right: 177px;
    padding-top: 64px;
    padding-bottom: 27.5px;
}
.head-button {
    text-align: center;
    color: #fbfbff;
    font-size: 20px;
    font-family: IBM Plex Sans Arabic;
    font-weight: 600;
    word-wrap: break-word;
}

.hero-download-btn {
    width: 170px;
    height: 55px;
    object-fit: contain;
}

.hero-title {
    font-size: 31px;
    font-family: IBM Plex Sans Arabic;
    font-weight: 700;
    line-height: 48.34px;
    word-wrap: break-word;
    position: relative;
    margin-bottom: 2rem;
}

.video-section {
    width: 70vw;
    height: 35rem;
    margin: auto;
    border-radius: 20px;
    box-shadow: #1e40af42 0px 1px 1px 0px inset, #1e40af42 0px 50px 100px -20px,
        #1e40af42 0px 30px 60px -30px;
}

.video-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

#zod-idea {
    margin-top: 12.5rem;
}

.zod-idea-section-image {
    width: 50%;
    margin-top: auto;
    margin-bottom: auto;
}

.zod-idea-section-content {
    width: 45%;
    margin-top: auto;
    margin-bottom: auto;
}
.zod-steps-section-image {
    width: 50%;
}

.idea-button {
    text-align: center;
    color: #636af9;
    font-size: 16px;
    font-family: IBM Plex Sans Arabic;
    font-weight: 700;
    line-height: 25.6px;
    word-wrap: break-word;
}

.idea-title {
    font-size: 32px;
    font-family: IBM Plex Sans Arabic;
    font-weight: 700;
    line-height: 49.9px;
    word-wrap: break-word;
}

#bid-steps {
    margin-top: 3.4rem;
}

#bid-steps .title {
    text-align: right;
    justify-content: center;
    display: flex;
    flex-direction: row;
    font-size: 40px;
    font-family: IBM Plex Sans Arabic;
    font-weight: 700;
    line-height: 62.37px;
    word-wrap: break-word;
    margin-bottom: 1rem;
}

#why-zod {
    margin: auto;
    margin-top: 3.4rem;
    background-color: #4955cd;
    padding-top: 1.5rem;
    border-radius: 20px;
    width: 70.2%;
    height: auto;
    position: relative;
    padding-bottom: 2rem;
}
#why-zod .logo-zod {
    position: absolute;
    top: 0;
    right: 0;
}

#why-zod .title {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: white;
    font-size: 42px;
    font-family: IBM Plex Sans Arabic;
    font-weight: 700;
    line-height: 50.4px;
    word-wrap: break-word;
}

#why-zod .content {
    width: 90%;
    margin-top: 1.5rem;
    margin-right: 5%;
    justify-content: center;
    gap: 20px;
    display: inline-flex;
    flex-wrap: wrap;
    align-content: center;
}

#FAQs {
    margin-top: 3.4rem;
}

#faqAccordion {
    width: 46.4%;
    margin: auto;
    position: relative;
}

#footer-container .download-btns {
    margin-top: 1.5rem;
    /* margin-right: 4rem; */
    padding: 10px 0px;
}

#footer-container .download-btns a img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

#footer-container .yellow-bg {
    position: absolute;
    top: -50px;
    left: 25.5rem;
}

#footer-container .star {
    position: absolute;
    top: -46px;
    left: 25.8rem;
}
.custom-title {
    font-size: 40px !important;
}
@media (max-width: 768px) {
    #how-to-bid-hero {
        height: 66rem;
    }
    .head-button-container {
        margin-bottom: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
        background: #636af9;
        border-radius: 50px;
        outline: 1px #444ce7 solid;
        outline-offset: -1px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        display: inline-flex;
    }
    .hero-content {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 1rem;
        padding-top: 3rem;
    }
    .head-button {
        font-size: 18px;
    }
    .hero-title {
        font-size: 26px;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .video-section {
        width: 92.5vw;
        height: 20.4375rem;
        margin: auto;
        border-radius: 20px;
    }

    .video-section video {
        width: 100%;
        height: 100%;
        object-fit: fill;
        border-radius: 20px;
    }

    #zod-idea {
        margin-top: -1rem;
    }

    .zod-idea-section-image {
        width: 100vw;
    }

    .zod-idea-section-image img {
        width: 100%;
    }

    .zod-idea-section-content {
        width: 100vw;
        margin: auto;
        padding: 1rem;
    }

    .zod-idea-section {
        width: 100%;
    }
    .zod-steps-section-image {
        width: 100%;
    }

    .idea-button {
        font-size: 14px;
    }

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

    .zod-steps-section {
        display: none !important;
    }
    .custom-title {
        font-size: 24px !important;
    }
    #bid-steps {
        /* margin-top: 20.4rem; */
        font-size: 32px;
    }

    #bid-steps .title {
        font-size: 24px !important;
    }

    #why-zod {
        margin: auto;
        margin-top: 3.4rem;
        background-color: #4955cd;
        padding-top: 1.5rem;
        border-radius: 20px;
        width: 92.5%;
        height: auto;
        position: relative;
        padding-bottom: 2rem;
    }
    #why-zod .logo-zod {
        position: absolute;
        bottom: 0;
        right: 0;
    }

    #why-zod .title {
        font-size: 20px;
    }

    #why-zod .content {
        font-size: 14px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        display: inline-flex;
        flex-wrap: wrap;
        align-content: center;
        margin-right: 0;
    }

    #faqAccordion {
        width: 92.5%;
    }

    #footer-container {
        padding-top: 6rem;
        padding-bottom: 0;
        background-image: url("images/footer-bg-mobile.svg");
    }

    #footer-container .app-download-btn {
        width: auto;
    }

    #footer-container .download-btns {
        margin-top: 1.5rem;
        margin-right: 1rem;
        padding: 10px;
    }

    #footer-container .download-btns a img {
        height: 50px;
        object-fit: contain;
    }

    #footer-container .footer-img {
        position: relative;
        margin: auto;
        left: 0;
    }

    #footer-container .yellow-bg {
        left: 17.5rem;
    }

    #footer-container .star {
        left: 17.8rem;
    }
}

@media (max-width: 400px) {
    .idea-button {
        font-size: 12px;
    }
}

/* Challenge Types Section - Removed, merged with About Section */

/* Features Section */
.features-section {
    padding: 44px 0;
    background: #FFFFFF;
    margin-bottom: 76px;
}

.features-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 64px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

.features-mockup {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 624px;
    height: 450px;
    background: #F8F7FD;
    border-radius: 20px;
}

.mockup-phone {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-image {
    width: 393px;
    height: 852px;
    object-fit: contain;
    border-radius: 24px;
}

.features-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    height: auto;

}

.features-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between; /* توزع العناصر على كامل العرض */
    gap: 24px;
}

.features-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    text-align: right;
    line-height: 1.25;
    flex-shrink: 0;
}

.challenge-tabs {
    display: flex;
    gap: 8px;
    background: #F8FAFF;
    border: 1px solid #D0D5DD;
    border-radius: 10px;
    padding: 4px;
    width: fit-content;
    flex-shrink: 0;
}

.tab-btn {
    flex: 0 1 auto;
    padding: 6px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #666666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.4;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.tab-btn.active {
    background: #FFFFFF;
    color: #000000;
    font-weight: 700;
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
}

.tab-content {
    display: none;
}

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

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    padding-right: 16px;
    background: transparent;
    border: none;
    border-right: 3px solid #636AF9;
}

.step-number {
    display: inline;
    background: transparent;
    color: #101828;
    border-radius: 0;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    box-shadow: none;
    margin: 0;
    min-width: 24px;
    text-align: right;
}

.step-text {
    font-size: 24px;
    font-weight: 400;
    color: #101828;
    text-align: right;
    line-height: 1.6;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    flex: 1;
}

.step-item:first-child .step-text {
    font-weight: 700;
}

@media (max-width: 1024px) {
    .features-wrapper {
        gap: 40px;
    }

    .features-mockup {
        width: 500px;
        height: 360px;
    }

    .phone-image {
        width: 315px;
        height: 682px;
    }
}

@media (max-width: 768px) {
    .features-section {
    margin-bottom: 0px;
}
    .features-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .features-mockup {
        width: 100%;
        max-width: 400px;
        height: 300px;
    }

    .phone-image {
        width: 250px;
        height: 540px;
    }

    .features-content {
        height: auto;
        gap: 30px;
    }

    .features-content h2 {
        font-size: 24px;
        text-align: right;
    }

    .features-header {
      flex-direction: column; /* مهم */
    align-items: flex-start;
        gap: 16px;
    }

    .challenge-tabs {
        width: fit-content;
    }

    .tab-btn {
        flex: 1;
        padding: 6px 10px;
        font-size: 11px;
        white-space: nowrap;

    }

    .step-item {
        gap: 10px;
        padding-right: 12px;
    }

    .step-number {
        font-size: 16px;
        min-width: 20px;
    }

    .step-text {
        font-size: 16px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 32px 150px;
    margin-top: 150px;
    background: #FDFDFD;
}

.faq-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.faq-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.5;
}

.faq-header p {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    line-height: 1.56;
    max-width: 530px;
    margin: 0 auto;
}

#faqAccordion {
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 24px 20px;
        margin-top: 30px;

    }

    .faq-header h2 {
        font-size: 20px;
    }

    .faq-header p {
        font-size: 14px;
    }

    /* FAQ Question font size on mobile */
    .accordion-button {
        font-size: 14px !important;
    }

    /* FAQ Answer font size on mobile */
    .accordion-body {
        font-size: 14px !important;
    }
}

/* Why Different Section */
.why-different-section {
    padding: 80px 0;
    background: #ffffff;
}

.why-different-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.why-different-logo {
    margin-bottom: 24px;
}

.why-different-logo img {
    width: 80px;
    height: auto;
}

.why-different-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.5;
}

.why-different-content .subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #475467;
    margin-bottom: 32px;
    line-height: 1.56;
}

.features-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.features-tags .feature-tag-row {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: center;
}

.feature-tag {
    padding: 12px 24px;
    background: #F8F7FD;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #344054;
    transition: all 0.3s ease;
    line-height: 1.25;
}

.feature-tag:hover {
    background: #F0EFFF;
    color: #344054;
}

@media (max-width: 768px) {
    .why-different-section {
        padding: 40px 20px;
    }

    .why-different-content h2 {
        font-size: 24px;
    }

    .why-different-content .subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .features-tags {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .features-tags .feature-tag-row {
        display: contents;
    }

    .feature-tag {
        padding: 12px 20px;
        font-size: 14px;
        text-align: center;
        white-space: normal;
        line-height: 1.4;
        box-sizing: border-box;
        flex: 0 0 calc(50% - 4px);
        max-width: calc(50% - 4px);
    }

    /* Last 2 items: centered, fit-content */
    .feature-tag-row:last-child .feature-tag:nth-child(2),
    .feature-tag-row:last-child .feature-tag:nth-child(3) {
        flex: 0 0 auto;
        width: fit-content;
        max-width: 280px;
    }
}

/* Updated Footer Styles */
#footer-container {
    background: transparent;
    padding: 0;
    position: relative;
    overflow: visible;
    margin-top: 0;
   flex-shrink: 0;

}

.footer-curve-bg {
    background-image: url("images/footer-bg.svg");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    padding: 40px 0 0px;
    position: relative;
    min-height: 380px;
}

.footer-curve-bg::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 100px;
    background: transparent;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.footer-layout {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 0;
    position: relative;
}

.footer-image-section {
    flex: 0 0 auto;
    position: absolute;
    left: 0;
    bottom: 0;

}

.footer-phone-img {
    width: 280px;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-content-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 40px;
    flex: 1;
}

.footer-logo-icon {
    margin-bottom: 5px;
}

.footer-logo-icon img {
    width: 66px;
    height: auto;
}

.footer-description {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    line-height: 1.75;
    max-width: 438px;
    margin-bottom: 24px;
    text-align: right;
}

.footer-download-section {
    display: flex; gap: 20px;
    justify-content: flex-end;
    align-items: stretch;
    direction: ltr; /* keep buttons laid out left-to-right */
}

.download-btn-wrapper {
    display: flex;
}

.footer-store-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 0 18px;
    background: #FFFFFF; border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03), 0 7px 7px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.footer-store-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
    background: #FFFFFF;
}

.store-btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.store-btn-label {
    font-size: 12px; font-weight: 500;
    color: #6B7280;
}
.store-btn-name {
    font-size: 16px; font-weight: 700;
    color: #111827;
}

.store-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-registration-section {
    margin-top: 40px;
    margin-bottom: 70px;
    text-align: right;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 50px;
}

.registration-text {
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.registration-badge {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.saudi-center-logo {
    max-width: 120px;
    height: auto;
}

.maroof-placeholder {
    padding: 16px 24px;
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.maroof-placeholder span {
    font-size: 14px;
    font-weight: 500;
    color: #344054;
    white-space: nowrap;
}

.footer-copyright {
    background: #E6E7FF;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.footer-copyright p {
    font-size: 14px; font-weight: 500;
    color: #111827;
    text-align: center;
    margin: 0;
    padding: 0;

}

@media (max-width: 768px) {
    .footer-curve-bg {
        padding: 30px 0px 0px;
        min-height: auto;
    }

    .footer-curve-bg::before {
        top: -40px;
        height: 60px;
    }

    .footer-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 0;
        position: static;
    }

    .footer-image-section {
       flex: 0 0 auto;
      position: relative;
       bottom: -20px;
            left: auto;
        transform: none;
        margin-bottom: 0;
        order: 5;
        margin-top: 0px;
    }

    .footer-phone-img {
        width: 250px;
    }

    .footer-content-section {
        text-align: center;
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 0;
        order: 1;
        align-items: center;
    }

    .footer-logo-icon {
        margin-bottom: 24px;
        margin-left: auto;
        margin-right: auto;
        width: 97px;
        height: 97px;
        border-radius: 50%;
        background: #FFFFFF;
        box-shadow: 0 2px 4px rgba(0,0,0,0.03), 0 7px 7px rgba(0,0,0,0.03);
        display: flex;
        align-items: center;
        justify-content: center;
        order: 1;
    }

    .footer-description {
        text-align: center;
        font-size: 14px;
        order: 2;
    }

    .footer-content-section .download-btns {
        order: 3;
        justify-content: center;
    }

    .footer-registration-section {
        order: 4;
        justify-content: center;
            margin-top: 10px;
    margin-bottom: 0px;
    }

.footer-download-section {
    display: flex; gap: 20px;
    justify-content: flex-end;
    align-items: stretch;
    direction: ltr; /* keep buttons laid out left-to-right */
}
.footer-store-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 0 18px; height: 55px;
    background: #FFFFFF; border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03), 0 7px 7px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

    .store-btn-content {
      direction: rtl; /* Arabic text direction inside buttons */
      text-align: right;
    }
.footer-download-section {
        flex-direction: column;
        align-items: center;
    }

    .footer-store-btn {
        width: 100%;
        max-width: 200px;
    }
#footer-container .download-btns .app-download-btn {
    display: inline-block;
    width: auto;
    height: auto;
}

#footer-container .download-btns .app-download-btn img {
    width: auto;
    height: 70px;
    object-fit: contain;
}
}


