/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

ul {
    list-style-type: disc; /* Ensures bullets are used for list items */
    margin: 0;
    padding: 0 0 0 20px; /* Add padding to indent the list */
}

li {
    margin-bottom: 10px; /* Add space between list items */
}

/* Optional: style list under the parent list item */
li ul {
    list-style-type: disc; /* Ensures bullets are used */
    margin: 0;
    padding: 0 0 0 20px; /* Indent nested lists */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

nav ul li {
    margin: 0 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #f3c832; /* Yellowish color for hover effect */
}

/* About Me Section */
#about {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('background.jpg'); /* Replace with your background image path */
    background-size: cover;
    background-position: center top;
    height: 100vh;
    color: white;
    padding: 20px;
}

.about-container {
    display: flex;
    align-items: center;
    width: 80%;
    max-width: 1200px;
    margin: auto;
}

.profile-photo {
    flex: 1;
    margin-right: 20px;
}

.profile-photo img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid white;
}

.about-content {
    flex: 2;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.vertical-line {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: white;
    margin-right: 20px;
}

.profile-info {
    margin-left: 70px;
}

.profile-info h1 {
    margin: 0;
    font-size: 36px;
}

.profile-info h2 {
    margin: 10px 0;
    font-size: 24px;
}

.profile-info p {
    margin: 15px 0;
    font-size: 18px;
}

/* Social Links Styles */
.social-links {
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    margin-right: 10px;
}

.social-links img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
}

/* Sections Styles */
section {
    padding: 40px 20px;
}

h2 {
    font-size: 30px; /* Increase the heading size */
    font-weight: bold; /* Make the heading bold */
    letter-spacing: 0.5px; /* Add space between letters */
    border-bottom: 2px solid #f3c832; /* Yellowish color for section headings */
    padding-bottom: 10px;
    margin-bottom: 20px;
}


section {
    padding-left: 30px; /* Increase this value to push content further from the left */
}

/* Publications Section */
#publications ul {
    list-style: none;
    padding: 0;
}

#publications li {
    margin-bottom: 15px;
}

/* Projects Section */
#projects ul {
    list-style: none;
    padding: 0;
}

#projects li {
    margin-bottom: 15px;
}
#projects li ul {
    list-style-type: disc; /* Ensures bullets are used */
    margin: 0;
    padding: 0 0 0 20px; /* Indent nested lists */
}

 #projects li ul li {
            margin: 0; /* Remove space between nested list items */
            padding: 0; /* Remove padding for nested list items */
        }


/* Experience Section */
#experience ul {
    list-style: none;
    padding: 0;
    margin-left: 0; /* Removes default left margin */
}

#experience li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    position: relative;
}

#experience li ul {
    list-style-type: none; /* Removes default bullets */
    margin: 0;
    padding: 0 0 0 20px; /* Indents nested lists */
}

#experience li ul li {
    position: relative;
    margin: 0;
    padding: 0 0 0 20px; /* Indents text to make space for the arrow */
}

#experience li ul li:before {
    content: "\2192"; /* Unicode for a right arrow (→) */
    position: absolute;
    left: 0; /* Aligns the arrow to the left of the text */
    top: 0;
    font-size: 16px; /* Adjust size as needed */
    color: #000; /* Change color to match your design */
}




.experience-logo {
    position: absolute;
    left: 20px; /* Adjust position of logo */
}

/* Specific logo sizes */

.kna-logo {
    width: 140px; /* Adjust as needed */
    height: 140px;
    left: 25px;
}

.tu-logo {
    width: 100px; /* Adjust as needed */
    height: 120px;
    left: 30px;
}

.tedx-logo {
    width: 140px; /* TEDx logo with specific size */
    height: 45px;
}

.eh-logo {
    width: 100px;
    height: 120px;
    left: 40px;
}

.ec-logo {
    width: 130px;
    height: 130px;
    left: 35px;
}

/* Vertical line before content */
.experience-content {
    margin-left: 190px; /* Ensure content starts 150px from the left of the page */
    flex: 1;
    position: relative;
    padding-left: 30px; /* Add padding to separate content from the vertical line */
}

.experience-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: black; /* Change to black color for the vertical line */
}

#experience div {
    line-height: 1.5; /* Improve readability */
}

#experience div strong {
    display: block;
    font-size: 1.2em;
}

#experience div p {
    margin: 0;
    font-size: 1em;
    color: #666;
}



/* Photos Section */
#photos .photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#photos img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* Navigation Text Spacing */
.nav-link {
    padding: 10px 20px;
}

/* Spacing Adjustment */
.profile-info p, .experience-logo {
    margin: 15px 0;
}

.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.photo-item {
    flex: 1 1 400px;
    max-width: 400px;
    text-align: center;
    margin-bottom: 10px;
    margin-right: 20px;
}

.photo-item img {
    width: 400px !important;
    height: 270px !important;
    object-fit: cover;
    display: block;
    margin: 20px;
    border-radius: 8px;
}

/* Footer (if needed) */
footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: white;
}
