/* terms.css */
:root {
  --primary-color: #2f6690;
  --secondary-color: #3a7ca5;
  --background-color: #d9dcd6;
  --text-color: #16425b;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.5rem;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  position: relative;
}

.logo {
  width: 150px;
  max-width: 100%;
}

.desktop-menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.desktop-menu a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text-color);
}

.desktop-menu a:hover {
  color: var(--primary-color);
}

/* Hamburger icon */
.hamburger {
  display: none;
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 999;
}

.mobile-menu a {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
}

.mobile-menu a.btn-primary {
  background: var(--primary-color);
  color: white;
  margin: 1rem;
  text-align: center;
  border-radius: 5px;
}

.mobile-menu.show {
  display: flex;
}

/* ===== HERO SECTION ===== */
.hero {
  background: var(--primary-color);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
}

/* ===== TERMS SECTIONS ===== */
.section {
  padding: 30px 0;
  text-align: left;
}

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.section p,
.section li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #374151;
}

.section ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.terms-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.terms-list li {
  margin-bottom: 1.5rem;
}

/* Button */
.btn-primary {
  background: var(--secondary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: var(--primary-color);
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .header {
    justify-content: center;
  }

  .logo {
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section h2 {
    font-size: 1.3rem;
  }
}
