/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 
    
}

body {
    font-family: "Marcellus", serif;
    font-weight: 500;
}


/* Header styling */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #6F9A37;
    color: white;
    position: relative;
}

.header .logo img {
    height: 50px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fcfcfc; /* Match with the overall theme */
 
    line-height: 1.1; /* Ensures the text is evenly spaced vertically */
   
    align-items: center; /* Vertically centers the text if there's only one line */
    padding-top: 5px; /* Optional: Adds extra top spacing for perfect balance */
    padding-bottom: 5px; /* Optional: Adds extra bottom spacing for perfect balance */
}

/* Menu styling */
.menu {
    display: flex;
    gap: 20px;
    list-style: none;
}

.menu li {
    position: relative;
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

.menu a:hover {
    background-color: #6F9A37;
    border-radius: 4px;
}

/* Submenu styling */
.menu .submenu {
    display: none;
    list-style: none;
    background-color: #6f9a37;
    color: black;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: -1px;
    padding: 10px;
    z-index: 1000;
    width: 200px;
}

.menu .submenu li {
    white-space: nowrap;
}

.menu .submenu a {
    color: white;
    padding: 5px 15px;
    display: block;
}

.menu .submenu a:hover {
    background-color: #6F9A37;
}

/* Show submenu on hover (desktop view) */
.menu li:hover .submenu {
    display: block;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    background-color: white;
    height: 3px;
    width: 25px;
    margin: 3px 0;
}

/* Mobile menu toggle */
#menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        background-color: #6F9A37;
        position: absolute;
        top: 100%;
        right: 0;
        width: 250px;
        z-index: 1000;
        padding: 20px 0;
        animation: slideIn 0.3s ease-in-out;
    }

    .menu li {
        margin: 10px 0;
        text-align: center;
    }

    .menu .submenu {
        display: none;
        position: relative;
        background-color: #8FBF4D;
        width: 100%;
        left: 0;
        top: 0;
    }

    /* Show menu when checked */
    #menu-toggle:checked + .hamburger + .menu {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    /* Show submenu on click in mobile */
    .menu li.active .submenu {
        display: block;
    }
}

/* Animation */
@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}
/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  background: url('Ph1.jpg') no-repeat center center/cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.navbar .logo {
  font-size: 24px;
  font-weight: bold;
}
.logo img {
height: 60px; /* Set the desired height for the logo */
width: auto; /* Maintain aspect ratio */
display: block; /* Ensure proper layout */
}



.navbar ul {
  display: flex;
  list-style: none;
  padding: 0;
}

.navbar ul li {
  margin: 0 15px;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.taglines {
  position: absolute;
  bottom: 20%;
  left: 10%;
}

.taglines h1 {
  font-size: 3.5rem ;
  margin: 0 0 10px 0;
  line-height: 1.2;
  font-weight: 500;
}
.taglines h2 {
  font-size: 1.5rem;
  margin: 0 0 10px 0;
  line-height: 1.2;
  font-weight: 500;
}
.taglines p {
  font-size: 16px;
  margin: 10px 0;
}
.taglines {
font-family: "Marcellus", serif;
font-size: 2.5rem; /* Adjust as per design */
font-weight: 500;
color: #fff; /* Ensure the color matches */
}


@media (max-width: 768px) {
.hero {
    position: relative;
    height: 40vh;
    object-fit: cover;
    background: url(Ph1.jpg) no-repeat center center / cover;
    /* width: 438px; */
}
}
/* Products Section */
.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: #f7f7f7;
}

.product {
    text-align: center;
    width: 350px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px;
}

.product h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.product p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.stars {
    color: #ffa500;
    font-size: 16px;
}




/* Footer styling*/
.footer {
  /* background-image: url('footer.png'); */
  background-color: #79a232;  /* Match the green color */
  color: #fff;
  padding: 5px 20px;
  overflow-x: hidden;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-left: 33px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
  color: #fff;
}

.footer-column ul li a {
  text-decoration: none;
  color: #fff;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-column p {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-column form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-column input[type="email"] {
  padding: 10px;
  border: none;
  border-radius: 5px;
  flex: 1;
}

.footer-column button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #c2a583; /* Match the beige color */
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.footer-column button:hover {
  background-color: #b39572;
}

/* Footer Bottom Section */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  border-top: 1px solid #fff;
  padding-top: 10px;
}

.footer-bottom p {
  font-size: 12px;
  margin-bottom: 0px;
}

.social-icons {
  margin-top: 20px;
  /* display: inline-block; */
}
.social-icons a {
    margin: 0 10px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #00aced; /* Change to desired hover color */
}
.social-icons img {
  width: 20px;
  height: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      text-align: center;
  }

  .footer-bottom {
      flex-direction: column;
      text-align: center;
      margin-bottom: 10px;
      /* gap: 10px; */
  }

  .footer-column {
      min-width: 100%;
      margin-left: 0px;
      justify-items: center;
  }

}
/* Responsive Styles */
@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      text-align: center;
  }
.taglines h1 {
  font-size: 2rem;
  margin: 0 0 10px 0;
  line-height: 1.2;
  font-weight: 500;
}
.taglines h2 {
  font-size: 1rem;
  margin: 0 0 10px 0;
  line-height: 1.2;
  font-weight: 500;
}
  .footer-bottom {
      flex-direction: column;
      text-align: center;
      gap: 10px;
  }

  .footer-column {
      min-width: 100%;
  }
}
a {
    text-decoration: none;
}
.hero button {
    padding: 10px 20px;
    background-color:#6F9A37;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 25px;
}
/* Sticky WhatsApp Icon Styling */
.whatsapp-icon {
  position: fixed;
  bottom: 80px; /* Increased distance from bottom for better spacing */
  right: 20px; /* Distance from right */
  z-index: 1000;
  border-radius: 50%; 
  padding: 0px;
  transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

.whatsapp-icon img {
  width: 60px; /* Default size for the logo */
  height: 60px;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .whatsapp-icon {
    bottom: 250px; /* Increased spacing for smaller screens */
    right: 15px;
    padding: 6px; /* Adjust padding */
  }

  .whatsapp-icon img {
    width: 55px; /* Smaller logo for mobile */
    height: 55px;
  }
}

@media (max-width: 480px) {
  .whatsapp-icon {
    bottom: 120px; /* Increased spacing for very small screens */
    right: 10px;
    padding: 2px;
  }

  .whatsapp-icon img {
    width: 40px; /* Adjust logo size */
    height: 40px;
  }
}

/* ======================= hover effect of redirecting to Xlmanagment services from copyrights=========== */

        .xl-credit {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            /* No underline */
            color: #f2f2f2;
            /* Default color */
            font-size: 12px;
            font-family: 'Marcellus', serif;
            transition: color 0.3s ease;
        }
    
        .xl-credit:hover {
            color: #385210;
            /* Hover color (adjust to match your design) */
        }
    
        .xl-logo {
            height: 22px;
            /* ✅ Fixes giant size */
            width: auto;
            max-width: 100%;
            /* Prevents overflow */
            object-fit: contain;
            display: inline-block;
        }

/* ======================= Scroll to Top Button Styling ======================= */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: none;
    background-color: #1beb08;
    color: white;
    border: none;
    border-radius: 45%;
    width: 45px;
    height: 45px;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    outline: none;
}

.scroll-to-top:hover {
    background-color: #3af700;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Mobile responsiveness for scroll-to-top button */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px; /* Move up to avoid WhatsApp button */
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 75px; /* Adjust for mobile WhatsApp button */
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Phone link behavior - disable on desktop, enable on mobile */
@media (min-width: 768px) {
    .phone-link {
        pointer-events: none;
        cursor: default;
    }
}

@media (max-width: 767px) {
    .phone-link {
        pointer-events: auto;
        cursor: pointer;
    }
}