* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
body{
    background-color: #061934;
    color: white;
    font-size: 16px;
    line-height: 1.6;
    padding-top: 5rem; /* to avoid content being hidden behind the fixed navbar */
} 
.section{
    padding: 1.5rem;
    margin: 5rem 0;
    border-radius: 0.5rem;
}
.section h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    color: rgb(242, 101, 34);
}
.section h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    color: rgb(242, 101, 34);
}
.welcome-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.welcome-card {
    max-width: 1200px;
    min-height: 275px;
    max-height: 400px;
    color: rgb(228, 228, 228);
    margin-left: auto;
    margin-right: auto;
    padding: 3rem;
    background-color: #5e5e5e68;
    border-radius: 0.75rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
    transition: transform 0.3s ease;
    text-align: left;
}
.welcome-card:hover {
    transform: translateY(-4px);
}
.welcome-card a {
    color: #F26522; /* Auburn Orange */
    text-decoration: underline #ffffff4d;
    font-weight: bold;
    transition: color 0.3s ease;
}
.welcome-card a:hover {
    color: #FFF; /* Auburn Orange */
    text-decoration: none;
}
.welcome-img {
    flex: 0 0 300px;
}
.welcome-img img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}
.content-card {
    max-width: 1200px;
    color: rgb(228, 228, 228);
    padding: 3rem;
    margin-left: auto;
    margin-right: auto;
    background-color: #5e5e5e68;
    border-radius: 0.75rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
    transition: transform 0.3s ease;
    text-align: left;
}
.content-card a {
    color: #F26522; /* Auburn Orange */
    text-decoration: underline #ffffff4d;
    font-weight: bold;
    transition: color 0.3s ease;
}
.content-card a:hover {
    color: #FFF; /* Auburn Orange */
    text-decoration: none;
}
.content-card:hover {
    transform: translateY(-4px);
}
.welcome-card ul,
.content-card ul {
    padding-left: 10%;
    padding-right:10%;
}
.welcome-card li,
.content-card li {
    margin-bottom: 0.5rem;
    height: auto;
}
.image-grid-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: .5rem;
    transition: transform 0.3s ease;
    overflow: hidden;
}
.image-grid-card img {
    width: 100%;
    height: 200px;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
    transition: transform 1s ease;
    object-fit: cover;
}
.image-grid-card img:hover {
    height: 220px;
    transform: scale(1.03);
}

@media (max-width: 600px) {
  .section {
    padding: 1rem;
    margin: 2.5rem 0;
  }
  .section h2 {
    font-size: 2rem;
  }
  .welcome-container {
    flex-direction: column;
    gap: 1.2rem;
    padding: 0 0.5rem;
  }
  .welcome-card {
    padding: 1.2rem;
    min-height: 180px;
    font-size: 0.98rem;
  }
  .welcome-img {
    flex: 0 0 180px;
    width: 60%;
  }
  .welcome-img img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
  }
  .content-card {
    padding: 1.2rem;
    font-size: 0.98rem;
  }
  .welcome-card ul,
  .content-card ul {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
  .image-grid-card {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 0.2rem;
  }
  .image-grid-card img {
    height: 300px;
  }
  .error {
    color: red;
    text-align: center;
    margin-top: 10px;
  }
  body {
    font-size: 15px;
    padding-top: 3.5rem;
  }
}
