/* Terms Hero */
.terms-hero {
  background: linear-gradient(rgba(29, 32, 36, 0.8), rgba(29, 32, 36, 0.8)),
    url("../../images/hero-bg12.jpg") center/cover no-repeat;
  height: 100vh;
  min-height: 500px;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
  margin-top: 80px;
}

.terms-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.terms-hero .lead {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.last-revised {
  background-color: rgba(255, 255, 255, 0.1);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
}

.last-revised i {
  margin-right: 8px;
}

/* Terms Content */
.terms-content {
  padding: 80px 0;
  background-color: var(--light-color);
}

.terms-navigation {
  background-color: var(--white);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  position: sticky;
  top: 20px;
}

.terms-navigation h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.terms-nav-links {
  list-style: none;
}

.terms-nav-links li {
  margin-bottom: 10px;
}

.terms-nav-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.terms-nav-links a:hover {
  color: var(--accent-color);
}

.terms-main-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.terms-article {
  margin-bottom: 50px;
}

.terms-article h2 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-color);
}

.terms-article h3 {
  color: var(--accent-color);
  margin: 25px 0 15px;
  font-size: 1.3rem;
}

.terms-article p,
.terms-article ul {
  margin-bottom: 15px;
  line-height: 1.7;
  color: var(--text-light);
}

.terms-article ul {
  padding-left: 20px;
}

.terms-article li {
  margin-bottom: 8px;
}

.terms-notice {
  background-color: rgba(57, 125, 241, 0.1);
  border-left: 4px solid var(--accent-color);
  padding: 20px;
  margin: 25px 0;
  display: flex;
  align-items: flex-start;
}

.terms-notice.warning {
  background-color: rgba(241, 143, 57, 0.1);
  border-left-color: #f18f39;
}

.terms-notice i {
  margin-right: 15px;
  font-size: 1.2rem;
  color: var(--accent-color);
}

.terms-notice.warning i {
  color: #f18f39;
}

.terms-notice p {
  margin: 0;
  flex: 1;
}

.acceptance-section {
  margin-top: 60px;
  text-align: center;
}

.acceptance-box {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  display: inline-block;
  max-width: 600px;
}

.acceptance-box h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

/* Responsive Styles */
@media (min-width: 992px) {
  .terms-content .container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    align-items: start;
  }

  .terms-navigation {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .terms-hero h1 {
    font-size: 2.2rem;
  }

  .terms-hero .lead {
    font-size: 1.1rem;
  }

  .terms-main-content {
    padding: 25px;
  }

  .terms-article h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .terms-hero {
    height: 40vh;
    min-height: 350px;
  }

  .terms-hero h1 {
    font-size: 1.8rem;
  }

  .terms-article h3 {
    font-size: 1.1rem;
  }

  .acceptance-box {
    width: 100%;
    padding: 20px;
  }
}
