body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    height: 100vh; /* Make the body take up the full height of the viewport */
    font-family: "Amatic SC", sans-serif; /* Keep the existing font family */
    font-weight: 700;
    font-style: normal;
    font-size: clamp(20px, 3vw, 28px); /* Larger base font size */
}
  
header {
    background-color: white; /* Set background to white */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add shadow to the bottom border */
    padding: 20px 0; /* Double the vertical padding to increase height */
    position: sticky; /* Make the navbar sticky */
    top: 0;
    z-index: 1000;
    width: 100%; /* Ensure the header spans the full width */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Keep content vertically centered */
    max-width: 1350px; /* Limit the width of the navbar content */
    margin: 0 auto; /* Center the navbar content */
    padding: 0 20px; /* Add horizontal padding */
}

/* Logo */
.logo {
    height: 40px; /* Adjust the height as needed */
    object-fit: contain; /* Ensure the image scales proportionally */
    margin: 0; /* Remove any default margin */
}

/* Navigation Links */
.nav-links {
    display: flex; /* Show links by default on larger screens */
    flex-direction: row; /* Arrange links horizontally */
    gap: 20px; /* Add spacing between links */
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Hide navigation links by default on smaller screens */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hidden by default on smaller screens */
        flex-direction: column; /* Stack links vertically */
        background-color: white; /* Optional: Add a background color */
        position: absolute;
        top: 60px; /* Position below the navbar */
        left: 0;
        width: 100%; /* Adjust width */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add shadow */
        z-index: 1000;
        text-align: center;
    }

    /* Show navigation links when active */
    .nav-links.active {
        display: flex; /* Display links */
    }
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #333; /* Set link color to dark */
    text-decoration: none;
    font-size: clamp(20px, 2.5vw, 28px); /* Larger navigation link size */
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Hamburger menu styles */
.menu-toggle {
    cursor: pointer;
    font-size: 24px;
    display: block; /* Ensure it's visible */
}

/* Add this rule to hide the hamburger menu on larger screens */
.menu-toggle {
    display: none; /* Hide by default */
}

/* Card Container */
.card-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    justify-content: space-around;
    align-items: stretch;
    margin: 20px;
    gap: 20px; /* Add spacing between cards */
}

/* Individual Card */
.card {
    flex: 1 1 calc(33.333% - 40px); /* Default: 3 cards per row with spacing */
    max-width: 400px; /* Optional: Limit the maximum width of each card */
    min-width: 250px; /* Optional: Set a minimum width for smaller screens */
    height: 500px; /* Set a fixed height for the cards */
    background-color: white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Slightly more pronounced shadow */
    border-radius: 8px; /* Optional: Add rounded corners */
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Card Hover Effect */
.card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
}

/* Card Labels */
.card h2 {
    font-size: clamp(24px, 3vw, 36px); /* Larger card label size */
    color: #333;
    margin: 0;
}

/* Card Logo */
.card-logo {
    width: 75px; /* Set a smaller fixed width */
    height: 75px; /* Set a smaller fixed height */
    object-fit: contain; /* Ensure the logo fits within the dimensions without distortion */
    margin: 0 auto; /* Center the logo horizontally */
    display: block; /* Ensure the logo is treated as a block element */
}

/* Content Container */
.content-container {
    max-width: 1400px;
    margin: 0 auto; /* Center the content */
    padding: 0 20px; /* Add padding for spacing */
}

main {
    margin-top: 40px; /* Double the spacing between the navbar and the main content */
    flex: 1; /* Allow the main content to grow and push the footer to the bottom */
}

/* Content Paragraphs */
main p, main li, .modal p {
    font-family: Arial, sans-serif; /* Use a clean, readable font */
    font-size: clamp(18px, 2vw, 22px); /* Dynamically adjust font size */
    line-height: 1.6; /* Increase line height for better readability */
    color: #333; /* Use a darker color for better contrast */
    margin-bottom: 20px; /* Add spacing between paragraphs */
}

/* Footer */
footer {
    background-color: #333; /* Dark background */
    color: #fff; /* White text */
    padding: 20px 0; /* Vertical padding */
    text-align: center;
}

/* Footer Container */
.footer-container {
    max-width: 1400px; /* Match the navbar width */
    margin: 0 auto; /* Center the footer content */
    display: flex;
    flex-wrap: wrap;
    flex-direction: column; /* Stack items vertically */
    justify-content: center; /* Center items horizontally */
    align-items: center; /* Center items vertically */
    gap: 20px; /* Add spacing between items */
    padding: 20px; /* Add horizontal padding */
    text-align: center; /* Center-align text */
}

/* Footer Links */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
    justify-content: center; /* Center-align links */
    text-align: center;
}

.footer-links a {
    color: #fff; /* White text for links */
    text-decoration: none;
    font-size: clamp(18px, 2vw, 24px); /* Larger footer link size */
}

.footer-links a:hover {
    text-decoration: underline; /* Add underline on hover */
}

/* Footer Copyright */
.footer-copyright {
    font-size: 0.8em;
    text-align: center; /* Ensure copyright text is center-aligned */
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 1000; /* Ensure it appears above other elements */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    font-size: clamp(24px, 3vw, 32px); /* Responsive heading size */
    margin-bottom: 10px;
}

.modal-content p {
    font-size: clamp(16px, 2vw, 20px); /* Responsive paragraph size */
    line-height: 1.5;
    color: #333;
}

/* Close Button */
.close-button {
    display: inline-block;
    margin-top: 20px; /* Add spacing above the button */
    padding: 10px 20px; /* Add padding for a clickable area */
    font-size: 18px; /* Make the text readable */
    font-weight: bold;
    color: #fff;
    background-color: #333; /* Dark background */
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    text-align: center;
}

.close-button:hover {
    background-color: #ff0000; /* Change background color on hover */
}

/* Footer Logo Image */
.footer-logo-img {
    width: 35%; /* Set a smaller fixed width */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the image scales proportionally */
    margin: 0 auto; /* Center the logo horizontally */
    display: block; /* Ensure the logo is treated as a block element */
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        display: none; /* Hide links by default */
        background-color: white;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex; /* Show links when active */
    }

    .navbar {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block; /* Show hamburger menu on smaller screens */
        cursor: pointer;
        font-size: 1.5em;
        color: #333;
    }

    .card {
        flex: 1 1 calc(50% - 20px); /* 2 cards per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .card {
        flex: 1 1 100%; /* 1 card per row on very small screens */
    }
}