/* === Global Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --dark: #222831;
  --dark-gray: #393e46;
  --teal: #00adb5;
  --light: #eeeeee;
}

body {
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

section {
  padding: 80px 10%;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dark);
}

button,
a {
  cursor: pointer;
  text-decoration: none;
}

.ctaBtn {
  background: var(--teal);
  color: var(--light);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s ease;
  border: none;
}

.ctaBtn:hover {
  background: var(--dark);
}

/* MOBILE RESPONSIVE STYLING */

/* For tablets and mobile screens */
@media (max-width: 1024px) {
  header {
    flex-direction: row;
    align-items: center;
    text-align: center;
    height: 8rem;
  }

  nav.allLinkBtn {
    display: flex;
    gap: 1px;
    margin-top: 100px;
  }
  nav.allLinkBtn #home {
    display: none;
  }

  .heroSection {
    flex-direction: column;
    text-align: center;
  }

  .heroPhoto img {
    width: 200px;
    height: auto;
    margin: 0 auto 20px;
    border-radius: 50%;
  }

  .heroContent h1 {
    font-size: 1.8rem;
  }

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

  .projectsSection .projectCards {
    flex-direction: column;
    gap: 20px;
  }

  .projectCard {
    padding: 15px;
  }

  .contactSection form {
    width: 90%;
    margin: 0 auto;
  }

  input,
  textarea,
  button {
    width: 100%;
    font-size: 1rem;
    margin-bottom: 10px;
  }
}

/* For mobile phones specifically */
@media (max-width: 600px) {
  .heroContent h1 {
    font-size: 1.5rem;
  }

  .heroContent p {
    font-size: 0.9rem;
  }

  .projectCard h3 {
    font-size: 1.2rem;
  }

  .projectCard p {
    font-size: 0.9rem;
  }

  header .profileLogo img {
    width: 80px;
  }

  nav.allLinkBtn a {
    font-size: 0.9rem;
  }

  .ctaBtn {
    padding: 10px 15px;
    font-size: 0.95rem;
  }
}
