body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 50%, #6c5ce7 100%);
    background-size: 300% 300%;
    animation: sparkle 8s ease infinite;
    background-attachment: fixed;
    scroll-behavior: smooth;
    min-height: 100vh;
}

@keyframes sparkle {
    0% {
        background-position: 0% 50%;
        filter: brightness(1);
    }

    25% {
        background-position: 50% 0%;
        filter: brightness(1.1);
    }

    50% {
        background-position: 100% 50%;
        filter: brightness(1.05);
    }

    75% {
        background-position: 50% 100%;
        filter: brightness(1.1);
    }

    100% {
        background-position: 0% 50%;
        filter: brightness(1);
    }
}

section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

h1,
h2 {
    color: white;
    font-size: 2.2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 10px auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.english {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    opacity: 0.85;
    font-size: 0.95em;
}

.separator {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    margin: 15px auto;
    border-radius: 1px;
}

.hero-card,
.about-me-card,
.price-card {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    padding: 30px 25px;
    border-radius: 20px;
    max-width: 700px;
    margin: 20px auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    text-align: center;
    transition: all 0.3s ease;
}

.hero-card:hover,
.about-me-card:hover,
.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hero-card p,
.about-me-card p {
    margin: 10px 0;
    color: #2c3e50;
}

.hero img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(-50px);
    transition: all 1s ease;
}

.classroom img,
.students-img {
    width: 90%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
    margin-bottom: 10px;
}

.price-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.price-card {
    width: 260px;
    text-align: center;
}

.price-card h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: #0984e3;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.price-card .price {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.price-card .format {
    font-size: 1rem;
    color: #555;
    margin-top: 15px;
}

.group-prices {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.group-prices li {
    background: #e6f0ff;
    border-radius: 10px;
    margin: 8px 0;
    padding: 10px 15px;
    font-weight: 500;
    color: #2c3e50;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.group-prices li span {
    font-weight: bold;
    color: #0984e3;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.rules-list li {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 12px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.rules-list li:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.rules-list .check {
    flex-shrink: 0;
    font-size: 1.2rem;
    line-height: 1.2;
}

.diploma-img {
    display: block;
    margin: 20px auto;
    width: 290px;
    max-width: 90%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.contact button {
    margin-top: 20px;
    background: linear-gradient(135deg, #25d366 0%, #1ebe5b 100%);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transform: translateY(0);
}

.contact button:hover {
    background: linear-gradient(135deg, #1ebe5b 0%, #25d366 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

@media (max-width: 600px) {
    .price-list {
        flex-direction: column;
        align-items: center;
    }

    .price-card {
        width: 80%;
        margin-bottom: 20px;
    }

    section {
        padding: 60px 15px;
    }

    .rules-list li {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}

.contact {
    text-align: center;
}

.contact button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #f8f8f8;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.contact button img {
    width: 24px;
    height: 24px;
}

.footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 0.9rem;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}