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

body {
  font-family: Arial, sans-serif;
  color: #222;
  line-height: 1.6;
}

header {
  background: #008ecd;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  font-family: "Golos Text", sans-serif;
  border-bottom-left-radius: 11px;
  border-bottom-right-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.container {
  max-width: 1000px;
  margin: 20px auto;
}

.top-section {
  margin-bottom: 20px;
  font-family: "Golos Text", sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.app-section,
.ussd-section {
  background: #f7f8f9;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px;
  box-shadow: 0 2px 6px 0 #0000004d;
  font-family: "Golos Text", sans-serif;
}

.top-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  text-decoration: none;
}

.top-title {
  color: #005395;
  font-weight: 600;
  font-size: 31px;
  line-height: 100%;
}

.top-section img,
.footer img {
  height: 40px;
}

.btn {
  background: #005395;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: start;
  padding-left: 30px;
  padding-top: 30px;
}

.ussd-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.app-text,
.ussd-text {
  flex: 1 1 300px;
  font-family: "Golos Text", sans-serif;
}

.app-title {
  color: #005395;
  font-weight: 700;
  font-size: 36px;
  line-height: 100%;
}

.app-subtitle {
  font-size: 32px;
  font-weight: 700;
  color: #000000;
}

.app-image,
.ussd-image {
  flex: 1 1 250px;
  text-align: center;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.store-buttons a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 5px 0 0;
  background: #000;
  color: white;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 23px;
  text-decoration: none;
  width: 210px;
}

.ussd-buttons a {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.ussd-title {
  color: #005395;
}

.ussd-subtitle {
  color: #656667;
}

.ussd-buttons .connect {
  background: #3d37e2;
  color: white;
  width: 180px;
  text-align: center;
}

.ussd-buttons .contact {
  background: #00af66;
  color: white;
  width: 180px;
  text-align: center;
}

footer {
  font-size: 14px;
  color: #666;
  text-align: center;
  padding: 20px 10px;
}

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

.footer-logo p {
  color: #000;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
  line-height: 100%;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: end;
  font-size: 27px;
}

.footer-contact p {
  color: #167ac6;
  font-weight: 500;
}

.footer-text {
  color: #656667;
  font-size: 16px;
}

footer .footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  font-family: "Golos Text", sans-serif;
}

footer a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

@media (max-width: 768px) {
  .app-section,
  .ussd-section,
  .top-section,
  .footer-flex {
    flex-direction: column;
    text-align: center;
  }

  .app-image img,
  .ussd-image img {
    width: 100%;
    max-width: 250px;
  }

  .app-section {
    align-items: center;
  }

  .store-buttons {
    justify-content: center;
  }

  .store-buttons a {
    margin-left: auto;
    margin-right: auto;
  }

  .app-title {
    font-size: 28px;
  }

  .app-subtitle {
    font-size: 22px;
  }

  .store-buttons a {
    font-size: 18px;
    width: 180px;
    padding: 8px 12px;
  }

  .top-title {
    display: none;
  }

  .btn {
    display: none;
  }

  input,
  header,
  textarea {
    font-size: 16px;
  }

  h2,
  h3,
  .footer-contact a {
    font-size: 22px;
  }

  p {
    font-size: 16px;
  }

  .footer-text {
    font-size: 14px;
  }
}
