
.image-slider-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}


.slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slider-slide.active {
  position: relative;
  opacity: 1;
}


.slide-image {
  min-height: 300px;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  background: rgba(255,255,255,0.95);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-content h3 {
  color:rgb(35, 93, 217);
  margin-bottom: 20px;
}

.slide-content p {
  color: #555;
  margin-bottom: 30px;
}


.slide-btn {
  background-color:rgb(35, 80, 217);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  align-self: flex-start;
  text-decoration: none;
}

.slide-btn:hover {
  background-color:rgb(28, 56, 183);
  color: white;
}


.slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 10;
  transform: translateY(-50%);
  pointer-events: none;
  padding: 0 15px;
}

.slider-prev, .slider-next {
  background: rgba(255,255,255,0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  color:rgb(38, 35, 217);
  font-size: 20px;
  pointer-events: auto;
}

.slider-prev:hover, .slider-next:hover {
  background:rgb(35, 38, 217);
  color: white;
}


.slider-indicators {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s;
}

.indicator.active {
  background:rgb(35, 56, 217);
  transform: scale(1.2);
}

/* Mobile Styles */
@media (max-width: 767.98px) {
  .slide-image {
    height: 250px;
  }
  
  .slide-content {
    padding: 25px !important;
  }
  
  .slider-prev, .slider-next {
    width: 40px;
    height: 40px;
  }
}

.hero {
    text-align: center;
    padding: 80px 0;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.2rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}
h2 {
    text-align: center;
    margin-bottom: 20px;
}
.programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.program {
    cursor: pointer; /* Make it clear the cards are clickable */
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
.program:hover, .program.clicked {
    transform: translateY(-5px);
}
.program img {
    width: 100%;
    border-radius: 8px;
}
.program h3 {
    margin: 15px 0 10px;
}
.program p {
    color: #555;
}
    .program.clicked {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
    .program.clicked {
    transform: scale(1.2);
    transition: transform 0.3s ease-in-out;
}
.program:not(.clicked) {
    transition: transform 0.3s ease-in-out;
}

.program-btn {
    display: inline-block;
    background-color: #d9232d;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s, transform 0.3s;
}

.program-btn:hover {
    background-color: #a71d21;
    transform: translateY(-3px);
}

 .pagination a, .pagination span {
        margin: 5px;
        padding: 8px 12px;
        background-color: #f1f1f1;
        color: #333;
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s;
    }

    .pagination a:hover, .pagination .active {
        background-color: #007bff;
        color: white;
    }

    .blog-image {
        transition: transform 0.3s ease;
    }

    .blog-image:hover {
        transform: scale(1.05);
    }

  


footer {
    background-color: #222;
    color: white;
    padding: 40px 0;
}

footer h4 {
    border-bottom: 2px solid #d9232d;
    display: inline-block;
    padding-bottom: 5px;
}

footer a {
    color: white;
}

footer a:hover {
    text-decoration: underline;
    color: #d9232d;
}

.footer-bottom {
    background-color: #333;
    padding: 10px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}







