/* GENERAL */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 9vh;  
}

body {
  font-family: "Poppins", sans-serif;
  color: #ffffff;
  background-color: #051824;
}

html {
  scroll-behavior: smooth;
}

p {
  color: #ffffff;
}

/* TRANSITION */

a,
.btn {
  transition: all 300ms ease;
}

/* DESKTOP NAV */

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 9vh;
  color: #ffffff;
  background-color: #051824;
  width: 100%;
  position:sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 0.2px solid #f0f0f0; 
  backdrop-filter: blur(6px);  

}

.logo{
    font-size: 2rem;
}

.logo:hover {
    cursor: default;
 }

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.2rem;
}

a {
  color: #ffffff;
  text-decoration: none;
  text-decoration-color: white;
}

a:hover {
  color: #808fac;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: #808fac;
}


/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
  color: #ffffff;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #27e9b5;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.2rem;
  color: black;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}






/* SECTIONS */

section {
  min-height: 96vh;  
  height: auto;       
  padding-top: 4vh;
  margin: 0 10rem;
  box-sizing: border-box;
}

.section-container {
  display: flex;
}





/* PROFILE SECTION */

#profile {
  display: flex;
  justify-content: center;
  gap: 5rem;
  height: 80vh;
  flex-direction: row-reverse;
}

.section__pic-container {
  display: flex;
  height: 600px;
  width: 600px;
  margin: auto 0;
}

.section__pic-container img{
    height: 100%;
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border-width: 40px;

  }


.section__text {
  align-self: center;
  text-align: center;
  max-width: 600px;
}

.section__text p {
  font-weight: 400;
}

.section__text__p1 {
  text-align: center;
}

.section__text__p2 {
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #27e9b5
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

.highlight {
  font-weight: bold; 
  color: #27e9b5; 
}

/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
}

/* BUTTONS */

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  font-weight: 600;
  font-size: medium;
  transition: all 300ms ease;
  padding: 1rem;
  width: 9rem;
  border-radius: 2rem;
}

.btn-color-1,
.btn-color-2 {
  border: #27e9b5 0.1rem solid;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1{
  background: #27e9bf;
  color: #051824;
}

.btn-color-1:hover {
  background-color: transparent;
  color: #27e9b5; 
  border-color: #27e9b5;
  transition: all 0.3s ease;
}
.btn-color-2:hover {
  background-color: #27e9b5;
  color: #051824; 
  border-color: #27e9b5;
  transition: all 0.3s ease;
}


.btn-color-2 {
  background: none;
  color: #27e9bf;
}

.btn-container {
  gap: 1rem;
}
  
  
.icon {
  cursor: pointer;
  height: 2rem;
  filter: brightness(0) invert(1);  
}



  
/* ABOUT SECTION */

#about {
    padding-top: 14vh;
    position: relative;
    padding: 2rem; 
    margin-bottom: 4rem;
  }
  
  .experience-sub-title {
    color: rgb(85, 85, 85);
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center; 
  }
  
  .experience-details-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center; 
  }

 article i {
    font-size: 4rem; 
    color: #333;
  }  
  .experience-info {
    margin-top: 0.5rem;
    margin-bottom: 3rem; 
    text-align: center;
    font-size: 1rem; 
    color: #ffffff;
  }

  
  .flip-card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: center;
    margin-top: 2rem;
  }
  
  .flip-card {
    background-color: transparent;
    width: 280px;
    height: 280px;
    perspective: 1000px;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front,
  .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    padding: 1rem;
    text-align: center;
  }
  
  .flip-card-front {
    background-color: #27e9b5;
    color: #0b1b2e;
  }
  
  .flip-card-back {
    background-color: #0b1b2e;
    color: white;
    transform: rotateY(180deg);
    border: 2px solid #27e9b5;
  }
  
  .card-icon-wrapper i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }
  
  .card-icon-wrapper p {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    color: inherit;
  }
  
  .icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    justify-items: center;
    align-items: center;
  }
  
  .icon-grid i {
    font-size: 2.3rem;
    cursor: pointer;
  }
  
  .icon-grid i:hover {
    opacity: 0.8;
  }

  .card-footer-note {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
  }
  
  .icon-note {
    font-size: 0.65rem;
    font-style: italic;
    color: #aaa;
  }
  
  
  
  
  

/* EXPERIENCE SECTION */
#experience {
  position: relative;
  margin-bottom: 4rem; 
}

.experience-edu-header {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0 1rem 0;
}

.experience-title {
  color: #27e9b5;
  font-size: 3rem;
  width: 50%;
  text-align: center;
}


.education-title {
  color: #27e9b5;
  font-size: 3rem;
  width: 50%;
  text-align: center;
}


.experience-section {
  padding: 3rem 2rem;
}

.experience-pair-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.experience-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.experience-card {
  background-color: transparent;
  color: white;
  border: 1.5px solid #27e9b5;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.experience-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.exp-logo-rect {
  width: 70px;
  height: 70px;
  object-fit: contain; 
  background-color: transparent;
  background-blend-mode: multiply;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: justify;

}


.exp-title,
.exp-dates {
  margin: 0;
  font-size: 0.9rem;
}

ul {
  padding-left: 1.2rem;
  list-style: disc;
  line-height: 1.5;
  margin: 0;
}





/* PROJECTS SECTION */

#projects {
    position: relative;
    padding: 2rem;
    margin-top: 10rem;
  }
  
  .projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
  }
  
  .project-tile {
    width: 30%; 
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .project-img-container {
    position: relative;
    width: 100%;
    padding-top: 75%;
    background-size: cover;
    background-position: center;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-width: 10px;
    border-color: black;
    border: 2px solid #000;
  }
  
  .project-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.2s;
  }
  
  .project-img-container:hover .project-overlay {
    opacity: 1;
  }
  
  .github-icon {
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
  }
  
  .project-content {
    text-align: center;
    margin-top: 1rem;
  }
  
  .project-title {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  .project-description {
    margin: 0;
    font-size: 1rem;
  }
  
  .project-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .project-img-container:hover .project-overlay {
    opacity: 1;
  }
  
  .github-icon,
  .view-icon {
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .github-icon:hover,
  .view-icon:hover {
    transform: scale(1.15);
    color: #27e9b5;
  }
  
  
  




/* CONTACT */

.contact-section {
  text-align: center;
  padding: 4rem 2rem;
  color: white;
}

.contact-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 1.5rem auto 2rem;
  color: #ccc;
}

.cta-button {
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  border: 2px solid #27e9b5;
  background: transparent;
  color: #27e9b5;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #27e9b5;
  color: #0b1b2e;
  box-shadow: 0 0 10px #27e9b5aa;
}

.contact-details {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.contact-left,
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 200px;
}

.contact-info-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  justify-content: flex-start;
}

.contact-info-container a {
  color: #ffffff;
  text-decoration: none;
}

.contact-info-container a:hover {
  text-decoration: underline;
}

.contact-icon {
  font-size: 1.5rem;
  color: #27e9b5 !important;
}

.hidden {
  display: none;
}



    



/* FOOTER SECTION */

.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.95rem;
  color: #aaa;
  border-top: 1px solid #27e9b5;
  margin-top: -10px;
}