body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f9fc;
    color: #333;
}

/* Top Banner */
.top-banner {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    background: white;
    border-bottom: 1px solid #eee;
}

.top-banner nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
}




/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 380px; /* reduced from 450px */
    overflow: hidden;
}

/* Keep image contained and centered */
.hero-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(2px);
    z-index: 2;
}

/* Faint C++ overlay */
.hero::after {
    content: "std::thread worker; std::mutex m; for(auto& module : system){}";
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 14px;
    opacity: 0.15;
    color: #1a1a1a;
}
.hero-text {
    position: absolute;
    top: 40%;
    left: 10%;
    color: #222;
    padding: 20px 30px;
    border-radius: 12px;
    z-index: 4;

    /* Soft gradient behind text */
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.65),
        rgba(255, 255, 255, 0.35)
    );

    backdrop-filter: blur(4px);
}


.hero-text h1 {
    font-size: 48px;
    margin: 0;
}

.hero-text p {
    font-size: 20px;
}

/* Detail Blocks */
.details {
    display: flex;
    justify-content: space-around;
    padding: 60px 20px;
}

.detail-block {
    background: white;
    padding: 30px;
    width: 28%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
