 /*css rest starts here */
 *{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 }

/*===== VARIABLES CSS =====*/
:root{
  --header-height: 3rem;

  
/* === Smooth Background Transition === */


/*===== Font and typography =====*/
--body-font: 'Poppins', sans-serif;
--big-font-size: 2.5rem;
--normal-font-size: .938rem;

/*===== z index =====*/
--z-fixed: 100;
}

/*********** styling the header & nav bar *************/

  
  /*===== BASE =====*/
  html, body {
  max-width: 100%;
  overflow-x: hidden; /* Prevents the 'ghost' horizontal scroll */
}

  
  body{
    
    padding: 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    font-weight: 500;
    min-height: 100dvh;
    transition: background-color 0.8s ease-in-out;
    margin: 0;
    padding: 0;
    background-color: #f7a4d89c; /* Your pink color */
   overflow-x: hidden; /* Prevents side-scrolling */
  }
  
  h1,p,ul{
    margin: 0;
  }
  
  ul{
    padding: 0;
    list-style: none;
  }
  
  a{
    text-decoration: none;
  }
  
  img{
    max-width: 100%;
    height: auto;
  }

  /* nav bar starts here */



/*  Navbar Styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: transparent; /* Or whatever your theme color is */
}
.logo-name {
  font-size: 1.8rem; /* Made it bigger as requested */
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0; 
}
/* 2. Hamburger Icon Style */
.menu-toggle {
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001; /* Stays above the menu when it opens */
  color: #333; /* Change to your preferred color */
}

/* 3. The Full-Screen Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 237, 250, 0.918); /* Slightly transparent white */
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

/* 4. When the menu is "Active" (triggered by JS later) */
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 5. Menu Links Styling */
.nav-links {
  list-style: none;
  text-align: center;
}

.nav-links li {
  margin: 20px 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 2.5rem; /* Large text for that clean look */
  font-weight: bold;
  color: #000;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #e365b1f9; /* Or your brand accent color */
} /* nav bar ends here */



  /*=== Stying the hero page === */

/* --- Layering (The Background) --- */
/* Cleaned Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Fits perfectly to the screen */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* We removed the black background so it stays seamless */
  
}

/* Background Layers */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Stays at the very back */
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.4; /* Adjust this to see more/less of your pink body background */
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Particles on top of video */
  pointer-events: none;
}
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2; /* Sits between video and text */
}

/* Your Content Layer */
.home__container {
  position: relative;
  z-index: 10; /* Keeps text and buttons on the very top */
  width: 100%;
  text-align: center;
}

/* Fix for the body to prevent the 'black gap' at the top */

.home__title {
  font-size: clamp(2.5rem, 8vw, 5rem); /* Responsive font size */
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.name-style {
  color: #e365b1f9; /* Your signature pink */
}

#dynamic-text {
  font-weight: bold;
  color: #e365b1f9;
}

.home__description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
}


h1 {
  font-size: 5rem; /* Big and bold */
  font-weight: 800;
  max-width: 800px;
  margin: 20px auto;
}
  
  /*===== HOME =====*/
 
  .home__data{
    color: black;
  }
  
  .home__title{
    margin-bottom: 1rem;
    line-height: 1.05;
  }
  
  .home__description{
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: bold;
    color: #333;
  }
  
  .home__button  {
    font-size: 1rem;
    display: inline-block;
    background-color: #e365b1f9;
    color: var(--white-color);
    padding: 1.3rem  6rem;
    gap: 5rem;
    border-radius: 5rem;
  }
  
  .home__button:hover{
    background-color: #e365b1f9;
    box-shadow: 0 0 15px 5px #e365b1f9;
    transform: scale(1.05);
  }

  .home__button{
  font-weight: 600;
  transition: transform 0.3s ease;
}
.second-button{
  font-weight: 600;
  transition: transform 0.3s ease;
}

.second-button{
   font-size: 1rem;
    display: inline-block;
    background-color: transparent;
    border: 2px solid;
    color: var(--white-color);
    padding: 1.3rem  6rem;
    gap: 5rem;
    border-radius: 5rem;
}
.second-button:hover{
  background-color: #e0e0e0;
  box-shadow: 0 0 15px 5px #e365b1f9;
  transform: scale(1.05);


}
.butt-parent{
  display: flex;
  justify-content: center;
  gap: 2rem;
}

/* ===== styling the quote section */

  /* quote*/
  .quote h1{
  display: flex;
  align-items: center;
  justify-content: center;
   min-height: 100vh;
  font-size: 65px;
  font-family: 'Poppins', sans-serif;
  text-align: center; 
  }

  .quote {
    display: block;
    text-align: center;
    width: 100%;
    font-size: 65px;
    font-family: inherit;
    font-weight: bolder;
    font-family: 'Poppins', sans-serif;
    max-width: 800px;
    line-height: 1.4;
    margin: 100px auto;
    will-change: transform, opacity;
    transition: color 0.3s ease; /* Makes the highlight feel soft */
    margin-top: 200px;  
}
.quote span {
   /* Required for GSAP to move/scale individual words */
 
  opacity: 0.2;
  font-size: 65px;
  font-weight: bold;
  font-family: inherit;
  font-family: 'Poppins', sans-serif;
}
/* This only affects the icons, not your text */
/* --- REPLACE PREVIOUS ICON CSS WITH THIS --- */

/* The Wrapper ensures the blur doesn't bleed into other sections */
.quote-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* THE BIG BLUR & GEAR (Pinned Left) 
.big-half-circle {
    position: absolute;
    left: -250px; /* Hides half 
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background-color: #ff9ed5;
    filter: blur(30px);
    border-radius: 50%;
    z-index: 0;
}
*/

.icon-setting {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 120px; /* Big gear as requested */
    opacity: 2;
    z-index: 1;
    
}
.flower-icon {
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.05));
    transition: transform 0.6s ease;
}

/* THE CLOSING TAG (Pinned Center, Over the Text) */
/* REPLACE your old .icon-code with this */
/* Update your .icon-code to this */
.icon-code {
    position: absolute;
    left: 50%;
    bottom: -150px; 
    transform: translateX(-50%);
    width: 100%;
    max-width: 300px;
    /* THE FIXES */
    z-index: 1000 !important; /* Force it in front of the 'best code' text */
    opacity: 1;
    pointer-events: none;
    will-change: transform;
    transform-style: preserve-3d;

    /* If using text, keep these. If using an image, these won't hurt. */
    font-size: 70px;
    font-weight: bold;
    color: #e365b1f9; 
}
/* Ensure the parent section hides anything that 'leaves' it */
.quote-wrapper {
    position: relative;
    overflow: hidden; /* This makes the icon disappear when it scrolls past the section */
}
/*********** styling the box eg the catalog *********************/

.wel_come h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 70px;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 5rem;  
}
.archive-header {
  font-family: 'Poppins', sans-serif;
  transition: color 0.3s ease; /* Optional: if you want to change color too */
  display: inline-block;
  margin: 0;
}
.playful-title {
  color: rgb(0, 0, 0);
  font-size: 5rem;
  display: flex;
  gap: 20px;
  perspective: 1000px; /* Essential for the 3D flip */
}

.word {
  display: inline-block;
  cursor: pointer;
  transition: color 0.3s ease;
}

/* --- DIGITAL ARCHIVE SECTION --- */

.wel_come {
  padding: 8vw 5%;
  max-width: 1200px;
  margin: 0 auto;
  /* Centers everything in the container */
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center;
}

/* Fluid, Expensive Header */
.archive-header {
  font-family: 'Poppins', sans-serif;
  font-weight: 300; /* Initial weight for the GSAP scroll effect */
  font-size: clamp(2.5rem, 8vw, 5rem); 
  line-height: 1.1;
  color: #1a1a1a; /* Sleek Black */
  display: inline-block;
}

/* Responsive Paragraph */
.archive-intro {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  max-width: 700px;
  color: #555;
  margin: 2rem auto 3rem auto; /* Centers the block itself */
}

/* Signature Pink for Bold Text */
.archive-intro strong {
  color: #e365b1f9;
  font-weight: 600;
}

/* Icon Row Layout */
.skill-icons-row {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* Icon Styling (Black to Pink) */
.skill-icons-row i {
  font-size: clamp(30px, 5vw, 45px); 
  color: #1a1a1a; /* Default Black */
  opacity: 0.8;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

/* Icon Hover State */
.skill-icons-row i:hover {
  opacity: 1;
  color: #e365b1f9; /* Signature Pink */
  transform: translateY(-10px) scale(1.15);
  filter: drop-shadow(0 0 10px rgba(252, 164, 166, 0.5));
}


/* --- CONSTRUCTION MODAL (Popup) --- */

.construction-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px); /* Premium blur effect */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.pop-content {
  background: #fff; 
  padding: 40px;
  border-radius: 30px;
  text-align: center;
  max-width: 450px;
  border: 2px solid #e365b1f9; /* Pink border */
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pop-btn {
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 100px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  margin-top: 20px;
  transition: 0.3s;
}

.pop-btn:hover {
  background: #e365b1f9;
  transform: scale(1.05);
}





/* Container Styling ( product images, after the welcome ) */

/* --- CLEANED PROJECT LAYOUT --- */
.project-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  /* Removed height: 100vh and overflow-y: scroll to fix vanishing */
  gap: 0; 
  margin: 0 auto;
}

.project-step {
  height: 100vh; /* Each project takes exactly one full screen */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  /* This ensures the background color change is visible */
  background: transparent; 
}

.image-link {
  margin-bottom: 0; /* Let flex centering handle this */
  text-align: center;
  display: inline-block;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ensure the body can transition colors smoothly */
body {
  transition: background-color 0.8s ease;
  overflow-x: hidden;
}


/* Link Styling */
.image-link{
   /* width: 250px; /* Adjust width as needed */
 /* height: 350px; /* Adjust height as needed */
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.428);
  transition: transform 0.3s ease;
  margin-bottom: 10rem;
  text-align: center;
  box-sizing: border-box;
  display: inline-block;
  position: relative;
}

.image-link:hover {
  transform: scale(1.05);
}

/* Image Styling */
.image-link img {
  display: block;
  max-width: 500px;
  height: 200%; 
  border-radius: inherit; /* Matches the link's rounded corners */
  object-fit: cover;
  aspect-ratio: 1;
}

.project-image{
  display: block;
  border-radius: 20px;
  height: auto;
  overflow: hidden;

 
}

/* Modal Background */
/* === PROJECT MODAL SECTION (NEW "CANVA PORTRAIT" LAYOUT) === */

/* 1. Light, blurred overlay to keep context */
.modal-overlay {
    display: none; /* JS toggles this to flex */
    position: fixed;
    inset: 0;
    /* Soft bluish tint, very transparent, with strong blur */
    background: rgba(220, 235, 255, 0.4); 
    backdrop-filter: blur(10px); 
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0; /* JS handles fade in */
    transition: opacity 0.4s ease;
}

/* 2. Modal Content Box - A portrait container, like your design */
.modal-content {
    background: #FCF8F8; /* matches your variable --white-color */
    width: 90%;
    max-width: 800px; /* Force a portrait-ish shape, like your Canva design */
    height: auto;
    max-height: 90vh; /* Don't cover everything */
    border-radius: 30px; /* Gentle corner */
    position: relative;
    overflow-y: auto; /* allows scrolling inside the modal if text is long */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    
    /* Animation initial state */
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3. Handling the Active State (CSS for JS) */
.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* 4. The Close Button */
.close-modal {
    position: fixed;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    cursor: pointer;
    z-index: 100;
    color: #1d191b; /* Pink close button */
  
}

/* 5. Modern "Single-Column" Layout (Portrait style) */
.modal-modern-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* 6. Image Container (Portrait aspect) */
.modal-image-container {
    width: 100%;
    height: 300px; /* Reduced height to keep the portrait feel */
    overflow: hidden;
    border-radius: 30px 30px 0 0; /* Round only top corners */
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crops the image to fill the space beautifully */
    display: block;
}

/* 7. Details Section (Text) */
.modal-details {
    padding: 30px;
    color: #1a1a1a;
}

.modal-details h2 {
    font-size: 2.2rem;
    color: #e365b1; /* Your Pink */
    margin-bottom: 5px;
}

.project-tagline {
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 20px;
}

/* 8. Tech Icons Section (Mini, row-based) */
.tech-used-section {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
}

.tech-icons-row {
    display: flex;
    gap: 15px; /* space between icons */
    font-size: 1.5rem; /* size of the mini icons */
    color: #555;
}

/* 9. Key Features (List style) */
.modal-info-section h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(227, 101, 177, 0.3); /* faint pink underline */
    padding-bottom: 5px;
}

#modalFeatures li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
    list-style-type: disc;
    margin-left: 20px;
}

/* 10. Action Buttons (Reusing your styles) */
.modal-btns {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: space-between;
}

/* Ensure these links behave like buttons */
.modal-btns a {
    flex: 1; /* split the space evenly */
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
}

/* A subtle outline button for the "Code" link */
.btn-outline {
    border: 2px solid #ea6ed5; /* match your con-button pink */
    color: #ea6ed5;
    border-radius: 10px;
}

.btn-outline:hover {
    background-color: rgba(234, 110, 213, 0.1); /* light pink fade on hover */
}
/* Hover Text Styling */
.hover-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-size: 2rem;
  font-weight: bold;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.image-link:hover .hover-text {
  opacity: 1;
  transform: translateY(0);
}


/* ===== contact me page === */
.contact-container { 
    display: flex;
    flex-wrap: wrap;
    align-self: center;
    gap: 5rem;
    background: linear-gradient(to right, #81e0ff43, #ff99cc4d);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    padding: 8rem 6rem;
    flex-direction: column;
    align-items: stretch;
    
}

.contact-title{
    
    font-size: 40px;
    text-align: center;
}
.contact-des{ 
    font-size: 19px;
    padding-top: 1rem; 
    word-wrap: break-word; 
    text-align: center;      
}

.contact-form {
    flex: 1;
    
}

.contact-form form {
    display: flex;
    flex-direction: column;
    width: 70%;
    max-width: 600px;
    
}

.contact-form label, .contact-form input, .contact-form textarea, .contact-form button {
    margin-bottom: 15px;
    
}

.contact-form, input, textarea{
 
 margin-top: -1rem;
    display: flex;
    align-items: center;
    flex-direction: column;
  
}

.contact-form input, .contact-form textarea {

    padding: 20px;
    box-sizing: border-box;
    width: 100%;   
}

/* === styling the button == */
.contact-button {
  margin-top: 1rem;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
    background-color: #ea6ed5;
    color: white;
    border: none;
    cursor: pointer;
    

}

.contact-button:hover {
 background-color: #e365b1f9;
    box-shadow: 0 0 15px 5px #e365b1f9;
    
}


/* ==== styling the emial === */
.email-info{
  margin-top: 10px;
  
  
}
.email-info :hover{
  color: #fff;
 
  
}

/* == work with me section == */

.work-with-me-container {
  position: relative;
  min-height: 140vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f7a4d89c 0%, rgba(247, 164, 216, 0.7) 100%);
  padding: 100px 5%;
}

.work-with-me {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.work-text {
  color: rgb(3, 3, 3);
  z-index: 10;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
  font-size: 3rem !important;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -2px;
  margin: 0;
  will-change: transform, opacity;
  opacity: 0.2;
  transform: translateX(-200px) scale(1);
  transform-origin: center center;
}

.work-text span {
  display: block;
}

.floating-coil {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(180px) rotate(-20deg) rotateX(15deg) rotateY(-12deg);
  width: 500px;
  height: 500px;
  z-index: 15;
  will-change: transform, opacity;
  opacity: 0.25;
  transform-style: preserve-3d;
}

.floating-coil path {
  stroke: width 20px;
  
}

/* ==== footer page ==== */
.footer-section {
/*  margin-top: 10rem; */
  padding: 100px 5% 40px 5%; /* Adds space around the whole footer */
  background-color: #f9f7f4; /* Using a light off-white  */
  font-family: sans-serif;
  color: #1a1a1a;
  min-height: auto;
  width: 100%;
  overflow-x: hidden;
  position: relative;
  display: block;
  
}

.footer-main {
  display: flex;
  justify-content: space-between; /* Pushes left to the left, right to the right */
  align-items: flex-start;
  margin-bottom: 80px; /* Space before the copyright line */
}

/* LEFT SIDE */
.footer-left {
  flex: 1; /* Takes up available space */
  max-width: 50%;
}

.footer-title {
  font-size: 3rem;
  font-weight: 500;
  margin: 0 0 40px 0; /* More space between text and email */
  line-height: 1.1;
}

.email-wrapper {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #1a1a1a; /* The line under the email area */
  padding-bottom: 10px;
  width: fit-content;
}

.email-link {
  text-decoration: none;
  color: inherit;
  font-size: 1.2rem;
  margin-right: 20px;
}

.email-arrow {
  font-size: 1.5rem;
}

/* RIGHT SIDE */
.footer-right {
  display: flex;
  gap: 80px; /* Space between PAGE and CONNECT columns */
}

.column-heading {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 1.1rem;
}

/* COPYRIGHT BAR */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e0e0e0;
  padding-top: 30px;
  font-size: 0.9rem;
  color: #666;
}

.bottom-logo {
  font-weight: bold;
  color: #e365b1f9; /* pink */
}
.footer-column ul li a {
  text-decoration: none;
  color: #1a1a1a;
  transition: color 0.3s ease; /* Makes the color change smooth */
}

.footer-column ul li a:hover {
  color: #fc66cf; /* A soft, chic tan/gold color or a floral pink! */
  text-decoration: underline;
}

/* old Footer styling *
.footer {
  width: 100%;
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10rem 5rem 10rem;
  overflow: hidden;
  font-family: Arial, sans-serif;
} */

/* Moving text animation */
.moving-text {
  display: inline-block;
  white-space: nowrap;
  color: #e365b1f9;
  font-weight: bold;
  margin-top: 50px;
  font-size: 88px;
  width: max-content;
  animation: scroll-text 10s linear infinite;
 
}

@keyframes scroll-text {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-100%);
  }
}

/* Thanks message *
.footer-h1 {
  font-weight: bold;
  font-size: 4rem;

} 
*/

/* YouTube link button 
.buttons a {
  display: inline-block;
  padding: 2rem 5rem 2rem;
  margin: 5rem 0;
  background-color: #e7adde;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  border-radius: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.buttons a:hover {
  background-color: #e7adde;
  transform: scale(1.1);
} 

/* Navigation links *
nav ul {
  list-style-type: none;
  padding: 0;
  display: inline-flex;
  gap: 15px;
  margin: 20px 0;
}

nav ul li a {
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #e7adde;
} */

/* Rotating image 
.rotating-image img {
  width: 60px;
  height: 60px;
  border: none;
  border-radius: none;
  animation: rotate-image 4s linear infinite;
  margin-top: 20px;
}

@keyframes rotate-image {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
} */



.backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  padding: 10px 15px;
  font-size: 16px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}



/* --- RESPONSIVENESS (Mobile Fixes) --- */


/* --- ADDITIONAL RESPONSIVE IMPROVEMENTS --- */
@media (max-width: 1024px) {
  .navbar {
    padding: 18px 24px;
  }

  .logo-name {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  }

  .home__container {
    padding: 0 30px; /* was 24px */
  }

  .home__title {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 1rem;
  }

  .home__description {
    max-width: 100%;
  }

  .butt-parent {
    gap: 1rem;
  }

  .contact-container {
    padding: 4rem 2rem;
  }

  .footer-section {
    padding: 80px 4%;
  }

  .footer-main {
    flex-wrap: wrap;
    gap: 40px;
  }

  .footer-left,
  .footer-right {
    max-width: 100%;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .work-with-me-container {
    min-height: auto;
    padding: 60px 2rem;
  }

  .work-text {
    font-size: clamp(4rem, 12vw, 7rem) !important;
  }
}

/* --- MOBILE-SPECIFIC FIXES max-width: 768px (Phones & tablets) --- */

/* --- MOBILE-SPECIFIC FIXES max-width: 768px (Phones & tablets) --- */
@media (max-width: 768px) {

  /* ============================================================
     HOME SECTION
  ============================================================ */

  .home__title {
    font-size: 2.5rem;
    max-width: 700px;
  }

  .home__description {
    margin-top: 30px;
    font-size: 1rem !important;
    padding: 0 15px;
    max-width: 100%;
  }

  .butt-parent {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 16px; /* was 16px */
   
  }
.butt-parent a {
    font-size: 12px !important;
  }

  .wel_come {
    padding: 60px 40px;
    text-align: center;
  }

  .wel_come h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 8vw, 4rem);
  }

  .playful-title {
    font-size: 2.2rem !important;
    white-space: normal !important;
    text-align: center;
    display: block;
  }

  .work-text {
   /* font-size: 2rem !important; */
    transform: none !important;
    opacity: 1 !important;
  }

  .work-with-me-container {
    min-height: auto;
    padding: 60px 2rem;
  }

  /* ============================================================
     QUOTE SECTION
  ============================================================ */

  .quote {
    margin-top: 120px;
    margin-bottom: 40px;
    padding: 0 16px;
    position: relative;
    z-index: 1;
    max-width: 800px;
    font-size: 1rem; /* base size for future elements */
  }

  .quote-wrapper {
    min-height: auto;
    padding: 30px 20px;
  }

  .quote h1 {
    min-height: auto;
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  .quote span {
    font-size: 2.5rem !important;
  }

  /* ============================================================
     ICONS
  ============================================================ */

  .icon-code {
    font-size: 2.5rem !important;
    width: 10% !important;
   
    bottom: -100px;
  }

  .icon-setting {
    left: 50%;
    top: 8%;
    transform: translate(-50%, 0);
    font-size: 70px;
    opacity: 1;
    z-index: 0;
  }

  .flower-icon {
    margin-top: -100px;
    position: relative;
    width: 80px;
    height: auto;
  }

  .floating-coil {
    width: 320px;
    height: 320px;
    position: relative; /* required for top to work */
    top: 70% !important;
    margin-bottom: -80px;
  }

  /* ============================================================
     NAVIGATION
  ============================================================ */

  .navbar {
    z-index: 99999 !important;
    padding: 15px !important;
  }

  .nav-overlay {
    padding: 40px 20px;
  }

  .nav-links a {
    font-size: 2rem;
    display: block;
  }

  .menu-toggle {
    display: block !important;
    font-size: 2.5rem !important;
    color: #000 !important;
  }

  /* ============================================================
     PROJECTS
  ============================================================ */

  .project-layout {
    width: 100%;
    padding: 0 20px;
  /*  margin-top: 4rem; */
  }

  .project-step {
    height: 85vh; /* Reduced height for mobile */
   /* margin-bottom: 50px; 
   padding: 2rem 0; */
  } 

  .image-link {
    width: 85%;
    max-width: 420px;
    margin: 0 auto 2.5rem;
  }

  .image-link img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }

  .image-link .hover-text {
    opacity: 1 !important;
    transform: translateY(0) !important;
    font-size: 1.1rem !important;
  }

  /* ============================================================
     MODAL
  ============================================================ */

  .modal-content {
   /* width: 90% !important; will try this later*/
    height: auto !important;
    max-height: 80vh !important;
  /*  padding: 30px !important; */
    overflow-y: auto !important;
  }

  .modal-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-details {
  /*  overflow-y: auto !important; */
   /* max-height: 60vh !important; */
    padding-right: 10px;
  }

  .modal-details h2 {
    font-size: 1.5rem
 }

  /* ============================================================
     CONTACT SECTION
  ============================================================ */

  .contact-container {
    padding: 3rem 1.5rem !important;
    gap: 2rem !important;
    box-sizing: border-box !important;
  }

  .contact-form form {
    width: 100%;
  }

  .contact-title {
    font-size: 2.2rem !important;
    text-align: center;
  }

  /* ============================================================
     FOOTER
  ============================================================ */

  .footer-right {
    gap: 20px;
  }

  .footer-section {
    overflow: hidden !important;
  }

  .moving-text {
    animation: scroll-text 12s linear infinite !important;
    margin-top: 20px !important;
    width: 100vw !important;
  /*  overflow: hidden; // will come back to this if mobile layout starts to overflow again */
   /* font-size: 25px !important; */
  }

  .moving-text h1 {
    font-size: 3rem !important;
  }

  /* ============================================================
     GLOBAL MOBILE FIXES
  ============================================================ */

  html, body {
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
  }

}

@media (max-width: 540px) {
  .navbar {
    padding: 12px 16px;
  }

  .home__title {
    font-size: 2.2rem;
  }

  .archive-header,
  .work-text {
    font-size: clamp(2rem, 8vw, 3.5rem) !important;
  }

  .work-with-me-container {
    padding: 40px 1rem;
    min-height: 70vh;
  }

  .floating-coil {
    width: 250px;
    height: 250px;
    margin-bottom: -60px;
  }

  .footer-section {
    padding: 60px 4%;
  }

  .footer-bottom {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .menu-toggle {
    display: block !important;
    visibility: visible !important;
    color: #000 !important; /* Forces it to be black so you can see it */
    position: fixed !important;
    right: 20px !important;
   /* top: 20px !important; */
    z-index: 9999 !important; /* Put it on top of EVERYTHING */
   /* padding: 10px !important; */
    font-size: 1.8rem !important;
  }

   .playful-title {
    font-size: 2.2rem !important; /* Shrink from the desktop size */
    width: 100% !important;
    max-width: 100vw !important;
    overflow-wrap: break-word !important; /* Forces text to wrap if it's too long */
    display: block !important;
    text-align: center;
  }

   /* 1. Target the 'Problem' Title (from image 22) */
  .contact-title {
    font-size: 2.2rem !important; /* Shrink to fit screen */
    line-height: 1.2 !important;
    text-align: center !important;
    margin-bottom: 1.5rem !important;
    width: 100% !important;
  }

  /* 2. Target the Modal (from image 23) */
  .modal-content {
    width: 92% !important; /* Keeps it within phone edges */
    max-height: 60vh !important; /* Takes up 80% of phone height max */
   /*  overflow-y: hidden !important; Prevents container itself from scrolling */
   /* padding: 15px !important; */
  }

  .modal-details {
  /*  overflow-y: auto !important;  This creates the scrollbar INSIDE the details section */
    height: 100% !important;
    display: block !important;
  }

  .project-tagline {
    font-size: 1rem !important; 
    margin-bottom: 10px !important;
  }

  #modalDescription {
    font-size: 0.9rem !important; /* Smaller text for descriptions */
    line-height: 1.4 !important;
  }
}






