:root {
  --bg: #f8f9fa;
  --fg: #343a40;
  --muted: #6c757d;
  --brand: #e63946;
  --brand-2: #d62828;
  --card: #ffffff;
  --border: #dee2e6;
  --accent: #457b9d;
  --accent-light: #a8dadc;
  --dark: #1d3557;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  scroll-behavior: smooth;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--brand);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: var(--bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.brand {
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 1.5rem;
  color: var(--brand);
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.05);
}

.links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.links a {
  opacity: 1;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.links a:not(.btn)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--brand);
  transition: width 0.3s ease;
}

.links a:not(.btn):hover::after {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  background: var(--brand);
  color: white;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:active {
  transform: translateY(2px);
}

.btn:hover {
  background: var(--brand-2);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: white;
}

.hero {
  padding: 120px 0 100px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--accent) 100%);
  color: white;
  text-align: center;
  border-radius: 0 0 50px 50px;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 800;
}

.hero p {
  color: var(--accent-light);
  margin: 0 0 30px;
  font-size: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.section {
  padding: 70px 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--dark);
  position: relative;
  display: inline-block;
}

.section h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--brand);
  bottom: -10px;
  left: 0;
}

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding: 0;
  margin: 40px 0 0;
}

.stats li {
  background: var(--card);
  border: none;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.stats li:hover {
  transform: translateY(-10px);
}

.stats strong {
  font-size: 36px;
  color: var(--brand);
}

.stats span {
  font-weight: 500;
}

.card {
  background: var(--card);
  border: none;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

label span {
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(69, 123, 157, 0.2);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0
}

.status {
  min-height: 20px;
  font-size: 14px
}

.footer {
  padding: 40px 0 60px;
  color: var(--muted);
  text-align: center;
  background: var(--dark);
  color: white;
  margin-top: 60px;
}

/* New styles for HHSN website */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.value-item {
  background: var(--card);
  border: none;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.value-item:hover {
  transform: translateY(-10px);
}

.value-item h3 {
  margin-top: 0;
  color: var(--brand);
  font-size: 1.4rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.value-item h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: var(--accent-light);
  bottom: 0;
  left: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.gallery-placeholder {
  background: var(--card);
  border: none;
  border-radius: 20px;
  padding: 80px 40px;
  text-align: center;
  grid-column: 1 / -1;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  color: var(--muted);
  font-style: italic;
  background: linear-gradient(45deg, var(--accent-light) 0%, var(--bg) 100%);
}

.donate-info {
  margin: 30px 0;
  background: rgba(255,255,255,0.7);
  padding: 30px;
  border-radius: 15px;
}

.donate-info p {
  margin: 12px 0;
  font-size: 1.05rem;
}

.donate-info strong {
  color: var(--dark);
}

.contact-info {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.contact-info p {
  margin: 15px 0;
  font-size: 1.1rem;
}

.contact-info strong {
  color: var(--dark);
}

.section h3 {
  margin-top: 50px;
  color: var(--accent);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.section ul {
  padding-left: 20px;
  margin-bottom: 30px;
}

.section ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 10px;
}

.section ul li::before {
  content: "•";
  color: var(--brand);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

@media (max-width:900px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .hero h1 {
    font-size: 36px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .nav {
    flex-direction: column;
    gap: 20px;
  }
  
  .links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Add Google Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
