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

/* Body Styling */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #1c1e21;
    /* Dark gray for text */
    background-color: #f0f2f5;
    /* Light gray background */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Header Styling */
header {
    background: #1877f2;
    /* Facebook blue */
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.5s ease-in-out;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    /* White for links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: #dfe3ee;
    /* Light gray-blue for hover */
    transform: scale(1.1);
}

/* Main Section Styling */
main {
    padding: 2rem;
    text-align: center;
    animation: slideIn 1.5s ease-in-out;
}

main h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1877f2;
    /* Facebook blue */
    animation: fadeIn 2s ease-in-out;
}

main img {
    border-radius: 50%;
    margin: 1rem 0;
    border: 5px solid #1877f2;
    /* Facebook blue */
    transition: transform 0.5s ease;
}

main img:hover {
    transform: rotate(10deg) scale(1.1);
}

main p {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: #606770;
    /* Medium gray for text */
    animation: fadeIn 2s ease-in-out;
}

/* Card Styling */
.card {
    background: #fff;
    /* White background for cards */
    border-radius: 10px;
    /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    padding: 1.5rem;
    /* Padding inside the card */
    margin: 1rem auto;
    /* Space between cards */
    max-width: 600px;
    /* Limit the width of the card */
    text-align: left;
    /* Align text to the left */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth hover effect */
}

.card:hover {
    transform: translateY(-5px);
    /* Slight lift on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Stronger shadow on hover */
}

.card img {
    display: block;
    margin: 0 auto 1rem;
    /* Center the image and add space below */
    border-radius: 50%;
    /* Circular image */
    border: 3px solid #1877f2;
    /* Facebook blue border */
}

.card h3 {
    color: #1877f2;
    /* Facebook blue for headings */
    margin-bottom: 1rem;
}

.card ul {
    list-style: none;
    padding: 0;
}

.card ul li {
    margin-bottom: 0.5rem;
    color: #606770;
    /* Medium gray for text */
}

/* Footer Styling */
footer {
    background: #1877f2;
    /* Facebook blue */
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.5s ease-in-out;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Button Styling */
button {
    background: #1877f2;
    /* Facebook blue */
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

button:hover {
    background: #145dbf;
    /* Darker blue for hover */
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    main h2 {
        font-size: 1.5rem;
    }

    main p {
        font-size: 1rem;
    }
}