* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: url('genesis-photos/young-man-engineer-making-program-analyses.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

header {
    background-color: rgba(77, 85, 204, 0.95);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: white;
}

.logo h3 {
    font-family: "Playwrite FR Moderne", cursive;
    font-optical-sizing: auto;
    font-weight: 700; /* Changed from 400 to 700 for bold */
    font-style: normal;
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: white; /* Changed from #7A73D1 to white for better visibility */
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s ease;
}

nav ul li a:hover {
    color: #7A73D1; /* Changed hover color to match your palette */
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.container {
    max-width: 1000px;
    width: 100%;
    padding: 40px;
    background-color: rgba(77, 85, 204, 0.85); /* Slightly more transparent */
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    backdrop-filter: blur(5px); /* Added for glass effect */
}

.container h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Added for better readability */
}

.about-text {
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Added for responsiveness */
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(240, 240, 240, 0.9); /* Slightly transparent */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.facebook:hover { background-color: #3b5998; color: white; }
.twitter:hover { background-color: #1da1f2; color: white; }
.instagram:hover { background-color: #e1306c; color: white; }
.linkedin:hover { background-color: #0077b5; color: white; }

/* Footer */
footer {
    background-color: rgba(77, 85, 204, 0.95);
    color: white;
    padding: 30px 0 20px;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Added for responsiveness */
}

.footer-section {
    min-width: 200px; /* Added minimum width */
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px; /* Increased spacing */
    display: inline-block;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 2px;
    background-color: #7A73D1;
}

.footer-section p {
    font-size: 1rem;
    color: #e0e0e0; /* Lighter color for better readability */
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e0e0e0; /* Lighter color for better readability */
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #7A73D1;
    transform: translateX(5px);
}

.copyright {
    font-size: 0.9rem;
    color: #bbb; /* Lighter color for better readability */
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 15px;
        justify-content: center;
    }

    nav ul li {
        margin: 0 15px;
    }

    .container {
        padding: 30px 20px;
    }

    .container h1 {
        font-size: 2rem;
    }

    .about-text {
        font-size: 1.1rem;
    }

    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    nav ul li {
        margin: 0 10px;
    }

    .container h1 {
        font-size: 1.8rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .footer-section {
        min-width: 150px;
    }
}