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


/* Netflix-style color variables */
:root {
  --netflix-black: #141414;
  --netflix-dark-gray: #333333;
  --netflix-gray: #e5e5e5;
  --netflix-red: #e50914;
  --netflix-white: #ffffff;
  --netflix-red66: rgba(229, 9, 20, 0.4);  /* light glow */
  --netflix-red99: rgba(229, 9, 20, 0.7);  /* stronger glow */
  --spotlight-color: rgba(255, 0, 0, 0.5); /* red light, change to white if needed */
}

#typewriter {
  /* font-family: monospace; */
  font-size: 2.8rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid var(--netflix-red); /* Blinking cursor */
  width: fit-content;
  animation: typing 5s steps(20, end), blink-caret 0.75s step-end infinite;
  color: white;
  margin: 20px auto;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 8ch;
  }
}

@keyframes blink-caret {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: var(--netflix-red);
  }
}



#portfolio-content {
  visibility: hidden; /* Start hidden */
  opacity: 0; /* Start fully transparent */
  transition: opacity 0.5s ease 0.8s, visibility 0s linear 1.3s; /* Fade in over 0.5s, become visible after 0.8s, delay visibility change */
}

/* Show it when the class is added */

/* Hide the welcome overlay when button is clicked */
.hidden {
  opacity: 0;
  transform: translateY(-5000px);
  pointer-events: none;
}


/* ----------------------------------------------------------- */

body {
  box-sizing: border-box; /* Good for all elements */
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif; /* Your preferred font */
  background-color: var(--netflix-white); /*Overall background*/
  color: var(--netflix-white);
  scroll-behavior: smooth;
  transition: background 0.3s, color 0.3s;
}


#intro-overlay {
  position: fixed; /* Stays on top */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--netflix-black); /* Or #000, consistent with your design */
  display: flex; /* Make it a flex container */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  flex-direction: column;
   /* Stack children vertically if needed */
  z-index: 9999; /* Ensure it's on top */
  transition: opacity 0.5s ease, transform 0.5s ease; /* For hiding it */
}

#intro-overlay.hidden {
  opacity: 0;
  pointer-events: none; /* Crucial to allow clicks on content below */
  /* You might want a transform like translateY(-100%) or scale(0)
     for a more visually distinct "hide" animation, e.g.: */
  transform: translateY(-100vh); /* Slides up */
  /* Or display: none after a delay if you want to completely remove it from flow */
}

/* The spotlight container itself (inside #intro-overlay) */
.spotlight-container {
  position: relative; /* Relative to #intro-overlay */
  width: 100%;
  height: 100%; /* Fill the overlay */
  display: flex; /* Inherit centering from parent */
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  /* No need for min-height: 100vh here as it's already in #intro-overlay */
}



.spotlight {
  position: absolute;
  top: 0; /* Starts at the top of spotlight-container */
  left: 50%;
  transform: translateX(-50%); /* Correctly centers horizontally */
  width: 0;
  height: 0;
  background: radial-gradient(ellipse at top, rgba(173, 216, 230, 0.7) 0%, rgba(0, 0, 0, 0) 70%);
  animation: shine-spotlight 2s forwards; /* Use a unique name! */
  pointer-events: none;
}

@keyframes shine-spotlight { /* UNIQUE NAME FOR SPOTLIGHT */
  from {
      width: 0;
      height: 0;
      opacity: 0;
  }
  to {
      width: 40%; /* TWEAK THIS */
      height: 70%; /* TWEAK THIS */
      opacity: 1;
  }
}


@keyframes dropSpotlight {
  0% {
    top: -50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }
  60% {
    opacity: 0.4;
    transform: translate(-50%, -30%) scale(1.05);
  }
  100% {
    top: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.center-button {
  position: relative;
  z-index: 1;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  background-color: #e50914;
  color: white;
  border: none;
  border-radius: 5px;
  /* flex-direction: column; */
  box-shadow: 0 2px 4px rgba(255, 0, 0, 0.5);
  transition: background-color 0.3s ease;
  opacity: 0;
  animation: fadeInButton 2.5s forwards 1.5s;
}

.center-button:hover {
  background-color: #b20710;
}

@keyframes fadeInButton {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



#portfolio-content.show {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s ease;
  /* Optional: add a delay if you want it to appear after intro fades out */
  transition-delay: 0.3s; /* Example delay */
}


@keyframes fadeInMain {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}




/* ---------------------------------------------------------------- */

/* 🎯 Button Container */
#enter-wrapper {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeInButton 2s ease 3s forwards;
  text-align: center;
}

/* Wrapper with glow */
#enter-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 60%);
  z-index: -1;
  pointer-events: none;
  /* animation: pulseGlow 2.5s ease-out infinite; */
}




/* Remove glow when hidden */
#intro-overlay.hidden #enter-wrapper {
  animation: none;
}


#welcome-heading::after {
  /* content: '|'; */
  animation: blink 1s infinite;
  margin-left: 5px;
  color: var(--netflix-red);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}


/* Existing fade-in-section styles */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

  /* ---------------------------- */
  
  body {
    background-color: var(--netflix-black);
    color: var(--netflix-white);
    scroll-behavior: smooth;
    transition: background 0.3s, color 0.3s;
  }
  
  header {
    padding: 1.5rem 2rem;
    text-align: center;
    background: white;
  }
  
  header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--netflix-white);
  }
  
  
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 90vh;
    text-align: center;
    padding: 2rem;
  }
  
  .hero img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid #fff;
    margin-bottom: 1.5rem;
  }
  
  .hero h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--netflix-white);
    min-height: 3.5rem;
  }
  
  .hero p {
    font-size: 1.2rem;
    max-width: 600px;
    color: #eee;
  }
  
  .hero .badges {
    margin: 1.2rem 0;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    font-size: 1rem;
    color: #ccc;
    flex-wrap: wrap;
  }
  
  .hero .badges i {
    margin-right: 0.5rem;
    color:var(--netflix-red);
  }
  
  .cta-button {
    background:var(--netflix-red);
    /* color: #fff; */
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.3s ease;
    margin-top: 1rem;
  }
  
  .cta-button:hover {
    background: var(--netflix-red);
  }

/* --------------------------------------------- */

  .box-button {
    cursor: pointer;
    /* border: 4px solid black; */
    /* background-color: #ff4ec4; */
    
    padding-bottom: 10px;
    transition: 0.1s ease-in-out;
    user-select: none;
    text-decoration: none;
    display: inline-block;
  }
  
  
  .button span {
    font-size: 1.2em;
    letter-spacing: 1px;
    color: black;
  }
  
  .box-button:active {
    padding: 0;
    margin-bottom: 10px;
    transform: translateY(10px);
  }



/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
.center-button {
  --button-text-color: #ffffff; /* Netflix White for text */
  position: relative; /* Needed for background positioning */
  cursor: pointer;
  display: flex; /* To center content */
  align-items: center;
  justify-content: center;
  
  /* Adjust padding to control button size - matches your previous "Let's Connect" attempts */
  padding: 12px 25px; 
  
  border-radius: 10px; /* Rounded corners for the button */
  font-size: 1.05em;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none; /* Remove underline for <a> tag */
  user-select: none; /* Prevent text selection */
  color: var(--button-text-color); /* Initial text color */
  border: 1px solid transparent; 
  background-color: transparent; 
  background-image: 
      linear-gradient(to right, var(--netflix-light-gray), var(--netflix-light-gray)),
      linear-gradient(to right, var(--netflix-red), var(--netflix-red));
  
  /* Initially hide the gradients by setting their size to 0% width */
  background-size: 0% 100%; 
  background-repeat: no-repeat;
  background-position: left center, left center; /* Position them at the left center */

  /* Add a subtle initial outer shadow (can be removed if you only want it on hover) */
  box-shadow: 0 0 5px var(--netflix-red);

  /* Transition for all properties - crucial for smooth animation */
  transition: all 0.3s cubic-bezier(0.02, 1, 0.3, 1);

  filter: blur(0px); 
}

/* --- Hover State --- */
.center-button:hover {
  /* Expand background gradients to fill the button */
  background-size: 100% 100%; 
  
  /* Apply a slight blur effect to the background when hovered */
  filter: blur(0.5px); 

  /* Change text color on hover for contrast with the gradient */
  color: #000000; /* Change to black text for contrast with purple/pink */

  /* You can remove or change the box-shadow on hover to create different effects */
  box-shadow: 0 0 15px var(--netflix-red); /* Slightly more prominent shadow on hover */
  /* Or, if you want the Uiverse's specific look (which removes the shadow): */
}

/* --- Active (Click) State --- */
.center-button:active {
  /* Adjust these values to control the visible click effect */
  transform: scale(0.55); /* Makes the button slightly smaller (squish effect) */
  /* You could also add a translateY for a downward push, like: */
   transform: scale(0.55) translateY(3px);
  /* Ensure the transition is quick for a crisp feel */
  transition: transform 1.2s ease-out; 
}
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */


  section {
    padding: 2rem 3rem;  /* Add side spacing */
    width: 100%;         /* Full stretch */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  section.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  h3 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: var(--netflix-white);
  }
  
  ul li, section p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .skills-column:hover {
    max-height: 500px;
    overflow-y: auto; 
    transition: all 0.5s ease;
    box-shadow: 0 8px 10px var(--netflix-red);
    transform: translateY(-6px);
    cursor: pointer;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.08);
  }
  
  .skills-column {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
  }
  /* ==================================================================================== */
  .skills-column h4 {
    margin-bottom: 1rem;
    color: var(--netflix-red);
  }
  
  .skills-column ul {
    list-style: none;
    padding-left: 0;
  }
  
  .skills-column li {
    margin: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
  }
  
  .skills-column li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--netflix-red);
  }
  
  .edu-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .edu-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 10px;
    flex: 2;
    min-width: 200px;
  }
  

  .edu-card:hover {
    max-height: 900px;
    overflow-y: auto; 
    transition: all 0.5s ease;
    box-shadow: 0 8px 20px var(--netflix-red);
    transform: translateY(-6px);
    cursor: pointer;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.08);
  }
  
  .tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    margin: 0.2rem;
    display: inline-block;
    font-size: 0.85rem;
  }
  
  .footer {
    text-align: center;
    padding: 2rem;
    background-color: rgba(0,0,0,0.7);
    color: #ccc;
    font-size: 0.9rem;
  }


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

  .experience-tile {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.5s ease;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: auto; /* Ensures tile height adjusts to content */
    cursor: pointer; /* Indicate it's interactive */
    z-index: 1;
  }
  

  .experience-tile:hover {
    max-height: auto;
    overflow-y: auto; 
    transition: all 0.5s ease;
    box-shadow: 0 8px 20px var(--netflix-red);
    transform: translateY(-6px);
    cursor: pointer;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.08);
  }
  
  .tile-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
  }
  
  .tile-header h4 {
    color:var(--netflix-red);
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
  }

  .job-title {
    font-size: 1.5rem;
    font-weight: 1000;
    color: var(--netflix-red) !important;
    margin-bottom: 0.5rem;
  }
  
  .company {
    color:var(--netflix-red) !important;
    font-size: 1.35rem;
  }
  
  .tile-header span {
    color:var(--netflix-red);
  }


  .timeline-date {
    font-size: 0.9rem;
    color: var(--netflix-gray);
  }
  
  .tile-details {
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
    overflow-y: visible;
    margin-top: 1rem;
    padding-right: 0;
    flex-grow: 1;
  }
  
  .experience-tile:hover .tile-details {
    /* opacity: 1; */
    pointer-events: auto;
  }
  
  .tile-details ul {
    list-style: disc;
    padding-left: 1.2rem;
    color: #eee;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
  }  

  
  .tile-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
  }
  
  .tile-content {
    text-align: center;
  }

  .experience-tile h4 {
    color: var(--netflix-white);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
  }
  
  
  .experience-tile h4 span {
    color: #aaa;
    font-weight: normal;
  }
  
  .timeline-date {
    font-size: 0.9rem;
    color: var(--netflix-gray);
    margin-bottom: 1rem;
  }
  
  .experience-tile ul {
    list-style: disc;
    padding-left: 1.2rem;
    text-align: left;
  }
  
  .experience-tile ul li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
  }

 
  .project-tile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 1.5rem; /* Adjust spacing between tiles */
  }

  .project-tile {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(227, 7, 7, 0.1);
  }

  .project-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px var(--netflix-red);
  }

  .project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--netflix-red);
    margin-bottom: 0.5rem;
  }

  .project-subtitle {
    font-size: 0.95rem;
    color: var(--netflix-gray);
    margin-bottom: 1rem;
  }

  .project-tile ul {
    padding-left: 1.5rem;
    color: #ddd;
    font-size: 1rem;
  }

  .project-tile ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
  }


  .hero {
    position: relative;
    height: 100vh;
    padding: 2rem;
    color: white;
    text-align: center;
    background-size: cover;
    background-position: center;
    /* display: flex; */
    flex-direction: column;
    justify-content: center;
    z-index: 1;
  }

  .hero * {
    z-index: 1;
    position: relative;
  }

  .scrolling-greet {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--netflix-red);
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--netflix-red);
    width: fit-content;
    margin: 0 auto 1rem;
    animation: typing 3.5s steps(52, end), blink 1s step-end infinite alternate;
  }


  @keyframes typing {
    from { width: 0 }
    to { width: 30ch }
  }

  @keyframes blink {
    50% { border-color: transparent; }
  }

  .profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin: 1.5rem auto;
    object-fit: cover;
  }

  .subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: #ccc;
    margin-bottom: 1.5rem;
  }

  .cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    color: white;
    color: var(--netflix-white);
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s;
  }

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

  .highlight-text {
    color: var(--netflix-red); 
    font-weight: 600;
  }

  .shiny-text {
    display: inline-block;
    background-image: linear-gradient(
    90deg,
    var(--netflix-red),
    var(--netflix-red99)
   
  );
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: shine 8s linear infinite;
    font-weight: 800;
    -webkit-text-fill-color: transparent;
  }
  
  @keyframes shine {
    0% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 100%  50%;
    }
  }

  .cta-button.shiny-text {
    background: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border: 2px solid var(--netflix-red);
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    color: transparent;
    background-image: linear-gradient(
      to right,
      var(--netflix-white),
      var(--netflix-red),
      var(--netflix-white),
      #ffffff
    );
    background-clip: text;
    -webkit-background-clip: text;
    animation: shine 3s linear infinite;
    transition: background 0.8s ease, transform 0.2s;
  }
  
  .cta-button.shiny-text:hover {
    transform: scale(1.05);
    border-color: yellow;
  }
  .connect-link {
    color: var(--netflix-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
  }
  
  .connect-link:hover {
    color: var(--netflix-red);
    text-decoration: underline;
  }
  .connect-link.shiny-text {
    animation: none !important;
    background: none !important;
    background-clip: unset;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
  }

  /* /* Background Animation */
  #particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url("https://www.reactbits.dev/_next/static/media/squares.2fa62142.svg");
    background-repeat: repeat;
    /* opacity: 100; */
    animation: scroll-bg 40s linear infinite;
    filter: hue-rotate(300deg) contrast(1.11); 
     background-color:var(--netflix-black);
     /* background-color: rgba(2, 2, 2, 1); */
  }
  
  @keyframes scroll-bg {
    from {
      background-position: 0 0;
    }
    to {
      background-position: 1000px 1000px;
    }
  } 


  
  section, .hero, .experience-grid, .project-tile-grid {
  position: relative;
  z-index: 1;
  background: transparent; /* no need to override background color */
}
 

.faq-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
}

.faq-button {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;
  background-image: linear-gradient(147deg,  var(--netflix-dark-gray));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: poiter;
  position: relative;
  transition: all 0.5s ease;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.faq-button i {
  color: var(--netflix-red);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-button:hover i {
  animation: bounce 0.7s both;
}

/* Pulse animation */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
.tooltip {
  position: absolute;
  top: -28px;
  opacity: 0;
  background-image: linear-gradient(147deg, var(--netflix-red) 0%,var(--netflix-red99) 74%);
  color: var(--netflix-dark-gray);
  padding: 8px 20px;
  font-size: 18px;
  border-radius: 6px;
  transition: 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}



.tooltip::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--netflix-red);
  z-index: -1;
}

.faq-button:hover .tooltip {
  top: -35px;
  opacity: 1;
}

 
 .glow-on-hover {
  width: 140px;
  height: 50px;
  border: none;
  outline: none;
  background: var(--netflix-red);
  color: var(--netflix-white);
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  font-weight: bold;
}

.glow-on-hover:before {
  content: '';
  background: linear-gradient(45deg,
    #ff0000,
    #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 2px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  border-radius: 10px;
}

.glow-on-hover:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #111;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}
 
 /* Button style from Uiverse.io by adeladel522 */  
.button {
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding-block: 0.5rem;
  padding-inline: 1.25rem;
  background: var(--netflix-red);
  color: var(--netflix-white);
  border: none;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 10px;
  font-weight: bold;
  outline: none;
  overflow: hidden;
  font-size: 15px;
}

.icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease-in-out;
}

.button:hover {
  transform: scale(1.05);
  background: #b00610;
}

.button:hover .icon {
  transform: translate(4px);
}

.button:hover::before {
  animation: shine 1.5s ease-out infinite;
}

.button::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;
  left: -100px;
  opacity: 0.6;
}

@keyframes shine {
  0% {
    left: -100px;
  }
  60% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* --------------Forms------------------------------ */
/* From Uiverse.io by yashasvi9199 */
.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 2em;
  background-color: #171717;
  border-radius: 25px;
  transition: 0.4s ease-in-out;
}

.form-tile {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--netflix-red);
  margin-bottom: 0.5rem;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
}


.card {
  background-image: linear-gradient(163deg, var(--netflix-red) 10%, var(--netflix-dark-gray) 70%);
  border-radius: 22px;
  transition: all 0.3s;
  margin: auto;
  max-width: 700px;
}

.card2 {
  transition: all 0.2s;
}

.card2:hover {
  transform: scale(0.98);
  border-radius: 20px;
}


#heading {
  text-align: center;
  margin-bottom: 0.5em;
  color:var(--netflix-red99);
  font-family: 'Times New Roman', Times, serif;
  font-size: 2em;
  font-weight: 100;

}

.field {
  display: flex;
  align-items: center;
  gap: 0.5em;
  border-radius: 10px;
  padding: 0.6em;
  background-color: #1f1f1f;
  box-shadow: inset 2px 5px 10px rgba(0, 0, 0, 0.5);
}

.input-icon {
  height: 1.3em;
  width: 1.3em;
  fill: white;
}

.input-field {
  background: none;
  border: none;
  outline: none;
  width: 100%;
  color: #d3d3d3;
  font-size: 1rem;
  resize: none;
}

.btn {
  display: flex;
  justify-content: center;
  margin-top: 1.5em;
}

.button1 {
  padding: 0.6em 1.5em;
  font-size: 0.95rem;
  border-radius: 25px;
  border: none;
  outline: none;
  background: var(--netflix-red);
  color: var(--netflix-white);
  border: none;
  font-weight: 600;
  transition: 0.3s ease-in-out;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  box-shadow: 0px 0px 12px var(--netflix-red);
}

.button1:hover {
  transform: scale(1.05);
  cursor: pointer;
  box-shadow: 0px 0px 20px var(--netflix-red);
}
.button1 span {
  font-size: 1.15em;
  letter-spacing: 1px;
  color: black;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-image {

  perspective: 1000px; /* Defines the depth of the 3D space for children */
  display: flex; /* Helps center the image if needed */
  justify-content: center;
  align-items: center;
  /* You might want to remove 'overflow: hidden;' if it's there, as it can clip 3D transforms */
}

.about-image img {
  /* Existing styles: */
  width: auto; /* Or set a fixed width if desired */
  height: 500px;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  transform-style: preserve-3d; /* Ensures children (if any) also participate in 3D space */
  transition: transform 0.1s ease-out; /* Smooth transition for the tilt */
  position: relative; /* Needed for pseudo-elements */
}

.about-image img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit; /* Inherit border-radius from parent */
  box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.05), /* Subtle inner glow */
              0 0 20px rgba(0, 0, 0, 0.3); /* Outer shadow that enhances 3D */
  transform: translateZ(2px); /* Give it a slight Z-depth */
  pointer-events: none; /* Make it unclickable */
  transition: box-shadow 0.1s ease-out; /* Smooth transition for shadow */
}

/* Optional: Hover state for a slight initial tilt or scale */
.about-image img:hover {
  transform: scale(1.01); /* Subtle zoom on hover */
  /* No need to add rotation here, JS will handle that */
}

/* Optional: If you want an initial "pop" for the shadow on hover */
.about-image img:hover::before {
  box-shadow: inset 0 0 120px rgba(255, 255, 255, 0.1),
              0 0 30px rgba(0, 0, 0, 0.5);
}

.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

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