/* Basic reset */
* {
    box-sizing: border-box;
  }
  html, body {
    margin: 0;
    padding: 0;
    height: 100%;
  }
  
  nav {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 0 1rem;
    height: 5%;
  }

  main {    
    height: 85%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-columns {
    height: 85%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 1%;
  }

  .main-columns {
    overflow: scroll;
  }

  .main-columns p {
    padding-left: 1%;
    padding-right: 1%;
  }

  footer {
    height: 10%;
    padding: 0 1rem;
  }
  
  .carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: auto;
    border-radius: 8px;
  }
  
  .hero-banner {
    position: relative;
    display: block;
    width: 100%;    
    margin: 0 !important; /* Remove default margin */
    padding-left: 5%;
    padding-right: 5%;
  }

  .hero-img {
    width: 100%;
    height: 100%;
    position: cover;
  }

  .hero-banner .content {    
    position: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(80, 80, 80, 0.7);
    color: #fff;
    border-radius: 24px;
  }

  .hero-banner .content h1 {
    font-size: 3rem;
  }

  .hero-banner .content h2 {    
    font-size: 2rem;
  }
  
  .card-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width:100%;
  }
  
  .card {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 0 0 100%;    
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    text-decoration: none;
    color: #333;
  }
  
  .card .card-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center; 
    background-color: rgba(80, 80, 80, 0.7);
    padding: 16px;
    border-radius: 16px;    
  }
  
  .card-content p {
    padding: 0 0 2rem;
  }
  
  .card h1 {
    font-size: 5rem;
    margin: 0 0 0.5rem;
  }
  .card p {
    font-size: 2rem;
    margin: 0;
  }
  
  /* ----- Arrow Buttons ----- */
  .arrow {
    position: absolute;
    top: 50%;               /* Vertically center */
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1;             /* Ensure arrows are above the cards */
    padding: 0.5rem 1rem;
    border-radius: 4px;
    user-select: none;
  }  
  
  .left-arrow {
    left: 10px;
  }
  
  .right-arrow {
    right: 10px;
  }
  
  .arrow:hover {
    background: rgba(255, 255, 255, 0.9);
  }
  
  .arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  nav li {
    margin: 0 1rem;
  }
  
  nav a {
    text-decoration: none;
    color: #333;
  }

  nav li :hover,
  .nav-left:hover {
    text-decoration: underline;
  }