* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  nav {
    background-color: orangered;
  }
  
  ul {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
  }
  
  li {
    display: inline;
  }
  
  a {
    text-decoration: none;
    color: white;
    padding: 10px;
    font-size: larger;
  }
  
  a:hover {
    background-color: white;
    color: darkblue;
  }
  
  .center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }

  .footer {
    background-color: orange;
    color: #333333;
    padding: 20px;
    text-align: center;
    font-size: x-large;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  nav {
    background-color: orangered;
  }
  
  ul {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
  }
  
  li {
    display: inline;
  }
  
  a {
    text-decoration: none;
    color: white;
    padding: 10px;
    font-size: larger;
  }
  
  a:hover {
    background-color: white;
    color: darkblue;
  }
  
  .center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }
  
  .footer {
    background-color: orange;
    color: #333333;
    padding: 20px;
    text-align: center;
    font-size: x-large;
  }
  
  body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
  }
  
  .carousel-heading {
    text-align: center;
    background-color: #fff;
    color: blue;
    font-size: 30px;
    margin-top: 10px;
  }
  
  .carousel-caption {
    background-color: #ff9800;
    color: black;
    font-size: 20px;
    text-align: center;
    width: 285px;
    margin-left: 10px;
  }
  
  .carousel-container-wrapper {
    max-width: 1150px;
    margin: 0 auto;
  }
  
  .carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    perspective: 1000px;
    border: 5px solid #ff9800;
    margin-top: 10px;
  }
  
  .carousel-slide {
    display: flex;
    transition: transform 0.3s ease-in-out;
    position: relative;
  }
  
  .carousel-slide img {
    width: 95%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.1s ease-in-out;
    transform-style: preserve-3d;
    border: 3px solid #007bff; 
    margin: 10px; 
  }
  
  .carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 24px;
    z-index: 1;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .carousel-prev { left: 10px; }
  
  .carousel-next { right: 10px; }
  
  .carousel-prev:hover, .carousel-next:hover { background-color: #555; }
  
  .carousel-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    z-index: 1;
  }
  
  .carousel-pagination button {
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    padding: 0;
    transition: background-color 0.3s ease-in-out;
  }
  
  .carousel-pagination button.active { background-color: #fff; }
  
  .carousel-slide .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  }
  
  .carousel-slide:hover .caption {
    opacity: 1;
    transform: translateY(0);
  }
  
  .view-all-button {
    display: block;
    width: 150px;
    margin: 20px auto;
    background-color: #007bff;
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  
  .view-all-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  /* Media Queries */
  @media (max-width: 768px) {
    .carousel-slide img {
      height: 200px; /* Adjust the height for mobile devices */
    }
    
    .carousel-caption {
      font-size: 12px; /* Adjust the font size for captions on mobile devices */
      padding: 5px; /* Adjust the padding for captions on mobile devices */
    }
  }
  
  @media (max-width: 426px) {
    .carousel-slide img {
      height: 150px; /* Adjust the height for smaller mobile devices */
    }
    
    .carousel-caption {
      font-size: 10px; /* Further reduce the font size for captions on smaller mobile devices */
      padding: 4px; /* Further reduce the padding for captions on smaller mobile devices */
    }
  }
  