/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom styles for index.php */
.home-section {
    background-color: #e8efef; /* Light blueish background */
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 50px;
}

.home-content {
    flex-basis: 50%;
    padding: 0 20px;
    text-align: center;
}

.dark-blue{
    color: #5271ff;
}

.home-content h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.home-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.home-image {
    flex-basis: 50%;
}

.home-image img {
    max-width: 100%;
    height: auto;
    float: right;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8); /* Soft shadow */
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgb(44, 11, 187);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-top: 10px;
    padding: 15px;
}

.contact-button:hover {
    background-color: rgb(32, 9, 108); /* Darker background color on hover */
}


/* Additional styles for contact.php */
/* body {
    background-color: #AFA8E0; /* Match the background color of about.php */


.container {
    text-align: center;
    margin-top: 50px; /* Adjust top margin for better centering */
}


form {
    width: 70%; /* Set the form width to 70% by default */
    margin: 30px auto; /* Center the form */
    background-color: #dee4f3; /* Light blueish background */
    padding: 20px;
    border-radius: 10px;
}

form div {
    margin-top: 20px; /* Add spacing between form elements */
}

label {
    display: block; /* Display labels as block elements for better spacing */
}

input[type="text"],
textarea {
    width: 100%; /* Set input and textarea width to 100% */
    padding: 10px; /* Add padding for better appearance */
    border-radius: 5px;
    border: 1px solid #ccc; /* Add border for input elements */
    margin:5px;
}

textarea {
    height: 150px; /* Set textarea height */
    resize: vertical; /* Allow vertical resizing */
}

#submitBtn{
    padding:10px;
    font-weight: bold;
    font-size: 15px;
}

.error-message {
    color: red; /* Display error message in red */
    font-size: 14px;
    margin-top: -10px; /* Adjust margin to keep consistent spacing */
}

.success-message {
    color: green; /* Display success message in green */
    font-size: 18px;
    margin-bottom: 20px; /* Add spacing below success message */
}

.required-sign {
    color: red;
}

/* Additional styles for resume.php */
.resume-image-container {
    text-align: center;
    margin-top: 20px;
    position: relative;
    display: inline-block; /* Added */
}

.resume-image {
    width: 150px; /* Limit maximum width to 400px */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
    transition: transform 0.3s, filter 0.3s;
}

.resume-image:hover {
    margin: 10px;
    width: 35vw;
    transform: scale(1.05);
    filter: brightness(0.7); /* Darker overlay */
}

.resume-image-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7); /* Darker background */
    color: white; /* Text color */
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s; /* Smooth transition */
}

.resume-image-container:hover .resume-image-info {
    opacity: 1; /* Show on hover */
}

/* Base styles */
body {
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    background-color: rgb(232, 237, 245);;
    color: #000000;
}

.container {
    text-align: center;
    margin-top: 50px;
}

h1 {
    font-size: 40px; 
    font-weight: bold;
    margin-bottom: 30px;
}
.blueshade1{
    background-color: rgb(221, 228, 240);
}

.blueshade2{
    background-color: rgb(237, 240, 245);
}


.about-container {
    display: flex;
}
.about-items{
    background-color: rgb(227, 235, 245);
    padding: 10px;
    border-radius: 10%;
    margin: 10px;
}

.about-background {
    flex: 65%; /* 70% width */
    /*background-color: #cce5ff; /* Light blue shade */
    padding: 20px;
    text-align: left;
}

.about-skills {
    flex: 35%; /* 30% width */
    background-color: rgb(227, 235, 245);; /* Light blue shade */
    padding: 20px;
    border-radius: 10%;
}

.about-skills ul {
    text-align: left;
    padding-left: 20px; /* Add padding to the left */
}

.about-skills ul li {
    margin-bottom: 10px; /* Add spacing between list items */
}

.about-skills h4 {
    text-decoration: underline; /* Add underline to h4 headings */
}

.section-header{
    font-size: 40px;
    font-weight: bold;
    color: #5271ff;
}

.work-header{
    font-size: 40px;
    font-weight: bold;
    color: #5271ff;
}

.workplace{
    font-size: 40px;
    font-weight: bold;
    color: #5271ff;
}


#work-experience {
    padding: 50px 0;
}
.experience {
    margin-bottom: 30px;
    background-color: #f3f4fc;
    padding: 20px;
    border-radius: 10px;
    text-align:left;
}
.job-title {
    color: #2471a3;
    font-size: 20px;
    margin-bottom: 5px;
    display: inline-block;
}
.company-title {
    color: #2471a3;
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
}
.date {
    margin-bottom:5px;
    float: right;
    color: #777;
    font-size: 14px;
}

.description {
    color: rgb(89, 90, 108);
    margin-top: 10px;
}
.experience ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 10px;
}

/* Navigation Styles */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #e8efef;
    color: rgb(49, 9, 231);
    text-align: center;
    z-index: 1000;
    padding: 5px 0; /* Adjust padding for top and bottom */

}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

nav .logo {
    float: left; /* Float the logo to the left */
}

.nav-links {
    float: right; /* Float the navigation links to the right */
}

nav ul {
    list-style-type: none;
    text-align: center;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: rgb(24, 9, 238);
    text-decoration: none;
    font-size: 20px;
    transition: font-size 0.3s; /* Add transition for smooth font size change */

}
nav ul li a:hover{
    color: rgb(116, 88, 179);
    text-decoration: none;
    font-size: 25px;
}

.nav-link-container {
    width: 80px;
    margin-left: 20px;
    padding: 10px;
    display: inline-block;
}

.collapsible-btn {
    display: none;
}

/* Section Styles */
section {
    padding: 50px;
    text-align: center;
    background-color: rgb(232, 237, 245);;
}
/* Project Styles */
#projects {
    text-align: center; /* Center align all content */
}

.project-link {
    margin-bottom: 20px; /* Add spacing between each project link */
    padding: 20px; /* Add padding around each project */
    background-color: #f0f5f5; /* Light blue background color */
    border-radius: 10px; /* Add border radius for rounded corners */
   /* Ensure project links are displayed inline */
    text-align: left; /* Align text to the left */
   margin-left: 10%;
    width: 80%; /* Ensure project links take full width */
}

.project-title {
    color: #7f6fdf; /* Purple color for project titles */
    font-size: 25px;
    font-weight: bold;
}

.project-title:hover {
    color: #b06fdf; /* Purple color for project titles */

}

.project-description {
    margin-top: 10px; /* Add spacing above project description */
    font-style: italic;
    color: rgb(106, 110, 138);
}


.project-skills{
    display: inline-block;
    color: white;
    background-color: rgb(19, 0, 166);
    padding: 5px;
    margin-top: 10px;
    margin-right: 5px;
    border-radius: 5px;
    font-size: 13px;
}

.work-skills{
    display: inline-block;
    color: white;
    background-color: #0c4e7a;
    padding: 5px;
    margin-top: 10px;
    margin-right: 5px;
    border-radius: 5px;
    font-size: 13px;
}

/* .project-link span {
    display: inline-block;
    margin-right: 10px; 
}

.project-link span > span {
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
} */



/* Animation */
/* @keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
} */

/* 
    .fadeInUp {
        animation: fadeInUp 1s ease-in-out;
    } */
    
    /* Footer Styles */
    footer {
        position: fixed;
        background-color: rgb(221, 228, 240);
        padding: 20px;
        width: 100%;
        bottom: 0;
    }
    
    footer .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .contact-links {
        list-style-type: none;
        padding: 0;
        margin-top: 10px;
    }
    
    .contact-links li {
        display: inline-block;
        margin-right: 10px;
    }
    
    .contact-links li a {
        color: rgb(49, 9, 231);
        font-size: 16px;
        text-decoration: none;
    }
    
    .contact-links li a i {
        margin-right: 5px;
    }
    
    /* Additional Styles */
    .home-image {
        flex-basis: 80%;
        text-align: center;
    }
    
    .home-image img {
        width: 60%; /* Set image width to 80% of its container */
        max-height: 60%; /* Set maximum image height to 80% of its container */
        border-radius: 40%;
        margin-top: 10%;
        margin-right: 10%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
    }
    
    /* Media query for small devices */
    @media only screen and (max-width: 576px) {

        .collapsible-btn {
            display: block; /* Display the button for small screens */
        }
        
        .nav-links {
            display: none; /* Hide the navigation links by default for small screens */
        }
    
        /* Show the navigation links when the button is clicked */
        .nav-links .show-links {
            display: flex;
            flex-direction: column;
            background-color: #333;
            width: 100%;
            position: absolute;
            top: 60px;
            left: 0;
        }

        .container{
            margin-top: 50px;
        }
        .contact-form {
            width: 90%; /* Increase form width to 90% on small devices */
        }
        .about-container {
            flex-wrap: wrap; /* Wrap items on smaller screens */
        }

        .about-background,
        .about-skills {
            flex-basis: 100%; /* Set full width on small screens */
        }
    }
    
    /* Media query for medium devices */
    @media only screen and (min-width: 577px) and (max-width: 992px) {
        .contact-form {
            width: 80%; /* Set form width to 80% on medium devices */
        }
        .about-container {
            flex-wrap: wrap; /* Wrap items on smaller screens */
        }
        .about-background,
        .about-skills {
            flex-basis: 100%; /* Set full width on small screens */
        }
    }
    
    /* Media query for larger devices */
    @media only screen and (min-width: 993px) {
        .contact-form {
            width: 60%; /* Set form width to 60% on larger devices */
        }
    }
    
