* {
    font-family: Google Sans, sans-serif, Arial;
    transition: 1.5ms ease;
    box-sizing: border-box;
}

body {
    background: #F3F2F2;
    margin: 0;
    padding: 0;
    cursor: none;
}

html, body {
    width: 100%;
    height: 100%;
}   

/* Custom cursor styling */
.custom-cursor {
  width: 15px;
  height: 15px;
  background-color: rgba(0, 150, 255, 0.8); /* Light blue color */
  border-radius: 50%;
  position: absolute;
  pointer-events: none; /* Prevents interfering with clicks */
  transition: transform 0.1s ease; /* Smooth follow effect */
  transform: translate(-50%, -50%); /* Center the circle on the cursor */
  z-index: 9999; /* Brings cursor in front of all other content */
}

/* Base state for hidden sections */
.section {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* State when the section is in view */
.section.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Navbar Styles */
nav {
  color: black;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1rem .1rem;
  z-index: 1000;
  border: solid 1px black;
}

/* Logo */
nav .logo img {
  height: 80px;
  border: 1px solid black;
  border-radius: 10px;
}

/* Menu Styles */
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li {
  padding: 0.5rem 1rem;
}

nav ul li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: color .5s ease, border-color .5s ease;
}

nav ul li a:hover {
  color: blue;
  border-color: black;
}



/* Hamburger Menu */
.menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: 100%;
  padding: 1rem 0;
  gap: 1rem;
  align-items: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  nav ul {
      display: none;
  }

  nav .logo img {
      height: 60px;
  }    

  .menu-icon {
      display: block;
  }
}

  /* Haribot CSS*/

  #haribot {
    padding: 0 50px;
    margin-top: -4rem;
    object-fit: contain;
  }

  #faqs {
    display: flex;
    margin-top: 150px;
    padding: 50px 50px;
    background: url("../assets/bg3.png");
    background-size: cover;
  }

  #FAQ {
    text-align: center;
    font-size: 50px;
    margin-top: 10rem;
    margin-bottom: -10rem;
    font-weight: bold;
  }

  .accordion {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 100px;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    width: 100%;
    padding: 20px; /* Increased padding */
    background-color: #4ba4b2;
    color: #fff;
    font-size: 18px; /* Increased font size */
    font-weight: bold;
    text-align: left;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #45a049;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background-color: #f9f9f9;
    transition: max-height 0.3s ease;
    padding: 0 20px; /* Increased padding for content */
}

.accordion-content p {
    margin: 15px 0; /* Increased margin to add space between paragraphs */
    font-size: 16px;
    line-height: 1.5;
}

/* Footer CSS */
footer {
  background-color: #f0f0f0;
  color: black;
  padding: 20px;
  text-align: center;
}

.footer-section {
  margin-bottom: 15px;
}

.footer-section h2 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

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

.footer-section ul li {
  display: inline;
  margin: 0 10px;
}

.footer-section a {
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: rgb(165, 183, 0);
  text-decoration: underline;
}

.footer-section p {
  margin: 5px 0;
  font-size: 0.9em;
}


/* Responsive adjustments for the accordion */
@media (max-width: 1200px) {
  .accordion {
      width: 80%;
      margin: 0 auto; /* Centering the accordion */
  }
}

@media (max-width: 992px) {
  .accordion {
      width: 90%;
      padding: 10px;
  }

  .accordion-header {
      font-size: 16px; /* Slightly smaller font size */
      padding: 15px;
  }

  .accordion-content p {
      font-size: 15px;
  }
}

@media (max-width: 768px) {

  .nav-links {
    flex-direction: column;
    gap: 10px;
}

.nav-links a {
    font-size: 16px;
}
  #faqs {
      flex-direction: column;
      padding: 20px;
  }

  #haribot {
      width: 100%; /* Full width for image on small screens */
      padding: 0 50px;
      margin-bottom: 20px;
  }

  .accordion {
      width: 80%;
      margin-right: 30px;
  }

  .accordion-header {
      font-size: 16px;
      padding: 15px;
  }

  .accordion-content {
      padding: 10px 15px;
  }

  .accordion-content p {
      font-size: 14px;
      margin: 10px 0;
  }
}

@media (max-width: 576px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 10px;
}
  #haribot {
    margin-top: -10px;
  }

  .accordion-header {
      font-size: 14px; /* Smaller font size for very small screens */
      padding: 12px;
  }

  .accordion-content {
      padding: 8px 12px;
  }

  .accordion-content p {
      font-size: 13px;
  }
}
