/* New styles for catalog, quiz, and modals */

/* Logo improvements */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -2px;
}

/* Product filters */
.product-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #333;
}

.filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}

/* Updated product cards */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 12px 12px 0 0;
}

.product-image::before {
    content: '💡';
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    z-index: 0;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
    border-radius: 8px;
}

.product-image img:hover {
    transform: scale(1.05);
}

/* Fallback for broken images */
.product-image img[src=""],
.product-image img:not([src]) {
    display: none;
}

.product-image img[alt]::after {
    content: attr(alt);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #333;
}

.product-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex: 1;
}

.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
}

.spec {
    font-size: 0.85rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
}

.product-order-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.product-order-btn:hover {
    transform: translateY(-2px);
}

.products-cta {
    text-align: center;
    margin-top: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
}

.products-cta p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
}

/* Quiz styles */
.quiz-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
}

.quiz-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.quiz-header {
    text-align: center;
    margin-bottom: 40px;
}

.quiz-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.quiz-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.quiz-progress {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: white;
    border-radius: 4px;
    transition: width 0.5s;
    width: 20%;
}

.progress-text {
    text-align: center;
    display: block;
    opacity: 0.8;
}

.quiz-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    color: #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.quiz-question {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.quiz-option {
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.quiz-option:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.quiz-option.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.option-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.option-label {
    font-weight: 600;
    font-size: 1rem;
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quiz-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: #e0e0e0;
    color: #333;
}

.quiz-btn:hover:not(:disabled) {
    transform: translateY(-2px);
}

.quiz-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quiz-btn.primary,
.quiz-next:not(:disabled) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Quiz results */
.quiz-results {
    text-align: center;
}

.quiz-results h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    text-align: left;
}

.result-card h4 {
    margin-bottom: 15px;
    color: #333;
}

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

.result-card li {
    padding: 5px 0;
    color: #666;
}

.result-card li:before {
    content: "✓ ";
    color: #28a745;
    font-weight: bold;
}

.savings-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 10px;
}

.quiz-contact {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.quiz-contact h4 {
    margin-bottom: 20px;
    color: #333;
}

.quiz-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.quiz-form input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.quiz-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.quiz-submit-btn:hover {
    transform: translateY(-2px);
}

.quiz-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-message {
    text-align: center;
    padding: 20px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}

.modal-content h2 {
    margin-bottom: 25px;
    color: #333;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-form .form-group {
    display: flex;
    flex-direction: column;
}

.modal-form input,
.modal-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.modal-submit-btn {
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.modal-submit-btn:hover {
    transform: translateY(-2px);
}

/* Header and footer buttons */
.consultation-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
    margin-right: 15px;
}

.consultation-btn:hover {
    transform: translateY(-2px);
}

/* Contact buttons */
.contact-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-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.6s;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-btn svg {
    transition: transform 0.3s ease;
}

.contact-btn:hover svg {
    transform: scale(1.1);
}

.telegram-btn {
    background: linear-gradient(135deg, #0088cc, #005a9e);
    color: white;
}

.telegram-btn:hover {
    background: linear-gradient(135deg, #0099ee, #0066bb);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #1da851);
    color: white;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #2de473, #22b95a);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Legacy social buttons for backward compatibility */
.social-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.social-btn.telegram-btn {
    background: linear-gradient(135deg, #0088cc, #005a9e);
    color: white;
}

.social-btn.telegram-btn:hover {
    background: linear-gradient(135deg, #0099ee, #0066bb);
}

.social-btn.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #1da851);
    color: white;
}

.social-btn.whatsapp-btn:hover {
    background: linear-gradient(135deg, #2de473, #22b95a);
}

.footer-cta-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
    margin-top: 20px;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Cart Styles */
.modern-cart-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.cart-icon {
    font-size: 3rem;
    opacity: 0.9;
}

.cart-title h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.cart-title p {
    margin: 5px 0 0 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

.modern-cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.modern-cart-item {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(102, 126, 234, 0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.modern-cart-item:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, 0.3);
}

.cart-item-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 0 0 16px 0;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

.cart-item-content {
    padding: 30px;
    padding-top: 40px;
}

.cart-item-main {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.cart-item-image-modern {
    width: 120px !important;
    height: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    min-height: 120px !important;
    max-height: 120px !important;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9ff 0%, #e3e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.1);
    position: relative;
}

.cart-item-image-modern img {
    width: 120px !important;
    height: 120px !important;
    max-width: 120px !important;
    max-height: 120px !important;
    object-fit: contain !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.image-placeholder {
    font-size: 3rem;
    color: #667eea;
    opacity: 0.6;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.item-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
}

.item-specs-modern {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.spec-tag {
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.spec-tag.power {
    background: #fff3cd;
    color: #856404;
}

.spec-tag.voltage {
    background: #d1ecf1;
    color: #0c5460;
}

.spec-tag.protection {
    background: #d4edda;
    color: #155724;
}

.item-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.item-details {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item-price-unit {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
}

.item-sensor-price {
    color: #28a745;
    font-size: 0.9rem;
    font-weight: 500;
}

.item-applications {
    color: #6c757d;
    font-size: 0.85rem;
    font-style: italic;
}

.spec-tag.warranty {
    background: #e2e3e5;
    color: #383d41;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 20px;
    border-top: 1px solid #f1f3f4;
    gap: 20px;
}

.quantity-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quantity-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.modern-quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.qty-btn-modern {
    width: 44px;
    height: 44px;
    border: none;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    transition: all 0.3s;
}

.qty-btn-modern:hover {
    background: #667eea;
    color: white;
}

.qty-input-modern {
    width: 60px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    background: white;
    color: #2c3e50;
}

.qty-input-modern:focus {
    outline: none;
}

.price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.item-total-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.remove-btn-modern {
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.remove-btn-modern:hover {
    background: #ff5252;
    transform: scale(1.05);
}

.add-more-section {
    margin-top: 30px;
}

.add-more-btn-modern {
    width: 100%;
    padding: 20px;
    background: white;
    border: 2px dashed #667eea;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
    color: #667eea;
}

.add-more-btn-modern:hover {
    background: #667eea;
    color: white;
    border-style: solid;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.3);
}

.add-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: currentColor;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.add-more-btn-modern:hover .add-icon {
    background: white;
    color: #667eea;
}

.add-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.add-text strong {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.add-text span {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .product-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-specs {
        grid-template-columns: 1fr;
    }
    
    .quiz-options {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .quiz-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .quiz-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .consultation-btn {
        display: none;
    }
    
    .social-buttons {
        gap: 8px;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
    }
    
    .social-btn svg {
        width: 18px;
        height: 18px;
    }
    
    /* Modern cart mobile styles */
    .modern-cart-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cart-icon {
        font-size: 2.5rem;
    }
    
    .cart-title h2 {
        font-size: 1.5rem;
    }
    
    .modern-cart-item {
        border-radius: 16px;
    }
    
    .cart-item-content {
        padding: 20px;
        padding-top: 30px;
    }
    
    .cart-item-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .cart-item-image-modern {
        width: 100px;
        height: 100px;
        min-width: 100px;
    }
    
    .item-specs-modern {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .spec-tag {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .cart-item-actions {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .quantity-section {
        align-items: center;
    }
    
    .price-section {
        align-items: center;
        text-align: center;
    }
    
    .item-total-price {
        font-size: 1.3rem;
    }
    
    .add-more-btn-modern {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .add-icon {
        margin-bottom: 10px;
    }
    
    .quiz-header h2 {
        font-size: 2rem;
    }
    
    .quiz-content {
        padding: 25px;
    }
}

/* Hero Image Container */
.hero-image {
    position: absolute;
    right: 5%;
    top: 60%;
    transform: translateY(-50%);
    width: 320px;
    height: auto;
    z-index: 2;
}

@media (max-width: 1200px) {
    .hero-image {
        right: 2%;
        width: 280px;
    }
}

@media (max-width: 992px) {
    .hero-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 300px;
        margin: 30px auto 0;
    }
}

/* Floating Contact Buttons */
.floating-contact-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.floating-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.floating-btn svg {
    transition: transform 0.3s ease;
    z-index: 1;
}

.floating-btn:hover svg {
    transform: scale(1.1);
}

/* WhatsApp Floating Button */
.whatsapp-floating {
    background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
    color: white;
}

.whatsapp-floating:hover {
    background: linear-gradient(135deg, #2de473 0%, #22b95a 100%);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* Telegram Floating Button */
.telegram-floating {
    background: linear-gradient(135deg, #0088cc 0%, #005a9e 100%);
    color: white;
}

.telegram-floating:hover {
    background: linear-gradient(135deg, #0099ee 0%, #0066bb 100%);
    box-shadow: 0 8px 30px rgba(0, 136, 204, 0.4);
}

/* Consultation Floating Button */
.consultation-floating {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    animation: pulse-soft 3s infinite;
}

.consultation-floating:hover {
    background: linear-gradient(135deg, #7c8cff 0%, #8a5db8 100%);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
    animation: none;
}

/* Scroll to Top Button */
.scroll-to-top {
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
    color: white;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #8892a6 0%, #5a6578 100%);
    box-shadow: 0 8px 30px rgba(113, 128, 150, 0.4);
}

/* Pulse animation for consultation button */
@keyframes pulse-soft {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 15px rgba(102, 126, 234, 0);
    }
}

/* Floating buttons mobile styles */
@media (max-width: 768px) {
    .floating-contact-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 55px;
        height: 55px;
    }
    
    .floating-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* Contact Page Social Links Styles */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.telegram-contact .social-icon {
    background: linear-gradient(135deg, #0088cc, #005a9e);
    color: white;
}

.telegram-contact:hover {
    border-color: rgba(0, 136, 204, 0.3);
}

.whatsapp-contact .social-icon {
    background: linear-gradient(135deg, #25D366, #1da851);
    color: white;
}

.whatsapp-contact:hover {
    border-color: rgba(37, 211, 102, 0.3);
}

.social-link span {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 2px;
}

.social-link p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Map Container Styles */
.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    border-radius: 16px;
    display: block;
}

@media (max-width: 768px) {
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        padding: 15px;
        gap: 12px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-link span {
        font-size: 1rem;
    }
    
    .social-link p {
        font-size: 0.85rem;
    }
}

/* Modern Floating Card Styles */
.modern-floating-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 280px;
    padding: 25px 20px;
}

.modern-floating-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15), 0 12px 35px rgba(0, 0, 0, 0.1);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.03) 0%, 
        rgba(118, 75, 162, 0.05) 50%, 
        rgba(255, 215, 0, 0.02) 100%);
    z-index: 0;
}

.card-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: float-glow 6s ease-in-out infinite;
    z-index: 0;
}

.card-icon-modern {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    z-index: 2;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
    z-index: 1;
}

.modern-floating-card .card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0;
}

.modern-floating-card .card-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-floating-card .card-content p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.3;
}

.smart-features {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-tag {
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #667eea;
    backdrop-filter: blur(10px);
}

/* Animations */
@keyframes float-glow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Mobile adjustments for floating card */
@media (max-width: 768px) {
    .modern-floating-card {
        margin: 20px auto 0;
        max-width: 280px;
    }
    
    .card-icon-modern {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .card-icon-modern svg {
        width: 42px;
        height: 42px;
    }
    
    .modern-floating-card .card-content h3 {
        font-size: 1.2rem;
    }
    
    .modern-floating-card .card-content p {
        font-size: 0.9rem;
    }
    
    .feature-tag {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
}