/* GENERAL RESET */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  margin: 0;

  color: #101c2c;
  background-color: #f6faff;

  font-family: Arial, Helvetica, sans-serif;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}


/* HEADER */

.header {
  width: 100%;

  color: white;
  background-color: #0d1a28;
}

.header_content {
  width: 88%;
  max-width: 1360px;
  min-height: 64px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  margin: 0 auto;
}

.logo {
  color: white;
  font-size: 30px;
  font-weight: 700;
}

.nav_bar {
  display: flex;
  align-items: center;
  gap: 46px;
}

.nav_bar a {
  color: white;
  font-size: 16px;
}

.nav_bar a:hover {
  color: #05bdf4;
}

.talk_button {
  padding: 10px 25px;

  color: #05c7f7 !important;

  border: 1px solid #05c7f7;
  border-radius: 5px;
}

.talk_button:hover {
  color: #0d1a28 !important;
  background-color: #05c7f7;
}


/* HERO SECTION */

.hero_section {
  padding: 24px 0;

  background:
    radial-gradient(
      circle at 40% 20%,
      rgba(21, 146, 230, 0.08),
      transparent 34%
    ),
    linear-gradient(110deg, #eef7ff, #f9fcff);
}

.hero_content {
  width: 88%;
  max-width: 1360px;

  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 80px;

  margin: 0 auto;
}

.hero_text {
  padding: 10px 0;
}

.bullet_text {
  margin: 0 0 15px;

  color: #0789e6;

  font-size: 18px;
  font-weight: 700;
}

.title_heading {
  max-width: 580px;
  margin: 0;

  color: #101c2c;

  font-size: clamp(42px, 4vw, 58px);
  line-height: 1.05;
}

.description_text {
  max-width: 550px;
  margin: 18px 0 26px;

  color: #263444;

  font-size: 17px;
  line-height: 1.45;
}

.hero_buttons {
  display: flex;
  gap: 20px;
}

.work_button,
.support_button {
  min-width: 157px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 13px 24px;

  border-radius: 5px;

  font-size: 15px;
  font-weight: 700;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.work_button {
  color: white;
  background-color: #078bea;
  border: 1px solid #078bea;
}

.work_button:hover {
  background-color: #006fc2;
  transform: translateY(-2px);
}

.support_button {
  color: #078bea;
  background-color: transparent;
  border: 1px solid #078bea;
}

.support_button:hover {
  color: white;
  background-color: #078bea;
  transform: translateY(-2px);
}

.profile_pic {
  width: 100%;
  height: 302px;
  display: block;

  object-fit: cover;

  border-radius: 15px;
}


/* SKILLS BANNER */

.skills_banner {
  width: 100%;

  background-color: white;

  border-top: 1px solid #dce4eb;
  border-bottom: 1px solid #dce4eb;
}

.skills_content {
  width: 80%;
  max-width: 1250px;
  min-height: 64px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  margin: 0 auto;
}

.skill_div {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

.skill_div:not(:last-child)::after {
  content: "";

  position: absolute;
  top: 16px;
  right: 0;

  width: 1px;
  height: 32px;

  background-color: #dce4eb;
}

.skill_div svg {
  width: 34px;
  height: 34px;

  color: #0b355f;
  stroke-width: 1.6;
}

.skill_div p {
  margin: 0;
  font-size: 15px;
}


/* PAGE CONTENT */

.page_content {
  padding: 14px 0 13px;
  background-color: #f7fbfe;
}

.featured_projects_section,
.help_section,
.contact_banner {
  width: 88%;
  max-width: 1360px;

  margin-right: auto;
  margin-left: auto;
}


/* SECTION HEADER */

.section_header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 9px;
}

.section_header h2 {
  margin: 0;

  color: #101c2c;

  font-size: 23px;
}

.section_header a {
  color: #0789e6;
  font-size: 14px;
}


/* FEATURED PROJECTS */

.featured_projects_container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.featured_project_card {
  min-width: 0;
  height: 145px;

  display: flex;
  align-items: center;
  gap: 16px;

  padding: 10px;
  overflow: hidden;

  background-color: white;

  border: 1px solid #e1e7ed;
  border-radius: 12px;

  box-shadow: 0 4px 13px rgba(15, 29, 43, 0.09);
}

.project_image {
  width: 200px;
  height: 123px;
  display: block;
  flex-shrink: 0;

  object-fit: cover;

  border-radius: 9px;
}

.project_details {
  min-width: 0;
  height: 123px;
  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 4px 0;
}

.project_type_text {
  margin: 0 0 7px;

  color: #0789e6;

  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.project_name {
  margin: 0 0 6px;

  color: #111b2b;

  font-size: 16px;
}

.project_description {
  margin: 0 0 6px;

  color: #2f3a48;

  font-size: 13px;
  line-height: 1.3;
}

.project_link {
  margin-top: auto;

  color: #0789e6;

  font-size: 13px;
}


/* HOW I CAN HELP */

.help_section {
  margin-top: 17px;
}

.help_heading {
  margin: 0 0 9px;

  color: #101c2c;

  font-size: 23px;
}

.help_container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.help_card {
  min-width: 0;
  min-height: 93px;

  display: flex;
  align-items: center;
  gap: 16px;

  padding: 14px;

  color: #101c2c;
  background-color: white;

  border: 1px solid #e1e7ed;
  border-radius: 11px;

  box-shadow: 0 4px 12px rgba(15, 29, 43, 0.08);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.help_card:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 18px rgba(15, 29, 43, 0.14);
}

.help_icon {
  width: 71px;
  height: 63px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #075ba9;
  background-color: #e8f4ff;

  border-radius: 10px;
}

.help_icon svg {
  width: 39px;
  height: 39px;
  stroke-width: 1.7;
}

.help_information {
  min-width: 0;
  flex: 1;
}

.help_information h3 {
  margin: 0 0 7px;
  font-size: 16px;
}

.help_information p {
  margin: 0;

  color: #293746;

  font-size: 13px;
  line-height: 1.35;
}

.help_arrow {
  margin-left: auto;

  color: #7b8794;

  font-size: 34px;
}


/* CONTACT BANNER */

.contact_banner {
  min-height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 16px;
  padding: 10px 180px;

  color: white;
  background-color: #0d1d2d;

  border-radius: 11px;
}

.contact_message {
  display: flex;
  align-items: center;
  gap: 23px;
}

.contact_icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  background-color: #275d90;

  border-radius: 50%;
}

.contact_icon svg {
  width: 31px;
  height: 31px;
}

.contact_message h2 {
  margin: 0 0 4px;
  font-size: 20px;
}

.contact_message p {
  margin: 0;

  color: #d4dce4;

  font-size: 13px;
}

.contact_button {
  min-width: 138px;

  padding: 11px 20px;

  color: white;
  background-color: #078bea;

  border-radius: 5px;

  text-align: center;
  font-size: 14px;
  font-weight: 700;
}


/* FOOTER */

.footer {
  width: 100%;
  min-height: 115px;
  display: block;
  flex-shrink: 0;

  padding: 20px 0 12px;

  color: white;
  background-color: #0d1d2d;
}

.footer_content {
  width: 87%;
  max-width: 1340px;

  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;

  margin: 0 auto;
}

.footer_brand h2 {
  margin: 0 0 5px;
  font-size: 21px;
}

.footer_brand p {
  margin: 3px 0;

  color: #d5dde5;

  font-size: 12px;
}

.footer_navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.footer_navigation a {
  color: white;
  font-size: 14px;
}

.footer_navigation a:hover {
  color: #05bdf4;
}


/* SOCIAL MEDIA ICONS */

.social_links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.social_links a {
  width: 22px;
  height: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.social_links a:hover {
  color: #05bdf4;
  transform: translateY(-2px);
}

.social_links svg {
  width: 20px;
  height: 20px;
  display: block;
}

.copyright {
  margin: -3px 0 0;

  color: #bec8d1;

  text-align: center;
  font-size: 12px;
}


/* TABLET */

@media (max-width: 1100px) {

  .nav_bar {
    gap: 24px;
  }

  .hero_content {
    gap: 40px;
  }

  .featured_projects_container,
  .help_container {
    grid-template-columns: 1fr;
  }

  .contact_banner {
    padding: 15px 40px;
  }

}


/* MOBILE */

@media (max-width: 750px) {

  .header_content {
    width: 92%;
    padding: 14px 0;
  }

  .logo {
    font-size: 24px;
  }

  .nav_bar a:not(.talk_button) {
    display: none;
  }

  .talk_button {
    padding: 9px 15px;
  }

  .hero_content {
    width: 92%;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .title_heading {
    font-size: 40px;
  }

  .profile_pic {
    height: 250px;
  }

  .skills_content {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .skill_div {
    min-height: 65px;
  }

  .featured_projects_section,
  .help_section,
  .contact_banner {
    width: 92%;
  }

  .featured_project_card {
    height: auto;
    flex-direction: column;
  }

  .project_image {
    width: 100%;
    height: 190px;
  }

  .project_details {
    width: 100%;
    height: auto;
  }

  .contact_banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;

    padding: 18px;
  }

  .contact_button {
    width: 100%;
  }

  .footer {
    padding: 25px 0;
  }

  .footer_content {
    width: 92%;
    grid-template-columns: 1fr;
    gap: 22px;

    text-align: center;
  }

  .footer_navigation {
    flex-wrap: wrap;
    gap: 15px 25px;
  }

  .copyright {
    margin-top: 24px;
  }

}