/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .85);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}


#how-it-works {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.step-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #0d6efd;
}

.step-card-highlight {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    border: none;
}

.step-number {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 60px;
    font-weight: 800;
    color: rgba(13, 110, 253, 0.1);
    line-height: 1;
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    color: rgba(13, 110, 253, 0.15);
    transform: scale(1.1);
}

.step-card-highlight .step-number {
    color: rgba(255, 255, 255, 0.2);
}

.step-card-highlight:hover .step-number {
    color: rgba(255, 255, 255, 0.3);
}

.step-icon {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.step-icon i {
    position: relative;
    z-index: 2;
}

.step-icon::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.step-card-highlight .step-icon::before {
    background: rgba(255, 255, 255, 0.2);
}

.step-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.step-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #0d6efd;
    border-radius: 2px;
}

.step-card-highlight h4::after {
    background: white;
}

.step-card p {
    color: #666;
    line-height: 1.6;
}

.step-card-highlight p {
    color: rgba(255, 255, 255, 0.9);
}

/* Timeline effect on mobile */
@media (min-width: 768px) {
    .row {
        position: relative;
    }

    .row::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 2px;
        /*background: linear-gradient(90deg,*/
        /*rgba(13, 110, 253, 0.2) 0%,*/
        /*rgba(13, 110, 253, 0.5) 20%,*/
        /*rgba(13, 110, 253, 0.8) 50%,*/
        /*rgba(13, 110, 253, 0.5) 80%,*/
        /*rgba(13, 110, 253, 0.2) 100%);*/
        transform: translateY(-50%);
        z-index: 0;
    }

    .step-card {
        position: relative;
        z-index: 1;
    }
}

/* Mobile responsive */
@media (max-width: 767.98px) {
    .step-card {
        padding: 30px 20px;
    }

    .step-number {
        font-size: 50px;
    }

    .step-icon i {
        font-size: 2.5rem !important;
    }
}

/* Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.step-card-highlight {
    animation: pulse 2s infinite;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

#detailed-services {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #0d6efd;
}

.service-card-premium {
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, #ffffff 0%, #fff9e6 100%);
}

.service-card-featured {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    color: white;
    border: none;
}

.service-card-featured h2,
.service-card-featured p,
.service-card-featured h5 {
    color: white;
}

.service-card-featured .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #0d6efd;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.service-badge-hot {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
}

.service-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.service-image img {
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 110, 253, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-content h3 {
    color: #333;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #0d6efd;
    border-radius: 2px;
}

.service-card-featured .service-content h3::after {
    background: white;
}

.service-content p {
    color: #666;
    line-height: 1.7;
}

.service-card-featured p {
    color: rgba(255, 255, 255, 0.9);
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.service-features span {
    background: rgba(13, 110, 253, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #0d6efd;
    font-weight: 500;
}

.feature-box {
    text-align: center;
    padding: 20px 10px;
}

.feature-box i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-box h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.feature-box p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.service-card-featured .feature-box p {
    color: rgba(255, 255, 255, 0.9);
}

.price-badge {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.old-price {
    display: block;
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
}

.new-price {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d6efd;
}

.btn-outline-primary {
    border-width: 2px;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

/* Modal Styles */
.modal-content {
    border-radius: 20px;
    border: none;
}

.modal-header {
    border-bottom: 2px solid #f0f0f0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px 20px 0 0;
}

.modal-title {
    color: #333;
    font-weight: 700;
}

.advantages {
    margin-top: 20px;
}

.advantage-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 10px;
}

.advantage-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.advantage-item h6 {
    margin: 0;
    color: #333;
    font-weight: 600;
}

.advantage-item p {
    margin: 5px 0 0;
    color: #666;
    font-size: 0.9rem;
}

.pricing {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item span:first-child {
    color: #333;
    font-weight: 500;
}

.price {
    color: #0d6efd;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .service-card {
        padding: 20px;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }

    .service-features {
        gap: 10px;
    }

    .service-features span {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .feature-box {
        padding: 10px 5px;
    }

    .feature-box i {
        font-size: 2rem;
    }

    .feature-box h5 {
        font-size: 1.2rem;
    }
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn i {
    font-size: 1.2em;
}

#consultation-panel {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

#consultation-panel::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.1) 0%, transparent 70%);
    z-index: 0;
}

#consultation-panel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 136, 204, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.consultation-icon {
    display: inline-block;
    padding: 20px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.status-indicator, .response-time {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    position: relative;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3) !important;
    color: white;
}

.whatsapp-icon {
    animation: pulse 2s infinite;
}

.whatsapp-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    color: #25D366;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Telegram Button */
.telegram-btn {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: white;
    border: none;
    position: relative;
    transition: all 0.3s ease;
}

.telegram-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 136, 204, 0.3) !important;
    color: white;
}

.telegram-icon {
    animation: pulse 2s infinite;
    animation-delay: 0.5s;
}

.telegram-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    color: #0088cc;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Contact Methods */
.phone-contact, .email-contact {
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.phone-contact:hover, .email-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Form Styles */
.consultation-form-card {
    border-left: 5px solid var(--primary-color);
}

.form-floating > label {
    padding-left: 2.5rem;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    padding-left: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.btn-check:checked + .btn-outline-primary {
    background: var(--primary-color);
    color: white;
}

/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-toggle {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a67d8 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.05);
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: none;
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a67d8 100%);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-body {
    padding: 15px;
    height: 300px;
    overflow-y: auto;
}

.chat-message {
    display: flex;
    margin-bottom: 15px;
}

.message-avatar {
    width: 40px;
    height: 40px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.message-content {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 80%;
}

.chat-bot .message-content {
    background: #e3f2fd;
}

.chat-input {
    padding: 15px;
    border-top: 1px solid #dee2e6;
    display: flex;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    margin-right: 10px;
}

.chat-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .live-chat-widget {
        bottom: 20px;
        right: 20px;
    }

    .chat-window {
        width: 300px;
    }

    .status-indicator, .response-time {
        margin-bottom: 10px;
    }
}

.simple-map-container {
    position: relative;
    height: 500px;
}

.simple-map-container iframe {
    filter: grayscale(20%) contrast(1.1);
}

.address-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    max-width: 300px;
    z-index: 100;
}

@media (max-width: 768px) {
    .simple-map-container {
        height: 400px;
    }

    .address-overlay {
        position: relative;
        top: 0;
        left: 0;
        max-width: 100%;
        margin-top: -50px;
        margin-left: 15px;
        margin-right: 15px;
    }
}

.tooth-back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: hidden;
}

.tooth-back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.tooth-back-to-top:hover::before {
    opacity: 1;
}

.tooth-back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.tooth-icon {
    position: relative;
    z-index: 2;
    animation: floatTooth 3s ease-in-out infinite;
}

.tooth-icon svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}

.tooth-text {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #0d6efd;
}

.tooth-back-to-top:hover .tooth-text {
    opacity: 1;
}

@keyframes floatTooth {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Пульсирующий эффект */
.tooth-back-to-top::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulseTooth 2s ease-out infinite;
    z-index: 1;
}

@keyframes pulseTooth {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .tooth-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .tooth-icon svg {
        width: 24px;
        height: 24px;
    }
}

.dental-marquee-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.dental-background-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatBubble 15s infinite linear;
}

.bubble-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 85%;
    animation-delay: 2s;
}

.bubble-3 {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.bubble-4 {
    width: 40px;
    height: 40px;
    top: 30%;
    left: 75%;
    animation-delay: 6s;
}

.bubble-5 {
    width: 70px;
    height: 70px;
    top: 70%;
    left: 40%;
    animation-delay: 8s;
}

@keyframes floatBubble {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(0) rotate(180deg);
        opacity: 0.5;
    }
    75% {
        transform: translateY(20px) rotate(270deg);
        opacity: 0.3;
    }
}

.marquee-container {
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 15px 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.marquee-track {
    display: flex;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.marquee-reverse .marquee-track {
    animation: marqueeScrollReverse 25s linear infinite;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeScrollReverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.marquee-item {
    flex: 0 0 auto;
    padding: 0 20px;
    transition: transform 0.3s ease;
}

.marquee-item:hover {
    transform: translateY(-5px);
}

.dental-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    min-width: 150px;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dental-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.dental-icon i {
    font-size: 32px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.dental-icon span {
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Индивидуальные цвета для иконок */
.implant i { color: #25D366; }
.crown i { color: #FFD700; }
.veneer i { color: #A6E3E9; }
.braces i { color: #FF6B8B; }
.whitening i { color: #87CEEB; }
.surgery i { color: #FF8C42; }
.equipment i { color: #9370DB; }
.scanner i { color: #20B2AA; }
.laser i { color: #FF4444; }
.xray i { color: #7B68EE; }
.cadcam i { color: #FFA500; }
.german i { color: #000000; }

/* Эффекты при наведении */
.implant:hover i { animation: pulseImplant 0.5s ease; }
.crown:hover i { animation: spinCrown 0.5s ease; }
.whitening:hover i { animation: shine 1s ease-in-out; }
.laser:hover i { animation: laserPulse 0.5s ease infinite; }

@keyframes pulseImplant {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes spinCrown {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.5); }
}

@keyframes laserPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.dental-cta-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white !important;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.dental-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.7s ease;
}

.dental-cta-btn:hover::before {
    left: 100%;
}

.dental-cta-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

/* Эффект пульсации для кнопки */
.dental-cta-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: inherit;
    animation: pulseButton 3s ease-out infinite;
    z-index: -1;
    opacity: 0;
}

@keyframes pulseButton {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .marquee-container {
        padding: 10px 0;
    }

    .dental-icon {
        padding: 12px 20px;
        min-width: 130px;
    }

    .dental-icon i {
        font-size: 24px;
    }

    .dental-icon span {
        font-size: 12px;
    }

    .dental-cta-btn {
        font-size: 16px;
        padding: 12px 25px;
    }

    .bubble {
        display: none;
    }
}

@media (max-width: 480px) {
    .marquee-track {
        animation-duration: 40s !important;
    }

    .marquee-reverse .marquee-track {
        animation-duration: 35s !important;
    }

    .dental-icon {
        min-width: 110px;
        padding: 10px 15px;
    }
}
/*!* Testimonials Styles *!*/
/*.testimonial-card {*/
/*    background: #fff;*/
/*    border-radius: 15px;*/
/*    padding: 30px;*/
/*    height: 100%;*/
/*    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);*/
/*    transition: all 0.3s ease;*/
/*    border: 1px solid #f0f0f0;*/
/*}*/

/*.testimonial-card:hover {*/
/*    transform: translateY(-10px);*/
/*    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);*/
/*}*/

/*.testimonial-header {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    margin-bottom: 20px;*/
/*    position: relative;*/
/*}*/

/*.patient-avatar {*/
/*    position: relative;*/
/*    margin-right: 15px;*/
/*}*/

/*.patient-avatar img {*/
/*    width: 70px;*/
/*    height: 70px;*/
/*    object-fit: cover;*/
/*    border: 3px solid #f8f9fa;*/
/*}*/

/*.verified-badge {*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    right: 0;*/
/*    background: #28a745;*/
/*    color: white;*/
/*    border-radius: 50%;*/
/*    width: 22px;*/
/*    height: 22px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    font-size: 12px;*/
/*}*/

/*.patient-info {*/
/*    flex-grow: 1;*/
/*}*/

/*.quote-icon {*/
/*    font-size: 30px;*/
/*    opacity: 0.2;*/
/*    position: absolute;*/
/*    right: 20px;*/
/*    top: 20px;*/
/*}*/

/*.testimonial-body {*/
/*    border-left: 3px solid #0d6efd;*/
/*    padding-left: 20px;*/
/*    margin: 25px 0;*/
/*    font-style: italic;*/
/*    line-height: 1.6;*/
/*}*/

/*.testimonial-footer {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    padding-top: 15px;*/
/*    border-top: 1px solid #f0f0f0;*/
/*    font-size: 0.9rem;*/
/*}*/

/*.dental-work .badge {*/
/*    font-weight: 500;*/
/*    padding: 5px 10px;*/
/*    border-radius: 20px;*/
/*}*/

/*.date {*/
/*    color: #6c757d;*/
/*    font-size: 0.85rem;*/
/*}*/

/*.stars {*/
/*    color: #ffc107;*/
/*}*/

/*.stats-section {*/
/*    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);*/
/*}*/

/*.stat-item {*/
/*    padding: 20px;*/
/*}*/

/*.stat-number {*/
/*    font-size: 3rem;*/
/*    line-height: 1;*/
/*    margin-bottom: 10px;*/
/*}*/

/*.stat-label {*/
/*    color: #6c757d;*/
/*    font-weight: 500;*/
/*}*/

/*@media (max-width: 768px) {*/
/*    .testimonial-header {*/
/*        flex-direction: column;*/
/*        text-align: center;*/
/*    }*/

/*    .patient-avatar {*/
/*        margin-right: 0;*/
/*        margin-bottom: 15px;*/
/*    }*/

/*    .quote-icon {*/
/*        position: relative;*/
/*        right: auto;*/
/*        top: auto;*/
/*        margin-top: 15px;*/
/*    }*/

/*    .stat-number {*/
/*        font-size: 2.5rem;*/
/*    }*/
/*}*/

/* Testimonials Carousel Styles */
.testimonial-carousel-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    margin: 20px;
    border: 1px solid #e9ecef;
}

.testimonial-avatar {
    position: relative;
    margin-bottom: 20px;
}

.testimonial-avatar img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.verified-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.testimonial-content {
    padding: 20px;
}

.stars {
    font-size: 1.5rem;
}

.treatment-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Карусель стили */
#testimonialsCarousel .carousel-indicators {
    bottom: -60px;
}

#testimonialsCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dee2e6;
    border: none;
}

#testimonialsCarousel .carousel-indicators button.active {
    background-color: #0d6efd;
}

#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: #0d6efd;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

#testimonialsCarousel .carousel-control-prev {
    left: -25px;
}

#testimonialsCarousel .carousel-control-next {
    right: -25px;
}

/* Счетчик отзывов */
.reviews-counter {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
}

.rating-summary {
    max-width: 600px;
    margin: 0 auto;
}

.average-rating {
    text-align: center;
    padding-right: 40px;
    border-right: 2px solid #dee2e6;
}

.rating-bars {
    flex-grow: 1;
    padding-left: 40px;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-bar span:first-child {
    width: 70px;
    text-align: right;
    margin-right: 15px;
}

.rating-bar .bar {
    flex-grow: 1;
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    margin: 0 15px;
}

.rating-bar .fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 5px;
}

.rating-bar span:last-child {
    width: 40px;
    text-align: left;
}

/* Форма отзыва в модальном окне */
.rating-input {
    text-align: center;
}

.stars-select {
    display: inline-block;
    direction: rtl;
}

.stars-select input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.star-label {
    font-size: 2.5rem;
    color: #dee2e6;
    cursor: pointer;
    padding: 0 5px;
    position: relative;
    transition: color 0.3s;
}

.star-label:hover,
.star-label:hover ~ .star-label,
.stars-select input[type="radio"]:checked ~ .star-label {
    color: #ffc107;
}

.star-label .tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.star-label:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Загрузка фото */
.photo-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.photo-upload-area:hover {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

.photo-upload-area.dragover {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .testimonial-carousel-card {
        padding: 20px;
        margin: 10px;
    }

    .testimonial-avatar img {
        width: 100px;
        height: 100px;
    }

    .rating-summary {
        flex-direction: column;
        text-align: center;
    }

    .average-rating {
        padding-right: 0;
        padding-bottom: 20px;
        border-right: none;
        border-bottom: 2px solid #dee2e6;
        margin-bottom: 20px;
    }

    .rating-bars {
        padding-left: 0;
    }

    #testimonialsCarousel .carousel-control-prev {
        left: 10px;
    }

    #testimonialsCarousel .carousel-control-next {
        right: 10px;
    }
}


/* Modern Dental Showcase Styles */
.dental-showcase-section {
    background: linear-gradient(135deg, #0a2647 0%, #144272 50%, #205295 100%);
    position: relative;
    overflow: hidden;
}

.py-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

/* Декоративные элементы */
.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-tooth {
    position: absolute;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    animation: floatTooth 20s infinite linear;
}

.floating-tooth.tooth-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-tooth.tooth-2 {
    bottom: 15%;
    right: 8%;
    animation-delay: 10s;
}

.floating-star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.floating-star.star-1 {
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.floating-star.star-2 {
    top: 40%;
    left: 20%;
    animation-delay: 1s;
}

.floating-star.star-3 {
    bottom: 30%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes floatTooth {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Основная карточка */
.dental-showcase-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4rem 3rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Заголовок */
.dental-showcase-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.header-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

.text-gradient {
    background: linear-gradient(90deg, #00d4ff, #00ff88, #00d4ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Обертка для бегущих строк */
.marquee-wrapper {
    position: relative;
    overflow: hidden;
    margin: 3rem 0;
}

/* Контейнер бегущей строки */
.marquee-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    animation: marquee-scroll 40s linear infinite;
}

.marquee-container.reverse .marquee-content {
    animation-direction: reverse;
    animation-duration: 45s;
}

.marquee-group {
    display: flex;
    flex-shrink: 0;
    gap: 2rem;
    padding: 0 1rem;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Карточки услуг (3D эффект) */
.service-card-3d {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.5rem;
    width: 200px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card-3d:hover {
    transform: translateY(-10px) rotateX(5deg);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.card-icon {
    color: #00ff88;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.service-card-3d:hover .card-icon {
    transform: scale(1.2);
}

.card-content h6 {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.card-content small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.card-badge {
    position: absolute;
    top: -8px;
    right: 10px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Карточки технологий */
.tech-card-3d {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    width: 200px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tech-card-3d:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
}

.tech-icon {
    color: #00d4ff;
    margin-bottom: 1rem;
}

.tech-content h6 {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.tech-content small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}

/* Сетка преимуществ */
.features-grid {
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-item h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Кнопка CTA */
.btn-glow {
    position: relative;
    overflow: hidden;
    border: none;
}

.dental-cta-premium {
    background: linear-gradient(90deg, #00b894, #00a8ff, #00b894);
    background-size: 200% auto;
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.3);
    animation: gradient-shift 3s ease infinite;
}

.dental-cta-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 184, 148, 0.4);
    background-position: right center;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 1rem;
}

.cta-main {
    font-size: 1.2rem;
    font-weight: 700;
}

.cta-sub {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.dental-cta-premium:hover .cta-arrow {
    transform: translateX(5px);
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Адаптивность */
@media (max-width: 992px) {
    .dental-showcase-title {
        font-size: 2.5rem;
    }

    .dental-showcase-card {
        padding: 3rem 2rem;
    }

    .marquee-group {
        gap: 1rem;
    }

    .service-card-3d,
    .tech-card-3d {
        width: 180px;
        min-height: 110px;
    }
}

@media (max-width: 768px) {
    .dental-showcase-title {
        font-size: 2rem;
    }

    .header-line {
        width: 40px;
    }

    .marquee-group {
        gap: 0.75rem;
    }

    .service-card-3d,
    .tech-card-3d {
        width: 160px;
        padding: 1rem;
        min-height: 100px;
    }

    .card-content h6,
    .tech-content h6 {
        font-size: 0.9rem;
    }

    .dental-cta-premium {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
    }

    .cta-main {
        font-size: 1rem;
    }

    .cta-sub {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .dental-showcase-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .dental-showcase-title {
        font-size: 1.75rem;
    }

    .marquee-group {
        gap: 0.5rem;
    }

    .service-card-3d,
    .tech-card-3d {
        width: 140px;
        min-height: 90px;
        padding: 0.75rem;
    }

    .feature-item {
        padding: 1.5rem 1rem;
    }
}




/* Вариант 1: Стеклянные кнопки с градиентами */
.social-buttons {
    display: flex;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.social-btn i {
    font-size: 1.2rem;
}

.fb-btn {
    background: linear-gradient(135deg,
    rgba(66, 103, 178, 0.9),
    rgba(66, 103, 178, 0.7));
    color: white;
}

.ig-btn {
    background: linear-gradient(135deg,
    rgba(225, 48, 108, 0.9),
    rgba(225, 48, 108, 0.7));
    color: white;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.social-btn:active {
    transform: translateY(0);
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent);
    transition: left 0.7s;
}

.social-btn:hover::before {
    left: 100%;
}

/* Вариант 2: Современные анимированные кнопки */
.modern-social-btns {
    display: flex;
    gap: 20px;
}

.modern-social-btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    min-width: 160px;
    transition: all 0.3s ease;
}

.modern-social-btn .btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
}

.modern-social-btn .btn-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1;
}

.modern-social-btn:hover .btn-hover {
    transform: translateY(0);
}

.fb-btn {
    background: #4267B2;
}

.ig-btn {
    background: linear-gradient(45deg,
    #405DE6, #5851DB, #833AB4,
    #C13584, #E1306C, #FD1D1D);
}

.modern-social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Вариант 3: Минималистичные иконки */
.minimal-social {
    display: flex;
    gap: 20px;
}

.minimal-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.minimal-btn i {
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.fb-minimal {
    background: #4267B2;
}

.ig-minimal {
    background: linear-gradient(45deg,
    #405DE6, #833AB4, #E1306C);
}

.minimal-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.minimal-btn:hover i {
    transform: scale(1.2);
}

.minimal-btn .tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.minimal-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}

/* Вариант 4: Большие красивые кнопки */
.beautiful-social-buttons {
    display: flex;
    gap: 20px;
}

.beautiful-btn {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.beautiful-btn i {
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.beautiful-fb {
    background: linear-gradient(135deg, #4267B2, #3B5998);
}

.beautiful-ig {
    background: linear-gradient(135deg,
    #833AB4, #C13584, #E1306C,
    #FD1D1D, #F56040, #FFDC80);
}

.beautiful-btn .btn-wave {
    position: absolute;
    width: 200%;
    height: 200%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: radial-gradient(circle,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 30%,
    transparent 70%);
    border-radius: 50%;
    transition: transform 0.6s ease;
    z-index: 1;
}

.beautiful-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.beautiful-btn:hover i {
    transform: scale(1.2);
}

.beautiful-btn:hover .btn-wave {
    transform: translate(-50%, -50%) scale(1);
}

/* Общие анимации */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(66, 103, 178, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(66, 103, 178, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(66, 103, 178, 0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Добавьте этот класс для анимации плавания */
.beautiful-btn.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Адаптивность */
@media (max-width: 768px) {
    .social-buttons,
    .modern-social-btns {
        flex-direction: column;
        align-items: center;
    }

    .social-btn,
    .modern-social-btn {
        width: 100%;
        max-width: 250px;
    }

    .minimal-social {
        justify-content: center;
    }

    .beautiful-social-buttons {
        justify-content: center;
    }
}

/* Дополнительный вариант: Кнопки с цифрами подписчиков */
.beautiful-btn.with-counter {
    width: 90px;
    height: 90px;
}

.beautiful-btn.with-counter::after {
    content: '2.5K';
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}



.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    z-index: 9999;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success { background: linear-gradient(135deg, #4CAF50, #45a049); }
.notification.error { background: linear-gradient(135deg, #f44336, #d32f2f); }
.notification.warning { background: linear-gradient(135deg, #ff9800, #f57c00); }
.notification.info { background: linear-gradient(135deg, #2196F3, #1976D2); }