@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #000000;
  margin: 0 0;
}

/* Nav bar */

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
  background-color: #ffffff;
  position: fixed;
  width: 100%;
  z-index: 10;
}

.main-logo {
  margin-left: 5rem;
}
.nav-list {
  display: flex;
  gap: 6.6rem;
  align-items: center;
  list-style-type: none;
  margin-right: 5rem;
}

.nav-links:link,
.nav-links:visited {
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  font-size: 1.4rem;
}

.nav-links:hover,
.nav-links:active {
  color: #0b6dec;
}

.nav-cta:link,
.nav-cta:visited {
  padding: 0.8rem 2.6rem;
  color: #ffffff;
  background-color: #004aad;
  border-radius: 1.7rem;
}

.nav-cta:hover,
.nav-cta:active {
  background-color: #0b6dec;
  transition: background-color 0.4s;
}

.hamburger-menu {
  z-index: 30;
  position: fixed;
  right: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
  display: none;
}

.btn-mobile {
  height: 4.8rem;
  width: 4.8rem;
  fill: #004aad;
  transition: all 0.5s;
}

.btn-mobile[name="close-outline"] {
  display: none;
}

/* Hero Section */

.hero {
  height: 100vh;
  background-color: #ffffff;
  overflow: hidden;
  display: contents;
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0rem auto 0 auto;
  max-width: 120rem;
  padding: 6rem 2rem 0 2rem;
}

.primary-heading {
  font-size: 4.5rem;
  font-weight: 650;
  line-height: 7.2rem;
  margin-top: 14rem;
}

.hero-description {
  font-size: 1.6rem;
  line-height: 2.5rem;
  margin-top: 3.5rem;
}

.hero-image {
  float: right;
  max-width: 42rem;
  width: 100%;
  height: auto;
  padding-top: 5rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 1.7rem 4.5rem;
  font-size: 1.2rem;
  border: none;
  border-radius: 0.7rem;
}

.btn.extended {
  color: #ffffff;
  margin-top: 3.5rem;
  background-color: #004aad;
  box-shadow: 0px 5px 5px rgba(49, 48, 48, 0.5);
}

.btn.extended:hover,
.btn.extended:active {
  background-color: #0b6dec;
  transition: background-color 0.4s;
}

.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 15px;
  background-color: #0b6dec;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  opacity: 0; /* Start hidden */
  visibility: hidden;
  transform: scale(0.8);
  transition: opacity 0.3s ease-in-out, visibility 0.3s,
    transform 0.3s ease-in-out;
}

.float.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.my-float {
  margin-top: 16px;
}

/* SERVICES SECTION */

.services {
  padding-top: 3rem;
  background-color: #004aad;
  color: #ffffff;
}

.centering-container {
  max-width: 120rem;
  margin: 0 auto;
}

.title {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2rem;
  margin-left: 2.2rem;
}

.grid-container {
  margin: 7rem 2.2rem 0rem 2.2rem;
  display: flex;
  justify-content: space-between;
  padding-bottom: 9rem;
}

.grid {
  background-color: #ffffff;
  color: #000000;
  padding: 2rem 2.2rem 5rem 2.2rem;
  margin-right: 8rem;
  display: block;
  width: 50%;
  text-align: center;
  border-radius: 5px;
  transition: all 0.7s;
}

.grid:hover {
  transform: scale(1.03);
}

.grid:last-child {
  margin-right: 0rem;
}
.icon {
  margin-top: 2.2rem;
  max-width: 100%;
  height: auto;
}

.service-title {
  font-size: 1.6rem;
  margin: 2.2rem auto;
}

.service-description {
  font-size: 1.2rem;
  line-height: 2rem;
}

.btn-read-more:link,
.btn-read-more:visited {
  color: #004aad;
  display: inline-block;
  margin-top: 3rem;
  padding: 1.7rem 4.5rem;
  border: 0.2rem;
  border-style: solid;
  border-color: #004aad;
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 1.2rem;
  box-shadow: 0px 5px 5px 0.5px rgba(0, 0, 0, 0.3);
}

.btn-read-more:hover,
.btn-read-more:active {
  color: #ffffff;
  background-color: #0b6dec;
  border-color: #0b6dec;
  transition: background-color 0.3s;
}

/* About me section */
.right-side {
  display: flex;
  justify-content: flex-end;
  color: #004aad;
  font-weight: 600;
}

.about-me-upper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23rem;
  /* padding-top: 2.2rem; */
  justify-content: center;
  align-items: center;
  margin-top: 10rem;
  padding: 2rem 2.2rem 5rem 2.2rem;
}

.about-me {
  padding-top: 3rem;
}
.whom {
  font-size: 1.6rem;
  font-weight: 700;
}

.about-me-text-description {
  margin-top: 5rem;
  margin-bottom: 3rem;
  font-size: 1.2rem;
  line-height: 2.5rem;
}

.about-me-image img {
  max-width: 100%;
  height: auto;
}

.about-me-lower {
  margin-top: 5rem;
  margin-bottom: 5rem;
  display: flex;
  padding: 2rem 2.2rem 5rem 2.2rem;
}

.about-me-image {
  position: relative;
}

.experience-img {
  margin-right: 4rem;
}

.about-me-image::after {
  content: "";
  position: absolute;
  width: 45rem;
  height: 45rem;
  background-color: #004aad;
  border-radius: 50%;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.my-skills {
  font-size: 3rem;
  font-weight: 700;
  color: #004aad;
  letter-spacing: 2rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  column-gap: 10rem;
  row-gap: 4.8rem;
  margin-top: 3.7rem;
  align-items: center;
  justify-content: center;
}

.skills-micro-grid {
  display: inline-block;
  text-align: center;
  /* transition: all 0.4s; */
}
.skills-micro-grid p {
  font-size: 1.2rem;
  padding-top: 1rem;
}

.skills-micro-grid img {
  max-width: 100%;
  height: auto;
}

/* .skills-micro-grid:hover {
  transform: scale(1.1);
} */

/* Section Projects */

.projects {
  background-color: #004aad;
  color: #ffffff;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.projects-head {
  font-size: 4.5rem;
  font-weight: 700;
  margin-top: 7rem;
  margin-bottom: 9rem;
  text-align: center;
}

.project {
  background-color: #ffffff;
  color: #000000;
  padding: 3.5rem 8.2rem 3.3rem 8.2rem;
  border-radius: 2rem;
  display: flex;
  gap: 5rem;
  justify-content: space-between;
  align-items: center;
  /* margin-bottom: 5rem; */
  margin: 3rem 2.2rem 5rem 2.2rem;
}

.project-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 3rem;
}

.project-description {
  margin: 3rem auto 0rem auto;
  font-size: 1.2rem;
  line-height: 2rem;
}

.project-img img {
  width: auto;
  height: auto;
}

.btn-with-arrow:link,
.btn-with-arrow:visited {
  color: #004aad;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding: 0.8rem 3rem;
  border: 0.2rem;
  text-decoration: none;
  border-radius: 3rem;
  font-size: 1.2rem;
  box-shadow: 0px 1px 5px 0.5px rgba(0, 0, 0, 0.3);
}

.arrow-icon {
  font-weight: 600;
  font-size: 2.5rem;
}

.btn-with-arrow:hover,
.btn-with-arrow:active {
  background-color: #0b6dec;
  color: #ffffff;
  transition: background-color 0.3s;
}

/* Testimonial section */

.testimonials {
  padding-top: 3rem;
  margin-bottom: 10rem;
  position: relative;
  text-align: center;
}

.testimonial-heading {
  font-size: 4.5rem;
  font-weight: 700;
  margin-top: 7rem;
  margin-bottom: 5rem;
  text-align: center;
  color: #004aad;
  line-height: 6rem;
}

.slider {
  position: relative;
  display: inline-block;
  overflow: visible;
  width: auto;
  margin: auto 4rem auto 4rem;
}

.slide {
  padding: 1rem 5rem 2rem 5rem;
  display: inline-block;
  text-align: center;
  box-shadow: 0px 1px 5px 0.5px rgba(0, 0, 0, 0.3);
  border-radius: 1rem;
  position: relative;
}

.hidden {
  display: none;
  visibility: hidden;
  opacity: 0;
  height: 0rem;
  width: 0rem;
}

.quote-icon {
  display: block;
  margin-top: 3rem;
  position: relative;
  left: 8%;
}

.blank-profile {
  border-radius: 50%;
  width: 10em;
  margin-top: 3rem;
}

.testimonial-in-quote {
  font-size: 1.2rem;
  line-height: 2rem;
  word-wrap: break-word;
}

.author {
  margin-top: 2.5rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.job-description {
  color: #004aad;
  font-size: 1.6rem;
  margin-top: 1rem;
  letter-spacing: 0.5rem;
}

.btn-arrow {
  position: absolute;
  cursor: pointer;
}

.right {
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
}

.left {
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Contact Section */

.contact {
  color: #ffffff;
  background-color: #004aad;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.contact-heading {
  font-size: 4.5rem;
  font-weight: 700;
  margin-top: 7rem;
  margin-bottom: 2rem;
  color: #ffffff;
  line-height: 6rem;
}

.contact-text-description {
  font-size: 1.2rem;
  line-height: 2rem;
  margin-bottom: 2.5rem;
  margin-right: 8rem;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 2rem 2.2rem 0rem 2.2rem;
}

.social-media-icons {
  display: flex;
  gap: 3rem;
}

.cta-container {
  margin-top: 7rem;
  display: inline-block;
}

.cta-form {
  font-size: 1.6rem;
}

.cta-form input {
  background-color: #f5f5f5;
  font-size: 1.6rem;
  padding: 2rem 1.2rem;
  width: 100%;
  margin-bottom: 1rem;
  border: none;
}

form input[type="text"] {
  padding-bottom: 20rem;
}

.btn-form {
  color: #004aad;
  display: inline-block;
  padding: 1.7rem 4.5rem;
  width: 100%;
  border: 0.2rem;
  border-style: solid;
  border-color: #004aad;
  text-decoration: none;
  border-radius: 0.8rem;
  font-size: 1.6rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.btn-form:hover {
  transform: scale(1.02);
}

hr {
  margin-top: 10rem;
}

.footer {
  margin-top: 5rem;
  font-size: 1.6rem;
  text-align: center;
}
