:root {
  --bg-primary: #0a0a0a;
  --text-primary: #ffffff;
  --accent-neon: #00ffff;
  --accent-purple: #8a4fff;
  --gradient-primary: linear-gradient(45deg, #00ffff, #8a4fff);
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transform: translate3d(0, 0, 0); /* Hardware acceleration */
  backface-visibility: hidden;
  perspective: 1000;
}

body {
  background: url(../images/47.webp);
  font-family: "Inter", "Space Grotesk", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 16px;
  max-width: 100vw;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  height: 100vh;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
  position: relative;
  margin-top: 3rem;
}

.hero-title {
  font-size: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  color: red;
  margin-bottom: 0rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 5px;
}

.hero-image {
  position: relative;
  perspective: 1000px;
  margin-top: 2rem;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  transform: rotateY(-10deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: rotateY(0) scale(1.05);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem; /* Adjusted padding for better spacing */
  z-index: 1000;
  transition: background-color 0.3s, padding 0.3s;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9) !important;
  padding: 1rem 1.5rem !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}

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

.logo img {
  width: 5rem;
  height: auto;
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.25rem;
  font-size: 16px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #fd151b;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: #fd151b;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 10000;
}

.hamburger span {
  display: block;
  height: 4px;
  background-color: white;
  width: 100%;
  border-radius: 4px;
}

/* Mobile Navigation */
.nav-links.mobile {
  display: none;
}

.nav-links.mobile.active {
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.9);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: auto;
  padding: 2rem;
  justify-content: flex-start;
  z-index: 1001;
  border-radius: 0 0 24px 24px;
}

@media (max-width: 768px) {
  @media (max-width: 768px) {
    .nav-links {
      display: none; /* Initially hide the links */
      flex-direction: column; /* Stack links vertically */
      position: absolute; /* Position the menu */
      top: 100%; /* Just below the navbar */
      left: 0;
      width: 100%;
      background: rgba(0, 0, 0, 0.9); /* Dark background */
      padding: 2rem;
      border-radius: 0 0 12px 12px;
      z-index: 1001; /* Ensure it's above other content */
    }

    .nav-links.active {
      display: flex; /* Show the menu when active */
    }
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem; /* Reduce padding for smaller screens */
  }

  .navbar.scrolled {
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.7); /* Darker background for clarity */
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .navbar {
    padding: 0.8rem 1rem; /* Compact padding */
  }

  .navbar.scrolled {
    padding: 0.6rem 0.8rem; /* Even smaller padding for mobile */
    background: rgba(0, 0, 0, 0.85); /* Higher opacity for readability */
  }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .nav-content {
    padding: 0 1.5rem;
  }

  .logo img {
    width: 4rem; /* Slightly smaller logo for tablets */
  }

  .nav-links {
    gap: 1rem; /* Reduce space between links */
  }

  .hero-content {
    margin-top: 6rem;
    text-align: center;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .nav-content {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 1rem;
  }

  .hero-content {
    margin-top: 8rem;
    text-align: center;
  }

  .logo img {
    width: 3.5rem; /* Smaller logo for mobile */
  }

  .nav-links {
    display: none; /* Hide links on mobile, enable toggle menu if needed */
  }
}

.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 2.5rem;
  color: red;
  margin-top: 10rem;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 0rem;
}

.folio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.kowl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.crash-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.4s ease;
}

.port-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.4s ease;
}

.port-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.folio-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.4s ease;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.folio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.4s ease;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

/* Skills & Software Section */
.skills-section {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 20px;
  opacity: 1 !important;
}

.skills-column {
  flex: 1;
  padding: 0 1rem;
}

.skill-item {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.skill-item:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.15);
}

/* Contact Section */
.contact-section {
  margin-top: 4rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-primary);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.contact-btn {
  background: var(--gradient-primary);
  color: var(--bg-primary);
  border: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.contact-btn:hover {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-section,
  .portfolio-grid,
  .skills-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-image img {
    transform: none;
  }

  .folio-item img {
    margin-left: 0rem;
    width: 25%;
  }

  .folio-item {
    width: 70rem;
    margin-left: -2rem;
  }
}

/* Additional Innovative Sections Styling */
.creative-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.process-stage {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.process-stage::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.process-stage:hover::before {
  opacity: 1;
}

.process-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
}

/* Experimental Techniques Section */
.experimental-techniques {
  margin-top: 4rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.technique-showcase {
  perspective: 1000px;
  display: flex;
  justify-content: center;
}

.technique-showcase img {
  width: 80%;
  border-radius: 15px;
  transform: rotateX(-10deg) rotateY(10deg);
  transition: transform 0.5s ease;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.technique-showcase iframe {
  width: 1200px;
  height: 600px;
  border-radius: 16px;
  margin-bottom: -3rem;
}

.technique-showcase:hover img {
  transform: rotateX(0) rotateY(0) scale(1.05);
}

/* Technology Exploration Section */
.tech-exploration {
  margin-top: 4rem;
  display: flex;
  gap: 2rem;
}

.tech-column {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.4s ease;
}

.music-column {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.4s ease;
  width: 1150px;
  margin-left: 1rem;
  margin-top: 6rem;
}

.tech-column:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tech-icons {
  display: flex;
  justify-content: space-around;
  margin-top: 1rem;
  opacity: 0.7;
}

.tech-icons img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}

.tech-icons img:hover {
  transform: scale(1.2);
}

/* Workshop & Masterclass Section */
.workshop-section {
  margin-top: 4rem;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  padding: 3rem;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.workshop-description {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.workshop-cta {
  background: var(--gradient-primary);
  color: var(--bg-primary);
  border: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: bold;
  transition: transform 0.3s ease;
  margin-top: 1rem;
}

.workshop-cta:hover {
  transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .creative-process,
  .experimental-techniques,
  .tech-exploration,
  .workshop-section {
    grid-template-columns: 1fr;
    width: 330px;
    margin-left: 0rem;
  }

  .interactive-gallery {
    display: flex;
    flex-direction: column;
    width: 390px;
  }

  .music {
    width: 20rem;
    margin-left: 0rem;
  }

  .music-column {
    padding: 1rem;
    width: 335px;
    margin-left: 0rem;
  }

  .interactive-item {
    width: 330px;
    height: 700px;
  }
}

/* Container for the gallery */
.image-gallery {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 2rem 0rem 6rem 0rem;
}

/* Wrapping element to allow horizontal scroll */
.gallery-wrapper {
  display: flex;
  justify-content: center;
  padding: 4rem 6rem 0rem 2rem;
}

/* The slide element that will hold all images */
.gallery-slide {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
}

/* Style for individual images */
.gallery-slide img {
  width: 33.33%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

/* Hover effect on images */
.gallery-slide img:hover {
  transform: scale(1.1);
}

/* Scroll buttons (optional) */
.scroll-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  z-index: 10;
}

.scroll-button.left {
  left: 10px;
}

.scroll-button.right {
  right: 10px;
}

/* Interactive Gallery Styling */
.interactive-gallery {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 5rem;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.4s ease;
  height: 100vh;
}

/* Individual Image Holder */
.interactive-item {
  width: 500px;
  height: 580px;
  perspective: 1600px; /* Setting perspective for the 3D effect */
}

/* The Image Wrapper (Enables 3D transformation) */
.image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

/* Hover Effect - 3D Transformation */
.interactive-item:hover .image-wrapper {
  transform: rotateY(20deg) rotateX(10deg); /* Rotate slightly for 3D interaction */
}

/* Image Styling */
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

/* Hover - Image Scaling */
.interactive-item:hover img {
  transform: scale(1.1); /* Zooms in image slightly */
}

/* Shadow Effect on Hover */
.interactive-item:hover {
  box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.2); /* Adds shadow on hover for depth */
}

/* Optional Click Zoom (for more interaction) */
.interactive-item.clicked .image-wrapper {
  transform: scale(1.2) rotateY(15deg) rotateX(5deg); /* Larger zoom effect */
}

/* Technology Exploration Section */
.exploration {
  margin-top: 4rem;
  display: flex;
  gap: 2rem;
  width: 1170px;
  margin-left: 0rem;
}

.music {
  margin-top: 4rem;
  display: flex;
  gap: 2rem;
  width: 100%;
  margin-left: 0rem;
  flex-wrap: wrap;
  justify-content: center;
}

.column {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.4s ease;
}

.column:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cloth-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.4s ease;
  height: 48rem;
}

.featured-exploration {
  min-height: 100vh; /* Full viewport height */
  display: flex;
  justify-content: center;
  align-items: center; /* Centers the content */
  gap: 2rem;
  width: 100%; /* Ensures it spans the full width */
  margin-left: 0;
  padding: 0rem;
  box-sizing: border-box;
  margin-top: 16rem;
}

.featured-column {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.4s ease;
  height: 100%; /* Slightly less than full viewport to avoid overflow */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers content inside */
  align-items: center;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  max-height: none; /* Ensures it doesn't overflow */
  overflow-y: visible; /* Allows scrolling if needed */
  width: 100%;
}

@media (max-width: 768px) {
  .portfolio-grid,
  .kowl-grid,
  .three-grid,
  .crash-grid,
  .folio-grid {
    grid-template-columns: 1fr; /* Stack items in smaller screens */
  }

  .column {
    margin-top: 8rem;
    width: 0rem;
  }

  .column h3 {
    margin-top: 0rem;
  }

  .column p {
    display: flex;
    justify-content: center;
  }

  .music {
    width: 23rem;
    margin-left: 0rem;
  }

  .featured-grid {
    height: 100%;
    overflow-y: auto;
    width: 100%;
  }

  .port-item {
    height: 10rem;
  }

  .interactive-item {
    width: 330px;
    height: 700px;
  }

  .folio-item {
    width: 70rem;
    margin-left: -2rem;
  }

  .exploration {
    width: 335px;
    margin-left: 0rem;
  }
}

@media (max-width: 768px) {
  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .interactive-item {
    width: 330px;
    height: 700px;
  }
}

.portfolio-grid,
.kowl-grid,
.three-grid,
.crash-grid,
.folio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 2rem;
}

.technique-showcase iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

@media (max-width: 768px) {
  .portfolio-grid,
  .kowl-grid,
  .three-grid,
  .crash-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .column-div {
    margin-left: -0.5rem;
  }
}

.footer {
  text-align: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.9);
  color: var(--text-primary);
}

/* Responsive Design */

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .skills-section {
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center-align the columns */
    padding: 2rem; /* Reduce padding */
  }

  .skills-column {
    text-align: center; /* Center text for better mobile aesthetics */
    padding: 0;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .skills-section {
    padding: 1.5rem;
  }

  .skills-column {
    width: 100%; /* Full width for better readability */
  }

  .music {
    width: 18rem;
    margin-left: 0rem;
  }

  .skill-item {
    font-size: 1rem; /* Slightly smaller text for mobile */
    padding: 0.5rem; /* Add padding for touch accessibility */
  }

  .featured-grid {
    height: 100%;
    overflow-y: auto;
    width: 100%;
  }

  .port-item {
    height: 10rem;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .interactive-item {
    width: 330px;
    height: 700px;
  }

  .folio-item {
    width: 70rem;
    margin-left: -2rem;
  }

  .interactive-item {
    width: 330px;
    height: 700px;
  }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .gallery-wrapper {
    padding: 2rem 1rem; /* Reduce padding */
  }

  .gallery-slide img {
    max-width: 200px; /* Reduce image size for smaller screens */
  }

  .scroll-button {
    padding: 0.8rem;
    font-size: 1.2rem;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .gallery-wrapper {
    padding: 1rem 0.5rem;
    overflow-x: auto; /* Ensure smooth horizontal scrolling */
  }

  .gallery-slide img {
    max-width: 150px; /* Further reduce size for better fit */
  }

  .scroll-button {
    display: none; /* Hide scroll buttons on small screens */
  }

  .column {
    margin-top: 8rem;
    width: 0rem;
  }

  .column h3 {
    margin-top: 0rem;
    font-size: 1.9rem;
  }

  .column p {
    display: flex;
    justify-content: center;
  }
}

.column-div {
  width: 70rem;
}

/* Navigation */
/* Navbar General Styling */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  z-index: 1000;
  transition: background-color 0.3s, padding 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Navbar when scrolled */
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* Logo */
.logo img {
  width: 5rem;
  height: auto;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.25rem;
  font-size: 16px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #fd151b;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: #fd151b;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 4px;
  background-color: white;
  width: 100%;
  border-radius: 4px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: left 0.3s ease-in-out;
    padding: 4rem;
    border-radius: 0 12px 12px 0;
    display: flex;
  }

  .nav-links.active {
    left: -30px;
  }

  .hamburger {
    display: flex;
  }
}

.column h3 {
  display: flex;
  justify-content: center;
  font-size: 1.9rem;
  color: red;
}
/* Footer */
footer {
  background: #0e0e0e;
  color: white;
  padding: 2rem;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  color: red;
  transform: scale(1.1);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #333;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.back-to-top.visible {
  opacity: 1;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* Tablet Specific Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Hero Section Adjustments */
  .hero-section {
    grid-template-columns: 1fr;
    height: auto;
    padding: 2rem 0;
  }

  .hero-content {
    text-align: center;
    margin-top: 4rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-image {
    max-width: 70%;
    margin: 0 auto;
  }

  /* Portfolio Grid Adjustments */
  .portfolio-grid,
  .folio-grid,
  .kowl-grid,
  .three-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Skills Section */
  .skills-section {
    flex-direction: column;
    padding: 2rem;
  }

  .skills-column {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  /* Contact Section */
  .contact-section {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  /* Navigation */
  .navbar {
    padding: 1rem;
  }

  .nav-content {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .logo img {
    width: 4rem;
  }

  .nav-links {
    display: flex; /* Prepare for mobile menu */
  }

  .hamburger {
    display: none;
  }
}

/* iPad Pro Specific Adjustments */
@media (min-width: 1024px) and (max-width: 1366px) {
  .container {
    max-width: 95%;
    padding: 1.5rem;
  }

  .hero-section {
    grid-template-columns: 1fr 1fr;
    gap: 10rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-links {
    gap: 1.5rem;
  }
}

/* Responsive Typography for Tablets */
@media (min-width: 769px) and (max-width: 1366px) {
  body {
    font-size: 15px;
  }

  .hero-title {
    font-size: 2.7rem;
  }

  .hero-subtitle {
    font-size: 1.4rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .creative-process {
    display: flex;
    gap: 1.5rem;
    padding: 3rem 1.5rem;
    width: 785px;
  }

  .process-stage:last-child {
    grid-column: 1 / span 2;
    margin: 0 auto;
    max-width: 60%;
  }

  .process-icon {
    font-size: 3.5rem;
  }

  .process-stage h3 {
    font-size: 1.2rem;
  }

  .process-stage p {
    font-size: 0.95rem;
  }
}

/* Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
  .experimental-techniques {
    padding: 5rem 1.5rem;
    width: 780px;
  }

  .technique-description {
    max-width: 90%;
  }

  .technique-description h2 {
    font-size: 2.2rem;
  }

  .technique-description p {
    font-size: 1rem;
  }

  .technique-showcase {
    max-width: 95%;
  }

  .gallery-slide img {
    width: 250px;
    height: 180px;
  }

  /* Tablet Responsiveness */
  @media (min-width: 769px) and (max-width: 1024px) {
    .tech-exploration {
      padding: 3rem 1.5rem;
      width: 800px;
    }

    .tech-description h3 {
      font-size: 2.2rem;
    }

    .tech-description p {
      font-size: 1.1rem;
    }

    .kowl-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.2rem;
    }

    .portfolio-item img {
      height: 250px;
    }
  }

  .scroll-button {
    font-size: 1.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .interactive-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    padding: 2.5rem 1.5rem;
    width: 830px;
  }

  .interactive-item:nth-child(3) {
    grid-column: 1 / span 2;
    max-width: 80%;
    margin: 0 auto;
  }

  .image-wrapper {
    padding-top: 0%; /* Slightly adjusted aspect ratio */
  }
}

/* Tablet Specific Responsive Design */
@media (min-width: 769px) and (max-width: 1024px) {
  .exploration {
    padding: 2.5rem 1rem;
    width: 788px;
  }

  .column {
    width: 760px;
  }

  .column-div {
    flex-direction: column;
    align-items: center;
  }

  .folio-item {
    width: 2006px;
    margin-bottom: 1rem;
    margin-left: 5rem;
  }

  .folio-item:last-child {
    max-width: 2006px;
    height: 400px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .music {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .music h2 {
    grid-column: 1 / -1;
    font-size: 2rem;
  }

  .item:first-of-type {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .item img {
    height: 300px;
  }

  .portfolio-overlay h3 {
    font-size: 1.3rem;
  }

  .portfolio-overlay p {
    font-size: 0.9rem;
  }

  .music-column {
    padding: 1rem;
    width: 780px;
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 768px) {
  .featured-exploration {
    margin-top: 6rem; /* Less margin for smaller screens */
    padding: 1rem;
  }
  .featured-grid {
    grid-template-columns: repeat(1, 1fr); /* 1 column on mobile */
    gap: 1rem;
  }
  .featured-column {
    padding: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .music {
    grid-template-columns: repeat(2, 1fr); /* 2 items per row on tablets */
  }
}

@media (max-width: 768px) {
  .music {
    grid-template-columns: 1fr; /* Stack items on small screens */
  }

  h2 {
    font-size: 1.8rem; /* Slightly smaller heading */
    text-align: center;
  }

  .music-column {
    padding: 1rem;
  }
}

/* Add these styles to your existing projects.css file */

/* Video Posters Showcase Section */
.video-posters-showcase {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(30, 30, 30, 0.8)), url(../images/47.webp);
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.video-posters-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 0, 0, 0.1), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.video-posters-showcase .container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}

.video-posters-showcase .section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.video-posters-showcase .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #fd151b;
}

.video-posters-showcase .section-description {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.video-posters-container {
  position: relative;
}

/* Poster Grid */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  perspective: 1000px;
}

.poster-item {
  perspective: 1000px;
  height: 400px;
  position: relative;
  transition: transform 0.5s ease;
}

.poster-item.featured-poster {
  grid-column: span 2;
  grid-row: span 2;
  height: auto;
}

.poster-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.poster-front,
.poster-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.poster-front {
  background: #000;
}

.poster-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.poster-front video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.poster-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.poster-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.duration {
  display: inline-block;
  background: rgba(255, 0, 0, 0.7);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px;
  height: 60px;
  background: rgba(255, 0, 0, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
  opacity: 0;
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fd151b;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.poster-back {
  background: rgba(20, 20, 20, 0.95);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.poster-content {
  text-align: center;
}

.poster-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #fd151b;
}

.poster-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.poster-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.poster-tags span {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.poster-tags span:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.watch-btn {
  background: #fd151b;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(253, 21, 27, 0.3);
}

.watch-btn:hover {
  background: #e01016;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(253, 21, 27, 0.4);
}

/* Hover Effects */
.poster-item:hover {
  transform: translateY(-10px);
}

.poster-item:hover .poster-front img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.poster-item:hover .poster-overlay {
  opacity: 1;
  transform: translateY(0);
}

.poster-item:hover .play-button {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.play-button:hover {
  background: rgba(255, 0, 0, 1);
  transform: translate(-50%, -50%) scale(1.1) !important;
}

/* Flip Effect */
.poster-item.flipped .poster-card {
  transform: rotateY(180deg);
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.video-modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-modal.active .modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-modal:hover {
  background: rgba(255, 0, 0, 0.8);
  transform: rotate(90deg);
}

.video-container {
  width: 100%;
  height: 100%;
}

/* Parallax Effect */
.poster-item:nth-child(odd) {
  transform: translateZ(20px);
}

.poster-item:nth-child(even) {
  transform: translateZ(-20px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .poster-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .poster-item.featured-poster {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .video-posters-showcase {
    padding: 4rem 1rem;
  }

  .poster-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .poster-item {
    height: 350px;
  }

  .poster-item.featured-poster {
    grid-column: span 1;
    height: 400px;
  }

  .poster-overlay h3 {
    font-size: 1.3rem;
  }

  .poster-content h3 {
    font-size: 1.5rem;
  }

  .modal-content {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .video-posters-showcase .section-title {
    font-size: 2.2rem;
  }

  .poster-item {
    height: 300px;
  }

  .poster-overlay {
    padding: 1.5rem;
  }

  .play-button {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .poster-back {
    padding: 1.5rem;
  }

  .poster-content h3 {
    font-size: 1.3rem;
  }

  .poster-content p {
    font-size: 0.9rem;
  }

  .watch-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Animation for poster items */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.poster-item {
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

.poster-item:nth-child(1) {
  animation-delay: 0.1s;
}
.poster-item:nth-child(2) {
  animation-delay: 0.2s;
}
.poster-item:nth-child(3) {
  animation-delay: 0.3s;
}
.poster-item:nth-child(4) {
  animation-delay: 0.4s;
}
.poster-item:nth-child(5) {
  animation-delay: 0.5s;
}
.poster-item:nth-child(6) {
  animation-delay: 0.6s;
}










































