Example CSS using Tailwind CSS classes

/* Base Styling for Navigation Links */
.nav-link {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-transform: capitalize;
}

/* Hover and Focus Effects for Links */
.nav-link:hover {
    color: #10BAB9;
}

/* Menu Background and Shadow */
nav {
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensures it stays on top of other elements */
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-height: 80px; /* Adjust as needed for your logo */
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Larger font size for navigation titles */
nav a {
    font-size: 1rem; /* 1rem = 16px, adjust as needed */
    font-weight: bold;
}

/* Responsive adjustments for the navigation titles */
@media (max-width: 768px) {
    nav a {
        font-size: 0.875rem; /* Slightly smaller font for tablets */
    }
}

@media (max-width: 480px) {
    nav a {
        font-size: 0.75rem; /* Smaller font for mobile screens */
    }
}


/* By default, the mobile menu is hidden */
#mobileMenu {
    display: none; /* Hidden by default */
}

/* Show Mobile Menu */
#mobileMenu.active {
    display: block; /* Menu becomes visible when 'active' is applied */
    transition: all 0.3s ease; /* Optional: add transition for smooth appearance */
}



/* Dark Mode */
.dark .nav-link {
    color: #fff;
    background-color: #1f2937; /* Dark gray for dark mode */

}

.dark .nav-link:hover {
    color: #10BAB9;
}

/* Dark Mode for Menu */
.dark nav {
    background-color: #2d3748;
}

/* Fixed Header */
.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Custom Style for Language Selector */
/* Style the language selector */
#languageSelector {
    padding-right: 1.5rem; /* Add more space to the right */
    padding-left: 1.5rem; /* Add more space to the left */
    padding-top:  0.5rem;
    padding-bottom: 0.5rem;
    appearance: none; /* Remove the default arrow */
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
    background-size: 1em; /* Size of the custom arrow */
    border: 1px solid #d1d5db;
    border-radius: 8px;
}

/* Ensure it works in dark mode */
body.dark #languageSelector {
    background-color: #1f2937; /* Dark mode background */
    color: white; /* Text color in dark mode */
}

/* Mobile Menu Button */
#mobileMenuToggle {
    background-color: transparent;
}

/* Dark mode for mobile menu */
.dark #mobileMenu {
    background-color: #2d3748; /* Dark background for the mobile menu in dark mode */
}

/* Styling for the introductory section */
.intro-section {
    margin-top: 20px; /* Space below the navigation */
    background-color: #f7fafc; /* Light gray background */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

/* Dark mode styling */
.dark .intro-section {
    background-color: #2d3748; /* Dark background for dark mode */
    color: #edf2f7; /* Light text for contrast */
}

.intro-section p {
    font-size: 1.125rem; /* Slightly larger text */
    line-height: 1.6; /* Improved readability */
    max-width: 800px;
    margin: auto;
}

/* Additional hover effect for interactive feel */
.intro-section:hover {
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}
/* Container styling for the nav bar */
.flex-grow {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

/* Language selector and dark mode toggle aligned to the right */
.space-x-4 {
    display: flex;
    align-items: center;
}

/* Optional: Add a bit more padding to the content */
body {
    padding: 0;
    margin: 0; /* Remove any default margin */
    flex-direction: column;
    min-height: 100vh; /* Full viewport height */
}

/* Let main content grow to push footer down */
main {
    flex: 1; /* Allow main content to grow and take up space */
}

/* Optional: Style adjustments for the footer */
footer {
    background-color: #10BAB9; /* Adjust to your primary color */
    color: white;
    text-align: center;
    padding: 1rem;
    width: 100%;
}

/* Adjust the padding on the main content for large screens */
@media (min-width: 1024px) {
    .px-4 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Responsive logo size */
#companyLogo {
    height: 65px; /* Default size for larger screens */
    width: auto;
}

/* Smaller logo on medium screens */
@media (max-width: 768px) {
    #companyLogo {
        height: 40px;
    }
}

/* Even smaller logo on very small screens */
@media (max-width: 480px) {
    #companyLogo {
        height: 36px;
    }
}

.hidden {
    display: none;
}

.content-section {
    display: block;
}

/* Hide mobile menu on larger screens */
@media (min-width: 768px) {
    #mobileMenu {
        display: none;
    }
}

/* Hide desktop menu on smaller screens */
@media (max-width: 767px) {
    .desktop-menu {
        display: none;
    }
}
