* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.3);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 4s;
  animation-name: fade;
  animation-duration: 4s;

}
@-webkit-keyframes fade {
    0% {opacity: 1;}
            100% {opacity: 0.8;}
}

@keyframes fade {
    60% {opacity: 1;}
            100% {opacity: 0.8;}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

.news-slide1 .mySlides img{
    border-radius: 24px;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    filter: brightness(1) contrast(1);
}

.news-slide1 .mySlides {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.news-slide1:hover .mySlides {
    box-shadow: 0 16px 50px rgba(0, 102, 204, 0.2), 0 6px 20px rgba(0, 0, 0, 0.1);
}

.news-slide1:hover .mySlides img {
    transform: scale(1.05);
    filter: brightness(1.05) contrast(1.05);
}

.news-slide2 .mySlides-small img{
    border-radius: 24px;
    height: 280px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    filter: brightness(1) contrast(1);
}

.news-slide2 .mySlides-small{
    height: 280px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.news-slide2:hover .mySlides-small {
    box-shadow: 0 16px 50px rgba(0, 102, 204, 0.2), 0 6px 20px rgba(0, 0, 0, 0.1);
}

.news-slide2:hover .mySlides-small img {
    transform: scale(1.05);
    filter: brightness(1.05) contrast(1.05);
}

/* Responsive slideshow */
@media (max-width: 991px) {
    .news-slide2 .mySlides-small,
    .news-slide2 .mySlides-small img {
        height: 240px;
    }
}

@media (max-width: 767px) {
    .news-slide2 .mySlides-small,
    .news-slide2 .mySlides-small img {
        height: 200px;
    }
    
    .blog-slideshow-section {
        margin-bottom: 40px;
    }
    
    .news-slide1 .mySlides,
    .news-slide2 .mySlides-small {
        border-radius: 20px;
    }
    
    .news-slide1 .mySlides img,
    .news-slide2 .mySlides-small img {
        border-radius: 20px;
    }
}
