/* ====================================================
    Responsive
==================================================== */
/* Desktop 1200 - up */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

/* Normal desktop :992px. (Laptop 14") */
@media (min-width: 992px) and (max-width: 1199px) {
  /* Global */
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 26px;
  }
  h3 {
    font-size: 22px;
  }
  h4 {
    font-size: 20px;
  }
  h5 {
    font-size: 18px;
  }
  h6 {
    font-size: 16px;
  }
}

/* Tablet device :768px. */
@media (min-width: 768px) and (max-width: 991px) {
  /* Global */
  body {
    font-size: 14px;
  }
  h1 {
    font-size: 26px;
  }
  h2 {
    font-size: 22px;
  }
  h3 {
    font-size: 20px;
  }
  h4 {
    font-size: 18px;
  }
  h5 {
    font-size: 16px;
  }
  h6 {
    font-size: 15px;
  }
  p {
    font-size: 14px;
  }
}

/* small mobile :320px. */
@media (max-width: 767px) {
  /* Global */
  body {
    font-size: 14px;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 18px;
  }
  h4 {
    font-size: 17px;
  }
  h5 {
    font-size: 16px;
  }
  h6 {
    font-size: 14px;
  }
  p {
    font-size: 14px;
  }
}



.card-image {
  width: 100%; /* Ensure the image fills the card */
  height: 300px; /* Default height */
  object-fit: cover; /* Ensures proper scaling and cropping */
  border-radius: 10px; /* Optional: Rounded corners */
}

/* Adjust card image height for smaller screens */
@media (max-width: 768px) {
  .card-image {
    height: 250px; /* Smaller height for tablets */
  }
}

@media (max-width: 480px) {
  .card-image {
    height: 220px; /* Smaller height for mobile screens */
  }
}



.slider-image {
  width: 100%; /* Ensure the image spans the full slider width */
  height: 400px; /* Default height */
  object-fit: cover; /* Maintains proportional cropping/scaling */
  border-radius: 5px; /* Optional: Slightly rounded edges */
}

/* Adjust slider image height for smaller screens */
@media (max-width: 768px) {
  .slider-image {
    height: 300px; /* Smaller height for tablets */
  }
}

@media (max-width: 480px) {
  .slider-image {
    height: 200px; /* Smaller height for mobile screens */
  }
}


