body {
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

/* NAVIGATION BAR */
.navbar {
    /*background: linear-gradient(90deg, #e8f5e9, #e0f7fa);*/
    background: linear-gradient( 90deg, #00695C, /* brighter teal */
    #1E88E5 /* lighter blue */
    );
    font-size: large;
    font-weight: 600;
}

/*.navbar-logo img {
    max-height: 60px;
    width: auto;
}

.project-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.7rem;
    color: #00796B;
    user-select: none;
    margin-left: 0.5rem;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}*/


/*.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}*/

.navbar-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link {
    position: relative;
    padding: 0.75rem 0.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    /*color: #00796B !important;*/
    color: #e0f8f6 !important;
    background: none;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}
.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    /*background-color: #004D40;*/
    background-color: #FFFFFF;
    transition: width 0.3s ease;
    margin: 0 auto;
}

.nav-link:hover {
    /*color: #004D40 !important;*/
    color: #FFFFFF !important;
    font-weight: 600;
}

.nav-link:hover::after {
    width: 100%;
}

/* Active nav item */
.nav-link.active {
    font-weight: 750;
    color: #FFFFFF !important;
    /*color: #004D40 !important;*/
}

.nav-link.active::after {
    width: 100%;
    background-color: #FFFFFF;
    /*background-color: #004D40;*/
}

.content-container {
    background: linear-gradient( 90deg, #B2DFDB 0%, #E0F2F1 40%, #80CBC4 100%);
    /*background: linear-gradient( 90deg, #e3f2fd 0%, #ffffff 50%, #e8f5e9 100% );*/
    padding: 0;
}

.contact-section {
    background: linear-gradient(-125deg, #C8E6C9 0%, #A7D9D0 50%, #80CBC4 100%);
    /*background: linear-gradient(-125deg, #e8f5e9 0%, #ffffff 50%, #14e7ec 100%);*/
}

.contact-link {
    display: inline-block;
    text-decoration: none;
    /*color: #00796B;*/
    color: #1565C0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background-color: #00796B;
    transition: width .3s ease;
    margin: 0 auto;
}

.contact-link:hover {
    color: #004D40;
    font-weight: 700;
    text-decoration: none;
}

.contact-link:hover::after {
    width: 100%;
}

.floating-sign-up-container {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    padding-top: 0.4rem;
}

.floating-signup-btn {
    font-weight: 500;
    font-size: 1.5rem !important;
    color: white !important;
    border: none !important;
    border-radius: 50px 0px 0px 50px !important;
    /*background: linear-gradient(270deg, #7873f5, #42e695, #14e7ec, #42e695, #7873f5);*/
    background: linear-gradient(270deg, #1565C0, #4bde52, #00ACC1);
    background-size: 500% 500%;
    animation: colorBreathing 8s ease infinite;
    transition: background 0.4s ease, color 0.4s ease;
    cursor: pointer;
    z-index: 3;
    text-decoration: none;
    align-items: center;
}

.floating-signup-btn:hover {
    /*color: #004D40 !important;*/
    color: #E0F2F1 !important;
    animation: colorBreathing 3s ease-in-out infinite;
}


.floating-signup-btn::before {
    content: "";
    inset: 0;
    background: linear-gradient(-125deg, #e8f5e9 0%, #ffffff 50%, #14e7ec 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    border-radius: 50px 0px 0px 50px !important;
}

    
.floating-signup-btn:hover::before {
    opacity: 1;
}

.floating-signup-btn.minimizing {
    animation: minimizeButton 0.8s ease forwards;
}

/* Animation */
@keyframes slideFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes colorBreathing {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes minimizeButton {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(300px) scale(0.5); /* increased from 100px */
    }
}

.banner-carousel {
    height: 350px;
    overflow: hidden;
}

.banner-slide {
    height: 350px;
    background: linear-gradient(90deg, #004D40, #1565C0);
    background-repeat: no-repeat, no-repeat;
}

.banner-slide h1 {
    color: #f1faee;
    text-shadow: 2px 2px 6px rgba(0,0,0,1);
}

.banner-slide p {
    text-shadow: 0 0 4px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.7), 2px 2px 6px rgba(0,0,0,1);
}

.banner-item-container {
    height: 100%;
    width: 100%;
    text-align: center;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
    align-items: center !important;
}

.carousel-indicators {
    margin-bottom: 0 !important;
}

.carousel-indicators button {
    min-height: 0.4rem;
    min-width: 4rem;
    background-color: #ffffff;
    opacity: 0.6;
}

.carousel-indicators .active {
    opacity: 1;
}

/* Mobile Responsive CSS */
@media (max-width: 576px) {
    .floating-sign-up-container {
        padding-top: 0.8rem;
    }
    .floating-signup-btn {
        padding: 0.7rem 1.4rem !important;
        font-weight: 600 !important;
        font-size: 1.2rem !important;
    }

    .banner-carousel,
    .banner-slide {
        height: calc(62vw + 420px);
    }

    .banner-slide {
        background-image: linear-gradient(90deg, #004D40, #1565C0);
    }

}
/* Tablet Responsive CSS */
@media (min-width: 768px) and (max-width: 1024px) {
    .banner-carousel,
    .banner-slide {
        /* Dynamic height grows as screen gets narrower */
        height: clamp(28rem, calc(55vw + 150px), 42rem);
    }
}