html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background: #000000;
    color: white;
    overflow-x: hidden;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    line-height: 1.5;
    position: absolute;
    top: 20px;
    width: 100%;
}

span {
    color: #fdfdfd; /* Accent color */
}

/* Particle Effect Styles */
#firefly-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle, #02202d, #000000, #051444);
    overflow: hidden; /* Prevents fireflies from overflowing */
}

.firefly {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #f7f7b0;
    border-radius: 50%;
    box-shadow: 0 0 10px #f7f7b0;
    animation: fly 8s infinite ease-in-out;
    opacity: 0; /* Start with 0 opacity for fade-in effect */
}

@keyframes fly {
    0%, 100% { transform: translate(0, 0); opacity: 0; } /* Fade in/out at start/end */
    25% { transform: translate(20px, -30px); opacity: 1; } /* Visible during movement */
    50% { transform: translate(-20px, 20px); opacity: 1; }
    75% { transform: translate(30px, -10px); opacity: 1; }
}
/* Section 1: Introduction */
#intro-section {
    margin-top: 100px;
    min-height:75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    padding: 0 20px;
    z-index: 1;
    text-align: center;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px;
}
#boxes-section {
  
    display: flex;
    justify-content:space-around;
    width: 100;
    height: 70vh;
}
.box {
    width: 30%;
    height: 380px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #e5e5e5;
    padding: 20px;
    position: relative;
    box-shadow: 0 8px 15px rgb(255, 255, 255);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.box:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(108, 227, 255, 0.2);
    background: linear-gradient(145deg, #2a2a2a, #3a3a3a);
}

.content {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.box:hover .content {
    opacity: 0;
    transform: translateY(-10px);
}

.hover-info {
    font-size: 16px;
    color: #f8f2f2;
    opacity: 0;
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    padding: 20px;
    background-color: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: inset 0 1px 1px rgb(255, 255, 255);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.box:hover .hover-info {
    opacity: 1;
    transform: translateY(0);
}

@keyframes gradient-shift-dark {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.plus-sign {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 30px;
    color: #f4f4f4;
    z-index: 2;
}

.plus-sign.bottom-right {
    bottom: 10px;
    right: 10px;
    top: unset;
    left: unset;
}

.plus-sign.bottom-left {
    bottom: 10px;
    left: 10px;
    top: unset;
    right: unset;
}

.plus-sign.top-right {
    top: 10px;
    right: 10px;
    bottom: unset;
    left: unset;
}



/* Line between sections */
.line-separator {
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #c6ffe8, #ffffff);
    margin: 40px auto;
}

/* Section Title Styling */
.about-me {
    font-size: 2rem;
    font-style: italic;
    font-weight: 400;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    padding: 20px 0;
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5); /* Optional background for better visibility */
    border-radius: 10px;
}

.about-me1, .about-me2, .about-me3, .about-me4 {
    padding: 10px;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    height: 20vh;
}

.about-me2 {
  
    color: #ffffff;
}

.about-me3 {
  
    color: #ffffff;
}

.about-me4 {
  
    color: #ffffff;
}

/* Center Navigation */
.navigation {
    position: fixed;
    bottom: 20px;
    left: 35%;
    display: flex;
    justify-content: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s, background 0.3s;
}

.navigation:hover {
    transform: scale(1.03);
    background: rgba(30, 30, 30, 0.9);
}

.nav-item {
    width: 50px;
    height: 50px;
    background: #1c1c1c;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s, transform 0.2s, translate 0.2s;
}

.nav-item:hover {
    background: #2c2c2c;
    transform: scale(1.5);
}

.nav-item img {
    width: 24px;
    height: 24px;
}


html {
    scroll-behavior: smooth;
}

/* Progress Bar Styling */

#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 5px;
    height: 0; /* Start with zero height */
    background: linear-gradient(to bottom, rgb(242, 255, 255), rgb(112, 110, 255));
    z-index: 1000;
    transition: height 0.2s ease;
    display: none; /* Hide initially */
}

#progress-bar.visible {
    display: block; /* Show only after scrolling starts */
}

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

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

/* cube */

/* Container for the spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #000;
    perspective: 1000px; /* Adds depth for 3D effect */
    overflow: hidden; /* Prevent overflow */
}

/* Main spinner */
.spinner {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d; /* Enables 3D transformations */
    animation: spin 6s infinite linear;
}

/* Spinner rings */
.ring {
    width: 100%;
    height: 100%;
    border: 15px solid transparent;
    border-radius: 50%;
    position: absolute;
    animation: color-change 8s infinite ease-in-out;
}

/* Individual rings positioned in 3D space */
.ring-1 {
    transform: rotateY(0deg);
    border-color: #1100fe;
}

.ring-2 {
    transform: rotateY(45deg);
    border-color: #1afc05;
}

.ring-3 {
    transform: rotateY(90deg);
    border-color: #ff6f61;
}

.ring-4 {
    transform: rotateY(135deg);
    border-color: #ffd700;
}

/* Center of the spinner */
.center {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8); /* Reduced shadow for performance */
}


/* Orbit animation for tech stack icons */
@keyframes orbit {
    0% {
        transform: rotate(calc(360deg / 5 * var(--i))) translateX(150px) rotate(calc(-360deg / 5 * var(--i)));
    }
    100% {
        transform: rotate(calc(360deg / 5 * var(--i) + 360deg)) translateX(150px) rotate(calc(-360deg / 5 * var(--i) - 360deg));
    }
}

/* Spinning animation */
@keyframes spin {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

/* Color-changing animation for the rings */
@keyframes color-change {
    0%, 100% {
        border-color: #bcdefa;
    }
    25% {
        border-color: #ffffff;
    }
    50% {
        border-color: #c0fff1;
    }
    75% {
        border-color: #b2b2b2;
    }
}


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

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



/* -------------project------------- */
#projects-section {
    padding: 20px 0;
    margin: 10px 0;
}

.projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.project {
    width: 500px; /* Fixed width for consistent box size */
    height: 300px; /* Allow height to adjust based on content */
    background-color: #000000;
    border: 2px solid #fbf4f4;
    border-radius: 15px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: background-color 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Added shadow for depth */
}




.project-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.project-image img {
    width: 120px;
    height: auto;
    border-radius: 8px;
}

.project-details {
    flex: 1;
    padding-left: 20px;
    text-align: left;
}

.project-links a {
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
}

.project-links img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.project-description {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 15px;
    color: #e9d8d8;
}

.project-links {
    display: flex;
    
    gap: 15px;
    bottom: 25px; /* Place it near the bottom */
    right: 15px; /* Place it near the right edge */
}

.project-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: #6ce3ff; /* Add a hover color for better interaction */
}


@media (max-width: 768px) {
    .project {
        width: 45%; /* Adjust for smaller screens */
    }
}

@media (max-width: 480px) {
    .project {
        width: 100%; /* Full width for very small screens */
    }
}

html {
    scroll-behavior: smooth;
}

/* ----------------------------------- */
.collage-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 50px auto;
    width: 75%;
}

.collage-box {
    background-color: #030101;
    border-radius: 20px;
    color: white;
    border: 2px solid #cdcdcd;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Distribute space between image and description */
    align-items: center;
    text-align: center;
    height: 300px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.3s ease;
    position: relative;
    padding: 20px;
    overflow: hidden;
}

.collage-box:hover {
    background-color: #1b1b1b;
    transform: translateY(-10px) scale(1.05); /* Add lift and slight zoom */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(108, 227, 255, 0.3); /* Soft glowing shadow */
}

.collage-box img {
    width: 80%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    object-fit: cover;
    transition: transform 0.4s ease; /* Smooth image scaling */
}



.collage-box .description {
    margin-top: 10px;
    font-size: 1rem;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transition: color 0.4s ease; /* Text color change on hover */
}

.collage-box:hover .description {
    color: #d1d1d1; /* Lighter shade of text on hover */
}

/* Styling for Row 2 and 3 */
.collage-row-2, .collage-row-3 {
    grid-template-columns: 2fr 1fr;
}

.collage-box-wide {
    grid-column: span 2; /* Makes the box span across two columns */
}



/* ------------------------ */
/* Connect with Me Section */



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

  

  @media (max-width: 768px) {
    nav {
      flex-direction: column;
    }
    nav a {
      margin: 10px 0;
    }
  }

  @media (max-width: 1024px) {
    .about {
      flex-direction: column;
    }
  
    .projects, .experience {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .hero h1 {
      font-size: 2.5rem;
    }
  
    .skill-item {
      padding: 10px;
    }
  }
  @media (max-width: 1024px) {
    /* Adjust sections for tablets */
    #boxes-section {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .box {
        width: 100%; /* Full width on smaller screens */
        margin: 10px 0;
        height: 360px;
    }
}

@media (max-width: 768px) {
    .navigation {
        width: 80%;  /* Increase width to 80% for smaller screens */
        left: 50%;  /* Keep it centered horizontally */
        margin-left: -40%;  /* Adjust to center based on new width */
        bottom: 10px;  /* Adjust the bottom distance if needed */
    }

    

    .project {
        width: 100%; /* Ensure project takes full width */
    }

    .box {
        width: 100%; 
        margin: 10px 0;
    }

    .about-me {
        font-size: 1.5rem;
        padding: 10px;
    }

 

    .project-title {
        font-size: 1.2rem;
    }

    .social-icons {
        flex-direction: row; /* Ensure horizontal alignment */
    }

    .icon {
        font-size: 1.5rem; /* Smaller icons for small screens */
    }
}

@media (max-width: 480px) {
    /* Adjust layout for very small screens */
    .navigation {
        display: flex;
        justify-content: center;  /* Centers horizontally */
        align-items: center;  /* Centers vertically (if needed) */
        position: fixed;  /* Stays at the bottom */
        bottom: 12px;
        flex-direction: row;
        gap: 10px;
        background-color: transparent;
        padding: 5px;
        width: 50%;  /* Makes it 50% of the width */
        left: 50%;  /* Centers the container horizontally */
        margin-left: -25%;  /* Centers the container by shifting it left by half of its width */
    }
    
    .nav-item {
        width: 25px;
        height: 25px;
    }
    
    .nav-item img {
        width: 12px;
        height: 12px;
    }
    

    .box {
        width: 100%; 
       
    }

    .about-me {
        font-size: 1.3rem;
        padding: 10px;
    }

    .project-title {
        font-size: 1.2rem;
    }

    .project-description {
        font-size: 0.9rem; /* Smaller description for small screens */
    }

    .social-icons {
        flex-direction: row; /* Ensure icons are stacked horizontally */
        gap: 10px; /* Reduce gap for stacking */
    }

    .icon {
        font-size: 1.5rem; /* Smaller icons for small screens */
    }
}


@media (max-width: 1200px) { 
    .collage-container { 
        grid-template-columns: repeat(2, 1fr);
         width: 90%;
        
        } 
         
    .collage-box-wide { grid-column: span 2;
     }
     .collage-box img { width: 50%; height: 100px; }
 }
    
@media (max-width: 768px) { 
    
    .collage-container { grid-template-columns: 1fr;
         width: 100%; }
    
    .collage-box-wide { grid-column: span 1; 
    }
    .collage-box img { width: 70%; height: auto; }
    
 }
 

 /* -----------changes------------ */

 @media screen and (max-width: 768px) {
   
    #intro-section h1 {
        font-size: 2.0em; /* Adjust font size for smaller screens */
        line-height: 1.8;
        margin-top: 75px;
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
        
    }
}

@media screen and (max-width: 768px){
#intro-section h1 {
    font-size: 2.0em; /* Adjust font size for smaller screens */
    line-height: 1.8;
    margin-top: 75px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    
}
}
@media screen and (max-width: 768px){
    #firefly-particles{
        height: 100%;
    }
    .firefly{
        max-height: 100%;
    }
}

.shimmer-text {
    position: relative;
    display: inline-block;
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    background-size: 300%;
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    animation: shimmer-wave 4s linear infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.shimmer-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    mix-blend-mode: overlay;
    opacity: 0.7;
    animation: shimmer-glow 3s ease-in-out infinite;
    pointer-events: none;
    border-radius: 5px;
}

@keyframes shimmer-wave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



/* ------------more changes--------------- */
/* styles.css */


.connect-section {
    width: 100%;
    padding: 60px 20px;
    margin: 0 auto;
    box-sizing: border-box;
    font-family: 'Lora', serif;
    background-color: #000000; /* Dark GitHub-like theme */
    text-align: center;
}

/* Container for rows */
.row-wrapper {
    overflow: hidden;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
}

/* The row itself */
.row {
    display: flex;
    width: 200%; /* To accommodate the moving effect */
}

/* Styling for individual cards */


.card {
    width: 300px;
    margin: 0 15px;
    padding: 15px;
    background-color: #100f0fee;
    border: 1px solid #30363d;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transition: background 0.3s ease, transform 0.3s ease;
}

/* Hover effect for card */
.card:hover {
    background-color: #242424; 
  
}

/* Card header styling */
.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.card-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.card-header .title {
    font-size: 1.2rem;
    font-weight: bold;
}

.card-header .handle {
    font-size: 0.9rem;
    color: #8b949e;
}

/* Card description styling */
.card-description {
    font-size: 1rem;
    line-height: 1.4;
    color: #c9d1d9;
}

/* Animation for moving the rows in opposite directions */
.upper-row {
    animation: moveUpperRow 30s linear infinite;
}

.lower-row {
    animation: moveLowerRow 30s linear infinite;
}

/* Animation for upper row moving to the left, then quickly reversing */
@keyframes moveUpperRow {
    0% {
        transform: translateX(0);
    }
   
    50% {
        transform: translateX(-50%);
       
    }
    60% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(0);
    }
}

/* Animation for lower row moving to the right, then quickly reversing */
@keyframes moveLowerRow {
    0% {
        transform: translateX(0);
    }
    
    50% {
        transform: translateX(50%);
      
    }
    60% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(0);
    }
}


/* Optional: Pausing the animation when hovering over the row wrapper */
.row-wrapper:hover .upper-row,
.row-wrapper:hover .lower-row {
    animation-play-state: paused;
}




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


@media (max-width: 768px) {


    .connect-section {
        padding: 0; /* Remove any padding */
        margin: 0; /* Remove any margin */
    }

    .row-wrapper {
        margin: 0; /* Remove any margin */
    }

    .row {
      
        gap: 10px; /* Remove any gap between items */
        width: 100%; /* Full width */
        margin: 0; /* Remove margin */
    }

    .card {
        width: 100%; /* Make cards take up the full width */
        margin: 0; /* Remove margin */
        padding: 0; /* Remove padding */
    }
}




  
  /* Small screens (e.g., mobile) */
 

/* Media query for smaller screens */
@media (max-width: 480px) {
    .container {
        width: 100%;
        overflow: hidden; /* Ensures only one card is visible at a time */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Upper Row Wrapper */
    .upper-row-wrapper {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 100%;
        margin-bottom: 15px; /* Professional spacing */
    }

    /* Lower Row Wrapper */
    .lower-row-wrapper {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 100%;
    }

    /* Row Styling */
    .upper-row, .lower-row {
        display: flex;
        padding: 0;
        width: calc(100vw * 9); /* Ensures width fits multiple cards */
    }

    /* Professional Card Styling */
    .upper-row .card, .lower-row .card {
        flex-shrink: 0;
        width: 90vw; /* Slightly smaller than full width for better aesthetics */
        margin: 5px auto; /* Adds subtle spacing */
        text-align: center;
        box-sizing: border-box;
        padding: 20px;
        font-size: 16px;
        font-weight: 500;
        border-radius: 12px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        will-change: transform;
    }


    /* Lift & Straighten Effect on Hover */
    .upper-row .card:hover,
    .lower-row .card:hover {
        transform: scale(1.05) rotate(0deg); /* Subtle lift and straighten */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }
}
/* Animation for upper row moving to the left, then quickly reversing */
/* Upper row moves left continuously */
@keyframes moveUpperRow {
    0% {
        transform: translateX(0);
    }
    48% {
        transform: translateX(-50%);
    }
    50% {
        transform: translateX(-50%);
    }
    98% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(0);
    }
}

/* Lower row moves right continuously */
@keyframes moveLowerRow {
    0% {
        transform: translateX(0);
    }
    48% {
        transform: translateX(50%);
    }
    50% {
        transform: translateX(50%);
    }
    98% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(0);
    }
}

/* Apply the animations */
.upper-row {
    animation: moveUpperRow 20s linear infinite;
}

.lower-row {
    animation: moveLowerRow 20s linear infinite;
}






/* -----------------footer-------------------------- */

.footer {
  
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    width: 100%;
    font-size: 0.8rem;
    font-weight: 300;
    opacity: 0.8;
}

.footer p {
    margin: 0;
}

.footer .thanks {
    margin-left: auto;
    margin-right: 0;
}


@media (max-width: 480px) {

    .footer{
        font-size: 8px;
        margin-top: 50px;
        font-weight: bold;
        background-color: #000;
        
    }
}


/* ------------------------------------- */
@media (max-width: 1024px) {
    .shimmer-text {
        font-size: clamp(3rem, 4vw, 5rem); /* Adjusted for tablets */
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.4), 0 0 16px rgba(255, 255, 255, 0.2);
        animation: shimmer-wave 5s linear infinite; /* Slightly slower */
    }
}

@media (max-width: 768px) {
    .shimmer-text {
        font-size: clamp(4rem, 3.5vw, 6rem); /* Adjusted for small tablets & landscape phones */
        text-shadow: 0 0 6px rgba(255, 255, 255, 0.3), 0 0 12px rgba(255, 255, 255, 0.1);
        animation: shimmer-wave 6s linear infinite; /* Slower for better readability */
    }
}

@media (max-width: 480px) {
    .shimmer-text {
        font-size: clamp(2rem, 3vw, 3rem); /* Adjusted for mobile screens */
        text-shadow: 0 0 4px rgba(255, 255, 255, 0.2), 0 0 8px rgba(255, 255, 255, 0.1);
        animation: shimmer-wave 7s linear infinite; /* Even slower for smoothness */
    }

    .shimmer-text::after {
        opacity: 0.5; /* Reduce glow effect for small screens */
    }
}
