::selection {
    background-color: #005f56;
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #005f56;
}

::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #f0fdf4, #e6fffa);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.top {
    position: fixed;
    bottom: 5vh;
    right: 5vw;
    background-color: #005f30;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 12;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
}

.top img {
    width: 60%;
    height: 60%;
}

.top:hover {
    background-color: rgb(7, 134, 47);
}

/* Setting up the base font and body background */
body {
    background: linear-gradient(135deg, #f0fdf4, #e6fffa);
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Hero section design */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Navbar styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: relative;
    z-index: 10;
}

.logo {
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    color: #005f56;
    text-shadow: 2px 2px 4px rgba(0, 100, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo a {
    text-decoration: none;
    color: #005f30;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #005f30;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    padding: 0.5rem;
}

.nav-links a:hover {
    color: #00796b;
    transform: translateY(-2px);
}

/* Hero content */
.hero-content {
    width: 100vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.5s;
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: #005f30;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 6px rgba(0, 100, 0, 0.2);
}

.subtitle {
    font-size: 1.7rem;
    color: #005f30;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1s;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #005f30;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.5s;
    box-shadow: 0 8px 15px rgba(0, 100, 0, 0.1);
}

.cta-button:hover {
    background-color: rgb(7, 134, 47);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 100, 0, 0.3);
}

/* Hero background animations */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background-color: #005f56;
    top: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background-color: #00796b;
    bottom: 0px;
    right: 0px;
    animation: float 6s ease-in-out infinite 1s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background-color: #009688;
    top: 50%;
    left: 50%;
    animation: float 7s ease-in-out infinite 0.5s;
}

.star {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid #005f56;
    opacity: 0.2;
}

.star-1 {
    top: 20%;
    left: 20%;
    animation: twinkle 3s ease-in-out infinite;
}

.star-2 {
    top: 60%;
    right: 30%;
    animation: twinkle 4s ease-in-out infinite 1s;
}

.star-3 {
    bottom: 15%;
    left: 40%;
    animation: twinkle 5s ease-in-out infinite 0.5s;
}

/* Scroll indicator styles */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2s;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #005f56;
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 6px;
    height: 6px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #005f56;
    border-radius: 50%;
    opacity: 1;
    animation: scroll 2s infinite;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .title {
        font-size: 3.7rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
    }
    
    .nav {
        position: relative;
        background-color: #ffffff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #ffffff;
        width: 100%;
        border-top: 1px solid #eaeaea;
        padding: 1rem 0;
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
        transform: translateY(-10px);
    }
    
    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 0;
        padding: 0.8rem 1.5rem;
        text-align: center;
        transition: background-color 0.3s ease;
    }
    
    .nav-links li:hover {
        background-color: #f0f0f0;
    }
    
    .nav-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }
    
    .nav-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        margin-bottom: 5px;
        background-color: #005f56;
        transition: all 0.3s ease;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content {
        z-index: 1;
        transition: opacity 0.3s ease;
    }

    .hero-content.dimmed {
        filter: opacity(0.3);
    }

    .hero {
        height: 85vh;
    }

    .scroll-indicator {
        bottom: 10px;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .title {
        font-size: 2.8rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 0.7rem 1.7rem;
    }

    .mouse {
        width: 25px;
        height: 40px;
    }

    .hero {
        height: 70vh;
    }
}

@media screen and (max-width: 400px) {
    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.6rem 1.5rem;
    }
}