@font-face {
  font-family: "Poppins";
  src: url(fonts/Poppins-Regular.ttf) format("truetype");
}

@font-face {
  font-family: "Plain Light";
  src: url(fonts/plain-light-webfont.ttf) format("truetype");
}

:root {
  --bg-color: #151515;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body,
html {
  width: 100%;
  height: 100%;
}

body {
  background-color: #151515;
  color: #fff;
  overflow: auto;
}

.page1 {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-color);
}

.sidebar {
  display: none;
}

.wlc-page {
  width: 100%;
  height: 100%;
  background-color: #030303;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999;
  color: #fff;
}

.wlc-page div {
  margin-top: 0.2vw;
}

.wlc-page h1 {
  font-size: 10vw;
  font-family: "Plain Light";
  line-height: 8vw;
}

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 3vw;
  height: 12vh;
}

.nav .nav-logo {
  width: 15vw;
  overflow: hidden;
}

.nav .nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nav-content .nav-links {
  display: flex;
  gap: 4vw;
  color: #fff;
  list-style: none;
  align-items: center;
}

.nav-content i {
  display: none;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-family: "Poppins";
  font-size: 1.2vw;
}

.nav-links li .contact-btn {
  display: flex;
  align-items: center;
  gap: 0.5vw;
  margin-left: 0.7vw;
  background-color: #fff;
  color: #030303;
  padding: 0.7vh 0.7vh;
  border-radius: 1vw;
  outline: none;
  font-weight: 600;
}

.nav-links li .contact-btn:hover {
  background-color: #ddd;
}

.hero-sec {
  width: 100%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(100% - 12vh);
  padding: 0 9vw;
}

.hero-sec-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Poppins";
  padding: 2vw;
  overflow: hidden;
}

.hero-sec-left h1 {
  letter-spacing: 0.17vw;
  font-size: 7.5vw;
  line-height: 1.15;
}

.hero-sec-left > span:first-of-type {
  font-size: 1.9vw;
}

.hero-sec-left h4 {
  font-size: 2.3vw;
  color: #e552ff8f;
  font-family: "Plain Light";
  font-weight: 500;
}

.hero-sec-left a {
  background-color: #fff;
  color: #030303;
  padding: 0.9vh 0.9vh;
  border-radius: 0.9vw;
  outline: none;
  font-weight: 600;
  width: fit-content;
  text-decoration: none;
  margin-top: 0.9vw;
}

.hero-sec-left a:hover {
  background-color: #ddd;
}

.hero-sec-right {
  width: 28vw;
}

.hero-sec-right img {
  width: 100%;
}

.page2 {
  width: 100%;
  height: 100vh;
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.move {
  width: fit-content;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.move-content h1 {
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  font-weight: 500;
  font-size: 4.8vw;
  text-align: center;
  text-transform: uppercase;
}
.stripe-1 {
  position: absolute;
  width: 18vw;
  height: 3vh;
  background-color: white;
  top: 10%;
  transform: rotate(-45deg);
  margin-left: -4vw;
}
.stripe-2 {
  position: absolute;
  width: 18vw;
  height: 3vh;
  background-color: white;
  bottom: 10%;
  right: 0;
  transform: rotate(-45deg);
  margin-right: -4vw;
}

.page3 {
  width: 100%;
  height: 100vh;
  background-color: var(--bg-color);
  padding: 15vh 20vh;
}

.page3-content {
  display: flex;
  padding-left: 2vw;
  padding-top: 1.2vw;
}

.page3 .page3-left {
  width: 50%;
}

.page3-left .img-div {
  width: 80%;
}
.img-div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page3 .page3-right {
  width: 70%;
}

.page3-title h1 {
  font-size: 6vw;
  font-family: "Poppins";
  color: #ffffff57;
  font-style: italic;
  font-weight: 700;
  margin-bottom: 1.5vw;
  margin-top: -4vh;
}

.page3-text p {
  font-size: 1.8vw;
  font-family: "Poppins";
  width: 90%;
  color: #ffffffb1;
}

.page4 {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12vh 0;
}

.page4-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5vw;
  width: fit-content;
  position: relative;
  overflow: hidden;
}

.page4-top {
  text-align: center;
}

.page4-top h1 {
  font-size: 3vw;
  font-family: "Poppins";
  font-style: italic;
  color: #e552ff4c;
}

.page4-bottom {
  position: relative;
  width: fit-content;
  height: 69vh;
}

.video-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  backdrop-filter: blur(5px);
}

.page4-bottom video {
  width: 100%;
  height: 100%;
}

.video-cursor {
  width: 6vw;
  height: 6vw;
  background-color: #151515;
  position: absolute;
  top: 15%;
  left: 7%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3vw;
  opacity: 0;
  color: #fff;
  z-index: 10;
}

.page5 {
  width: 100%;
  height: 100vh;
  background-color: var(--bg-color);
  padding-top: 14vh;
}

.page5-top {
  text-align: center;
}

.page5-top-title h1 {
  font-size: 3.2vw;
  color: #ffffff57;
}

.page5-top-title h1:first-of-type {
  font-family: "Poppins";
  font-style: italic;
  color: #e552ff57;
}

.page5-bottom {
  /* background-color: rgba(255, 250, 205, 0.37); */
  padding-top: 14vh;
}

.skill-div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5vw;
}

.skill-box {
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2vw;
}

.skill-img-div {
  border-radius: 50%;
  background-color: #ffffff97;
  width: 5.5vw;
  height: 5.5vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-img-div img {
  width: 2.7vw;
}

.skill-box-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1vw;
  background-color: #ffffff3f;
  width: 8vw;
  height: 25vh;
  border-radius: 9vh;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  padding: 2vh 0 2.5vh 0;
}

.skill-box-top h3 {
  font-family: "Plain";
  font-size: 1.8vw;
  font-weight: 900;
  color: #151515;
  margin-left: 0.5vw;
}

.skill-box-bottom span {
  font-size: 1.2vw;
  font-family: "Poppins";
  font-weight: 600;
  color: #ddddddbe;
}

.projects-section {
  background-color: #151515;
  padding: 5vh 0;
  text-align: center;
  min-height: 100vh;
}

.projects-title {
  color: #e552ff57;
  font-size: 3.2vw;
  margin-bottom: 3vw;
  font-family: "Poppins";
  font-style: italic;
}
.project-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5vh;
  padding: 5vh 0;
}

.project-card {
  width: 30vw;
  min-height: 69vh; /* Adjust width for uniformity */
  background: #181818;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1.2px solid #6e6e6e3e;
  position: sticky;
  top: 15vh;
}

.project-card:hover {
  box-shadow: 0 0 3px #ffffff24;
  transform: scale(1.01);
}
.project-card img {
  width: 100%; /* Ensures full container width */
  height: 100%; /* Set a fixed height */
  object-fit: cover; /* Ensures images scale properly without cropping */
  border-radius: 8px;
  background-color: black;
}

.project-img-div {
  padding: 8px 6px 0 6px;
}
.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  padding-left: 10px;
  margin-top: 10px;
}

.project-tags span {
  background: #e552ff57;
  color: white;
  padding: 7px 15px; /* Reduced size */
  border-radius: 6px;
  font-size: 13px; /* Reduced font size */
}

.project-content {
  text-align: left;
  flex-grow: 1;
  padding: 10px;
}

.project-content p {
  font-size: 1.1vw;
  color: #ddd;
  line-height: 1.5vw;
  padding: 1vh 0;
  margin-top: 0.7vw;
  text-align: start;
}

.page7 {
  width: 100%;
  min-height: 100vh; /* Ensure full screen height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12vh 5vw; /* Add vertical padding */
  background-color: var(--bg-color);
}

.container {
  width: 100%;
  max-width: 1100px;
  display: flex;
  gap: 5vw;
  align-items: center;
}

.left {
  flex: 1;
}

.left h4 {
  color: #a14ec4;
  font-size: 1.4rem;
  font-weight: 500;
}

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

.left h1 span {
  color: #a14ec4;
  font-style: italic;
}

.contact-info {
  margin: 3vh 0;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 15px;
}

.contact-info i {
  font-size: 1.8rem;
  color: #a14ec4;
}

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

.social-icons a {
  text-decoration: none;
  font-size: 1.8rem;
  color: #ccc;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #a14ec4;
}

.right {
  flex: 1;
  display: flex;
  justify-content: center;
}

form {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #1a1a1a;
  padding: 25px;
  border-radius: 10px;
}

.input-group {
  display: flex;
  gap: 12px;
}

.input-group input,
textarea {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  border: 1px solid #555;
  border-radius: 8px;
  outline: none;
  background-color: #2a2a2a;
  color: white;
}

textarea {
  resize: none;
  height: 150px;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #a14ec4;
  color: #fff;
  font-size: 1.2rem;
  border: none;
  border-radius: 50px;
  padding: 15px 30px;
  cursor: pointer;
  transition: background 0.3s ease;
  gap: 10px;
  width: 100%;
}

.submit-btn i {
  color: #ddd;
}

.submit-btn:hover {
  background-color: #7d3a9d;
  color: #fff;
}

.submit-btn:hover i {
  color: #fff;
}

/* Custom Select Box with Icon */
.select-container {
  position: relative;
  width: 100%;
}

.select-container select {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  outline: none;
  background-color: #2a2a2a;
  color: #fff;
  cursor: pointer;
  appearance: none;
  border: 1px solid #555;
}

.select-container i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6e6e6e;
  pointer-events: none;
  font-size: 1rem;
}

.footer {
  width: 100%;
  height: 10vh;
  background-color: #151515;
  border-top: 1px solid #ffffff1d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.footer h3 {
  font-family: "Poppins";
  font-size: 1vw;
  color: #ffffff90;
  font-weight: 500;
}
.footer h4 {
  font-family: "Poppins";
  font-size: 1vw;
  color: #ffffff90;
  font-weight: 500;
}
.footer h4 a {
  font-family: "Poppins";
  font-size: 1vw;
  color: #ffffff90;
  font-weight: 500;
}

.contact-mail {
  text-decoration: none;
  color: #cccccc;
}

/* media quarys */

@media (max-width: 600px) {
  /* page 1 */

  .page1 {
    position: relative;
  }

  .wlc-page {
    opacity: 1;
  }
  .wlc-page div {
    margin-top: 0vw;
  }

  .wlc-page h1 {
    font-size: 15vw;
    line-height: 15vw;
  }

  .nav {
    background-color: #9227c435;
    height: 12vh;
  }

  .nav .nav-logo {
    width: 28vh;
    overflow: hidden;
    margin-left: -8vh;
  }

  .nav .nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .nav-content .nav-links {
    display: none;
  }

  .sidebar {
    position: absolute;
    left: 0;
    top: 11.5vh;
    width: 100%;
    height: fit-content;
    background-color: #2f193a;
    display: none;
    z-index: 9999;
    padding: 2vh 0 2vh 2vh;
  }

  .nav-content i {
    display: block;
    font-size: 4.5vh;
    color: #fff;
  }

  .contact-btn i {
    color: #fff;
  }
  .contact-btn {
    overflow: hidden;
  }
  .sidebar-links li a {
    text-decoration: none;
    color: #fff;
    font-family: "Poppins";
    font-size: 2.5vh;
  }

  .sidebar-links li {
    margin-bottom: 1vh;
  }

  .sidebar-container ul {
    list-style: none;
  }

  .hero-sec {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: start;
    gap: 5vh;
    padding: 6.5vh 9vw 0 9vw;
  }

  .hero-sec-left h1 {
    letter-spacing: 0.25vw;
    font-size: 18.2vw;
    line-height: 1.18;
  }

  .hero-sec-left > span:first-of-type {
    font-size: 4.9vw;
  }
  .hero-sec-left > span:last-of-type {
    font-size: 4.4vw;
    margin-top: 1vh;
  }

  .hero-sec-left h4 {
    font-size: 6.2vw;
    letter-spacing: 0.2vw;
  }

  .hero-sec-left a {
    padding: 1vh 1vh;
    border-radius: 2vw;
    margin-top: 1.5vh;
  }

  .hero-sec-right {
    width: 72vw;
  }

  /* page 2 */

  .page2 {
    height: 55vh;
    margin: 3vh 0;
  }

  .move {
    width: 100%;
    padding: 0 1vw;
  }

  .move-content h1 {
    font-size: 9.5vw;
  }
  .stripe-1 {
    width: 90vw;
    height: 2vh;
    top: 0;
    margin-left: -30vw;
  }
  .stripe-2 {
    width: 90vw;
    height: 2vh;
    bottom: 0;
    right: 0;
    margin-right: -30vw;
  }

  /* page 3  */

  .page3 {
    padding: 0;
    padding-top: 7vh;
  }

  .page3-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-left: 0;
    padding-top: 0;
  }

  .page3 .page3-left {
    width: 100%;
  }

  .page3-left .img-div {
    margin-left: 10vw;
  }

  .page3 .page3-right {
    width: 100%;
    padding: 5vw 10vw;
  }

  .page3-title h1 {
    text-align: center;
    font-size: 12vw;
    margin-bottom: 1.5vw;
    margin-top: 0;
  }

  .page3-text p {
    text-align: start;
    font-size: 4vw;
    margin-top: 2vh;
    padding-left: 4.5vw;
    line-height: 2.7vh;
    width: 100%;
  }

  /* page 4 */

  .page4 {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 0;
  }

  .page4-content {
    gap: 15vw;
  }

  .page4-top h1 {
    font-size: 6vw;
    margin-top: 1vh;
    padding: 0 0.5vw;
  }

  .video-bg {
    display: none;
  }

  .page4-bottom {
    height: 32vh;
    padding: 0 1vw;
  }

  .video-cursor {
    width: 20vw;
    height: 20vw;
    top: 30%;
    left: 2%;
  }

  /* page 5 */

  .page5 {
    min-height: 40vh;
    padding-top: 7vh;
  }

  .page5-top {
    text-align: center;
  }

  .page5-top-title h1 {
    font-size: 9.2vw;
  }

  .page5-bottom {
    padding-top: 12vh;
  }

  .skill-div {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 on small screens */
    gap: 15px;
  }

  .skill-box-top {
    width: 33vw;
    height: 21vh;
    background-color: #6e6e6e6a;
  }

  .skill-box {
    width: 100%; /* Full width for each skill */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2vh;
  }

  .skill-box-top h3,
  .skill-box-bottom span {
    display: none; /* Hide text */
  }

  .skill-img-div img {
    width: 80px; /* Adjust size for mobile */
  }

  /* page 6 */

  .projects-section {
    padding: 10px 15px;
  }

  .projects-title {
    font-size: 10.2vw;
    margin-bottom: 25vw;
  }
  .project-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding: 0 16vw; */
    justify-content: center; /* Centers items */
    gap: 25px;
    column-gap: 0;
    padding: 0 1px;
  }

  .project-card {
    width: 100%;
    min-height: 55vh; /* Adjust width for uniformity */
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid #6e6e6e3e;
    box-shadow: 0 0 3px #ffffff24;
  }

  .project-card:hover {
    box-shadow: 0 0 3px #ffffff24;
    transform: scale(1);
  }
  .project-card img {
    width: 100%; /* Ensures full container width */
    height: 100%; /* Set a fixed height */
    object-fit: cover; /* Ensures images scale properly without cropping */
    border-radius: 8px;
    background-color: black;
  }

  .project-img-div {
    padding: 0;
  }
  .project-tags {
    width: 100%;
    padding-left: 4px;
    margin-top: 12px;
  }

  .project-tags span {
    background: #e552ff57;
    color: white;
    padding: 4px 10px; /* Reduced size */
    border-radius: 6px;
    font-size: 15px; /* Reduced font size */
  }

  .project-content {
    text-align: left;
    flex-grow: 1;
    padding: 0.5vh;
    margin-top:1.6vh;
  }

  .project-content p {
    font-size: 4vw;
    color: #ddddddca;
    line-height: 1.5;
    margin-top: 0;
  }

  /* page 7 */

  .container {
    display: flex;
    flex-direction: column;
  }

  .left {
    order: 1; /* Ensure text comes first */
    text-align: left;
  }

  .contact-info {
    margin-bottom: 20px; /* Add spacing */
  }

  .social-icons {
    margin-bottom: 20px; /* Add spacing before the form */
  }

  .right {
    order: 2; /* Form should come after the text and social icons */
    width: 100%;
  }

  form {
    width: 100%;
  }

  /* footer */

  .footer {
    width: 100%;
    height: 10vh;
    background-color: #151515;
    border-top: 1px solid #ffffff1d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -10vw;
  }
  .footer h3 {
    font-family: "Poppins";
    font-size: 4vw;
    color: #ffffff90;
    font-weight: 500;
  }
  .footer h4 {
    font-family: "Poppins";
    font-size: 4vw;
    color: #ffffff90;
    font-weight: 500;
  }
  .footer h4 a {
    font-family: "Poppins";
    font-size: 4vw;
    color: #ffffff90;
    font-weight: 500;
    text-decoration: none;
  }
}
