*, 
*:before, 
*:after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    
}

/* Main cursor */
.cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid cyan;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.2s ease-out, height 0.2s ease-out;
    z-index: 10000;
    mix-blend-mode: difference;
}

/* Cursor glow effect */
.cursor-glow {
    position: fixed;
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease-out, opacity 0.2s ease-out;
    z-index: 9999;
    filter: blur(15px);
    opacity: 0.7;
}

/* Interactive hover effect */
a:hover ~ .cursor {
    width: 24px;
    height: 24px;
    background: cyan;
    box-shadow: 0 0 10px cyan;
    border-color: white;
}

a:hover ~ .cursor-glow {
    width: 80px;
    height: 80px;
    background: rgba(0, 255, 255, 0.4);
    filter: blur(25px);
    opacity: 1;
}

body {
    cursor: none;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    color: #fff;
    line-height: 1.6;
    /* Set the desired background image */
    background-image: url(../assets/images/bg.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Makes the background static */
    margin: 0; /* Removes default margin from the body */
    height: 100vh; /* Ensures the body covers the entire viewport */


}

header {
    margin-top: 6rem;
    position: fixed;
    left: 0;
    top: 0;
    width: 30%;
    height: 100%;
    color: white;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
}

header .about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

header .logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
}

header .avatar img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

header .menu {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Base menu link style */
header .menu a {
    position: relative; /* Needed for absolute ::after */
    color: white;
    text-decoration: none;
    font-size: 1rem;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
    cursor: pointer;
}

/* Text color on hover */
header .menu a:hover {
    color: #cfcfcf;
}

/* Underline effect */
header .menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 0;
    height: 0.2rem;
    background-color: #cfcfcf;
    border-radius: 1rem;
    transition: width 0.3s ease;
}

/* Expand underline on hover */
header .menu a:hover::after {
    width: 100%;
}


header h1 {
    font-size: 30px;
    font-size: 1.75rem;
    color: white;
    margin-top: 30px;
    line-height: 1.3;
    text-align: center;
}

header h2 {
    font-size: 13.5px;
}

header .text1 {
    letter-spacing: 0.12em;
    
    
    z-index: 2;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 0 8px rgba(255,255,255,0.25);
    transition: transform 0.4s ease, opacity 0.4s ease;
    
    opacity: 0.95;

    font-size: 42.5px;
    color: white;
    background: linear-gradient(-65deg, #fff, #7e7e7e, #fff, #515151);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animated_text 10s ease-in-out infinite;
}

header .text2{
    letter-spacing: 0.2em;
    font-size: 1.5rem;

}

@keyframes animated_text {
    0% { background-position: 0px 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0px 50%; }
}

header .click-home {
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
}

header li {
    font-size: .85rem;
}

header span {
    margin-top: 1rem;
}

header span a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    margin-left: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

header span a:hover {
    color: #cfcfcf;
}

/* Style for the fixed text at the bottom of the header */
header .copyright {
    position: fixed; /* Ensures it stays fixed at the screen bottom */
    bottom: 0; /* Aligns the text to the bottom edge of the screen */
    left: 0;
    right: 70%;
    background: transparent; /* Optional: Background for visibility */
    color: #fff; /* Text color */
    padding: 25px; /* Spacing around the text */
    font-size: 1rem; /* Responsive font size */
}

main {
    margin-left: 30%; /* Matches the header width */
}

/* Project Section */
.project {
    background-color: #000;
    height: 122.4rem;
    margin: 0 auto;
    border-radius: 8px;
    color: #000;
}

.project h1 {
    color: #000;

}
.subhead {
    color: #645ba3;
    font-size: 18px;

}



.project-container {
    padding-top: 10%;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 1rem;
    justify-items: center;
}

/* Base project card styles (unchanged) */
.project-card {
    position: relative;
    width: 100%;
    max-width: 18rem;
    height: 0;
    padding-bottom: 50%;
    border: 1px solid #cfcfcf;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    font-style: italic;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }
  
  /* Image inside the card */
  .project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  /* Dark overlay for better text readability */
  .project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), rgba(0,0,0,0));
    opacity: 0.75;
    transition: opacity 0.3s ease;
  }
  
  /* Title text inside card */
  .project-card .title {
    letter-spacing: 0.12em;
    color: #fff;
    font-size: 1.1rem;
    z-index: 2;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 0 8px rgba(255,255,255,0.25);
    transition: transform 0.4s ease, opacity 0.4s ease;
    -webkit-background-clip: text;
    opacity: 0.95;
  }
  
  /* BLACK TEXT OVERRIDE for a single card */
  .project-card .title.black-text {
    color: #6B448E !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3) !important; /* softer shadow for black text */
  }
  
  /* Hover Effects */
  .project-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  }
  
  .project-card:hover img {
    transform: scale(1.06);
  }
  
  .project-card:hover::after {
    opacity: 0.95;
  }
  
  .project-card:hover .title {
    transform: translateY(6px);
    opacity: 1;
  }
  
  /* Shimmer/shine effect on hover */
  .project-card .title::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 70%);
    transform: skewX(-25deg);
  }
  
  .project-card:hover .title::after {
    animation: shine 1.2s forwards;
  }
  
  @keyframes shine {
    100% { left: 100%; }
  }
  
  /* ---------- Extra: DARK FADE TOP for a single card ---------- */
  .project-card.fade-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35%; /* only top portion */
    background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0));
    pointer-events: none;
  }
  
  

.project_4 {
    background-image: url(../assets/images/gildan_thumb.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */


}
.project_5 {
    background-image: url(../assets/images/D_header\ \(1\).gif);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */


}
.project_6 {
    background-image: url(../assets/images/D_sewing.gif);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */


}
.project_7 {
    background-image: url(../assets/images/product_thumb7.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */


}
.project_8 {
    background-image: url(../assets/images/digital_thumb8.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */


}
.project_9 {
    background-image: url(../assets/images/titlescreen.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */


}

.project_2 {
    background-image: url(../assets/images/ont1_thumb2.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    color: #000;

}

.project11 {
    background-image: url(../assets/images/assets_thumb6.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    

}
.project1 {
    background-image: url(../assets/images/foe_thumb3.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */

}



.flex{
    display: flex;
    width: 48.5%;
    gap: 7.5%;

}
.flex-1{
    display: flex;
    width: 100%;
    gap: 7.5%;

}
.flex1{
    display: flex;
    width:100%;
    
}
.flex2{
    display: flex;
    width:100%;
    border-radius: 1rem;
    height: 30rem;
    background-color: fff;
    
}
.flex3{
    display: flex;
    width: 100%;
    gap: 7.5%;

}

.portfolio-frame {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.portfolio-image {
  display: inline-block;
  border-radius: 1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 800px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.portfolio-image img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: none;
}

/* Frosted glass caption BELOW image */
.caption {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.25);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-style: italic;
  text-align: right;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.caption .year {
  color: transparent;
  font-style: normal;
  margin-left: 0.3rem;
}

.portfolio-image video.vid {
    display: block;     /* removes inline gaps */
    width: 100%;
    height: auto;
    margin: 0;
  }

#hirebtn {
    background: transparent;
    color: #ffffff;
    border: 0.125rem solid #ffffff;
    padding: 15px 65px;
    border-radius: 50rem;
    font-family: "Helvetica Neue", "Roboto", "Montserrat", sans-serif;
    font-weight: 500;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.25s ease;
  }
  
  #hirebtn:hover {
    background: #ffffff;
    color: #000000;
    transform: scale(1.05);
  }
  

.go-contact-me2 {
    display: none;
}

/* Specific Section Styles */
.go-project, .go-contact-me, .go-contact-me2, .go-skills {
    margin: 0 auto;
    height: 40rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 400;
}


/* Main Section Styling */
main > section {

    width: 60.0rem;
    margin: 2.0rem auto;
    min-height: 20.0rem;
    padding: 2.0rem;
    border-radius: 8px;
}

main > section h1 {
    font-size: 2rem;
    font-weight: 600; 
    margin-bottom: 3rem;
    color: #fff;
}

.skills{
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;


    margin: 0 auto;
}

.skills:hover {

    transform: translateY(-4px) scale(1.05) rotate(-1deg);
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.25))
            brightness(1.1) contrast(1.05) saturate(1.2);

}

@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(255,255,255,0.2)); }
    50% { filter: drop-shadow(0 0 15px rgba(255,255,255,0.5)); }
}
  
.skills:hover {
    animation: glowPulse 2s infinite ease-in-out;
}


  

.skills-category-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out;
    border-radius: 8px; /* Optional: adds rounded corners to the cards */
    text-align: left; /* Ensures all text content inside is left-aligned */
    letter-spacing: 0.12em;
    color: #fff;
    font-size: 1.1rem;
    z-index: 2;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 0 8px rgba(255,255,255,0.25);
    transition: transform 0.4s ease, opacity 0.4s ease;
    
    opacity: 0.95;
}
  
  /* Specific styling for the h3 to align with the left edge of the card, and not the bullet list */
  .skills-category-card h3 {
    padding-left: 1.35rem !important; /* Forces the h3 to the very left edge, overriding potential ul padding influence */
    text-align: left; /* Explicitly left-aligns the heading */
    text-decoration: ;
    
  }
  
  .skills-category-card:hover {
    transform: translateY(-5px); /* Moves the card up by 5px */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
    background-color: #f9f9f9; /* A very light grey for a subtle professional hover effect */
    color: #000;
    cursor: none; /* Changes the cursor to a pointer, indicating it's interactive */
  }

  .skills-category-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  
  .skills-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-20deg);
    transition: transform 0.3s ease-in-out;
  }
  
  .skills-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .skills-category-card:hover::before {
    transform: translateX(100%) skewX(-20deg);
}



.contacts:hover {

    transform: translateY(-4px) scale(1.05) rotate(-1deg);
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.25))
            brightness(1.1) contrast(1.05) saturate(1.2);

}

@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(255,255,255,0.2)); }
    50% { filter: drop-shadow(0 0 15px rgba(255,255,255,0.5)); }
}
  
.contacts:hover {
    animation: glowPulse 2s infinite ease-in-out;
}

.contacts{
    position: absolute;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}
.formcont input,
.formcont textarea {
    letter-spacing: 0.12em;
    z-index: 2;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 0 8px rgba(255,255,255,0.25);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.95;
    
    background-color: white;
    border: .5px solid white;
    padding: 10px;
    width: 350px;
    border-radius: 6px;
    margin-top: 5px ;
    margin-bottom: 5px ;
}

.project-card .title {
    letter-spacing: 0.12em;
    color: #fff;
    font-size: 1.1rem;
    z-index: 2;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 0 8px rgba(255,255,255,0.25);
    transition: transform 0.4s ease, opacity 0.4s ease;
    -webkit-background-clip: text;
    opacity: 0.95;
  }
.submit {
    font-family: montserrat, sans-serif;
    background-color: transparent;
    border: 1px solid white;
    padding: 10px;
    width: 350px;
    border-radius: 6px;
    margin-top: 5px ;
    margin-bottom: 5px ;
    color: white;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    font-size: 18px;
}
.submit:hover {
    font-family: montserrat, sans-serif;
    background-color: white;
    border: 1px solid white;
    padding: 10px;
    width: 350px;
    border-radius: 6px;
    margin-top: 5px ;
    margin-bottom: 5px ;
    color: #6B448E;

    
}

.message{
    font-size:14px;
}

.formright{
    margin-left: 50%;
    text-align: left;
    
}

.formcont textarea {
    padding-top: 10px;
}

label{

    font-size: 16px;
    
    letter-spacing: 0.12em;
    z-index: 2;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 0 8px rgba(255,255,255,0.25);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.95;
    
    


    padding: 10px;
    width: 350px;
    border-radius: 6px;
    margin-top: 5px ;
    margin-bottom: 5px ;
}

::placeholder {
    font-weight: 200;
    color: #1d3354;
}

.contactbutton {
    font-size: 11pt;
    width: 200px;
    height: 40px;
    border: white solid 2px;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin-top: 8%;
    cursor: pointer;
    transition: all 0.5s;
    background-color: transparent;
}

.projectnav a {
    color: #645ba3;
    text-decoration: none;
    font-size: 1rem;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.projectbackground {
    display: flex;
    align-items: center;
    width: 100%; 
}

.box-infographicsvideo{
    padding: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
}

.box-outdoorcompany{
    padding: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
}

.box-restaurantapp{
    padding: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
}

.box-guessinggame{
    padding: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
}

.box-retailinstallation{
    padding: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
}

.box-marketingmaterials{
    padding: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
}

.box-productdemo{
    padding: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
}

.box-digitalsignage{
    padding: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
}

.box-collaborativeproject{
    padding: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
}

.padding {
    padding: 0;
    height: 20vh;
    width: 100%;
}

.project_1 {
    height: 100vh;
    padding-left: 100px;
    width: 100%;
    background-image: url(../assets/images/esrthly_header2.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Makes the background static */
}
.project2 {
    height: 100vh;
    padding-left: 100px;
    width: 100%;
    background-image: url(../assets/images/op_header.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Makes the background static */
}
.project3 {
    height: 100vh;
    padding-left: 100px;
    width: 100%;
    background-image: url(../assets/images/foeheader1.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Makes the background static */
}
.project4 {
    height: 100vh;
    padding-left: 100px;
    width: 100%;
    background-image: url(../assets/images/gildan_landing_header.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Makes the background static */
}
.project5 {
    height: 100vh;
    padding-left: 100px;
    width: 100%;
    background-image: url(../assets/images/gildan_amazon_header.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Makes the background static */
}
.project6 {
    height: 100vh;
    padding-left: 100px;
    width: 100%;
    background-image: url(../assets/images/aa_amazon_header.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Makes the background static */
}
.project9 {
    height: 100vh;
    padding-left: 100px;
    width: 100%;
    background-image: url(../assets/images/collab_header.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Makes the background static */
}


.contHL {
    width: 100%;

    padding-right: 10%;
    padding-top: 3%;

}
.contHL2 {

    padding-left: 50%;
    padding-top: 2.5%;
    align-items: right;
}

.contHL2-2 {

    padding-right: 10%;
    padding-top: 2.5%;
    align-items: right;
}

.contHL2-4 {

    padding-left: 25%;
    padding-top: 2.5%;
    align-items: right;
}

.contHL2-5 {

    padding-left: 45%;
    padding-top: 2.5%;
    align-items: right;
}

.contHL2-6 {

    padding-left: 27.25%;
    padding-top: 2.5%;
    align-items: right;
}

.contHL2-9 {

    padding-left: 35%;
    padding-top: 2.5%;
    align-items: right;
}

.vid{
    width: 100%;
}


#viewbtn {
    --btn-bg: linear-gradient(135deg, #444, #777);
    --btn-hover-bg: linear-gradient(135deg, #000, #333);
    --btn-radius: 3rem;
  
    background: var(--btn-bg);
    border: 2px solid #fff;
    color: #fff;
    padding: 1rem 3rem; /* scalable with rem */
    cursor: pointer;
    border-radius: var(--btn-radius);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25),
                inset 0 2px 4px rgba(255,255,255,0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulseGlow 2.5s infinite ease-in-out;
  }
  
  /* Hover */
  #viewbtn:hover {
    background: var(--btn-hover-bg);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35),
                inset 0 2px 6px rgba(255,255,255,0.1);
  }
  
  /* Active (click) */
  #viewbtn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25) inset;
  }
  
  /* Focus (accessibility) */
  #viewbtn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
  }
  
  /* Continuous subtle glow animation */
  @keyframes pulseGlow {
    0%, 100% {
      box-shadow: 0 8px 20px rgba(0,0,0,0.25),
                  0 0 10px rgba(255,255,255,0.2);
    }
    50% {
      box-shadow: 0 12px 30px rgba(0,0,0,0.35),
                  0 0 20px rgba(255,255,255,0.4);
    }
  }

/* Continuous Scale Animation */
@keyframes continuousScale {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.08); /* Grows slightly */
    }
}

.scroll-indicator {
    position: absolute;
    top: 42.5%;
    left: 85%;
    transform: translateX(-50%);
    font-size: 24px;
    color: #000;
    opacity: 0.8;
    animation: bounce 1.5s infinite;
    cursor: pointer;
    z-index: 1000;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Scroll Container */
.scroll-container {
    position: fixed;
    bottom: 30%;
    left: 95.5%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.4s ease-in-out, transform 0.3s ease-out;
    z-index: 1000;
    animation: bounce 1.5s infinite; /* Keeps the bounce effect */
}

/* Scroll Text */
.scroll-text {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Scroll Icon (Circular Button) */
.scroll-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(179, 179, 179, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
}

/* Downward Arrow */
.scroll-icon::after {
    content: "↓";
    font-size: 16px;
    color: #000;
    opacity: 0.8;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Hover Effects */
.scroll-container:hover .scroll-icon {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.1);
    border-color: #000;
}

.scroll-container:hover .scroll-text {
    transform: translateY(-5px);
    opacity: 1;
}

.scroll-container:hover .scroll-icon::after {
    opacity: 1;
    transform: translateY(3px);
}

/* Fade Out When Scrolling */
.scrolled .scroll-container {
    opacity: 0;
    transform: translateY(20px);
}

/* Scroll Container */
.scroll-container1 {
    position: fixed;
    bottom: 30%;
    left: 95.5%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.4s ease-in-out, transform 0.3s ease-out;
    z-index: 1000;
    animation: bounce 1.5s infinite; /* Keeps the bounce effect */
}

/* Scroll Text */
.scroll-text1 {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Scroll Icon (Circular Button) */
.scroll-icon1 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(179, 179, 179, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
}

/* Downward Arrow */
.scroll-icon1::after {
    content: "↓";
    font-size: 16px;
    color: #000;
    opacity: 0.8;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Hover Effects */
.scroll-container1:hover .scroll-icon1 {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.1);
    border-color: #000;
}

.scroll-container1:hover .scroll-text1 {
    transform: translateY(-5px);
    opacity: 1;
}

.scroll-container1:hover .scroll-icon1::after {
    opacity: 1;
    transform: translateY(3px);
}

/* Fade Out When Scrolling */
.scrolled1 .scroll-container1 {
    opacity: 0;
    transform: translateY(20px);
}

/* Scroll Container */
.scroll-container2 {
    position: fixed;
    bottom: 30%;
    left: 95.5%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.4s ease-in-out, transform 0.3s ease-out;
    z-index: 1000;
    animation: bounce 1.5s infinite; /* Keeps the bounce effect */
}

/* Scroll Text */
.scroll-text2 {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Scroll Icon (Circular Button) */
.scroll-icon2 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(179, 179, 179, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
}

/* Downward Arrow */
.scroll-icon2::after {
    content: "↓";
    font-size: 16px;
    color: #000;
    opacity: 0.8;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Hover Effects */
.scroll-container2:hover .scroll-icon2 {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.1);
    border-color: #000;
}

.scroll-container2:hover .scroll-text2 {
    transform: translateY(-5px);
    opacity: 1;
}

.scroll-container2:hover .scroll-icon2::after {
    opacity: 1;
    transform: translateY(3px);
}

/* Fade Out When Scrolling */
.scrolled2 .scroll-container2 {
    opacity: 0;
    transform: translateY(20px);
}



/* Scroll Container */
.scroll-container4 {
    position: fixed;
    bottom: 30%;
    left: 95.5%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.4s ease-in-out, transform 0.3s ease-out;
    z-index: 1000;
    animation: bounce 1.5s infinite; /* Keeps the bounce effect */
}

/* Scroll Text */
.scroll-text4 {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Scroll Icon (Circular Button) */
.scroll-icon4 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(179, 179, 179, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
}

/* Downward Arrow */
.scroll-icon4::after {
    content: "↓";
    font-size: 16px;
    color: #000;
    opacity: 0.8;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Hover Effects */
.scroll-container4:hover .scroll-icon4 {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.1);
    border-color: #000;
}

.scroll-container4:hover .scroll-text4 {
    transform: translateY(-5px);
    opacity: 1;
}

.scroll-container4:hover .scroll-icon4::after {
    opacity: 1;
    transform: translateY(3px);
}

/* Fade Out When Scrolling */
.scrolled4 .scroll-container4 {
    opacity: 0;
    transform: translateY(20px);
}

/* Scroll Container */
.scroll-container5 {
    position: fixed;
    bottom: 30%;
    left: 95.5%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.4s ease-in-out, transform 0.3s ease-out;
    z-index: 1000;
    animation: bounce 1.5s infinite; /* Keeps the bounce effect */
}

/* Scroll Text */
.scroll-text5 {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Scroll Icon (Circular Button) */
.scroll-icon5 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(179, 179, 179, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
}

/* Downward Arrow */
.scroll-icon5::after {
    content: "↓";
    font-size: 16px;
    color: #000;
    opacity: 0.8;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Hover Effects */
.scroll-container5:hover .scroll-icon5 {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.1);
    border-color: #000;
}

.scroll-container5:hover .scroll-text5 {
    transform: translateY(-5px);
    opacity: 1;
}

.scroll-container5:hover .scroll-icon5::after {
    opacity: 1;
    transform: translateY(3px);
}

/* Fade Out When Scrolling */
.scrolled5 .scroll-container5 {
    opacity: 0;
    transform: translateY(20px);
}

/* Scroll Container */
.scroll-container6 {
    position: fixed;
    bottom: 30%;
    left: 95.5%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.4s ease-in-out, transform 0.3s ease-out;
    z-index: 1000;
    animation: bounce 1.5s infinite; /* Keeps the bounce effect */
}

/* Scroll Text */
.scroll-text6 {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Scroll Icon (Circular Button) */
.scroll-icon6 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(179, 179, 179, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
}

/* Downward Arrow */
.scroll-icon6::after {
    content: "↓";
    font-size: 16px;
    color: #000;
    opacity: 0.8;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Hover Effects */
.scroll-container6:hover .scroll-icon6 {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.1);
    border-color: #000;
}

.scroll-container6:hover .scroll-text6 {
    transform: translateY(-5px);
    opacity: 1;
}

.scroll-container6:hover .scroll-icon6::after {
    opacity: 1;
    transform: translateY(3px);
}

/* Fade Out When Scrolling */
.scrolled6 .scroll-container6 {
    opacity: 0;
    transform: translateY(20px);
}

/* Scroll Container */
.scroll-container7 {
    position: fixed;
    bottom: 30%;
    left: 95.5%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.4s ease-in-out, transform 0.3s ease-out;
    z-index: 1000;
    animation: bounce 1.5s infinite; /* Keeps the bounce effect */
}

/* Scroll Text */
.scroll-text7 {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Scroll Icon (Circular Button) */
.scroll-icon7 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(179, 179, 179, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
}

/* Downward Arrow */
.scroll-icon7::after {
    content: "↓";
    font-size: 16px;
    color: #000;
    opacity: 0.8;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Hover Effects */
.scroll-container7:hover .scroll-icon {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.1);
    border-color: #000;
}

.scroll-container7:hover .scroll-text {
    transform: translateY(-5px);
    opacity: 1;
}

.scroll-container7:hover .scroll-icon::after {
    opacity: 1;
    transform: translateY(3px);
}

/* Fade Out When Scrolling */
.scrolled .scroll-container7 {
    opacity: 0;
    transform: translateY(20px);
}

/* Scroll Container */
.scroll-container8 {
    position: fixed;
    bottom: 30%;
    left: 95.5%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.4s ease-in-out, transform 0.3s ease-out;
    z-index: 1000;
    animation: bounce 1.5s infinite; /* Keeps the bounce effect */
}

/* Scroll Text */
.scroll-text8 {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Scroll Icon (Circular Button) */
.scroll-icon8 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(179, 179, 179, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
}

/* Downward Arrow */
.scroll-icon8::after {
    content: "↓";
    font-size: 16px;
    color: #000;
    opacity: 0.8;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Hover Effects */
.scroll-container8:hover .scroll-icon {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.1);
    border-color: #000;
}

.scroll-container8:hover .scroll-text {
    transform: translateY(-5px);
    opacity: 1;
}

.scroll-container8:hover .scroll-icon::after {
    opacity: 1;
    transform: translateY(3px);
}

/* Fade Out When Scrolling */
.scrolled .scroll-container8 {
    opacity: 0;
    transform: translateY(20px);
}

/* Scroll Container */
.scroll-container9 {
    position: fixed;
    bottom: 30%;
    left: 95.5%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.4s ease-in-out, transform 0.3s ease-out;
    z-index: 1000;
    animation: bounce 1.5s infinite; /* Keeps the bounce effect */
}

/* Scroll Text */
.scroll-text9 {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Scroll Icon (Circular Button) */
.scroll-icon9 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(179, 179, 179, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
}

/* Downward Arrow */
.scroll-icon9::after {
    content: "↓";
    font-size: 16px;
    color: #000;
    opacity: 0.8;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Hover Effects */
.scroll-container9:hover .scroll-icon {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.1);
    border-color: #000;
}

.scroll-container9:hover .scroll-text {
    transform: translateY(-5px);
    opacity: 1;
}

.scroll-container9:hover .scroll-icon::after {
    opacity: 1;
    transform: translateY(3px);
}

/* Fade Out When Scrolling */
.scrolled .scroll-container9 {
    opacity: 0;
    transform: translateY(20px);
}

/* Bounce Animation (Retained) */
@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}




.container {
    position: relative;
}

.project-intro{
    background-color: #b3b3b3;
    background-image: url(/assets/images/portfolio_type.jpg);
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 15%;
    padding-right: 15%;
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed;
    color: #000;
}

.project-intro1{
    background-color: #b3b3b3;
    background-image: url(/assets/images/overviewbackground0.jpg);
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 15%;
    padding-right: 15%;
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed;
    color: #000;
}
.p1{
    background-image: url(/assets/images/portfolio_type.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

.video-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden; /* ensures corner rounding is clean */
    border-radius: 0.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* soft shadow */
  }
  
  .vid {
    width: 100%;
    display: block;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  
  .caption-frost {
    margin-top: 0;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-style: italic;
    text-align: right;
    letter-spacing: 0.02em;
    color: #222;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  
    /* Frosted glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.1);
  
    /* rounded bottom corners only */
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
  }
  
  .caption-frost .year {
    color: rgba(0, 0, 0, 0.5);
    font-style: normal;
    margin-left: 0.3rem;
  }
  
  
  

.project-intro2{
    background-color: #b3b3b3;
    background-image: url(/assets/images/overview_background2.jpg);
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 15%;
    padding-right: 15%;
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed;
    color: #000;
}
.p2{
    background-image: url(/assets/images/overview_background2.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed;
}
.project-intro4{
    background-color: #b3b3b3;
    background-image: url(/assets/images/gildan_langing_txtbg.jpg);
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 15%;
    padding-right: 15%;
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed;
    color: #000;
}
.p4{
    background-image: url(/assets/images/gildan_langing_txtbg.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}
.project-intro5{
    background-color: #b3b3b3;
    background-image: url(/assets/images/gildan_amazon_txtbg.jpg);
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 15%;
    padding-right: 15%;
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed;
    color: #000;
}
.p5{
    background-image: url(/assets/images/gildan_amazon_txtbg.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

.project-intro6{
    background-color: #b3b3b3;
    background-image: url(/assets/images/aa_amazon_txtbg.jpg);
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 15%;
    padding-right: 15%;
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed;
    color: #000;
}
.p6{
    background-image: url(/assets/images/aa_amazon_txtbg.jpg);
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

.project-intro7{
    background-color: #b3b3b3;
    background-image: url(/assets/images/overview_background7.jpg);
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 15%;
    padding-right: 15%;
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed;
    color: #000;
}

.project-intro8{
    background-color: #b3b3b3;
    background-image: url(/assets/images/overview_background8.jpg);
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 15%;
    padding-right: 15%;
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed;
    color: #000;
}
.project-intro9{
    background-color: #b3b3b3;
    background-image: url(/assets/images/overview_background9.jpg);
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 15%;
    padding-right: 15%;
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed;
    color: #000;
}


.intro{
    width: 10%;
    text-align: right;
    font-weight: 400;
}
.intro2{
    width: 110%;
    text-align: left;
    font-weight: 400;
}

.intro3{
    width: 110%;
    text-align: left;
    font-size: 1.75rem;

}

.intro4{
    width: 110%;
    text-align: left;
    font-size: 1.4rem;

}

.hidden {
    display: none;
}

.back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.visible {
    display: block;
}


/* Scroll Indicator (Original) */
#scrollIndicator {
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
    opacity: 1;
    visibility: visible;
}

/* Hide scroll indicator when scrolled */
#scrollIndicator.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Back to Top Button */
#backToTop {
    z-index: 1000;
    position: fixed;
    bottom: 125px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.2s ease-in-out;
}

/* Hover effect */
#backToTop:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Show the button when scrolling */
#backToTop.visible {
    opacity: 1;
    visibility: visible;
}
/* Back to Top Button */
#backToTop1 {
    z-index: 1000;
    position: fixed;
    bottom: 125px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.2s ease-in-out;
}

/* Hover effect */
#backToTop1:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Show the button when scrolling */
#backToTop1.visible {
    opacity: 1;
    visibility: visible;
}
/* Back to Top Button */
#backToTop2 {
    z-index: 1000;
    position: fixed;
    bottom: 125px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.2s ease-in-out;
}

/* Hover effect */
#backToTop2:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Show the button when scrolling */
#backToTop2.visible {
    opacity: 1;
    visibility: visible;
}
/* Back to Top Button */
#backToTop4 {
    z-index: 1000;
    position: fixed;
    bottom: 125px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.2s ease-in-out;
}

/* Hover effect */
#backToTop4:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Show the button when scrolling */
#backToTop4.visible {
    opacity: 1;
    visibility: visible;
}
#backToTop5 {
    z-index: 1000;
    position: fixed;
    bottom: 125px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.2s ease-in-out;
}

/* Hover effect */
#backToTop5:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Show the button when scrolling */
#backToTop5.visible {
    opacity: 1;
    visibility: visible;
}
#backToTop6 {
    z-index: 1000;
    position: fixed;
    bottom: 125px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.2s ease-in-out;
}

/* Hover effect */
#backToTop6:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Show the button when scrolling */
#backToTop6.visible {
    opacity: 1;
    visibility: visible;
}
#backToTop7 {
    z-index: 1000;
    position: fixed;
    bottom: 125px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.2s ease-in-out;
}

/* Hover effect */
#backToTop7:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Show the button when scrolling */
#backToTop7.visible {
    opacity: 1;
    visibility: visible;
}
#backToTop8 {
    z-index: 1000;
    position: fixed;
    bottom: 125px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.2s ease-in-out;
}

/* Hover effect */
#backToTop8:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Show the button when scrolling */
#backToTop8.visible {
    opacity: 1;
    visibility: visible;
}
#backToTop9 {
    z-index: 1000;
    position: fixed;
    bottom: 125px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.2s ease-in-out;
}

/* Hover effect */
#backToTop9:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Show the button when scrolling */
#backToTop9.visible {
    opacity: 1;
    visibility: visible;
}

.overview{
    width: 110%;
    text-align: left;
    padding-bottom: 80px;
    padding-left: 30%;
    padding-right: 8%;
    color: #000;
    font-weight: 400;
}

.overview2{
    width: 110%;
    text-align: left;
    padding-bottom: 80px;
    padding-left: 21%;
    color: #000;
    font-weight: 400;
}

.overview2 .bp {
    display: block;           /* each bullet on its own line */
    position: relative;
    padding-left: 1.1em;      /* space for the bullet */
    line-height: 1.6;
  }
  
  .overview2 .bp::before {
    content: "•";             /* draw the bullet */
    position: absolute;
    left: 0;
    top: 0;
  }
  
  .overview2 .bp + .bp {
    margin-top: 0.35em;       /* spacing between bullets */
  }

.overview3{
    width: 110%;
    text-align: left;
    padding-bottom: 80px;
    padding-left: 21%;
    padding-right: 8%;
    color: #000;
    font-weight: 400;
}

.overview strong {
    font-weight: 900 !important;
}

.overview2 strong {
    font-weight: 900 !important;
}
.overview3 strong {
    font-weight: 900 !important;
}

.slider-buttons {
    position: fixed;
    bottom: 85px;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
}

.previous {
    position: absolute;
    left: 33%; /* Adjusted to 33% from the left */

}

.next {
    position: absolute;
    right: 40px; /* Keeps it aligned to the right */
}

.slider-buttons a {
    text-decoration: none;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 500;
    color: #000;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.2);;
    border: 1px solid #000;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; /* Default width for just the icon */
    height: 50px;
    overflow: hidden;
    white-space: nowrap;
}

.slider-buttons a::before {
    content: attr(data-icon); /* Show only the icon initially */
    font-size: 18px;
    transition: all 0.3s ease-in-out;
}

.slider-buttons a:hover {
    width: 180px; /* Expands to reveal full text */
    padding: 12px 24px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slider-buttons a:hover::before {
    content: attr(data-text); /* Switches to full text on hover */
    font-size: 16px;
}

.homesm{
    margin: .5rem;
    margin-left: 1.5rem;
    margin-right: 0.7rem;
}

.second-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: auto;
    padding: 1rem;
    background-color: cornflowerblue;
    display: none;
}

#goProject{
    scroll-margin-top: 35px;
}

#goContactMe{
    scroll-margin-top: 75px;
}

#goSkills{
    scroll-margin-top: 120px;
}

.hideAll {
    display: none;
}

.yellow {
    background-color: yellow;
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}
/* # Mobile
only screen and (min-width: 480px) */
@media (max-width: 576px)  { 

    .second-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        margin: auto;
        padding: 1.6rem;
        background-color: #000; /* Black background */
        opacity: 0; /* Start completely transparent */
        visibility: hidden; /* Hide from screen readers and interaction when transparent */
        transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out; /* Smooth fade transition */
        z-index: 1000; /* Ensure it stays on top */
        color: #fff; /* White text for contrast */
        text-align: center; /* Center content */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
        font-family: "Inter", sans-serif; /* Professional font (ensure Inter is linked in your <head>) */
        display: flex; /* Keep display flex for layout, but control visibility with opacity/visibility */
        align-items: center; /* Vertically center content if header has fixed height */
        justify-content: center; /* Horizontally center content */
        height: 3.5rem; /* Example fixed height for consistent padding/layout */
    }
    
    .second-header.visible {
        opacity: 1; /* Fade in */
        visibility: visible; /* Make visible */
    }

    .second-header a {
        text-decoration: none; /* Remove underline from links */
        color: #fff; /* White text */
        font-weight: 500; /* Medium weight for readability */
        font-size: 0.95rem; /* Slightly smaller text for compactness */
        padding: 0.5rem 0.75rem; /* Padding for click area */
        border-radius: 0.375rem; /* Rounded corners for the clickable area */
        transition: background-color 0.2s ease, color 0.2s ease; /* Smooth transition for hover */
        /* Ensure links don't shrink too much */
        flex-shrink: 0;
    }
    
    .second-header a:hover {
        background-color: rgba(255, 255, 255, 0.1); /* Subtle white overlay on hover */
        color: #fff; /* Keep text white */
    }
    
    .second-header a p {
        margin: 0; /* Remove default paragraph margin inside links */
        text-transform: uppercase; /* Make text uppercase for a clean, modern look */
        letter-spacing: 0.05em; /* Slight letter spacing for visual appeal */
    }

    /* --- Styling for the HIRE ME Button --- */
    .second-header #hirebtn {
        background-color: transparent;
        border-color: #fff; 
        color: #fff;
        padding: 0.6rem 1.2rem; /* Generous padding for a good touch target */
        border-radius: 9999px; /* Fully rounded/pill-shaped button */
        font-size: 0.95rem; /* Consistent font size with links */
        font-weight: 600; /* Semi-bold text */
        cursor: pointer; /* Indicate it's clickable */
        box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3); /* Soft shadow matching the blue */
        transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* Smooth transitions for interaction */
        outline: none; /* Remove outline on focus */
        /* Ensure button doesn't shrink too much */
        flex-shrink: 0;
        
    }
    
    
    .second-header #hirebtn:active {
        color: #000;
        background-color: #fff; /* Even darker blue on click */
        transform: translateY(0); /* Press down effect */
        box-shadow: 0 2px 5px rgba(0, 123, 255, 0.2); /* Reduced shadow on active */
    }


    /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ 
    .desktop {
        display: none;
    }
    
    .mobile {
        display: block;
    }

    header.mobile {
        position: static;
        width: 100%;
        height: 95%;
    }

    main {
        margin-left: 0;
        padding: 0rem;
        display: flex;
        width: 100%;
    }

    main > section {
        width: 100%;
        min-height: 20.0rem;
        padding: 0.0rem;
        border-radius: 8px;
    }

    .project-container {
        display: block;
    }

    .project-card {
        margin: 2.0rem auto;
        justify-items: center;
        width: 100%; /* Allow cards to take the full width of their container */
    }

    .go-project {
        margin: 0 auto;
        height: 90rem;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 400;
    }

    .go-contact-me, .go-contact-me2, .go-skills {
        margin: 20rem auto;
        height: 20rem;
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: 500;
    }
    .go-skills {
        height: 70rem;
        margin: 20rem auto;
        max-width: 85%;

    }

    .contacts{
        
        margin-top: -20rem;
        margin-left: 7.5%;
        text-align: left;
    }
    .formright{
        margin:0  auto;
        text-align: center;

    }

    .overview{
        font-size: 12px;
        width: 95%;
        text-align: left;
        padding-bottom: 80px;
        padding-left: 0%;
        padding-right: 0%;
        color: #000;
    }

    .contHL {
        width: 120%;
        padding-top: 9.5%;
        padding-right: 1%;
        margin-left: -25%;
    
    }

    .contHL2 {

        margin-left: -82.5%;
        margin-top: 9%;
        justify-content: left;
        position: relative;
    }

    .contHL2-2 {

        margin-left: -22.5%;
        margin-top: 9%;
        justify-content: left;
        position: relative;
    }
    
    .contHL2-4 {

        margin-left: -57.5%;
        margin-top: 9%;
        justify-content: left;
        position: relative;
    }
    .contHL2-5 {

        margin-left: -78%;
        margin-top: 9%;
        justify-content: left;
        position: relative;
    }
    .contHL2-9 {

        margin-left: -65%;
        margin-top: 9%;
        justify-content: left;
        position: relative;
    }

    .scroll-container {
        position: fixed;
        bottom: 15%;
        left: 90%;
    }

    /* Scroll Text */
    .scroll-text {
        font-size: 14px;
        font-weight: 500;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 8px;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Scroll Icon (Circular Button) */
    .scroll-icon {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid rgba(179, 179, 179, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
    }

    /* Downward Arrow */
        .scroll-icon::after {
        content: "↓";
        font-size: 16px;
        color: #fff;
        opacity: 0.8;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Hover Effects */
        .scroll-container:hover .scroll-icon {
        transform: scale(1.2);
        background: rgba(255, 255, 255, 0.1);
        border-color: #fff;
    }

    .scroll-container1 {
        position: fixed;
        bottom: 15%;
        left: 90%;
    }

    /* Scroll Text */
    .scroll-text1 {
        font-size: 14px;
        font-weight: 500;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 8px;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Scroll Icon (Circular Button) */
    .scroll-icon1 {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid rgba(179, 179, 179, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
    }

    /* Downward Arrow */
        .scroll-icon1::after {
        content: "↓";
        font-size: 16px;
        color: #fff;
        opacity: 0.8;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Hover Effects */
        .scroll-container1:hover .scroll-icon1 {
        transform: scale(1.2);
        background: rgba(255, 255, 255, 0.1);
        border-color: #000;
    }
    
    .scroll-container2 {
        position: fixed;
        bottom: 15%;
        left: 90%;
    }

    /* Scroll Text */
    .scroll-text2 {
        font-size: 14px;
        font-weight: 500;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 8px;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Scroll Icon (Circular Button) */
    .scroll-icon2 {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid rgba(179, 179, 179, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
    }

    /* Downward Arrow */
        .scroll-icon2::after {
        content: "↓";
        font-size: 16px;
        color: #fff;
        opacity: 0.8;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Hover Effects */
        .scroll-container2:hover .scroll-icon2 {
        transform: scale(1.2);
        background: rgba(255, 255, 255, 0.1);
        border-color: #000;
    }
    
    .scroll-container4 {
        position: fixed;
        bottom: 15%;
        left: 90%;
    }

    /* Scroll Text */
    .scroll-text4 {
        font-size: 14px;
        font-weight: 500;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 8px;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Scroll Icon (Circular Button) */
    .scroll-icon4 {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid rgba(179, 179, 179, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
    }

    /* Downward Arrow */
        .scroll-icon4::after {
        content: "↓";
        font-size: 16px;
        color: #fff;
        opacity: 0.8;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Hover Effects */
        .scroll-container4:hover .scroll-icon4 {
        transform: scale(1.2);
        background: rgba(255, 255, 255, 0.1);
        border-color: #000;
    }
    
    .scroll-container5 {
        position: fixed;
        bottom: 15%;
        left: 90%;
    }

    /* Scroll Text */
    .scroll-text5 {
        font-size: 14px;
        font-weight: 500;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 8px;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Scroll Icon (Circular Button) */
    .scroll-icon5 {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid rgba(179, 179, 179, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
    }

    /* Downward Arrow */
        .scroll-icon5::after {
        content: "↓";
        font-size: 16px;
        color: #fff;
        opacity: 0.8;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Hover Effects */
        .scroll-container5:hover .scroll-icon5 {
        transform: scale(1.2);
        background: rgba(255, 255, 255, 0.1);
        border-color: #000;
    }
    
    .scroll-container6 {
        position: fixed;
        bottom: 15%;
        left: 90%;
    }

    /* Scroll Text */
    .scroll-text6 {
        font-size: 14px;
        font-weight: 500;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 8px;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Scroll Icon (Circular Button) */
    .scroll-icon6 {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid rgba(179, 179, 179, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
    }

    /* Downward Arrow */
        .scroll-icon6::after {
        content: "↓";
        font-size: 16px;
        color: #fff;
        opacity: 0.8;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Hover Effects */
        .scroll-container6:hover .scroll-icon6 {
        transform: scale(1.2);
        background: rgba(255, 255, 255, 0.1);
        border-color: #000;
    }
    
    .scroll-container7 {
        position: fixed;
        bottom: 15%;
        left: 90%;
    }

    /* Scroll Text */
    .scroll-text7 {
        font-size: 14px;
        font-weight: 500;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 8px;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Scroll Icon (Circular Button) */
    .scroll-icon7 {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid rgba(179, 179, 179, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
    }

    /* Downward Arrow */
        .scroll-icon7::after {
        content: "↓";
        font-size: 16px;
        color: #fff;
        opacity: 0.8;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Hover Effects */
        .scroll-container7:hover .scroll-icon7 {
        transform: scale(1.2);
        background: rgba(255, 255, 255, 0.1);
        border-color: #fff;
    }
    
    .scroll-container8 {
        position: fixed;
        bottom: 15%;
        left: 90%;
    }

    /* Scroll Text */
    .scroll-text8 {
        font-size: 14px;
        font-weight: 500;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 8px;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Scroll Icon (Circular Button) */
    .scroll-icon8 {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid rgba(179, 179, 179, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
    }

    /* Downward Arrow */
        .scroll-icon8::after {
        content: "↓";
        font-size: 16px;
        color: #fff;
        opacity: 0.8;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Hover Effects */
        .scroll-container8:hover .scroll-icon8 {
        transform: scale(1.2);
        background: rgba(255, 255, 255, 0.1);
        border-color: #fff;
    }
    
    .scroll-container9 {
        position: fixed;
        bottom: 15%;
        left: 90%;
    }

    /* Scroll Text */
    .scroll-text9 {
        font-size: 14px;
        font-weight: 500;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 8px;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Scroll Icon (Circular Button) */
    .scroll-icon9 {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid rgba(179, 179, 179, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease-out, background 0.3s ease-out, border-color 0.3s ease-out;
    }

    /* Downward Arrow */
        .scroll-icon9::after {
        content: "↓";
        font-size: 16px;
        color: #fff;
        opacity: 0.8;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Hover Effects */
        .scroll-container9:hover .scroll-icon9 {
        transform: scale(1.2);
        background: rgba(255, 255, 255, 0.1);
        border-color: #fff;
    }
    
    

    .project_1 {
        background-image: url(../assets/images/earthly_header_mob.jpg);
        height: 100vh;
        padding-left: 100px;
        width: 100%;
        background-size: cover; /* Ensures the image covers the entire viewport */
        background-position: center; /* Centers the image */
        background-repeat: no-repeat; /* Prevents the image from repeating */
        background-attachment: scroll; /* Makes the background static */

    }
    .project2 {
        background-image: url(../assets/images/ont_parks_header_mob.jpg);
        height: 100vh;
        padding-left: 100px;
        width: 100%;
        background-size: cover; /* Ensures the image covers the entire viewport */
        background-position: center; /* Centers the image */
        background-repeat: no-repeat; /* Prevents the image from repeating */
        background-attachment: scroll; /* Makes the background static */

    }
    .project3 {
        background-image: url(../assets/images/familyofeateriesheader_mob.jpg);
        height: 100vh;
        padding-left: 100px;
        width: 100%;
        background-size: cover; /* Ensures the image covers the entire viewport */
        background-position: center; /* Centers the image */
        background-repeat: no-repeat; /* Prevents the image from repeating */
        background-attachment: scroll; /* Makes the background static */

    }
    .project4 {
        background-image: url(../assets/images/gildan_landing_header_mob.jpg);
        height: 100vh;
        padding-left: 100px;
        width: 100%;
        background-size: cover; /* Ensures the image covers the entire viewport */
        background-position: center; /* Centers the image */
        background-repeat: no-repeat; /* Prevents the image from repeating */
        background-attachment: scroll; /* Makes the background static */

    }
    .project5 {
        background-image: url(../assets/images/gildan_amazon_header_mob.jpg);
        height: 100vh;
        padding-left: 100px;
        width: 100%;
        background-size: cover; /* Ensures the image covers the entire viewport */
        background-position: center; /* Centers the image */
        background-repeat: no-repeat; /* Prevents the image from repeating */
        background-attachment: scroll; /* Makes the background static */

    }
    .project6 {
        background-image: url(../assets/images/aa_amazon_header_mob.jpg);
        height: 100vh;
        padding-left: 100px;
        width: 100%;
        background-size: cover; /* Ensures the image covers the entire viewport */
        background-position: center; /* Centers the image */
        background-repeat: no-repeat; /* Prevents the image from repeating */
        background-attachment: scroll; /* Makes the background static */

    }
    .project9 {
        background-image: url(../assets/images/collab_header_mob.jpg);
        height: 50vh;
        padding-left: 100px;
        width: 100%;
        background-size: cover; /* Ensures the image covers the entire viewport */
        background-position: center; /* Centers the image */
        background-repeat: no-repeat; /* Prevents the image from repeating */
        background-attachment: scroll; /* Makes the background static */

    }

    #backToTop {
        bottom: 125px;
        right: 15px;
    }
    #backToTop1 {
        bottom: 125px;
        right: 15px;
    }
    #backToTop2 {
        bottom: 125px;
        right: 15px;
    }
    #backToTop4 {
        bottom: 125px;
        right: 15px;
    }
    #backToTop5 {
        bottom: 125px;
        right: 15px;
    }
    #backToTop6 {
        bottom: 125px;
        right: 15px;
    }
    #backToTop7 {
        bottom: 125px;
        right: 15px;
    }
    #backToTop8 {
        bottom: 125px;
        right: 15px;
    }
    #backToTop9 {
        bottom: 125px;
        right: 15px;
    }

    .previous {
        position: absolute;
        left: 15px; /* Adjusted to 33% from the left */

    }

    .next {
        position: absolute;
        right: 15px; /* Keeps it aligned to the right */
    }

    .slider-buttons a {
        width: 50px !important;
        padding: 12px 0 !important;
    }
    
    .slider-buttons a:hover {
        width: 50px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        color: #000 !important;
        border: 1px solid #000 !important;
    }
    
    .slider-buttons a::before {
        content: attr(data-icon);
    }
    
    .slider-buttons a:hover::before {
        content: attr(data-icon); /* Don't switch to text on hover */
    }

    .cursor,
    .cursor-glow {
        display: none !important;
    }

    /* Make the 3 cards stack vertically */
  .skills-category-card {
    width: 100% !important;
    flex: none !important;
    display: block !important;
    border-right: none !important; /* remove the desktop dividers */
    margin-bottom: 1.5em;
    padding: 1.25em 1em !important;
  }

  /* Hairline under each category except the last */
  .skills-category-card:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  }

  /* Force h3 to align correctly on mobile */
  .skills-category-card h3 {
    padding-left: 0 !important;
    margin-bottom: 0.5em;
  }

  /* Keep bullet list indentation clean */
  .skills-category-card ul {
    padding-left: 1.25em !important;
  }

  /* Make the parent flex container stack vertically */
  .skills-category-card:first-child,
  .skills-category-card:nth-child(2),
  .skills-category-card:nth-child(3) {
    width: 100%;
    flex: none;
  }

  /* Force the flex container to become column layout */
  div[style*="display: flex"][style*="justify-content: flex-start"] {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0 !important;
  }
  

    
    



}

/* # Tablet
only screen and (min-width: 768px) 
/* # Tablet */
@media (min-width: 481px) and (max-width: 767px) { 
    .desktop {
        display: none;
    }
    
    .mobile {
        display: block;
    }

    header.mobile {
        position: static;
        width: 100%;
        height: 60%;
    }

    main {
        margin-left: 0;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    main > section {
        width: 90%;
        min-height: 25rem;
        padding: 1rem;
        border-radius: 8px;
        margin: 0 auto;
    }

    .project-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .project-card {
        margin: 1.5rem auto;
        width: 90%; /* Adjust width for better tablet layout */
        justify-items: center;
    }

    .go-project {
        margin: 6.5rem auto;
        height: 100rem;
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: 500;
    }

    .go-contact-me, .go-contact-me2, .go-skills {
        margin: 0 auto;
        height: 50rem;
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: 500;
    }
    .go-skills {
        margin:120rem auto;

    }

    .contacts{
        
        margin-top: -20rem;
        margin-left: 3%;
        text-align: left;
    }
    .formright{
        margin-top: -75rem;
        margin-left:5%;
        text-align: left;
    }
    p{
        justify-content: left;
        align-items: left;
        text-align: left;
    }

}

/* # Tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) { 
    .desktop {
        display: none;
    }
    
    .mobile {
        display: block;
    }

    header.mobile {
        position: static;
        width: 100%;
        height: 60%;
    }

    main {
        margin-left: 0;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    main > section {
        width: 90%;
        min-height: 25rem;
        padding: 0rem;
        border-radius: 8px;
        margin: 0 auto;
    }

    .project-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(375px 1fr));
        gap: 0rem;
    }

    .project-card {
        margin: 1.5rem auto;
        width: 90%; /* Adjust width for better tablet layout */
        justify-items: center;
    }

    .go-project {
        
        margin: 6.5rem auto;
        height: 100rem;
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: 500;
    }

    .go-contact-me, .go-contact-me2, .go-skills {
        margin: 0 auto;
        height: 50rem;
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: 500;
    }
    .go-skills {
        margin: -65rem auto;

    }

    .contacts{
        
        margin-top: -20rem;
        margin-left: 16%;
        text-align: left;
    }
    .formright{
        margin-top: 70rem;
        margin-left:27.5%;
        text-align: left;
    }
    
}
/*

# Desktop
only screen and (min-width: 992px)

# Huge
only screen and (min-width: 1280px)  */



/* # Big Screens (1280px) */
@media (min-width: 1920px)  { 

    header {
        margin-top: 13.5rem;
        position: fixed;
        left: 0;
        top: 0;
        width: 30%;
        height: 100%;
        color: white;
        padding: 2rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        z-index: 10;
    }


    .go-project {
        
        margin: 11rem auto;
        height: 40rem;
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: 500;
    }

    .go-skills {
        display: flex;                 /* make it a flexbox */
        flex-direction: column;        /* normal stacking inside */
        justify-content: center;       /* center vertically */
        align-items: center;           /* center horizontally */
    
        min-height: 80vh;             /* fill entire screen */
        height: auto;                  /* let content define height */

        margin: 0rem auto;
     
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: 500;
    }

    .go-contact-me {
        margin: 7rem auto;
        height: 40rem;
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: 500;
    }

    .contHL {
        width: 100%;
    
        padding-left: 5%;
        padding-top: 4%;
    
    }

    .contHL2 {

        padding-left: 50%;
        padding-top: 2.5%;
        align-items: right;
    }
    
    .contHL2-2 {
    
        padding-right: 8%;
        padding-top: 2.5%;
        align-items: right;
    }
    
    .contHL2-4 {
    
        padding-left: 25%;
        padding-top: 2.5%;
        align-items: right;
    }
    
    .contHL2-5 {
    
        padding-left: 45%;
        padding-top: 2.5%;
        align-items: right;
    }
    
    .contHL2-6 {
    
        padding-left: 27.25%;
        padding-top: 2.5%;
        align-items: right;
    }
    
    .contHL2-9 {
    
        padding-left: 35%;
        padding-top: 2.5%;
        align-items: right;
    }
    

    
}