/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
  min-height: 100vh;
}

/* Main Container */
body {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 50px 60px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Typography */
h2 {
  color: #2c3e50;
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid #667eea;
  font-weight: 600;
}

h2:first-of-type {
  margin-top: 0;
  font-size: 2.5em;
  color: #667eea;
  text-align: center;
  border-bottom: none;
  margin-bottom: 10px;
}

h3 {
  color: #34495e;
  font-size: 1.4em;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

p {
  margin-bottom: 16px;
  text-align: justify;
  color: #555;
  font-size: 1em;
}

body > p:first-of-type {
  text-align: center;
  color: #7f8c8d;
  font-style: italic;
  margin-bottom: 30px;
  font-size: 0.95em;
}

body > p:nth-of-type(2) {
  text-align: center;
  color: #e74c3c;
  font-weight: 500;
  background: #ffe6e6;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #e74c3c;
  margin-bottom: 40px;
}

/* Lists */
ul {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

ul li {
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
  line-height: 1.8;
}

ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #667eea;
  font-size: 1.2em;
  font-weight: bold;
}

ul li p {
  margin-bottom: 8px;
}

/* Links */
a {
  color: #667eea;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

a:hover {
  color: #764ba2;
  border-bottom: 1px solid #764ba2;
}

/* Strong Text */
strong {
  color: #2c3e50;
  font-weight: 600;
}

/* Section Styling */
h2 + p {
  margin-top: 15px;
}

/* Special Sections */
h2:contains("Contact Us") + p,
h2:last-of-type + p {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #667eea;
}

/* Last Updated Text */
body > p:first-of-type::before {
  content: "📅 ";
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 30px 25px;
    margin: 10px;
  }

  h2 {
    font-size: 1.6em;
  }

  h2:first-of-type {
    font-size: 2em;
  }

  h3 {
    font-size: 1.2em;
  }

  p {
    text-align: left;
  }
}

@media (max-width: 480px) {
  body {
    padding: 20px 15px;
    margin: 5px;
  }

  h2 {
    font-size: 1.4em;
  }

  h2:first-of-type {
    font-size: 1.8em;
  }

  ul li {
    padding-left: 25px;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
    box-shadow: none;
    padding: 20px;
  }

  h2:first-of-type {
    color: #000;
  }

  a {
    color: #000;
    border-bottom: 1px solid #000;
  }
}
