.highlight-on-hover:hover {
    background-color: rgb(159, 76, 90);
    transition: background-color 0.3s ease;
}

/* Projects Page Styles */
.projects-header {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
}

.projects-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem 2rem;
}

.project-card {
    background-color: rgba(159, 76, 90, 0.1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.project-tags {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.project-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: var(--background-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
    transform: translateY(-3px);
}

:root {
    --primary-color: rgb(159, 76, 90);
    --secondary-color: rgb(3, 3, 47);
    --background-color: rgb(3, 3, 47);
    --text-color: white;
    --hover-scale: 1.05;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
    scroll-behavior: smooth;
}

/* Header Section */
header {
    font-family: 'Times New Roman', Times, serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: transparent;
    width: 100%;
}

.logo h1 {
    white-space: nowrap;
    font-size: 35px;
    margin: 0;
}

nav {
    width: 100%;
    font-size: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    padding: 0px;
    margin: 0px;
}

nav ul li {
    transform: skew(-25deg);
    background-color: var(--primary-color);
    padding: 10px 30px;
    color: var(--secondary-color);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

nav ul li:hover {
    transform: translateY(-5px) skew(-30deg);
    box-shadow: 0px 8px 12px rgba(105, 103, 103, 0.274);
}

nav ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transform: skew(20deg);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -3px;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Social Media Section */
.social-media {
    position: absolute;
    right: 20px;
    top: 100px;
    display: flex;
    flex-direction: column;
}

.social-media a {
    margin-bottom: 10px;
}

.social-media a img {
    width: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-media a img:hover {
    transform: translateY(-5px);
    filter: brightness(1.3);
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    color: var(--text-color);
    padding: 2rem;
    background: url('your-image.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

.hero .image-placeholder {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    margin-right: 15px;
}

.hero .image-placeholder img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero .image-placeholder img:hover {
    transform: scale(1.1);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4);
}

.hero .intro-text {
    max-width: 500px;
}

.hero h2, .hero p {
    margin: 10px 0;
}

/* About Me & Skills Section */
.info {
    font-size: 22px;
    display: flex;
    justify-content: space-around;
    padding: 2rem;
    margin: 2rem 0;
}

.info .about, .info .skills {
    width: 45%;
    font-family: cursive;
}

.info h3 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    position: relative;
}

.info h3::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -3px;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.info h3:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Programming Languages Cloud Slider */
.languages-section {
    text-align: center;
    padding: 2rem;
    margin: 2rem 0;
    background-color: rgba(3, 3, 47, 0.7);
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    overflow: hidden;
}

.languages-title {
    margin-bottom: 2rem;
    font-family: cursive;
    color: var(--text-color);
}

.waterdrop-container {
    display: flex;
    gap: 5rem;
    height: 200px;
    position: relative;
    animation: slideLeft 30s infinite linear;
}

.waterdrop-card {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 0 20px rgba(159, 76, 90, 0.4);
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.waterdrop-card:nth-child(odd) {
    animation-delay: -1.5s;
}

.waterdrop-card:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), 0 0 30px rgba(159, 76, 90, 0.8);
    background: linear-gradient(45deg, #ff6b9d, #4ecdc4);
    z-index: 10;
}

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

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

/* Experience Section */
.experience {
    padding: 2rem;
    font-size: 18px;
    margin: 2rem 0;
}

.experience-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: cursive;
}

.experience-wrapper {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.experience-item {
    flex: 1 0 40%;
    background: rgba(159, 76, 90, 0.1);
    border: 1px solid rgba(159, 76, 90, 0.2);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.experience-item::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(159, 76, 90, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.experience-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(159, 76, 90, 0.15);
    border-color: var(--primary-color);
}

.experience-item:hover::after {
    opacity: 1;
}

.experience-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.experience-item p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.experience-item ul {
    margin-left: 0;
    padding-left: 1.5rem;
    position: relative;
    z-index: 2;
}

.experience-item li {
    margin-bottom: 0.8rem;
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Achievements Section */
.achievements {
    position: relative;
    padding: 2rem;
    overflow: hidden;
}

.achievement-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.achievement-slide {
    display: flex;
    min-width: 100%;
    gap: 2rem;
}

.achievement-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(159, 76, 90, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.achievement-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 12px 12px 0 0;
}

.achievement-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(159, 76, 90, 0.2);
    border-color: var(--primary-color);
}

.achievement-box img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.achievement-box:hover img {
    transform: scale(1.05);
}

.achievement-box p {
    color: var(--text-color);
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.achievement-box a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.slider-controls button {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 10px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    line-height: 15px;
    padding: 0;
}

.slider-controls button:hover {
    background-color: var(--secondary-color);
}

/* Contact Section */
.contact {
    padding: 1rem;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
}

.contact-container {
    text-align: center;
}

.contact h3 {
    margin-bottom: 1rem;
}

/* Fade-In Effect */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in;
}

.fade-in.visible {
    opacity: 1;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
    }

    .info {
        flex-direction: column;
        align-items: center;
    }

    .info .about, .info .skills {
        width: 100%;
        text-align: center;
    }
}