/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #ffffff;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  color: #000000;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}


nav a:hover {
  color: #c57d70;
  transition: 0.3s ease;
  text-shadow: 0 0 4px #eabbb2;

}

.apply-btn{
    background: #c4837856;
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 4rem;
    color: #a76255;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #c48378;
    transition: 0.3s ease;
    cursor: pointer;
}

.apply-btn:hover {
    transform: scale3d(1.03);
    background-color: #cd948ada;
    color: black;
    box-shadow: 0 0 25px #c48378;
}

.readmore{
    background: #c4837856;
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 4rem;
    color: #a76255;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #c48378;
    transition: 0.3s ease;
    cursor: pointer;
}

.readmore:hover {
    transform: scale3d(1.03);
    background-color: #cd948ada;
    color: black;
    box-shadow: 0 0 25px #c48378;
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
}
.hero {
  opacity: 0;
  transform: translateY(350px);            /* start slightly below */
  animation: glide-in 1200ms ease-out forwards;
}

@keyframes glide-in {
  to {
    opacity: 9;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: #c48378;
}

.hero p {
  font-size: 1.1rem;
  color: #000000;
}

section {
  padding: 5rem 2rem;
  max-width: 1000px;
  margin: auto;
}

section h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #c48378;
}

.about {
  align-items: center;
  text-align: center;
}

.card {
  background: #efeeee;
  border: 1px solid #dfdfdf;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s ease-in-out, background 0.3s ease-in-out;
}

.card:hover {
  background: #eae9e9;
  box-shadow: 0 0 25px #ca9990;

}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.logo-img {
  height: 50px;
  width: 70px;
  object-fit: contain;
}

.contact-info {
  list-style: none;
  padding: 0;
  text-align: center;
}

.contact-info li {
  margin: 1rem 0;
  font-size: 1.1rem;
}

.contact-info a {
  color: #c48378;
  text-decoration: none;
}

.contact-info a:hover {
  transition: 0.3s ease;
  text-shadow: 0 0 4px #a56052;
  color: #7c4941;


}

.contact-mid {
  list-style: none;
  padding: 0;
  text-align: left;
}

.contact-mid li {
  margin: 1rem 0;
  font-size: 1.1rem;
}

.contact-mid a {
  color: #e23213;
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 1.2rem;
  font-size: 0.8rem;
  background: #ffffff;
  border-top: 1px solid #2f2f2f;
  color: #4a4a4a;
}


/* Responsive Design */
@media screen and (max-width: 768px) {
  nav {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }

  nav ul {
    flex-direction: row;
    gap: 1rem;
    width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section h2 {
    font-size: 1.8rem;
  }
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  color: #000000;
  cursor: pointer;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: left;
  width: 100%;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  /* For Hamburger Menu */
  .nav-links {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #ffffff;
    padding: 1rem 0;
    border-top: 1px solid #ffffff;
  }

  /* Show the links when hamburger is clicked */
  .nav-links.show {
    display: list-item;
  }

  /* Organize the items in a row after opening hamburger */
  .nav-links li {
    padding: 0.5rem 2rem;
    text-align: right;
  }

  /* Space out apply button */
  .apply-btn {
    margin-top: 0.5rem;
  }
}