/* Main Styles */
:root {
    --primary: #4a6fa5;
    --primary-dark: #166088;
    --secondary: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --light: #f8fafc;
    --dark: #1f2937;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --radius: 10px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 80%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

/* Notification Marquee */
.notification-marquee {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%) !important;
}

.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-label {
    background: var(--primary);
    padding: 2px 10px;
    border-radius: 4px;
    margin-right: 20px;
}

.marquee-item {
    display: inline-block;
    margin-right: 40px;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Cards */
.card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hover-lift:hover {
    transform: translateY(-10px);
}

.hover-shadow:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-lg {
    padding: 12px 32px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn:active {
    transform: translateY(0);
}

/* Forms */
.form-control, .form-select {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
    transform: translateY(-1px);
}

/* Service Cards */
.service-card-advanced {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
}

.service-card-advanced:hover {
    border-color: var(--primary);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0;
    color: white;
}

.hero-content h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    animation: float 3s ease-in-out infinite;
    z-index: 1;
}

.floating-card.card-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 20%;
    right: 10%;
    animation-delay: 0.5s;
}

.floating-card.card-3 {
    bottom: 30%;
    left: 15%;
    animation-delay: 1s;
}

.floating-card.card-4 {
    bottom: 20%;
    right: 5%;
    animation-delay: 1.5s;
}

.main-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin: 0 auto;
    max-width: 400px;
    z-index: 2;
}

/* Animations */
.animate__animated {
    animation-duration: 1s;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .floating-card {
        width: 100px;
        height: 100px;
        padding: 15px;
    }
    
    .service-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
/* Footer Styles */
.footer-section {
    position: relative;
    margin-top: 100px;
}

.wave-divider {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    z-index: 1;
}

.wave-divider svg {
    width: 100%;
    height: 100%;
}

.footer-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.footer-brand {
    border-left: 4px solid var(--primary);
    padding-left: 15px;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.8;
}

.newsletter-form .input-group {
    border-radius: 8px;
    overflow: hidden;
}

.newsletter-form input {
    border: none;
    padding: 12px 15px;
}

.newsletter-form button {
    border: none;
    padding: 0 20px;
}

.social-links .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link.facebook { background: #1877f2; }
.social-link.twitter { background: #1da1f2; }
.social-link.instagram { background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); }
.social-link.linkedin { background: #0077b5; }
.social-link.youtube { background: #ff0000; }
.social-link.telegram { background: #0088cc; }

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.footer-title {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: white;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links {
    padding-left: 0;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.footer-link:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact h6 {
    color: white;
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.legal-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: white;
}

.payment-methods i {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-methods i:hover {
    opacity: 1;
}

.trust-badges .badge-item {
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.trust-badges .badge-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
}

.trust-badges h6 {
    color: white;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(74, 111, 165, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 111, 165, 0.4);
}

/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 100px;
    z-index: 999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--danger);
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chat-window.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background: var(--primary);
    color: white;
    padding: 15px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-close-chat {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

.chat-body {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chat-footer input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 12px;
}

.chat-footer button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark Mode Footer */
[data-theme="dark"] .footer-content {
    background: linear-gradient(135deg, #111827 0%, #000 100%);
}

[data-theme="dark"] .trust-badges .badge-item {
    background: rgba(255,255,255,0.1);
}

[data-theme="dark"] .chat-window {
    background: #1f2937;
    color: white;
}

[data-theme="dark"] .chat-footer input {
    background: #374151;
    border-color: #4b5563;
    color: white;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-section {
        margin-top: 50px;
    }
    
    .wave-divider {
        top: -50px;
        height: 50px;
    }
    
    .footer-title {
        font-size: 18px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .live-chat-widget {
        bottom: 20px;
        right: 80px;
    }
    
    .chat-window {
        width: calc(100vw - 40px);
        right: -30px;
    }
}

/* Print Styles for Footer */
@media print {
    .footer-section {
        display: none !important;
    }
}