*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}
body{
    color: #ffffff;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)), url("../images/bg.png") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    max-width: 1800px; margin: 0 auto;
    overflow-x: hidden;
}
img { 
  max-width: 100%; height: auto;
}
h1 {
  font-size: clamp(1.2em, 4vw, 2.2em);
}
h2 {
  font-size: clamp(0.8em, 2.5vw, 1.5em);
}

p {
  font-size: clamp(0.5em, 2vw, 1em);
}
.menu {
  width: clamp(220px, 40vw, 400px);
}
button{
    background: linear-gradient(90deg, #e7c141 0%, #D4AF37 100%);
    color: #ffffff;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.1em;
}
button:hover{
    background: linear-gradient(90deg, #E5C56E 0%, #B8912C 100%);
    transform: scale(1.03);
}
.hero-section, .about-us, .benefits, .contacts{
    margin-top: 5vh;
    margin-bottom: 10vh;
    scroll-margin-top: 10vh;
}
header{
    padding: 0 2%;
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    justify-content: space-between;
    align-items: center;
}
.header-left{
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 55vw;
  text-align: center;
}
.logo{
    width: 15%;
    max-width: 100px;
    max-height: auto;
}
.logo-text{
    color: #ffee00;
    font-weight: bold;
    text-align: center;
}
#menu-btn{
    display: none;
}
.menu{
  width: 45vw;
}
.menu ul{
    list-style: none;
    margin: 1% 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    font-size: 1.1em;
}
.menu ul li{
    padding: 10px 15px;
    font-weight: 800;
    transition: color 0.3s ease;
}
.menu ul li a{
  text-decoration: none;
  color: #fff;
}
.menu ul li:hover{
    background: linear-gradient(90deg, #F6D365 0%, #D4AF37 100%);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}
.hero-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  padding: 5% 5% 0;
}
.hero-section .text-container {
  flex: 1 1 300px;
  max-width: 500px;
}

.hero-section .img-container {
  flex: 1 1 300px;
  max-width: 500px;
}
.hero-section .text-container h1 {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: clamp(1rem, 2.5vw, 2rem);
}

#openModalBtn {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-top: 1.5rem;
}
.modal {
  display: none; 
  position: fixed; 
  z-index: 999; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; 
  background-color: rgba(0,0,0,0.7);
}
.modal-content {
  background-color: #1a1a1a;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  color: #fff;
}

.modal-content h2 {
  margin-bottom: 20px;
  color: #ffcc00;
}

.modal-content label {
  display: block;
  margin-top: 10px;
}

.modal-content input, .modal-content textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  background: #333;
  border: 1px solid #555;
  color: #fff;
  border-radius: 5px;
}
.modal-content button[type="submit"] {
  width: 100%;
  padding: 10px;
  background-color: #ffcc00;
  color: #000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.modal-content button[type="submit"]:hover {
  background-color: #e6b800;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #fff;
}
.about-us{
    display: flex;
    justify-content: center;
    gap: 8vw;
    align-items: center;
    padding: 0 10%;
}
.about-us .text-container{
  padding: 3%;
  width: auto;
  max-width: 60%;
}
.about-us .text-container h1, .about-us .text-container h2, .about-us .text-container p{
    text-align: left;
    width: auto;
    max-width: 100%;
}
.about-us .img-container{
    width: 40%;
    max-width: 400px;
}
.about-us .img-container img{
    border-radius: 10%;
    border: 5% solid #000;
}
.benefits h1{
    text-align: center;
    margin-bottom: 2%;
}
.benefits a{
  text-decoration: none;
  color: #ffffff;
}
.advantages-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.advantage-block {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px 20px;
  width: 300px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.advantage-block:hover {
  transform: translateY(-10px);
}

.advantage-block i {
  font-size: 40px;
  margin-bottom: 15px;
  color: #ffcc00;
}

.advantage-block h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.advantage-block p {
  font-size: 1em;
  color: #ccc;
}
.contacts{
    display: flex;
    justify-content: center;
    gap: 10vw;
    align-items: center;
}
.contacts .text-container p{
  margin-bottom: 4vh;
}
footer{
    width: 100%;
    height: auto;
    padding: 0 5% 0.5% 5%;
    background-color: rgba(65, 65, 65, 0.2);
    text-align: center;
}
footer .main{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
footer ul{
    justify-content: center;
}
footer .social {
    width: 15%;
}
footer .social img{
    width: 45%;
    max-height: 30px;
    max-width: 30px;
}
@media (max-width: 1310px) {
  main{
    padding: 0 16px;
  }
  .menu-container{
    position: relative;
    display: inline-block;
  }
  .menu{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px 20px;
    gap: 20px;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 100;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
  }
  .menu.active {
    transform: translateX(0);
    opacity: 1;
  }
  #menu-btn{
    position: fixed;
    display: block;
    top: 20px;
    right: 20px;
    z-index: 101;
    font-size: 30px;
    padding: 2%;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }
  .menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 55%;
  }
  .menu li {
    margin-bottom: 5%;
    text-align: center;
  }
  .menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.8em;
  }
  #openModalBtn{
    margin-top: 6%;
    font-size: 0.8em;
  }
  .benefits h2{
    margin-bottom: 3%;
  }
  footer .social img{
    max-width: 18px;
  }
  .advantage-block{
    width: 280px;
  }
}
@media (max-width: 880px) {
  main{
    padding: 0 16px;
  }
  .menu a{
    font-size: 1.3em;
  }
  .drop-down-content {
    top: 0;
    left: auto;
    right: 100%;
    width: min-content;
    max-height: 300px;
    overflow-y: auto;
    min-width: 150px;
  }
  #openModalBtn{
    margin-top: 6%;
    font-size: 0.7em;
  }
  .benefits h2{
    margin-bottom: 3%;
  }
  footer .social img{
    max-width: 18px;
  }
  .advantage-block{
    width: 280px;
  }
}
@media (max-width: 700px) {
  main{
    padding: 0 16px;
  }
  .menu ul{
    width: 70%;
  }
  .menu a{
  font-size: 1.25em;
  }
  .menu ul {
    margin-bottom: 360%;
  }
  #openModalBtn{
    margin-top: 6%;
    font-size: 0.7em;
  }
.about-us .text-container{
    font-size: 0.6em;
  }
  .benefits h2{
    margin-bottom: 3%;
  }
  footer .social img{
    max-width: 18px;
  }
  .advantage-block{
    width: 280px;
  }
}
@media (max-width: 520px){
  main{
    padding: 0 16px;
  }
  .header-left p{
    display: none;
  }
  .header-left{
    justify-content: start;
  }
  .menu ul {
    width: 60%;
  }
  .menu a{
    font-size: 1em;
  }
  #openModalBtn{
    margin-top: 8%;
    font-size: 0.6em;
  }
  .about-us .text-container{
    font-size: 0.4em;
  }
  .benefits h2{
    margin-bottom: 3%;
  }
  footer .social img{
    max-width: 10px;
  }
  .advantage-block{
    width: 220px;
  }
}