/* General Reset */
body, ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
}

/* Keep menu fixed at the top */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    padding: 15px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Prevent content from hiding under fixed header */
body {
    padding-top: 80px;
}

/* Align logo and menu properly */
.logo {
    display: flex;
    align-items: center;
}

/* Fix color of the logo hyperlink */
.logo a {
    color: black !important;
    text-decoration: none !important;
}

/* Hover effect for logo */
.logo a:hover {
    color: #0056b3 !important;
    text-decoration: underline !important;
}

/* Navigation */
nav {
    margin-right: 5%;
    max-width: 95%;
}

nav ul {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

nav ul li {
    list-style: none;
    position: relative;
}

/* Menu links default style */
nav ul li a {
    color: black !important;
    text-decoration: none;
    font-size: 20px;
    font-weight: normal;
    padding: 8px 10px;
    transition: color 0.3s ease-in-out;
    white-space: nowrap;
}

/* Add vertical separator between menu items */
nav ul li:not(:last-child)::after {
    content: "|";
    color: gray;
    margin-left: 10px;
    font-size: 18px;
}

/* Hover effect */
nav ul li a:hover {
    color: #0056b3 !important;
    text-decoration: underline !important;
}

/* Profile Section */
.profile {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 100px auto 60px;
    text-align: left;
    gap: 30px;
}

.profile img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about {
    max-width: 600px;
    text-align: left;
}

/* Improve text readability */
.about p {
    margin-bottom: 15px;
}

/* Links Section */
.links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 50px 0;
}

.circle {
    display: flex;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s;
}

.circle:nth-child(1) { background-color: #004d40; color: white; }
.circle:nth-child(2) { background-color: #00796b; color: white; }
.circle:nth-child(3) { background-color: #4db6ac; color: black; }
.circle:nth-child(4) { background-color: #b0bec5; color: black; }

.circle:hover {
    transform: scale(1.1);
}

/* Consultancy Page */
.consultancy {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
}

.service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.service img {
    width: 45%;
    height: auto;
    border-radius: 10px;
}

.service:nth-child(even) {
    flex-direction: row-reverse;
}

/* Footer */
footer {
    background-color: white;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #ddd;
}

/* Ensure LinkedIn icon is properly sized */
.linkedin-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.linkedin-icon {
    width: 24px !important;
    height: 24px !important;
    margin-right: 8px;
    vertical-align: middle;
}

/* Make all images responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile img {
        width: 80%;
        max-width: 300px;
        margin-right: 0;
    }

    .links {
        flex-direction: column;
        gap: 15px;
    }

    .circle {
        width: 100px;
        height: 100px;
        font-size: 16px;
    }

    .service {
        flex-direction: column;
        text-align: center;
    }

    .service img {
        width: 100%;
        margin-bottom: 15px;
    }
}
