/*********************************************
Administrative Systems Hero Section Styles
coming from a component
*********************************************/
@import url("hero.css");
@import url("why-choose-us.css");
/* Hero section */
.admin-hero {
    background: url("../images/admin-imgs/admin-heroImg.png") no-repeat left
        center;
    background-size: cover;
    padding: 50px 20px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Prevent horizontal overflow */
    box-sizing: border-box;
}

.admin-hero .hero-img {
    display: none;
}

@media (max-width: 992px) {
    .admin-hero {
        background: none;
        flex-direction: column-reverse;
        padding: 50px 20px;
          height: 56vh;
    }
    .admin-hero .hero-img {
        display: block;
        max-width: 100%;
        margin: 0 auto;
    }
}
@media (max-width: 768px) {
    .admin-hero {
          height: 72vh;
    }
}
/*********************************************
Administrative Systems Page Styles
*********************************************/
.admin-systems-page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

.admin-discover {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    width: 100%;
    box-sizing: border-box;
}

.admin-discover-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.admin-discover-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    min-width: 300px;
    box-sizing: border-box;
}

.admin-discover-image-container img {
    max-width: 100%;
    height: auto;
    width: 400px;
}

.admin-accordion-container {
    flex: 1;
    padding: 20px;
    min-width: 300px;
    text-align: left;
    box-sizing: border-box;
}

.admin-discover-section-title {
    font-size: 35px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    text-align: left;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.accordion {
    width: 100%;
    box-sizing: border-box;
}

.accordion-item {
    margin-bottom: 20px;
}

.accordion-header {
    cursor: pointer;
    padding: 10px;
    font-size: 16px;
    font-weight: 700;
    background-color: transparent;
    border-left: 3px solid #ddd;
    position: relative;
    transition: color 0.3s ease, border-left 0.3s ease;
    box-sizing: border-box;
}

.accordion-header:hover {
    color: var(--primary-color);
}

.accordion-item.open .accordion-header {
    border-left: 3px solid var(--primary-color);
    color: var(--primary-color);
}

.accordion-content {
    display: none;
    padding: 10px;
    border-left: 3px solid #ddd;
    transition: max-height 0.3s ease, padding 0.3s ease;
    max-height: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.accordion-item.open .accordion-content {
    display: block;
    border-left: 3px solid var(--primary-color);
    max-height: 500px; /* Adjust according to your content */
    padding: 10px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

/* RTL Support */
[dir="rtl"] .accordion-header {
    border-left: none;
    border-right: 3px solid #ddd;
}

[dir="rtl"] .accordion-item.open .accordion-header {
    border-left: none;
    border-right: 3px solid var(--primary-color);
}

[dir="rtl"] .accordion-content {
    border-left: none;
    border-right: 3px solid #ddd;
}

[dir="rtl"] .accordion-item.open .accordion-content {
    border-left: none;
    border-right: 3px solid var(--primary-color);
}

/* Ensure text aligns correctly in RTL */
[dir="rtl"] .admin-discover-content {
    text-align: right;
}

[dir="rtl"] .admin-discover-image-container {
    margin-left: 0;
}
[dir="rtl"] .admin-discover-section-title {
    text-align: right;
}
[dir="rtl"] .admin-accordion-container {
    text-align: right;
}
@media (min-width: 576px) and (max-width: 992px) {
    .admin-discover-content,
    .why-choose-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .why-choose-content,
    .admin-accordion-container {
        width: 50%;
    }

    .why-choose-illustration,
    .admin-discover-image-container {
        width: 50%;
    }

    .why-choose-illustration img,
    .admin-discover-image-container img {
        width: 100%;
        max-width: none;
        height: auto;
    }
}

@media (max-width: 1200px) {
    .admin-discover-section-title {
        font-size: 35px;
        line-height: 50px;
    }
}

@media (max-width: 992px) {
    .admin-discover-section-title {
        font-size: 35px;
        line-height: 45px;
    }

    .admin-accordion-container {
        width: 100%;
        padding-left: 0;
    }

    .admin-discover {
        padding: 50px 20px 0;
    }
}

@media (max-width: 768px) {
    .admin-discover-section-title {
        font-size: 28px;
        line-height: 40px;
        text-align: center;
    }

    .admin-discover-content-image-container {
        margin: 0 auto;
    }

    .admin-accordion-container {
        width: 100%;
        padding-left: 0;
    }
}

@media (max-width: 576px) {
    .admin-discover-section-title {
        font-size: 24px;
        line-height: 35px;
        text-align: center;
    }

    .accordion-header {
        font-size: 16px;
    }

    .accordion-content {
        font-size: 14px;
    }

    .admin-accordion-container {
        width: 100%;
        margin-top: 10%;
    }
    .admin-discover-image-container img {
        width: 232px;
        margin: 0 auto;
    }
}
/*********************************Administrative Systems service*****************************/
.admin-services {
    background: url("../images/admin-imgs/admin-services-img.png") no-repeat
        left center / contain;
    padding: 50px 20px;
    box-sizing: border-box;
}

.admin-services-title {
    font-weight: var(--font-weight-bold);
    font-size: 35px;
    line-height: 61px;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.admin-services-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.admin-service-card {
    box-sizing: border-box;
    width: 300px;
    height: 400px;
    padding: 20px;
    background: var(--color-white);
    border: 1px solid rgba(193, 181, 237, 0.35);
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    margin: 10px;
}

.admin-service-card.highlighted {
    background: var(--gradient-color);
    color: var(--color-white);
}

.admin-service-card h3 {
    font-weight: var(--font-weight-medium);
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 20px;
    color: inherit;
}

.admin-service-card p {
    font-weight: var(--font-weight-regular);
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 20px;
    color: inherit;
}

.admin-service-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 40px;
    color: var(--color-white);
    font-size: 16px;
    cursor: pointer;
}

.admin-service-card.highlighted .admin-service-button {
    background: var(--color-white);
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .admin-services-content {
        gap: 10px;
    }

    .admin-services-title {
        font-size: 24px;
        line-height: 45px;
    }

    .admin-service-card {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .admin-services-title {
        font-size: 24px;
        line-height: 40px;
    }

    .admin-service-card {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .admin-services-title {
        font-size: 24px;
        line-height: 35px;
    }

    .admin-service-card p {
        font-size: 14px;
    }

    .admin-service-button {
        font-size: 14px;
    }
}
/* Administrative Systems Call to Action Section */
.admin-call-to-action {
    background: var(--gradient-color);
    padding: 50px 20px;
    color: var(--color-white);
    width: 100%;
    box-sizing: border-box;
}

.admin-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.admin-cta-text {
    flex: 1;
    padding-right: 20px;
    min-width: 300px;
    box-sizing: border-box;
}

.admin-cta-text h2 {
    font-size: 35px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
}

.admin-cta-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.admin-cta-image {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 300px;
    box-sizing: border-box;
}

.admin-cta-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Administrative Systems Call to Action Section Responsiveness */
@media (max-width: 1200px) {
    .admin-cta-text h2 {
        font-size: 30px;
    }

    .admin-cta-text p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .admin-cta-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .admin-cta-text {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }

    .admin-cta-text h2 {
        font-size: 28px;
    }

    .admin-cta-text p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .admin-cta-text h2 {
        font-size: 24px;
    }

    .admin-cta-text p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .admin-call-to-action {
        padding: 20px 10px;
    }

    .admin-cta-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .admin-cta-text {
        padding: 0 10px;
        text-align: center;
        margin-bottom: 20px;
        box-sizing: border-box;
    }

    .admin-cta-text h2 {
        font-size: 22px;
    }

    .admin-cta-text p {
        font-size: 14px;
    }
    .admin-cta-image {
        margin-top: 20px;
        justify-content: center;
    }

    .admin-cta-image img {
        width: 100%;
        height: auto;
        display: block;
    }
}
