html {
  font-size: clamp(11px, 1.2vw, 18px);
}

header {
  display: flex;
  width: 100vw;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  color:#000000;
  background-color: #feebb6; 
}

nav {
  padding-left: 20px;
}

a {
  text-align: center;
}

section {
  margin: 5vh;
  font-family: 'Montserrat', sans-serif;
  color:#3c5169;
  background-color: #feebb6; 
}


body {
  font-family: 'Montserrat', sans-serif;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: #feebb6;
  margin: 0;
  scroll-behavior: smooth;
}

div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

footer {
  display: flex;
  width: 100vw;
  margin-top: 20px;
  justify-content: space-between;
}

.navbar {
  background-color: #ffd971; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative; 
}

.navbar a {
  color: #000000;
  text-decoration: none;
  font-size: 1.25rem;
  flex-shrink: 1;
  font-weight: 700;
  letter-spacing: 1px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
.top-banner {
  width: 100%;
  height: auto;
  display: block;
}
.content {
  padding: 40px;
  padding-top: 20px;  
  min-height: 100vh;
  box-sizing:border-box
}
.content a {
  text-decoration: none;
  color: #ffd971;
}
a:hover {
  text-decoration: underline;
}
@media (max-width: 1000px) {
  .navbar {
    gap: 0px;
    justify-content: flex-start;
  }



  .navbar a {
    margin-left: -15px;
    font-size: 1.125rem;
  }

  .content {
    padding: 20px;
  }

  h1 {
    font-size: 1.75rem;
  }

  p {
    font-size: 1rem;
  }

  img {
    display: block;
    margin: 0 auto;
  }
}

.category {
  margin-bottom: 40px;
}

.category h2 {
  font-family: 'Montserrat', sans-serif;
  color: rgb(0, 0, 0);
  font-size: 1.5rem;
  margin-bottom: 10px;
  border-bottom: 2px solid #ffd971;
  padding-bottom: 5px;
}


.projects-grid {
  display: flex;
  flex-direction: column;
  margin: 40px 30px;
  width: 90%;
  max-width: 1100px; 
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.projects-grid.active {
  opacity: 1;
  transform: translateY(0);
}

.project-card {
  background: #ffd971;
  border-radius: 14px;
  border: 4px solid #fad05d;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  gap: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1100px;
  width: 100%;
  height: 100%;
  margin: 10px;
  padding: 20px;
}

.first-card {
  background: #ffd971;
  border-radius: 14px;
  border: 4px solid #fad05d;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  gap: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1100px;
  width: 100%;
  height: 100%;
  margin: 10px;
}

.first-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.2);
  outline: 3px solid #ffc729;
}

.first-card img {
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  width: 100%;
  height: 220px;
}

.project-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card a {
  margin-top: auto;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.2);
  outline: 3px solid #ffc729;
}

.project-card img {
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  width: 100%;
  height: 220px;
}

.project-card h3 {
  margin: 10px;
  font-size: 1.4rem;
}

.project-card a:hover {
  text-decoration: underline;
}
.project-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.internal-link {
  margin-top: auto;
  font-weight: 700;
  color: #fff;
}
.project-info a:hover {
  text-decoration: underline;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  padding: 30px 40px;
}

.menu-toggle {
  display: none;
  font-size: 5rem;
  color: white;
  cursor: pointer;
  position: absolute;
  right: 1.5rem;
  top: 45%;
  transform: translateY(-50%);
}
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-right: 30px;
  padding: 0;
}


@media (max-width: 1000px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #fad05d;
    color: rgb(0, 0, 0);
    position: absolute;
    top: 92%; 
    left: 0;
    width: 100%;
    gap: 1rem;
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }
  
  .nav-links a {
    color: white;
    font-size: 1.2rem;
  }

  .nav-links.show {
    display: flex; 
  }
}


.section-label {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e1a80a;
}

h1 {
  margin: 20px;
  font-size: clamp(52px, 10vw, 120px);
  font-weight: 900;
}
h2 {
  margin: 20px;
  font-size: clamp(42px, 8vw, 60px);
  font-weight: 900;
}

.body {
  justify-content: center;
  max-width: fit-content;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #000000;
}

.section-label.bottom {
  margin-top: 160px;
}
.home-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  background: #ffd971;
  border-radius: 14px;
  border: 4px solid #fad05d;
}
.footer-sections {
  display: flex;
  align-items: flex-start;
  width: 100vw;
  justify-content: space-around;
  flex-direction: row;
  background-color: #ffd971;
  gap: 25px;
  padding: 40px 0px;
  position: relative;
}

.container a {
  margin-top: 20px;
}

a {
  color: #ffffff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.search-bar {
  margin: 20px;
  width: calc(100% - 40px);
  max-width: 500px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 2px solid #000000;
  font-size: 1rem;
  justify-content: center;
  display: block;
}

@media (max-width: 1100px) {

  .project-card img {

  }
}

@media (max-width: 800px) {
  .footer-sections {
    flex-direction: column;
    align-items: center;
  }
}
.team-table {
  width: 100%;
  max-width: 500px;
  border-collapse: collapse;
  margin: 20px auto;
  font-family: Arial, sans-serif;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.team-table th {
  background: #c89b1d;
  color: #222;
}

.team-table td {
  background: #f7e7b5;
}

.team-table tr:nth-child(even) td {
  background: #f1dc9a;
}


.team-table tr:hover td {
  background: #dfe6ff;
  transition: 0.2s;
}

#stats-container {
  display: flex;
  justify-content: center;
}
