/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: 'Inter', 'Arial Black', sans-serif;
  color: #000;
  line-height: 1.5;
}

.container-fluid {
  max-width: 1528px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.accent-text {
  color: #C63434;
}

.text-muted {
  opacity: 16;
  font-weight: 400;
  font-size: 23px;
}

.text-secondary {
  opacity: 0.71;
}

a {
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #C63434;
}

.header-line {
  height: 1px;
  width: 100%;
  background-color: #E0E0E0;
  margin-bottom: 117px;
}

nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  max-width: 150px;
}

#burger-toggle {
  display: none;
  z-index: 999;
}

label[for="burger-toggle"] {
  display: none;
  z-index: 100000;
}

.header__list {
  display: flex;
  gap: 20px;
  list-style: none;
  z-index: 999;
  box-shadow: 4px 4px 51px -37px rgba(34, 60, 80, 0.2);
  margin: 0;
  padding: 0;
}

.header__link {
  font-family: 'Inter', 'Arial Black', sans-serif;
  font-weight: 700;
  padding: 10px 0;
  display: inline-block;
  position: relative;
  text-decoration: none;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #C63434;
  transition: width 0.3s ease;
}

.header__link:hover::after {
  width: 100%;
}

.hero-section {
  margin-bottom: 60px;
}

.header-offer {
  margin-bottom: 56px;
}

.index-offers {
  font-weight: 900;
  font-size: 85px;
  line-height: 1.1;
}

.header-btn {
  display: inline-block;
}

.button-head {
  background-color: #C63434;
  padding: 24px 85px;
  border-radius: 100px;
  font-weight: 900;
  font-size: 16px;
  color: #fff !important;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid #C63434;
}

.button-head:hover {
  background-color: #a02828;
  border-color: #a02828;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(198, 52, 52, 0.3);
}

.header-text {
  display: inline-block;
  margin-bottom: 100px;
  margin-left: 25px;
}

.header-text p {
  margin-top: 10px;
}

.cards-section {
  padding: 40px 0;
}

.custom-card {
  border: none !important;
  border-radius: 15px !important;
  overflow: hidden;
  position: relative;
  height: 433px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-star {
  font-size: 126px;
  color: #C63434;
  position: relative;
  z-index: 999;
  margin-left: 11px;
  line-height: 1;
  display: block;
}

.cards-desc {
  position: absolute;
  z-index: 999;
  top: 30px;
  left: 80px;
  right: 11px;
}

.cards-desc p {
  color: #fff;
  font-size: 14px;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.ellipse-button {
  position: absolute;
  z-index: 999;
  bottom: 71%;
  left: 82%;
}

.elp {
  background-color: #C63434;
  border-radius: 100%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.elp:hover {
  transform: scale(1.1);
  background-color: #a02828;
}

.elp img {
  width: 30px;
  height: 30px;
  padding: 0;
}

.categ-offer {
  position: absolute;
  z-index: 999;
  bottom: 20px;
  left: 11px;
  right: 11px;
}

.strol, .trec, .strols1 {
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  font-size: 40px;
}

.soln {
  font-size: 23px;
  color: #C63434;
  display: block;
}

.treeks {
  font-size: 60px;
  display: block;
  margin-top: -10px;
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
  z-index: 1;
}

.carousel-item {
  height: 900px;
}

.carousel-item img {
  height: 800px;
  object-fit: cover;
}

.carousel-indicators button {
  width: 20px !important;
  height: 20px !important;
  border-radius: 100% !important;
  background-color: #e9e9e9 !important;
}

.carousel-indicators button.active,
.carousel-indicators button:focus {
  background-color: #C63434 !important;
}

.carousel-dark .carousel-indicators [data-bs-target] {
  background-color: #C63434;
}

.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 90%;
  max-width: 500px;
}

.center h1 {
  text-align: center;
  padding: 0 0 20px 0;
  border-bottom: 1px solid silver;
  margin-bottom: 20px;
}

.center form {
  padding: 0;
}

.txt_field {
  position: relative;
  border-bottom: 2px solid #adadad;
  margin: 30px 0;
}

.txt_field input {
  width: 100%;
  padding: 0 5px;
  height: 40px;
  font-size: 16px;
  border: none;
  background: none;
  outline: none;
}

.txt_field label {
  position: absolute;
  top: 50%;
  left: 5px;
  color: #adadad;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
  transition: 0.3s;
}

.txt_field input:focus ~ label,
.txt_field input:valid ~ label {
  top: -5px;
  color: #C63434;
}

.txt_field span::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C63434;
  transition: .5s;
}

.txt_field input:focus ~ span::before,
.txt_field input:valid ~ span::before {
  width: 100%;
}

input[type="Submit"] {
  padding: 28px 89px;
  background: #C63434;
  border-radius: 75px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  border: none;
  transition: 0.3s;
  width: 100%;
}

input[type="Submit"]:hover {
  background: #a02828;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(198, 52, 52, 0.3);
}

.advantages__list {
  display: flex;
  align-items: flex-start;
  margin: 0 -10px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.advantages__item {
  padding: 20px;
  width: 140px;
  min-height: 140px;
  flex: 0 0 auto;
  margin: 0 10px 20px;
  background: radial-gradient(circle at center, #e9e9e9 21px, transparent 21px);
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
}

.rect1, .rect2, .rect3, .rect4, .rect5, .rect6 {
  width: 106px;
  height: 38px;
  border-radius: 3px;
  display: block;
  padding: 5px 38px;
  font-weight: bold;
}

.rect1, .rect3, .rect6 {
  background-color: #C63434;
}

.rect2, .rect4, .rect5 {
  background-color: #FF8484;
}

.rect1, .rect3, .rect6 {
  transform: rotate(-24deg);
}

.rect2, .rect4 {
  transform: rotate(16deg);
}

.offer-h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.offer-h1 h1 {
  font-size: 168px;
  line-height: 150px;
}

.down-text p {
  color: #C63434;
  font-size: 20px;
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tooltip {
  position: relative;
}

.tooltip span {
  border-radius: 5px;
  visibility: hidden;
  position: absolute;
  left: 200px;
  background: #fff;
  box-shadow: -2px 2px 10px -1px #333;
  padding: 10px;
  white-space: nowrap;
}

.tooltip:hover span {
  visibility: visible;
}


@media (max-width: 575.98px) {
  .index-offers {
    font-size: 60px;
  }
  
  .offers-head {
    font-size: 70px;
    line-height: 75px;
  }
  
  .button-head {
    padding: 20px 40px;
  }
}

@media (max-width: 767.98px) {
  .header-text p {
    margin-top: 40px;
    margin-left: 0;
  }
  
  .header-text {
    margin-top: 40px;
    margin-left: 0;
  }
  
  .money-offer h1 {
    margin-top: 250px;
  }
  
  .index-offers {
    font-size: 65px;
  }
  
  .offers-head {
    font-size: 100px;
    line-height: 85px;
  }
  
  .offers-head span {
    line-height: 56px;
  }
  
  
  .card {
    margin-bottom: 40px;
  }
  
  .offer-h1 h1 {
    font-size: 105px;
  }
  
  .free-img img {
    width: 400px;
  }
  
  label[for="burger-toggle"] {
    display: block;
    position: relative;
    height: 25px;
    width: 30px;
    cursor: pointer;
  }
  
  label[for="burger-toggle"]::after,
  label[for="burger-toggle"]::before,
  label[for="burger-toggle"] span {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: black;
    transition: .3s;
    content: '';
  }
  
  label[for="burger-toggle"]::before {
    top: 0;
  }
  
  label[for="burger-toggle"]::after {
    bottom: 0;
  }
  
  label[for="burger-toggle"] span {
    top: 11px;
  }
  
  #burger-toggle:checked ~ label[for="burger-toggle"]::after {
    transform: rotate(45deg);
    bottom: 10px;
  }
  
  #burger-toggle:checked ~ label[for="burger-toggle"]::before {
    transform: rotate(-45deg);
    top: 12px;
  }
  
  #burger-toggle:checked ~ label[for="burger-toggle"] span {
    transform: rotate(-45deg);
    top: 12px;
    opacity: 0;
  }
  
.header__list {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  overflow-y: auto;
  transition: left 0.3s ease;
}
  
  #burger-toggle:checked ~ .header__list {
    left: 0;
  }
  
  .header__link {
    font-size: 24px;
  }
}

@media (max-width: 991.98px) {
  .index-offers {
    font-size: 75px;
  }
  
  
  .cards-desc {
    display: none;
  }
  
  .elp {
    bottom: 65%;
    left: 75%;
  }
  
  .offer-h1 h1 {
    font-size: 105px;
  }
  
  .card {
    margin-bottom: 40px;
  }
}

@media (max-width: 1199.98px) {
  .header-text p {
    margin-top: 10px;
    margin-left: 25px;
  }
  
  .index-offers {
    font-size: 75px;
  }
  
  .elp {
    bottom: 65%;
    left: 75%;
  }
  
  .treeks {
    font-size: 56px;
  }
  
  .soln {
    font-size: 36px;
  }
  
  .cards-desc {
    display: none;
  }
  
  
  .card {
    margin-bottom: 80px;
  }
}

@media (max-width: 1399.98px) {
  .header-text p {
    margin-top: 10px;
    margin-left: 25px;
  }
  
  .index-offers {
    font-size: 106px;
  }
  
  .offer-h1 h1 {
    font-size: 168px;
    line-height: 150px;
  }
  
  .treeks {
    font-size: 60px;
  }
  
  .index-offers {
    font-size: 85px;
  }
}

@media (min-width: 1400px) {
  .header-text p {
    margin-top: 10px;
    margin-left: 25px;
  }
  
  .index-offers {
    font-size: 106px;
  }
  
  .offer-h1 h1 {
    font-size: 168px;
    line-height: 150px;
  }
  
  .card {
    margin-bottom: 40px;
  }
  
  .money-offer h1 {
    margin-top: 250px;
    font-size: 100px;
  }
  
  .offers-head {
    font-size: 168px;
    line-height: 180px;
  }
  
  .offers-head span {
    line-height: 140px;
  }
  
}