:root {
    --card-bg: #ffffff;
    --border-color: #dee2e6;
    --text-light: #6c757d;
    --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);
    --shadow-hover: 0 0.5rem 1rem 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;
}

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;
}

section {
    margin-bottom: 3rem;
}

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

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.category-description {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-hover);
}

.card-content {
    padding: 1.5rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 0.25rem;
    font-weight: bold;
    transition: background-color 0.15s ease-in-out;
}

.btn:hover {
    background-color: #0056b3;
    text-decoration: none;
}

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

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 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; }
    .cards-grid {
        grid-template-columns: 1fr;
    }
}
