
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #e0e0e0; /* Light grey text */
    background-color: #1a1a1a; /* Dark background */
}

header {
    background-color: #2c3e50; /* Dark blue header */
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

nav a {
    text-decoration: none;
    color: #18bc9c; /* Cyan-like color for links */
}


/* Fullscreen Particle Effect */
#particles-js {
    position: fixed; /* Use absolute for a full-section effect */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Send to back */
}

.hero {
    text-align: center;
    padding: 50px 20px;
    position: relative; /* Added for positioning the canvas container */
    background: linear-gradient(45deg, #1a1a1a, #2c3e50);
    color: #ecf0f1;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
 background: linear-gradient(-45deg, #1a1a1a, #2c3e50, #34495e, #18bc9c);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}


@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Ensures that the canvas is behind the text */
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

article {
    background-color: #34495e; /* Dark article backgrounds */
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    color: #ecf0f1; /* Light text for articles */
    display: flex; /* Added display flex */
    flex-direction: column; /* Stack children vertically */
    justify-content: center; /* Center children vertically */
    align-items: center; /* Center children horizontally */
}

/* Styling for .btn class */
.btn {
    color: #18bc9c; /* Cyan-like color for the buttons */
    text-decoration: none; /* Removes underline from links */
    padding: 10px 15px; /* Adds padding for a button-like appearance */
    background-color: #2c3e50; /* Adds a background color */
    border-radius: 5px; /* Rounds the corners of the button */
    display: inline-block; /* Keeps the padding and allows setting width/height */
}

/* Hover effect for buttons */
.btn:hover {
    background-color: #34495e; /* Darkens the background on hover */
    color: white; /* Changes text color on hover for contrast */
    text-decoration: none; /* Continues to remove underline on hover */
    transform: scale(1.1) rotate(-5deg); /* Adds rotation and scaling on hover */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #2c3e50; /* Same as header */
    box-shadow: 0 -2px 4px rgba(0,0,0,0.3);
    color: #18bc9c; /* Cyan-like color for footer text */
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
}

/* Animation for Hero Text */
@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero h1, .hero p {
    animation: fadeInUp 1s ease-out;
}

/* Additional styles for articles */
article {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* Scale up articles on hover */
article:hover {
    transform: scale(1);
}
