/* CSS Reset and Base Styles */
* {
    box-sizing: border-box;
    direction: ltr;
    font-family: 'Cairo', sans-serif;
}

/* CSS Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-gray: #f5f6fa;
    --white: #ffffff;
}

body {
    background-color: #FAFAFA;
    direction: ltr;
    overflow-x: hidden;
}



.nav-link {
    position: relative;
    transition: all 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    display: block;
    width: 0;
    transform: translateX(-50%);
    height: 1px;
    background: #00386C;
    transition: all 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #00386C;

}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    display: block;
    width: 100%;
    transform: translateX(-50%);
    height: 1px;
    background: #00386C;
    transition: all 0.3s;
}

.nav-container {
    /* padding: 0 1rem; */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    z-index: 100;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    font-size: 0.9rem;
}

.lang-btn i {
    font-size: 0.8rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    display: none;
    overflow: hidden;
}

.language-selector:hover .lang-dropdown {
    display: block;
}

.lang-option {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.2s ease;
}

.lang-option:hover {
    background-color: var(--light-gray);
}

/* Contact Button */
.contact-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #2980b9;
}


main p {
    font-size: 14px;
    color: #fff;
    font-weight: 400;
    line-height: 20px;
}

@media (min-width: 768px) {
    main p {
        font-size: 18px;
        line-height: 28px;
    }
}


/* Slider Styles */
.hero-slider,
.hero-slider .slick-list,
.hero-slider .slick-track,
.hero-slider .slick-slide,
.hero-slider .slick-slide>div {
    height: 90vh !important;
}

.hero-slider .slick-slide>div {
    width: 100%;
}

/* Make sure images cover the full area */
.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Make sure images cover the full area */
.who-we-are-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Ensure the slider navigation dots are visible */
.slick-dots {
    bottom: 20%;
    z-index: 1;
}

.slick-dots li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ABABAB;
    transition: all 0.3s ease;
}

.slick-dots li.slick-active {
    width: 25px;
    height: 10px;
    border-radius: 10px;
    background-color: #5991C4;
}

.slick-dots li button:before {
    content: unset;
}

.slick-dots li.slick-active button:before {
    color: white;
}

.service-card {
    padding: 1.5rem;
    overflow: hidden;
    height: 290px;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: transparent;
    transition: all 0.3s ease;
}

.player .vp-video-wrapper {
    border-radius: 12px;
}

.service-card:hover {
    background: #00386C;
}

.service-card svg {
    transition: all 0.3s ease;
}

.service-card h3 {
    margin-bottom: 0.5rem;
    transform: translateY(1rem);
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    transform: translateY(0rem);
}

.service-card p {
    transform: translateY(1rem);
    transition: all 0.3s ease;
}

.service-card:hover p {
    transform: translateY(0rem);
}

.service-card a {
    opacity: 0;
    transform: translateY(1rem);
    padding-bottom: 0.3rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover a {
    opacity: 1;
    transform: translateY(0);
}

.service-card a:hover {
    border-bottom: 1px solid #FAFAFA;
}

.slick-slide {
    margin: 0 10px;
}

.hero-slider .slick-slide {
    margin: 0 0;
}

.our-sevices {
    display: none;
}



.social-icon {
    background-color: transparent;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #3C73A7;
}

.social-icon svg path {
    transition: all 0.3s ease;
}

.social-icon:hover svg path {
    /* fill: #fff; */
    stroke: #fff;
}

/* who are we */

.our-message-container {
    background: linear-gradient(270deg, #61C2EE 0%, rgba(97, 194, 238, 0) 79.12%);
    padding: 2px;
    border-radius: 150px;
    overflow: hidden;
}

.our-message-content {
    background-color: #FAFAFA;
    border-radius: 150px;
    padding: 2rem 3rem;
    height: 100%;
    width: 100%;
}

.our-vision-container {
    background: linear-gradient(90deg, #61C2EE 0%, rgba(97, 194, 238, 0) 79.12%);
    padding: 2px;
    border-radius: 150px;
    overflow: hidden;
}

.our-vision-content {
    background-color: #FAFAFA;
    border-radius: 150px;
    padding: 2rem 3rem;
    height: 100%;
    width: 100%;
}

.our-goals {
    display: none;
}

.goal-card {
    padding: 1.5rem;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 2rem;
    background-color: transparent;
    transition: all 0.3s ease;
}


.goal-card:hover {
    background-color: #00386C;
}

.goal-card h3 {
    margin-bottom: 0.5rem;
}

.our-core-values {
    display: none;
}

.our-core-values-card {
    border: 1px solid #BBDAF7;
    border-radius: 12px;
    padding: 2rem;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0px 21.6px 45px 0px #0000000D;
}

.our-core-values-card span {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #DFF3FC66;
    margin-bottom: 1.5rem;
    border-radius: 50%;
}

.our-core-values-card h3 {
    color: #00386C;
    font-weight: 700;
    font-size: 20px;
    line-height: 160%;
    margin-bottom: 0.7rem;
}

.our-core-values-card p {
    color: #5C5C5C;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
}


.counters {
    background-image: url(../images/counters\ bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3rem 0;
    height: 200px;
}

.counter-item {
    padding: 1rem;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0px 21.6px 45px 0px #0000000D;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.counter-item h6 {
    font-size: 48px;
    font-weight: 700;
    color: #00386C;
    text-align: center;
}

.counter-item p {
    font-size: 20px;
    font-weight: 400;
    color: #5C5C5C;
    text-align: center;
}


.team-work-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-work-item img {
    width: 100%;
    border-radius: 50%;
    border: 1px solid transparent;
    box-shadow: 0px 21.6px 45px 0px #0000000D;
    margin-bottom: 1.3rem;
    transition: all 0.3s ease !important;
}

.team-work-item:hover img {
    border: 1px solid #3C7F9D;
}

.team-work-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: #5991C4;
    margin-bottom: 0.7rem;
}

.team-work-item p {
    font-size: 18px;
    font-weight: 400;
    color: #00162B;
    text-align: center;
}



/* contact us */

.left-side {
    padding: 1px;
    border-radius: 12px;
    background: linear-gradient(270deg, #2194F3 0%, #1157C8 100%);
    overflow: hidden;

}


/* templates */


.template1-card{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 12px;
}

#part1-btn.active, #part2-btn.active, #part3-btn.active
, #part4-btn.active, #part5-btn.active, #part6-btn.active{
    background: #00386C;
    color: white;
}

.collapse-item{
    padding: 1.5rem;
}
.collapse-item.active{
    border-radius: 12px;
    border: 1px solid #00386C;
    box-shadow: 0px 21.6px 45px 0px #0000000D;
}
.collapse-item .fa-minus{
    display: none;
}
.collapse-item.active .fa-plus{
    display: none;
}
.collapse-item.active .fa-minus{
    display: inline-block;
}


.tistmonial-item{
    background-color: #fefefe;
}



.card-content * {
    display: -webkit-box;
    -webkit-line-clamp: 2;     /* Limit to 2 lines */
    line-clamp: 2;            /* Standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}



@media (max-width: 768px) {

    .hero-slider {
        height: 75vh !important;
    }

    .who-we-are-hero {
        height: 75vh !important;
    }

    .slick-dots {
        bottom: 10%;
    }

    .hero-slider,
    .hero-slider .slick-list,
    .hero-slider .slick-track,
    .hero-slider .slick-slide,
    .hero-slider .slick-slide>div {
        height: 75vh !important;
    }

    .our-sevices {
        display: block;
    }

    .our-goals {
        display: block;
    }

    .our-core-values {
        display: block;
    }

    .service-card {
        background: #00386C;
        height: 310px;
    }

    .our-sevices .slick-dots {
        bottom: -20%;
    }

    .service-card h3 {
        transform: translateY(0);
    }

    .service-card p {
        transform: translateY(0);
    }

    .service-card a {
        opacity: 1;
        transform: translateY(0);
        padding-bottom: 0.3rem;
        border-bottom: 1px solid #FAFAFA;
    }

    .our-editions .slick-dots {
        bottom: -10%;
    }


    .courses .slick-dots {
        bottom: -10%;
    }


    .news-events .slick-dots {
        bottom: -10%;
    }

    .our-blogs .slick-dots {
        bottom: -10%;
    }

    .our-goals .slick-dots {
        bottom: -10%;
    }

    .our-core-values .slick-dots {
        bottom: -10%;
    }

    .counter-item h6 {
        font-size: 32px;
    }

    .counter-item p {
        font-size: 16px;
    }

    .left-side {
        padding: 1px;
    }

}