/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f4;
  min-height: 100vh;
  overflow-x: hidden;
}

/* HEADER STYLES */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  background-color: #405e34;
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1100;
}

/* Sidebar toggle button (hamburger) */
#openMenuBtn {
  background: none;
  border: none;
  font-size: 1.8em;
  color: #000000;
  cursor: pointer;
  margin-right: 15px;
  transition: transform 0.2s;
}
#openMenuBtn:hover {
  transform: scale(1.2);
  color: #ff4800;
}

/* Logo style */
.logo {
  font-size: 1.8em;
  font-weight: bold;
  color: #ecf0f1;
  margin-right: 20px;
  white-space: nowrap;
}

/* Search container and input/button */
.search-container {
  flex: 1;
  display: flex;
  max-width: 500px;
  margin-right: 15px;
  border-radius: 4px;
  overflow: hidden;
   border: 2px solid #ff770096;
}
.search-container input {
  flex: 1;
  padding: 8px 12px;
  border: none;
  outline: none;
  font-size: 1em;
}
.search-btn {
  background-color: #2980b9;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  color: #fff;
  font-size: 1em;
  transition: background-color 0.3s;
}
.search-btn:hover {
  background-color: #3498db;
}

/* Contact Button */
.contact-btn {
  background-color: #ff4800;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-size: 1em;
  margin-left: 15px;
  transition: background-color 0.3s;
}
.contact-btn:hover {
  background-color: #ffbf00;
}

/* SIDEBAR styles */
.sidebar {
  position: fixed;
  top: 60px; /* below header */
  left: 0;
  width: 250px;
  max-width: 80%;
  height: calc(100% - 60px);
  background-color: rgba(18, 1, 37, 0.952);
  padding: 20px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}
.sidebar.active {
  transform: translateX(0);
  box-shadow: 2px 0 12px rgba(0,0,0,0.3);
}

/* Close button inside sidebar */
#closeMenuBtn {
  margin-top: 20px;
  padding: 10px 15px;
  width: 100%;
  background-color: #ff4800 ;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s;
}
#closeMenuBtn:hover {
  background-color: #ff3700;
}   

/* Sidebar header/logo inside sidebar */
.sidebar .logo {
  color: #ecf0f1;
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 3
  0px;
  font-weight: bold;
}

/* Sidebar menu styles */
.menu {
  list-style: none;
}
.menu li {
  margin-bottom: 10px;
  position: relative;
}
.menu a {
  display: block;
  padding: 12px 20px;
  color: #ecf0f1;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s;
}
.menu a:hover {
  background-color: #34495e;
}

/* Dropdown menu styles */
.dropdown {
  position: relative;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background-color: #34495e;
  min-width: 200px;
  border-radius: 4px;
  overflow: hidden;
  z-index: 100;
}
.dropdown:hover .dropdown-content {
  display: block;
}

/* MAIN CONTENT */
.content {
  padding: 80px 20px 20px 20px;
  margin-top: 60px; /* below header */
  transition: margin-left 0.3s ease;
}
body.sidebar-active .content {
  margin-left: 250px;
}

/* Responsive behavior */
@media (max-width: 768px) {
  /* Sidebar overlays content, no margin shift */
  body.sidebar-active .content {
    margin-left: 0;
  }
  /* Sidebar width on small screens */
  .sidebar {
    width: 200px;
  }
  /* Adjust search container width if needed */
  .search-container {
    max-width: 150px;
  }
  /* Make header elements more compact if needed */
  .logo {
    font-size: 1.4em;
  }
  #openMenuBtn {
    font-size: 1.5em;
  }
}


/* Adjust header layout for centered search */
.header {
  justify-content: space-between; /* default spacing */
}

/* Wrap logo, search, and contact button in a flex container for better control */
.header {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 60px;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #22ff00;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1100;
}

/* Container for logo and contact button to stay on sides */
.header-left, .header-right {
  display: flex;
  align-items: center;
}

/* For the search to be centered, make the header a flex container with space-around or use absolute positioning */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Create a wrapper around the search to center it */
.header {
  position: relative;
}

.search-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 500px;
  width: 100%;
  display: flex;
  align-items: center;
}

.search-container {
  flex: 1;
  display: flex;
  border-radius: 4px;
  overflow: hidden;
}

/* Remove margin from search container */
.header-left {
  flex: 1;
  display: flex;
  align-items: center;
}

/* Adjust the header layout to have space between logo and contact button, with search in the center */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  padding: 0 20px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1100;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
}

.search-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 500px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-container {
  display: flex;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.search-container input {
  flex: 1;
  padding: 18px 12px;
  border: none;
  outline: none;
  font-size: 1em;
}

.search-btn {
  background-color: #f73803;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  color: #fff;
  font-size: 1em;
  transition: background-color 0.3s;
}

.search-btn:hover {
  background-color: #ff0000;
}

.logo img {
  height: 60px; /* Adjust height as needed */
  width: auto; /* Maintain aspect ratio */
  display: block;
}
.liness{
    color: #ff2a00;
}


/* icons */



    /* Container for icons */
    .social-icons {
      display: flex;
      gap: 15px;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      margin: 20px;
    }

    /* Style for each icon link */
    .social-icons a {
      font-size: 2rem; /* Responsive size */
      padding: 10px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      text-decoration: none;
    }

    /* Specific colors for each platform */
    .whatsapp {
      color: #25D366;
    }

    .whatsapp:hover {
      color: #1DA851; /* Slightly darker on hover */
    }

    .instagram {
      color: #E1306C;
    }

    .instagram:hover {
      color: #C13584; /* Slightly darker on hover */
    }

    .youtube {
      color: #FF0000;
    }

    .youtube:hover {
      color: #CC0000; /* Darker on hover */
    }

    .facebook {
      color: #1877F2;
    }

    .facebook:hover {
      color: #0F5EDC; /* Darker on hover */
    }

    .linkedin {
      color: #ffffff;
    }

    .linkedin:hover {
      color: #003552; /* Darker on hover */
    }

     

    /* Responsive adjustments */
    @media (max-width: 600px) {
      .social-icons a {
        font-size: 1.5rem;
        padding: 8px;
       
      }
    }

/* end icon */

/* slidr */

#suggestions {
    position: absolute;
    top: 45px; /* height of input + spacing */
    width: 100%;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    display: none; /* Hidden by default */
    z-index: 1000;
  }

  .suggestion {
    padding: 10px;
    cursor: pointer;
  }

  .suggestion:hover {
    background-color: #f0f0f0;
  }

  /* Error message styling */
  #errorMessage {
    margin-top: 10px;
    color: red;
    font-weight: bold;
    display: none;
  }
/* end slider */
