/* MENA Page Styles */


.no-top-margin{
    margin-top: 0 !important;
}

.no-bottom-margin{
    margin-bottom: 0 !important;
}
/* Common Utility Classes */
.mena-text-center {
    text-align: center;
}

.mena-text-left {
    text-align: left;
}

.mena-padded {
    padding-top: 30px;
    padding-bottom: 30px;
}

.mena-bg-white {
    background-color: #FFF;
}

.mena-bg-gray {
    padding: 50px 0 !important;
    background-color: #efefef;
}

/* ROW 1 - Video Section */
.mena-video-container {
    position: relative;
    padding: 0;
    margin: 0;
}

.mena-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    color: #0B8383;
    padding-left: 80px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
}

.mena-video-overlay h1,
.mena-video-overlay h2 {
    color: #fff;
}

.mena-video-overlay h1 {
    font-size: 80px !important;
}

.mena-video {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: center 10%;
    display: block;
}

/* ROW 2 - Welcome Section */
.mena-welcome-row {
    text-align: left;
}

.mena-welcome-title {
    margin-top: 0;
    font-size: 60px !important;
}

.mena-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.mena-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Icons - Common Styles */
.mena-icon {
    font-size: 100px;
    color: #0b8383;
    margin-bottom: 20px;
}

/* ROW 3 - Text Styling */
.mena-row3-text {
    font-size: 18px; /* 14px - smaller than default paragraph text */
    line-height: 1.4;
    /* min-height: 190px; */
}

/* ROW 6 - Support Section */
.mena-section-title {
    margin-bottom: 50px;
}

.mena-benefits-title {
    margin: 50px 0 20px 0;
}

/* ROW 10 - Team Section */
.mena-team-row {
    text-align: center;
}

/* ROW 11 - Members Section */
.mena-members-title {
    text-align: center;
    margin-bottom: 40px;
}

.mena-member-image {
    width: 100%;
}

.etImage{
    width: 170px !important;
    border-radius: 200px;
    height: 170px;
    background-size: 100% 100%;
    margin: auto;
}

.flagTitle {
    font-weight: 700;
    margin-top: 20px;
}


.modalFlag {
    width: 100px !important;
    margin: 0px 0px 6px 30px;
    float: right;
    border: 1px solid #efefef;
}
.modal-footer a{
    margin-bottom: 0px;
}
#cph_main_cph_main_C147_Col00 .mena-icon {
    font-size: 80px;}

/* ================================
   Flags Grid Styles
   ================================ */
.flags-grid-wrapper {
    width: 100%;
    padding: 40px 0;
    background: transparent;
}

.flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
    height: 180px;
}

.flag-item img {
    width: auto;
    max-width: 180px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.flag-item:hover img {
    transform: scale(1.1);
    cursor: pointer;
}

.flag-item span {
    margin-top: 12px;
    font-size: 16px;
    color: #333;
    font-weight: 700;
}

/* ================================
   Quotes Carousel Styles
   ================================ */
.quote-carousel {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 20px;
    text-align: center;
    position: relative;
}

.quote-content {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.quote-content.slide-out-left {
    opacity: 0;
    transform: translateX(-50px);
}

.quote-content.slide-out-right {
    opacity: 0;
    transform: translateX(50px);
}

.quote-content.slide-in-left {
    opacity: 0;
    transform: translateX(50px);
}

.quote-content.slide-in-right {
    opacity: 0;
    transform: translateX(-50px);
}

.quote-text {
    font-size: 28px;
    font-style: italic;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin-bottom: 30px;
    padding: 0;
    text-align: center;
}

@media (max-width: 991px) {
    .quote-text {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .quote-text {
        font-size: 15px;
    }
}

.quote-mark {
    font-size: 42px;
    color: #0b8383;
    font-weight: 700;
}

.quote-author {
    font-size: 22px;
    font-weight: 700;
    color: #0b8383;
}

.quote-logo {
    max-width: 200px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.quote-photo {
    width: 200px !important;
    height: 200px !important;
    max-height: 200px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center top;
    margin-bottom: 16px;
    border: 3px solid #0b8383;
}

.quote-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.quote-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #0b8383;
    background: transparent;
    color: #0b8383;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-nav-btn:hover {
    background: #0b8383;
    color: #fff;
}

.quote-dots {
    display: flex;
    gap: 10px;
}

.quote-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.quote-dot.active {
    background: #0b8383;
}

/* ================================
   Learning Resources Carousel Styles
   ================================ */
.learning-carousel {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    position: relative;
}

.learning-carousel-title {
    margin-bottom: 30px;
}

.learning-content {
    min-height: 320px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.learning-content.slide-out-left {
    opacity: 0;
    transform: translateX(-50px);
}

.learning-content.slide-out-right {
    opacity: 0;
    transform: translateX(50px);
}

.learning-content.slide-in-left {
    opacity: 0;
    transform: translateX(50px);
}

.learning-content.slide-in-right {
    opacity: 0;
    transform: translateX(-50px);
}

.flags-content {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.flags-content.slide-out-left {
    opacity: 0;
    transform: translateX(-50px);
}

.flags-content.slide-out-right {
    opacity: 0;
    transform: translateX(50px);
}

.flags-content.slide-in-left {
    opacity: 0;
    transform: translateX(50px);
}

.flags-content.slide-in-right {
    opacity: 0;
    transform: translateX(-50px);
}

.learning-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.learning-item:hover {
    transform: scale(1.03);
}

.learning-text-container {
    background-color: #efefef;
    width: 100%;
    padding: 50px 20px 50px 20px;
    border-radius: 0 0 8px 8px;
    box-sizing: border-box;
}

.learning-item p.learning-description {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.learning-item p.learning-description.rtl {
    direction: rtl;
    text-align: right;
}

.learning-image {
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.learning-image-container {
    position: relative;
    width: 100%;
}

.pr-tag {
    position: absolute;
    top: -8px;
    left: -8px;
    z-index: 10;
    background: #fff;
    padding: 4px 8px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.pr-tag img {
    height: 22px;
    width: auto;
    display: block;
}

.learning-badges {
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 10px 25px;
    background-color: rgb(46, 110, 207);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 25px;
    white-space: nowrap;
    z-index: 15;
}

.learning-badge {
    display: flex;
    align-items: center;
    gap: 6px;
}

.learning-badge em {
    font-size: 14px;
}

.learning-title {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.learning-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
}

.learning-link:hover .learning-title {
    color: #0b8383;
}

.learning-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.learning-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #0b8383;
    background: transparent;
    color: #0b8383;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.learning-nav-btn:hover {
    background: #0b8383;
    color: #fff;
}

.learning-dots {
    display: flex;
    gap: 10px;
}

.learning-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.learning-dot.active {
    background: #0b8383;
}

@media (min-width: 2000px) {
    .learning-carousel {
        padding-left: 10%;
        padding-right: 10%;
    }
}

/* ================================
   Partnership Carousel Styles
   ================================ */
.partnership-carousel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    position: relative;
}

.partnership-carousel-title {
    margin-bottom: 40px;
}

.partnership-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    min-height: 350px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.partnership-content.slide-out-left {
    opacity: 0;
    transform: translateX(-50px);
}

.partnership-content.slide-out-right {
    opacity: 0;
    transform: translateX(50px);
}

.partnership-content.slide-in-left {
    opacity: 0;
    transform: translateX(50px);
}

.partnership-content.slide-in-right {
    opacity: 0;
    transform: translateX(-50px);
}

.partnership-text-side {
    flex: 1;
    text-align: left;
    max-width: 550px;
}

.partnership-title {
    font-size: 28px;
    font-weight: 700;
    color: #0b8383;
    margin-bottom: 20px;
}

.partnership-description {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 25px;
}

.partnership-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.partnership-btn {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid #0b8383;
    color: #0b8383;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.partnership-btn:hover {
    background: #0b8383;
    color: #fff;
}

.partnership-image-side {
    flex: 1;
    max-width: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partnership-image {
    max-width: 100%;
    max-height: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.partnership-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.partnership-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #0b8383;
    background: transparent;
    color: #0b8383;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partnership-nav-btn:hover {
    background: #0b8383;
    color: #fff;
}

.partnership-dots {
    display: flex;
    gap: 10px;
}

.partnership-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.partnership-dot.active {
    background: #0b8383;
}

@media (max-width: 768px) {
    .partnership-content {
        flex-direction: column;
        gap: 30px;
    }
    .partnership-text-side {
        max-width: 100%;
        text-align: center;
    }
    .partnership-buttons {
        justify-content: center;
    }
    .partnership-image-side {
        max-width: 100%;
    }
}