/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* 🔔 Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #2e7d32;
    color: white;
    overflow: hidden;
    z-index: 1000;
}

.top-bar p {
    white-space: nowrap;
    padding: 10px;
    display: inline-block;
    animation: scroll 15s linear infinite;
}

@keyframes scroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

/* 🌐 Navbar */
.navbar {
    position: fixed;
    top: 60px;
    width: 100%;
    background: white;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    position: relative;
}

/* Logo center in PC */
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    width: 80px;
}

/* Menu Left */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.nav-links a:hover {
    color: #2e7d32;
}

/* Hamburger */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* 🚀 Hero Section */
.hero {
    margin-top: 120px;
    padding: 50px 20px;
}

.hero-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Card (IMPORTANT for layout) */
.hero-card {
    display: flex;
    flex-direction: column;   /* ensures button is below */
    align-items: center;
}

/* Image */
.hero-img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* Button */
.hero-btn {
    margin-top: 15px;
    padding: 10px 25px;
    background: #2e7d32;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    display: inline-block;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #1b5e20;
    transform: scale(1.05);
}

/* 📱 Tablet */
@media (max-width: 992px) {

    .logo {
        position: static;
        transform: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-img {
        width: 200px;
        height: 200px;
    }
}

/* 📱 Mobile */
@media (max-width: 600px) {

    .hero-container {
        flex-direction: column;
        align-items: center;
    }

    .hero-img {
        width: 180px;
        height: 180px;
    }
}