* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}
.navbar{
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(20,20,20,.9);
    color: white;
    padding: .2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.nav-content {
  display: flex;
  justify-content: space-between; /* pushes nav-left and nav-right to edges */
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem;
}
.nav-content a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem; /* spacing between items in each cluster */
}
.nav-left h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}
.nav-right a:hover {
    transform: translateY(-2px);
    color: #F26522; /* Auburn Orange */
}
nav{
    display: block;
    unicode-bidi: isolate;
}
.hero{
    height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3rem;
    background: #061934;
    color: white;
}
.hero-content {
    max-width: 1200px;
    padding: auto;
    align-items: center;
}
.hero-content h2{
    font-size: 6rem;
    font-family: "Franklin Gothic Medium";
    text-align: center;
    margin-bottom: 1rem;   
}
.hero-content p{
    font-size: 1rem;
    text-align: center;
    max-width: 1000px;
}
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 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);
}
.project-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.project-card {
    flex: 1;
    min-height: 250px;
    color: rgb(228, 228, 228);
    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;
}
.project-card:hover {
    transform: translateY(-4px);
}
.project-img {
    flex: 0 0 300px;
}
.project-img img {
    width: 100%;
    min-height: 250px;
    max-height: 250px;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
}
.project-img img:hover {
    transform: scale(1.03);
}
.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:hover {
    transform: translateY(-4px);
}
.content-card ul {
    padding-left: 10%;
    padding-right:10%;
}
.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 0.5s ease;
    object-fit: cover;
}
.image-grid-card img:hover {
    height:max-content;
    min-height:200px;
    transform: scale(1.03);
}
@media (max-width: 600px) {
  .nav-content {
    flex-direction: row;
    align-items: flex-start;
    padding: auto;
    padding-bottom: 0;
  }
  .nav-left,
  .nav-right {
    gap: 1rem;
  }
  .nav-left h1 {
    font-size: 0px;
  }
  .nav-content a {
    font-size: 1rem;
  }
  .hero {
    height: 20vh;
    flex-direction: column;
  }
  .hero-content h2 {
    font-size: 3rem;
  }
  .hero-content p {
    font-size: 1rem;
    max-width: 100%;
  }
  .section {
    padding: 1rem;
    margin: 2.5rem 0;
  }
  .section h2 {
    font-size: 2rem;
  }
  .project-container {
    flex-direction: column;
    gap: 1rem;
    padding: 0 0.5rem;
  }
  .project-card {
    padding: 1.2rem;
    min-height: 180px;
    font-size: 0.98rem;
  }
  .project-img {
    flex: 0 0 180px;
    width: 100%;
  }
  .project-img img {
    width: 100%;
    height: 200px;
    max-height: 600px;
    border-radius: 0.5rem;
  }
  .project-img img:hover {
    height:max-content;
    min-height:200px;
    transform: translateY(-4px);
  }
  .content-card {
    padding: 1.2rem;
    font-size: 0.98rem;
  }
  .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: 200px;
  }
  body {
    font-size: 15px;
    padding-top: 3.5rem;
  }
  .tab {
    text-indent: 5px;
  }
}
