/* Section for MoUs */
.mou-section {
    background: url('/wp-content/uploads/2025/02/bg2.png') no-repeat center center;
    text-align: center;
    padding: 20px;
    width: 100%;
    height: 450px;
    margin-bottom: 250px !important;   
}

/* Header Styles */
.mou-header .mou-title {
    font-size: 55px;
    font-weight: 800;
    font-family: 'Urbanist';
    color: #fff;
}

.mou-header .mou-subtitle {
    font-size: 28px;
    font-weight: 500;
    font-family: 'Acme';
    color: #ce171f;
    padding-top: 40px;
}

/* Card Content */
.kd-blog-1-card .card-content {
    padding: 30px 10px !important;
     text-align: left;
}


/* Hover Effect on Title */
.card-title.kd-heading-1.kd-font-900:hover {
    color: #ce171f !important;
}

/* MoU Title Styling */
.card-title .kd-heading-1 .kd-font-900 {
    padding-top: 20px !important;
    padding-bottom: 10px !important;
    font-size: 24px !important;
    text-align: justify !important; 
    font-weight: 800 !important;
}

/* Equal Card Height */
.kd-blog-1-card {
    height: 100% !important;
}

.kd-blog-1-card .card-disc {
    font-weight: 500;
    font-size: 19px;
    line-height: 27px;
    color: #797a84;
    letter-spacing: 1px !important;
    text-align: justify !important;
}

/* Slider Wrapper */
.mou-slider-wrapper {
    position: relative;
    overflow: hidden;
}

/* Slider Container */
.mou-slider {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.3s ease;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* Each Slide */
.mou-slide {
    flex: 0 0 33.33%;
    min-width: 33.33%;
/*     padding: 10px; */
    scroll-snap-align: start;
     display: flex;
    flex-direction: column;
}

/* Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.prev-slide, .next-slide {
    background-color: #ce171f;
    color: #fff;
    padding: 12px 16px;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 99;
}

.prev-slide:hover, .next-slide:hover {
    background-color: #ce171f;
}

/* Upload/Remove Button Styles */
.upload-mou-photo, .remove-mou-photo {
    background-color: #ce171f;
    color: white;
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 16px;
}

.upload-mou-photo:hover, .remove-mou-photo:hover {
    background-color: #a1161a;
}

/* Image Preview */
.mou-photo-preview {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
}

/* MOBILE RESPONSIVE */
@media screen and (max-width: 767px) {
    .mou-section {
        height: auto;
        padding: 40px 20px;
        margin-bottom: 50px !important;
        background-size: cover;
    }

    .mou-header .mou-title {
        font-size: 40px;
    }

    .mou-header .mou-subtitle {
        font-size: 24px;
        padding-top: 20px;
    }

    .card-title .kd-heading-1 .kd-font-900 {
        font-size: 18px !important;
        padding-top: 10px !important;
        padding-bottom: 5px !important;
    }
  .kd-blog-1-card {
    height: 100%;
  }
    .kd-blog-1-card .card-disc {
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0.5px !important;
    }

    .mou-slider {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mou-slide {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 10px 10px;
        scroll-snap-align: start;
        display: flex;
    flex-direction: column;
    }
    .mou-slider {
     scrollbar-width: none; /* Firefox */
	}

   .mou-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
   }

   .slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 10;
  }

   .prev-slide,
  .next-slide {
    font-size: 18px;
    background-color:#ce171f; /* or whatever you want */
    border-radius: 50%;
    color: #fff;
    padding: 10px;
    cursor: pointer;
  }

    .upload-mou-photo, .remove-mou-photo {
        font-size: 14px;
        padding: 6px 16px;
    }
}
.mou-photo{
border-radius:10px !important;
}
