body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: whitesmoke; /* Light background */
    color: #EAEAEA; /* Light text color */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    background-color: #1C1C1C; 
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    font-size: large;
}

nav ul li {
    margin: 0 15px;
    position: relative;
}

nav ul li a {
    color: #EAEAEA; /* Light text color */
    text-decoration: none;
    font-weight: 400;
    cursor: pointer;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: grey;
    border-radius: 5px;
}

.container {
    width: 100%;
    height: calc(100vh - 60px); /* Adjust for fixed header */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 60px; /* Margin for fixed header */
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 96.9%; /* Ensure slides take full width */
    max-width: 96.9%; /* Ensure slides do not exceed container width */
    height: 100%; /* Ensure slides take full height of container */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #1C1C1C; /* Dark background */
    color: #EAEAEA; /* Light text color */
    padding: 20px;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    margin: 0 auto; /* Center slides */
}

.home-slide {
    display: flex;
    justify-content: space-between;
    
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.text-container {
    max-width: 50%;
}

.portfolio-title {
    font-size: 2.5rem; /* Adjust font size */
    color: whitesmoke; /* Text color */
    margin: 0; /* Remove default margin */
}

.name-title {
    font-size: 3rem; /* Adjust font size */
    color: whitesmoke; /* Text color */
}

.subtitle {
    font-size: 1.5rem; /* Adjust font size */
    color: whitesmoke; /* Text color */
}

.image-container {
    text-align: center;
    width: 50%;
    max-width: 600px; /* Max width for large screens */
    margin: 0 auto; /* Center the image container */
}

.image-container img {
    width: 75%; /* Responsive width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 100px;
}

h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #EAEAEA;
}

.project {
    background-color: #54a6a8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

a {
    color: #EAEAEA;
    text-decoration: none;
}

a:hover {
    color: #FFF;
    text-decoration: underline;
}

nav ul li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px; /* Adjust position */
    top: 0;
    bottom: 0;
    width: 2px; /* Thickness of vertical line */
    background-color: whitesmoke; /* Color of vertical line */
}

.education-box {
    background: linear-gradient(145deg, #ffffff, #e2e2e2); /* Gradient background */
    border: 1px solid #ddd; /* Light border color */
    border-radius: 10px; /* Rounded corners */
    padding: 15px; /* Padding inside the box */
    margin-bottom: 20px; /* Space between boxes */
    max-width: 600px; /* Maximum width of the boxes */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
    width: 100%; /* Full width of the container */
    text-align: center; /* Center text inside the box */
    color: #000; /* Black text color */
}

.education-box:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.boxed {
    background-color: #1C1C1C; /* Dark background color */
    border: 2px solid #ddd; /* Light border color */
    border-radius: 15px; /* Rounded corners */
    padding: 20px; /* Padding inside the box */
    margin: 20px 0; /* Space around the box */
    text-align: center; /* Center text inside the box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

#about {
    padding: 20px;
    background-color: #1C1C1C; /* Dark background */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 800px; /* Maximum width for readability */
    margin: 0 auto; /* Center section horizontally */
    line-height: 1.6; /* Line spacing for readability */
}

#about p {
    font-size: 1.2rem; /* Increase font size */
    color: whitesmoke; /* Light text color */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}



#contact {
    padding: 20px;
    background-color: #1C1C1C; /* Dark background for contrast */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    max-width: 800px; /* Maximum width for readability */
    margin: 0 auto; /* Center the section horizontally */
    text-align: center; /* Center text inside the section */
    color: whitesmoke; /* Light text color */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition effects */
}

#contact:hover {
    transform: translateY(-10px); /* Slight lift effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.contact-boxes {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between boxes */
}

.contact-box {
    background: linear-gradient(145deg, #ffffff, #e2e2e2); /* Gradient background for a modern look */
    border: 1px solid #ddd; /* Light border color */
    border-radius: 10px; /* Rounded corners */
    padding: 15px; /* Padding inside the box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for a 3D effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition effects */
    color: #000; /* Black text color */
}

.contact-box:hover {
    transform: translateY(-5px); /* Slight lift effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.contact-link {
    color: black; /* Light text color */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Smooth color transition */
}

.contact-link:hover {
    color: black; /* Highlight color on hover */
    text-decoration: underline; /* Underline text on hover */
}

#contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out; /* Apply animation */
}
