﻿body {
    font-family: 'Inter', sans-serif;
    color: #212529;
    background-color: #fff;
}

/* Navbar */
.navbar .nav-link {
    font-weight: 500;
    transition: color 0.3s;
}

    .navbar .nav-link:hover {
        color: #198754; /* Bootstrap green shade */
    }

/* Footer */
footer {
    font-size: 0.9rem;
}

    footer a:hover {
        text-decoration: underline;
    }

/* Primary Green Gradient Button */
.btn-success {
    background: linear-gradient(90deg, #00A859 0%, #00C16E 100%);
    color: #fff;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-success:hover {
        background: linear-gradient(90deg, #00914F 0%, #00A75C 100%);
        transform: translateY(-1px);
        color: #fff;
    }

    .btn-success:focus,
    .btn-success:active {
        box-shadow: 0 0 0 0.2rem rgba(0, 160, 90, 0.3);
        outline: none;
    }

/* Mobile nav link styling */
@media (max-width: 991.98px) {
    .navbar .nav-link {
        display: block;
        text-align: center;
        padding: 0px 0;
        border-bottom: 1px solid #f0f0f0;
    }

        .navbar .nav-link.active {
            color: #00A859 !important;
            font-weight: 600;
            background-color: rgba(0, 168, 89, 0.05);
        }

        .navbar .nav-link::after {
            display: none; /* Hide hover underline for compact mobile layout */
        }

        .navbar .nav-link.active::after {
            display: none;
        }
}



/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .navbar .nav-link {
        text-align: center;
        padding: 10px 0;
    }
}

/* Navbar link base style */
.navbar .nav-link {
    position: relative;
    font-weight: 500;
    color: #212529;
    transition: color 0.3s ease;
}

    /* Hover Effect */
    .navbar .nav-link:hover {
        color: #00A859;
    }

    /* Green underline on hover */
    .navbar .nav-link::after {
        content: "";
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #00A859 0%, #00C16E 100%);
        transition: width 0.3s ease;
    }

    .navbar .nav-link:hover::after {
        width: 100%;
    }

    /* Active/Selected Page */
    .navbar .nav-link.active {
        color: #00A859 !important;
    }

        .navbar .nav-link.active::after {
            width: 100%;
            background: linear-gradient(90deg, #00A859 0%, #00C16E 100%);
        }

/* Footer Styling */
.footer {
    background-color: #111;
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 0; /* removes any top margin */
    padding-top: 0; /* ensures no top padding adds extra space */
}
    .footer h6 {
        letter-spacing: 0.5px;
    }

.footer-link {
    color: #ccc;
    text-decoration: none;
    display: inline-block;
    padding: 3px 0;
    transition: color 0.3s, transform 0.2s;
}

    .footer-link:hover {
        color: #00A859;
        transform: translateX(4px);
    }

    .footer-link.active {
        color: #00A859;
        font-weight: 600;
        border-bottom: 2px solid #00A859;
    }

/* Footer Inputs */
.footer .form-control {
    background-color: #222;
    color: #fff;
}

    .footer .form-control::placeholder {
        color: #999;
    }

/* Responsive Layout */
@media (max-width: 991.98px) {
    .footer .col-lg-4 {
        text-align: center;
    }

    .footer select {
        margin: 0 auto;
    }

    .footer .input-group {
        justify-content: center;
    }
}


/* Footer Base */
.footer {
    background-color: #111;
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Social Links */
.social-link {
    font-size: 1.4rem; /* slightly smaller for better circle fit */
    color: #2eaa7d; /* green icons */
    background-color: #ffffff; /* white background */
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

    /* Hover Effect */
    .social-link:hover {
        background-color: #2eaa7d; /* green background */
        color: #ffffff; /* white icon */
        transform: translateY(-3px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    }


/* Footer Links */
.footer-link {
    color: #ccc;
    text-decoration: none;
    display: inline-block;
    padding: 3px 0;
    transition: color 0.3s, transform 0.2s;
}

    .footer-link:hover {
        color: #00A859;
        transform: translateX(4px);
    }

    .footer-link.active {
        color: #00A859;
        font-weight: 600;
        border-bottom: 2px solid #00A859;
    }

/* Subscribe Input */
.subscribe-input {
    background-color: #fff;
    border: 1px solid #333;
    color: #fff;
    border-radius: 30px 0 0 30px;
    padding: 10px 15px;
}

    .subscribe-input::placeholder {
        color: #999;
    }

.subscribe-btn {
    border-radius: 0 30px 30px 0;
    background: linear-gradient(90deg, #00A859 0%, #00C16E 100%);
    border: none;
    font-weight: 600;
    color: #fff;
    padding: 10px 18px;
}

    .subscribe-btn:hover {
        background: linear-gradient(90deg, #00914F 0%, #00A75C 100%);
    }

/* Responsive Footer */
@media (max-width: 991.98px) {
    .footer .col-lg-4 {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer select {
        margin: 0 auto;
    }

    .email-subscribe .input-group {
        justify-content: center;
    }
}

/* Fade-in animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

/* Optional delay classes for staggered reveal */
.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/*.footer {
    margin-top: 0 !important;
    padding-top: 0;
}*/





