/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #0c1120;
    background-color: #dfe0e0;
    padding: 20px;
}

.container {
    margin: auto;
    text-align: center;
}

.container-footer {
    margin: auto;
    text-align: center;
    width: initial;
}

footer {
    background-color: #2c4d90;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    padding: 0px 10px;
}

.button-hyperlink {
    color: white;
    text-decoration: none;
}

.button-hyperlink:hover {
    color: #3282e0;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    background: #f4f4f4;
    border-radius: 10px;
    margin: 20px 0;
    width: 100%;
    opacity: 0.95;
}

.hero img {
    max-width: 300px;
    border-radius: 10px;
}

.hero-text {
    max-width: 500px;
}

/* Reverse Hero Section */
.reverse-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    background: #f4f4f4;
    border-radius: 10px;
    margin: 20px 0;
    width: 100%;
    opacity: 0.95;
    flex-direction: row-reverse !important; /* Ensure the image stays on the right */
}

.reverse-hero img {
    max-width: 300px;
    border-radius: 10px;
}

.reverse-hero-text {
    max-width: 500px;
}

/* Responsive Grid */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 800px;
    margin: auto;
}

.flex-item {
    flex: 1 1 300px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #2c4d90;
    padding: 15px;
    height: 60px;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px; /* Increased gap for more separation */
}

.navbar ul li {
    display: inline;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* Responsive Typography */
h1 {
    font-size: 2rem;
    text-align: center;
}

p {
    font-size: 1rem;
    text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-details {
        flex-direction: column;
        text-align: center;
    }

    .project-description, .project-stats {
        width: 100%;
        text-align: center;
    }
}

/* Media Queries */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    p {
        font-size: 0.9rem;
    }
}
