/* Reset and base styles */
* {
    box-sizing: border-box;
  }
  
  body {
    background-color: #fafafa;
    font-family: Raleway, Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
  }
  
  h2 {
    text-align: center;
    font-size: 2rem;
    color: #3b82f6;
    margin-top: 2rem;
  }
  
  p {
    text-align: center;
    border-radius: 10px;
    border: 1.5px solid #3b82f6;
    background-color: #f3f4f6;
    width: 80%;
    margin: 1rem auto;
    padding: 1rem;
  }
  
  .imgdiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
  }
  
  img {
    border-radius: 1.5rem;
    width: 50%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  h3 {
    padding: 1rem;
    text-align: center;
    color: #3b82f6;
  }
  
  .reviews {
    margin-top: 2rem;
    padding: 1rem;
  }
  
  .review {
    margin: 1rem 0;
    padding: 0.5rem;
    border: 1px solid #3b82f6;
    border-radius: 5px;
    background-color: #fff;
  }
  
  /* Footer Styles */
  footer {
    background-color: #374151;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
    width: 100%;
    margin-top: auto;
    display: flex; /* Enable flexbox */
    flex-direction: column; /* Align items in a column */
    align-items: center; /* Center items horizontally */
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    display: flex; /* Enable flexbox for footer content */
    flex-direction: column; /* Align items in a column */
    align-items: center; /* Center items horizontally */
  }
  
  /* Override Footer Paragraph Styles */
  footer p {
    text-align: center;
    background-color: transparent; /* Remove background color */
    color: #6B7280;
    border: none; /* Remove border */
    border-radius: 0; /* Remove border-radius */
    margin: 5px 0; /* Keep specific margin for footer */
    padding: 0; /* Remove padding for footer paragraphs */
  }
  
  .social-media {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
  }
  
 
  
  .social-media a {
    color: #60a5fa;
    text-decoration: none;
    font-size: 1.2rem;
  }
  
  .social-media a:hover {
    text-decoration: underline;
  }
  
  /* Navigation Styles */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #374151;
  }
  
  .navbar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
  }
  
  .navbar-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
  }
  
  .navbar-menu li {
    margin: 0 1rem;
  }
  
  .navbar-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
  }
  
  .navbar-menu a:hover {
    color: #60a5fa;
    border-radius: 5px;
  }
  
  /* Navigation Toggle for Small Screens */
.nav-toggle {
  display: none;
  font-size: 2.5em;
  cursor: pointer;
  transition: font-size 0.3s ease; /* Smooth transition */
}


  /* Responsive Styles */
  @media (max-width: 768px) {
    .navbar-menu {
      display: none;
      flex-direction: column;
      position: fixed;
      top: 0;
      left: 0;
      width: 40%; /* Full width */
      height: 100vh; /* Full height */
      background-color: white;
      z-index: 120; /* Ensure it is below the toggle */
      padding-top: 90px; /* Space for header */
      opacity: 1; /* Always visible when active */
      transform: translateX(-100%); /* Initially off-screen */
      transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .navbar-menu a {
      color: #374151; /* Set to white explicitly */
  }

  .navbar-menu.active {
    color: #374151 !important;
    display: flex;
    opacity: 1;
    transform: translateX(0);
  
   
      
  }
  .navbar-menu.active a{
    padding: 10px 15px;
  }

  .navbar-menu li {
      display: block;
      margin: 12px 0;
      text-align: center;
  }

  .navbar-toggle {
      display: block;
      font-size: 1.5em;
      cursor: pointer;
      color: white;
      transition: font-size 0.3s ease; /* Smooth transition */
  }

  .navbar-toggle.active {
    font-size: 1.5em; /* Keep the size consistent for the active state */
  }

  .navbar-toggle:before {
      content: "\2630";
      /* Hamburger icon */
  }

  .navbar-toggle.active:before {
      content: "\2715";
      /* Close icon */
  }
  /* Additional styles for other sections (like imgdiv, reviews, footer, etc.) */
.imgdiv {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem 0;
}

img {
  border-radius: 1.5rem;
  width: 50%;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

h3 {
  padding: 1rem;
  text-align: center;
  color: #3b82f6;
}

.reviews {
  margin-top: 2rem;
  padding: 1rem;
}

.review {
  margin: 1rem 0;
  padding: 0.5rem;
  border: 1px solid #3b82f6;
  border-radius: 5px;
  background-color: #fff;
}





footer {
  padding: 10px; /* Slightly reduce padding on smaller screens */
}

footer p {
  font-size: 0.9rem; /* Slightly smaller text */
}

.social-media {
  gap: 15px;
}

.social-media a {
  font-size: 1rem; /* Slightly smaller icon text */
  color: #60a5fa;
  text-decoration: none;
}


.social-media a:hover {
  text-decoration: underline;
}

}

@media (max-width: 480px) {
  .navbar {
      flex-direction: column;
      align-items: flex-start;
  }

  .nav-menu {
      width: 100%;
  }

  .nav-toggle {
      font-size: 1.2em;
  }

  footer {
    padding: 8px; /* Further reduce padding on extra small screens */
}

footer p {
    font-size: 0.8rem; /* Smaller text for extra small screens */
}

.social-media {
  gap: 8px;
}
.social-media a {
  font-size: 0.8rem; /* Reduce font size for icons */
}

  }

