:root {
    --primary: #0B3D91;
    --primary-light: #1E56D8;
    --secondary: #D71E28;
    --accent: #FF9F1C;
    --dark: #1A2930;
    --light: #F5F7FA;
    --gray: #8A9A9D;
    --white: #FFFFFF;
    --success: #2ECC71;
    --error: #E74C3C;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.12);
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
  }

  body {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light) 0%, #E6EFF5 100%);
    color: var(--dark);
    line-height: 1.6;
    padding: 0;
    overflow-x: hidden;
  }

  .header-container {
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 1.5rem 0;
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  .header-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.7;
  }

  .header-content {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .logo {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
  }

  .header-title {
    font-size: 1.8rem;
    font-weight: 700;
  }

  .header-subtitle {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.2rem;
  }

  .language-selector {
    display: flex;
    gap: 0.5rem;
  }

  .language-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
  }

  .language-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
  }

  .language-btn:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  .container {
    width: 90%;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
  }

.alert {
  padding: 1.4rem 1.6rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  animation: slideIn 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  background: linear-gradient(145deg, #fff5f5, #ffebeb);
  color: #e53e3e;
  box-shadow: 0 4px 20px rgba(229, 62, 62, 0.15),
              0 1px 6px rgba(0, 0, 0, 0.05),
              inset 0 -1px 0 rgba(255, 255, 255, 0.4);
  border: none;
  position: relative;
  overflow: hidden;
  font-family: 'Segoe UI', system-ui, sans-serif;
  transition: all 0.3s ease;
}

.alert::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, #e53e3e, #c53030);
  border-radius: 12px 0 0 12px;
}

.alert:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(229, 62, 62, 0.2),
              0 2px 8px rgba(0, 0, 0, 0.08);
}

.alert.success {
  background: linear-gradient(145deg, #f0fff4, #e6ffed);
  color: #2f855a;
  box-shadow: 0 4px 20px rgba(72, 187, 120, 0.15),
              0 1px 6px rgba(0, 0, 0, 0.05),
              inset 0 -1px 0 rgba(255, 255, 255, 0.4);
}

.alert.success::before {
  background: linear-gradient(to bottom, #38a169, #2f855a);
}

.alert-icon {
  font-size: 1.8rem;
  z-index: 1;
  flex-shrink: 0;
}

.alert-content {
  z-index: 1;
}

.alert-content p {
  margin: 0;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.alert .close-btn {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
  padding: 0.2rem;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1;
}

.alert .close-btn:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.05);
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

  .search-section {
    margin-bottom: 3rem;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }

  .section-title i {
    color: var(--primary);
  }

  .search-form {
    width: 100%;
  }

  .input-group {
    position: relative;
    margin-bottom: 1rem;
  }

  .search-input {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3.5rem;
    border: 2px solid var(--light);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    color: var(--dark);
    transition: var(--transition);
    background-color: var(--light);
  }

  .search-input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.1);
  }

  .search-input::placeholder {
    color: var(--gray);
  }

  .input-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1.2rem;
  }

  .search-button {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(to right, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
  }

  .search-button:hover {
    background: linear-gradient(to right, var(--primary-light) 0%, var(--primary) 100%);
    box-shadow: 0 6px 15px rgba(11, 61, 145, 0.3);
    transform: translateY(-2px);
  }

  .search-button:active {
    transform: translateY(0);
  }

  .example-text {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 0.8rem;
  }

  .help-section {
    margin-top: 3rem;
  }

  .help-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .help-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.8rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border-top: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .help-card:nth-child(2) {
    border-top-color: var(--accent);
  }

  .help-card:nth-child(3) {
    border-top-color: var(--secondary);
  }

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

  .card-icon {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: var(--primary);
  }

  .help-card:nth-child(2) .card-icon {
    color: var(--accent);
  }

  .help-card:nth-child(3) .card-icon {
    color: var(--secondary);
  }

  .help-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
  }

  .help-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
  }

  .card-link {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    margin-top: auto;
  }

  .card-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
  }

  .help-card:hover .card-link i {
    transform: translateX(4px);
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(26, 41, 48, 0.8);
    animation: fadeIn 0.3s ease;
  }

  .modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 700px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideUp 0.4s ease;
  }

  .close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    color: var(--gray);
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
  }

  .close:hover {
    color: var(--dark);
  }

  .modal-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }

  .modal-body {
    color: var(--dark);
    line-height: 1.7;
  }

  .modal-body p {
    margin-bottom: 1.2rem;
  }

  .modal-list {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .modal-list li {
    margin-bottom: 0.5rem;
  }

  .contact-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light);
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
  }

  .contact-item i {
    color: var(--primary);
    width: 20px;
  }

  footer {
    background: var(--dark);
    color: var(--white);
    padding: 2.5rem 0;
    margin-top: 3rem;
  }

  .footer-content {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
  }

  .footer-logo {
    flex: 1;
    min-width: 250px;
  }

  .footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

  .footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .footer-links {
    flex: 1;
    min-width: 200px;
  }

  .footer-title {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
  }

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

  .footer-list li {
    margin-bottom: 0.6rem;
  }

  .footer-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-list a:hover {
    color: var(--white);
  }

  .footer-list a i {
    font-size: 0.8rem;
  }

  .copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes slideIn {
    from { 
      opacity: 0;
      transform: translateY(-10px);
    }
    to { 
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes slideUp {
    from { 
      opacity: 0;
      transform: translateY(30px);
    }
    to { 
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (max-width: 768px) {
    .header-content {
      flex-direction: column;
      text-align: center;
      gap: 1rem;
    }

    .logo-container {
      justify-content: center;
    }

    .header-title {
      font-size: 1.5rem;
    }

    .container {
      padding: 1.5rem;
      margin: 1.5rem auto;
    }

    .modal-content {
      padding: 1.8rem;
    }

    .footer-content {
      flex-direction: column;
      gap: 2rem;
    }
  }

  @media (max-width: 480px) {
    .header-title {
      font-size: 1.3rem;
    }

    .header-subtitle {
      font-size: 0.9rem;
    }

    .search-input {
      padding: 1rem 1rem 1rem 3rem;
      font-size: 1rem;
    }

    .input-icon {
      left: 1rem;
    }

    .help-cards {
      grid-template-columns: 1fr;
    }

    .modal-content {
      padding: 1.5rem;
    }

    .modal-title {
      font-size: 1.3rem;
    }
  }