* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Jost", sans-serif;
  background-image: url(img/BK.png);
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  color: #222;
  overflow-x: hidden;
}

main {
  padding: 0 210px;
  margin: 0 auto;
}
 a{
  text-decoration: none;
  list-style-type: none;
 }
.header {
  margin-top: 60px;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  border-radius: 50px;
  background: #FEFAEE;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.logo {
  width: 200px;
  height: auto;
}
.nav-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-direction: row;
}

.nav {
  display: flex;
  flex-direction: row;
  gap: 25px;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.nav li {
  list-style-type: none;
}

.nav a {
  color: #000;
  text-align: center;
  font-family: Jost;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 78.222px;
  letter-spacing: -0.48px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.nav a:hover {
  text-decoration: underline;
}

.btn {
  background-color: #000;
  color: #fff;
  border: none;
  width: 192px;
  height: 60px;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s ease-in-out;
  border-radius: 50px;
  text-decoration: none;
  text-decoration-thickness: 10%;
  text-underline-offset: 7px;
}

.btn:hover {
  text-decoration: underline;
}

.hero {
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 62px;
}

.hero-text {
  max-width: 600px;
}

.hero-small {
  color: #FF5767;
  font-family: Jost;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 78.222px;
  letter-spacing: -0.64px;
  margin-bottom: 5px;
}

.hero-title {
  width: 604px;
  color: #111;
  font-family: Jost;
  font-size: 47px;
  font-style: normal;
  font-weight: 600;
  line-height: 65px;
  letter-spacing: -0.94px;
  margin-bottom: 20px;
}

.hero-desc {
  width: 621px;
  height: 119px;
  color: #000;
  font-family: Jost;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 33px;
  margin-bottom: 80px;
}

.hero-buttons {
  display: flex;
  gap: 40px;
}

.btn-outline {
  background-color: transparent;
  border-radius: 50px;
  border: 4px solid #111;
  width: 192px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  color: #111;
  text-align: center;
  font-family: Jost;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 78.222px;
  letter-spacing: -0.48px;
  text-decoration-thickness: 10%;
  text-underline-offset: 7px;
  transition: 0.3s ease-in-out;
}

.btn-outline:hover {
  text-decoration: underline;
}

.hero-img {
  width: 530px;
  max-width: 100%;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cards-section {
  width: 1409px;
  height: 1311px;
  flex-shrink: 0;
  position: relative;
  border-radius: 50px;
  background: #FEFAEE;
  box-shadow: 3px 1px 18.5px 0 rgba(0, 0, 0, 0.25);
  padding-top: 0;
  padding-bottom: 100px;
  left: 78px;
  margin-top: 110px;
}

.cards-container {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
}

.cards-content {
  position: absolute;
  top: 0;
  width: 950px;
  text-align: center;
  padding-top: 80px;
}

.card-title-sec {
  color: #FF5767;
  text-align: center;
  font-family: Jost;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 78.222px;
  letter-spacing: -0.96px;
  margin-bottom: 15px;
}

.card-text-sec {
  width: 730px;
  color: #000;
  text-align: center;
  font-family: Jost;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 35px;
  letter-spacing: -0.48px;
  margin: 0 auto 60px;
}

.cards-rows {
  display: block;
}

.row {
  display: flex;
  text-align: center;
  margin-bottom: 10px;
  gap: 30px;
  justify-content: center;
}

.p {
  width: 107.869px;
  position: absolute;
  top: 49px;
  right: 77px;
}

.card {
  width: 509px;
  height: 461px;
  display: inline-block;
  vertical-align: middle;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  transition: transform 0.3s ease;
  text-decoration: none;
  position: relative;
}

.card:hover {
  transform: scale(1.07);
  z-index: 10;
}

.card1 { background-image: url(img/A.png); }
.card2 { background-image: url(img/POS.png); }
.card3 { background-image: url(img/G.png); }
.card4 { background-image: url(img/RAN.png); }

.card-title {
  color: #000;
  text-align: center;
  font-family: Jost;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 78.222px;
  letter-spacing: -0.96px;
  position: relative;
  top: 55px;
  padding: 6px 14px;
  border-radius: 10px;
}

.footer {
  width: 100%;
  height: 153px;
  background: #FEFAEE;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 258px;
  text-align: left;
  margin-top: 110px;
}

.footer-logo {
  width: 200px;
  margin-bottom: 15px;
}

.footer-text {
  color: #090100;
  font-size: 16px;
  font-weight: 400;
}
