:root {
  --primary: #005a9c;
  --primary-light: #007acc;
  --secondary: #50c878;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --text-dark: #333;
  --text-muted: #6c757d;
  --border: #dee2e6;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 12px;
}

body {
  color:#333;
  line-height: 1.6;
  font:13px Courier, Geneva, sans-serif,serif;
  background:url(../images/bg_body.jpg) repeat-x;
  max-width: 960px;
  margin: 0 auto;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

header {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.3rem;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a:hover,
nav a.active {
  color: var(--primary);
}

main {
  padding: 3rem 0;
}

.hero-support {
  text-align: center;
  padding: 3rem 1rem;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--primary) 0%, #003d66 100%);
  color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.hero-support h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-support p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.search-bar {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.search-bar input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  outline: none;
  font-size: 1rem;
}

.search-bar button {
  background: var(--secondary);
  color: white;
  border: none;
  padding: 0 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.search-bar button:hover {
  background: #45b76a;
}

.faq-section {
  padding: 0 1rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 3rem;
}

.faq-list {
  list-style: none;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.faq-question {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-light);
}

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  padding: 0 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 15px;
  max-height: 500px;
}

.self-service {
  margin: 4rem 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.resource-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.resource-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.resource-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-support {
  margin: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.contact-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-info {
  text-align: left;
  margin-top: 1rem;
}

.contact-info p {
  margin: 0.5rem 0;
  color: var(--text-dark);
}

.contact-info a {
  color: var(--primary);
  font-weight: 600;
}

.note {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-support h1 { font-size: 2rem; }
  .hero-support p { font-size: 1rem; }
  .search-bar {
    flex-direction: column;
  }
  .search-bar input,
  .search-bar button {
    width: 100%;
    border-radius: 0;
  }
  .search-bar button {
    border-top: 1px solid rgba(255,255,255,0.2);
  }
  .section-title { font-size: 1.8rem; }
  .faq-list,
  .resources-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-links { flex-direction: column; gap: 0.5rem; }
}
