the navigation bar should turn into a vertical list on smaller screens;

/* === GLOBAL STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #1a2a4f; /* Deep navy for text */
  background-color: #e6f0fa; /* Soft light blue background */
  transition: background-color 0.3s ease;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 70px 0;
}

/* === HEADER === */
.header {
  background-color: #2a5c99;
  color: #fff7cc;
  padding: 15px 0;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;

}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: #fff7cc solid 2px;
}

.logo h1 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff7cc;
  margin: 0;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  text-decoration: underline;
}

.nav a {
  color: #ffde59;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s ease;
  font-weight: 600;
}

.nav a:hover {
  color: #2a5c99;
  font-size: 22px;
  font-weight: 600;
  background-color: #e6f0fa;
  border-radius: 10px;
  padding: 15px;
}

/* === ABOUT SECTION === */
.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 90px;
  flex-wrap: nowrap;
  padding: 50px;
  margin-bottom: 3px;
}

.about-img {
  flex: 1;
  border-radius: 25px;
  max-width: 420px;
  width: 100%;
  height: 500px;
  border: 4px solid #ffde59;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 5px;
  text-decoration: underline;
  color: #2a5c99;
  flex: 1;
}

.about-text p {
  font-size: 1.1rem;
  color: #1a2a4f;
  flex: 1;
}

/* === PROJECTS SECTION === */
.projects h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #2a5c99;
  text-decoration: underline;
  font-size: 2rem;
}

.project-grid {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 30px;
  flex-wrap: nowrap; 
}

.project-card {
  background: #f8fafc;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  color: #1a2a4f;
  min-height: 350px; 
}

.project-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-card img {
  width: 100%;
  height: 240px;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 2px solid #ffde59;
}

.project-card h3 {
  margin-bottom: 10px;
  color: #2a5c99;
  font-size: 1.25rem;
}

.project-card p {
  color: #4a4a4a;
  font-size: 1rem;
}

.project-card a {
  display: inline-block;
  margin-top: 12px;
  color: #2a5c99;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.project-card a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #ffde59;
  transition: width 0.3s ease;
}

.project-card a:hover {
  color: #ffde59;
  text-shadow: 0 0 6px rgba(255, 222, 89, 0.6);
}

.project-card a:hover::after {
  width: 100%;
}

/* === CONTACT SECTION === */
.contact {
  background-color: #2a5c99;
  text-align: center;
  color: #fff7cc;
  padding: 80px 20px;
}

.contact h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  text-decoration: underline;
}

.contact-form {
  max-width: 500px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: #ffde59 2px solid;
  font-size: 1rem;
}

.contact-form button {
  background-color: #ffde59;
  color: #0056b3;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
  border: #f8fafc solid 2px;
}

.contact-form button:hover {
  background-color: #0056b3;
  color: #fff;
  font-weight: 600;
  border: #ffde59 solid 4px;
}


/* === FOOTER === */
.footer {
  background-color: #1a2a4f;
  color: #fff7cc;
  text-align: center;
  padding: 20px 0;
}

.footer .social-links {
  margin-top: 12px;
}

.footer .social-links a {
  color: #e4b80a;
  border: #e4b80a 2px solid;
  border-radius: 10px;
  padding: 5px;
  font-weight: 600;
  background-color: white;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer .social-links a:hover {
  color: #ffffff;
  border: white 2px solid;
  font-size: 24px;
  background-color: #2a5c99;
  font-weight: 600;
  text-decoration: underline;
  transform: scale(1.1);
}

/* === RESPONSIVE DESIGN === */

/* Tablets */
@media (max-width: 900px) {
   body {
    overflow-x: hidden;
  }

  /* === Project Section === */
  .project-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px; 
    width: 100%;
    padding: 20px 10px;
  }

  .project-card {
    flex: 1 1 100%;
    width: 100%;
    max-width: 600px;
    text-align: center;
  }

  .project-card img {
    width: 100%;
    height: auto;
    border-radius: 20px;
  }

  /* === About Section === */
  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 20px;
  }

  .about-img {
    width: 80%;
    max-width: 400px;
    height: auto;
    border-radius: 20%;
  }

  .about-text {
    width: 100%;
    font-size: 1rem;
    line-height: 1.6;
  }

  .header .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav ul {
    gap: 15px;
  }
}

/* Mobile */
@media (max-width: 600px) {

  /* === General Reset === */
  body {
    overflow-x: hidden;
    padding: 0 10px;
    text-align: center;
  }

  /* === Header Section === */
  .header .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 10px 0;
  }

  .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
  }

  .logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
  }

  .logo h1 {
    font-size: 1.3rem;
    color: #fff7cc;
    margin: 0;
  }

  /* === Navigation === */
  .nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
    padding: 0;
  }

  .nav ul li {
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav a {
    display: block;
    width: 100%;
    font-size: 1rem;
    color: #fff7cc;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 8px 0;
  }

  .nav a:hover {
    background-color: #ffde59;
    color: #1a2a4f;
    border-radius: 4px;
  }

  /* === About Section === */
  .about {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    margin-top: 15px;
  }

  .about img {
    width: 85%;
    max-width: 300px;
    border-radius: 50%;
    margin-bottom: 15px;
  }

  .about p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 auto;
  }

  /* === Projects Section === */
  .projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
    padding: 20px 10px;
    margin: 20px;
  }

  .project-card {
    width: 100%;
    max-width: 350px;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 25px;
    margin-right: 15px;
  }

  .project-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  /* === Contact Section === */
  .contact {
    background-color: #2a5c99;
    text-align: center;
    color: #fff7cc;
    padding: 60px 15px;
  }

  .contact h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-decoration: underline;
  }

  .contact-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 80%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #ffde59;
    font-size: 1rem;
    margin: 10px;
  }

  .contact-form button {
    background-color: #ffde59;
    color: #0056b3;
    padding: 12px;
    margin-top: 25px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    border: 3px solid #f8fafc;
  }

  .contact-form button:hover {
    background-color: #0056b3;
    color: #fff;
    font-weight: 600;
    border: 3px solid #ffde59;
  }
}

