.hero {
    text-align: center;
    background-color: #e0eafc;
    background-image: url('abstract-bg.jpg'); /* Add your abstract background image */
    background-size: cover;
    background-position: center;
    color: #333;
    padding: 60px 20px;
    margin-top: 80px; /* Adjust to the height of the navbar */
}

.hero-content {
    max-width: 800px;
    margin: auto;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ededed;
    /*color: #333;*/
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

main {
    padding: 0 0 30px; /* Adjusted padding */
}

.intro {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
    margin-top: 30px; /* Add margin-top to create space above the section */
}

.intro-left {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    margin-right: 20px; /* Add margin-right to create space between the image and the text */
    margin-top: 60px;
}

.intro-left img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.contact-details {
    font-size: 1em;
    color: #333;
    text-align: center;
    line-height: 1.4;
}

.intro-right {
    flex: 3;
    max-width: 800px;
    margin-top: 30px; /* Add margin-top to create space above the text */
}

.intro-right h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 10px;
}

.intro-right p {
    font-size: 1em;
    color: #333;
    margin-bottom: 10px;
}

.intro-right a {
    color: #005b96;
    text-decoration: none;
}

.intro-right a:hover {
    text-decoration: underline;
}

.latest {
    margin-bottom: 40px;
}

.latest h2 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
}

.latest .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjusted for smaller screens */
    gap: 20px;
}

.latest article {
    background: linear-gradient(135deg, #ffffff, #f5f9ff); /* clean, modern gradient */
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    color: #333;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Accent bar at the top of each card */
.latest article::before {
    content: "";
    display: block;
    height: 4px;
    background: #005b96; /* ETH brand blue */
    width: 100%;
}

.latest article img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.latest article:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.latest .content {
    padding: 20px;
}

.latest h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #005b96; /* ETH blue for titles */
}

.latest p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555; /* softer gray for body text */
}

.latest a {
    color: #005b96; /* link accent in ETH blue */
    text-decoration: none;
    font-weight: bold;
}

.latest a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .intro {
        flex-direction: column;
        align-items: center;
    }

    .intro-left {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .intro-right {
        margin-top: 0;
        text-align: center;
    }
}
