@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Playwrite+NG+Modern:wght@100..400&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&display=swap');

body{
    font-family: 'Nunito', sans-serif;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #4E9F3D;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1A5319;
}

.navbar {
    background-color: #333; 
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}

.navbar-nav {
    margin-right: 30px;
}

.navbar .nav-link {
    font-size: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar .nav-link i {
    display: none; /* Hide the icons */
}

.navbar .nav-link:hover {
    color: #1A4D2E;
    font-weight: bolder;
    padding-left: 15px;
    padding-right: 15px;
    background: linear-gradient(to top, #D8E9A8, #FFFFFF);
}

.navbar-brand img {
    height: 50px; 
    margin-right: 10px; 
    margin-left: 30px;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    border-radius: 50%;
}

.navbar-brand {
    font-weight: 1000;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.navbar-toggler {
    border: none; /* Remove default border */
}

.navbar-toggler .custom-toggler-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
}

.navbar-toggler .custom-toggler-icon::before {
    content: "\2022 \2022 \2022"; 
    font-size: 1.5rem;
    color: #333;
}

  
.navbar #highlight {
    font-size: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: highlight 1.5s infinite;
    border-radius: 5px;
}

@keyframes highlight {
    0% {
        background-color: transparent;
    }
    50% {
        background-color: #B4E380;
    }
    100% {
        background-color: transparent;
    }
}

/* Hide brand text on small screens */
@media (max-width: 1024px) {
    .navbar-brand span {
        display: none;
    }
}
@media (max-width: 767px) {
    .navbar-brand span {
        display: none;
    }
}

@media (max-width: 1024px) {
   .navbar .nav-link  {
        font-size: 12px;
    }
}

.tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 15px 15px; /* Adjust padding as needed */
    border-radius: 10px;
    font-size: 14px;
    width: 110px;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-100%);
    transform: translateX(-100%);
    right: -100%;
}

#darkModeToggle:hover .tooltip {
    opacity: 1;
    transform: translateX(-100%);
}

/* Dark Mode Toggle Button */
#darkModeToggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}

html, body {
    transition: background-color 0.3s, color 0.3s;
}

body.dark-mode {
    background-color: #0C0C0C;
    color: #ffffff;
}

body.light-mode {
    background-color: #ffffff;
    color: #000000;
}

body.dark-mode .navbar {
    background-color: #0C0C0C;

    box-shadow: rgba(147, 145, 133, 0.15) 0px 3px 3px 0px;
}

body.dark-mode .navbar a {
    color: #fff;
    font-weight: bold;
}

body.dark-mode .nav-link {
    color: #ffffff;
}

body.dark-mode .nav-link:hover {
     color: #D8E9A8;
     background: linear-gradient(to top, #254336, #121212, #000000);
     font-weight: bolder;
}

body.light-mode .navbar {
    background-color: #ffffff;
}

body.light-mode .navbar a {
    color: #000;
}

body.light-mode .nav-item a {
    color: #191A19;
}

/* Add these styles to your existing CSS file */
.navbar .dropdown-menu {
    background-color: #fff; 
    padding: 0;
    opacity: 0;
    display: none;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
    transform: translateY(-10px);
}

.navbar .dropdown-item {
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
    background-color: #e9ecef; 
    color: #1A4D2E;
    font-weight: bold;
}

.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* For smaller screens */
@media (max-width: 768px) {
    .navbar .dropdown-menu {
        display: block; /* Ensure dropdown menu is displayed */
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}


       body.dark-mode .navbar .dropdown-item:hover {
            background-color: #B5C18E; /* Background color on hover */
            color: #1A4D2E;
            font-weight: bold;
        }

        .navbar-nav .dropdown:hover .dropdown-menu {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

/* FOOTER */
.footer {
    background-color: #DEF9C4;
    padding: 30px 30px 0 30px;
    margin-top: 0;
    text-align: center; /* Center align content */
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
}

.footer-content {
    display: inline-block; /* Center content */
    text-align: center; /* Center text and logo */
    justify-content: center;
    align-items: center;
}

.footer-content h3{
    font-weight: 800;
    font-size: 1.7rem;
}

.footer-logo {
    max-width: 130px; /* Adjust size as needed */
    margin-bottom: 30px;
    justify-content: center;
    margin-top: 25px;
}

.contact-info {
    list-style: none;
    padding: 0;
    font-size: 1rem; /* Enlarge font size */
    text-align: left; /* Align text to left */
}

.footer h3{
    margin-top: 20px;
    margin-bottom: 30px;
}

.contact-info li {
    display: flex;
    align-items: center; /* Center the text vertically with the icon */
    margin-bottom: 20px;
}

.contact-info i {
    text-align: left;
    margin-right: 10px;
    font-size: 1.5rem; /* Enlarge icon size */
}

.social-icons {
    list-style: none;
    padding: 0;
    text-align: center; /* Center align icons */
    font-size: 2rem;
    margin-top: 15px; /* Adjust spacing */
}

.social-icons li {
    display: inline-block;
    margin: 0 20px; /* Adjust spacing */
    align-items: center; /* Center the text vertically with the icon */
}

.social-icons li a {
    color: #000000;
    transition: all 0.3s ease;
}

.social-icons li a:hover {
    color: #1a4d2e; 
}

.affiliates {
    list-style: none;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.affiliates li {
    display: inline-block;
    transition: all 0.3s ease;
}

.affiliates li:hover{
    transform: scale(1.2);
}

.affiliates img {
    width: 150px;
}

.copyright {
    margin-top: 20px;
    font-size: 1rem;
    color: #686D76;
}

@media (max-width: 768px) {
    .footer{
        padding: 0 30px;
    }
    .footer-logo {
        max-width: 80px; /* Adjust for smaller screens */
    }
    .footer-content h3{
        margin: 0;
        font-size: 1.2rem;
    }
    .contact-info {
        font-size: 1.1rem; /* Enlarge font size for smaller screens */
        text-align: center;
    }

    .contact-info li i {
        font-size: 1.5rem; /* Enlarge icon size for smaller screens */
    }

    .social-icons {
        font-size: 1.2rem; /* Enlarge icon size for smaller screens */
        margin-top: 10px; /* Adjust spacing */
    }

    .social-icons i{
        font-size: 1.2rem;
        margin: 10px;
    }
    .affiliates{
        margin-right: 0;
    }
    .affiliates li{
        align-items: center;
        justify-content: center;
        margin-right: 0;
        padding: 0;
    }
    .affiliates img{
        align-items: center;
        padding: 0;
    }
}
