@import "./variables.css";
@import "./navbar.css";
@import "./hero.css";
/* @import "./menu.css"; */
@import "./footer.css";
@import "./breakpoints.css";

main {
    position: relative;
}
.whtsapp-button {
    display: block;
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
    cursor: pointer;
}
section {
    width: 100%;
}
.col-left h1, .content-col h2 {
    line-height: 71px;
}

.content-col p {
    margin-bottom: 30px;
}
.content-col-image img {
    width: 80%;
}

.services .content-col {
    padding-left: 75px;
}

.getapp-wrapper {
    background-color: var(--third-color);
    border-radius: var(--main-radius);
    padding: 50px 40px;
    align-items: center;
    justify-content: center;
}
.getapp-wrapper .img-col img {
    width: 80%;
}
.getapp-content h2 {
    font-weight: 500;
    font-size: 45px;
}
.getapp-wrapper h3,
.getapp-wrapper h2,
.getapp-wrapper p {
    color: var(--white-color);
}
.getapp-content a {
    width: 140px;
    display: inline-block;
    margin: 50px 25px 0 0;
    transition: var(--animate);
}
.getapp-content a:last-child {
    margin-right: 0px;
}
.getapp-content a:hover {
    transform: scale(1.02);
}

.scrollup {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    width: 45px;
    height: 45px;
    text-align: center;
    border-radius: 50px;
    position: fixed;
    bottom: -10px;
    right: 30px;
    transition: background-color 0.3s, opacity 0.5s, visibility 0.5s, bottom 0.5s;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
    cursor: pointer;
    box-shadow: var(--main-shadow);
}
.scrollup img {
    width: 70%;
}
.scrollup.show {
    bottom: 30px;
    opacity: 1;
    visibility: visible;
}
.store-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}
.store-buttons a {
    margin:  1rem !important;
}

.features-section {
    max-width: 1200px;
    margin: auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    color: #023e8a;
    font-weight: 700;
    margin-bottom: 3rem;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-text,
.feature-image {
    flex: 1 1 100%;
    box-sizing: border-box;
}

.feature-text {
    padding: 1rem;
}

.feature-text h3 {
    color: #023e8a;
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 1.5rem;
    color: #555;
}

.feature-image {
    width: 100%;
    height: 240px !important;
    background-color: #dbeffd;
    border-radius: 12px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 1rem;
}

.feature-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* شاشة كبيرة */
@media (min-width: 769px) {
    .feature-row {
    flex-wrap: nowrap;
    }

    .feature-text,
    .feature-image {
    flex: 1 1 50%;
    }

    .feature-image {
    margin-top: 0;
    height: 480px !important;
    }

    .reverse-row {
    flex-direction: row-reverse;
    }

    .feature-card {
    width: 25% !important;
}
}

.features-cards-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card {
    width: 100%;
    height: auto;
    min-height: 240px;
    border-radius: 10px;
    padding: 50px 20px;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
    /* gap: 10px; */
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.feature-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.feature-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}
.faq-question {
    padding: 15px;
    background: #f5f5f5;
    cursor: pointer;
    font-weight: bold;
    position: relative;
}
.faq-question:after {
    content: '+';
    position: absolute;
    left: 15px;
    font-size: 20px;
}

.faq-question.active:after {
    content: '-';
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    /* //transition: max-height 0.8s ease-out; */
}
.faq-answer.show {
    padding: 15px;
    max-height: 500px; /* Adjust based on your content */
}

.faq-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto !important;
}

.faq-tab {
    border-radius: var(--main-radius) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

section.faq {
    padding: 4rem 0;
}
