/********** Template CSS **********/
:root {
    --primary: #FB5B21;
    --secondary: #BDBDBF;
    --light: #F4F5F8;
    --dark: #222429;
}

[class^="flaticon-"]:before,
[class*=" flaticon-"]:before,
[class^="flaticon-"]:after,
[class*=" flaticon-"]:after {
    font-size: inherit;
    margin-left: 0;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Almarai', sans-serif;
    text-transform: uppercase;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
}

.navbar-dark .navbar-nav .nav-link {
    font-family: 'Almarai', sans-serif;
    margin-right: 30px;
    padding: 40px 0;
    color: var(--light);
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #FFD634;
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 36, 41, .8);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.bg-hero {
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.bg-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.programe::after {
    position :absolute;
    content: "";
    width: 100%;
    height: calc(100% - 45px);
    top: 135px;
    left: 0;
    background: var(--dark);
    z-index: -1;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.2);
}

.team-item .team-overlay {
    position: absolute;
    top: 50%;
    right: 50%;
    bottom: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 36, 41, .9);
    transition: .5s;
    opacity: 0;
}

.team-item:hover .team-overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.2);
}

@media (min-width: 991.98px) {
    .credit {
        background: var(--primary);
    }
}


.btn-primary{
    background-color: #FFD634;
    border-color: #FFD634;
    color: black;
}


.btn-primary:hover {
    background-color: #f9f164;  
    border-color: #f9f164;
 }


@font-face {
    font-family: 'Almarai';
    src: url('fonts/Almarai-Bold.ttf') format('truetype');
  }
  
  body {
    font-family: 'Almarai', sans-serif;
  }

  h1, h2, h3, h4, h5{
    font-family: 'Almarai', sans-serif;
}

p {
  font-family:  'Almarai', sans-serif;
}

.mb-4{
    text-align: justify;
}

.tab-content{
    text-align: justify;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    /* border-bottom: 2px solid #ddd; */
}

.view-all {
    text-decoration: none;
    color: #2E3193;
    font-size: 16px;
    font-weight: normal;
}

.view-all:hover {
    text-decoration: underline;
}

.fixed-height {
    height: 400px; /* Set your desired height */
    object-fit: cover; /* Ensures the image fills the height without distortion */
    width: 100%; /* Ensures responsiveness */
}


.nav-pills .nav-link.active{
    color: #000;
    background-color: #FFD634;
}

.nav-link:hover, .nav-link:focus {
    color: #d9b31c;
}


.nav-link {
    display: block;
    padding: .5rem 1rem;
    color: #FFD634;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.text-primary {
    color: #FFD634 !important;
}

.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link.active {
    color: #FFD634;
}

a {
    color: #2E3193;
    text-decoration: none;
}

.bg-primary {
    background-color: #FFD634 !important;
}


.team-section {
    text-align: center;
    padding: 50px 20px;
}

.team-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.team-member {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #FFD634;
}

.team-member h3 {
    margin: 15px 0 5px;
    font-size: 20px;
    color: #333;
}

.team-member p {
    font-size: 16px;
    color: #666;
}

.page-item.active .page-link{
    background-color: #FFD634;  
    border-color: #FFD634;
    color: #000;
}

.page-link:hover{
    z-index: 2;
    color: #FFD634;
    background-color: #e9ecef;
    border-color: #dee2e6;
}


.page-link{
    color: #000;
}

.text-ellipsis {
    white-space: nowrap;       /* Prevents text from wrapping */
    overflow: hidden;          /* Hides overflow content */
    text-overflow: ellipsis;   /* Adds "..." when text overflows */
    width: 1000px;              /* Adjust width as needed */
    display: block;    
    text-align: center;        /* Works with block elements */
}

.text-body{
    text-align: justify;
}


.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){
    margin-right: -1px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}


#contact-text{
    color: #FFFFFF;
}

.nav{
    padding-left: 0;
    padding-right: 0;
}

.service-text{
    text-align: justify;
}


.bg-hero1{
    background: linear-gradient(rgba(34, 36, 41, .8), rgba(34, 36, 41, .8)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.bg-hero2{
    background: linear-gradient(rgba(34, 36, 41, .8), rgba(34, 36, 41, .8)), url(../img/bg-hero2.jpg) top center no-repeat;
    background-size: cover;
}

.bg-hero-c{
    /* background: #FFD634; */
    background: linear-gradient(rgba(34, 36, 41, .8), rgba(34, 36, 41, .8)), url(../img/contactUs.jpg) top center no-repeat;
    background-size: cover;
}

/* /* Download Files  */

 

.container {
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
h2 {
    text-align: center;
    color: #333;
}
.file-list {
    list-style: none;
    padding: 0;
}
.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.5s ease-in forwards;
}
.file-item:nth-child(odd) {
    animation-delay: 0.1s;
}
.file-item:nth-child(even) {
    animation-delay: 0.2s;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}
.download-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s;
}
.download-btn:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}


/* Sponsors  */

.slider-container {
    width: 100%;
    height: 12rem;
    overflow: hidden;
    position: relative;
    background-color: rgb(236, 234, 234);
    box-sizing: 0 .8rem  1.4rem -.2rem #0001;
    display: flex;
    align-items: center;
    /* padding: 20px 0; */
}

.social-icon {
    width: 24px;  /* Adjust size as needed */
    height: 24px;
    object-fit: cover;
    align-content: center;
    border-radius: 50%; /* Makes the image circular */
}

/* Optional: Fading effect on both sides */
.slider-container::before,
.slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.slider-container::before {
    left: 0;
    background: linear-gradient(to right, rgb(236, 234, 234), rgba(255, 255, 255, 0));
}

.slider-container::after {
    right: 0;
    background: linear-gradient(to left, rgb(236, 234, 234), rgba(255, 255, 255, 0));
}

/* Logo Slider */
.logo-slider {
    display: flex;
    width: max-content;
    animation: slide 10s linear infinite;
    will-change: transform;
}

.logo-item {
    flex: 0 0 auto;
    padding: 10px 20px;
}

.logo-item img {
    width: 100px;
    height: auto;
    object-fit: contain;
}

@keyframes slide {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}


