@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}
.container {
  max-width: 1200px;
  margin: 0px auto;
}
header {
  background-color: #fbf8f5;
}
nav .container {
  padding: 20px 10px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

nav .container ul {
  display: flex;
  align-items: center;
  gap: 60px;
  list-style: none;
}
nav .container ul li {
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}
nav .container ul li:hover {
  color: rgb(120, 13, 197);
}
nav .container ul li::after {
  content: "";
  position: absolute;
  width: 0;
  top: -6px;
  height: 2px;
  right: 0px;
  transition: all 0.3s ease;
  background-color: red;
}
nav .container ul li:hover::after {
  width: 50%;
}
nav .container ul li::before {
  content: "";
  position: absolute;
  width: 0;
  bottom: -6px;
  height: 2px;
  left: 0px;
  transition: all .2s ease;
  background-color: blue;
}
nav .container ul li:hover::before {
  width: 50%;
}
nav .container ul li:nth-of-type(4) {
  transition: all .2s ease;
  animation: feather .9s linear infinite;
}
@keyframes feather {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotateX(-45deg);
  }
  50% {
    transform: rotateX(-90deg);
  }
  75% {
    transform: rotateY(-180deg);
  }
  100% {
    transform: rotateZ(-360deg);
  }
}
.hero .container {
  padding: 10px 15px;
}
.hero .container .card {
  line-height: 25px;
}
.hero .container .card h1 {
  font-weight: 500;
  margin-bottom: 20px;
}
.hero .container .card button {
  margin-top: 50px;
  padding: 10px 15px;
  border-radius: 50px;
  border: none;
  background-color: #e9672b;
  transition: all 0.3s ease;
}
.hero .container .card button:hover {
  transform: scale(1.2);
}
.hero .container .card button:active {
  transform: scale(0.9);
}
.hero .container {
  display: flex;
  align-items: center;
}
main{
  background-color: #fbf8f5;
}
.s1 .container {
  margin-bottom: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.s1 h1 {
  font-weight: 500;
  text-align: center;
}
.s1 h3 {
  text-align: center;
  font-weight: 500;
}
.s1 .container .card {
  width: 248px;
  height: 257px;
  border: 2px solid #e9672b;
  box-shadow: 4px 4px 3px 5px rgba(128, 128, 128, 0.548);
  text-align: center;
  margin-top: 50px;
  position: relative;
  transition: all 0.3s ease;
  z-index: 1;
}
.s1 .container .card:nth-of-type(2) {
  width: 248px;
  height: 257px;
  border: 2px solid #225dca;
  box-shadow: 4px 4px 3px 5px goldenrod;
  text-align: center;
  margin-top: 50px;
  position: relative;
  transition: all 0.3s ease;
  z-index: 1;
}
.s1 .container .card:nth-of-type(3) {
  width: 248px;
  height: 257px;
  border: 2px solid #242947;
  box-shadow: 4px 4px 3px 5px rgba(5, 214, 214, 0.425);
  text-align: center;
  margin-top: 50px;
  position: relative;
  transition: all 0.3s ease;
  z-index: 1;
}
.s1 .container .card:nth-of-type(4) {
  width: 248px;
  height: 257px;
  border: 2px solid #de4333;
  box-shadow: 4px 4px 3px 5px rgba(128, 30, 30, 0.801);
  text-align: center;
  margin-top: 50px;
  position: relative;
  transition: all 0.3s ease;
  z-index: 1;
}
.s1 .container .card:hover {
  transform: scale(1.05);
}
.s1 .container .card::after {
  content: "";
  position: absolute;
  width: 0;
  height: 10px;
  bottom: 0px;
  left: 0px;
  background-color: rgba(0, 0, 255, 0.253);
  transition: all 0.3s ease;
  backdrop-filter: blur(100px);
  z-index: -999;
}
.s1 .container .card:hover::after {
  width: 100%;
  height: 50%;
}
.s1 .container .card::before {
  content: "";
  position: absolute;
  width: 0;
  height: 10px;
  top: 0px;
  right: 0px;
  background-color: rgba(255, 0, 0, 0.267);
  transition: all 0.3s ease;
  backdrop-filter: blur (100px);
}
.s1 .container .card:hover::before {
  width: 100%;
  height: 50%;
}
.s1 .container .card p {
  font-weight: 500;
  padding-top: 15px;
}
.s2 .container .text {
  text-align: center;
  padding: 150px 200px;
  height: 381px;
  margin-bottom: 100px;
}
.s2 .container .text h3 {
  padding-bottom: 20px;
  font-size: 30px;
  font-weight: 450;
}
.s2 .container .text p {
  font-size: 20px;
  font-weight: 450;
}
.s3 .container {
  display: flex;
  align-items: center;
  gap: 300px;
  max-width: 1200px;
  margin: 0px auto;
}
.s3 .container .card {
  width: 400px;
  margin-bottom: 70px;
  margin-top: 50px;
}
.s3 .container .card img {
  width: 100%;
  object-fit: contain;
}
.s3 .container .card h1 {
  font-weight: 400;
  padding-bottom: 20px;
}
.s3 .container p {
  padding-bottom: 30px;
}
.s3 .container p:nth-of-type(2) {
  padding-bottom: 0;
  color: #e9672b;
  position: relative;
  transition: all 0.3s ease;
}
.s3 .container p:nth-of-type(2)::after {
  content: "";
  position: absolute;
  left: 0px;
  bottom: -6px;
  width: 0;
  height: 2px;
  transition: all 0.3s ease;
  background-color: #e9672b;
}
.s3 .container p:nth-of-type(2):hover::after {
  width: 40%;
}
.s3 .container:nth-of-type(2) .card p:nth-of-type(2) {
  padding-bottom: 30px;
}
.s4{
  margin-top: 0px auto;
}
.s4  h1 {
  text-align: center;
  padding-bottom: 50px;
  padding-top: 50px;
  font-weight: 500;
}
.s4 .container{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0px auto;
}
.s4 .container .card{
  width: 265px;
  height: 350px;
  text-align: center;
  padding: 10px 10px;
  background-color: #2429478c;
  position: relative;
  transition: all .3s ease;
  border-radius: 20px;
  z-index: 1;
}

.s4 .container .card::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #242947a1;
  transition: all .9 ease;
  z-index: -1;
  animation: card .9s linear infinite;
}
@keyframes card{
  0%{
    height: 0;
    border-radius: 20px;
  }
  100%{
    height: 100%;
    border-radius: 20px;
    background-color: transparent;
  }
}

.s4 .container .card:hover::after{
  height: 50%;
}
.s4 .container .card::before{
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 0;
  background-color: #242947b0;
  transition: all .3s ease;
  z-index: -1;
  animation: card .9s linear infinite;
}

.s4 .container .card:hover::before{
  height: 50%;
}
.s4 .container .card:hover{
  transform: scale(1.03);
  border-radius: 20px;
}
.s4 .container .card img{
  padding-bottom: 50px;
}
.s4 .container .card p{
  text-align: center;
  font-weight: 500;
}
.s4 .container .card span{
  font-weight: 500;
}
.low{
  color: #e9672b;
  margin-top: 100px;
  text-align: center;
  margin-bottom: 100px;
}
.s5 .container .card:nth-of-type(1){
  width: 700px;
  height: 343px;
}
.s5 .container{
  display: flex;
}
.s5 .container .card img{
  width: 100%;
}
.s5 .container .card:nth-of-type(2){
  width: 500px;
  height: 300px;
  text-align: center;
  line-height: 35px;
  color: white;
  background-color: #e9672b;
  padding: 50px;
}
.s5 .container .card h1{
  padding-bottom: 40px;
  font-weight: 500;
}
.s5 .container .card button{
  padding: 20px 30px;
  border-radius: 50px;
  border: none;
  background-color: white;
  transition: all .3s ease;
  animation: s5_b .9s linear infinite;
}
@keyframes s5_b{
  0%{
    transform: scale(0.9);
  }
  50%{
    transform: scale(0.5);
  }
}
.s5 .container .card button:active{
  transform: scale(0.9);
}
.s6 h1{
  text-align: center;
  font-weight: 500;
  margin-bottom: 50px;
}
.s6 .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.s6 .container .card{
  width: 385px;
  height: 254px;
  border: 2px solid #E9672B;
  text-align: left;
  padding: 50px 40px;
  font-weight: 500;
  box-shadow: 10px -10px 4px #CBC6F4;
  margin-bottom: 100px;
  cursor: pointer;
  transition: all .3s ease;
}
.s6 .container .card:hover{
  transform: scale(1.05);
  box-shadow: 10px -10px 4px aqua;
}
.s6 .container .card .stars{
  padding-bottom: 50px;
  color: #CBC6F4;
}
.s6 .container .card:hover .stars{
  color: aqua;
}
.s6 .container .card:nth-of-type(2){
  width: 385px;
  height: 254px;
  border: 2px solid #225DCA;
  text-align: left;
  padding: 50px 40px;
  font-weight: 500;
  box-shadow: 10px -10px 4px #E7CB43;
  margin-bottom: 100px;
  cursor: pointer;
  transition: all .3s ease;
}
.s6 .container .card:nth-of-type(2) .stars{
  padding-bottom: 50px;
  color: #E7CB43;
}
.s6 .container .card:nth-of-type(2):hover .stars{
  color: yellow;
}

.s6 .container .card:nth-of-type(2):hover{
   box-shadow: 10px -10px 4px yellow;
}
.s6 .container .card:nth-of-type(3){
  width: 385px;
  height: 254px;
  border: 2px solid #242947;
  text-align: left;
  padding: 50px 40px;
  font-weight: 500;
  box-shadow: 10px -10px 4px #A2D4C5;
  margin-bottom: 100px;
  cursor: pointer;
  transition: all .3s ease;
}
.s6 .container .card:nth-of-type(3):hover{
   box-shadow: 10px -10px 4px rgba(0, 0, 255, 0.753)
}
.s6 .container .card:nth-of-type(3) .stars{
  padding-bottom: 50px;
  color: #A2D4C5;
}
.s6 .container .card:nth-of-type(3):hover .stars{
  color: rgba(0, 0, 255, 0.753);
}
.s6 .container .card p{
  padding-bottom: 35px;
}
.s7{
  background-color: #F6CFCA;
}
.s7 .container h1{
  font-size: 85px;
  font-weight: 450;
  text-align: center;
  line-height: 130px;
}
.s7 .container ul{
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding-top: 100px;
  margin-bottom: 100px;
}
.s8{
  border-bottom: 1px solid goldenrod;
}
.s8 .container{
  margin: 0px auto;
  text-align: center;
  width: 264px;
}
.s8 .container p{
  padding-bottom: 60px;
  padding-top: 50px;
}
.s8 .container button{
  padding: 15px 25px;
  border-radius: 50px;
  border: none;
  background-color: #E9672B;
  transition: all .3s ease;
  margin-bottom: 40px;
}
.s8 .container button:hover{
  transform: scale(1.1);
}
.s8 .container button:active{
  transform: scale(0.9);
}
footer{
  background-color: #F3F0EC;
  padding-top: 50px;
}
footer .container{
  display: flex;
  align-items: start;
  gap: 120px;
}
footer .container ul {
  list-style: none;
  line-height: 30px;
}
footer .container ul li h3{
  font-weight: 550;
}
footer .container ul li{
  font-weight: 500;
}
footer .container .card:nth-of-type(4) ul{
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 30px;
  font-size: 25px;
}
footer .container .card:nth-of-type(4) ul li i{
  width: 40px;
  height: 40px;
  border: 1px solid black;
  text-align: center;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
footer .container .card:nth-of-type(4) p:nth-of-type(2){
  padding-bottom: 50px;
  padding-top: 50px;
  border-bottom: 2px solid black;
}