/* Basic Reset & Body Styling */
body {
    font-family: Arial, Helvetica, sans-serif; /* Or choose another professional font */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a; /* Light gray background */
    color: #e0e0e0; /* Dark gray text */
    position: relative; /* Needed for absolute positioning of the photo */
    padding-top: 20px; /* Add padding to prevent content starting right at the top */
}

.container {
    max-width: 900px; /* Max width of content */
    margin: 20px auto; /* Center the container */
    padding: 30px;
    background-color: #2c2c2c; /* White background for content */
    border: 1px solid #444; /* Subtle shadow */
    border-radius: 8px; /* Slightly rounded corners */
}

/* Profile Photo Styling */
#profile-photo {
    position: absolute;
    top: 20px; /* Distance from top */
    right: 90px; /* Distance from right */
    width: 120px; /* Adjust size as needed */
    height: 120px; /* Adjust size as needed */
    border-radius: 50%; /* Makes the photo circular */
    object-fit: cover; /* Prevents image distortion */
    border: 3px solid #444; /* Optional white border */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4); /* Subtle shadow */
    z-index: 10; /* Ensure photo stays on top if needed */
}

/* Header Styling */
header {
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #444; /* Separator line */
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Vertically align items */
}

.header-content {
    flex-grow: 1; /* Allow content to take available space */
}

header h1 {
    margin: 0 0 5px 0;
    color: #88ceff; /* A slightly darker blue */
    font-size: 2.5em; /* Larger name */
}

header .subtitle {
    margin: 0;
    font-style: italic;
    color: #a0a0a0;
}

/* LinkedIn Icon Styling */
.social-icon {
    font-size: 2em; /* Icon size */
    color: #5dade2; /* LinkedIn blue */
    text-decoration: none;
    margin-right: 15px; /* Space between icon and name */
    transition: color 0.3s ease; /* Smooth hover effect */
}

.social-icon:hover {
    color: #85c1e9; /* Darker blue on hover */
}


/* Section Styling */
section {
    margin-bottom: 30px;
}

section h2 {
    color: #88ceff;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* List Styling (Education, Experience, Publications) */
section ul {
    list-style: none; /* Remove default bullets */
    padding-left: 0;
}

section li {
    margin-bottom: 15px; /* Space between list items */
    padding-left: 15px; /* Indent content slightly */
    border-left: 3px solid #88ceff; /* Add a visual indicator line */
}

section li strong {
    display: block; /* Put title/degree on its own line */
    margin-bottom: 3px;
}

section li em { /* Styling for institution/journal */
    color: #a0a0a0;
    display: block; /* Ensure it's on a new line if needed */
    margin-bottom: 3px;
}

/* Link Styling */
a {
    color: #88ceff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Visitor Counter Info */


#visitor-count {
    margin: 0;          /* Remove default paragraph margin */
    margin-bottom: 10px;/* Add some space below the counter, above the copyright */
    padding: 0;
}


/* Footer Styling */
footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9em;
    color: #a0a0a0;
}

/* Responsive Adjustments (Optional but Recommended) */
@media (max-width: 768px) {
    #profile-photo {
        position: static; /* Remove absolute positioning on small screens */
        display: block;
        margin: 0 auto 20px auto; /* Center the photo */
        width: 100px;
        height: 100px;
    }

    header {
        text-align: center; /* Center header text */
        flex-direction: column; /* Stack icon and text */
    }

     .social-icon {
         margin-bottom: 10px; /* Space below icon */
         margin-right: 0; /* Remove side margin */
     }

    .container {
        padding: 15px;
    }

    header h1 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
     header h1 {
        font-size: 1.8em;
    }
     #profile-photo {
         width: 80px;
         height: 80px;
     }
}