* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif; /* Change to Poppins */
  background: #0e0e11;
  background-image: radial-gradient(circle at 30% -17%, rgba(255,255,255,0.25) 0%, transparent 35%);
  color: white; 
  justify-content: center;
  text-align: center;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.04;
  pointer-events: none;
  z-index: -1;
}

/* Scrollbar Styles Start */
.logo {
  position: absolute;
  top: 20px;
  left: 30px;
  font-weight: bold;
  line-height: 1;
  font-size: 20px;
  z-index: 1000;
}

.logo span {
  display: block;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  width: 70px; /* Adjust width as needed */
  height: auto; /* Maintain aspect ratio */
}

.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 20px; /* Space between the hamburger and links */
}

.nav-links {
  position: absolute;
  top: 30px;
  right: 50px;
  z-index: 1000;
}

.nav-links a {
  margin-left: 30px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: #aaa;
}

.nav-toggle {
  position: fixed;
  top: 12px; /* Distance from the top of the viewport */
  right: 20px; /* Distance from the right of the viewport */
  z-index: 1000; 
  display: none; /* Hidden by default */
  font-size: 30px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-left: auto; /* Push the hamburger to the right */
}

.socials {
  position: fixed;
  top: 85%;
  left: 50px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
}

.socials a {
  color: #888;
  text-decoration: none;
  font-size: 20px;
}


.scroll-text {
  position: absolute;
  bottom: 30px;
  right: 40px;
  font-size: 12px;
  color: #777;
  writing-mode: vertical-rl;
  letter-spacing: 2px;
}
/* Scrollbar Styles End */


/* Hero Section Start */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: center;
  padding: 100px 50px;
  position: relative;
}



.intro {
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: #aaaaaae7;
  margin-bottom: 10px;
  text-align: left;
  justify-self: start;
  font-weight: 300;
  margin-left: 500px;
}

.main-title {
  font-size: 10rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  justify-self: center;
}

.subtitle {
  text-align: right;
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: #aaa;
  margin-top: 10px;
  line-height: 1.5;
  justify-self: end;
  margin-right: 500px;
}



.intro:hover, .main-title, .subtitle {
  text-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25); /* Adds a lift shadow effect */
}


.nav-links a, .intro h1, .intro p, .intro small, .socials a, .scroll-text {
  font-family: 'Poppins', sans-serif; /* Ensure all text uses Poppins */
}
/* Hero Section End */


/* Project Section Start */
.project-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.project-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  margin-top: 150px;
  z-index: 2;
}

.carousel-track {
  display: flex;
  gap: 100px; /* Space between slides */
}

.carousel-slide {
  position: relative;
  width: 450px; /* Adjust width as needed */
  height: 450px; /* Adjust height as needed */
  overflow: hidden;
  border-radius: 15px; /* Rounded corners for the slide */
}

.carousel-image {
  width: 100%;  
  object-fit: cover; /* Ensures the image covers the slide */
}

.carousel-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  padding: 10px 20px;
  border-radius: 50px; /* Oblong shape */
  text-align: center;
}
/* Project Section End */


/* About Section Start */
.about-section {
  color: #ccc;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 10%;
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: 644px;
}

.about-text h2 {
  font-size: 2rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
}

.about-text h2::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 2px;
  background-color: #666;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: #aaa;
}
/* About Section End */


/* Contact Section Start */
.contact-section {
  display: flex;
  flex-wrap: wrap; 
  justify-content: space-between;
  align-items: center;
  padding: 80px 10%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #0e0e11;
  color: #fff;
  gap: 20px;
  margin-bottom: 100px;
}

.contact-left {
  flex: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  padding-left: 20px;
}

.contact-info {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  gap: 15px;
}

.contact-info i {
  font-size: 1.5rem;
  color: #fff;
}

.contact-right {
  flex: none;
  width: 400px;
  padding: 40px;
  background-color: #0e0e11;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.contact-right h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form input,
form textarea {
  background: none;
  border: none;
  border-bottom: 1px solid #fff;
  color: #fff;
  padding: 10px 0;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

form input::placeholder,
form textarea::placeholder {
  color: #aaa;
}

form input:focus,
form textarea:focus {
  border-bottom: 1px solid #fff;
}

form textarea {
  resize: none;
  height: 100px;
}

form button {
  background-color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  color: #0e0e11;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

form button:hover {
  background-color: #f0f0f0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
/* Contact Section End */


.video-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;

  background: 
    linear-gradient(
      to bottom,
      #0e0e11 0%,
      rgba(14, 14, 17, 0.8) 5%,
      rgba(14, 14, 17, 0) 25%,
      rgba(14, 14, 17, 0) 75%,
      rgba(14, 14, 17, 0.8) 90%,
      #0e0e11 100%
    );
}


.ko-fi-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  border: 1px solid #fff;
  color: #fff;
  background-color: #0e0e11;
  border-radius: 30px;
  font-size: 0.9rem;
  z-index: 999;
  text-decoration: none;
  transition: 0.3s ease;
}

.ko-fi-float:hover {
  background-color: #fff;
  color: #0e0e11;
}


/* Responsive Styles Start */

/* General Mobile Styles */
@media (max-width: 768px) {
  /* Logo */
  .logo {
    top: 10px;
    left: 10px;
  }

  .logo-image {
    width: 55px;
  }

  /* Navigation */
  .nav-links {
    display: none; /* Hidden by default */
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .nav-links.active {
    display: flex; /* Show when active */
  }

  .nav-toggle {
    display: block; /* Show hamburger menu */
  }

  /* Hero Section */
  .hero {
    padding: 60px 20px;
    grid-template-rows: auto auto auto;
    text-align: center;
  }

  .intro {
    margin-left: 0;
    text-align: center;
    font-size: 0.6rem;
    justify-self: center;
  }

  .main-title {
    font-size: 5.5rem !important;
  }

  .subtitle {
    margin-right: 0;
    font-size: 0.6rem !important;
    text-align: center;
    justify-self: center;
  }

  /* Carousel */
  .carousel {
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .carousel-track {
    display: flex;
    width: max-content;
  }

  .carousel-slide {
    min-width: 80vw;
    scroll-snap-align: center;
    margin-right: 10px;
  }

  .carousel-image {
    width: 100%;
    height: auto;
  }

  /* Contact Section */
  .contact-section {
    flex-direction: column;
    padding: 20px;
  }

  .contact-left, .contact-right {
    width: 100%;
    text-align: center;
  }

  .contact-right form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Socials */
  .socials {
    position: static;
    justify-content: center;
    flex-direction: row;
    margin: 20px 0;
  }

  .socials a {
    font-size: 20px;
  }

  .ko-fi-float {
    bottom: 20px;
    right: 20px;
    font-size: 12px;
    padding: 8px 12px;
  }
}


/* Typography Responsives */
.main-title {
  font-size: 10rem; /* Desktop */
}

@media (max-width: 768px) {
  .main-title {
    font-size: 5rem; /* Mobile */
  }
}

.contact-section {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping */
  justify-content: space-between;
  gap: 20px;
}

.carousel-image {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
}



@media (max-width: 768px) {
  .contact-section {
    flex-direction: column; /* Stack sections vertically */
    align-items: center; /* Center align items */
  }
}

/* Responsive Styles Start */

/* Large screens (desktops) */
@media (max-width: 1200px) {
  .hero {
    padding: 80px 40px;
  }

  .main-title {
    font-size: 8rem;
  }

  .contact-section {
    padding: 60px 5%;
  }
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
  .hero {
    padding: 60px 30px;
  }

  .main-title {
    font-size: 6rem;
  }

  .contact-section {
    flex-direction: column;
    gap: 30px;
  }

  .contact-left,
  .contact-right {
    max-width: 100%;
    padding: 20px;
  }
}

/* Small screens (phones) */
@media (max-width: 768px) {
  body {
    text-align: left;
  }

  .hero {
    padding: 50px 20px;
  }

  .main-title {
    font-size: 5rem;
  }

  .subtitle {
    font-size: 0.5rem;
    margin-right: 10px;
  }

  .contact-section {
    flex-direction: column;
    gap: 20px;
    padding: 40px 5%;
  }

  .contact-left,
  .contact-right {
    width: 100%;
    padding: 20px;
  }

  form button {
    width: 100%;
  }

  .carousel-track {
    gap: 20px;
  }

  .carousel-slide {
    width: 300px;
    height: 300px;
  }

  .carousel {
    flex-direction: column; /* Stack items vertically */
    margin-top: 50px; /* Adjust spacing for mobile */
  }

  .carousel-track {
    display: flex;
    flex-direction: column; /* Stack slides vertically */
    gap: 20px; /* Add spacing between stacked slides */
  }

  

  .carousel-image {
    height: auto; /* Maintain aspect ratio */
  }
}

/* Extra small screens */
@media (max-width: 576px) {
  .hero {
    padding: 30px 10px;
  }

  .main-title {
    font-size: 4rem;
  }

  .subtitle {
    font-size: 0.4rem;
  }

  .contact-section {
    padding: 20px;
  }

  .contact-left,
  .contact-right {
    padding: 10px;
  }

  form input,
  form textarea {
    font-size: 0.9rem;
  }

  form button {
    font-size: 0.9rem;
    padding: 10px;
  }
}

/* Responsive Styles End */