/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navigation Bar */
.navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif;
    border-bottom: 4px solid black;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 10px; /* Space between logo and links */
}

.navbar-content {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Divider line */
.divider {
    width: 100%;
    max-width: 900px;
    height: 4px;
    background-color: black;
    margin: 20px 0;
}

/* Nav link styling */
.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #007acc;
    border-bottom: 2px solid #007acc;
}

/* Logo */
.logo {
    max-width: 80px;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-link {
        font-size: 0.8rem;
    }
}
/* Logo */
.logo {
    max-width: 80px;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-link {
        font-size: 0.8rem;
    }
}
.logo {
    max-width: 80px;
    height: auto;
}

header {
    text-align: center;
    padding: 20px 0;
}

.logo img {
    max-width: 60px;
}

.logo h1 {
    font-size: 2rem;
    margin-top: 15px;
}

.divider {
    height: 4px;
    background-color: black;
    margin: 20px 0;
}

.welcome, .work-showcase {
    text-align: center;
    margin: 40px 0; /* Adjust this value for more or less space */
    margin-bottom: 20px; /* Increase this value as needed */
    font-family: 'Poppins', sans-serif;
}

.welcome h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.work-showcase h2 {
    font-size: 2.8rem;
    margin-top: px;
    font-family: 'Poppins', sans-serif;
}

.work-grid {
    display: flex;
    justify-content: center; /* Center-aligns single item */
    gap: 20px;
}

.work-item {
    text-align: center;
    text-decoration: none;
    color: black;
    margin-top: 30px;
    transition: transform 0.3s ease;
    width: 828px; /* Controls size of each work item */
    height: 350px; /* Set a consistent height for all work items */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.work-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures image scales without distortion */
    /* border: 4px solid black; */
    background-color: rgb(255, 255, 255);
}

.project-title {
    font-size: 1.6rem; /* Increase font size as needed */
    font-weight: bold; /* Makes the text bold */
    text-align: center; /* Center-aligns the text under the image */
    margin-top: 0px; /* Adds space between the image and the text */
}

.work-item:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

body {
    font-family: 'Poppins', sans-serif;
    max-width: 900px;
    margin: auto;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease; /* Smooth fade-out transition */
}

/* Invisible starting state for initial load */

/* Fade-In effect */
body.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease; /* Controls fade-out timing */
}

/* Fade-Out effect for navigation */
body.fade-out {
    opacity: 0; /* Invisible */
}

.welcome-text {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
    max-width: 648px;
    margin: 0 auto;
    padding: 20px;
}

/* Footer Section */
.footer {
    background-color: #ffffff;
    padding: 0px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #007acc;
}

.social-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.footer-divider {
    width: 2px;
    height: 60px;
    background-color: #333;
}

.footer-hosting {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.content-divider {
    height: 4px; /* Match the thickness of the navbar line */
    background-color: black; /* Match the color of the navbar line */
    margin: 40px 0 20px 0; /* Add extra space above */
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 25px;
    z-index: 1001;
}

.hamburger-menu div {
    width: 100%;
    height: 3px;
    background-color: #333;
}

/* Side menu styling */
#side-menu {
    position: fixed;
    right: -250px;
    top: 0;
    height: 100%;
    width: 200px;
    background-color: #ffffff;
    box-shadow: -4px 0 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 1000;
}

#side-menu .nav-link {
    font-size: 1.2rem;
    margin: 15px 0;
    text-decoration: none;
    color: #333;
}

/* Show hamburger on smaller screens */
@media (max-width: 768px) {
    .navbar-left {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .nav-links {
        display: none; /* Hide top navigation links */
    }

    .hamburger-menu {
        display: flex;
    }
}

/* Active state for side menu */
#side-menu.active {
    right: 0;
}





