* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fafaf9;
}

nav {
  height: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: larger;
  padding: 20px;
  position: sticky;
  top: 0px;
  z-index: 10;
  background-color: #fafaf9;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  color: #01558a;
  transition: transform 0.3s ease;
  transition: color 0.3s ease 2s;
}

.logo:hover {
  transform: scale(1.02);
  /* font-size: 33px; */
  /* font-weight: 750; */
  color: #01558a;
}

nav ul {
  /* background-color: beige; */
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 18px;
  color: #353935;
}

nav ul li {
  list-style: none;
}

nav ul button {
  background-color: #e7e7e7;
  padding: 5px;
  font-size: 16px;
  color: #353935;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  box-shadow: 0px 1px 5px #35393586;
  border: none;
}

nav ul button img {
  height: 22px;
}

.home,
.about {
  min-height: 90vh;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
  padding: 40px;
  align-items: center;
  gap: 23px;
  padding-bottom: 0px;
  /* background-color: rgb(223, 165, 165); */
}

.home .first {
  max-width: 700px;
  /* border: 2px solid green; */
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}

.home .image {
  /* border: 2px solid green; */
}

.home .image img {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border: 4px solid rgba(32, 110, 187, 0.179);
  height: 400px;
  width: 400px;
  border-radius: 100%;
  transition: transform 0.3s ease;
}

.home .image img:hover {
  transform: scale(1.03);
}

.home .first .name {
  margin-top: 12px;
  /* border: 2px solid brown; */
}

.home .first .name span {
  color: #00416a;
  font-weight: 800;
  font-size: 28px;
  padding: 4px 6px;
  /* border: 2px solid green; */
  border-radius: 12px;
  background-color: #78c9fc33;
  display: inline-block;
}

.home .first .title {
  /* border: 2px solid green; */
  color: #4b4e4b;
  font-size: 60px;
  font-weight: 500;
  margin-top: 8px;
}

.home .first .desc {
  font-size: 18px;
  /* border: 2px solid black; */
  color: #353935;
  /* max-width: 90%; */
  text-align: justify;
  margin-top: 70px;
  line-height: 1.6;
}

.home .first .buttons {
  display: flex;
  /* border: 2px solid green; */
  gap: 20px;
  margin-top: 20px;
}

.home .first .buttons button {
  padding: 15px 40px;
  font-size: 17px;
  border-radius: 10px;
  border: none;
  background-color: #00416a;
  color: white;
  transition: translate 0.3s ease-out;
}

.home .first .buttons button:hover {
  translate: 0px -2px;
  background-color: #01558a;
}

.home .first .logos img {
  transition: translate 0.3s ease-out;
}

.logos img:hover {
  translate: 0px -2px;
}

.logos {
  display: flex;
  margin-top: 58px;
  gap: 20px;
}

.logos img {
  height: 52px;
  border-radius: 82px;
  /* border: 2px solid green; */
}

li:hover,
button:hover {
  cursor: pointer;
}

a {
  text-decoration: none;
}

a:link {
  color: #353935;
  /* Styles for unvisited links */
}

a:visited {
  color: #353935;
  /* Styles for visited links */
}

a:hover {
  color: #00416a;
  font-weight: 500;
  /* Styles when hovering over a link */
}

a:active {
  color: #00416a;
  /* Styles when a link is being clicked */
}

nav {
  box-shadow: 0px 1px 5px #35393586;
}

.lines img {
  visibility: hidden;
  height: 30px;
  cursor: pointer;
  position: absolute;
}

nav ul li img {
  height: 32px;
  visibility: hidden;
  position: absolute;
}
.columns {
  /* border: 2px solid gold; */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  justify-content: start;
}

h2 {
  /* border: 2px solid red; */
  font-size: 28px;
  margin: 0;
  padding: 0;
}
.about {
  padding: 40px;
  padding-top: 0px;
  min-height: 50vh;
}

.rows {
  display: flex;
  flex-direction: rows;
  justify-content: space-around;
  align-items: center;
  gap: 30px;
  width: 90%;
}
.about .desc {
  /* border: 2px solid red; */
  width: 90%;
  text-align: left;
  margin-top: 0px;
  line-height: 1.5;
}
.card {
  background-color: #e7ecec68;
  padding: 20px;
  width: 45%;
  min-width: 600px;
  line-height: 1.5;
  border-radius: 8px;
  box-shadow: 1px 2px 4px rgb(16 11 11 / 23%);
}
.card-heading {
  font-size: 20px;
  font-weight: 700;
  color: #00416a;
  margin-bottom: 14px;
}
.card-subheading {
  font-size: 16px;
  color: #000200;
}
.card-content {
  font-size: 16px;
  color: #6f716f;
}
.card ul li {
  margin-left: 20px;
}
.qualifications .card-heading {
  margin-bottom: 10px;
  font-size: 18px;
}
.qualifications .card {
  max-width: 70%;
}
.skills {
  font-size: 15px;
  color: #353935;
  margin-top: 12px;
}
.capsules {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.capsule {
  /* border: 2px solid blue; */
  background-color: #69b9eb75;
  color: #00416abf;
  border-radius: 3px;
  padding: 1px 4px;
  font-size: 12px;
  font-weight: 600;
}
.about .card {
  background-color: #ffffff;
  min-width: 200px;
  width: 40%;
}
.about .card-heading {
  font-weight: 500;
}
.cards {
  display: flex;
  gap: 30px;
  max-width: 60%;
  flex-wrap: wrap;
  justify-content: center;
  /* border: 2px solid aqua; */
}
.about .capsule {
  background-color: white;
  font-size: 16px;
  color: #353935;
  border: 2px solid #353935;
  border-radius: 20px;
  padding: 2px 10px;
}
@media screen and (max-width: 1500px) {
  .about .card {
    width: 80%;
  }
}

@media screen and (max-width: 900px) {
  nav {
    justify-content: space-between;
  }
  .about {
    font-size: 18px;
    /* border: 2px solid black; */
    color: #353935;
    max-width: 100%;
    text-align: center;
    margin-top: 30px;
    line-height: 1.6;
    padding: 40px 20px;
    margin: auto;
  }
  .rows {
    flex-direction: column;
    width: 90%;
  }
  .about .card {
    padding: 20px;
    width: 45%;
    min-width: 50%;
    width: 80%;
    /* border: 2px solid brown; */
    line-height: 1.5;
    border-radius: 8px;
    box-shadow: 1px 2px 4px rgb(16 11 11 / 23%);
  }
  .cards {
    /* border: 2px solid green; */
    display: flex;
    gap: 30px;
    max-width: 90%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .lines img {
    position: relative;
    visibility: visible;
  }

  .logo {
    font-size: 24px;
  }

  .menu {
    /* visibility:hidden; */
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    display: grid;
    width: 150px;
    box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 25px;
    background-color: #ffffff;
    padding: 25px 20px;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    justify-content: flex-start;
  }
  .menu.active {
    transform: translateX(0%);
  }
  .qualifications .card {
    min-width: 300px;
    width: 90%;
  }

  .home {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
  }

  .home .first {
    margin-top: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .home .image {
    /* border: 2px solid red; */
    /* margin-bottom: 0px; */
  }

  .home .image img {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border: 4px solid rgba(32, 110, 187, 0.179);
    height: 260px;
    width: 260px;
    border-radius: 100%;
    transition: transform 0.3s ease;
  }

  .home .image img:hover {
    transform: scale(1.03);
  }

  .home .first .name {
    /* border: 2px solid green; */
    margin-top: 0px;
  }

  .home .first .name span {
    color: #00416a;
    font-weight: 700;
    font-size: 31px;
    padding: 4px 32px;
    /* border: 2px solid green; */
    border-radius: 12px;
    background-color: #78c9fc33;
    display: inline-block;
  }

  .home .first .title {
    /* border: 2px solid green; */
    color: #4b4e4b;
    font-size: 22px;
    font-weight: 500;
    margin-top: 12px;
  }

  .desc {
    font-size: 18px;
    /* border: 2px solid black; */
    color: #353935;
    max-width: 90%;
    text-align: center;
    margin-top: 30px;
    line-height: 1.6;
  }

  .home .first .buttons {
    display: flex;
    /* border: 2px solid green; */
    gap: 12px;
    margin: 18px;
  }

  .home .first .buttons button {
    padding: 13px 30px;
    font-size: 16px;
    border-radius: 10px;
    border: none;
    background-color: #00416a;
    color: white;
    transition: translate 0.3s ease-out;
  }

  .home .first .buttons button:hover {
    translate: 0px -2px;
    background-color: #01558a;
  }

  .logos {
    display: flex;
    /* justify-content: center; */
    /* margin: 52px; */
    gap: 15px;
  }

  .logos img {
    height: 52px;
    border-radius: 50%;
    /* border: 2px solid green; */
  }

  nav ul .back img {
    position: relative;
  }

  nav ul li img {
    visibility: visible;
  }
  .contact {
    align-items: center;
  }
  .contact .sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
  }

  .form,
  .section1 {
    min-width: 90%;
    /* border: 2px solid red; */
  }
  footer .sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
  }
  footer .part1,
  footer .part2,
  footer .part3 {
    width: 90%;
  }
}

.new-row {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.new-column {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-direction: column;
}

.section {
  margin: 20px 0px;
}
.heading {
  align-self: center;
  color: #000200;
}
.contact {
  /* border: 2px solid rgb(33, 55, 1); */
  padding: 35px;
  align-items: start;
  color: #4c4e4c;
  font-size: 20px;
}
.sections {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
}
.contact .new-row {
  /* border: 2px solid rgb(159, 82, 5); */
  justify-content: start;
  gap: 15px;
  align-items: center;
}
.contact-details {
  align-items: start;
  gap: 10px;
  font-size: 16px;
  padding-top: 30px;
}
.contact img {
  height: 20px;
  border-radius: 82px;
  /* border: 2px solid red; */
}
.contact a:hover {
  color: #00416a;
  font-weight: normal;
}

.form,
.section1 {
  /* border: 2px solid green; */
  width: 40%;
  padding: 20px;
}
.form .new-column {
  align-items: start;
  gap: 10px;
}
.form input {
  width: 100%;
  height: 20px;
}
.form textarea {
  width: 100%;
}
.form button {
  background-color: #01558a;
  margin: 10px auto;
  padding: 10px 30px;
  color: white;
  border-radius: 12px;
  border: none;
}
footer {
  background-color: #353935;

  color: #c6c5c5;
  padding: 40px;
}
footer .sections {
  justify-content: right;
}
.part1,
.part2,
.part3 {
  width: 30%;
  align-items: start;
  justify-content: start;
  gap: 15px;
}
footer ul li {
  list-style: none;
  padding: 0px 0px 5px 0px;
  color: #c6c5c5;
}
footer ul li:hover {
  font-weight: 400;
  color: white;
}
h3 {
  justify-self: start;
  padding: 10px 0px;
  color: white;
}
.sections .logos img {
  height: 20px;
}
.sections .logos {
  margin-top: 0px;
  gap: 10px;
}
.copyright-section{
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
#home,
#about,
#qualifications,
#contact {
  scroll-margin-top: 120px;
}
.section-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.section-show {
  opacity: 1;
  transform: translateY(0);
}
.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
