body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
    color: #333;
}

* {
  cursor: url('images/cursor.png'), auto;
}
button, .button {
  cursor: url('images/hand-cursor.png'), pointer;
}
a {
  cursor: url('images/hand-cursor.png'), pointer;
}
u {
    text-decoration: underline solid;
}

header {
    background: linear-gradient(to bottom, #fff, #f0f0f0);
    color: #000;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 20px 20px;
}

a {
    color: #0071e3;
    font-weight: bold;
}


.highlight {
    color: #0071e3;
    font-weight: bold;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 50px 50px;
}

.left-part {
    max-width: 50%;
}

.left-part h1 {
    font-size: 36px;
    color: #000;
}

.left-part p {
    font-size: 17px;
    color: #666;
    margin-top: 10px;
}

.left-part .subtitle {
    font-size: 28px;
}

.right-part {
    flex-grow: 1;
    text-align: center;
    max-width: 35%;
}

.profile-card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

.profile-img {
    border-radius: 50%;
    width: 160px;
    height: 160px;
    object-fit: cover;
    margin-bottom: 15px;
}

.profile-card h2 {
    font-size: 24px;
    color: #000;
}

.contact-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #0071e3;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 15px;
}

.contact-btn:hover {
    background-color: #005bb5;
    transform: translateY(-3px);
}

.bottom-part {
    text-align: center;
    margin-top: 20px;
}

.scroll-indicator {
    font-size: 24px;
    color: #000;
    animation: bounce 1.5s infinite;
    margin-top: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.tariffs {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 40px 20px;
}

.tariff-card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    margin: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
/*    min-height: 625px;*/
}

.tariff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.tariff-card h3 {
    font-size: 24px;
    color: #0071e3;
}

.tariff-card ul {
    list-style: none;
    padding: 0;
}

.tariff-card ul li {
    margin-bottom: 10px;
}

.tariff-card .price {
    font-size: 28px;
    color: #0071e3;
    font-weight: bold;
    position: relative;
    margin-top: 20px;
}

.tariffs .btn, .tariffs .btn2 {
    display: inline-block;
    padding: 12px 30px;
    margin-bottom: 15px;
    background-color: #0071e3;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    transition: background-color 0.3s ease;
    width: 150px;
    text-align: center;
}

.tariffs .btn2 {
    background-color: #000000;
    width: 120px;
}

.tariffs .btn:hover {
    background-color: #005bb5;
}

.tariffs .btn2:hover {
    background-color: #3c3c3c;
}

.item-block {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 40px 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.item-block h2 {
    font-size: 36px;
    color: #0071e3;
    margin-bottom: 20px;
    text-align: center;
}

.item-block p {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.item-block .main-item {
    margin-bottom: 20px;
}

.item-block .main-item h3 {
    font-size: 24px;
    color: #000;
}

.item-block .main-item ul {
    list-style: none;
    padding: 0;
}

.item-block .main-item ul li {
    margin-bottom: 10px;
}

.item-block .main-item .price {
    font-size: 16px;
    color: #0071e3;
    font-weight: bold;
}

.catalog-title, .item-title {
    font-size: 36px;
    color: #000;
    text-align: center;
    margin: 40px 0;
    font-weight: bold;
}

.catalog {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 40px 20px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 320px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.image-container {
    width: 100%;
    height: 460px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card h2 {
    font-size: 28px;
    margin: 20px 0;
    color: #0071e3;
}

.card .btn, .card .btn2 {
    display: inline-block;
    padding: 12px 30px;
    margin-bottom: 15px;
    background-color: #0071e3;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    transition: background-color 0.3s ease;
    width: 150px;
    text-align: center;
}

.card .btn2 {
    background-color: #000000;
    width: 120px;
}

.card .btn:hover {
    background-color: #005bb5;
}

.card .btn2:hover {
    background-color: #3c3c3c;
}

@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#loading-indicator .spinner {
  margin: 0 auto;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top: 4px solid #333;
  border-radius: 50%;
  animation: spinner 1s linear infinite;
}

.popup {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 300px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    transform: scale(1);
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.popup-content {
    padding: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.popup h2 {
    margin: 0;
    font-size: 18px;
    color: #0071e3;
}

.popup p {
    margin: 10px 0;
    color: black;
}

.popup-btn {
    display: inline-block;
    background-color: #0071e3;
    color: white;
    padding: 10px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.popup-btn:hover {
    background-color: #005bb5;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    background: none;
    border: none;
    color: black;
    cursor: pointer;
}

.close-btn:hover {
    color: #1cbbee;
}

@media only screen and (max-width: 768px) {
    header {
        padding: 0px;
    } 
    .header-content {
        flex-direction: column;
        align-items: center;
        margin: 50px 30px;
    }

    .left-part, .right-part {
        width: 100%;
        max-width: none;
        margin-bottom: 20px;
        text-align: center;
    }

    .right-part {
        margin-top: 20px;
    }    
    .item-block {
        padding: 20px;
        margin: 20px;
    }

    .item-block h2 {
        font-size: 28px;
    }

    .item-block p, .item-block .main-item ul li {
        font-size: 16px;
    }

    .catalog-title, .item-title {
        font-size: 28px;
    }   
    .tariffs {
        flex-direction: column;
        align-items: center;
    }
    .tariff-card {
        width: 90%;
        margin: 10px auto;
    }    
    .main-item .faq-content {
        display: none;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        max-height: 0;
        padding: 0 15px;
    }
    .main-item.active .faq-content {
        display: block;
        max-height: 500px;
        padding: 10px 15px;
    }
    .item-block .main-item h3 {
        font-size: 23px;
        color: #000;
    }
}

@media only screen and (max-width: 480px) {
    header {
        padding: 0px;
    }    
    header h1 {
        font-size: 25px;
    }

    header p {
        font-size: 16px;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
        margin: 50px 20px;
    }

    .profile-img {
        width: 120px;
        height: 120px;
    }

    .profile-card h2 {
        font-size: 18px;
    }
    .left-part h1 {
        font-size: 35.3px;
    }
    .item-block .main-item h3 {
    font-size: 17px;
    color: #000;
    }
}
