body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #ffffff;
            color: #030202;
            transition: background-color 0.3s, color 0.3s;
        }

        .profile-header {
            background: linear-gradient(135deg, #667eea, #764ba2);
            background-size: cover;
            background-position: center;
            padding: 20px;
            text-align: center;
            color: white;
            padding: 5rem 2rem;
            border-radius: 10px;
            margin: 2rem;
        }

        .profile-header img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 3px solid white;
            margin-top: 10px;
        }

        .profile-header h1 {
            margin: 10px 0 5px;
            font-size: 2rem;
        }

        .profile-header p {
            margin: 0;
            font-size: 1rem;
            color: #e8e8e8;
        }

        .content {
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #ffffff;
            border-radius: 5px;
            box-shadow: 0 4px 10px #764ba2;
        }

        .section {
            margin-bottom: 20px;
        }

        .section h2 {
            margin-bottom: 10px;
            font-size: 1.5rem;
            border-bottom: 2px solid #266fd5;
            padding-bottom: 5px;
        }

        .experience-item, .education-item, .volunteer-item {
            margin-bottom: 15px;
        }

        .experience-item h3, .education-item h3, .volunteer-item h3 {
            margin: 5px 0;
            font-size: 1.2rem;
            color: transparent; /* Makes the text color transparent so the gradient can show */
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text; /* Clips the background to the text */
            background-clip: text; /* Clips the background to the text */
            
        }

        .experience-item p, .education-item p, .volunteer-item p {
            margin: 2px 0;
            font-size: 0.9rem;
            color: #000000;
        }

        .memories {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 20px;
        }

        .memory {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            background-color: #474444;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
        }

        .memory img {
            width: 100%;
            height: 150px;
            display: block;
            border-radius: 10px;
            object-fit: cover; /* Ensures the image fills the space without distortion */
            transition: transform 0.3s;
           
        }

        .memory:hover img {
            transform: scale(1.05);
            filter: brightness(70%);
        }

        .memory .description {
            position: absolute;
            bottom: 0;
            left: 0;
            background: rgba(0, 0, 0, 0.6);
            color: white;
            width: 100%;
            text-align: center;
            padding: 10px;
            font-size: 0.8rem;
            opacity: 0;
            transition: opacity 0.3s;
            overflow: hidden; /* Ensures text doesn't spill outside the container */
            text-overflow: ellipsis; /* Adds "..." if text overflows */
            white-space: normal; /* Prevents text from wrapping to the next line */
            box-sizing: border-box; /* Ensures padding is included within width */
        }

        .memory:hover .description {
            opacity: 1;
        }

        
        /* Button to toggle light/dark mode */
        .theme-toggle-button {
            position: absolute;
            top: 20px;  /* Keep it at the top */
            right: 20px; /* Align to the right */
            background: rgba(255, 255, 255, 0.2); /* Glass-like transparent background */
            backdrop-filter: blur(10px); /* Blurry glass effect */
            border: 2px solid rgba(255, 255, 255, 0.5); /* Semi-transparent border */
            border-radius: 50px; /* Circular shape */
            padding: 10px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            transition: all 0.3s ease-in-out;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Depth effect */
        }

        .theme-toggle-button i {
            font-size: 1.5rem;
            color: white;
        }

        /* Light Mode Button Styling */
        body.dark .theme-toggle-button {
            border-color: #f1c40f; /* Yellow border */
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        body.dark .theme-toggle-button i {
            color: #f1c40f; /* Yellow sun icon */
        }

        /* Dark Mode Button Styling */
        .theme-toggle-button {
            border-color: #fff;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        }

        .theme-toggle-button i {
            color: #fff; /* White moon icon */
        }

        .theme-toggle-button:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }







/* Navigation Styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}
nav ul li {
    display: inline;
}
/* Navigation Styles */
/* Navigation Styles */
nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: transform 0.3s ease, color 0.3s ease;
}

nav a:hover {
    color: transparent; /* Makes the text color transparent so the gradient can show */
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text; /* Clips the background to the text */
    background-clip: text; /* Clips the background to the text */
    transform: scale(1.4); /* Expands the text */
    
     
}


.home-icon {
    font-size: 1.5rem;
}


/* Hero Section */
.hero {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 10px;
    margin: 2rem;
}
.hero h1 {
    margin-bottom: 1rem;
}
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #333;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.btn:hover {
     background: #cebae6;
}

/* Highlights Section */
.highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}
.highlight {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}


/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    transition: color 0.3s;
}

.theme-toggle:hover {
    color: #764ba2;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #333;
    color: #f9f9f9;
}

body.dark-mode nav {
    background: #222;
}



body.dark-mode nav a {
    color: #f9f9f9;
}

body.dark-mode nav a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
}

body.dark-mode .theme-toggle {
    color: #f9f9f9;
}


* {box-sizing: border-box;}

body.dark {background-color: #292c35;} /* #9b59b6 */

body.dark h1, body.dark .support a {color: #fff;}

body.dark .highlight {background-color: #333;}
body.dark .highlight h2 {color: #fff;}
body.dark .highlight p {color: #f2eaea;}

body.dark .btn {background-color: #fdfbff; color: #302d2d;}

body.dark .hero {background: linear-gradient(135deg, #354385, #412a58);}

body.dark nav {background: #333;}
body.dark nav a {color: #fff;}
body.dark nav a:hover {
    color: transparent; /* Makes the text color transparent so the gradient can show */
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text; /* Clips the background to the text */
    background-clip: text; /* Clips the background to the text */
    transform: scale(1.4); /* Expands the text */
}

body.dark .logo {color: #fff;}

body.dark p {color: #f2eaea;}



/* Light Theme */
        body.dark {
            background-color: #3c3a3a;
            color: #0b0b0b;
        }

        body.dark .profile-header {
            color: #ffffff;
        }

        body.dark .content {
            background-color: #181616;
            color: #ffffff;
        }

        body.dark .section h2 {
            
            color: transparent; /* Makes the text color transparent so the gradient can show */
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text; /* Clips the background to the text */
            background-clip: text; /* Clips the background to the text */
        }

        body.dark .experience-item h3, body.dark .education-item h3, body.dark .volunteer-item h3 {
            color: transparent; /* Makes the text color transparent so the gradient can show */
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text; /* Clips the background to the text */
            background-clip: text; /* Clips the background to the text */
        }

        body.dark .experience-item p, body.dark .education-item p, body.dark .volunteer-item p {
            color: #ffffff;
        }




/* Toggle Switch */
.checkbox {
  opacity: 0;
  position: absolute;
}

.checkbox-label {
  background: linear-gradient(135deg, #667eea, #764ba2);
  width: 50px;
  height: 26px;
  border-radius: 50px;
  position: relative;
  padding: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fa-moon {color: #f1c40f;}

.fa-sun {color: #f39c12;}

.checkbox-label .ball {
  background-color: #fff;
  width: 22px;
  height: 22px;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  transition: transform 0.2s linear;
}

.checkbox:checked + .checkbox-label .ball {
  transform: translateX(24px);
}

















        