@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,100..900&display=swap");

/* Existing Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background: #000;
  font-family: "Inter", sans-serif;
  color: #fff;
  min-height: 100vh;
  cursor: url("media/cursor.png") 16 16, auto;
}

/* General Navbar Styling */
.nav-container {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(51, 60, 93, 0.36);
  backdrop-filter: blur(10px);
  padding: 1rem 0.5rem;
  z-index: 1000;
  box-shadow: 0px -6px 29px white;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #fff;
  font-size: 2rem;
  font-family: "Pacifico", serif;
  font-weight: 400;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px #000000;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  font-family: "Big Shoulders", sans-serif;
}

.nav-links a:hover {
  color: #4a90e2;
  cursor: url("media/click.png") 16 16, auto;
}

/* Burger Menu Styling */
.burger-menu {
  display: none; /* Hidden by default on larger screens */
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.burger-menu i {
  transition: transform 0.3s ease;
}

/* Dropdown Menu Styling */
.nav-links {
  flex-direction: row; /* Default layout for larger screens */
  position: static; /* Reset positioning for larger screens */
  background: transparent; /* No background for larger screens */
  box-shadow: none; /* No shadow for larger screens */
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column; /* Vertical layout for smaller screens */
    position: fixed; /* Fixed position for dropdown */
    top: 0;
    right: -50%; /* Start off-screen */
    width: 50%; /* Occupy half the screen width */
    height: 100vh; /* Full height */
    background: rgba(51, 60, 93, 0.9); /* Semi-transparent background */
    backdrop-filter: blur(10px);
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    z-index: 1001; /* Ensure it appears above other elements */
    gap: 2rem; /* Space between links */
    transition: right 0.3s ease; /* Smooth slide-in effect */
    visibility: hidden; /* Hide by default */
    opacity: 0; /* Fully transparent */
  }

  .nav-links.active {
    right: 0; /* Slide into view */
    visibility: visible; /* Make visible */
    opacity: 1; /* Fully opaque */
  }

  .burger-menu {
    display: block; /* Show burger menu on small screens */
  }
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

/* General Hero Section Styling */
/* General Hero Section Styling */
/* General Hero Section Styling */
#hero {
  padding: 0px 100px;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  position: relative; /* Enable child elements to use absolute positioning */
}

.typewriter-container {
  text-align: center; /* Center-align text for smaller screens */
}

.static-text {
  font-size: 120px;
  font-weight: 600;
  background-image: radial-gradient(circle, #553c9a, #ee4b2b);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  margin-bottom: 10px;
  font-family: "Big Shoulders", sans-serif;
  font-optical-sizing: auto;
}

.typewriter {
  font-size: 45px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #ffffff; /* Blinking white cursor */
  display: inline-block;
  font-family: "Big Shoulders", sans-serif;
}

/* Photo Container Styling */
.photo-container {
  position: absolute; /* Position relative to the hero section */
  bottom: -45px; /* Anchor to the bottom */
  right: 106px; /* Anchor to the right */
  width: 60%; /* Adjust width as needed */
  max-width: 654px; /* Limit maximum width */
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(10%); /* Offset slightly inward */
}

/* Main Photo Styling */
.main-photo {
  width: 100%; /* Fit within the container */
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.main-photo:hover {
  filter: grayscale(0%);
}

/* Moving Images Styling */
.moving-image {
  position: absolute;
  width: 22%; /* Scale relative to parent container */
  height: auto;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.img1 {
  top: 30%;
  left: 5%;
  animation-name: moveUpDown;
}

.img2 {
  top: 30%;
  right: -2%;
  animation-name: moveRandom;
}

.img3 {
  bottom: 10%;
  left: 50%;
  animation-name: moveUpDown;
}

/* Animation Keyframes */
@keyframes moveUpDown {
  0%,
  100% {
    transform: translateY(-20px);
  }
  50% {
    transform: translateY(20px);
  }
}

@keyframes moveRandom {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(10px, -10px);
  }
  50% {
    transform: translate(-10px, 10px);
  }
  75% {
    transform: translate(15px, 5px);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  #hero {
    padding: 50px;
  }

  .static-text {
    font-size: 80px;
  }

  .typewriter {
    font-size: 35px;
  }

  .photo-container {
    bottom: -50px; /* Anchor to the bottom */
    right: 149px; /* Anchor to the right */
    width: 63%; /* Adjust width as needed */
  }

  .moving-image {
    width: 17%; /* Slightly larger */
  }
}

@media (max-width: 768px) {
  #hero {
    flex-direction: column;
    align-items: center; /* Center-align all content */
    padding: 20px;
    text-align: center;
  }

  .static-text {
    font-size: 80px;
    position: absolute; /* Use absolute positioning */
    top: 28%; /* Position from the top */
    left: 50%; /* Position from the left */
    transform: translate(-50%, -50%); /* Center the text */
    text-align: center; /* Ensure text is centered */
    width: 90%; /* Limit width for better readability */
    margin: 0 auto; /* Center horizontally */
  }

  .typewriter {
    font-size: 25px;
    text-align: center; /* Center-align typewriter text */
    position: absolute; /* Use absolute positioning */
    top: 36%; /* Position from the top */
    left: 50%; /* Position from the left */
    transform: translate(-50%, -50%); /* Center the text */
  }

  .photo-container {
    width: 96%; /* Increase width for better visibility */
    transform: translateX(0); /* Remove offset */
    bottom: -14px;
    right: 5%;
  }

  .moving-image {
    width: 17%; /* Larger for better visibility */
  }
}

@media (max-width: 480px) {
  #hero {
    padding: 10px;
    height: 100vh; /* Allow height to adjust dynamically */
    position: relative; /* Enable child elements to use absolute positioning */
  }

  .static-text {
    font-size: 80px;
    position: absolute; /* Use absolute positioning */
    top: 28%; /* Position from the top */
    left: 50%; /* Position from the left */
    transform: translate(-50%, -50%); /* Center the text */
    text-align: center; /* Ensure text is centered */
    width: 90%; /* Limit width for better readability */
    margin: 0 auto; /* Center horizontally */
  }

  .typewriter {
    font-size: 25px;
    text-align: center; /* Center-align typewriter text */
    position: absolute; /* Use absolute positioning */
    top: 36%; /* Position from the top */
    left: 50%; /* Position from the left */
    transform: translate(-50%, -50%); /* Center the text */
  }

  .photo-container {
    width: 115%;
    bottom: -14px;
    right: -16px;
    transform: translateX(0);
  }

  .main-photo {
    width: 100%; /* Ensure main photo fits within container */
  }

  .moving-image {
    width: 18%; /* Even larger for small screens */
  }
}

.about-me {
  padding: 50px;
  background: #ffffff; /* Background color for the About Me section */
  color: #333;
  border-radius: 0px 0px 278px 278px;
}

.enhanced-heading {
  position: relative;
  padding: 6px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.heading-container {
  position: relative;
}

.enhanced-heading h2 {
  font-size: 4rem;
  font-weight: 800;
  color: transparent;

  position: relative;
  text-align: center;
  margin-bottom: 10px;
}

.heading-title-aboutme,
.heading-title-myprojects {
  position: relative;
  font-size: 3rem;
  font-weight: 500;
  color: #ff6f61;
  text-transform: uppercase;
  font-family: "Big Shoulders", sans-serif;
  letter-spacing: 15px;
  text-align: center;
  margin-bottom: 20px;
  animation: flicker0 1.5s infinite alternate;
}

@keyframes flicker0 {
  0%,
  18%,
  22%,
  25%,
  53%,
  57%,
  100% {
    text-shadow: 0 0 5px #ff6f61, 0 0 10px #ff6f61;
  }
  20%,
  24%,
  55% {
    text-shadow: none;
  }
}

.heading-title {
  position: relative;
  font-size: 3rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 15px;
  font-family: "Big Shoulders", sans-serif;
  color: #00bfff;
  text-shadow: 0 0 5px #00bfff, 0 0 10px #00bfff, 0 0 20px #00bfff,
    0 0 40px #00bfff, 0 0 80px #00bfff;
  animation: flicker 1.5s infinite alternate;
  text-align: center;
}

@keyframes flicker {
  0%,
  18%,
  22%,
  25%,
  53%,
  57%,
  100% {
    text-shadow: 0 0 5px #00bfff, 0 0 10px #00bfff, 0 0 20px #00bfff,
      0 0 40px #00bfff, 0 0 80px #00bfff;
  }
  20%,
  24%,
  55% {
    text-shadow: none;
  }
}

.content-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.text-content {
  flex: 1;
  margin-right: 40px;
  line-height: 1.8;
  font-size: 1.5rem;
  color: #333;
  text-align: justify;
  font-family: "Big Shoulders", sans-serif;
}

.video-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.aboutme-video {
  width: 100%;
  max-width: 500px;
  /* border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); */
}

/* New Tech Stack Styles */
.tech-stack {
  padding: 50px;
  text-align: center;
}

.infinity-container {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  margin-top: 40px;
}

.infinity-track {
  display: flex;
  justify-content: space-around;
  align-items: center;
  white-space: nowrap;
  position: absolute;
  top: 50%;
  left: 0;
  width: 200%;
  transform: translateY(-50%);
  animation: infinity-loop 15s linear infinite;
}

@keyframes infinity-loop {
  0% {
    transform: translateX(0) translateY(-50%);
  }
  100% {
    transform: translateX(-50%) translateY(-50%);
  }
}

.tech-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tech-icon img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.my-projects {
  padding: 50px;
  background: #ffffff; /* White background */
  color: #333; /* Dark text for contrast */
  /* border-radius: 278px 278px 0px 0px; */
}

.my-projects .enhanced-heading h2 {
  background-image: linear-gradient(90deg, #553c9a, #ee4b2b);
}

.my-projects .text-content {
  flex: 1;
  margin-right: 40px;
  line-height: 1.8;
  font-size: 1.2rem;
  color: #333;
  text-align: center; /* Center-align the "Coming Soon" text */
}

/* General styling for the content container */
.my-projects .content-container {
  text-align: center;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Styling for the under-development message */
.my-projects .under-development-message {
  font-size: 25px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
  font-family: "Big Shoulders", sans-serif;
}

/* Styling for the resume download button */
.my-projects .resume-download-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #007bff; /* Professional blue color */
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor: url("media/click.png") 16 16, auto;
}

/* Hover effect for the resume download button */
.my-projects .resume-download-button:hover {
  background-color: #0056b3; /* Darker shade of blue for hover */
}

/* CONTACT ME SECTION*/

/* General Contact Section Styling */
.contact-section {
  position: relative;
  height: auto; /* Allow height to adjust dynamically */
  min-height: 560px;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Slightly darker overlay */
  z-index: 2;
}

.content-container {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.text-content {
  max-width: 45%;
  color: #312d2d;
}

.text-content h1 {
  font-size: 5rem;
  font-weight: 600;
  margin: 0 0 15px;
  letter-spacing: 1px;
  font-family: "Big Shoulders", sans-serif;
  color: white;
}

.text-content .contact-para {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 25px;
  opacity: 0.9;
  color: white;
  font-family: "Big Shoulders", sans-serif;
}

.contact-form {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 40%;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  color: white;
  font-size: 1rem;
  font-family: "Big Shoulders", sans-serif;
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom: 1px solid white;
}

.contact-form button {
  background: transparent;
  color: white;
  padding: 12px 30px;
  border: 1px solid white;
  border-radius: 30px;
  cursor: url("media/click.png") 16 16, auto;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: 10px;
  font-family: "Big Shoulders", sans-serif;
  letter-spacing: 1.5px;
}

.contact-form button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  cursor: url("media/click.png") 16 16, auto;
}

.footer {
  position: relative; /* Changed from absolute to relative */
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  z-index: 3;
  font-size: 1.2rem;
  opacity: 0.8;
  margin-top: 40px; /* Add spacing above the footer */
}

.footer span {
  margin: 0 5px;
}

.footer .linkedin-connect {
  margin-top: 5px;
}

.footer .linkedin-connect a i {
  cursor: url("media/click.png") 16 16, auto;
  text-decoration: none;
  color: white;
  margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .content-container {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .text-content,
  .contact-form {
    max-width: 100%;
    margin: 20px 0;
  }

  .text-content h1 {
    font-size: 2.5rem;
  }

  .contact-form {
    width: 80%; /* Form occupies 80% of the screen */
    margin: 0 auto; /* Center the form horizontally */
  }

  .footer {
    margin-top: 60px; /* Increase spacing above the footer */
  }
}

@media (max-width: 480px) {
  .text-content h1 {
    font-size: 3rem; /* Further reduce font size for very small screens */
    text-align: center;
  }

  .contact-form {
    width: 90%; /* Form occupies 90% of the screen on very small devices */
  }

  .footer {
    font-size: 1rem; /* Reduce footer font size */
  }
}
