:root {
  --primary-color: #1d3557;
  --secondary-color: #66bfbf;
  --highlight-color: #dd0893;
  --heading-font-family: "Poppins", sans-serif;
  --default-font-family: "Open Sans", sans-serif;
}
nav {
  background-color: var(--primary-color);
}

nav a,
nav li {
  display: inline;
  list-style: none;
  color: white;
  text-decoration: none;
  padding: 5px;
}

nav ul {
  margin: 0;
  padding: 0;
}

nav h1 {
  font-size: 20px;
  padding: 5px;
  color: white;
}

nav a:not(.btn-highlight):hover {
  text-decoration: underline;
  transition: color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  font-family: var(--heading-font-family);
  color: var(--primary-color);
}

h1 {
  font-size: 80px;
}

body {
  font-family: var(--default-font-family);
}

.hero {
  background-color: var(--secondary-color);
  text-align: center;
  padding: 120px 20px;
}

.hero p {
  font-size: 36px;
}

.content-container {
  padding: 60px 20px;
}

.content-container h1 {
  font-size: 60px;
}

.btn {
  display: inline-block;
  font-family: var(--heading-font-family);
  font-size: 14px;
  padding: 10px 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  color: white;
  margin-top: 5px;
}

.btn-highlight {
  background-color: var(--highlight-color);
  border-radius: 5px;
}

.btn-highlight:hover {
  background-color: var(--primary-color);
  color: white;
}

nav .btn-highlight:hover {
  background-color: white;
  color: var(--highlight-color);
}

.project-buttons {
  display: flex;
  justify-content: center;
}

.btn-project {
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 20px;
  font-size: 12px;
  padding: 5px 15px;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}

.btn-project:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}
.card {
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-body {
  background-color: #66bfbf17;
}

.card-title {
  font-size: 20px;
}
.profile-image {
  border-radius: 200px;
  border: 2px solid var(--secondary-color);
}

.toolkit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--primary-color);
  font-family: var(--heading-font-family);
  text-align: center;
}

.toolkit-item i {
  font-size: 32px;
}

.toolkit-item p {
  margin-top: 8px;
  font-size: 14px;
}

footer {
  background-color: var(--secondary-color);
  padding: 20px;
  text-align: center;
  width: 100%;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

footer h2,
footer h3,
footer p,
footer a {
  color: var(--primary-color);
}

footer h2,
footer h3 {
  font-size: 2.5em;
}

.footer-email {
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
}

footer a:hover,
.footer-email:hover {
  color: white;
  text-decoration: underline;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 24px;
}

.footer-icons a:hover {
  color: var(--highlight-color);
  text-decoration: none; /* removes underline if inherited */
}

@media (max-width: 768px) {
  nav ul {
    text-align: center;
  }

  .contact-btn {
    order: 1;
    margin-top: 10px;
  }

  .btn-project {
    font-size: 14px;
    padding: 8px 16px;
  }

  .hero {
    text-align: center;
    padding: 40px 20px 20px 20px;
  }

  .hero p {
    font-size: 24px;
  }

  h1 {
    font-size: 48px;
  }

  .content-container {
    text-align: center;
  }

  .profile-image {
    margin-top: 20px;
  }

  .hero p {
    font-size: 24px;
    padding: 30px 10px;
  }

  .card-text {
    font-size: 14px;
  }
}
