@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400;500;600;700;800;900&family=Source+Code+Pro:wght@200;300;400;500;600;700;800;900&display=swap");

/* ------------------------------------ */
/* ---------- GLOBAL STYLING ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Raleway", "Source Code Pro", sans-serif;
}


html {
  scroll-behavior: smooth;
}

h1 {
  font-size: 50px;
  font-weight: 400;
  line-height: 64px;
  color: #fefefe;
}

h2 {
  font-size: 46px;
  line-height: 54px;
  font-weight: 400;
  color: #fefefe;
}

h4 {
  font-size: 20px;
  font-weight: 400;
  color: #fefefe;
}

h6 {
  font-weight: 700;
  font-size: 12px;
  color: #fefefe;
}

p {
  font-size: 16px;
  font-weight: 400;
  color: #fefefe;
  margin: 15px 0 20px 0;
}

.section-p1 {
  padding: 40px 80px;
}

.section-m1 {
  margin: 40px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


button.normal {
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  color: black;
  background-color: white;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: 0.5s ease;
}

button.normal:hover {
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  color: #fff;
  background-color: #088178;
}

html, body {
  overflow-x: hidden;
}


body {
  width: 100%;
  background-color: #2d2e32;
}

body::selection {
  color: #000000;
  background: #64f4ac;
}

::-webkit-scrollbar{
  width: 10px;
}

::-webkit-scrollbar-track{
  background: transparent;
}

::-webkit-scrollbar-thumb{
  background: #CACACA;
  transition: 0.3s ease;
  border-radius: 15px;
}

::-webkit-scrollbar-thumb:hover{
  background: #FEFEFE;
}



/* ---------- SECTION HEADER ---------- */
#header {
  position: fixed; /* Better than sticky for always-on-top nav */
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(45, 46, 50, 0.6); /* Translucent */
  border-bottom: 1px solid rgba(45, 46, 50, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px); /* The blur magic */
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  z-index: 1000;
}

/* #content-body {
  display: flex;
  justify-content: space-around;
  align-items: center;
} */

.hamburger {
  display: none;
}


.navbar-title {
  display: flex;
  align-items: center;
}

.title-first-name {
  padding: 0 7.5px;
  font-weight: 400;
  color: #cacaca;
  font-family: "Raleway", sans-serif;
  font-size: 24px;
}

.title-last-name {
  font-size: 24px;
  font-weight: 600;
  color: #fefefe;
  font-family: "Raleway", sans-serif;
}

.navbar-menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-menu li {
  list-style: none;
  padding: 0 20px;
  position: relative;
}

.navbar-menu .active {
  color: #64f4ac;
  font-weight: 900;
}

.navbar-menu li a {
  color: #fefefe;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: 0.3s ease;
}

.navbar-menu li a:hover {
  color: #64f4ac;
  font-weight: 900;
}

.social-media {
  display: flex;
  align-items: center;
}

.social-media li {
  display: flex;
  padding: 0 16px;
  align-items: center;
  list-style: none;
}

.social-media li i {
  font-size: 14px;
  transition: 0.3s ease;
}
.social-media li a {
  color: #fefefe;
  text-decoration: none;
  padding: 0 5px;
  font-size: 12px;
  transition: 0.3s ease;
}

.social-media li:nth-child(1):hover i {
  color: #0077b5;
}

.social-media li:nth-child(3):hover i {
  color: #ea4335;
}

.social-media li:hover a {
  font-weight: 800;
}

.cv-button {
  background-color: #64f4ac;
  color: #000000 !important;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
}

.cv-button:hover {
  background-color: #cc2f2f;
}

.pdf-icon {
  width: 8px;
  height: 5px;
}


/* MOBILE RESPONSIVNESS */

/* --- Mobile Navbar Responsive --- */
@media (max-width: 768px) {
  .navbar-menu-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    background-color: rgba(37, 38, 42, 0.85); /* Translucent dark bg */
    backdrop-filter: blur(15px);              /* Blur effect */
    -webkit-backdrop-filter: blur(15px);      /* Safari support */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1000;
  }

  .navbar-menu-wrapper.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .navbar-menu {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

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

  .navbar-menu li a {
    color: #fefefe;
    font-size: 24px;
    text-decoration: none;
  }

  .hamburger {
    display: block;
    font-size: 28px;
    position: absolute;
    right: 20px;
    top: 20px;
    color: #64f4ac;
    cursor: pointer;
    z-index: 1100;
  }

  .social-media {
    display: none;
  }

  #header {
    position: fixed; /* ✅ same as desktop */
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(37, 38, 42, 0.85); /* Optional: slightly translucent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    align-items: center;
  }
}

/* =========================== end of section ========================================*/

/* ------------------------------------------
---------- SECTION BODY CONTENT -------------
------------------------------------------- */

#content-body {
  display: flex;
  flex-direction: row;
  background-color: #2d2e32;
  align-items: flex-start;
  min-height: 110vh;
  height: auto;
  align-content: center;
  align-items: center;
  justify-content: space-between;
  padding: 100px 0 0 100px;
  margin-bottom: 10vh;
  padding-top: 150px;
}

.developer-intro {
  display: flex;
  align-items: center;
}

.developer-intro p {
  padding: 5px 10px;
  margin: 0 20px 0 0;
  background-color: #64f4ac;
  color: #2d2e32;
  font-size: 13px;
  font-weight: 600;
  border-radius: 2.5px;
  align-items: center;
  text-align: center;
  transition: 0.3s ease;
  cursor: pointer;
}

.developer-intro p:hover {
  font-weight: 900;
}


/* ---------- ROLE TOGGLE SWITCH ---------- */
.role-toggle-container {
  display: flex;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
}

.role-option {
  font-size: 14px;
  color: #7c7d81;
  font-weight: 600;
  transition: color 0.3s ease, font-weight 0.3s ease;
  cursor: pointer;
}

.role-option.active-role {
  color: #64f4ac;
  font-weight: 900;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #7c7d81;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #64f4ac;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* ---------- BODY TITLE ---------- */

.body-title h1 {
  font-size: 40px;
  line-height: 50px;
  letter-spacing: -1.5px;
  padding: 35px 0 0 0;
}

.body-title p {
  font-size: 16px;
  padding: 20px 0;
  color: #cacaca;
  font-weight: 500;
  line-height: 1.8; /* better readability than fixed px */
  max-width: 700px;
  word-break: break-word;
}

.body-title a {
  font-size: 16px;
  color: #64f4ac;
  font-weight: 600;
  padding: 20px 0;
  margin: 20px 0;
}

/*.body-tail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background-color: #2d2e32;
  padding: 40px 0;
  place-items: center;
  gap: 40px;
  width: 100%;
} 

.body-tail {
  display: flex;
  align-items: start;
  padding: 40px 0 50px 0;
  gap: 20px;
}

.ribbon-box {
  text-align: center;
}

.ribbon-box h1 {
  font-size: 48px;
  color: #64f4ac;
  margin: 0;
  line-height: 1;
}

.ribbon-box p {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: #cacaca;
  margin: 0;
} */

.body-tail-ribbon {
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-auto-rows: auto;
  align-items: center;
  justify-content: flex-start;
  /* background-color: #2d2e32; */
  padding: 50px 20px;
  gap: 20px;
  width: 100%;
  flex-wrap: nowrap;
  padding-left: 0px;
}

.body-tail-ribbon .number {
  font-size: 50px;
  font-weight: 600;
  color: #64f4ac;
  text-align: center;
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;  
}

.body-tail-ribbon .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #cacaca;
  font-size: 14px;
  line-height: 1.3;
  text-align: left;
  align-items: left;
  grid-row: span 2;
}


/* Tablet ONLY */
@media (min-width: 768px) and (max-width: 1024px) {
  #content-body {
    padding-top: 80px; /* was 100px or more */
  }
}



/* <<< Mobile Responsive for role-toggle-container >>> */
@media (max-width: 768px) {
  .role-toggle-container {
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
  }

  /* Commented to have only 1 content-body for mobile 
  #content-body {
    display: flex;
    flex-direction: column;
    align-items: center;
  } */

  .body-part-1 {
    width: 100%;
    text-align: center;
    padding: 10px 20px 40px 20px;
  }

  .developer-intro {
    margin-bottom: 20px;
  }

  .body-title h1 {
    font-size: 28px;
    line-height: 34px;
    letter-spacing: -1px;
    padding: 20px 0 0 0;
  }

  .body-title p {
    font-size: 14px;
    line-height: 1.6;
    padding: 10px 15px;
    max-width: 100%; /* allow full-width use on smaller screens */
  }

  .body-title a {
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
  }

  

  /* Ribbon Section */
  .body-tail {
    grid-template-columns: 1fr;
    padding: 30px 10px;
    row-gap: 20px;
  }

  .ribbon-box {
    text-align: center;
  }

  .ribbon-box h1 {
    font-size: 32px;
    color: #64f4ac;
    margin: 0;
  }

  .ribbon-box p {
    font-size: 13px;
    color: #cacaca;
    margin: 0;
    line-height: 1.4px;
  }

  .body-tail-ribbon {
    gap: 20px;
    padding: 40px 10px;
  }
  
  .body-tail-ribbon .number {
    font-size: 36px;
  }
  
  .body-tail-ribbon .text {
    font-size: 13px;
  }
  
  
}

/* Mobile Responsive Adjustments for Body Image Section */

@media (max-width: 768px) {
  /* Ensure body-part-1 and body-part-2 are reordered */
  #content-body {
    display: flex;
    flex-direction: column-reverse;  /* ✅ Includes the column logic */
    align-items: center;             /* ✅ Preserved from original */
    justify-content: center;
    padding: 100px 20px 0px 20px;   /* ✅ New for spacing */
    gap: 30px;
    height: auto;
    min-height: 100vh;
    margin-bottom: 24px; 
  }

  .body-part-2 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 80px;  /* 👈 pushes it below the sticky header */
    margin: 10px 0 0 0;
    /*outline: 1px dashed red; Just checking the border*/
  }

  
  .spacer-above-image {
    height: 100px; /* More space for mobile since nav overlaps more */
  }

  .profile-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(50vw, 180px);  
    height: min(50vw, 180px);
    max-width: 300px;
    max-height: 300px;
    margin: 0 auto;
  }


  .circular-image {
    width: 65vw;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
  }


  .background-circle,
  .circle {
    display: none;
  }
}

/* For tiny screens like iPhone SE */
@media (max-width: 450px) {
  .spacer-above-image {
    height: 120px; 
  }
}


@media (max-width: 767px) {
  .body-tail {
    grid-template-columns: 1fr;
    row-gap: 30px;
    padding: 25px 10px;
  }

  .ribbon-box h1 {
    font-size: 24px;
  }

  .ribbon-box p {
    font-size: 12px;
    line-height: 1.2;
    margin-top: 5px;
  }
}







/*-------------My Image-----------------*/

.spacer-above-image {
  height: 80px; /* Base spacing for desktops */
}

.background-circle {
  background: #28292d;
  border-radius: 50%;
  width: 550px;
  height: 550px;
  z-index: 9;
  box-shadow: 0 0 20px #00000080;
}

.circular-image {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  z-index: 9;
  box-shadow: 0 0 20px #00000080;
  display: block;
  margin: 0 auto;
}

.circle {
  position: relative;
  top: 400px;
  left: 220px;
  width: 100px;
  height: 100px;
  transform-style: preserve-3d;
  animation: animateCircle 40s linear infinite;
}

@keyframes animateCircle {
  0% {
    transform: perspective(1000px) rotateY(0deg) rotateX(15deg)
      translateY(-30px);
  }
  100% {
    transform: perspective(1000px) rotateY(360deg) rotateX(15deg)
      translateY(-30px);
  }
}

.circle span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2d2e32;
  box-shadow: 0px 0px 5px #00000080;
  border-radius: 50%;
  transform-origin: center;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--i) * calc(360deg / 15))) translateZ(300px);
}

.circle span img {
  position: relative;
  top: 12px;
  left: 12px;
  object-fit: cover;
}

/* =========================== end of section ========================================*/

/* <<< Commented out since this section is no longer used after addition of Toggle

-----------------------------------
/* ----------INTRODUCTION---------- 
-----------------------------------
#introduction {
  display: flex;
  justify-content: space-between;
  padding: 100px;
  background-color: #25262a;
  min-height: 95vh;
  align-items: center;
}

.cards {
  min-width: 50%;
  display: flex;
  flex-direction: column;
}

.design-card {
  max-width: 80%;
  min-height: 150px;
  background-color: #2d2e32;
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px #00000040;
  transition: 0.5s ease;
}

.design-card:hover {
  box-shadow: 0 0 15px #00000080;
  cursor: pointer;
}

.design-card.active {
  background-color: #00b840;
}

.design-card.active p {
  color: #000000;
  font-weight: 700;
}

.design-card div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: #fff;
  transition: 0.3s ease;
}

.design-card:hover div {
  color: #64f4ac;
}

.design-card div h3 {
  font-weight: 500;
}

.design-card:hover div h3 {
  font-weight: 600;
}

.design-card p {
  font-size: 14px;
  font-weight: 600;
  color: #7c7d81;
}

.design-card a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
}

.design-card:hover a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.introduction-text {
  display: block;
  min-width: 50%;
  padding-right: 175px;
}

.introduction-text p:nth-child(1) {
  font-size: 14px;
  color: #7c7d81;
  font-weight: 800;
}

.introduction-text h2 {
  margin: 20px 0;
}

.introduction-text h4 {
  font-size: 26px;
  font-style: italic;
}

.introduction-text p {
  font-size: 18px;
  color: #7c7d81;
  font-weight: 600;
}

*/

/* Mobile Responsive Adjustments for Introduction Section 
@media (max-width: 768px) {

  .cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .design-card {
    width: 90%;
    max-width: 300px;
    padding: 20px;
    margin: 10px 0;
    text-align: center;
  }

  .design-card h3 {
    font-size: 20px;
  }

  .design-card p {
    font-size: 14px;
  }

  .design-card a {
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
  }

  .introduction-text {
    padding: 20px;
    text-align: center;
  }

  .introduction-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .introduction-text h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .introduction-text p {
    font-size: 14px;
    line-height: 22px;
  }
}

*/


/* =========================== end of section ========================================*/


/* --------------------------------
------------PROJECTS--------------- 
----------------------------------*/

#latest-works {
  min-height: auto;
  background-color: #25262a;
  padding: 80px 40px;
  /* Removed the below in portfolio v2 
  display: flex;
  flex-direction: row;
  justify-content: space-between; */
}

.left-project {
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.latest-work-title h3 {
  font-size: 40px;
  color: #fff;
  font-weight: 500;
  margin: 0;
}

.latest-work-title p {
  font-size: 16px;
  color: #7c7d81;
  font-weight: 400;
  margin: 0;
}

.project-card {
  min-width: 35vw;
  min-height: 60vh;
  max-height: 80vh;
  background-color: #2d3037;
  padding: 20px;
  border-radius: 15px;
  margin: 20px 0;
  overflow: hidden;
}

.project-card-1 {
  background: linear-gradient(180deg, #16191e, #252628);
}

.project-card-2 {
  background: linear-gradient(180deg, #e5d373, #5a4073);
}

.project-card-3 {
  background: linear-gradient(180deg, #01403A, #025951);
}

.project-card .title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.project-card .title h3 {
  font-size: 30px;
  color: #fff;
  font-weight: 400;
}

.project-card .title .tech-stack {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.project-card .title .tech-stack p {
  font-size: 12px;
  background-color: #7c7d8180;
  color: #fff;
  margin: 0 5px;
  padding: 5px;
  border-radius: 3px;
  max-height: 25px;
}

.project-card img {
  position: relative;
}

.project-img-1 {
  height: 50vh;
  top: 50px;
  left: 15px;
  object-fit: cover;
  transform: scale(1.2);
  border-radius: 10px;
  box-shadow: -10px 10px 10px #00000080;
  transition: 0.3s ease-in-out;
}

.project-card:hover .project-img-1{
  transform: scale(1.6) rotate(-5deg);
}

.project-img-2 {
  width: 20vw;
  height: 27vh;
  object-fit: cover;
  object-position: top;
  top: 100px;
  left: 150px;
  transform: scale(1.5);
  border-radius: 10px;
  box-shadow: -10px 10px 10px #00000080;
  transition: 0.5s ease;
}

.project-card:hover .project-img-2 {
  box-shadow: -20px 20px 20px #00000080;
}

.project-img-3 {
  width: 30vw;
  top: 50px;
  left: 75px;
  border-radius: 10px;
  box-shadow: -5px -5px 10px #00000040;
  transition: 0.5s ease;
}

.project-card:hover .project-img-3 {
  box-shadow: -20px -20px 20px #00000040;
}

.all-projects a {
  color: #64f4ac;
}

.all-projects a h3 {
  font-size: 26px;
}

.all-projects p {
  font-size: 14px;
  color: #7c7d81;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 26px;
}


/* ---------- NEW PROJECT CARD ---------- */
.project-card {
  background-color: #2d2e32;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px #00000040;
  display: flex;
  flex-direction: column;
  flex: 1 1 30%; /* NEW: Flex grow/shrink basis 30% */
  max-width: 350px; /* Optional */
  min-width: 280px; /* Optional */
  transition: transform 0.3s ease;
  box-sizing: border-box;
}


.project-card:hover {
  transform: translateY(-10px);
}

.project-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.project-content h3 {
  color: #fefefe;
  font-size: 24px;
  margin-bottom: 10px;
}

.project-desc {
  color: #7c7d81;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

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

.tech-icons img {
  height: 30px;
  width: 30px;
}

.project-links {
  display: flex;
  gap: 10px;
}

.project-button {
  background-color: #64f4ac;
  color: #2d2e32;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.project-button:hover {
  background-color: #45a877;
}

/* Grid Layout for Projects */
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}


/* Title and Tag inside Project Card */
.project-title-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tech-tag {
  background-color: #7c7d8140;
  color: #fefefe;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.projects-header {
  text-align: center;
  margin-bottom: 40px;
}

.projects-header h2 {
  font-size: 36px;
  color: #fefefe;
  margin-bottom: 10px;
  font-weight: 700;
}

.projects-header p {
  font-size: 16px;
  color: #7c7d81;
  font-weight: 500;
}

@media (max-width: 1200px) {
  .project-card {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
  .project-card {
    flex: 1 1 100%;
  }
}

/* Mobile Responsive Adjustments for Projects Section */
@media (max-width: 768px) {

  #latest-works {
    margin-top: 24px;  /* balances transition from ribbon */
  }

  .projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .project-card {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    background-color: #2d2e32;
    box-shadow: 0 0 10px #00000040;
    text-align: center;
  }

  .project-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .project-title-section {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .project-title-section h3 {
    font-size: 18px;
  }

  .tech-tag {
    font-size: 12px;
    padding: 5px 10px;
  }

  .project-links a {
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
  }

  .tech-icons img {
    width: 20px;
    height: 20px;
  }
}


/* =========================== end of section ========================================*/

/*------------------------------------
--------------SKILLS------------------
-------------------------------------*/

.skills-section {
  background-color: #25262a;
  padding: 80px 40px;
  text-align: center;
}

.skills-header h2 {
  font-size: 36px;
  color: #fefefe;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.skills-header p {
  font-size: 16px;
  color: #7c7d81;
  margin-bottom: 40px;
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.skill-category h3 {
  color: #64f4ac;
  font-size: 26px;
  margin-bottom: 20px;
}

.skill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.skill-card {
  background-color: #2d2e32;
  border-radius: 10px;
  padding: 20px;
  width: 120px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-10px);
  background-color: #3a3b40;
}

.skill-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.skill-card p {
  font-size: 14px;
  font-weight: 600;
  color: #fefefe;
}

/* Responsive Skills */
@media (max-width: 768px) {
  .skill-card {
    width: 100px;
    height: 120px;
  }
}

/* Mobile Responsive Adjustments for Skills Section (Updated) */
@media (max-width: 768px) {

  .skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
    justify-items: center;
  }

  .skill-card {
    width: 100px;
    height: auto;
    text-align: center;
    margin-bottom: 5px;
  }

  .skill-card img {
    width: 50px;
    height: auto;
    margin-bottom: 3px;
  }

  .skill-card p {
    font-size: 13px;
    color: #fefefe;
  }
}


/* =========================== end of section ========================================*/

/*------------------------------------
--------------RESEARCH------------------
-------------------------------------*/

.research-section {
  background-color: #25262a;
  padding: 80px 40px;
  text-align: center;
}

.research-header h2 {
  font-size: 36px;
  color: #fefefe;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.research-header p {
  font-size: 16px;
  color: #7c7d81;
  margin-bottom: 40px;
}

.research-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.research-item {
  background-color: #2d2e32;
  padding: 30px;
  border-radius: 10px;
  max-width: 800px;
  width: 100%;
  text-align: left;
  box-shadow: 0 0 15px #00000040;
}

.research-title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.research-title h3 {
  color: #fefefe;
  font-size: 20px;
  font-weight: 600;
}

.research-type {
  color: #64f4ac;
  font-size: 14px;
  margin-top: 10px;
  font-weight: 700;
}

.research-venue {
  color: #7c7d81;
  font-size: 14px;
  margin: 10px 0;
}

.research-link {
  font-size: 14px;
  font-weight: 600;
  color: #64f4ac;
  text-decoration: none;
  transition: color 0.3s ease;
}

.research-link:hover {
  color: #45a877;
}

.pdf-icon {
  width: 24px;
  height: 24px;
}

/* Mobile Responsive Adjustments for Research Section */
@media (max-width: 768px) {

  .research-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }

  .research-card {
    width: 100%;
    padding: 20px;
    background-color: #2d2e32;
    border-radius: 10px;
    box-shadow: 0 0 10px #00000040;
    text-align: center;
  }

  .research-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #64f4ac;
  }

  .research-card p {
    font-size: 14px;
    color: #fefefe;
  }

  .research-card a {
    display: inline-block;
    font-size: 14px;
    color: #64f4ac;
    margin-top: 10px;
  }
}


/* =========================== end of section ========================================*/

/* -----------------------------
----------TESTIMONIAL----------- 
--------------------------------*/


#testimonial {
  height: 100vh;
  width: 100%;
  padding: 100px 150px;
}

.testimonial-title {
  display: flex;
  flex-direction: row;
  max-width: 50%;
  justify-content: space-between;
  align-items: end;
}

.testimonial-title h4 {
  margin: 0;
  padding: 0;
}

.testimonial-title p {
  color: #7c7d81;
  font-size: 14px;
  align-self: end;
  letter-spacing: -0.5px;
  font-weight: 600;
  margin: 6px;
}

.testimonial-card {
  max-height: 300px;
  width: 100%;
  background-color: #25262a;
  padding: 40px 50px;
  border-radius: 8px;
  margin: 30px 0;
  display: block;
}

.star-rating {
  display: flex;
  flex-direction: row;
  color: #64f4ac;
  align-items: center;
  margin: 0 0 20px 0;
  padding: 0;
}

.star-rating i {
  margin: 0 3px;
}

.star-rating p {
  margin: 0 10px;
  padding: 0;
  font-size: 14px;
  color: #7c7d81;
}

.testimonial-card h4 {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  line-height: 36px;
  max-width: 85%;
}

.testimonial-card i:last-child {
  position: relative;
  top: -100px;
  left: 1000px;
  color: #FFFFFF40;
  font-size: 60px;
  margin: 0;
  padding: 0;
}

.client-profile-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 20px 0;
  cursor: pointer;
  width: 95%;
}

.single-profile-card {
  display: flex;
  flex-direction: row;
  height: 100px;
  width: 30%;
  border-bottom: 3px dashed #7c7d81;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
}

.single-profile-card.profile-card-active {
  background-color: #25262a;
  border-bottom: 3px dashed #64f4ac;
}

.single-profile-card img {
  max-height: 50px;
  max-width: 50px;
  border-radius: 50%;
  margin-right: 20px;
}

.single-profile-card div h4 {
  font-size: 16px;
  margin: 0;
  padding: 0;
}

.single-profile-card div p {
  margin: 4px 0;
  padding: 0;
  font-size: 12px;
  color: #7c7d81;
}

.single-profile-card div p a {
  color: #64f4ac;
  text-decoration: none;
}

.single-profile-card div p a:hover{
  text-decoration: underline;
}


/* Testimonials Section */

.testimonials-section {
  background-color: #2d2e32;
  padding: 2px 20px;
  text-align: center;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  align-items: center;
}

.testimonial-card {
  min-width: 100%;
  padding: 60px 40px;
  text-align: center;
  position: relative;
}

.testimonial-text {
  font-size: 22px;
  font-weight: 500;
  color: #fefefe;
  margin-bottom: 20px;
  z-index: 2;
  position: relative;
}

.testimonial-author {
  font-size: 16px;
  color: #7c7d81;
  font-weight: 600;
  z-index: 2;
  position: relative;
}

.quote-open {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 150px;
  color: rgba(100, 244, 172, 0.05);
  pointer-events: none;
  z-index: 1;
}

.quote-close {
  position: absolute;
  bottom: 20px;
  left: 40px;
  font-size: 150px;
  color: rgba(100, 244, 172, 0.05);
  pointer-events: none;
  z-index: 1;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: #64f4ac;
  border: none;
  font-size: 30px;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 3;
}

.left-arrow {
  left: 20px;
}

.right-arrow {
  right: 20px;
}

.arrow:hover {
  color: #45a877;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-text {
    font-size: 18px;
  }

  .testimonial-author {
    font-size: 14px;
  }

  .arrow {
    font-size: 24px;
  }

  .quote-open, .quote-close {
    font-size: 100px;
  }
}

/* Mobile Responsive Adjustments for Testimonials Section */
@media (max-width: 768px) {

  .testimonial-card {
    padding: 30px 15px;
  }

  .testimonial-text {
    font-size: 16px;
    line-height: 24px;
    padding: 0 10px;
  }

  .testimonial-author {
    font-size: 14px;
    margin-top: 10px;
  }

  .quote-open, .quote-close {
    font-size: 80px;
    opacity: 0.9; /* lighter watermark */
  }

  .arrow {
    font-size: 24px; /* Force same size */
    top: 50%; /* Centered vertically */
    transform: translateY(-50%);
  }

  .left-arrow {
    left: 10px; /* Small push inside */
  }

  .right-arrow {
    right: 10px; /* Small push inside */
  }
}

/* =========================== end of section ========================================*/

/*---------------------------------
------------Gallery Section-------- 
-----------------------------------*/
.gallery-section {
  background-color: #25262a;
  padding: 80px 40px;
  text-align: center;
}

.gallery-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fefefe;
  margin-bottom: 10px;
  line-height: 1.2;
}

.gallery-header p {
  font-size: 16px;
  color: #7c7d81;
  margin-bottom: 40px;
  line-height: 1.2;
}

/* New Corrected Gallery Grid */
.gallery-grid {
  column-count: 3;
  column-gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-card {
  background-color: #2d2e32;
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px #00000040;
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-10px);
}

.gallery-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  filter: grayscale(80%);
  transition: all 0.5s ease;
}

.gallery-card:hover img {
  filter: grayscale(0%);
}

.gallery-card-content {
  padding: 15px;
}

.gallery-card-content h3 {
  font-size: 18px;
  color: #fefefe;
  margin-bottom: 10px;
}

.gallery-card-content a {
  color: #64f4ac;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.gallery-card-content a:hover {
  color: #45a877;
}

/* Responsive Gallery */
@media (max-width: 1024px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    column-count: 1;
  }
}

/* Mobile Responsive Adjustments for Gallery Section (Compact Images) */
@media (max-width: 768px) {

  .gallery-grid {
    column-count: 1;
    column-gap: 0;
    width: 100%;
    margin-top: 20px;
  }

  .gallery-card {
    margin-bottom: 20px;
    break-inside: avoid;
    width: 100%;
  }

  .gallery-card img {
    width: 100%;
    height: 200px; /* Fix the height to 200px */
    object-fit: cover; /* Maintain aspect ratio and crop nicely */
    display: block;
    border-radius: 10px;
  }

  .gallery-card-content {
    padding: 10px;
  }

  .gallery-card-content h3 {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .gallery-card-content a {
    font-size: 14px;
    display: inline-block;
    margin-top: 5px;
  }
}

/* =========================== end of section ========================================*/


/*----------------------------
---------EXPERIENCE-----------
----------------------------*/

/* Experience Section */
.experience-section {
  background-color: #25262a;
  padding: 60px 20px;
  text-align: center;
  display: none; /* Hidden initially */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
}

.experience-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fefefe;
  margin-bottom: 10px;
}

.experience-header p {
  font-size: 16px;
  color: #7c7d81;
  margin-bottom: 40px;
}

.timeline {
  position: relative;
  margin: 0 auto;
  padding: 20px 0;
  max-width: 600px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: #64f4ac;
}

.timeline-dot {
  position: relative;
  width: 20px;
  height: 20px;
  background-color: #64f4ac;
  border-radius: 50%;
  margin: 20px auto;
}

.timeline-year {
  position: absolute;
  left: 30px;
  top: -5px;
  color: #fefefe;
  font-size: 16px;
  font-weight: 600;
}

.timeline-item {
  background-color: #2d2e32;
  margin: 10px auto;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px #00000040;
  max-width: 400px;
  font-size: 16px;
  color: #fefefe;
  text-align: center;
}

.experience-cta {
  margin-top: 40px;
}

.experience-button {
  display: inline-block;
  background-color: #64f4ac;
  color: #2d2e32;
  font-weight: 700;
  padding: 10px 20px;
  margin: 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.experience-button:hover {
  background-color: #45a877;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline-year {
    left: 25px;
    font-size: 14px;
  }
  
  .timeline-item {
    padding: 10px 15px;
    font-size: 14px;
  }

  .experience-button {
    padding: 8px 15px;
    margin: 8px;
  }
}

/* Mobile Responsive Adjustments for Experience Section */
@media (max-width: 768px) {

  .timeline {
    padding: 20px 10px;
  }

  .timeline-dot {
    width: 15px;
    height: 15px;
    margin: 15px auto;
  }

  .timeline-year {
    left: 25px;
    font-size: 14px;
  }

  .timeline-item {
    max-width: 300px;
    margin: 10px auto;
    padding: 10px;
    text-align: center;
    font-size: 14px;
  }

  .experience-cta {
    margin-top: 30px;
  }

  .experience-button {
    font-size: 14px;
    padding: 10px 15px;
    margin: 5px;
  }
}

/* --------------------------
----------FOOTER-------------
---------------------------*/


#footer .container {
  display: flex;
  /* flex-direction: row; */
  justify-content: space-between;
  /* padding: 100px; */
  padding: 50px 100px;
  background-color: #2d2e32;
  /* height: 100vh; */
  color: #fefefe;
}

.footer-left {
  width: 50%;
  display: column;
  flex-direction: column;
  justify-content: space-between;
}

.footer-left h2 {
  font-size: 32px;
  
  margin-bottom: 20px;
}

.footer-left h2 a {
  color: #64f4ac;
  text-underline-offset: 8px;
}

.email-form {
  display: flex;
  flex-direction: column;
  height: 300px;
  width: 80%;
  margin-top: 0;
  justify-content: space-between;
  border-radius: 10px;
  padding: 20px 25% 40px 20px;
  border: 1px solid #2d2e3240;
  background-color: #2d2e3273;
  box-shadow: 0 0 10px 1px #00000040;
  backdrop-filter: blur(15px);
  background-image: url(assets/email-background.png);
  background-size: cover;
}

.email-form h2 {
  font-size: 30px;
  letter-spacing: -1.5px;
  margin-bottom: 10px;
}

.email-form h2 span {
  font-weight: 600;
  color: #64f4ac;
}

.email-form input {
  height: 36px;
  margin: 0;
  border-radius: 8px;
  border: none;
  padding: 4px 8px;
}

.email-form div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.email-form div input {
  width: 65%;
}

.email-form div button {
  height: 36px;
  width: 60px;
  margin: 0;
  border-radius: 8px;
  border: none;
  background-color: #64f4ac;
  cursor: pointer;
  color: #25262a;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s ease;
}

.email-form div button:hover {
  background-color: #45A877;
}

.footer-title .title-first-name,
.footer-title .title-last-name {
  font-size: 10px !important;
  font-weight: 400;
  color: #7c7d81;
  margin: 0 2px;
  padding: 0;
  
}

.footer-title .title-last-name {
  margin-left: 0; /* to keep less space b/w first and last name */
}

.footer-title p {
  margin: 0;
  padding: 0;
  display: inline;
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 0 15px 0;
}

.footer-email-intro {
  display: flex;
  flex-direction: column;
}

.footer-email-intro p {
  font-size: 12px;
  color: #7c7d81;
  font-weight: 600;
}

.footer-email-intro h6 {
  font-size: 18px;
  font-weight: 400;
  color: #7C7D81;
  margin-top: 10px;
}

.footer-email-intro h3 {
  font-size: 26px;
  color: #FFF;
  font-weight: 400;
  margin: 10px 0;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.footer-menu li {
  list-style: none;
  padding: 0 20px;
  position: relative;
  margin: 5px 0;
}

.footer-menu .active {
  color: #64f4ac;
  font-weight: 900;
}

.footer-menu li a {
  color: #fefefe;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: 0.3s ease;
}

.footer-menu li a:hover {
  color: #64f4ac;
  font-weight: 900;
}

.social-icons a {
  text-decoration: none;
}

.social-icons a i {
  color: #FFF;
  margin: 0 5px;
  transition: 0.3s ease;
  cursor: pointer;
}

.social-icons a:nth-child(1) i:hover {
  color: #0072b1;
}

.social-icons a:nth-child(3) i:hover {
  color: #ea4335;
}

.social-icons a:nth-child(4) i:hover {
  color: #00acee;
}

.social-icons a:nth-child(5) i:hover {
  color: transparent;
  background: -webkit-radial-gradient(30% 107%, circle, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background: -o-radial-gradient(30% 107%, circle, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background: -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background-clip: text;
  -webkit-background-clip: text;
}

.social-icons a:nth-child(6) i:hover {
  color: #3b5998;
}


/*----------FOOTER - MOBILE---------*/

@media (max-width: 768px) {

  #footer .container {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
  }

  .footer-left,
  .footer-right {
    width: 100%;
    text-align: center;
  }

  .footer-left h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .email-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px;
  }

  .email-form h2 {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .email-form input,
  .email-form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 14px;
  }

  .email-form button {
    width: 100%;
    padding: 8px;
    font-size: 16px;
  }

  .footer-right .footer-email-intro,
  .footer-right .footer-nav-menu {
    margin-bottom: 20px;
  }

  .footer-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .footer-menu li {
    margin: 10px 0;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }

  .footer-title {
    margin-top: 20px;
    font-size: 12px;
    color: #888;
    text-align: center;
  }

}


/* =========================== end of section ========================================*/


