* {
    margin: 0;
    padding: 0; 
    box-sizing: border-box;
}

 body {
    font-family: 'Roboto', sans-serif;
    background-color: #f1f2f6; /* Light grayish background */
    
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #2c3e50; /* Darker gray text for good contrast */
}

.org-structure {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
}

.node {
    background-color: #fff;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    margin: 20px;
    width: 250px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.node:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.node h2, .node h3, .node h4 {
    margin-top: 10px;
    color: #34495e; /* Darker gray for headings */
    font-weight: 700;
}

.node .title {
    color: #000000; /* Subtle gray for the role title */
    font-size: 16px;
    margin-bottom: 10px;
}

.node .role {
    font-size: 14px;
    color: #000000; /* Even lighter gray for role description */
    margin-top: 5px;
}

.sub-level {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.sub-level .node {
    width: 230px;
}

.ceo {
    background-color: #e67e22; /* Subtle teal color for CEO */
    color: white;
    margin-top: 40px; /* Adds extra space before the CEO node */
}

.vp {
    background-color: #2980b9; /* Blue for VP */
    color: white;
}

.manager {
    background-color: #27ae60; /* Green for Manager */
    color: white;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .sub-level {
        flex-direction: column;
    }
}
