
    :root {
      --primary: #2563eb;
      --secondary: #0f172a;
      --bg: #f8fafc;
      --card: #ffffff;
      --muted: #64748b;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--secondary);
      line-height: 1.6;
    }

    header {
      background: linear-gradient(135deg, #2563eb, #1e40af);
      color: white;
      padding: 80px 20px;
    }

    .container {
      max-width: 1100px;
      margin: auto;
      padding: 0 20px;
    }

    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 60px;
      flex-wrap: wrap;
      gap: 16px;
    }

    nav strong {
      font-size: 18px;
      letter-spacing: 1px;
    }

    nav a {
      color: white;
      text-decoration: none;
      margin-left: 20px;
      font-weight: 500;
      opacity: 0.9;
    }

    nav a:hover {
      opacity: 1;
    }

    .lang button {
      margin-left: 8px;
      padding: 6px 12px;
      border-radius: 20px;
      border: none;
      cursor: pointer;
      font-weight: 600;
      background: white;
      color: var(--primary);
    }

    .hero h1 {
      font-size: 48px;
      max-width: 650px;
      line-height: 1.2;
    }

    .hero p {
      margin: 20px 0 32px;
      max-width: 520px;
      opacity: 0.95;
    }

    .btn {
      display: inline-block;
      background: white;
      color: var(--primary);
      padding: 14px 28px;
      border-radius: 999px;
      font-weight: 600;
      text-decoration: none;
      transition: transform 0.2s ease;
    }

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

    section {
      padding: 80px 0;
    }

    h2 {
      font-size: 36px;
      margin-bottom: 20px;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 24px;
      margin-top: 40px;
    }

    .card {
      background: var(--card);
      padding: 28px;
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

    .card h3 {
      margin-bottom: 10px;
    }

    .card p {
      color: var(--muted);
    }

    footer {
      background: #020617;
      color: #cbd5f5;
      padding: 40px 0;
      text-align: center;
      font-size: 14px;
    }

    @media (max-width: 768px) {
      .hero h1 {
        font-size: 36px;
      }
    }
.grid2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* енді әр карточка бір-біріне тең */
  gap: 24px;
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 1024px) {
  .grid2 { grid-template-columns: repeat(2, 1fr); } /* үлкен экраннан кішірекке ауысқанда 2x2 */
}

@media (max-width: 768px) {
  .grid2 { grid-template-columns: 1fr; } /* мобильде бір бағана */
}
.emergency-number {
  text-align: right;
  font-size: 22px;
  color: red;
  font-weight: 700;
}