

.footer {
    background-color: #5255a2; /* Footer background */
    color: white;              /* Footer text color */
    text-align: center;         /* Center the text */
    padding: 20px;              /* Add some padding */
    font-size: 1em;             /* Text size */
    width: 100%;                /* Full-width footer */
    margin-top: 40px;           /* Add space before the footer */
    border-radius: 0 0 10px 10px; /* Optional rounded corners */
}

.footer p {
    margin-top: 10px;
    font-size: 14px;
    color: #ffffff;
}

.footer p1 { /* Updated this selector */
    margin-top: 10px;
    font-size: 8px;
    color: #5255a2;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Nunito', sans-serif; /* Default paragraph font */
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
}


/* Headings use Playfair Display */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #5255a2;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

/* Adjusted heading styles */
h1 {
    font-size: 3em;
    color: #f1f1f1;
}

h2, h3 {
    font-size: 2.5em;
}

h2::after, h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #fdc800;
}

.welcome-section h1, .welcome-section h2 {
    text-align: left;
    margin-bottom: 0;
}

/* Body paragraphs use Nunito */
body, p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Section Styling */
section {
    padding: 60px 120px;
    margin-bottom: 40px;
    min-height: 400px;
    background-color: #f9f9f9;
    border-radius: 10px;
}


/* Welcome Section */
.welcome-section {
    background-image: url('images/bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    text-align: center;
    position: relative;
    padding: 20px;
    color: white;
    overflow: hidden;
}

.welcome-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(82, 85, 162, 0.5); /* Tint overlay */
    z-index: 1;
}

.welcome-section .content {
    position: relative;
    z-index: 2; /* Bring the text in front of the overlay */
}

.welcome-section h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.welcome-section .highlighted-paragraph {
    font-size: 1.5em;
    font-weight: bold;
    color: #fdc800;
}

/* Logo in Welcome Section */
.welcome-section .logo {
    width: 150px;
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgb(6, 0, 76);
    padding: 10px;
    border-radius: 50%;
    z-index: 3; /* Ensure the logo stays on top of the overlay */
}

.welcome-section .logo img {
    width: 100%;
    height: auto;
}

/* About Section */
.about {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background-color: #e9e9e9;
    flex-wrap: wrap;  /* Allow wrapping of content for smaller screens */
}

.about-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    gap: 40px; /* Space between image and text */
}

.about-image {
    width: 100%;
    max-width: 400px;  /* Set max width for image */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px; /* Space below image */
}

.text-content {
    text-align: left;
    flex: 1;
    max-width: 800px;  /* Prevent text from being too wide */
    padding: 10px;
}

.about h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #5255a2;
}

.about p {
    font-size: 1.1em;
    color: #000000;
    line-height: 1.6;
    margin-top: 10px;
}

.yellow-line {
    width: 100px;
    height: 4px;
    background-color: #fdc800;
    margin-top: 20px;
}

/* Media Query for Responsiveness */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        max-width: 80%; /* Allow more room for image on smaller screens */
        margin-bottom: 20px;
    }

    .text-content {
        max-width: 100%;  /* Allow text to take full width on smaller screens */
    }

    .about h2 {
        font-size: 2.2em;
    }

    .about p {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .about h2 {
        font-size: 2em;
    }

    .about p {
        font-size: 1.1em;
    }
}

/* Officer Section */
.officer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 120px;
    min-height: 400px;
    background-color: #e9e9e9;
}

.officer-info {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 40px;
}

.officer-image {
    width: 300px;
    height: auto;
    border-radius: 10px;
}

.officer h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #5255a2;
}

.officer-info p {
    font-size: 1.0em;
    color: #000000;
    line-height: 1.6;
    margin-top: 10px;
}

/* Gallery Section */
.gallery {
    padding: 20px;
    text-align: center;
}

h2 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: bold;
    color:  #5255a2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 15px;
    padding: 20px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease; /* Add smooth scaling on hover */
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}


/* Responsive Grid Layout */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* 1 column on small screens */
    }
}





.projects-section {
    max-width: 1200px; /* Set a reasonable max width */
    margin: 0 auto; /* Center the container */
    display: grid; /* Use grid for layout */
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 20px; /* Space between cards */
    box-sizing: border-box; /* Make sure padding and border are included in width */
}


/* Style each project-card to ensure they're properly sized */

.project-card {
    width: 250px; /* Adjust as needed */
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #e9e9e9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.project-image {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
}

.project-details {
    padding: 10px;
    text-align: center;
}

.project-details h3 {
    font-size: 1.2rem;
    margin: 10px 0;
}

.project-details p {
    font-size: 1rem;
    color: #555;
}


/* Image inside the Project Card */
.project-card img {
    width: 100%;
    height: 250px; /* Increased image height for better visuals */
    object-fit: cover; /* Ensures the image fills the space without stretching */
    border-bottom: 2px solid #ddd; /* Optional: adds a line between the image and text */
}

/* Project Details (Text Section) */
/* Project Card Details */
.project-card .project-details {
    padding: 20px; /* Add more padding for better readability */
    background-color: #fff;
    text-align: center;
    flex-grow: 1;
    width: 100%; /* Ensure it stretches to full width of the card */
    box-sizing: border-box; /* Ensure padding does not affect width calculation */
}

.project-card .project-details h3 {
    font-size: 1em; /* Slightly larger title font for better visibility */
    font-weight: 600;
    color: #5255a2;
    margin-bottom: 15px; /* Increased margin for better spacing */
}

.project-card .project-details p {
    font-size: 1.1em; /* Increased text size for better readability */
    color: #555;
    line-height: 1.6; /* Increased line height for better spacing */
    margin-top: 10px;
    overflow: hidden; /* Prevent text from overflowing */
    text-align: left; /* Align text left for better readability */
}

/* Projects Section Flexbox */
.project-card {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Ensure the card stretches to the full width */
    justify-content: space-between; /* Distribute content evenly within the card */
    margin: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f9f9f9, #ffffff);
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    max-width: 300px; /* Limiting the width of the cards */
    margin-bottom: 30px; /* Added space to prevent overlap */
}

/* Hover Effects */
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.project-image:hover {
    transform: scale(1.05);
}

/* Responsive Grid Layout for Project Cards */
@media screen and (min-width: 768px) {
    .projects {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* Layout adjustment for 3 cards per row */

/* Hover Effect for Project Cards */
.project-card:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

/* Adjustments for Medium Screens (Tablets and Below) */
@media (max-width: 768px) {
    .project-cards {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row on medium screens */
    }

    .project-card {
        max-width: 320px; /* Slightly smaller cards for medium screens */
    }

    .project-card img {
        height: 220px; /* Reduce image height for medium screens */
    }
}

/* Adjustments for Small Screens (Mobile) */
@media (max-width: 480px) {
    .project-cards {
        grid-template-columns: 1fr; /* 1 card per row on smaller screens */
    }

    .project-card {
        max-width: 100%; /* Allow full-width cards on small screens */
        margin: 10px; /* Add a smaller margin */
    }

    .project-card img {
        height: 200px; /* Reduce image height for small screens */
    }
}

/* Media Query for Larger Desktop Screens */
@media (min-width: 1024px) {
    .project-cards {
        grid-template-columns: repeat(4, 1fr); /* 4 cards per row */
        max-width: 1200px;
        margin: 0 auto;
    }

    .project-card {
        height: auto; /* Ensure height adjusts based on content */
    }
}

/* Adjustments for Medium and Small Screens */
@media (max-width: 768px) {
    .project-cards {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row on medium screens */
    }

    .project-card {
        height: auto; /* Allow card height to adjust */
    }
}

@media (max-width: 480px) {
    .project-cards {
        grid-template-columns: 1fr; /* 1 card per row on smaller screens */
    }

    .project-card {
        height: auto; /* Further adjust height for better readability */
    }
}


/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



/* Section Styling */
.section {
    background-color: #335580;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.section h2 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #f1c40f; /* Yellow */
}

.section p, .section ul li {
    font-size: 1em;
    line-height: 1.5;
    color: #ffffff;
}

/* Code Block Styling */
pre {
    background-color: #000; /* Black background for code blocks */
    padding: 15px;
    border-radius: 5px;
    color: #f1c40f; /* Yellow text */
    overflow-x: auto;
}

/* Download Button */
.download-button {
    display: inline-block;
    padding: 10px 20px;
    color: #ffffff;
    background-color: #011832;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #335580;
}



/* Step Description Block Styling */
.step-description {
    background-color: #f1f1f1; /* Light background for each step */
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    height: auto; /* Ensure the description fits the content */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribute space equally */
}

.step-description h3 {
    font-size: 1.2em;
    color: #5255a2;
}

.step-description p {
    font-size: 1em;
    color: #555;
    line-height: 1.5;
}

/* Styling for each step to ensure equal height and space */
.step-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure all steps are spaced evenly */
    gap: 15px; /* Adds space between steps */
}

/* For steps to fill the available space equally */
.step-container .step-description {
    flex: 1; /* Allow each description to grow equally */
}

/* Ensure Step 5 is visible properly */
.step-container .step-description:last-child {
    margin-bottom: 0; /* Remove the bottom margin for the last description */
}
@media (max-width: 480px) {
    h2, h3 {
        font-size: 1.8em; /* Smaller heading size */
        margin-bottom: 20px;
    }

    section {
        padding: 30px 15px; /* Reduce padding for mobile */
        margin-bottom: 20px;
    }

    body {
        font-size: 14px; /* Smaller text size */
    }
}
@media (max-width: 480px) {
    .welcome-section {
        height: 300px; /* Shorten the height */
        padding: 10px;
    }

    .welcome-section h1 {
        font-size: 2.2em;
    }

    .welcome-section .highlighted-paragraph {
        font-size: 1.2em; /* Smaller paragraph size */
    }

    .welcome-section .logo {
        width: 100px; /* Reduce logo size */
    }
}
/* About Section Mobile Styling */
@media (max-width: 768px) {
    .about {
        padding: 40px 20px; /* Adjust padding for smaller screens */
        text-align: left;  /* Align text to the left */
    }

    .about-content {
        flex-direction: column; /* Stack image and text vertically */
        text-align: left;  /* Ensure text is aligned left */
    }

    .about-image {
        max-width: 80%; /* Allow image to take up more width */
        margin-bottom: 20px; /* Add space below the image */
    }

    .text-content {
        max-width: 100%; /* Full width for text */
        padding: 10px; /* Padding adjustment */
    }

    .about h2 {
        font-size: 2em; /* Smaller font size */
        margin-bottom: 15px; /* Adjust margin below heading */
    }

    .about p {
        font-size: 1.1em; /* Slightly smaller font for paragraphs */
        text-align: left; /* Align paragraphs to the left */
    }
}

@media (max-width: 480px) {
    .about h2 {
        font-size: 1.8em; /* Even smaller font size for small screens */
    }

    .about p {
        font-size: 1em; /* Adjust paragraph font size */
        text-align: left; /* Ensure left alignment */
    }
}

/* Officer Section - Align Paragraph to Left */
.officer {
    text-align: left; /* Ensure the whole officer section text is aligned left */
}

.officer p {
    text-align: left; /* Align individual paragraphs to the left */
}

/* Mobile-First Style */
.officer {
    padding: 40px 20px; /* Adjust padding for mobile screens */
    text-align: center; /* Center text on mobile */
}

.officer h2 {
    font-size: 1.8rem; /* Heading size for mobile */
    margin-bottom: 20px; /* Add spacing below heading */
}

.officer-info {
    display: flex;
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center content */
    justify-content: center;
}

.officer-image {
    max-width: 80%; /* Image takes up 80% of the width */
    margin-bottom: 20px; /* Space between image and text */
}

.officer p {
    font-size: 1rem; /* Paragraph font size for mobile */
    text-align: center; /* Center paragraphs */
    margin-bottom: 20px; /* Add space between paragraphs */
}

/* Responsive Design for Larger Screens */
@media (min-width: 768px) {
    @media (min-width: 768px) {
        .officer p {
            font-size: 1.3em; /* Same as the About section */
            line-height: 1.6;  /* Same as the About section */
        }
    }
    
    .officer-info {
        flex-direction: row; /* Change to row layout for larger screens */
        justify-content: flex-start; /* Align content to the left */
    }

    .officer-image {
        margin-right: 20px; /* Add margin to the right of the image */
    }

    .officer p {
        text-align: left; /* Align text to the left on larger screens */
    }

    .officer h2 {
        font-size: 2rem; /* Increase heading size for larger screens */
    }
}


@media (max-width: 480px) {
    .officer-info {
        display: flex;
        flex-direction: column; /* Stack the image and text vertically */
        align-items: center; /* Center the image and text */
        padding: 15px;
    }

    .officer h2 {
        display: inline-block; /* Allow the heading to be treated as a block element */
        text-align: center; /* Center align the text */
        font-size: 1.4em; /* Adjust heading size */
        margin-bottom: 10px; /* Space between heading and yellow line */
        position: relative; /* For the yellow line positioning */
    }

    .officer h2:after {
        content: ''; /* Empty content for the line */
        display: block; /* Display it as a block element */
        width: 60px; /* Width of the yellow line */
        height: 4px; /* Thickness of the yellow line */
        background-color: #FFD700; /* Yellow color */
        margin: 8px auto 0; /* Center the line below the text */
    }

    .officer-image {
        width: 100%; /* Make the image take up full width */
        max-width: 300px; /* Limit the max width of the image */
        height: auto; /* Maintain image aspect ratio */
        margin-bottom: 20px; /* Space between image and paragraph */
        border-radius: 8px; /* Rounded corners for the image */
    }

    .officer p {
        font-size: 1.1em; /* Adjust paragraph font size */
        line-height: 1.6; /* Comfortable line spacing */
        text-align: left; /* Align text to the left */
        max-width: 90%; /* Limit the width of the text */
        margin: 0 auto; /* Center the text block */
    }

    .officer {
        padding: 20px; /* Adjust padding for mobile view */
    }
}



.project-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    gap: 20px; /* Space between the cards */
    margin-top: 20px;
    justify-items: center; /* Center the cards horizontally */
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 10px; /* Smaller gap between images */
    }

    .gallery-grid img {
        width: 100%;
        height: auto;
    }
}
@media (max-width: 480px) {
    .projects {
        display: flex;
        flex-direction: column; /* Stack the projects vertically */
        align-items: center; /* Center align the projects horizontally */
        padding: 20px 15px; /* Adjust padding for mobile */
    }


    .project-card img {
        width: 100%; /* Make the image take up full width */
        height: auto; /* Keep the aspect ratio of the image */
        border-radius: 8px; /* Round the corners of the image */
    }

    .project-card h3 {
        text-align: center; /* Center the project title */
        font-size: 1.2em; /* Adjust the font size for the title */
        margin-top: 15px; /* Space above the title */
        position: relative; /* For the yellow line positioning */
    }

    .project-card h3:after {
        content: ''; /* Empty content for the line */
        display: block; /* Display it as a block element */
        width: 60px; /* Width of the yellow line */
        height: 4px; /* Thickness of the yellow line */
        background-color: #FFD700; /* Yellow color */
        margin: 8px auto 0; /* Center the line below the title */
    }

    .project-card p {
        text-align: center; /* Center the project description */
        font-size: 1em; /* Adjust font size */
        line-height: 1.5; /* Comfortable line height */
        margin-top: 10px; /* Space between the title and description */
        padding: 0 10px; /* Padding for the text */
    }
}
@media (max-width: 480px) {
    .step-container {
        flex-direction: column; /* Stack steps */
        gap: 10px; /* Adjust spacing between steps */
    }

    .step-description {
        padding: 10px; /* Less padding */
        font-size: 0.9em; /* Smaller text size */
    }
}




.project-card:hover {
    transform: translateY(-5px); /* Slight lift effect on hover */
}
.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    gap: 20px; /* Space between cards */
    justify-content: center; /* Center the grid */
    max-width: 1200px; /* Add a maximum width to prevent stretching */
    margin: 0 auto; /* Center the container */
    padding: 20px;
}

/* Project card style */
.project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #e9e9e9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 350px;
    margin: 0 auto;
    cursor: pointer;
}

/* Project image */
.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 2px solid #ddd;
}

/* Project details */
.project-card .project-details {
    padding: 20px;
    background-color: #fff;
    text-align: center;
}

/* Hover effect for project card */
.project-card:hover {
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Stronger shadow */
}

/* Responsive adjustments for medium screens (tablets) */
@media (max-width: 768px) {
    .projects {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    }
    .project-card {
        max-width: 100%; /* Allow full-width on medium screens */
    }
}

/* Responsive adjustments for small screens (mobile devices) */
@media (max-width: 480px) {
    .projects {
        grid-template-columns: 1fr; /* 1 card per row */
    }
    .project-card {
        max-width: 100%; /* Full-width cards for small screens */
    }
}

/* Projects Section */
.projects {
    text-align: center;
    margin: 40px 0;
}

.project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f9f9f9, #ffffff);
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    max-width: 300px; /* Limiting the width of the cards */
    margin-bottom: 30px; /* Added space to prevent overlap */
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.project-image:hover {
    transform: scale(1.05);
}

.project-details {
    text-align: left;
    padding: 15px;
    color: #444;
    font-family: 'Nunito', sans-serif;
    width: 100%;  /* Make sure the text takes up the full width of the card */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;  /* Ensures the description doesn't get too narrow */
    max-width: 100%; /* Allow the text to stretch out */
}

.project-details h3 {
    font-size: 1em;
    color: #21068d;
    margin-bottom: 10px;
    font-weight: bold;
}



/* Responsive grid layout for project cards */
@media screen and (min-width: 768px) {
    .projects {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
    }
}


.project-card p {
color: #0c0684;

}
/* Navigation Bar */
.navbar {
    background-color: #5255a2;
    position: sticky;
    top: 0;
    width: 90%; /* Slightly inside the viewport */
    margin: 20px auto; /* Center the navbar */
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, border-radius 0.3s ease;
    border-radius: 20px; /* Rounded corners */
}

/* Navbar List (Default - Desktop View) */
.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.navbar ul li a:hover {
    background-color: #fdc800;
    color: #5255a2;
    transform: scale(1.1);
}

/* Mobile-Friendly Navbar */
@media (max-width: 768px) {
    .navbar {
        width: 95%; /* Take a little more width but still leave some margin */
        border-radius: 20px; /* Keep the rounded corners */
        padding: 10px 0;
        margin: 10px auto; /* Ensure it's centered with some margin */
    }

    .navbar ul {
        display: flex;
        flex-direction: column; /* Stack links vertically */
        align-items: center;
    }

    .navbar ul li {
        margin: 10px 0; /* Spacing between vertical items */
    }

    .navbar ul li a {
        padding: 10px 15px;
        font-size: 1em; /* Slightly smaller font */
        width: 100%;
        text-align: center;
    }

    .navbar ul li a:hover {
        transform: scale(1.05); /* Hover effect on mobile */
    }
}

/* Scroll-Effect */
.navbar.scrolled {
    background-color: #fdc800;
    
    
}

/* Fade-in Animations */
.navbar ul li {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.navbar ul li:nth-child(1) { animation-delay: 0.2s; }
.navbar ul li:nth-child(2) { animation-delay: 0.4s; }
.navbar ul li:nth-child(3) { animation-delay: 0.6s; }
.navbar ul li:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
