/* terms.css – Identical premium look to privacy.css */
.terms-main {
  margin-top: 100px;
  background: linear-gradient(135deg, #f5f9ff 0%, #eef4ff 100%);
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
}

.terms-hero {
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.terms-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><path d="M0,100 C300,300 700,0 1000,100 L1000,300 L0,300 Z" fill="%2327aae1" opacity="0.07"/></svg>') center/cover no-repeat;
  z-index: 0;
}

.terms-hero .container {
  position: relative;
  z-index: 1;
}

.terms-hero h1 {
  font-size: 68px;
  font-weight: 800;
  background: linear-gradient(90deg, #262262 0%, #27aae1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.terms-hero .subtitle {
  font-size: 22px;
  color: #555;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.terms-content {
  padding: 60px 20px 140px;
}

.content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  padding: 70px 80px;
  border-radius: 28px;
  box-shadow: 0 25px 80px rgba(38, 34, 98, 0.12);
  border: 1px solid rgba(39, 170, 225, 0.1);
  line-height: 1.9;
  font-size: 17px;
  color: #333;
  position: relative;
  overflow: hidden;
}

.content-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(to bottom, #27aae1, #262262);
  border-radius: 4px;
}

.content-wrapper h2 {
  font-size: 34px;
  font-weight: 700;
  color: #262262;
  margin: 55px 0 22px;
  position: relative;
  padding-bottom: 14px;
}

.content-wrapper h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 90px;
  height: 5px;
  background: linear-gradient(90deg, #27aae1, #1e90ff);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(39, 170, 225, 0.3);
}

.content-wrapper ul {
  margin: 24px 0;
  padding-left: 8px;
}

.content-wrapper ul li {
  margin-bottom: 16px;
  padding-left: 12px;
  position: relative;
  transition: transform 0.3s ease;
}

.content-wrapper ul li:hover {
  transform: translateX(8px);
}

.content-wrapper ul li::before {
  content: '▹';
  color: #27aae1;
  font-weight: bold;
  position: absolute;
  left: -20px;
  top: 2px;
}

.content-wrapper a {
  color: #27aae1;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.content-wrapper a:hover {
  color: #262262;
}

.content-wrapper a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: #27aae1;
  opacity: 0.4;
  border-radius: 1px;
}

.contact-box {
  background: linear-gradient(135deg, #f8fbff 0%, #f0f7ff 100%);
  padding: 32px 36px;
  border-radius: 18px;
  border-left: 6px solid #27aae1;
  margin-top: 35px;
  font-size: 17px;
  box-shadow: 0 10px 30px rgba(39, 170, 225, 0.1);
  transition: transform 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-5px);
}

.contact-box p {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-box strong {
  color: #262262;
  min-width: 80px;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .terms-hero h1 {
    font-size: 4rem;
  }
  .content-wrapper {
    padding: 60px 60px;
  }
}

@media (max-width: 992px) {
  .terms-hero {
    padding: 80px 20px 60px;
  }
  .terms-hero h1 {
    font-size: 3.5rem;
  }
  .terms-hero .subtitle {
    font-size: 1.2rem;
  }
  .terms-content {
    padding: 50px 20px 120px;
  }
  .content-wrapper {
    padding: 50px 40px;
  }
  .content-wrapper h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .terms-hero {
    padding: 70px 15px 50px;
  }
  .terms-hero h1 {
    font-size: 2.8rem;
  }
  .terms-hero .subtitle {
    font-size: 1.1rem;
  }
  .terms-content {
    padding: 40px 15px 100px;
  }
  .content-wrapper {
    padding: 40px 25px;
    border-radius: 20px;
  }
  .content-wrapper h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
  }
  .content-wrapper {
    font-size: 1rem;
    line-height: 1.8;
  }
  .contact-box {
    padding: 25px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .terms-hero {
    padding: 60px 15px 40px;
  }
  .terms-hero h1 {
    font-size: 2.4rem;
  }
  .terms-hero .subtitle {
    font-size: 1rem;
  }
  .content-wrapper {
    padding: 30px 20px;
  }
  .content-wrapper h2 {
    font-size: 1.6rem;
  }
  .content-wrapper ul li {
    font-size: 0.95rem;
  }
  .contact-box p {
    font-size: 0.95rem;
  }
}