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

body {
    font-family: Arial, sans-serif;
    color: #333;
    background: #f5f5f5; /* Light background for contrast */
}

/* Navbar Styling */
nav {
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Blur effect */
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px; /* Rounded corners */
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

nav ul li a {
    color: #333; /* Dark text for better contrast on light background */
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.1); /* Light background on hover */
    transform: scale(1.1);
}

/* Hero Section Styling */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: linear-gradient(135deg, #4b0082, #9400d3, #007acc, #00ff00, #ffd700, #ff7f00, #ff0000); /* Subdued rainbow gradient */
    background-size: 300%; /* Expand background for a smoother transition */
    animation: gradientShift 15s ease infinite; /* Animate gradient */
    color: white;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-in-out forwards;
    opacity: 0;
    backdrop-filter: blur(10px); /* Blur effect for hero section */
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero .name {
    color: #ffdd57;
    background: linear-gradient(to right, #ffdd57, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorShift 5s infinite alternate ease-in-out;
}

.hero .hero-description {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero .highlight {
    color: #ffd700;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: bold;
}

.hero-button {
    text-decoration: none;
    color: #333;
    background-color: #ffd700;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s;
}

.hero-button:hover {
    background-color: #ffcc00; /* Gold on hover */
    transform: scale(1.1);
}

/* Section Styling */
.section {
    padding: 3rem;
    margin: 2rem auto;
    max-width: 800px;
    text-align: center;
    color: #333; /* Default text color */
    background: rgba(255, 255, 255, 0.9); /* Slightly more opaque background for sections */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}