body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #fcfcfc;
}
.playfair {
    font-family: 'Playfair Display', serif;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
  display: inline-block; /* Keep it inline with other nav items */
  padding-bottom: 10px; /* Add padding to extend hover area downwards */
  margin-bottom: -10px; /* Counteract padding to maintain layout */
}

.dropdown-content {
  display: none; /* Hidden by default */
  position: absolute;
  background-color: #ffffff; /* White background */
  min-width: 180px; /* Adjust as needed */
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1); /* Subtle shadow */
  z-index: 1; /* Ensure it's above other content */
  border-radius: 4px; /* Optional rounded corners */
  margin-top: 2px; /* Reduce gap between link and menu */
  padding-top: 0.5rem; /* Align with existing py-2 Tailwind class */
  padding-bottom: 0.5rem; /* Align with existing py-2 Tailwind class */
}

.dropdown-content a {
  color: #333; /* Text color for links */
  padding: 8px 16px; /* Align with existing px-4 py-2 Tailwind */
  text-decoration: none;
  display: block;
  font-size: 0.875rem; /* Align with existing text-sm Tailwind */
  white-space: nowrap; /* Prevent wrapping */
}

.dropdown-content a:hover {
  background-color: #f1f1f1; /* Hover background for links */
  color: #4CAF50; /* Optional: Change text color on hover */
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}
/* End Dropdown Menu Styles */

.hero-section {
    /* Remove background-image, background-size, background-position */
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative; /* Needed for absolute positioning of children */
    overflow: hidden; /* Prevent image overflow */
    color: white; /* Set text color here */
}

/* Optional: Add overlay style if not using Tailwind */
/* .hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: -1;
} */
.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #4CAF50;
    margin: 15px auto 30px;
}
.product-card {
    transition: all 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.chatbot-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 450px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow: hidden;
    display: none; /* Keep chatbot hidden initially */
}
.chat-header {
    background-color: #4CAF50;
    color: white;
    padding: 15px;
}
.chat-body {
    height: 330px; /* Adjust height if needed */
    padding: 15px;
    overflow-y: auto;
}
.chat-input {
    border-top: 1px solid #eee;
    padding: 10px;
}
.message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 20px;
    max-width: 70%;
}
.user-message {
    background-color: #e2f4e3;
    margin-left: auto;
}
.bot-message {
    background-color: #f0f0f0;
}
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}
.testimonial-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.testimonial-text {
    flex-grow: 1;
}
.category-icon {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 20px;
}
/* Add any new styles below */

/* Mobile Menu Styles */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.mobile-menu.open {
    max-height: 300px; /* Adjust based on content height */
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu nav a {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.mobile-menu.open nav a {
    opacity: 1;
    transform: translateX(0);
}

/* Apply staggered animation to menu items */
.mobile-menu.open nav a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open nav a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open nav a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open nav a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open nav a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open nav a:nth-child(6) { transition-delay: 0.3s; }

/* Hamburger menu animation */
.hamburger-icon {
    position: relative;
    width: 24px;
    height: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.hamburger-icon span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #444;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-icon span:nth-child(1) { top: 0; }
.hamburger-icon span:nth-child(2) { top: 9px; }
.hamburger-icon span:nth-child(3) { top: 18px; }

/* Animated X icon when menu is open */
.hamburger-icon.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Form validation and feedback styles */
.error-message {
    color: #f44336;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

input.border-red-500, 
textarea.border-red-500, 
select.border-red-500 {
    border-color: #f44336 !important;
}

.form-status-message {
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.form-status-message.bg-green-100 {
    background-color: #d1fae5;
    color: #065f46;
}

.form-status-message.bg-red-100 {
    background-color: #fee2e2;
    color: #b91c1c;
}

.form-status-message.bg-blue-100 {
    background-color: #e0f2fe;
    color: #0369a1;
}
