@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@400;500;700&display=swap');

/* Basic styles for Mom's Garden */
* {
    box-sizing: border-box; /* Global box-sizing for predictable layout */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom right, #FFFFFF, #E1F0DA); /* White to Soft Mint Green gradient */
    color: #2E2E2E; /* Charcoal Gray for general text */
    line-height: 1.6; /* Improved readability for body text */
    opacity: 0;
    transition: opacity 0.7s ease;
}
body.page-loaded {
    opacity: 1;
}

h1 {
    color: #2E2E2E; /* Charcoal Gray for main headings */
    text-align: center;
    padding: 20px 0;
    font-size: 3.8em; /* Slightly larger for impact */
    margin-bottom: 30px; /* Added margin for better spacing */
    letter-spacing: -0.02em; /* Subtle tightening for professionalism */
}

header {
    background-color: #FFFFFF; /* White background for header */
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky; /* Make the header sticky */
    top: 0; /* Stick to the top */
    z-index: 1000; /* Ensure it stays above other content */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    /* font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #556B2F;
    font-weight: bold; */
    display: flex;
    align-items: center;
}

.logo img {
    width: 60px; /* Slightly larger logo */
    height: 60px; /* Slightly larger logo */
    border-radius: 50%; /* Make it round like Instagram profile pic */
    margin-right: 15px; /* Adjust spacing */
    box-shadow: 0 4px 16px rgba(46, 46, 46, 0.18); /* Charcoal Gray-toned shadow */
    border: 3px solid #E1F0DA; /* Soft Mint Green border */
    background: #fff;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 30px; /* Increase space between nav items */
}

nav ul li a {
    text-decoration: none;
    color: #2E2E2E; /* Charcoal Gray for nav links */
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative; /* For underline effect */
    padding-bottom: 5px; /* Space for underline */
    font-size: 1.05em; /* Slightly larger nav links */
}

nav ul li a:hover {
    color: #7BA05B; /* Leaf Green on hover */
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #7BA05B; /* Leaf Green underline */
    transition: width 0.3s ease-in-out;
}

nav ul li a:hover::after {
    width: 100%;
}

.hero {
    background: url('images/background.jpg') no-repeat center center/cover;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    animation: hero-translate 2.5s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes hero-translate {
    from { transform: translateY(10px); opacity: 0.7; }
    to { transform: translateY(0); opacity: 1; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.25); /* Slightly darker overlay for readability */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8em;
    margin-bottom: 15px;
    line-height: 1.2;
    color: white;
    animation: hero-text-fade-in 1s ease-out 0.5s forwards; /* Delayed animation */
    opacity: 0; /* Start hidden */
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    animation: hero-text-fade-in 1s ease-out 0.7s forwards; /* Delayed animation */
    opacity: 0; /* Start hidden */
}

.btn {
    display: inline-block;
    background-color: #4C6A4A; /* Forest Green for CTA buttons */
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* Ensure all transitions are smooth */
    box-shadow: 0 2px 8px rgba(76, 106, 74, 0.08); /* Forest Green-toned shadow */
    animation: hero-text-fade-in 1s ease-out 0.9s forwards; /* Delayed animation */
    opacity: 0; /* Start hidden */
}

.btn:hover {
    background-color: #7BA05B; /* Leaf Green on hover */
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(76, 106, 74, 0.18); /* Enhanced Forest Green-toned shadow */
}

.shop-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.shop-section h2 {
    position: relative;
    display: inline-block;
    overflow: visible;
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    color: #2E2E2E;
    margin-bottom: 35px;
    margin-top: 0;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

.shop-section h2.visible {
    opacity: 1;
    transform: translateY(0);
}

.shop-section h2::after {
    content: '';
    display: block;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #7BA05B 0%, #E1F0DA 100%);
    border-radius: 2px;
    margin: 16px auto 0 auto;
    transition: width 0.7s cubic-bezier(.4,0,.2,1);
}

.shop-section h2.visible::after {
    width: 60%;
}

.filters {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px; /* Reduced space between headings for better alignment */
}

.filters h3 {
    background-color: #E1F0DA; /* Soft Mint Green for headings */
    border: none;
    padding: 10px 20px;
    margin: 0; /* Remove default h3 margin */
    border-radius: 20px;
    font-size: 1em;
    color: #2E2E2E; /* Charcoal Gray for text */
    font-weight: 500; /* Match button font-weight */
    transition: background-color 0.3s ease, color 0.3s ease; /* Keep subtle transition */
}

.filters h3:hover {
    background-color: #E1F0DA; /* Keep same as normal state */
    color: #2E2E2E; /* Keep same as normal state */
}

.plant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.plant-item {
    background-color: #FFFFFF; /* White cards */
    border-radius: 15px; /* Rounded cards */
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Consistent transition easing */
}

.plant-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 8px 32px rgba(46, 46, 46, 0.18); /* Charcoal Gray-toned shadow for cards */
}

.plant-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px 15px 0 0; /* Rounded top corners for image */
}

.plant-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6em; /* Slightly larger plant names */
    color: #2E2E2E; /* Charcoal Gray for plant names */
    margin: 15px 0 10px;
    letter-spacing: 0.01em; /* Slight spacing for readability */
}

.plant-item .price {
    font-size: 1.25em; /* Slightly larger price */
    color: #6D6D6D; /* Muted Ash for price */
    font-weight: 700;
    margin-bottom: 5px;
}

.plant-item .availability {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.plant-item .availability.out-of-stock {
    color: #D22B2B; /* Red for out of stock */
    font-weight: 600;
}

.plant-item > * {
    padding: 0 20px;
}

.plant-item > *:last-child {
    padding-bottom: 20px;
}

.about-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background-color: #E1F0DA; /* Soft Mint Green background */
    border-radius: 20px;
    margin-top: 40px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.about-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    color: #2E2E2E; /* Charcoal Gray for about heading */
    margin-bottom: 35px;
    margin-top: 0; /* Ensure consistent top margin */
    letter-spacing: -0.01em; /* Subtle tightening for professionalism */
}

.about-content p {
    font-size: 1.15em;
    line-height: 1.7;
    color: #2E2E2E; /* Charcoal Gray for about text */
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-images {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.about-images img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(46, 46, 46, 0.1); /* Charcoal Gray-toned shadow */
    transition: transform 0.3s ease; /* Consistent transition easing */
}

.about-images img:hover {
    transform: scale(1.02);
}

.contact-section {
    padding: 80px 30px;
    max-width: 900px;
    margin: 60px auto;
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.contact-section h2 {
    position: relative;
    display: inline-block;
    overflow: visible;
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    color: #2E2E2E;
    margin-bottom: 35px;
    margin-top: 0;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

.contact-section h2.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-section h2::after {
    content: '';
    display: block;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #E1306C 0%, #E1F0DA 100%);
    border-radius: 2px;
    margin: 16px auto 0 auto;
    transition: width 0.7s cubic-bezier(.4,0,.2,1);
}

.contact-section h2.visible::after {
    width: 60%;
}

.contact-content p {
    font-size: 1.15em;
    line-height: 1.7;
    color: #2E2E2E;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-main {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line on smaller screens */
    justify-content: center; /* Center items when they wrap */
    gap: 40px; /* Space between the form and options */
    margin-top: 40px; /* Space from the intro paragraph */
}

.contact-form {
    flex: 1; /* Allows form to grow and shrink */
    min-width: 320px; /* Minimum width before wrapping */
    max-width: 500px; /* Max width for the form */
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: left;
    padding: 35px;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    background-color: #F6FBF4; /* Very light green */
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.form-group label {
    display: block;
    margin-bottom: 10px; /* Increased margin for better separation */
    font-weight: 600;
    color: #2E2E2E; /* Charcoal Gray for form labels */
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea {
    width: calc(100% - 24px); /* Account for padding */
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Added box-shadow transition */
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: #7BA05B; /* Leaf Green focus border */
    box-shadow: 0 0 0 3px rgba(123, 160, 91, 0.2); /* Subtle focus glow */
    outline: none;
}

.contact-form .btn {
    background: linear-gradient(90deg, #4C6A4A 0%, #7BA05B 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.13em;
    border: none;
    border-radius: 30px;
    padding: 15px 38px;
    box-shadow: 0 4px 16px rgba(76, 106, 74, 0.13);
    letter-spacing: 0.5px;
    transition: background 0.3s, box-shadow 0.3s, transform 0.18s, filter 0.3s;
    margin-top: 18px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.contact-form .btn:hover, .contact-form .btn:focus {
    background: linear-gradient(90deg, #7BA05B 0%, #4C6A4A 100%);
    box-shadow: 0 8px 28px rgba(76, 106, 74, 0.18);
    transform: scale(1.045);
    filter: brightness(1.07);
}
.contact-form .btn:active {
    transform: scale(0.98);
    filter: brightness(0.97);
}

.contact-options {
    flex: 1; /* Allows options to grow and shrink */
    min-width: 280px; /* Minimum width before wrapping */
    max-width: 380px; /* Max width for the options */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 35px;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    background-color: #FFF3F7; /* Very light warm pink */
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.contact-options h3 {
    position: relative;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.3em;
    color: #E1306C;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

.contact-options h3.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-options h3::after {
    content: '';
    display: block;
    width: 0%;
    height: 4px;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="4" xmlns="http://www.w3.org/2000/svg"><path d="M0 2 Q 25 0 50 2 T 100 2" stroke="%23E1306C" stroke-width="4" fill="transparent"/></svg>') repeat-x;
    background-size: 100% 4px;
    border-radius: 2px;
    margin: 10px auto 0 auto;
    transition: width 0.7s cubic-bezier(.4,0,.2,1);
}

.contact-options h3.visible::after {
    width: 80%;
}

.map-label {
    position: relative;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.05em;
    color: #4C6A4A;
    font-weight: 600;
    margin-top: 18px;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
    text-align: left;
    width: 100%;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

.map-label.visible {
    opacity: 1;
    transform: translateY(0);
}

.map-label::after {
    content: '';
    display: block;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #7BA05B 0%, #E1F0DA 100%);
    border-radius: 2px;
    margin: 8px 0 0 0;
    transition: width 0.7s cubic-bezier(.4,0,.2,1);
}

.map-label.visible::after {
    width: 50%;
}

.whatsapp-btn,
.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px; /* Slightly increased gap for icon and text */
    background: linear-gradient(to right, #25D366, #1DA851);
    color: white;
    padding: 14px 30px; /* Consistent padding with form button */
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* Added box-shadow transition */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Subtle shadow for buttons */
}

.instagram-btn {
    background: linear-gradient(to right, #E1306C, #C1285A);
}

.whatsapp-btn:hover,
.instagram-btn:hover {
    transform: translateY(-3px); /* More pronounced lift */
    box-shadow: 0 6px 16px rgba(0,0,0,0.2); /* More pronounced shadow */
}

.whatsapp-btn img,
.instagram-btn img {
    width: 26px; /* Slightly larger icons */
    height: 26px;
}

.gallery-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
    background-color: #E1F0DA; /* Soft Mint Green background */
}

.gallery-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    color: #2E2E2E; /* Charcoal Gray for gallery heading */
    margin-bottom: 35px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    background-color: #FFFFFF; /* White cards */
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Consistent transition easing */
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    margin-bottom: 15px;
}

.gallery-item .testimonial {
    font-style: italic;
    color: #6D6D6D;
    padding: 0 20px;
    font-size: 1.15em;
    line-height: 1.7; /* Ensure consistent line height */
    margin-bottom: 20px; /* Added margin for consistency */
}

footer {
    background-color: #E1F0DA; /* Soft earthy tone */
    color: #4C6A4A; /* Dark green text */
    border-radius: 24px 24px 0 0; /* Soft rounded top corners */
    margin-top: 60px;
    box-shadow: 0 -2px 16px rgba(76, 106, 74, 0.05);
    padding: 0;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 30px 20px 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-left, .footer-center, .footer-right {
    flex: 1 1 220px;
    min-width: 200px;
}

.footer-left h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7em;
    margin-bottom: 10px;
    color: #4C6A4A;
}
.footer-left p {
    font-size: 1.05em;
    margin-bottom: 0;
    color: #4C6A4A;
}

.footer-center h4, .footer-right h4 {
    font-size: 1.1em;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
    color: #4C6A4A;
}
.footer-center ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-center ul li {
    margin-bottom: 8px;
}
.footer-center ul li a {
    color: #4C6A4A;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-center ul li a:hover {
    color: #7BA05B;
}

.footer-right .social-icons {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
}
.footer-right .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(76, 106, 74, 0.08);
    transition: box-shadow 0.2s, transform 0.2s;
}
.footer-right .social-icons a:hover {
    box-shadow: 0 4px 16px rgba(123, 160, 91, 0.18);
    transform: translateY(-2px) scale(1.08);
}
.footer-right .social-icons img {
    width: 22px;
    height: 22px;
}
.footer-right p {
    margin: 0 0 4px 0;
    font-size: 1em;
    color: #4C6A4A;
}

.footer-bottom {
    background: rgba(76, 106, 74, 0.07);
    text-align: center;
    padding: 14px 10px 12px 10px;
    font-size: 1em;
    color: #4C6A4A;
    border-radius: 0 0 20px 20px;
}

@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 32px 10px 16px 10px;
    }
    .footer-left, .footer-center, .footer-right {
        min-width: 0;
        margin-bottom: 10px;
    }
    .footer-center ul {
        display: flex;
        flex-wrap: wrap;
        gap: 18px;
        justify-content: flex-start;
    }
    .footer-center ul li {
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    footer { display: none; }
    .mobile-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #E1F0DA;
        padding: 24px 8vw 12px 8vw;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -2px 10px rgba(76,106,74,0.08);
        font-family: 'Poppins', sans-serif;
    }
    .mobile-footer h3 {
        font-size: 1.3em;
        margin-bottom: 6px;
        color: #2E2E2E;
        font-weight: 600;
    }
    .mobile-footer p {
        font-size: 1em;
        color: #4C6A4A;
        margin: 0 0 4px 0;
        text-align: center;
    }
    .mobile-footer .mobile-copyright {
        font-size: 0.95em;
        color: #6D6D6D;
        margin-top: 6px;
    }
}
@media (min-width: 601px) {
    .mobile-footer { display: none; }
}

/* Animation for elements fading and sliding up */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero content specific animation for layered effect */
.hero-content h1 {
    animation: hero-text-fade-in 1s ease-out 0.5s forwards; /* Delayed animation */
    opacity: 0; /* Start hidden */
}

.hero-content p {
    animation: hero-text-fade-in 1s ease-out 0.7s forwards; /* Delayed animation */
    opacity: 0; /* Start hidden */
}

.hero-content .btn {
    animation: hero-text-fade-in 1s ease-out 0.9s forwards; /* Delayed animation */
    opacity: 0; /* Start hidden */
}

@keyframes hero-text-fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ensure filter buttons have proper transitions */
/* This block is now obsolete as buttons are replaced by headings */
.filter-btn {
}

.filter-btn:hover,
.filter-btn.active {
}

/* Ensure form group elements have subtle entrance */
.form-group {
}

.form-group.visible {
}

/* Apply overall section fade for consistency */
section:not(#home) h2,
section:not(#home) p,
section:not(#home) .plant-grid,
section:not(#home) .about-content,
section:not(#home) .contact-form,
section:not(#home) .contact-options,
section:not(#home) .gallery-grid {
}

section:not(#home).visible h2,
section:not(#home).visible p,
section:not(#home).visible .plant-grid,
section:not(#home).visible .about-content,
section:not(#home).visible .contact-form,
section:not(#home).visible .contact-options,
section:not(#home).visible .gallery-grid {
}

/* Video Section Styles */
.video-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
    background-color: #F4E4D4; /* Soft Rose Beige background */
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.video-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    color: #2E2E2E;
    margin-bottom: 35px;
    margin-top: 0; /* Ensure consistent top margin */
    letter-spacing: -0.01em; /* Subtle tightening for professionalism */
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto; /* Center the video container */
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(46, 46, 46, 0.18);
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Header & Navigation */
    .logo {
        justify-content: space-between;
        width: 100%;
    }

    .logo .logo-title {
        margin-right: auto;
    }

    /* Removed mobile-category-pills and category-pill styles as per user request */

    nav ul.nav-links {
        display: none; /* Hide default nav links */
        flex-direction: column;
        position: absolute;
        top: 80px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent background */
        box-shadow: 0 8px 16px rgba(0,0,0,0.15); /* Slightly more prominent shadow */
        padding: 20px 0;
        z-index: 999;
        text-align: center;
        height: calc(100vh - 80px); /* Full height minus header */
        overflow-y: auto; /* Enable scrolling for many links */
    }

    nav ul.nav-links.active {
        display: flex; /* Show dropdown when active */
    }

    nav ul.nav-links li {
        margin: 15px 0; /* Vertical spacing for links */
    }

    nav ul.nav-links li a {
        font-size: 1.3em;
        padding: 10px 0;
    }

    .nav-toggle {
        display: flex; /* Show hamburger icon */
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        cursor: pointer;
        z-index: 1001; /* Above dropdown */
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #2E2E2E; /* Charcoal Gray */
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Show the animated text below the logo title for mobile, force block display */
    .logo .logo-animated-text {
        display: block !important;
        width: 100%;
        margin-left: 0 !important;
        margin-top: 2px;
        position: relative;
        z-index: 1;
        text-align: left;
    }
    .logo-separator {
        display: none !important;
    }

    /* Footer Simplification */
    footer .footer-content {
        flex-direction: column; /* Stack items vertically */
        align-items: center;
        gap: 8px; /* Further reduced gap */
        padding: 8px 5px; /* Further reduced padding */
    }

    footer .footer-left {
        text-align: center;
        flex: none; /* Remove flex sizing */
        width: auto;
    }

    footer .footer-left h3 {
        font-size: 1.3em; /* Smaller font for logo title */
        margin-bottom: 0; /* No bottom margin */
    }

    /* Remove tagline from mobile footer */
    footer .footer-left p {
        display: none;
    }

    footer .footer-center,
    footer .footer-right {
        display: none; /* Hide quick links and all other contact info */
    }

    /* Hide social icons from mobile footer */
    footer .social-icons {
        display: none;
    }

    footer .footer-bottom {
        padding: 3px 5px; /* Even further reduced padding */
    }

    footer .footer-bottom p {
        font-size: 0.65em; /* Smaller copyright text */
        margin: 0; /* Remove default margin */
    }

    /* General Mobile Adjustments */
    .hero {
        height: 350px; /* Further reduce hero height */
        padding: 0 10px;
    }

    .hero-content h1 {
        font-size: 2em; /* Adjust font size */
    }

    .hero-content p {
        font-size: 0.9em;
    }

    .shop-section, .about-section, .founders-section, .contact-section {
        padding: 25px 10px; /* Reduced section padding */
    }

    h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .plant-grid, .founder-grid {
        grid-template-columns: 1fr; /* Single column layout for grids */
        gap: 10px; /* Reduced gap */
    }

    .plant-item, .founder-card {
        max-width: 100%;
        margin: 0 auto; /* Center items */
    }

    .plant-item img {
        height: auto; /* Allow height to adjust with aspect ratio */
        aspect-ratio: 1 / 1; /* Force square aspect ratio */
        object-fit: cover; /* Ensure image covers the square space */
    }

    .contact-main {
        flex-direction: column;
        gap: 10px;
    }

    .contact-form, .contact-options {
        min-width: unset;
        max-width: 100%;
        padding: 15px;
    }

    .contact-form .btn {
        width: 100%;
    }

    iframe {
        max-width: 100%;
    }

    /* Ensure no horizontal scroll on very small screens */
    body {
        overflow-x: hidden;
    }

    .logo {
        padding-right: 10px; /* Add some padding to the right of the logo */
    }
}

@media (max-width: 480px) {
    /* Further adjustments for very small screens */
    .hero-content h1 {
        font-size: 1.6em;
    }

    h1 {
        font-size: 2.2em; /* Main h1 in header */
    }

    /* Ensure logo title does not wrap excessively */
    .logo-title {
        white-space: nowrap;
        font-size: 0.9em; /* Adjust as needed for smaller screens */
    }

    /* Removed mobile-category-pills styles */

    .nav-toggle {
        width: 20px;
        height: 18px;
    }

    .nav-toggle span {
        height: 2px;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-2px, 4px);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-2px, -4px);
    }

    /* Plant item images */
    .plant-item img {
        height: auto; /* Allow height to adjust with aspect ratio */
        aspect-ratio: 1 / 1; /* Force square aspect ratio */
        object-fit: cover; /* Ensure image covers the square space */
    }

    /* Footer */
    footer .footer-left h3 {
        font-size: 1.2em;
    }

    /* Social icons are hidden on this breakpoint too */

    footer .footer-bottom p {
        font-size: 0.6em;
    }

    /* Responsive adjustments for the popup */
    .form-popup {
        width: 70% !important; /* Adjusted width for very small screens to minimize */
        max-width: 70% !important; /* Explicit max-width for mobile */
        padding: 8px 12px !important; /* Reduced padding */
        font-size: 0.75em !important; /* Smaller font size for mobile */
        /* The centering is handled by the main .form-popup style, no need to redefine here */
    }
}

/* Ensure the default desktop styles for mobile-category-pills are hidden on desktop */
@media (min-width: 769px) {
    .mobile-category-pills {
        display: none;
    }
    .logo-separator,
    .logo-animated-text {
        display: inline !important; /* Ensure they are visible on desktop */
    }
}

nav ul.nav-links {
    transition: all 0.3s ease-in-out;
}

/* Logo title and animated text styles */
.logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em; /* Adjusted for overall balance */
    color: #4C6A4A;
    font-weight: 700;
    margin-right: 8px; /* Slightly reduced margin */
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-animated-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.0em;
    color: #FFFFFF !important;
    font-weight: 500;
    min-width: 100px;
    display: inline-block;
    vertical-align: middle;
    opacity: 0;
    transition: opacity 0.15s cubic-bezier(.4,0,.2,1), transform 0.15s cubic-bezier(.4,0,.2,1); /* Even faster transition */
    margin-left: 2px;
    letter-spacing: 0.5px;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.logo-animated-text.visible {
    opacity: 1;
    transform: translateY(0) scale3d(1,1,1);
}

.logo-animated-text.fade {
    opacity: 0;
    transform: translateY(8px) scale3d(1,1,1); /* Slightly less vertical movement */
}

@media (max-width: 700px) {
    .logo {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        min-width: 0;
        max-width: 100vw;
        overflow-x: visible;
    }
    .logo-title {
        font-size: 1.3em;
        margin-right: 5px;
        margin-bottom: 0;
    }
    .logo-animated-text {
        font-size: 0.9em;
        min-width: 80px;
        display: inline-block !important;
        white-space: nowrap;
        overflow: visible;
        margin-left: 2px;
    }
    .logo-separator {
        margin: 0 4px;
    }
}

.logo-separator {
    color: #4C6A4A;
    font-size: 1.2em; /* Slightly smaller */
    font-weight: 500;
    margin: 0 8px; /* Adjusted margin */
    opacity: 0.7;
    vertical-align: middle;
    display: inline-block;
    transition: margin 0.3s;
}

@media (max-width: 700px) {
    .logo-separator {
        margin: 0 4px; /* Adjusted margin for mobile */
    }
}

/* Ensure the animated text is visible on desktop */
@media (min-width: 769px) {
    .logo-separator,
    .logo-animated-text {
        display: inline !important;
    }
}

.contact-options .map-label {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05em;
    color: #4C6A4A;
    font-weight: 600;
    margin-top: 18px;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
    text-align: left;
    width: 100%;
}
.contact-options iframe {
    width: 100%;
    min-height: 180px;
    max-height: 260px;
    border: 1.5px solid #E1F0DA;
    border-radius: 14px;
    margin-top: 0;
    box-shadow: 0 4px 18px rgba(76,106,74,0.13);
    transition: box-shadow 0.3s;
    background: #f8faf7;
}
.contact-options iframe:hover,
.contact-options iframe:focus {
    box-shadow: 0 8px 32px rgba(76,106,74,0.18);
}
@media (max-width: 700px) {
    .contact-options iframe {
        min-height: 120px;
        max-height: 180px;
    }
}

@media (max-width: 768px) {
    .plant-item, .contact-form, .contact-options, .btn {
        box-shadow: none !important;
        transition: none !important;
    }
}

/* Meet the Founders Section */
.founders-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 40px auto; /* Space from about section */
    text-align: center;
    background-color: #F6FBF4; /* Soft Mint Green background */
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.founders-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em; /* Consistent with other section headings */
    color: #2E2E2E;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}

.founder-grid {
    display: flex;
    justify-content: center;
    gap: 50px; /* Space between founder cards */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.founder-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    text-align: center;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.founder-card img {
    width: 180px;
    height: 180px;
    border-radius: 50%; /* Make images circular */
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #E1F0DA; /* Soft Mint Green border */
    box-shadow: 0 4px 12px rgba(76, 106, 74, 0.1);
}

.founder-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8em;
    color: #4C6A4A; /* Forest Green for names */
    margin-bottom: 8px;
}

.founder-card .founder-title {
    font-size: 1.1em;
    color: #7BA05B; /* Leaf Green for titles */
    font-weight: 500;
    margin-bottom: 15px;
}

.founder-card .founder-description {
    font-size: 1em;
    color: #6D6D6D; /* Muted Ash for description */
    line-height: 1.6;
}

/* Responsive adjustments for Founders section */
@media (max-width: 768px) {
    .founder-grid {
        flex-direction: column; /* Stack vertically on mobile */
        gap: 30px;
    }

    .founder-card {
        max-width: 90%; /* Adjust width for smaller screens */
    }

    .founder-card img {
        width: 150px;
        height: 150px;
    }

    .founders-section h2 {
        font-size: 2.2em;
    }
}

@media (max-width: 480px) {
    .founders-section {
        padding: 40px 15px;
    }

    .founder-card {
        padding: 15px;
    }

    .founder-card h3 {
        font-size: 1.5em;
    }
}

/* Added for the contact form submission popup */
.form-popup {
    position: fixed;
    top: 50%; /* Position at the center of the screen */
    left: 50%;
    transform: translate(-50%, -50%); /* Center horizontally and vertically */
    background-color: #E1F0DA; /* Soft green background */
    color: #4C6A4A; /* Dark green text */
    padding: 20px 30px; /* Increased padding for better appearance */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Enhanced drop shadow */
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    font-size: 1.1em; /* Readable font size */
    font-weight: 500;
    text-align: center;
    width: 90%; /* Responsive width */
    max-width: 450px; /* Max width for desktop */
}

.form-popup.show {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments for the popup */
@media (max-width: 480px) {
    .form-popup {
        width: 60% !important;
        max-width: 60% !important;
        padding: 6px 10px !important;
        font-size: 0.7em !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
}

.footer-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.08em;
    color: #7BA05B;
    margin-top: 8px;
    margin-bottom: 0;
    font-style: italic;
    opacity: 0.85;
    letter-spacing: 0.1px;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .footer-quote {
        display: none;
    }
}