/* --- Global Styles --- */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    direction: rtl;
    font-family: "Cairo", sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* --- Home Banner Section --- */
.home-banner {
    background-color: transparent;
    width: 100%;
    min-height: 70vh;
    background-image:
        radial-gradient(at 100% 0%, #DBEAFE80 0%, transparent 40%),
        radial-gradient(at 0% 100%, #CEFAFE80 0%, transparent 40%);
    display: flex;
    align-items: center;
    padding: 20px 8%;
}

.home-banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 60px;
    background-color: transparent;
}

.banner-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    background-color: transparent;

}

.banner-right-top {
    width: fit-content;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    border-radius: 25px;
    color: #155DFC;
    font-size: 14px;
    font-weight: 600;
}

.banner-right-top img {
    background-color: transparent;
}

.banner-right-top p {
    background-color: transparent;
}

.banner-right-text {
    background-color: transparent;

}

.banner-right-text h2 {
    font-weight: 800;
    font-size: clamp(32px, 5vw, 48px);
    color: #0F172B;
    line-height: 1.3;
    background-color: transparent;

}

.banner-right-text p {
    font-size: 20px;
    color: #45556C;
    background-color: transparent;

}

.banner-right-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    background-color: transparent;

}

.contact-button img {
    background-color: transparent;
}

.contact-button,
.explore-btn {
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-family: "Cairo";
    transition: 0.3s;
    cursor: pointer;
}

.contact-button {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #155DFC, #4F39F6);
    color: #FFF;
    box-shadow: 0 10px 20px -5px rgba(21, 93, 252, 0.3);
}

.explore-btn {
    background: #FFF;
    border: 1px solid #E2E8F0;
    color: #314158;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.banner-left {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease;
    background-color: transparent;

}

.banner-img img {
    width: 100%;
    max-width: 480px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.banner-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.banner-card .card-text h5 {
    font-weight: 900;
    font-size: 18px;
    color: #1D293D;
    background-color: transparent;

}

.banner-card .card-text p {
    font-weight: 500;
    font-size: 14px;
    color: #62748E;
    background-color: transparent;

}

.banner-img-top {
    top: -10%;
    right: 10%;
}

.banner-img-bottom {
    bottom: -5%;
    left: 10%;
}

.card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* --- Shared Components --- */
.services-header h2,
.reviews-header h2,
.advantages-header h2 {
    font-size: 40px;
    font-weight: 700;
}

.line {
    width: 50px;
    height: 4px;
    background: #155DFC;
    margin: 10px auto 50px;
    border-radius: 2px;
}

/* --- Services Section --- */
.services-section {
    padding: 50px 8%;
    text-align: center;
    /* min-height: 100vh; */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service-card {
    background: #FFF;
    border-radius: 24px;
    padding: 30px;
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
}

.service-card.active {
    flex: 1.5 1 calc(40% - 20px);
    background: linear-gradient(135deg, #4F39F6, #372AAC);
    color: #FFF;
}

.card-content,
.card-icon-box,
.service-card.active .card-content {
    background-color: transparent;
}

.service-card.active .card-content h3,
.service-card.active .card-content p {
    color: #FFF;
    background-color: transparent;

}

.card-icon-box img {
    width: 45px;
    height: 45px;
    margin-bottom: 20px;
    background-color: transparent;

}

.card-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    background-color: transparent;
}

.card-content p {
    font-size: 15px;
    color: #64748B;
    line-height: 1.6;
    background-color: transparent;

}

/* --- Pricing Section --- */
.pricing-section {
    padding: 0 8% 50px 8%;
    /* min-height: 100vh; */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F8FAFB;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    width: 100%;
}

.price-card {
    background: #FFF;
    border-radius: 30px;
    padding: 25px;
    flex: 1 1 calc(33.333% - 30px);
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #E2E8F0;
    box-shadow: 0px 20px 25px 5px #E2E8F066;
    transition: all 0.4s ease;
}

.badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
}

.first-badge {
    background: #DBEAFECC;
    color: #1447E6;
    border: 1px solid #FFFFFF4D;
}

.second-badge {
    background: #DBEAFECC;
    color: #1447E6;
}

.third-badge {
    background: #D0FAE5CC;
    color: #007A55;
}


.features-list,
.features-list ul,
.features-list li,
.price-tag {
    background-color: transparent;
}

.price-tag h3 {
    font-size: 20px;
    font-weight: 900;
    color: #0F172B;
    background-color: transparent;

}

.price-tag p {
    font-size: 30px;
    font-weight: 900;
    color: #1D293D;
    margin-bottom: 20px;
    background-color: transparent;

}

.features-list {
    list-style: none;
    width: 100%;
    margin-bottom: 25px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #64748B;
}

.price-btn {
    width: 100%;
    padding: 12px;
    margin-top: auto;
    border-radius: 15px;
    border: none;
    background: #0F172B;
    color: #FFF;
    font-weight: 700;
    cursor: pointer;
}

.price-card.active {
    transform: scale(1.05);
    background: linear-gradient(135deg, #1447E6 0%, #432DD7 50%, #0F172B 100%);
    color: #FFF;
    border: none;
}

.price-card.active .price-tag p,
.price-card.active .price-tag h3,
.price-card.active .features-list li {
    color: #FFF;
}

.price-card.active .price-btn {
    background: #FFF;
    color: #372AAC;
}

/* --- Advantages Section --- */
.advantages-section {
    padding: 0 8% 50px 8%;
    text-align: center;
}

.advantages-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.adv-card {
    padding: 30px 40px;
    background: #FFF;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-width: 200px;
}

.adv-card p {
    background-color: transparent;
}

.first-card-icon {
    background: #EFF6FF;
}

.second-card-icon {
    background: #ECFDF5;
}

.third-card-icon {
    background: #FAF5FF;
}

.fourth-card-icon {
    background: #FFF7ED;
}

.first-card-icon,
.second-card-icon,
.third-card-icon,
.fourth-card-icon {
    padding: 15px;
    border-radius: 18px;
    display: flex;
}

/* --- Reviews Section --- */
.reviews {
    padding: 0 8% 50px 8%;
    /* min-height: 100vh; */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #EFF6FF;
}

.reviews-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    width: 100%;
    background-color: transparent;
}

.reviews-card {
    width: 30%;
    background-color: #FFFFFF;
    box-shadow: 0px 10px 15px -3px #1C398E0D;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border-radius: 30px;
    text-align: center;
    position: relative;
}

.reviews-card .reviews-card-image {
    position: absolute;
    top: -50px;
}

.reviews-card .reviews-card-image img {
    border-radius: 50%;
}

.review-text {
    background-color: transparent;
}

.review-text p {
    font-weight: 400;
    font-size: 16px;
    color: #45556C;
    background-color: transparent;
}

.review-details h3 {
    font-weight: 700;
    font-size: 16px;
    color: #1D293D;
    background-color: transparent;
}

.review-details p {
    font-weight: 400;
    font-size: 14px;
    color: #62748E;
    background-color: transparent;
}

.reviews-header {
    background-color: transparent;
}

.reviews-header h2 {
    background-color: transparent;
}

.reviews-card-image,
.reviews-card-icons {
    background-color: transparent;
}

/* --- Partners Section --- */
.partners-section {
    width: 100%;
    overflow: hidden; 
    padding: 50px 0; 
}

.partners-container {
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}
.partner-item span {
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    color: #45556C;
    background-color: transparent;
}

.partners-header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: transparent;
    margin-bottom: 20px;
}

.partners-header h2 {
    background-color: transparent;
}
.partners-track {
    display: flex;
    width: max-content; 
    gap: 80px; 
    animation: scroll-left 10s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.partner-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}



/* --- News Section --- */
.news-section {
    padding: 0 8% 50px 8%;
    background-color: #ffffff;
    text-align: right;
}

.news-line {
    width: 50px;
    height: 4px;
    background: #155DFC;
    margin: 5px;
    border-radius: 2px;
}

.news-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
    background-color: transparent;
}

.news-card {
    background: #F8FAFC;
    border: 1px solid #F1F5F9;
    border-radius: 32px;
    overflow: hidden;
    flex: 1;
    max-width: 500px;
    min-width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    position: relative;
    width: 100%;
    height: 250px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 16px;
    border-radius: 12px;
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
}

.badge-orange {
    background-color: #FF6900;
}

.badge-blue {
    background-color: #2B7FFF;
}

.news-content {
    padding: 25px;
    text-align: right;
}

.news-date {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    color: #62748E;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-date img {
    width: 16px;
}

.news-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0F172B;
    margin-bottom: 12px;
    background-color: transparent;
}

.news-content p {
    color: #45556C;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    background-color: transparent;
}

.read-more {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    color: #155DFC;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s;
}

.read-more img {
    width: 18px;
}

.read-more:hover {
    gap: 12px;
}
.news-header {
    margin-top: 30px;
}
.news-header {
    font-size: 20px;
}
.news-header,
.news-header h2 {
    background-color: transparent;
}

/* --- Full Responsive Design --- */

/* 1. الشاشات المتوسطة (Tablets - 992px and down) */
@media (max-width: 992px) {

    /* Banner Section */
    .home-banner {
        padding: 100px 5% 50px;
        min-height: auto;
    }

    .home-banner-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .banner-right {
        align-items: center;
        order: 1;
    }

    .banner-right-text h2 {
        font-size: 36px;
    }

    .banner-left {
        order: 2;
        transform: scale(0.85);
        margin-top: 20px;
    }

    /* Services Section */
    .service-card {
        flex: 1 1 calc(50% - 20px);
    }

    .service-card.active {
        flex: 1 1 calc(50% - 20px);
        transform: scale(1);
    }

    /* Pricing Section */
    .price-card {
        flex: 1 1 calc(50% - 30px);
    }

    .price-card.active {
        transform: scale(1);
    }

    /* Reviews Section*/
    .reviews {
        min-height: auto;
        padding: 60px 5% 40px;
    }

    .reviews-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 70px;
        margin-top: 60px;
    }

    .reviews-card {
        width: 45%;
        min-width: 280px;
    }
}

/* 2. شاشات الموبايل (Mobile - 768px and down) */
@media (max-width: 768px) {

    /* Global Titles */
    .services-header h2,
    .reviews-header h2,
    .advantages-header h2,
    .news-header h2 {
        font-size: 30px;
    }

    /* Banner */
    .banner-left {
        transform: scale(0.75);
        margin-top: 0;
    }

    /* Services & Pricing */
    .service-card,
    .price-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    /* Advantages */
    .adv-card {
        flex: 1 1 calc(50% - 20px);
        padding: 20px;
    }

    /* Reviews */
    .reviews-container {
        flex-direction: column;
        align-items: center;
    }

    .reviews-card {
        width: 100%;
    }

    /* Partners Section*/
    .partners-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    .partner-item {
        flex: 0 1 auto;
        justify-content: center;
        min-width: 130px;
    }

    /* News */
    .news-card {
        flex: 1 1 100%;
    }
}

/* 3. شاشات الموبايل الصغيرة (Small Mobile - 480px and down) */
@media (max-width: 480px) {

    /* Banner */
    .banner-right-text h2 {
        font-size: 26px;
    }

    .banner-left {
        transform: scale(0.6);
        margin-top: -50px;
    }

    .banner-right-btns {
        flex-direction: column;
        width: 100%;
    }

    .contact-button,
    .explore-btn {
        width: 100%;
        justify-content: center;
    }

    /* Advantages */
    .adv-card {
        flex: 1 1 100%;
    }

    /* Partners */
    .partners-container {
        gap: 20px;
    }

    .partner-item span {
        font-size: 15px;
    }

    .partner-item img {
        width: 30px;
    }
}

/* --- Consultants Home Section --- */
.consultants-section {
    padding: 50px 8%;
    text-align: center;
    background-color: #ffffff;
}

.consultants-home-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 10px;
}

.consultant-home-card {
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    flex: 1 1 calc(25% - 24px);
    min-width: 240px;
    max-width: 300px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f4f8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.consultant-home-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(21, 93, 252, 0.12);
}

.consultant-home-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    display: flex;
    align-items: center;
    justify-content: center;
}

.consultant-home-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consultant-home-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
}

.consultant-home-placeholder i {
    font-size: 60px;
    color: #93B4F5;
}

.consultant-home-info {
    padding: 20px;
}

.consultant-home-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0F172B;
    margin-bottom: 8px;
    background-color: transparent;
}

.consultant-home-specialty {
    display: inline-block;
    background: #EFF6FF;
    color: #155DFC;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.consultant-home-bio {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 12px;
    min-height: 44px;
    background-color: transparent;
}

.consultant-home-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.consultant-home-price .price-amount {
    font-size: 26px;
    font-weight: 900;
    color: #155DFC;
}

.consultant-home-price .price-currency {
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
}

.consultants-home-cta {
    margin-top: 40px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    border-radius: 50px;
    background: linear-gradient(90deg, #155DFC, #4F39F6);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    font-family: "Cairo", sans-serif;
    box-shadow: 0 10px 25px -5px rgba(21, 93, 252, 0.3);
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px -5px rgba(21, 93, 252, 0.4);
}

.view-all-btn i {
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(-5px);
}

/* --- Board Members Section --- */
.board-members-section {
    padding: 50px 8%;
    text-align: center;
    background-color: #F8FAFC;
}

.board-members-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 10px;
}

.board-member-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 30px 20px;
    flex: 1 1 calc(33.333% - 30px);
    min-width: 250px;
    max-width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #E2E8F0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.board-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(21, 93, 252, 0.1);
    border-color: #DBEAFE;
}

.board-member-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 4px solid #EFF6FF;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    display: flex;
    align-items: center;
    justify-content: center;
}

.board-member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-member-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.board-member-placeholder i {
    font-size: 50px;
    color: #93B4F5;
}

.board-member-info h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0F172B;
    margin-bottom: 10px;
    background-color: transparent;
}

.board-member-job {
    display: inline-block;
    background: #EFF6FF;
    color: #155DFC;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.board-member-region {
    display: block;
    color: #64748B;
    font-size: 14px;
    font-weight: 600;
}

.board-member-region i {
    color: #EF4444;
    margin-left: 4px;
}

/* Consultants & Board Members responsive */
@media (max-width: 992px) {
    .consultant-home-card {
        flex: 1 1 calc(50% - 24px);
        max-width: 48%;
    }
    
    .board-member-card {
        flex: 1 1 calc(50% - 30px);
        max-width: 48%;
    }
}

@media (max-width: 768px) {
    .consultant-home-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .board-member-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

