:root {
  font-size: 16px;
  --primary-color: #122D38;
  --secondary-color: #0D778C;
  --text-color: #353535;
  --white: #FFFFFF;
  --gradient-bg: linear-gradient(to left, #DAE2E4, #F5F5F5);
  --card-gradient: linear-gradient(to left, #337D88, #0D1F22);
}

@font-face {
  font-family: Open-Sans-700;
  src: url("/font/OpenSans_Condensed-Bold.ttf") format("truetype");
}

@font-face {
  font-family: Open-Sans-600;
  src: url("/font/OpenSans_Condensed-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: Open-Sans-400;
  src: url("/font/OpenSans_Condensed-Regular.ttf") format("truetype");
}

main {
  min-height: calc(100vh - 200px); 
}
*, *::before, *::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}
h1 {
  font-family: Open-Sans-700;
  color: var(--primary-color);
  font-size: 1.46rem;
}

p {
  font-family: Open-Sans-400;
  color: var(--text-color);
}

h3 {
  font-family: Open-Sans-600;
  font-size: 1.2rem;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  color: #FFFFFF7A;
  z-index: 1000;
  background-color: var(--white);
  position: sticky;
  top: 0;
}

.container {
  width: 90%;
  max-width: 1600px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header img {
  width: 77px;
  height: 77px;
  vertical-align: middle;
}

nav ul {
  display: flex;
  font-family: Open-Sans-700;
  align-items: center;
  list-style: none;
  gap: 30px;
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 700;
}

nav img {
  display: none;
}

.contact-info {
  display: flex;
  align-items: center;
}

.contact-info a {
  display: flex;
  text-decoration: none;
  margin-right: 1.66rem;
  white-space: nowrap;
  font-size: 0.885416rem;
  color: var(--secondary-color);
  padding: 0.625rem 2.083rem;
  border-radius: 3rem;
  border: 1px solid var(--secondary-color);
}
.main-container {
  width: 100%;
  min-height: 48rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.main-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.main-text {
  position: absolute;
  left: 15vw;
  width: 6rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  /* gap: 1.5rem; */
  font-size: 15px;
  padding: 1rem;
  box-sizing: border-box;
  max-width: 400px; 
}
.main-text h1{
  font-size: 40px;
}
.main-text p{
  font-size: 24px;
}
.container-btn {
  width: 18rem;
  border-radius: 32px;
  background-color: var(--secondary-color);
  border: none;
  padding: 0.8rem;
  cursor: pointer;
  align-self: flex-start;
  transition: 0.2s;
}
.container-btn:hover{
  background-color: #0A4B58;
  transition: 0.2s;
}
.container-btn span {
  color: var(--white);
  font-size: 14px;
  font-family: Open-Sans-700;
  line-height: 1.2;
}

.container-btn h1 {
  color: white;
  font-size: 16px;
}

.card {
  width: 80%;
  max-width: 1600px;
  margin: 0 auto;
  min-height: 37rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-text {
  width: 40%;
  margin-left: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-img {
  width: 50%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.card-img-card {
  width: 45%;
  border-radius: 30px;
  /*overflow: hidden;*/
}

.card-img-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card-img-card h3 {
  margin: 10px;
  font-size: 16px;
}

.card-materials {
  width: 100%;
  min-height: 25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card-gradient);
}

.card-materials h1 {
  color: var(--white);
  font-size: 32px;
  margin: 8rem 0 2rem 0;
  text-align: center;
}

.card-materials-container {
  width: 90%;
  max-width: 1600px;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 5rem;
}

.card-materials-text {
  width: 15%;
  min-width: 200px;
  /* margin-bottom: 2rem; */
}

.card-materials-text h3,
.card-materials-text p {
  color: var(--white);
  font-family: Open-Sans-700;
}

.card-materials-text h3 {
  font-size: 24px;
}

.card-materials-text p {
  font-size: 16px;
  line-height: 24px;
}

.machines {
  width: 90%;
  max-width: 1600px;
  margin: 5rem auto;
}

.machines h1 {
  font-size: 40px;
  color: var(--primary-color);
}

.machines-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.machine-card {
  width: 100%;
  max-width: 400px;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}

.machine-card:hover {
  transform: translateY(-5px);
}

.machine-card img {
  width: 100%;
  height: 350px;
  object-fit: contain;
}

.machine-card h3 {
  font-size: 32px;
  color: var(--secondary-color);
}

.partners {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
}

.partners h1 {
  font-size: 32px;
  color: #222222;
}

.partners-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.partners-img {
  width: 180px;
  height: 100px;
  border-radius: 16px;
  border: 1px solid #E0EDEF;
  padding: 20px;
}

.partners-img img {
  width: 90%;
  height: 100%;
  object-fit: contain;
}

.pos-container {
  margin-top: 5rem;
  background: var(--gradient-bg);
}

.pos {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  min-height: 42rem;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: relative;
}
.pos h3 {
  position: absolute;
  top: 40px;
  color: #0D778C;
  font-family: Open-Sans-700;
  font-size: 20px;
}
.pos-text {
  width: 35%;
}

.pos-text h1 {
  font-size: 40px;
  color: var(--primary-color);
}

.pos-text p {
  font-size: 24px;
  color: #10272B;
  font-family: Open-Sans-600;
}

.pos-video {
  width: 600px;
  height: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.pos-video video {
  max-width: 100%;
  max-height: 100%;
  mix-blend-mode: multiply;
}

.payment-container {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  min-height: 42rem;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.payment-text {
  width: 35%;
}

.payment-text h1 {
  font-size: 40px;
  color: var(--primary-color);
}

.payment-text h3 {
  font-size: 24px;
  line-height: 32px;
  color: #10272B;
}

.payment-text p {
  font-size: 24px;
}

#closeMenu {
  display: none; 
}

#navMenu.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--card-gradient);
  z-index: 1000;
  gap: 30px;
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
}

#navMenu img {
  margin-bottom: 50px;
  width: 200px;
  height: 200px;
}

.payment-right {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.payment-img {
  width: 260px;
  height: 280px;
}

.payment-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.payment-img-text {
  width: 18rem;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 3rem 5rem;
  color: rgb(145, 79, 255);
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.4;
  background-image: url(./img/phone.png);
  background-size: cover;
  background-position: center;
}

.content form {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  max-width: 30rem;
  width: 100%;
}

.content img {
  max-width: 250px;
  width: 100%;
  height: auto;
}

.content label {
  font-size: 16px;
  color: var(--white);
  font-family: Open-Sans-400;
}

.content h3 {
  color: var(--white);
  font-size: 48px;
  margin-bottom: 0;
}

.content p {
  color: var(--white);
  font-weight: 400;
  font-size: 24px;
}

.content input {
  padding: 18px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 16px;
  font-family: 'Open Sans', sans-serif;
}

.content button {
  width: 100%;
  padding: 12px;
  margin-top: 1rem;
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: 32px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  transition: background-color 0.3s;
}

.content button:hover {
  background-color: #0A4B58;
  /*color: var(--primary-color);*/
}

.content .bottom-text {
  font-size: 0.8rem;
  color: #E8E8E8;
  margin-top: 0.5rem;
  text-align: center;
}

small {
  color: red;
}

footer {
  width: 100%;
  display: flex;
  justify-content: center;
  color: #002332;
  background: linear-gradient(to left, #DAE2E4, #FCFDFC);
}

.footer-container {
  width: 80%;
  max-width: 1600px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.contacts {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}
.privacy-policy{
    margin-top: 30px;
}
.contacts h3,
.contacts a {
  font-size: 18px !important;
  margin-bottom: 0;
  line-height: 24px;
  text-decoration: none;
  color: #002332;
}

.info ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  text-align: center;
  color: #002332;
}

.info ul li a {
  color: #002332;
  text-decoration: none;
  transition: color 0.3s;
}

.info ul li a:hover {
  color: #a8d0e6;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
  text-align: right;
}

.footer-logo img {
  width: 7rem;
}

.footer-copy p {
  font-size: 0.85rem;
  color: #002332;
}

.bxr {
  font-size: 50px;
  color: #122D38;
}

.product-gallery {
  width: 400px;
  height: auto;
  border-radius: 16px;
  display: flex;
  gap: 20px;
  background: transparent;
}

.main-image img {
  width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumbnails img {
  width: 60px;
  height: auto;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: 0.3s;
}

.thumbnails img:hover {
  border-color: #0D778C;
}

.pos-terminals {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
}

.pos-hdm {
  width: 91%;
}

.pos-hdm h3 {
  font-size: 40px;
  color: #122D38;
}

.pos-hdm p {
  font-size: 24px;
}

.pos-hdm li {
  font-weight: 700;
  font-size: 20px;
}

#productsContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 5rem;
}

#productsContainer div {
  width: 280px;
  height: auto;
  border-radius: 24px;
  padding: 1rem;
  background-color: #FFFFFF;
  box-shadow: 0 4px 8px #00000033;
}

.main-product {
  display: flex;
  justify-content: center;
}

.product-container {
  width: 90%;
}

.product-container h1 {
  font-size: 40px;
  color: #122D38;
  font-family: Open-Sans-600;
}

#productsContainer .product img {
  width: 100%;
  height: 300px;  
  object-fit: contain; 
  margin-bottom: 1rem;
}

#productsContainer .product {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 24px;
  padding: 1rem;
  background-color: #f9f9f9;
}

#productsContainer .product h2 {
  font-size: 18px;
}

 #productsContainer .product p {
  font-size: 16px;
}

.category-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  overflow-x: auto; 
  white-space: nowrap; 
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 5px;
}

.category-buttons::-webkit-scrollbar {
  display: none;
}

.category-buttons button {
  padding: 8px 16px;
  border: none;
  background-color: #84AFB8;
  cursor: pointer;
  border-radius: 32px;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
  white-space: nowrap;
}

.category-buttons button.active {
  background-color: #0B6172;
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 10px;
  /*max-width: 2200px;*/
  margin: 0 auto;
  margin-bottom: 30px;
}

.product {
  max-width: 400px;
  text-align: center;
  background-color: #fff;
  padding: 20px 0px;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: 0.3s;
}
/*.product:hover {*/
/*  transform: translateY(-5px);*/
/*  box-shadow: 0 4px 15px rgba(0,0,0,0.1);*/
/*  cursor: pointer;*/
/*  transition: 0.4s;*/
/*}*/

.order-btn {
  display: none;
  margin-bottom: 50%;
  margin-top: 10px;
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

.order-btn:hover {
  background: #0056b3;
}

.product:hover .order-btn {
  display: inline-block;
}
.product img {
  max-width: 300px;
  height: 350px;
  object-fit: contain;
}

.product h1 {
  font-size: 18px;
  color: #122D38;
}

.product p {
  margin: 10px 0 0;
  color: #122D38;
  font-size: 16px;
}
nav a.active {
  color: #378EA1; 
  font-weight: bold;
}
/* Media Queries */
@media (max-width: 1024px) {
  .main-container {
    min-height: 40rem;
  }

  .main-text {
    width: 40%;
    left: 5%;
    top: 5%;
    font-size: 16px;
    max-width: 300px;
  }

  .container-btn {
    width: 12rem;
    padding: 0.5rem;
  }

  .container-btn h1 {
    font-size: 12px;
  }
  .content img {
    display: none;
  }
  .card {
    flex-direction: column;
    align-items: center;
  }

  .card-text,
  .card-img {
    width: 100%;
  }

  .card-img-card {
    width: 48%;
  }

  .pos,
  .payment-container {
    flex-direction: column;
  }

  .pos-text,
  .payment-text {
    width: 100%;
  }

  .pos-video {
    width: 100%;
    height: auto;
  }

  .payment-right {
    width: 100%;
    margin-top: 2rem;
  }

  .machines-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  header {
    height: auto;
    padding: 1rem 0;
  }

  #menuToggle {
    display: block !important;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
  }

  #closeMenu {
    display: block;
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    font-size: 50px;
    color: white;
    cursor: pointer;
  }
  .pos h3 {
  position: absolute;
  top: 40px;
  right: 0;
}
  nav ul {
    flex-direction: column;
    gap: 10px;
    color: white;
    display: none;
    /* position: absolute; */
    top: 100px;
    left: 0;
    right: 0;
    /* background-color: var(--white); */
    padding: 20px;
    border-top: 1px solid #ddd;
    z-index: 999;
  }

  nav img {
    display: block;
    margin-bottom: 20px;
  }

  #navMenu.active {
    display: flex !important;
  }

  .main-container {
    min-height: 30rem;
    justify-content: center;
    position: relative; 
    overflow: hidden; 
  }

  .main-text {
    position: absolute;
    width: 100%; 
    left: 50%; 
    transform: translateX(60%);
    top: 10%; 
    margin: 0 ; 
    text-align: center;
    padding: 2rem;
    box-sizing: border-box; 
    max-width: 300px;
  }
  .main-text h1{
    font-size: 24px;
  }
  .main-text p{
    font-size: 16px;
    line-height: 24px;
  }
  .main-container img {
    content: url("img/main-mobile.png"); 
    width: 100%; 
    height: auto; 
    object-fit: cover; 
  }

  .container-btn {
    width: 10rem;
    padding: 0.4rem;
    margin: 0 auto;
    align-self: center;
  }

  .container-btn h1 {
    font-size: 10px;
  }
 .card-text{
    margin-top: 40px;
  }
  .card-text h1{
    font-size: 24px;
  }
  .card-text p{
    font-size: 20px;
  }
  .card-img-card {
    width: 100%;
  }
  .card-materials{
      margin-top: 40px;
  }
  .card-materials-container {
    flex-direction: column;
    align-items: center;
  }

  .card-materials-text {
    width: 80%;
  }

  .machines-container {
    grid-template-columns: 1fr;
  }

  .pos-video {
    width: 100%;
    height: auto;
  }
  .pos-hdm h3{
    font-size: 24px;
  }
  .pos-hdm p{
    font-size: 20px;
  }
  .content {
    flex-direction: column;
    padding: 2rem;
    margin-top: 40px;
  }
  .product-container h3 {
  font-size: 24px;
}
  .content img {
    display: none;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-bottom {
    align-items: center;
  }

  .product-grid {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .category-buttons {
    justify-content: flex-start;
    padding-left: 10px;
  }
  .partners-img {
    width: 120px;
    height: 90px;
  }

}

@media (max-width: 480px) {
  h1 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1rem;
  }
  .main-container {
    min-height: 25rem;
  }

  .main-text {
    width: 100%;
    font-size: 14px;
    padding: 0.5rem;
  }
  .pos h3 {
  position: absolute;
  top: 10px;
  right: 0;
}
  .container-btn {
    width: 8rem !important;
    padding: 0.3rem !important;
  }

  .container-btn h1 {
    font-size: 8px;
  }

  .main-text h1 {
    font-size: 1rem;
  }

  .main-text p {
    font-size: 10px;
  }
  .main-text,
  .pos-text,
  .payment-text {
    font-size: 1rem;
  }

  .container-btn span {
    font-size: 13px;
  }

  .card-materials h1,
  .pos-text h1,
  .payment-text h1 {
    font-size: 24px;
  }

#productsContainer  .product {
    width: 100%;
    padding: 0.5rem;
  }
#productsContainer {
  padding: 20px;
}
#productsContainer .product img {
    height: 200px;
  }
}

@media (max-width: 1440px) {
  .main-container {
    min-height: 35rem;
  }

  .main-text {
    width: 35%;
    left: 5%;
    font-size: 20px;
    top: 10%;
    max-width: 350px;
  }

  .container-btn {
    width: 15rem;
    padding: 0.6rem;
  }

  .container-btn h1 {
    font-size: 14px;
  }
}

@media (min-width: 1440px) {
  .container,
  .card,
  .card-materials-container,
  .machines,
  .pos,
  .payment-container,
  .partners {
    max-width: 1800px;
  }

  /*.main-container {*/
  /*  min-height: 55rem;*/
  /*}*/

  .main-text {
    width: 20%;
    font-size: 1.8rem;
    left: 10vw;
    top: 10rem;
  }

  .container-btn {
    width: 20rem;
    padding: 0.9rem;
  }

  .container-btn span {
    font-size: 16px;
  }

  .card-text {
    width: 35%;
  }

  .card-img {
    width: 55%;
  }

  .card-img-card {
    width: 45%;
  }

  .card-materials-text {
    width: 20%;
    min-width: 250px;
  }

  .card-materials h1 {
    font-size: 40px;
  }

  .machines-container {
    gap: 30px;
  }

  .machine-card {
    max-width: 450px;
  }

  .machine-card h3 {
    font-size: 36px;
  }

  .partners-img {
    width: 200px;
    height: 150px;
  }

  .pos-text {
    width: 30%;
  }

  .pos-text h1 {
    font-size: 48px;
  }

  .pos-text p {
    font-size: 28px;
  }

  .pos-video {
    width: 700px;
    height: 800px;
  }

  .payment-text {
    width: 30%;
  }

  .payment-text h1 {
    font-size: 48px;
  }

  .payment-img {
    width: 300px;
    height: 320px;
  }

  .payment-img-text {
    width: 20rem;
  }

  .content {
    padding: 4rem 6rem;
  }

  .content form {
    max-width: 35rem;
  }

  .content img {
    max-width: 300px;
  }

  .content h3 {
    font-size: 56px;
  }

  .content p {
    font-size: 28px;
  }

  .footer-container {
    max-width: 1800px;
  }
}

@media (min-width: 1920px) {
  :root {
    font-size: 18px; 
  }

 
  .card,
  .card-materials-container,
  .machines,
  .pos,
  .payment-container,
  .partners,
  .footer-container {
    max-width: 2000px; 
  }
  .container{
      max-width:2500px;
  }
  .main-container {
    min-height: 42rem;
    background-size: cover; 
  }

  .main-text {
    width: 18%;
    max-width: 500px;
    font-size: 2rem;
    left: 12vw;
    top: 15rem;
  }

  .container-btn {
    width: 22rem;
    padding: 5px;
  }

  .container-btn span {
    font-size: 16px;
    line-height: 1.2;
  }

  .card-text {
    width: 30%;
  }

  .card-img {
    width: 60%;
    gap: 20px;
  }

  .card-img-card {
    width: 45%;
  }

  .card-img-card h3 {
    font-size: 18px;
  }

  .card-materials h1 {
    font-size: 48px;
    margin: 10rem 0 3rem 0;
  }

  .card-materials-text {
    width: 18%;
    min-width: 300px;
  }

  .card-materials-text h3 {
    font-size: 28px;
  }

  .card-materials-text p {
    font-size: 18px;
    line-height: 28px;
  }

  .machines h1 {
    font-size: 48px;
  }

  .machines-container {
    gap: 40px;
  }

  .machine-card {
    max-width: 500px;
  }

  .machine-card img {
    height: 400px;
  }

  .machine-card h3 {
    font-size: 40px;
  }

  .partners h1 {
    font-size: 40px;
  }

  .partners-img {
    width: 220px;
    height: 160px;
  }

  .pos-text {
    width: 28%;
  }

  .pos-text h1 {
    font-size: 56px;
  }

  .pos-text p {
    font-size: 32px;
  }

  .pos-video {
    width: 800px;
    height: 900px;
  }

  .payment-text {
    width: 28%;
  }

  .payment-text h1 {
    font-size: 56px;
  }

  .payment-text h3 {
    font-size: 28px;
  }

  .payment-text p {
    font-size: 28px;
  }

  .payment-img {
    width: 340px;
    height: 360px;
  }

  .payment-img-text {
    width: 24rem;
  }

  .payment-img-text h1 {
    font-size: 20px;
  }

  .content {
    padding: 5rem 7rem;
  }

  .content form {
    max-width: 40rem;
  }

  .content img {
    max-width: 350px;
  }

  .content h3 {
    font-size: 64px;
  }

  .content p {
    font-size: 32px;
  }

  .content input {
    padding: 20px 14px;
    font-size: 18px;
  }

  .content button {
    padding: 14px;
    font-size: 1.2rem;
  }

  .footer-container {
    gap: 3rem;
  }

  .contacts h3,
  .contacts a {
    font-size: 20px;
  }

  .info ul li a {
    font-size: 20px;
  }

  .footer-logo img {
    width: 8rem;
  }

  .footer-copy p {
    font-size: 1rem;
  }
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--white);
  padding: 1rem;
  border-radius: 18px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

label {
  font-family: Open-Sans-600;
  color: var(--primary-color);
  text-align: left;
}

input {
  padding: 0.8rem;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 16px;
  font-family: 'Open Sans', sans-serif;
}

.book-btn {
  padding: 0.8rem;
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: 32px;
  cursor: pointer;
  font-size: 16px;
  font-family: Open-Sans-700;
  transition: 0.2s;
}

.book-btn:hover {
  transition: 0.2s;
  background-color: #0b6172;
}


@media (max-width: 768px) {
  .modal-content {
    width: 85%;
    max-width: 350px;
  }

  .close-btn {
    font-size: 20px;
  }

  .book-btn {
    font-size: 14px;
    padding: 0.6rem;
  }
}
.order-btn {
  display: none; 
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  background-color: white;
  color: #0D778C;
  border: 1px solid #0D778C;
  border-radius: 32px;
  cursor: pointer;
  font-size: 14px;
  font-family: Open-Sans-700;
  opacity: 0; 
  transition: opacity 0.3s ease; 
}
/*.product:hover {*/
/*  transform: translateY(-5px);*/
/*  cursor: pointer;*/
/*  opacity: 0.7; */
/*}*/
/*.product:hover .order-btn {*/
/*  display: block; */
/*  opacity: 1; */
/*}*/
/*.order-btn:hover {*/
/*  background-color: #0b6172;*/
/*  color: white;*/
/*}*/
