: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;
}

/* 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;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .hero-section {
        background-image: url("images/herobg.png");
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        background-image: url("images/herobg-mobile.png");
        background-size: cover;
        padding-top: 135px;
    }
}

.hero-section h6 {
    font-size: 20px;
    font-weight: 500;
    color: #4955cd;
    margin-bottom: 32px;
    line-height: 1;
}

.hero-section p {
    max-width: 50%;
    margin: 0 auto;
}

.hero-section h1 {
    width: 52%;
    margin: 0 auto;
    font-size: 30px;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 47px;
}

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

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

@media screen and (max-width: 768px) {
    .hero-section p {
        max-width: 100%;
    }
    .hero-section {
        padding-bottom: 20px;
    }
    .hero-section h1 {
        width: 100%;
        margin: 0;
        font-size: 24px;
        color: var(--text-color);
        font-weight: 600;
        line-height: 1.5;
        margin-bottom: 72px;
    }

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

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

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

/* About Section */
.about-section {
    background-image: url("images/about-bg-min.png");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    padding-top: 70px;
    position: relative;
}

.about-section .about-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
    margin-bottom: 12px;
    padding: 0;
    text-align: right;
}

.about-section .about-content p {
    font-size: 18px;
    font-weight: 400;
    color: #4b5563;
    text-align: right;
    margin: 0;
    padding: 0;
}

.about-section .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-section .why-love-zod {
    background: #dfd7fc;
    padding-top: 39px;
    padding-right: 31px;
    padding-left: 31px;
    padding-bottom: 72px;
    border-radius: 44px;
}

.about-section .why-love-zod h3 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
    margin-bottom: 12px;
    padding: 0;
}

.about-section .why-love-zod .features {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-section .why-love-zod .features .feature {
    font-size: 18px;
    font-weight: 400;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-section .why-love-zod .features .feature::before {
    content: "";
    height: 16px;
    width: 1px;
    background: #3945b7;
}

.about-section .badge {
    background: #2f3aa3;
    border-radius: 100px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    bottom: 0;
    right: 0;
    width: fit-content;
    right: 50%;
    transform: translateX(50%);
    bottom: -26px;
}

.about-section .badge span {
    font-size: 18px;
    color: var(--white);
    font-weight: 400;
}

.about-section .badge a {
    font-size: 18px;
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
}

.about-section .badge span {
    font-size: 18px;
    font-weight: 400;
}

@media screen and (max-width: 768px) {
    .about-section .why-love-zod {
        margin-top: 24px;
        padding: 24px;
        padding-bottom: 50px;
    }

    .about-section .why-love-zod h3 {
        font-size: 32px;
    }

    .about-section .why-love-zod .features {
        flex-direction: column;
        align-items: start;
        gap: 4px;
    }

    .about-section .why-love-zod .features .feature {
        font-size: 16px;
    }

    .about-section .badge {
        border-radius: 100px;
        padding: 8px;
        gap: 6px;
    }

    .about-section .badge span {
        font-size: 16px;
    }

    .about-section .badge a {
        font-size: 16px;
    }
}

/* 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 {
        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: transparent !important;
    box-shadow: none !important;
}

/* Keep consistent styling for collapsed state */
.accordion-button {
    color: #5d6ae5 !important;
    background-color: transparent !important;
}

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

/* Optional: Add hover effect */
.accordion-button:hover {
    background-color: rgba(93, 106, 229, 0.05) !important;
}

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

.accordion-item {
    border: none;
    border-radius: 20px !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 .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: 137px;
    }

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

    #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;
    }
}
