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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Вертикально переливающийся фон */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    #ff4b5c, /* красный */
    #4b9fff, /* синий */
    #ffffff  /* белый */
  );
  background-size: 200% 200%;
  animation: gradient 12s ease infinite;
  z-index: -1;
}

h1, h2, h3, p, div, img {
  box-sizing: border-box;
}

@keyframes gradient {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  background-color: #ac0d13;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.logo {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #fefefe;
  /*color: #ff4b5c;*/
  text-align: center;
  text-shadow: 0 1px 3px rgba(255, 75, 92, 0.3);
}
.logo img{
  display: inline-block;
  width: 20%;
}
.logo p{
  display: inline-block;
  width: 100%;
}

.nav{
  padding-left: 20px;
  border-left: 1px solid #fefefe;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 1.8rem;
}

.nav a {
  text-decoration: none;
  color: #fefefe;
  /*color: #333;*/
  font-weight: 500;
  transition: color 0.3s, transform 0.2s;
}

.nav a:hover {
  color: #ff4b5c;
  transform: translateY(-1px);
}

.main {
  padding: 0 5%;
  position: relative;
  z-index: 1;
}

.hero {
  text-align: center;
  padding: 6rem 0 4rem;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.3rem;
  max-width: 650px;
  margin: 1.5rem auto 2.5rem;
  opacity: 0.9;
}

.cta-button {
  background-color: white;
  color: #0d52ac;
  /*color: #ff4b5c;*/
  border: none;
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 75, 92, 0.3);
}

.cta-button:hover {
  background-color: #ff4b5c;
  color: white;
  transform: scale(1.05);
}

.section {
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.94);
  border-radius: 5px;
  margin: 2.5rem 0;
  backdrop-filter: blur(5px);
}

.section h2 {
  text-align: center;
  margin-bottom: 2.8rem;
  color: #ac0d13;
  /*color: #ff4b5c;*/
  font-size: 2rem;
  position: relative;
}

.section h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #ff4b5c, #4b9fff);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.cards {
  display: inline-flex;
  flex-wrap: wrap;
}
.card{
  display: inline-flex;
  flex-wrap: wrap;
  flex: 1;
}
.card h3, .card p {
  display: inline-block;
  width: 100%;
  padding: 10px;
  text-align: center;
}

.uni{
  display: inline-block;
  width: 100%;
  padding: 10px;
}

.steps{display: inline-block; width: 80%; float: left; line-height: 50px;}
.steps2{display: inline-block; width: 20%; float: left;}
.steps3{display: inline-block; width: 80%; float: left; line-height: 50px; list-style: none;}
.steps4{display: inline-block; width: 20%; float: left;}
.steps4 img{display: inline-block; width: 100%; float: left;}

.footer{
  padding: 5px;
  text-align: left;
}