* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #1c1c1c; /* Dark background */
    color: #e0e0e0; /* Light text color for better contrast */
}

.hero {
    background: linear-gradient(135deg, #d32f2f, #b71c1c, #880e4f); /* Darker red gradient */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #8e24aa; /* Darker purple button */
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #6a1b9a; /* Even darker on hover */
}

section {
    padding: 50px;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#about {
    background-color: #ffffff; /* White background for About section */
    color: #333; /* Dark text color for contrast */
    border: 1px solid #e0e0e0; /* Optional: Add a slight border for separation */
}

#featured-projects {
    background-color: #333; /* Dark section background */
}

.project-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.project-card {
    background: #424242; /* Darker card background */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5); /* Darker shadow */
    max-width: 300px;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    width: 100%;
    border-radius: 10px;
}

.project-link {
    display: block;
    margin-top: 15px;
    text-decoration: none;
    color: #ff6f61; /* Darker link color */
    font-weight: bold;
}

.story-link {
    display: block;
    margin-top: 15px;
    text-decoration: none;
    color: #ff6f61; /* Darker link color */
    font-weight: bold;
}

.blog-posts {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.blog-post {
    background: #424242; /* Darker post background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    max-width: 300px;
}

.post-link {
    color: #ff8a65; /* Darker link color */
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    display: inline-block;
}

footer {
    background-color: #212121; /* Darker footer */
    color: white;
    padding: 20px 0;
    text-align: center;
}

.social-icons img {
    width: 30px;
    margin: 0 10px;
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.2);
}

.project-card, .blog-post {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.project-card.scrolled, .blog-post.scrolled {
    opacity: 1;
    transform: translateY(0);
}
