* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8; /* Light earthy tone */
}

/* Header and Navigation */
.menu-toggle {
    display: none; /* Hidden by default on larger screens */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001; /* Ensure it's above the nav-links */
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #1b5e20;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Show on smaller screens */
    }

    .nav-links {
        display: none; /* Hide nav links by default on smaller screens */
    }

    .nav-links.active {
        display: flex; /* Show nav links when active */
    }
}
.header {
    position: fixed;
    width: 100%;
    background-color: #e8f5e9; /* Light green background */
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background-color: #dcedc8; /* Slightly darker green when scrolled */
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%; /* Adjusted padding */
    /* Responsive adjustments for smaller screens */
    @media (max-width: 768px) {
        padding: 0.8rem 4%; /* Slightly less padding on smaller screens */
    }

    @media (max-width: 480px) {
        padding: 0.6rem 3%; /* Even less padding on very small screens */
    }
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem; /* Increased font size */

    @media (max-width: 768px) {
        font-size: 1.5rem;

    @media (max-width: 768px) {
        font-size: 1.2rem; /* Adjust logo icon size for smaller screens */
    } /* Adjust logo font size for smaller screens */
    }
    color: #1b5e20; /* Darker green for logo */
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: '🍃';
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem; /* Adjusted gap */

    @media (max-width: 768px) {
        flex-direction: column;
        position: absolute;
        top: 80px; /* Height of the header */
        left: 0;
        width: 100%;
        background-color: #e8f5e9;
        border-top: 1px solid rgba(0,0,0,0.1);
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        padding: 1rem 0;
        display: none; /* Hidden by default on mobile */
        gap: 0; /* Remove gap for stacked links */
    }

    .nav-links.active {
        display: flex; /* Show when active */
    }
}

.nav-links a {
    text-decoration: none;
    color: #1b5e20; /* Darker green for links */
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
    padding: 0.5rem 0; /* Added padding for better click area */
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #1b5e20; /* Darker green underline */
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: #388e3c; /* Slightly lighter green on hover */
    transform: translateY(-2px);
}

/* Banner */
.banner {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(44,85,48,0.7)),
                url('https://images.unsplash.com/photo-1610123598195-eea6b6be4c48?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding-top: 80px;

    @media (max-width: 768px) {
        padding-top: 60px; /* Adjust banner padding for smaller screens */
    }
}

.banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;

    @media (max-width: 768px) {
        font-size: 2.5rem; /* Adjust font size for smaller screens */
    }

    @media (max-width: 480px) {
        font-size: 2rem; /* Further adjust font size for very small screens */
    }
    max-width: 800px;
    padding: 0 2rem;
    /* text-shadow: 2px 2px 4px rgba(0,0,0,0.3); */
    /* animation: fadeInUp 1.5s ease-out; */
    background: linear-gradient(to right, #ffffff, #c0d4c1, #079e20);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    animation: colorChange 1s ease-in-out infinite alternate;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes colorChange {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Bonsai Types Section */
.bonsai-types {
    padding: 5rem 5%;
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), url('images/bonsai2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.bonsai-types h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

.bonsai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.bonsai-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(44,85,48,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(44,85,48,0.1);
}

.bonsai-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(44,85,48,0.15);
    border-color: rgba(44,85,48,0.2);
}

.bonsai-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bonsai-card:hover img {
    transform: scale(1.05);
}

.bonsai-card h3 {
    padding: 1rem;
    font-family: 'Playfair Display', serif;
    color: #2c5530;
}

.more-info-btn {
    display: block;
    width: 90%;
    margin: 1rem auto;
    padding: 0.8rem;
    background: #2c5530;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.more-info-btn:hover {
    background: #1a331d;
}

.about {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), url('images/bonsai2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.timeline {
    display: grid;
    gap: 2rem;
}

.timeline-item {
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-item h3 {
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.footer {
    background: linear-gradient(rgba(27,94,32,0.8), rgba(27,94,32,0.8)), url('images/bonsai6.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #e8f5e9; /* Light green text */
    padding: 4rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-info h3,
.newsletter h3 {
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
}

.social-icon {
    color: #fff;
    font-size: 1.8rem;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.social-icon:hover {
    color: #a8c5ab;
    transform: translateY(-3px);
}

.modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 1rem;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.newsletter-form input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: #1a331d;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #0f1f11;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    .nav-container {
        flex-direction: column;
        padding: 0.5rem 5%;
    }

    .nav-links {
        width: 100%;
        margin-top: 1rem;
        flex-direction: column;
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 1rem 0;
        border-top: 1px solid rgba(44,85,48,0.1);
    }

    .nav-links a {
        display: block;
        padding: 0.8rem;
        border-bottom: 1px solid rgba(44,85,48,0.05);
    }

    .banner {
        margin-top: 120px;
        height: calc(100vh - 120px);
    }

    .banner h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .bonsai-grid {
        padding: 0 1rem;
    }

    .footer-content {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        max-width: 300px;
        margin: 0 auto;
    }
}

.awards {
    padding: 5rem 5%;
    background: linear-gradient(rgba(232,245,233,0.8), rgba(232,245,233,0.8)), url('images/bonsai_award-removebg-preview.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.awards h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem; /* Increased font size for title */
    margin-bottom: 3rem; /* Increased margin below title */
    color: #2c5530;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjusted grid for 3 items */
    gap: 3rem; /* Increased gap between items */
    max-width: 1000px; /* Increased max width of the grid */
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.awards-grid img {
    width: 100%;
    height: auto;
    max-width: 300px; /* Increased max width of images */
    justify-self: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15); /* Adjusted shadow */
    transition: transform 0.3s ease;
}

.awards-grid img:hover {
    transform: scale(1.1); /* Increased hover scale */
}

.reviews {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), url('images/bonsai5.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.reviews h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: left;
    border-left: 5px solid #388e3c; /* Green accent border */
}

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.review-card h4 {
    text-align: right;
    color: #2c5530;
    font-weight: 500;
}