/* Reset basic styles */
body, header, a, button { /* Targeting body, header, anchor tags, and buttons */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    font-family: Arial, sans-serif; /* Set the font to Arial */
    box-sizing: border-box; /* Ensures padding and border are included in element width/height */
  }

/* Style the top bar */
header {
    position: fixed; /* Fix the header at the top */
    top: 0; /* Stick to the top of the page */
    width: 100%; /* Full width */
    display: flex; /* Use flexbox to align items horizontally */
    justify-content: space-between; /* Distribute items evenly with space between them */
    align-items: center; /* Center items vertically */
    background-color: white; /* Set the background color to green */
    padding: 10px 20px; /* Add 10px padding vertically and 20px horizontally */
    color: green !important; /* Set the text color */
    z-index: 1000; /* Ensure the header is above other content */
    height: 50px; /* Set a fixed height for the header */
  }
  
  /* Top bar sections */
  .top-bar {
    display: flex; /* Use flexbox to align items horizontally within each section */
    align-items: center; /* Center items vertically */
  }
  
  /* Language button */
  .language {
    position: relative; /* Position relative to allow absolute positioning of the popup menu */
  }
  
  #language-btn {
    background: none; /* Remove default background */
    border: none; /* Remove border */
    color: green; /* Set text color */
    cursor: pointer; /* Change cursor to pointer on hover */
    font-size: 16px; /* Set font size */
  }
  
  .language-popup {
    display: none; /* Initially hide the popup */
    position: absolute; /* Position relative to the container */
    top: 30px; /* Position the popup 30px below the button */
    left: 0; /* Align the popup to the left of the container */
    background-color: #73983b; /* Set the background color to white */
    border: 1px solid #ccc; /* Add a light gray border */
    border-radius: 5px; /* Round the corners of the popup */
    z-index: 1000; /* Ensure the popup appears above other elements */
  }
  
  .language-popup button {
    background: none; /* Remove default background */
    border: none; /* Remove default border */
    padding: 10px; /* Add padding inside the buttons */
    color: white; /* Set the text color to green */
    cursor: pointer; /* Change cursor to pointer on hover */
    text-align: left; /* Align text to the left */
    width: 100%; /* Make buttons span the full width of the popup */
  }
  
  .language-popup button:hover {
    background-color: #f0f0f0; /* Set a light gray background */
  }
  
  /* Contact info */
  .contact-info a {
    color: green !important; /* Set text color */
    text-decoration: none; /* Remove underline from links */
    display: flex; /* Use flexbox to align icon and text horizontally */
    align-items: center; /* Center icon and text vertically */
    margin: 0 15px; /* Add 15px horizontal margin between items */
  }
  
  .contact-info i {
    margin-right: 5px; /* Add 5px space between icon and text */
  }
  
  /* Social media links */
  .social-media a {
    color: white; /* Set icon color */
    background-color: green; /* Set icon background to white */
    font-size: 18px; /* Set font size */
    width: 30px; /* Set icon width to 30px */
    height: 30px; /* Set icon height to 30px */
    line-height: 30px; /* Center icon vertically */
    text-align: center; /* Center icon horizontally */
    border-radius: 50%; /* Make the icon background circular */
    margin-left: 5px; /* Add 5px space between social media icons */
    transition: transform 0.2s; /* Add smooth scaling transition effect */
  }
  
  .social-media a:hover {
    transform: scale(1.1); /* Slightly increase size on hover */
  }
  
  /* Vertical separators */
  .separator {
    width: 1px; /* Set the width of the separator */
    height: 20px; /* Set the height of the separator */
    background-color: green; /* Set the color */
    margin: 0 10px; /* Add horizontal margin around the separator */
  }
  
  /* Navbar Styling */
  .navbar {
    position: fixed; /* Fixed position to keep navbar at the top */
    top: 50px; /* Position below the header */
    width: 100%; /* Full width */
    padding: 5px 20px; /* Reduced top and bottom padding */
    background-color: green !important; /* Force navbar background to white */
    color: gold !important; /* Default text color for navbar */
    display: flex; /* Flexbox for alignment */
    justify-content: space-between; /* Space between logo and links */
    align-items: center; /* Center items vertically */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
    transition: background 0.3s ease, color 0.3s ease; /* Smooth transitions */
    z-index: 1000; /* Ensure navbar is above other content */
    height: 70px; /* Set a fixed height for the navbar */
  }
  
  /* Navbar Brand (Logo) */
  .navbar-brand img {
    width: 70px; /* Set the logo width */
    height: auto; /* Maintain aspect ratio for the logo */
    margin-right: 50px; /* Add space between the logo and the next element */
  }
  
  /* Change Navbar Background on Scroll */
  .navbar.scrolled {
    background: green !important; /* Change background color on scroll */
    color: gold !important; /* Change text color on scroll */
  }
  
  /* Shop Now Button */
  .rent-btn {
    background-color: gold; /* Button background color */
    color: green; /* Button text color */
    padding: 8px 20px; /* Add padding to increase clickable area */
    border-radius: 20px; /* Make the button corners rounded */
    text-decoration: none; /* Remove default underline styling for links */
    font-size: 14px; /* Adjust button text size */
    font-weight: bold; /* Make button text bold */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth color change on hover */
    margin-right: 20px;
  }
  
  .rent-btn:hover {
    background-color: white; /* Subtle hover effect for the button */
    color: green;
  }
  
  /* Change Shop Now Button on Scroll */
  .navbar.scrolled .rent-btn {
    background-color: gold; /* Change background color to white */
    color: green; /* Change text color to green */
  }
  
  /* Navbar Links */
  .navbar-nav {
    display: flex; /* Ensure flexbox is enabled */
    gap: 15px; /* Add a 15px gap between nav links */
  }
  
  /* Navbar Links */
  .nav-link {
    color: gold !important; /* Navbar link text color */
    font-size: 15px; /* Set the font size for navbar links */
    padding: 10px 15px; /* Add padding for spacing */
    text-decoration: none; /* Remove default underline styling */
    transition: color 0.3s; /* Smooth color change on hover */
    position: relative; /* Required for positioning the submenu */
  }
  
  .nav-link:hover {
    color: white; /* Add a hover effect for better interactivity */
  }
  
  /* Change Navbar Links Color on Scroll */
  .navbar.scrolled .nav-link {
    color: gold !important; /* Change text color to white */
  }
  
  /* Sub-menu Styling */
  .sub-menu {
    display: none; /* Hide submenu by default */
    position: absolute; /* Position submenu relative to its parent */
    top: 100%; /* Position submenu below the parent link */
    left: 0; /* Align submenu to the left */
    background-color: green !important; /* Submenu background color */
    color: #000;
    box-shadow: 0 2px 8px rgba(41, 205, 76, 0.158); /* Add a shadow for depth */
    border-radius: 4px; /* Make submenu corners slightly rounded */
    z-index: 10; /* Ensure submenu appears on top of other elements */
  }
  
  /* Show submenu on hover */
  .rent-buy:hover .sub-menu {
    display: block; /* Show submenu when hovering over parent link */
  }
  
  /* Navigation Toggle (Hamburger icon) */
  .navbar-toggler {
    border-color: green; /* White border for the toggle button */
  }
  
  .navbar-toggler-icon {
    background-color: forestgreen; /* White toggle icon */
  }
  
  /* Icons & Register Button */
  .nav-icons {
    display: flex;
    align-items: center;
    gap: 15px; /* Add a 15px gap between icons and register button */
    margin-left: 20px;
  }
  
  .nav-icons i {
    font-size: 18px;
    margin-right: 15px;
    cursor: pointer;
  }
  
  .register-btn {
    background: gold;
    color: green;
    padding: 8px 15px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
  }
  
  .register-btn:hover {
    background: white;
    color: green;
  }
  
  /* Change register button Color on Scroll */
  .navbar.scrolled .register-btn {
    background-color: gold;
    color: green !important; /* Change text color to white */
  }
  
  /* Navbar Animation */
  @keyframes slideDown {
    from {
      transform: translateY(-100%);
    }
    to {
      transform: translateY(0);
    }
  }
  
  .navbar.scrolled {
    animation: slideDown 0.5s ease-in-out;
  }


/* Green semi-transparent overlay */
.fables-index-products {
    background-size: cover; /* Ensure the background image covers the entire section */
    background-position: center; /* Center the background image */
    position: relative; /* Set position to relative for child elements */
    padding: 60px 0; /* Add padding to the top and bottom */
    color: white; /* Set text color to white */
    margin-top: 140px !important;
}

.fables-index-products::before {
    content: ''; /* Add pseudo-element content */
    position: absolute; /* Position the overlay absolutely */
    top: 0; /* Align to the top */
    left: 0; /* Align to the left */
    right: 0; /* Align to the right */
    bottom: 0; /* Align to the bottom */
    background: rgba(0, 128, 0, 0.6); /* Green semi-transparent overlay */
    z-index: 1; /* Set z-index to place the overlay below the content */
}

.fables-index-products .container {
    position: relative; /* Set position to relative for z-index to work */
    z-index: 2; /* Ensure content is above the overlay */
}

/* Heading and Paragraph Styling */
.fables-index-products h2 {
    font-size: 35px; /* Set font size for the heading */
    font-weight: bold; /* Make the heading bold */
    color: #ffffff !important; /* Set heading text color to white */
}

.fables-index-products p {
    color: #e0e0e0; /* Set paragraph text color to light gray */
    margin-top: 20px; /* Add margin to the top of the paragraph */
    margin-bottom: 40px; /* Add margin to the bottom of the paragraph */
}

/* Button Styling */
.fables-index-products a.btn {
    background-color: gold; /* Set button background color to green */
    color: green; /* Set button text color to white */
    border-radius: 30px; /* Add rounded corners to the button */
    padding: 10px 25px; /* Add padding to the button */
    text-transform: uppercase; /* Make button text uppercase */
    transition: background-color 0.3s; /* Add transition for smooth hover effect */
}

.fables-index-products a.btn:hover {
    background-color: white; /* Change button background color on hover */
    color: green;
}

/* Owl Carousel Card Styling */
.card {
    background: #fff; /* Set card background color to white */
    border: 1px solid #ddd; /* Add a light gray border to the card */
    transition: box-shadow 0.3s; /* Add transition for hover effect */
    overflow: hidden; /* Hide overflowing content */
    height: 90%; /* Ensure all cards have equal height */
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack card content vertically */
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow on hover */
}

.card img {
    width: 100%; /* Make the image fill the card width */
    height: 250px; /* Set a fixed height for all images */
    object-fit: cover; /* Ensure images maintain aspect ratio */
    display: block; /* Display images as block elements */
}

.card-body {
    padding: 15px; /* Add padding inside the card body */
    text-align: left; /* Align text to the left */
    flex: 1; /* Ensure card body takes up remaining space */
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack content vertically */
    justify-content: space-between; /* Space out content evenly */
}

.card-title {
    font-size: 18px; /* Set font size for the card title */
    font-weight: bold; /* Make the title bold */
    margin-bottom: 10px; /* Add margin below the title */
    color: green !important; /* Set card title color to green */
}

.card-title a {
    color: green; /* Set title link color to dark gray */
    text-decoration: none; /* Remove underline from links */
}

.card-title a:hover {
    color: goldenrod; /* Change title link color on hover */
}

.card-text {
    font-size: 14px; /* Set font size for the card text */
    color: black !important; /* Set text color to dark gray */
}

/* Image icons */
.fables-product-btns {
    list-style: none; /* Remove default list styling */
    padding: 0; /* Remove default padding */
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack buttons vertically */
    position: absolute; /* Position buttons absolutely */
    right: 10px; /* Align buttons to the right */
    top: 20px; /* Align buttons to the top */
}

.fables-product-btn {
    background: #ffffff; /* Set button background color to white */
    color: darkgreen; /* Set button icon color to dark gray */
    border-radius: 50%; /* Make buttons circular */
    width: 40px; /* Set button width */
    height: 40px; /* Set button height */
    display: flex; /* Use flexbox for centering */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    margin: 5px 0; /* Add margin between buttons */
    transition: background-color 0.3s, color 0.3s; /* Add transition for hover effect */
}

.fables-product-btn:hover {
    background: yellow; /* Change button background color on hover */
    color: white; /* Change button icon color on hover */
}

/* Price Styling */
.font-weight-bold {
    font-size: 16px; /* Set font size for price text */
    color: black !important; /* Ensure price text color */
    margin-top: 3px !important; /* Add margin above the price */
    display: block; /* Ensure it takes full width */
    text-align: center; /* Center-align the text */
}

/* Call for our service Button */
.fables-product-info {
    position: relative; /* Change from absolute to relative */
    flex-grow: 1; /* Ensures consistent alignment */
    margin-top: 10px; /* Add spacing between price and button */
    text-align: center; /* Center align the button */
    width: 100%; /* Ensure it spans the full width */
}

.fables-product-info a.btn {
    display: inline-block !important; /* Keeps the button inline */
    background: green; /* Green background */
    border: 2px solid green; /* Green border */
    color: white; /* White text */
    border-radius: 25px; /* Rounded button */
    padding: 5px 15px; /* Button padding */
    font-size: 14px; /* Font size */
    transition: all 0.3s; /* Smooth transition */
}

.fables-product-info a.btn:hover {
    background: gold; /* Change background color to gold on hover */
    color: green; /* Change text color to green on hover */
    border-color: gold; /* Change border color to gold on hover */
}


/* Ensure the cards are hidden initially */
.wow {
    visibility: hidden; /* Hide elements with the wow class initially */
}

/* Custom drop-down animation */
@keyframes dropDown {
    from {
        transform: translateY(-100%); /* Start animation from the top */
        opacity: 0; /* Start with opacity 0 */
    }
    to {
        transform: translateY(0); /* End animation at the original position */
        opacity: 1; /* End with opacity 1 */
    }
}

.fadeIn {
    animation-name: dropDown; /* Use the dropDown animation */
    animation-duration: 1s; /* Set animation duration */
    animation-fill-mode: both; /* Apply styles before and after animation */
}

.owl-carousel .owl-stage-outer {
    overflow: hidden; /* Hide overflowing cards */
}

.owl-carousel .owl-item {
    display: flex; /* Use flexbox for layout */
    justify-content: center; /* Center cards horizontally */
}

.owl-carousel .owl-item {
    transition: all 0.3s ease; /* Add transition for hover effect */
}

.owl-carousel .owl-item:hover {
    transform: scale(1.05); /* Slightly enlarge cards on hover */
}

/* Carousel Navigation Buttons */
.carousel-nav {
    position: absolute; /* Position the buttons absolutely within the container */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust vertical centering */
    width: 100%; /* Span the full width of the container */
    display: flex; /* Use flexbox to align buttons horizontally */
    justify-content: space-between; /* Place buttons at the far left and right */
    padding: 0; /* Remove padding to push buttons to the edges */
    z-index: 20; /* Ensure buttons are above the overlay */
  }
  
  /* Carousel Previous Button */
  .carousel-prev {
    background: goldenrod; /* Remove default background */
    border: none; /* Remove border */
    color: white; /* Set button color */
    font-size: 24px; /* Set icon size */
    height: 50px;
    width: 30px;
    cursor: pointer; /* Change cursor to pointer on hover */
    transition: color 0.3s ease; /* Smooth color transition on hover */
    margin-left: 10px; /* Push the button further to the left */
    z-index: 20; /* Ensure the button is above the overlay */
  }
  
  /* Carousel Next Button */
  .carousel-next {
    background: goldenrod; /* Remove default background */
    border: none; /* Remove border */
    color: white; /* Set button color */
    height: 50px;
    width: 30px;
    font-size: 30px; /* Set icon size */
    cursor: pointer; /* Change cursor to pointer on hover */
    transition: color 0.3s ease; /* Smooth color transition on hover */
    margin-right: 10px; /* Push the button further to the right */
    z-index: 20; /* Ensure the button is above the overlay */
  }
  
  /* Hover Effect for Carousel Buttons */
  .carousel-prev:hover,
  .carousel-next:hover {
    color: green; /* Change button color on hover */
  }

.container.z-index.position-relative.overflow-hidden {
    position: relative; /* Set position to relative for z-index to work */
}

/* Equal height for all cards */
.owl-carousel .owl-stage {
    display: flex; /* Use flexbox for layout */
}

.owl-carousel .owl-item {
    display: flex; /* Use flexbox for layout */
    height: auto; /* Allow cards to adjust their height */
}

/* Font Awesome Icons on Hover */
.fables-product-btns {
    opacity: 0; /* Hide buttons by default */
    transition: opacity 0.3s; /* Add transition for hover effect */
}

.fables-product-img:hover .fables-product-btns {
    opacity: 1; /* Show buttons on hover */
}

.fables-product-btns li a,
.fables-product-btns li button {
    color: #333; /* Set icon color to dark gray */
    transition: color 0.3s; /* Add transition for hover effect */
}

.fables-product-btns li a:hover,
.fables-product-btns li button:hover {
    color: red; /* Change icon color to red on hover */
}


/* styles.css */
.product-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.product-image {
    border-radius: 10px;
    transition: transform 0.3s ease;
    height: 280px;
    width: 400px;
}

.product-image:hover {
    transform: scale(1.05);
}

.product-text {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 1s ease, transform 1s ease;
}

.product-title {
    color: #28a745; /* Green color for headings */
    font-weight: bold;
    margin-bottom: 20px;
}
.product-text.slide-in {
    opacity: 1;
    transform: translateX(0);
}

.btn-primary {
    background-color: #28a745;
    border-color: #28a745;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* WhatsApp Icon */
.whatsapp-icon {
    position: fixed; /* Fixed to viewport */
    bottom: 20px; /* 20px from the bottom */
    left: 20px; /* 20px from the left */
    background: #25d366; /* WhatsApp green color */
    color: white; /* Icon color */
    font-size: 2rem; /* Icon size */
    padding: 15px; /* Padding for the icon */
    border-radius: 50%; /* Circular icon */
    cursor: pointer; /* Pointer on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    z-index: 100; /* Place above other elements */
  }
  
  /* WhatsApp Popup Container */
  .whatsapp-popup {
    display: none; /* Initially hidden */
    position: fixed; /* Fixed to viewport */
    bottom: 80px; /* Popup position above the WhatsApp icon */
    left: 20px; /* Align with the WhatsApp icon */
    width: 300px; /* Fixed width */
    background: white; /* Popup background */
    border: 1px solid #ddd; /* Light border */
    border-radius: 15px; /* Circular edges for the popup */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    z-index: 101; /* Above the icon */
    font-family: Arial, sans-serif; /* Default font */
  }
  
  /* Show popup on hover over either the icon or the popup */
  .whatsapp-icon:hover + .whatsapp-popup,
  .whatsapp-popup:hover {
    display: block; /* Keep the popup visible */
  }
  
  /* Popup Header */
  .popup-header {
    display: flex; /* Horizontal alignment */
    justify-content: space-between; /* Space between text and close icon */
    align-items: center; /* Center align */
    background: #25d366; /* WhatsApp green */
    color: white; /* White text */
    padding: 10px; /* Padding inside */
    border-radius: 15px 15px 0 0; /* Rounded top corners */
    font-size: 1rem; /* Header font size */
  }
  
  .popup-header .close-popup {
    cursor: pointer; /* Pointer on hover for close icon */
    font-size: 1.2rem; /* Icon size */
  }
  
  /* Popup Body */
  .popup-body {
    padding: 15px; /* Add space inside */
    font-size: 0.9rem; /* Text size */
    color: #555; /* Slightly dark text color */
    line-height: 1.5; /* Line spacing */
  }
  
  /* Popup Footer */
  .popup-footer {
    padding: 10px; /* Add space inside */
    text-align: left; /* Align "Open Chat" button to the left */
  }
  
  .popup-footer .open-chat-btn {
    display: inline-flex; /* Align icon and text horizontally */
    align-items: center; /* Center icon and text vertically */
    justify-content: center; /* Center content */
    background: #25d366; /* WhatsApp green */
    color: white; /* White text */
    text-decoration: none; /* Remove underline */
    padding: 10px 15px; /* Button padding */
    border-radius: 15px; /* Circular button edges */
    font-size: 0.9rem; /* Button font size */
    transition: background 0.3s; /* Smooth hover effect */
  }
  
  .popup-footer .open-chat-btn:hover {
    background: #1da851; /* Darker green on hover */
  }
  
  /* WhatsApp arrow icon before text */
  .popup-footer .open-chat-btn::before {
    content: '➤'; /* Right chevron */
    margin-right: 8px; /* Space between icon and text */
    font-size: 1rem; /* Icon size */
  }
  
  /* Scroll to Top Button */
  .scroll-to-top {
    position: fixed; /* Keep button fixed to viewport */
    bottom: 20px; /* Position 20px from bottom */
    right: 20px; /* Position 20px from right */
    background: #2f772b; /* Green background */
    color: #fff; /* White color for arrow */
    border-radius: 50%; /* Make it circular */
    padding: 10px; /* Add padding inside */
    font-size: 1.5rem; /* Arrow size */
    cursor: pointer; /* Change cursor to pointer on hover */
    z-index: 10; /* Place above other elements */
  }
  
  /* Scroll to Top Hover Effect */
  .scroll-to-top:hover {
    background: #225320; /* Darker green on hover */
  }
  
/* Footer Styling */
:root {
    --green: green; /* Define a custom green color */
    --yellow: #ffc107; /* Define a custom yellow color */
  }
  
  .bg-green {
    background-color: var(--green); /* Set background color to green */
  }
  
  .bg-yellow {
    background-color: var(--yellow); /* Set background color to yellow */
  }
  
  .text-yellow {
    color: var(--yellow); /* Set text color to yellow */
  }
  
  .decorated-line {
    height: 2px; /* Set height of the decorated line */
    width: 50px; /* Set width of the decorated line */
    background-color: white; /* Set color of the decorated line */
  }
  
  .btn-yellow {
    background-color: var(--yellow); /* Set button background color to yellow */
    color: var(--green); /* Set button text color to green */
    border: none; /* Remove button border */
  }
  
  .btn-yellow:hover {
    background-color: #e0a800; /* Change button background color on hover */
  }
  
  .social-icons a {
    font-size: 1.5rem; /* Set social media icon size */
    transition: color 0.3s; /* Add smooth transition for icon color */
  }
  
  .social-icons a:hover {
    color: #e0a800; /* Change icon color on hover */
  }
  
  /* Bold text for Contact Us labels */
  .contact-us-label {
    font-weight: bold; /* Make text bold */
  }
  
  /* Yellow hover effect for Quick Links */
  .quick-links a {
    color: white; /* Set default text color to white */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s; /* Add smooth transition for text color */
  }
  
  .quick-links a:hover {
    color: var(--yellow); /* Change text color to yellow on hover */
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .footer .col-md-3 {
      margin-bottom: 2rem; /* Add margin between columns on smaller screens */
    }
  }
  
  /* Specific styles for the footer section */
  .footer-section {
    position: relative; /* Ensure the footer is positioned correctly */
    z-index: 10; /* Ensure the footer is above other elements */
    margin-top: auto; /* Push the footer to the bottom of the page */
  }