@font-face {
  font-family: "onefont";
  src: url("./font/one.woff2") format("woff2");
}
@font-face {
  font-family: "twofont";
  src: url("./font/two.woff2") format("woff2");
}
@font-face {
  font-family: "threefont";
  src: url("./font/three.woff2") format("woff2");
}
@font-face {
  font-family: "fourfont";
  src: url("./font/four.woff2") format("woff2");
}
@font-face {
  font-family: "siese";
  src: url("./font/Saisei\ –\ Innovative\ Architecture\ &\ Sustainable\ Design\ Studio.html");
}
@font-face {
  font-family: "calgory";
  src: url("./font/Calgary_DEMO.ttf") format("woff2");
}
@font-face {
  font-family: "vilaka";
  src: url("./font/Vilaka\ Modern\ Serif\ Font.ttf") format("woff2");
}
/* cursor  */
/*
BEM:  Bloque - Elemento - Modificador
*/
#particle-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: painted;
  z-index: 1;
  opacity: 0.3;
}

/*Variables*/
:root {
  --black-color: #17181c;
  --blue-color: #3e50b4;
  --white-rbg-color: 255, 255, 255;
  --green-rbg-color: 0, 212, 113;
}

* {
  margin: 0;
  padding: 0;
}

/*Bloque*/
.body {
  width: 100%;
  height: 300px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* //Backgroung lining grid */
.backgroundGrid {
  background-color: #f5eddc;
  background-image: linear-gradient(
      to right,
      rgba(9, 9, 9, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cursor {
  width: 20px;
  height: 20px;
  border: 10px solid rgba(var(--white-rbg-color), 0.8);
  border-radius: 50%;
  position: absolute;
  transition-duration: 200ms;
  transition-timing-function: ease-out;
  animation: cursor-animate 550ms infinite alternate;
}

.cursor::after {
  content: "";
  width: 40px;
  height: 40px;
  border: 15px solid rgba(var(--white-rbg-color), 0.2);
  border-radius: 50%;
  position: absolute;
  top: -25px;
  left: -25px;
  animation: cursor-animate-2 550ms infinite alternate;
}

/*Elemento*/
.header__title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 300;
  color: rgb(var(--green-rbg-color));
}

.bg__canvas {
  width: 100%;
  height: 100vh;
  background-color: transparent;
  box-sizing: border-box;
}

/*Modificador*/
.cursor--expand {
  animation: cursor-animate-3 550ms forwards;
  border: 10px solid rgb(var(--green-rbg-color));
}

.cursor--expand::after {
  border: 15px solid rgba(var(--green-rbg-color), 0.3);
}

/*Keyframes*/
@keyframes cursor-animate {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.5);
  }
}

@keyframes cursor-animate-2 {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(0.3);
  }
}

@keyframes cursor-animate-3 {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(3);
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "threefont";
}
body,
html {
  height: 100%;
  width: 100%;
  /* background-color: #3f68a6; */
  overflow-x: hidden;
}

.page1 {
  height: 100vh;
  width: 100vw;
  color: cornsilk;
  /* background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 1)),
    url("./assets/page1-background.webp"); */
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 4)),
    url("https://i.pinimg.com/736x/ab/e2/62/abe262fa3a79d88c42da57d6ece03fa1.jpg");
  background-size: cover;
  background-position: center;
  font-family: "Saisei", sans-serif;
  position: relative;
  overflow: hidden;
}
.navbar {
  height: 10%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  border-bottom: 2px solid rgba(251, 239, 217, 0.2);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}
.navbar:hover {
  border-bottom: 2px solid #fbefd9;
}
.navbar-left h1 {
  letter-spacing: 1px;
  font-size: 2rem;
  background: linear-gradient(45deg, #fbefd9, #e07b39);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.navbar-right {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}
.navbar-right i {
  font-size: 25px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.navbar-right i:hover {
  transform: scale(1.1);
}
.navbar-right h2 {
  font-size: 1.1rem;
  font-weight: 500;
}
.navbar-right h2 a {
  position: relative;
  text-decoration: none;
  color: #fbefd9;
  transition: color 0.3s ease;
  padding: 5px 0;
}
.navbar-right h2 a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #e07b39;
  transition: width 0.3s ease;
}
.navbar-right h2 a:hover::after {
  width: 100%;
}
.navbar-right h2 a:hover {
  color: #e07b39;
}
.navbar-right h2 a.active {
  color: #e07b39;
}
.navbar-right h2 a.active::after {
  width: 100%;
}
.navbar-right h2 a:hover {
  color: #e07b39;
}
.page1-content {
  height: 100%;
  width: 100%;
  display: flex;
  padding: 0 5%;
  align-items: center;
}
.page1-content-left {
  width: 70%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.glitch {
  font-family: "vilaka";
  font-size: 10rem;
  font-weight: lighter;
  text-transform: uppercase;
  position: relative;
  text-shadow: 0.05em 0 0 #e07b39, -0.025em -0.05em 0 #fbefd9,
    0.025em 0.05em 0 #3f68a6;
  animation: glitch 500ms infinite;
}
.glitch span {
  position: absolute;
  top: 0;
  left: 0;
}
@keyframes glitch {
  0% {
    text-shadow: 0.05em 0 0 #e07b39, -0.025em -0.05em 0 #fbefd9,
      0.025em 0.05em 0 #3f68a6;
  }
  14% {
    text-shadow: 0.05em 0 0 #e07b39, -0.025em -0.05em 0 #fbefd9,
      0.025em 0.05em 0 #3f68a6;
  }
  15% {
    text-shadow: -0.05em -0.025em 0 #e07b39, 0.025em 0.025em 0 #fbefd9,
      -0.05em -0.05em 0 #3f68a6;
  }
  49% {
    text-shadow: -0.05em -0.025em 0 #e07b39, 0.025em 0.025em 0 #fbefd9,
      -0.05em -0.05em 0 #3f68a6;
  }
  50% {
    text-shadow: 0.025em 0.05em 0 #e07b39, 0.05em 0 0 #fbefd9,
      0 -0.05em 0 #3f68a6;
  }
  99% {
    text-shadow: 0.025em 0.05em 0 #e07b39, 0.05em 0 0 #fbefd9,
      0 -0.05em 0 #3f68a6;
  }
  100% {
    text-shadow: -0.025em 0 0 #e07b39, -0.025em -0.025em 0 #fbefd9,
      -0.025em -0.05em 0 #3f68a6;
  }
}
.scroll-indicator {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid #fbefd9;
  border-radius: 20px;
  position: relative;
}
.wheel {
  width: 4px;
  height: 8px;
  background: #fbefd9;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scroll 1.5s infinite;
}
@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}
.arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #fbefd9;
  border-right: 2px solid #fbefd9;
  transform: rotate(45deg);
  margin: -5px;
  animation: arrow 1.5s infinite;
}
.arrow span:nth-child(2) {
  animation-delay: 0.2s;
}
.arrow span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes arrow {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.page1-content-right {
  width: 30%;
  height: 100%;
  display: flex;
  align-items: center;
}
.role-tags {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.tag {
  background: rgba(255, 238, 206, 0.1);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 1rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(210, 147, 39, 0.2);
  color: whitesmoke;
  font-size: 1.3rem;
  font-weight: bolder;
  transition: all 0.3s ease;
}
.tag:hover {
  background: rgba(251, 239, 217, 0.2);
  transform: translateX(10px);
}
.page2 {
  height: 100vh;
  width: 100vw;
  background-color: #fbefd9;
  color: #1e1005;
  display: flex;
  position: relative;
  overflow: hidden;
}
.page2-left {
  height: 100%;
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
  position: relative;
}
.section-title {
  margin-bottom: 40px;
}
.subtitle {
  font-size: 1.2rem;
  color: #e07b39;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
}
.title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: "siese";
}
.role {
  font-size: 1.5rem;
  color: #3f68a6;
  font-weight: 500;
}
.quote {
  font-size: 4rem;
  font-weight: 100;
  font-family: "siese";
  line-height: 1.2;
  position: relative;
}
.quote::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100px;
  height: 3px;
  background: #e07b39;
}
.page2-middle {
  height: 100%;
  width: 40%;
  background-image: url("./MyImg/img1.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(224, 123, 57, 0.2),
    rgba(63, 104, 166, 0.2)
  );
}
.page2-right {
  height: 100%;
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5%;
}
.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.intro,
.skills,
.current-focus {
  font-size: 0.9rem;
  line-height: 1.6;
  letter-spacing: 0.5px;
}
.highlight {
  color: #e07b39;
  font-weight: 600;
}
.page2-right-img {
  width: 100%;
  height: 40%;
  background-image: url("./MyImg/img2.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
}
.page3 {
  min-height: 100vh;
  width: 100vw;
  background-color: #fbefd9;
  font-family: "Saisei", sans-serif;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.projects-header {
  text-align: center;
  margin-bottom: 80px;
  padding: 0 5%;
}
.section-subtitle {
  font-size: 1.2rem;
  color: #e07b39;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}
.section-title {
  font-size: 4rem;
  font-weight: 700;
  color: #1e1005;
  font-family: "siese";
}
.projects-container {
  position: relative;
  padding: 0 5%;
}
.project-card {
  margin-bottom: 150px;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.card-content {
  background: #331628;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease;
}
.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(51, 22, 40, 0.2),
    rgba(51, 22, 40, 0.8)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card-info {
  padding: 30px;
  color: #fff8dc;
}
.card-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "siese";
}
.card-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.tech-tag {
  background: rgba(255, 248, 220, 0.1);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 248, 220, 0.2);
}
.card-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 248, 220, 0.8);
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e07b39;
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s ease;
}
.project-link i {
  transition: transform 0.3s ease;
}
.project-link:hover {
  gap: 15px;
}
.project-link:hover i {
  transform: translateX(5px);
}
.project-card:hover .card-content {
  transform: translateY(-10px);
}
.project-card:hover .card-image {
  transform: scale(1.05);
}
.project-card:hover .card-overlay {
  opacity: 1;
}
.project-card[data-speed] {
  transform: translateY(calc(var(--scroll) * var(--speed)));
}
@media (max-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
  .card-title {
    font-size: 2rem;
  }
  .card-image-wrapper {
    height: 300px;
  }
}
@media (max-width: 480px) {
  .section-title {
    font-size: 2.5rem;
  }
  .card-title {
    font-size: 1.8rem;
  }
  .card-image-wrapper {
    height: 250px;
  }
  .card-info {
    padding: 20px;
  }
}
.gap {
  height: 30vh;
  width: 100vw;
  background-color: #fbefd9;
  border-bottom: 1px solid #2e251e;
}
/*  Page 4 CSS */
.page4 {
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: #fbefd9;
  display: flex;
  font-family: "Saisei";
}
.page4-left {
  width: 30%;
  /* background-color: green; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2% 3%;
}
.page4-left h2 {
  position: absolute;
  font-size: 2rem;
  font-weight: 100;
  bottom: 10%;
}
.page4-right {
  height: 100%;
  width: 70%;
  /* background-color: yellow; */
  /* margin: 2%; */
}
.page4-right-up {
  height: 70%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2% 5% 10% 5%;
}
.page4-right-up-img1 {
  display: flex;
  /* flex-direction: column; */
  height: 65%;
  width: 40%;
  /* background-color: green; */
}
.page4-right-up-img1 img {
  width: 100%;
  height: 150%;
  background-size: cover;
  background-position: center;
}
.page4-right-up-img2 {
  display: flex;
  height: 65%;
  width: 40%;
  /* background-color: green; */
}
.page4-right-up-img2 img {
  width: 90%;
  height: 150%;

  background-size: cover;
  background-position: center;
}
.page4-right-down {
  height: 40%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-end;

  /* background-color: red; */
}
.page4-right-down-img1 {
  position: absolute;
  height: 60%;
  width: 40%;
  left: 55%;
  /* background-color: green; */
}
.page4-right-down-img1 img {
  right: 25%;
  width: 40%;
  background-size: cover;
  background-position: center;
}
/*  Page 5 CSS */
.page5 {
  height: 210vh;
  width: 100%;
  background-color: #331628;
}
.page5 h1 {
  text-align: center;
  padding: 2px;
  font-size: 2rem;
  font-weight: 100;
  color: #fff;
  /* margin-bottom: -20px; */
}
.page5-up {
  height: 30%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page5-left {
  width: 50%;
  height: 100%;
  /* background-color: #2d9938; */
  display: flex;
  justify-content: end;
  align-items: center;
}
.page5-left-img {
  width: 60%;
  height: 50%;
  /* background-color: #fff; */
  color: #fff;
}
.page5-left-img img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  /* object-position: center; */
}
.page5-right {
  width: 50%;
  height: 100%;
  /* background-color: #d76464; */
  display: flex;
  justify-content: center;
  align-items: end;
}
.page5-right-img {
  width: 60%;
  height: 50%;
  /* background-color: #fff; */
  color: #fff;
}
.page5-right-img img {
  width: 100%;
  height: 100%;
}
.page5-down {
  height: 33%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page5-middle {
  height: 33%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 1%;
}
.footer {
  /* margin-top: 4vh; */
  padding-top: 3%;
  height: 50%;
  width: 100vw;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: linear-gradient(135deg, #fbefd9, #cab8b4, #e3c7a6, #ffffff);
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-left h1 {
  font-size: 5rem;
  font-weight: 100;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.gmail h2 {
  font-size: 2.5rem;
  font-weight: 100;
}
.footer-link {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  justify-content: space-around;
}
.footer-right h2 {
  border-bottom: 2px solid #331628;
}
.footer-link a {
  text-decoration: none;
  color: #000000;
  margin-left: 10px;
  border-bottom: 2px solid #331628;
}
.footer-link a:hover {
  color: #331628;
}

/* Fullscreen Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 16, 5, 0.97);
  color: #f3e4c7;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.menu-close {
  position: absolute;
  top: 40px;
  right: 50px;
  background: none;
  border: none;
  color: #fbefd9;
  font-size: 3rem;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.2s;
}
.menu-close:hover {
  color: #e07b39;
}
.menu-nav ul {
  list-style: none;
  padding: 0;
  margin-bottom: 10rem;
  display: flex;
  /* flex-direction: column; */
  gap: 2.5rem;
  align-items: top;
}
.menu-link {
  color: #fbefd9;
  font-size: 5rem;
  /* padding-bottom: 10rem; */
  /* text-decoration: none; */
  font-family: "vilaka", sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  transition: color 0.2s;
}
.menu-link:hover {
  color: #e07b39;
  /* font-size: 6rem; */
}
@media (max-width: 600px) {
  .menu-link {
    font-size: 1.5rem;
  }
  .menu-close {
    top: 20px;
    right: 20px;
    font-size: 2.2rem;
  }
}

body {
  perspective: 1000px;
  transform-style: preserve-3d;
}
#imgs {
  position: absolute;
  top: 70%;
  left: 50%;
  transform-style: preserve-3d;
  transform-origin: 0 0 -50vw;
  img {
    position: absolute;
    top: 0;
    left: 0;
    width: 25vw;
    height: 45vh;
    transform-origin: 50% 50% -50vw;
    transform: translate3d(-50%, -50%, 0);
    transform-style: preserve-3d;
  }
}

/* Responsive styles for Page 1 */
@media screen and (max-width: 1200px) {
  .page1-content-left h1.glitch {
    font-size: 12rem;
  }

  .role-tags {
    gap: 12px;
  }

  .tag {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

@media screen and (max-width: 992px) {
  .page1-content {
    flex-direction: column;
    justify-content: center;
    gap: 40px;
  }

  .page1-content-left {
    width: 100%;
    text-align: center;
  }

  .page1-content-left h1.glitch {
    font-size: 10rem;
    margin-bottom: 40px;
  }

  .page1-content-right {
    width: 100%;
    justify-content: center;
  }

  .role-tags {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .tag {
    font-size: 0.85rem;
    padding: 6px 12px;
  }

  .scroll-indicator {
    bottom: 30px;
  }
}

@media screen and (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }

  .navbar-left h1 {
    font-size: 1.5rem;
  }

  .navbar-right h2 {
    font-size: 0.9rem;
  }

  .page1-content-left h1.glitch {
    font-size: 8rem;
  }

  .role-tags {
    gap: 8px;
  }

  .tag {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  .scroll-indicator {
    bottom: 20px;
  }

  .mouse {
    width: 25px;
    height: 40px;
  }

  .wheel {
    width: 3px;
    height: 6px;
  }
}

@media screen and (max-width: 576px) {
  .navbar {
    height: 8%;
  }

  .navbar-left h1 {
    font-size: 1.2rem;
  }

  .navbar-right {
    gap: 20px;
  }

  .navbar-right h2 {
    font-size: 0.8rem;
  }

  .page1-content {
    padding: 0 20px;
  }

  .page1-content-left h1.glitch {
    font-size: 6rem;
  }

  .role-tags {
    gap: 6px;
  }

  .tag {
    font-size: 0.75rem;
    padding: 4px 8px;
  }

  .scroll-indicator {
    bottom: 15px;
  }

  .mouse {
    width: 20px;
    height: 35px;
  }

  .wheel {
    width: 2px;
    height: 5px;
  }

  .arrow span {
    width: 8px;
    height: 8px;
  }
}

/* Landscape Mode */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .page1-content {
    padding: 0 40px;
  }

  .page1-content-left h1.glitch {
    font-size: 5rem;
  }

  .role-tags {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tag {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  .scroll-indicator {
    bottom: 10px;
  }
}

/* Menu Overlay Responsive Styles */
@media screen and (max-width: 768px) {
  .menu-overlay {
    padding: 20px;
  }

  .menu-nav ul {
    gap: 2rem;
  }

  .menu-link {
    font-size: 3rem;
  }

  .menu-close {
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 576px) {
  .menu-nav ul {
    gap: 1.5rem;
  }

  .menu-link {
    font-size: 2.5rem;
  }

  .menu-close {
    top: 15px;
    right: 15px;
    font-size: 2rem;
  }
}

/* 3D Image Gallery Responsive Styles */
@media screen and (max-width: 992px) {
  #imgs img {
    width: 30vw;
    height: 40vh;
  }
}

@media screen and (max-width: 768px) {
  #imgs {
    top: 60%;
  }

  #imgs img {
    width: 35vw;
    height: 35vh;
  }
}

@media screen and (max-width: 576px) {
  #imgs {
    top: 50%;
  }

  #imgs img {
    width: 40vw;
    height: 30vh;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .tag:hover {
    transform: none;
  }

  .menu-link:hover {
    color: #fbefd9;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .glitch,
  .scroll-indicator,
  .mouse,
  .wheel,
  .arrow span,
  .tag,
  .menu-link {
    animation: none;
    transition: none;
  }
}

/* Responsive styles for Page 2 */
@media screen and (max-width: 1200px) {
  .page2 {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }

  .page2-left {
    width: 100%;
    height: auto;
    padding: 100px 5% 50px;
  }

  .page2-middle {
    width: 100%;
    height: 50vh;
    background-size: cover;
    background-position: center;
  }

  .page2-right {
    width: 100%;
    height: auto;
    padding: 50px 5%;
  }

  .page2-right-img {
    height: 300px;
  }
}

@media screen and (max-width: 992px) {
  .page2-left .quote {
    font-size: 3.5rem;
  }

  .page2-right-img {
    height: 250px;
  }
}

@media screen and (max-width: 768px) {
  .page2-left {
    padding: 80px 5% 40px;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .subtitle {
    font-size: 1rem;
  }

  .title {
    font-size: 2.5rem;
  }

  .role {
    font-size: 1.2rem;
  }

  .page2-left .quote {
    font-size: 3rem;
  }

  .page2-middle {
    height: 40vh;
  }

  .page2-right {
    padding: 40px 5%;
  }

  .about-content {
    gap: 15px;
  }

  .intro,
  .skills,
  .current-focus {
    font-size: 0.85rem;
  }

  .page2-right-img {
    height: 200px;
    margin-top: 30px;
  }
}

@media screen and (max-width: 576px) {
  .page2-left {
    padding: 70px 5% 30px;
  }

  .section-title {
    margin-bottom: 25px;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .title {
    font-size: 2rem;
  }

  .role {
    font-size: 1.1rem;
  }

  .page2-left .quote {
    font-size: 2.5rem;
  }

  .page2-middle {
    height: 55vh;
  }

  .page2-right {
    padding: 30px 5%;
  }

  .about-content {
    gap: 12px;
  }

  .intro,
  .skills,
  .current-focus {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .page2-right-img {
    height: 180px;
    margin-top: 25px;
  }
}

/* Landscape Mode for Page 2 */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .page2 {
    flex-direction: row;
    height: 100vh;
  }

  .page2-left {
    width: 30%;
    height: 100%;
    padding: 80px 3% 40px;
  }

  .page2-middle {
    width: 40%;
    height: 100%;
  }

  .page2-right {
    width: 50%;
    height: 100%;
    padding: 80px 3% 40px;
  }

  .page2-left .quote {
    font-size: 2.5rem;
  }

  .page2-right-img {
    height: 150px;
    margin-top: 20px;
  }
}

/* Responsive styles for Page 4 */
@media screen and (max-width: 1200px) {
  .page4 {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }

  .page4-left {
    width: 100%;
    padding: 80px 5% 40px;
  }

  .page4-left h2 {
    position: relative;
    bottom: auto;
    margin-top: 40px;
    font-size: 1.8rem;
  }

  .page4-right {
    width: 100%;
    height: auto;
  }

  .page4-right-up {
    height: auto;
    padding: 40px 5%;
    gap: 30px;
  }

  .page4-right-up-img1,
  .page4-right-up-img2 {
    width: 45%;
    height: auto;
  }

  .page4-right-up-img1 img,
  .page4-right-up-img2 img {
    width: 100%;
    height: auto;
  }

  .page4-right-down {
    padding: 0 5% 40px;
  }

  .page4-right-down-img1 {
    width: 45%;
    height: auto;
  }

  .page4-right-down-img1 img {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 992px) {
  .page4-left h2 {
    font-size: 1.6rem;
  }

  .page4-right-up-img1,
  .page4-right-up-img2,
  .page4-right-down-img1 {
    width: 50%;
  }
}

@media screen and (max-width: 768px) {
  .page4-left {
    padding: 60px 5% 30px;
  }

  .page4-left h5 {
    font-size: 0.9rem;
  }

  .page4-left h2 {
    font-size: 1.4rem;
    margin-top: 30px;
  }

  .page4-right-up {
    padding: 30px 5%;
    gap: 20px;
  }

  .page4-right-up-img1,
  .page4-right-up-img2,
  .page4-right-down-img1 {
    width: 100%;
  }

  .page4-right-up-img1 h5,
  .page4-right-up-img2 h5,
  .page4-right-down-img1 h5 {
    font-size: 0.9rem;
    margin-top: 10px;
  }

  .page4-right-down {
    padding: 0 5% 30px;
  }
}

@media screen and (max-width: 576px) {
  .page4-left {
    padding: 50px 5% 25px;
  }

  .page4-left h5 {
    font-size: 0.8rem;
  }

  .page4-left h2 {
    font-size: 1.2rem;
    margin-top: 25px;
  }

  .page4-right-up {
    padding: 25px 5%;
    gap: 15px;
  }

  .page4-right-up-img1 h5,
  .page4-right-up-img2 h5,
  .page4-right-down-img1 h5 {
    font-size: 0.8rem;
    margin-top: 8px;
  }

  .page4-right-down {
    padding: 0 5% 25px;
  }
}

/* Landscape Mode for Page 4 */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .page4 {
    flex-direction: row;
    height: 100vh;
  }

  .page4-left {
    width: 40%;
    padding: 60px 3% 40px;
  }

  .page4-left h2 {
    position: relative;
    bottom: auto;
    margin-top: 30px;
    font-size: 1.3rem;
  }

  .page4-right {
    width: 60%;
    height: 100%;
  }

  .page4-right-up {
    height: 60%;
    padding: 40px 3%;
  }

  .page4-right-down {
    height: 40%;
    padding: 0 3% 40px;
  }

  .page4-right-up-img1,
  .page4-right-up-img2,
  .page4-right-down-img1 {
    width: 45%;
  }
}

/* Responsive styles for Page 5 and Footer */
@media screen and (max-width: 1200px) {
  .page5 {
    height: auto;
    min-height: 100vh;
  }

  .page5-up,
  .page5-down,
  .page5-middle {
    height: auto;
    padding: 40px 0;
  }

  .page5-left-img,
  .page5-right-img {
    width: 80%;
    height: auto;
  }

  .page5-left-img img,
  .page5-right-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .footer {
    flex-direction: column;
    gap: 40px;
    padding: 60px 5% 40px;
  }

  .footer-left h1 {
    font-size: 4rem;
  }

  .footer-right {
    width: 100%;
    align-items: flex-start;
  }

  .gmail h2 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 992px) {
  .page5-left-img,
  .page5-right-img {
    width: 90%;
  }

  .footer-left h1 {
    font-size: 3.5rem;
  }

  .gmail h2 {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 768px) {
  .page5-up,
  .page5-down,
  .page5-middle {
    padding: 30px 0;
  }

  .page5-left,
  .page5-right {
    width: 100%;
    justify-content: center;
  }

  .page5-left-img,
  .page5-right-img {
    width: 85%;
  }

  .page5-left-img h5,
  .page5-right-img h5 {
    font-size: 0.9rem;
    margin-top: 10px;
  }

  .footer {
    padding: 40px 5% 30px;
    gap: 30px;
  }

  .footer-left h1 {
    font-size: 3rem;
  }

  .footer-left h3 {
    font-size: 1rem;
  }

  .gmail h2 {
    font-size: 1.5rem;
  }

  .footer-link {
    flex-wrap: wrap;
    gap: 15px;
  }

  .footer-link a {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 576px) {
  .page5-up,
  .page5-down,
  .page5-middle {
    padding: 20px 0;
  }

  .page5-left-img,
  .page5-right-img {
    width: 90%;
  }

  .page5-left-img h5,
  .page5-right-img h5 {
    font-size: 0.8rem;
    margin-top: 8px;
  }

  .footer {
    padding: 30px 5% 20px;
    gap: 25px;
  }

  .footer-left h1 {
    font-size: 2.5rem;
  }

  .footer-left h3 {
    font-size: 0.9rem;
  }

  .gmail h2 {
    font-size: 1.2rem;
  }

  .footer-link {
    gap: 12px;
  }

  .footer-link a {
    font-size: 0.8rem;
  }
}

/* Landscape Mode for Page 5 and Footer */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .page5 {
    height: auto;
  }

  .page5-up,
  .page5-down,
  .page5-middle {
    height: auto;
    padding: 30px 0;
  }

  .page5-left-img,
  .page5-right-img {
    width: 60%;
    height: auto;
  }

  .footer {
    flex-direction: row;
    padding: 40px 5%;
  }

  .footer-left h1 {
    font-size: 3rem;
  }

  .footer-right {
    width: 50%;
  }

  .gmail h2 {
    font-size: 1.5rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .footer-link a:hover {
    color: #331628;
  }
}

/* Projects Page Styles */
.projects-page {
  padding: 100px 5vw;
  min-height: 100vh;
  background-color: #fbefd9;
}

.projects-hero {
  text-align: center;
  margin-bottom: 80px;
}

.projects-hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}

.projects-subtitle {
  font-size: 1.5rem;
  color: #1e1005;
}

.projects-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.project-card {
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card-content {
  background: #331628;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease;
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(51, 22, 40, 0.2),
    rgba(51, 22, 40, 0.8)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-info {
  padding: 30px;
  color: #fff8dc;
}

.card-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "siese";
}

.card-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tech-tag {
  background: rgba(255, 248, 220, 0.1);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 248, 220, 0.2);
}

.card-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 248, 220, 0.8);
}

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

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e07b39;
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.project-link i {
  transition: transform 0.3s ease;
}

.project-link:hover {
  gap: 15px;
}

.project-link:hover i {
  transform: translateX(5px);
}

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

.project-card:hover .card-image {
  transform: scale(1.05);
}

.project-card:hover .card-overlay {
  opacity: 1;
}

/* Responsive Design for Projects Page */
@media (max-width: 768px) {
  .projects-hero h1 {
    font-size: 3rem;
  }

  .projects-subtitle {
    font-size: 1.2rem;
  }

  .card-title {
    font-size: 2rem;
  }

  .card-image-wrapper {
    height: 300px;
  }

  .project-links {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .projects-hero h1 {
    font-size: 2.5rem;
  }

  .card-title {
    font-size: 1.8rem;
  }

  .card-image-wrapper {
    height: 250px;
  }

  .card-info {
    padding: 20px;
  }
}

/* Contact Page Styles */
.contact-page {
  min-height: 100vh;
  background: #0a0a0a;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.contact-hero {
  text-align: center;
  padding: 4rem 0;
}

.contact-subtitle {
  font-size: 1.2rem;
  color: #888;
  margin-top: 1rem;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  padding: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-icon {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
}

.info-card h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.info-card p {
  color: #888;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: #888;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group.focused label,
.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  left: 0.5rem;
  font-size: 0.8rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 0 0.5rem;
  border-radius: 4px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.submit-btn {
  position: relative;
  overflow: hidden;
}

.submit-btn i {
  transition: transform 0.3s ease;
}

.submit-btn:hover i {
  transform: translateX(5px);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.ri-loader-4-line {
  animation: spin 1s linear infinite;
}

.contact-animation {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 200px;
  height: 200px;
  z-index: 1;
}

.floating-animation {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-animation {
    display: none;
  }
}

/* Navigation Link Styles */
.navbar-right h2 a,
.menu-link {
  position: relative;
  text-decoration: none;
  color: #fbefd9;
  transition: color 0.3s ease;
  padding: 5px 0;
}

.navbar-right h2 a::after,
.menu-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #e07b39;
  transition: width 0.3s ease;
}

.navbar-right h2 a:hover::after,
.menu-link:hover::after {
  width: 100%;
}

.navbar-right h2 a:hover,
.menu-link:hover {
  color: #e07b39;
}

.navbar-right h2 a.active,
.menu-link.active {
  color: #e07b39;
}

.navbar-right h2 a.active::after,
.menu-link.active::after {
  width: 100%;
}

/* Ensure links are clickable */
.navbar-right h2 a,
.menu-link {
  cursor: pointer;
  display: inline-block;
  z-index: 2;
}

/* Prevent text selection on navigation */
.navbar-right h2 a,
.menu-link {
  user-select: none;
  -webkit-user-select: none;
}

/* About Page Styles */
.about-page {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  color: #cdcbc8;
  /* background-color: #fbefd9; */
}

.about-hero {
  text-align: center;
  padding: 4rem 0;
}

.about-subtitle {
  font-size: 1.5rem;
  color: #666;
  margin-top: 1rem;
}

.about-section {
  /* margin: 15rem 1rem; */
  opacity: 1;
  transition: all 0.6s ease-out;
}

.about-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-section h2 {
  font-size: 2.5rem;
  margin: 2rem;
  /* padding-top: 10rem; */
  color: #333;
}

/* Journey Section */
.journey-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.journey-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #000000;
}

.journey-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.skill-category {
  background-color: #dec8b7;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
  color: #000; /* High contrast text */
  font-family: "Poppins", "Segoe UI", sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-weight: bold;
}

.skill-category:hover {
  transform: translateY(0px) scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.skill-category h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.skill-category ul {
  list-style: none;
  padding: 0;
}

.skill-category li {
  margin: 1rem 0;
  color: #666;
  display: flex;
  align-items: center;
}

.skill-category li::before {
  content: "▹";
  color: #64ffda;
  margin-right: 1rem;
}

/* Open Source Section */
.contribution-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contribution-item {
  text-align: center;
  padding: 2rem;
  background-color: #dec8b7;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.contribution-item:hover {
  transform: translateY(-5px);
}

.contribution-item i {
  font-size: 2.5rem;
  color: #64ffda;
  margin-bottom: 1rem;
}

.contribution-item h4 {
  color: #333;
  margin-bottom: 0.5rem;
}

.contribution-item p {
  color: #666;
}

/* Projects Showcase */
.projects-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-item {
  background-color: #dec8b7;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.project-item:hover {
  transform: translateY(-5px);
}

.project-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-item h4 {
  padding: 1.5rem 1.5rem 0.5rem;
  color: #333;
}

.project-item p {
  padding: 0 1.5rem 1.5rem;
  color: #666;
}

/* Goals Section */
.goals-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.goals-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 3rem;
}

.goals-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.goal-item {
  padding: 2rem;
  background-color: #dec8b7;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.goal-item:hover {
  transform: translateY(-5px);
}

.goal-item i {
  font-size: 2rem;
  color: #64ffda;
  margin-bottom: 1rem;
}

.goal-item h4 {
  color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-page {
    padding: 1rem;
  }

  .journey-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-section {
    margin: 4rem 0;
  }

  .about-section h2 {
    font-size: 2rem;
  }

  .skills-grid,
  .contribution-highlights,
  .projects-showcase,
  .goals-list {
    grid-template-columns: 1fr;
  }
}

/* Experience Section Styles */
.experience-section {
  margin: 6rem 0;
  opacity: 1;
  transition: all 0.6s ease-out;
}

.experience-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.experience-section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
  text-align: center;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.experience-item {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background-color: #dec8b7;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.experience-left {
  flex: 1;
  min-width: 150px;
}

.experience-left p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.experience-right {
  flex: 2;
}

.experience-right h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.experience-right h4 {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 1rem;
}

.experience-right ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.experience-right li {
  margin-bottom: 0.5rem;
  color: #666;
  line-height: 1.6;
}

.experience-list hr {
  border: none;
  height: 1px;
  background-color: #eee;
  margin: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .experience-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .experience-item {
    flex-direction: column;
    gap: 1rem;
  }

  .experience-left {
    min-width: auto;
  }

  .experience-right h3 {
    font-size: 1.3rem;
  }

  .experience-right h4 {
    font-size: 1rem;
  }

  .experience-right ul {
    padding-left: 1rem;
  }

  .experience-right li {
    margin-bottom: 0.3rem;
  }

  .experience-list hr {
    margin: 1.5rem 0;
  }
}

/* Contact Section Styles */
.contact-section {
  width: 100%;
  background-color: #fbefd9;
  color: #1e1005;
  padding: 80px 5%;
  margin-top: 80px; /* Add top margin for navbar */
}

/* Contact page specific page1 styling */
.contact-page .page1 {
  height: 100vh;
  width: 100vw;
  color: cornsilk;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 4)),
    url("https://i.pinimg.com/736x/ab/e2/62/abe262fa3a79d88c42da57d6ece03fa1.jpg");
  background-size: cover;
  background-position: center;
  font-family: "Saisei", sans-serif;
  position: relative;
  overflow: hidden;
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-container h1 {
  font-family: "siese";
  font-size: 3rem;
  margin-bottom: 10px;
}

.contact-container p {
  color: #3f2a1d;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label {
  font-size: 0.95rem;
  color: #2e251e;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(30, 16, 5, 0.2);
  background: rgba(255, 255, 255, 0.7);
  color: #1e1005;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #e07b39;
  background: rgba(255, 255, 255, 0.95);
}

.contact-submit {
  align-self: flex-start;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #e07b39;
  background: transparent;
  color: #e07b39;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-submit:hover {
  background: #e07b39;
  color: #fff8dc;
}

/* Menu overlay for contact page */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 16, 5, 0.97);
  color: #f3e4c7;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.menu-close {
  position: absolute;
  top: 40px;
  right: 50px;
  background: none;
  border: none;
  color: #fbefd9;
  font-size: 3rem;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.2s;
}

.menu-close:hover {
  color: #e07b39;
}

.menu-nav ul {
  list-style: none;
  padding: 0;
  margin-bottom: 10rem;
  display: flex;
  gap: 2.5rem;
  align-items: top;
}

.menu-link {
  color: #fbefd9;
  font-size: 5rem;
  font-family: "vilaka", sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  transition: color 0.2s;
  text-decoration: none;
}

.menu-link:hover {
  color: #e07b39;
}

@media (max-width: 576px) {
  .contact-container h1 {
    font-size: 2rem;
  }

  .menu-link {
    font-size: 1.5rem;
  }

  .menu-close {
    top: 20px;
    right: 20px;
    font-size: 2.2rem;
  }
}
