/*
--- 01 TYPOGRAPHY SYSTEM

- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

Font weights
Default: 400
Semi-bold: 700
Bold: 900

- Line heights
Default: 1
Small: 1.05
Medium: 1.6
Paragraph default: 1.8

- Letter spacing
-0.5px Primary Heading
-0.75px Heading



--- 02 COLORS

- Primary: #4bd2b2
- Tints:


- Shades: 
#3ca88e

- Accents: #ff6f6f
- Greys
#312F4A


--- 05 SHADOWS

0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);

0 0.4rem 1rem rgba(0, 0, 0, 0.075);

--- 06 BORDER-RADIUS

Default: 9px
Medium: 11px

--- 07 WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.8rem;
  height: 9.6rem;
  position: relative;
}

.main-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4.8rem;
}

.logo,
.main-nav-link:link,
.main-nav-link:visited {
  text-decoration: none;
  font-size: 2rem;
  display: inline-block;
  font-weight: 700;
  color: #312f4a;
  transition: all 0.1s;
}

.logo {
  font-size: 3rem;
}

.logo:before {
  content: "<";
}

.logo:after {
  content: ">";
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #4bd2b2;
}

.btn-resume {
  text-align: center;
  border: 5px solid #4bd2b2;
  padding: 1rem 2rem;
  color: #4bd2b2;
}

.btn:link,
.btn:visited {
  display: inline-block;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 700;
  padding: 1.6rem 3.2rem;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  text-align: center;
}

.btn--full:link,
.btn--full:visited {
  color: #163f35;
  background-color: #4bd2b2;
}

.btn--full:hover,
.btn--full:active {
  background-color: #3ca88e;
  transform: translateY(-3px);
  box-shadow: 0 13px 20px rgba(0, 0, 0, 0.2);
}

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
  z-index: 1;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #312f4a;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  z-index: 999;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 0.8rem 2.4rem rgba(75, 210, 178, 0.1);
  background-color: #e6fbf9;
  border-bottom: 2px solid #66c9b3;
  color: #222222; /* header text */
}

.sticky .section-hero {
  margin-top: 9.6rem;
}

/**************************/
/* HERO SECTION */
/**************************/

.section-hero {
  padding: 4.8rem 0 9.6rem 0;
  height: calc(100vh - 9.6rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 9.6rem;
  align-items: center;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}

.message {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1.2rem;
}

.bar {
  height: 0.7rem;
  width: 10rem;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.bar--green {
  background-color: #4bd2b2;
}

.bar--orange {
  background-color: #ff6f6f;
}

.hero-img {
  width: 100%;
}

.hero-subheading {
  font-size: 2.4rem;
  margin-bottom: 3.4rem;
  font-weight: 400;
  color: #ff6f6f;
}

.action-buttons {
  display: flex;
  gap: 2rem;
}

/**************************/
/* PROJECTS SECTION */
/**************************/

.section-projects {
  padding: 9.6rem 0;
}

/* .projects-container {
  display: flex;
  flex-direction: column;
  gap: 6.4rem;
} */

.projects-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8rem;
  margin-bottom: 3.2rem;
}

.project {
  border-radius: 1rem;
  box-shadow: 0 1rem 1.8rem rgba(0, 0, 0, 0.075);
  background-color: #fff;
  overflow: hidden;
  transition: all 0.4s;
  display: grid;
  column-gap: 1rem;
  /* row-gap: 9.6rem; */
  grid-template-columns: repeat(1, 1fr);
  /* grid-template-columns: 1fr; */
}

.project-text-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.2rem;
  text-align: center;
}

.project-image-box {
  overflow: hidden;
}

.project-image {
  max-width: 100%;
  transition: filter 0.5s;
  max-height: 100%;
  filter: grayscale(5%);
  padding: 2.4rem;
}

.lazy-img {
  filter: blur(20px);
}

/* .project-image:hover {
  transform: scale(1.09);
  cursor: pointer;
} */

.project-text-box {
  padding: 3.2rem;
}

.project-description {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 3.2rem;
}

.technologies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.technology-tag {
  background-color: #e6fbf9;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.project-icons {
  display: flex;
  list-style: none;
  align-items: center;
  justify-content: center;
}

.project-icon {
  height: 2.8rem;
  width: 2.8rem;
  font-weight: 700;
  border-radius: 50%;
  padding: 1.4rem;
  transition: all 0.3s ease;
}

.project-link:link,
.project-link:visited {
  color: #312f4a;
}

.project-link:active .project-icon,
.project-link:hover .project-icon {
  color: #312f4a;
  background-color: #edfbf7;
}

/**************************/
/* ABOUT SECTION */
/**************************/
.section-about {
  padding: 9.6rem 0;
}

.about-grid {
  justify-content: center;
  align-items: center;
}

.about-image {
  width: 60%;
  transition: all 0.4s;
  justify-self: center;
  box-shadow: #4bd2b2 10px -10px;
}

.about-image:hover {
  box-shadow: 0;
  box-shadow: #312f4a 10px -10px;
}

.about-image-box {
  text-align: center;
  border-left: 1px solid #4bd2b2;
}

.about-description {
  font-size: 2rem;
  line-height: 1.8;
  margin-bottom: 3.2rem;
  color: #312f4a;
}

.skill-category {
  font-weight: 600;
}

.skills-list {
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  row-gap: 1.2rem;
}

.skills-attribute {
  display: flex;
  gap: 1.6rem;
  font-size: 1.8rem;
}

.skills-icon {
  width: 2.4rem;
  height: 2.4rem;
  color: #312f4a;
}

.strong {
  font-weight: bold;
}

/* =================================
   PROFESSIONAL EXPERIENCE
================================= */

.section-experience {
  padding: 9.6rem 0;
}

/* Two-column layout */
.experience-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
  max-width: 110rem;
  margin: 0 auto 0;
  align-items: stretch;
}

/* Experience Card */
.experience-item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.experience-dot {
  display: none;
}

.experience-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 3.2rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 4px solid #4bd2b2;
  border-radius: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Date */
.experience-date {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: #c96b19;
  font-size: 1.6rem;
  font-weight: 600;
}

/* Role and Company */
.experience-role {
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
  color: #222;
}

.experience-company {
  font-size: 1.6rem;
  font-weight: 400;
  color: #777;
  margin-bottom: 2rem;
}

/* Responsibilities */
.experience-details {
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.experience-details li {
  font-size: 1.8rem;
  line-height: 1.6;
  color: #312f4a;
  margin-bottom: 1rem;
}

/* Technology Tags */
.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1.5rem;
  justify-content: center;
}

.experience-tags span {
  padding: 0.6rem 1.2rem;
  border-radius: 0.6rem;
  background: #ffa9a9;
  font-size: 1.4rem;
  font-weight: 700;
}

/* Tablet */
@media (max-width: 900px) {
  .experience-timeline {
    grid-template-columns: 1fr;
    max-width: 65rem;
    gap: 2.5rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .section-experience {
    padding: 6rem 0;
  }

  .experience-timeline {
    margin-top: 3.5rem;
    gap: 2rem;
  }

  .experience-card {
    padding: 2rem;
  }

  .experience-role {
    font-size: 1.8rem;
  }

  .experience-details li {
    font-size: 1.4rem;
  }
}

/* =================================
   RESPONSIVE DESIGN
================================= */

@media (max-width: 768px) {
  .section-experience {
    padding: 6rem 0;
  }

  .experience-timeline {
    margin-top: 3.5rem;
  }

  .experience-item {
    padding-left: 3.8rem;
    margin-bottom: 3rem;
  }

  .experience-card {
    padding: 2rem;
  }

  .experience-role {
    font-size: 1.9rem;
  }

  .experience-details li {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .experience-item {
    padding-left: 3.2rem;
  }

  .experience-card {
    padding: 1.6rem;
  }

  .experience-tags span {
    font-size: 1.2rem;
  }
}

/**************************/
/* Footer SECTION */
/**************************/
.footer {
  padding: 12.8rem 0;
}

.footer-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4.8rem 8rem;
}

/* .grid--footer {
  display: grid;
  grid-template-columns: 25fr 75fr;
  column-gap: 9.6rem;
  padding: 4.8rem 6.4rem;
  border: 1px solid orange;
  align-items: center;
} */

.contact-content {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 3.2rem;
  text-align: center;
}

.social-icon {
  height: 3.2rem;
  width: 3.2rem;
  background-color: #4bd2b2;
  padding: 1.6rem;
  border-radius: 50%;
  font-weight: 700;
}

.centered-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-direction: column;
}

.inline-block {
  display: inline-block;
}

.footer-link:link,
.footer-link:visited {
  color: #fff;
  transition: all 0.3s;
}

.footer-link:hover .social-icon {
  background-color: #3ca88e;
}

.social-media-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

/**************************/
/* HERO SECTION */
/**************************/
.more-projects-container {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  width: 50%;
}

*:focus {
  /* outline: 10px dotted rgba(166, 236, 220, 0.8); */
  outline-offset: 10px;
}

/* Animations */

@keyframes ToRight {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }

  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

.deploy-note {
  font-size: 1.4rem;
  margin-top: 0.8rem;
}
