/* =========================================
   HERO SECTION + BACKGROUND IMAGE STYLING
========================================= */
.background-container {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 60vh;
  background-image: url(../images/team-brainstorming-session.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* ================================
   Hero Banner Section
================================== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background: none;
}

.hero-overlay {
  position: absolute;
  top: 1px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
  z-index: 10;
}

.breadcrumb {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 3.5rem;
  opacity: 0.8;
  color: white;
}

.page-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: capitalize;
  margin: 0;
  color: white;
}

section.hero-banner + .about-us {
  margin-top: 20px;
}

.animate-left,
.animate-right {
  opacity: 0;
}

.animate-now.animate-left {
  animation: slideInLeft 1s ease-out forwards;
}

.animate-now.animate-right {
  animation: slideInRight 1s ease-out forwards;
}


/* =========================================
   TERMS OF SERVICE SECTION
========================================= */
.terms-of-service {
  padding: 50px 20px;
  max-width: 900px;
  margin: 50px auto;
  border-radius: 8px;
}

.container {
  width: 90%;
  margin: 0 auto;
  text-align: left;
}

/* =========================================
   TYPOGRAPHY & CONTENT STYLING
========================================= */
h1 {
  font-size: 32px;
  font-weight: bold;
  color: #D02B2F;
  text-align: center;
  margin-bottom: 20px;
}

h2 {
  font-size: 24px;
  font-weight: 600;
  color: #222;
  padding-bottom: 10px;
  margin-top: 30px;
}

p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
  padding-left: 30px;
}

ul {
  margin: 10px 0;
  padding-left: 20px;
}

li {
  font-size: 16px;
  margin-bottom: 5px;
}


/* =========================================
   SCROLL TO TOP BUTTON
========================================= */
#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #0e4d92;
  color: white;
  cursor: pointer;
  padding: 12px;
  border-radius: 50%;
  display: none;
  transition: background-color 0.3s;
}

#scrollToTopBtn:hover {
  background-color: #555;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-left {
  animation: slideInLeft 1s ease-out forwards;
}

.animate-right {
  animation: slideInRight 1s ease-out forwards;
}


@media (max-width: 768px) {
  .hero-banner {
    height: 200px;
  }

  .breadcrumb {
    font-size: 0.9rem;
  }

  .page-title {
    font-size: 1.8rem;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  p, li {
    font-size: 14px;
    padding-left: 20px;
  }

  .terms-of-service {
    padding: 30px 15px;
    margin: 30px auto;
  }

  .container {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.5rem;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 18px;
  }

  p, li {
    font-size: 13px;
    padding-left: 15px;
  }

  #scrollToTopBtn {
    bottom: 20px;
    right: 20px;
    padding: 10px;
    font-size: 16px;
  }
}