/* GENERAL */

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

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}

p {
    color: rgb(85, 85, 85);
}

/* TRANSITION */

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

/* DESKTOP NAV */

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

nav {
    justify-content: space-around;
    align-items: center;
    height: 15vh;
}

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

a {
    color: black;
    text-decoration: none;
    text-decoration-color: white;
}

a:hover {
    color: grey;
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: rgb(181, 181, 181);
}

.logo {
    font-size: 1.3rem;
}

.logo:hover {
    cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav {
    display: none;
}

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

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

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

.menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    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.5rem;
    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 {
    padding-top: 4vh;
    height: 96vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
}

.section-container {
    display: flex;
}

/* PROFILE SECTION */

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

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

.section__text {
    align-self: center;
}

.section__text p {
    font-weight: 600;
}

.section__text__p1 {
    text-align: center;
}

.section__text__p2 {
    font-size: 1.5rem;
    margin-top: 0.2rem;
    margin-bottom: 2.2rem;
    text-align: center;
}

.title {
    font-size: 3rem;
    text-align: center;
}

.actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

#socials-container {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}

/* ICONS */

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

/* BUTTONS */

.btn-container {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}

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

.btn-color-1,
.btn-color-2 {
    border: rgb(53, 53, 53) 0.1rem solid;
}

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

.btn-color-1,
.btn-color-2:hover {
    background: rgb(53, 53, 53);
    color: white;
}

.btn-color-1:hover {
    background: rgb(0, 0, 0);
}

.btn-color-2 {
    background: none;
}

.btn-color-2:hover {
    border: rgb(255, 255, 255) 0.1rem solid;
}

.view-github-container {
    margin-top: 10px;
}

.view-github-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: grey;
    font-size: 12px;
}

.view-github-link:hover {
    color: #0056b3;
    /* Darker color on hover */
}

.expand-icon {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    vertical-align: middle;
    color: grey;
}

/* ABOUT SECTION */

#about {
    position: relative;
}

.about-containers {
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
}

#about .about-containers{
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.about-details-container {
    justify-content: center;
    flex-direction: column;
    display: flex;
}

.about-intro{
  line-height: 1.7;
  font-size: 1.05rem;
}

.about-pic {
    border-radius: 2rem;
}

.affiliation-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

.affiliation-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: #555;
}

.affiliation-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.arrow {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
}

.Arrow {
    position: absolute;
    right: 5rem;
    bottom: 2.5rem;
}

.details-container {
    padding: 1.2rem;
    flex: 1;
    background: white;
    border: rgb(163, 163, 163) 0.1rem solid;
    border-color: rgb(163, 163, 163);
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.specialization {
    margin-top: 10px;
}

.section-container {
    gap: 4rem;
    height: 80%;
}

.section__pic-container {
    height: 400px;
    width: 400px;
    margin: auto 0;
}

.interest-title{
  margin-bottom: 10px;
}

.interest-tags{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.interest-tags li{
  padding: 8px 12px;
  border: 1px solid rgb(163, 163, 163);
  border-radius: 999px;
  background: rgb(250, 250, 250); 
  font-size: 0.95rem;
  line-height: 1;
}

/* EXPERIENCE SECTION */

#experience {
    position: relative;
}

.experience-sub-title {
    color: rgb(85, 85, 85);
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.experience-details-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.experience-details-container .about-containers{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  align-items: start;
}

.experience-details-container .project-card{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: 100%;
}

.article-container {
    display: flex;
    text-align: initial;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: space-around;
}

article {
    display: flex;
    width: 10rem;
    justify-content: space-around;
    gap: 0.5rem;
}

article .icon {
    cursor: default;
}

/* PROJECTS SECTION */

#projects {
    position: relative;
    height: fit-content;
}

.color-container {
    border-color: rgb(163, 163, 163);
    background: rgb(250, 250, 250);
}

.project-tabs{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 18px 0 26px;
}

.project-tabs .tab{
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.12s ease, background 0.12s ease;
}

.project-tabs .tab:hover{
  transform: translateY(-1px);
  background: #f8fafc;
}

.project-tabs .tab.active{
  background: #111827;
  color: white;
  border-color: #111827;
}

.project-img {
    border-radius: 2rem;
    width: 250px;
    height: 280px;
    object-fit: cover;
}

.project-title {
    margin: 1rem;
    color: black;
}

.project-btn {
    color: black;
    border-color: rgb(163, 163, 163);
}

.tech-icons-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.tech-icon {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    border: 2px solid black;
    padding: 2px;
}


/* CONTACT */

#contact {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 70vh;
}

.contact-info-upper-container {
    display: flex;
    justify-content: center;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    background: (250, 250, 250);
    margin: 2rem auto;
    padding: 0.5rem;
}

.contact-info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem;
}

.contact-info-container p {
    font-size: larger;
}

.contact-icon {
    cursor: default;
}

/* FOOTER SECTION */

footer {
    height: 18vh;
    margin: 0 1rem;
}

footer p {
    text-align: center;
}


/* ACHIEVEMENTS SECTION */

#achievements {
  text-align: center;
  margin-top: 6rem;
}

.achievement-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
}

.achievement-card {
  display: flex;
  gap: 2.5rem;
  padding: 2.5rem;
  max-width: 1100px;
  background: white;
  border-radius: 2rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.achievement-image img {
  width: 420px;
  height: 280px;
  object-fit: cover;
  border-radius: 1.5rem;
}

.achievement-content {
  text-align: left;
  max-width: 500px;
}

.achievement-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.achievement-content h2 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.achievement-date {
  color: gray;
  font-size: 0.95rem;
}

.achievement-content p {
  margin: 1.2rem 0;
  line-height: 1.6;
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  border-radius: 1.5rem;
  background: #f2f2f2;
  font-size: 0.9rem;
  text-decoration: none;
  color: black;
}

.linkedin-btn img {
  width: 20px;
}

/* Navigation arrows */
.nav-btn {
  position: absolute;
  background: white;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.nav-btn.left {
  left: -20px;
}

.nav-btn.right {
  right: -20px;
}

#experience{
  min-height: 100vh;             
  display: flex;
  flex-direction: column;
  padding: 4rem 0;                
}

#experience .exp-block{
  flex: 1;                       
  display: flex;
  align-items: center;           
  justify-content: center;        
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;                 
}

.exp-card{
  width: 100%;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 1.75rem;
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.exp-logo{
  width: 92px;
  height: 92px;
  border-radius: 18px;
  background: #f3f3f3;
  display: grid;
  place-items: center;
  border: 1px solid #e5e5e5;
  flex: 0 0 auto;
}

.exp-logo img{
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.exp-info{
  flex: 1;
  min-width: 0;
}

.exp-company{
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}

.exp-role{
  margin: 0.35rem 0 0.75rem;
  font-size: 1.05rem;
  opacity: 0.85;
}

.exp-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  opacity: 0.8;
}

/* Experience description */
.exp-desc{
  margin-top: 2rem;
}

.exp-desc ul{
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.exp-desc li{
  margin: 0.3rem 0;
}

.exp-meta-item{
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.exp-meta-icon{
  width: 18px;
  height: 18px;
  object-fit: contain;
}