.flight-training{
  box-shadow: 0 10px 20px 8px rgba(0, 0, 0, 0.15);
  margin-top: 0;
  padding-top: 0;
}
.people:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.caption {
  position: absolute;
  width: 100%;
  text-align: left;
  color: #fff;
  font-size: 25px;
  }

  .unbox-image{
    height:clamp(250px,80vw,320px);
  }
  @media(max-width:425px){
    .unbox-image{
      width:100%;
      height: auto;
    }
  }
  .foreground {
  position: relative;
  z-index: 2;
  background-color: white;
  color: #777;
  text-align: center;
  padding: 50px 80px;
  text-align: justify;
  }
.news-section, .news-section-alt {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
@media(min-width:2000px){
  .news-card, .news-card-alt {
    width: 620px !important;
    }
}
.news-card, .news-card-alt {
  background: #ffffff;
  border-radius: 30px;
  border: 2px solid #d4d2d2; /* Change this color if needed */
  padding: 20px;
  width: 310px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  }
.news-card:hover, .news-card-alt:hover {
  transform: translateY(-5px);
}

.news-card video, .news-card-alt video {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  object-fit: cover;
  border-color: #0077b5;
}


.news-card h3, .news-card-alt h3 {
  margin: 15px 0 5px;
  font-size:clamp(16px, 5vw, 23px);
  color: #000;
  text-align: left;
}
.news-card p, .news-card-alt p {
  font-size:clamp(16px, 5vw, 23px);
}

/* Fullscreen Video Container Styles */
.fullscreen-video-container {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.fullscreen-video-container.active {
  display: flex;
}

#fullscreen-video {
  max-width: 100%;
  max-height: 95%;
  width: auto;
  height: auto;
}

/* Modal Pop-Up Animation */
@keyframes modalPopUp {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Modal Pop-Out Animation */
@keyframes modalPopOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Responsive styles for the video modal content */
@media (max-width: 768px) {
  .video-modal-content {
    width: 90%;
    height: 85%;
  }
}

@media (max-width: 480px) {
  .video-modal-content {
    width: 8 0%;
    height: 75%;
  }
}

.exit-fullscreen-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease, background-color 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 0;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.exit-fullscreen-btn:hover {
  color: black;
  background-color: rgb(255,153,0); /* Orange color to match the site's theme */
  border-color: rgb(255,153,0);
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255, 153, 0, 0.7);
}

/* Responsive styles for the exit button */
@media (max-width: 768px) {
  .exit-fullscreen-btn {
    top: 15px;
    right: 15px;
    font-size: 24px;
    width: 45px;
    height: 45px;
    z-index: 10000;
  }
}

@media (max-width: 480px) {
  .exit-fullscreen-btn {
    top: 10px;
    right: 10px;
    font-size: 22px;
    width: 40px;
    height: 40px;
    z-index: 10000;
  }
}

.video-container {
  z-index: 21;
  
  height:60vw;
}
.video-container-wrapper {
  margin: 0 auto;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

#modalVideo {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 0;
  object-fit: contain; /* Ensures video maintains aspect ratio */
  z-index: 1001; /* Ensure video is above background but below close button */
  margin: 0 auto; /* Center the video */
}

#modalTitle {
  font-size: clamp(16px, 5vw, 23px);
  text-align: center;
  margin-top: 15px;
  color: white;
}

#modalDescription {
  font-size: clamp(14px, 4vw, 18px);
  text-align: center;
  margin: 10px auto;
  max-width: 800px;
  color: white;
}
.image-container img {
  transition: transform 0.3s ease-in-out; /* Smooth transition */
}

.image-container:hover img {
  transform: scale(1.1); /* Slight zoom effect */
}
.stats-container {
  width: clamp(0px,100%,840px);
  margin: 20px auto;
  border: 3px solid white;
  border-radius: 100px 100px 0px 0px;
  color: white;
  transition: border-radius 0.3s ease-in-out;
  overflow: hidden;
  
}

.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stats-col {
  flex: 1;
  text-align: center;
  padding: 10px;
}

.stats-col:first-child {
  text-align: right;
  color: white;
}

.stats-col:last-child {
  text-align: left;
}

.specs-col {
  flex: 0 0 auto;
  padding: 5px 15px;
}

.stats-label {
  font-weight: 100;
  font-size: clamp(0.8rem, 1.8vw, 1.8rem);
  white-space: nowrap;
  overflow: hidden;
  color: white;
}

.stats-value {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  color: white;
}

.stats-unit {
  font-size: clamp(0.9rem, 2vw, 1.5rem);
  color: white;
}

@media (max-width: 500px) {
  .stats-container {
    border-radius: 40px 40px 0px 0px;
    width: 95%;
  }

  .stats-col {
    padding: 5px;
  }

  .specs-col {
    padding: 5px 10px;
  }
}

.specs-button {
  text-decoration: none;
  background-color: rgb(255,153,0);
  color: black;
  border: 3px solid white;
  border-radius: 30px;
  cursor: pointer;
  margin: auto;
  transition: transform 0.1s ease-in-out;
  width: 110px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.specs-button a {
  font-size: 18px;
  line-height: 30px;
  color: inherit;
  text-decoration: none;
  display: block;
  padding: 0 10px;
  text-align: center;
  white-space: nowrap;
}

.specs-button:hover {
  transform: scale(1.1);
}

.specs-button a:hover {
  color: inherit;
}

@media (max-width: 500px) {
  .specs-button {
    width: 90px;
  }

  .specs-button a {
    font-size: 16px;
    line-height: 26px;
  }
}
#badassbutton{
  transition: transform 0.1s ease-in-out;
}
#badassbutton:hover{
transform: scale(1.1);
}
.collapse {
  display: none;
  transition: height 0.35s ease;
  overflow: hidden;
}

.collapse.show {
  display: block;
}

.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}
*{
  font-family: 'apple-system-ui', 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol';
  text-decoration-thickness: 100;
}

.details{
  font-family: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol';
  text-decoration-thickness: 100;
}

.parallax {
  /* Background image */
  background-image: url('../images/aluminum.jpg'); /* Replace with actual image */

  /* Parallax magic */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  /* Height of parallax section */
  display: flex;
  justify-content: center;
  align-items: center;
}

.parallax-text {
  color: white !important;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.mm1  .tito {
  color: white;
}
.badger-description{
  padding:clamp(0px,5%,20px);
}
#badgerflight{
  padding: 60px 20px; 
}
@media (min-width: 1024px) {
  #boxcontent{
    max-width: 500px;
  }
}
@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll;
  }
}
.bodystart, .bodystart-alt {
  padding:48px;
}
@media (max-width: 425px) {
  .bodystart, .bodystart-alt {
    padding:20px;
  }
  .news-card, .news-card-alt {
    width: 100% !important;
    }
    .badger-description{
      padding:0px
    }
    .hero-section{
      z-index: 4;
    }
    .pause-screen {
      z-index: 9 !important;
    }
    #badgerflight{
      padding:60px 0px;
    }

    .video-controls {
    position: absolute;
    bottom: 25px !important;
    left: 50% !important;
    top: auto !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    display: flex;
    gap: 15px;
    background-color: transparent;
    /* backdrop-filter: blur(5px); */
    padding: 10px 20px;
    border-radius: 30px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); */
    transition: all 0.3s ease;
}

.pause-screen {
    z-index: 5;
    position: absolute;
    /* bottom: 10px; */
    background-color: transparent;
    border: none;
    width: 100%;
    height: 600px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}


.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    object-fit: fill;
    z-index: -1;
    pointer-events: none;
    border-radius: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
}
.content-section {
    font-size: 20px;
  }

  body.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
  }

  body.fade-out {
      opacity: 0;
      transition: opacity 0.5s ease-in-out;
  }

  body {
    /* background:
        url("../images/ourmaskhelps-logo.png") center center no-repeat,
        linear-gradient(45deg, rgb(0, 0, 0), rgb(0, 0, 0)); */
    overflow-x: hidden;
    background-color: #000;
    background-size: 400px, cover;
    background-attachment: fixed;
    transition: opacity 0.5s ease-in-out;
    z-index: -2;
}

/* Hero Section Positioning */
/* .hero-section {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 20;
  max-width: 800px;
  width: 90%;
  padding: 0 20px;
} */

.hero-title {
  font-family: MistralD, cursive;
  color: rgb(255,153,0);
  opacity: 0;
  transform: translateY(20px); /* Start slightly lower */
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.hero-description {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  color: #ffffff;
}

.video-controls {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  background-color: transparent;
  /* backdrop-filter: blur(5px); */
  padding: 5px 10px;
  border-radius: 30px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); */
  transition: all 0.3s ease;
}

.video-controls:hover {
  background-color: transparent;
}

.mute-button, .pause-button, .fullscreen-button, .backward-button, .forward-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  overflow: hidden;
}

.mute-button:hover, .pause-button:hover, .fullscreen-button:hover, .backward-button:hover, .forward-button:hover {
  background-color: rgba(255, 153, 0, 0.8); /* Orange color to match site theme */
  transform: scale(1.05);
}

.mute-button svg, .pause-button svg, .fullscreen-button svg, .backward-button svg, .forward-button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.mute-button:hover svg, .pause-button:hover svg, .fullscreen-button:hover svg, .backward-button:hover svg, .forward-button:hover svg {
  transform: scale(1.1);
}

/* Mobile-specific fullscreen button enhancements */
@media (max-width: 768px) {
  .fullscreen-button {
    width: 30px !important;
    height: 30px !important;
    /* Larger touch target for mobile */
  }

  .fullscreen-button svg {
    width: 20px !important;
    height: 20px !important;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .mute-button, .pause-button, .fullscreen-button {
    width: 30px;
    height: 30px;
    /* Larger touch targets for touch devices */
  }

  .mute-button svg, .pause-button svg, .fullscreen-button svg {
    width: 22px;
    height: 22px;
  }

  /* Remove hover effects on touch devices */
  .mute-button:hover, .pause-button:hover, .fullscreen-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: none;
  }

  /* Add active state for touch feedback */
  .mute-button:active, .pause-button:active, .fullscreen-button:active {
    background-color: rgba(255, 153, 0, 0.8);
    transform: scale(0.95);
  }
}

/* Fullscreen mode adjustments */
.video-container:-webkit-full-screen {
  background-color: #000;
}

.video-container:-moz-full-screen {
  background-color: #000;
}

.video-container:fullscreen {
  background-color: #000;
}

/* Pseudo-fullscreen styles */
.pseudo-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999 !important;
  background-color: #000 !important;
}

.pseudo-fullscreen .video-bg {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Portrait mode video adjustments */
@media screen and (orientation: portrait) {
  .pseudo-fullscreen .video-bg {
    /* Ensure landscape videos maintain aspect ratio in portrait mode */
    max-width: 100vw !important;
    max-height: 100vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

/* Landscape mode optimizations */
@media screen and (orientation: landscape) {
  .pseudo-fullscreen .video-bg {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: contain !important;
  }

  /* Ensure fullscreen video fills properly in landscape */
  .video-container:-webkit-full-screen .video-bg,
  .video-container:fullscreen .video-bg {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: contain !important;
  }
}

/* Force landscape orientation styles for mobile fullscreen */
@media screen and (max-width: 768px) {
  .video-container:-webkit-full-screen,
  .video-container:fullscreen,
  .pseudo-fullscreen {
    /* Ensure proper display in forced landscape mode */
    width: 100vw !important;
    height: 100vh !important;
  }

  .video-container:-webkit-full-screen .video-bg,
  .video-container:fullscreen .video-bg,
  .pseudo-fullscreen .video-bg {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    /* Remove any transforms that might interfere */
    transform: none !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
  }
}

/* Orientation message animation */
@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  15% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  85% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
}

/* Mobile fullscreen video controls positioning */
@media (max-width: 480px) {
  .video-container .video-controls {
    bottom: 30px !important;
    top: auto !important;
    /* Move controls higher on mobile to avoid gesture areas */
  }

  /* Ensure controls are positioned below video in fullscreen on mobile */
  .video-container:-webkit-full-screen .video-controls,
  .video-container:fullscreen .video-controls {
    position: fixed !important;
    bottom: 40px !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 999999 !important;
  }
}

/* iPhone-specific video controls positioning */
@media only screen and (max-device-width: 896px) and (-webkit-min-device-pixel-ratio: 2) {
  /* iPhone detection - all iPhone models */
  .video-container .video-controls {
    position: absolute !important;
    bottom: 10px !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 999999 !important;
  }

  /* iPhone fullscreen video controls - always below video */
  .video-container:-webkit-full-screen .video-controls,
  .video-container:fullscreen .video-controls {
    position: fixed !important;
    bottom: 60px !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 999999 !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
  }
}

/* iOS Safari specific adjustments (all iOS devices) */
@supports (-webkit-touch-callout: none) {
  .video-container .video-controls {
    bottom: 40px !important;
    top: auto !important;
    /* Account for iOS home indicator */
  }
}

.pause-screen {
  z-index: 5;
  position: absolute;
  bottom: 10px;
  background-color: transparent;
  border: none;
  width: 100%;
  height: 100%;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

.pause-button:hover {
  background-color: rgba(0, 0, 0, 0.9);
}
/* Blinking color-changing animation for Reserve Yours Now button */
@keyframes reserveButtonBlink {
  0% {
    background-color: #ff9900;
    color: black;
    box-shadow: 0 0 5px rgba(255, 153, 0, 0.5);
  }
  50% {
    background-color: #ff6600;
    color: white;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.8);
  }
  100% {
    background-color: #ff9900;
    color: black;
    box-shadow: 0 0 5px rgba(255, 153, 0, 0.5);
  }
}

.badass-hero-cta {
   display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  background-color: #ff9900;
  color: black;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  min-width: 200px;
  position: relative;
  overflow: hidden;
  animation: reserveButtonBlink 2s infinite ease-in-out;
}

.badass-hero-cta:hover {
  animation-play-state: paused;
  background-color: #ffaa00 !important;
  color: black !important;
  box-shadow: 0 0 20px rgba(255, 170, 0, 0.9) !important;
  transform: scale(1.05);
  text-decoration: none;
}

/* Responsive styles for Reserve button */
@media (max-width: 768px) {
  .hero-section {
    width: 95%;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    width: 95%;
    padding: 0 10px;
  }

  .badass-hero-cta {
    padding: 12px 24px;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
  }
}

@media (max-width: 320px) {
  .badass-hero-cta {
    padding: 10px 20px;
    font-size: 0.85rem;
    letter-spacing: 0.1px;
  }
}

/* Large screen responsive styles for Reserve button */
@media (min-width: 2560px) {
  .badass-hero-cta {
    font-size: 20px !important;
    padding: 6px 12px !important;
  }
}

@media (min-width:1441px){
  .card-4k{
    margin: auto !important;
    max-width: 95% !important;
  }
  .img-4k{
    height: auto !important;
    width: 100% !important;
    max-width: 100vw !important;
    max-height: 100vw !important;
  }
  .img-front-4k{
    height: 35vw !important;
    width: auto !important;
    max-width: 100vw !important;
  }
  .text-4k{
    font-size: clamp(24px, 2vw, 40px) !important;
  }
}

.helicopter-image{
  width: 100%;
  height: auto;
}

/* Flip card */
.flip-card-wrapper {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

.flip-card {
  perspective: 1000px;
  display: inline-block;
  width: 100%;
  min-width: 150px; /* optional: how small it can get */
}

.flip-card-inner {
  display: grid;
  grid-template-areas: "front";
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateX(180deg);
}

.flip-card-front,
.flip-card-back {
  display: inline-block;
  grid-area: front;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  width: 100%;
}
.flip-card-front {
  transform: rotateX(0deg);
  box-shadow: 0 0 10px 8px rgba(0, 0, 0, 0.15);
}
.flip-card-back {
  transform: rotateX(180deg);
  box-shadow: 0 0 20px 8px rgba(0, 0, 0, 0.15);

}

#boxflipCard {
  transition: height 0.5s ease-in-out;
}
 .flip-card-front{
  transition: height 0.5s ease-in-out;
}

.flight {
  color: black;
  text-align: center;
}

/* News slider with peek of adjacent slides and gaps between slides */
.news-slider-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background-color: #fff;
  padding-bottom: 30px;
  position: relative;
}

.news-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 600px; /* Increased from 500px to 600px */
}

.news-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 80%; /* Center slide takes 80% width */
  height: 100%;
  position: relative;
}

.news-slide {
  flex: 0 0 calc(100% - 20px); /* Subtract gap width from slide width */
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  margin: 0 10px; /* Add margin on both sides for gap */
  border-radius: 4px; /* Optional: rounded corners */
  height: 100%; /* Ensure slide takes full height */
}

.news-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-slide-content {
  position: absolute;
  top: 50px;
  left: 0 !important;
  right: 0;
  text-align: center;
  color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  padding: 0 20px;
  margin: 0 auto;
  max-width: 80%;
}

.news-slide-content h2 {
  font-size: clamp(20px, 2.5vw, 32px);
  margin-bottom: 10px;
  font-weight: bold;
}

.news-slide-content p {
  font-size: clamp(15px, 2vw, 18px);
  margin-bottom: 20px;
}

.news-learn-more {
  display: inline-block;
  color: white;
  text-decoration: none;
  border: 1px solid white;
  padding: 8px 16px;
  font-size: 14px;
  transition: all 0.3s ease;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .news-slide-content {
    top: 30px;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .news-slide-content {
    top: 20px;
  }
}

.news-learn-more:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.news-prev-btn, .news-next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.5);
  border: none;
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #333;
  z-index: 10;
  transition: background 0.3s ease;
  border-radius: 50%;
}

.news-prev-btn {
  left: 15%;
}

.news-next-btn {
  right: 15%;
}

.news-prev-btn:hover, .news-next-btn:hover {
  background: rgba(255, 255, 255, 0.8);
}

.news-slider-dots-container {
  display: flex;
  justify-content: center;
  padding: 15px 0;
}

.news-slider-dots {
  display: flex;
  gap: 8px;
}

.news-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.news-dot.active {
  background-color: #333;
}

@media (max-width: 1200px) {
  .news-prev-btn {
    left: 10%;
  }

  .news-next-btn {
    right: 10%;
  }
}

@media (max-width: 768px) {
  .news-prev-btn {
    left: 5%;
  }

  .news-next-btn {
    right: 5%;
  }
}

@media (max-width: 768px) {
  .news-slider-wrapper {
    height: 450px; /* Increased from 350px to 450px */
  }

  .news-slider {
    width: 90%;
  }

  .news-slide-content {
    left: 20px;
    bottom: 30px;
    max-width: 80%;
  }

  .news-slide-content h2 {
    font-size: 24px;
    font-weight: bold;
  }

  .news-slide-content p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .news-slider-wrapper {
    height: 300px; /* Increased from 250px to 300px */
  }

  .news-slide-content h2 {
    font-size: 20px;
  }
}