* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
    /* Light background for the page */
}

/* Navbar styles */
.navbar {
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;  /* Set fixed height */
    background-color: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

/* Logo */
.logo img {
    height: 80px;
    width: 120px;
    object-fit: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

/* Navigation links */
.nav-links {
    display: flex;
    list-style: none;
    font-weight: 500;
    padding: 1rem 0;
}

/* Navigation items */
.navlink-items {
    margin: 0 1rem;
}

/* Navigation links */
.navlink-items a {
    font-size: 18px;
    color: #080808;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.navlink-items a:hover,
.navlink-items a.active {
    color: white;
    background-color: #1683e9;
}

/* Burger menu */
.burger {
    display: none;
    font-size: 30px;
    color: #080808;
    cursor: pointer;
    z-index: 20;
    position: relative;
}

.close {
    display: none;
    font-size: 30px;
    color: #080808;
    cursor: pointer;
    z-index: 20;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* TERMS AND CONDITIONS STYLES */
.container {
    max-width: 900px;
    margin: 60px auto;
    padding: 20px 30px;
    background-color: #ffffff;
    color: #333;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    line-height: 1.7;
    font-size: 16px;
}

.container h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1a1a1a;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 10px;
}

.container h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #007BFF;
}

.container p,
.container li {
    margin-bottom: 15px;
}

.container ul {
    padding-left: 20px;
    list-style-type: disc;
}

.container a {
    color: #007BFF;
    text-decoration: none;
}

.container a:hover {
    text-decoration: underline;
}

.footer {
    height: fit-content;
    padding: 2rem;
    background: black;
    color: white;
}

.main-footer {
    display: flex;
    gap: 40px;
    justify-content: space-around;
    align-items: flex-start;
    /* Align items at the start */
    flex-wrap: wrap;
    /* Allow items to wrap on smaller screens */
}

.footer-partone {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Change 'start' to 'flex-start' */
    gap: 0.8rem;
    font-size: 14px;
}

.footer-subhead {
    font-size: 26px;
}

.footer-partone p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-partone span a:hover {
    color: rgb(231, 229, 229);
    text-decoration: underline;
}

.footer-parttwo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Change 'start' to 'flex-start' */
    gap: 1.4rem;
}

.footer-parttwo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-description {
    display: flex;
    align-items: start;
    gap: 10px;
}

.sub-footer {
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.7);
}

/* legal footer */
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Changed from flex-end to flex-start */
  gap: 1rem;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Heading */
.footer-legal .footer-subhead {
  font-size: 20px;
  font-weight: 600;
  color: white;
}

/* Line */
.footer-legal hr,
.footer-legal span {
  height: 2px;
  width: 100px;
  background-color: white;
  border: none;
  margin: 0;
}

/* List */
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal ul li {
  margin: 6px 0;
}

.footer-legal ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal ul li a:hover {
  color: white;
  text-decoration: underline;
}


@media (max-width: 768px) {
  .footer-legal {
    align-items: center;
    text-align: center;
  }

  .footer-legal .footer-subhead {
    font-size: 18px;
  }

  .footer-legal span {
    width: 60px;
  }

  .footer-legal ul li {
    margin: 4px 0;
  }
}

@media (max-width: 480px) {
  .footer-legal {
    font-size: 12px;
    gap: 0.8rem;
  }

  .footer-legal .footer-subhead {
    font-size: 16px;
  }

  .footer-legal span {
    width: 50px;
  }

  .footer-legal ul li a {
    font-size: 13px;
  }
}


/* Responsive styles */
@media (max-width: 768px) {
    .main-footer {
        flex-direction: column-reverse;
        /* Stack items vertically */
        align-items: center;
        /* Center align for smaller screens */
        text-align: center;
        /* Center text */
        gap: 2rem;
    }

    .footer-partone,
    .footer-parttwo {
        align-items: center;
        /* Center align items */
        gap: 0.4rem;
        /* Adjust gap for better spacing */
    }

    .footer-subhead {
        font-size: 24px;
        /* Slightly smaller for mobile */
    }

    .footer-partone span {
        font-size: 12px;
        /* Smaller links */
    }

    .footer-parttwo span {
        font-size: 14px;
        /* Smaller phone numbers */
    }
}

@media (max-width: 480px) {
    .footer-subhead {
        font-size: 16px;
        /* Even smaller for very small screens */
    }

    .footer-partone span {
        font-size: 16px;
        /* Smaller links */
    }

    .footer-parttwo span {
        font-size: 16px;
        /* Smaller phone numbers */
    }
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .container {
        padding: 20px 15px;
        font-size: 15px;
    }

    .container h1 {
        font-size: 28px;
    }

    .container h2 {
        font-size: 20px;
    }
}

/* Media queries for responsiveness */
@media (max-width: 768px) {

    .burger {
        display: block;
    }

    .close {
        display: none;
    }

    .nav-links {
        display: none;
        z-index: 15;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 70px;  /* Match navbar height */
        left: 0;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
        padding: 20px 0;
    }

    .navlink-items {
        margin: 15px 0;
    }

    .close.active {
        display: block;
    }
}

