/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0.9rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo {
    height: 75px;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 15px rgba(99, 102, 241, 0.4));
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    font-size: 1.15rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #6366f1;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

/* Enhanced dropdown hover area */
.dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: 1;
    pointer-events: none;
}

.dropdown:hover::before {
    pointer-events: auto;
}

/* Prevent dropdown glitches during page interactions */
body.is-scrolling .dropdown:not(.active):not(.dropdown-open):hover .dropdown-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Smooth dropdown transitions */
.dropdown-menu {
    transition-delay: 0.1s;
}

.dropdown:hover .dropdown-menu,
.dropdown.dropdown-open .dropdown-menu {
    transition-delay: 0s;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 520px;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    z-index: 9999;
    pointer-events: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown.dropdown-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-content {
    padding: 1.5rem;
}

.dropdown-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.5rem;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.75rem;
    text-decoration: none;
    color: #374151;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-item:hover::before {
    opacity: 1;
}

.dropdown-item:hover {
    transform: translateY(-2px);
    border-color: #6366f1;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    color: #6366f1;
}

.dropdown-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.dropdown-item:hover img {
    transform: scale(1.1);
}

.dropdown-item span {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    position: relative;
    z-index: 1;
}

.view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.view-all-btn:hover {
    background: linear-gradient(135deg, #5855eb, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.view-all-btn i {
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(5px);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-icon {
    width: 32px;
    height: 32px;
    fill: #333;
    transition: all 0.3s ease;
}

.cart-link:hover .cart-icon {
    fill: #6366f1;
    transform: scale(1.1);
}

/* Cart Animation */
.cart-link.cart-shake {
    animation: cartShake 0.6s ease-in-out;
}

.cart-link.cart-bounce .cart-icon {
    animation: cartBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cart-link.cart-pulse .cart-count {
    animation: cartPulse 0.6s ease-out;
}

@keyframes cartShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

@keyframes cartBounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.3) rotate(-5deg); }
    50% { transform: scale(1.1) rotate(5deg); }
    70% { transform: scale(1.2) rotate(-3deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes cartPulse {
    0% { 
        transform: scale(1);
        background: #ef4444;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    30% { 
        transform: scale(1.4);
        background: #10b981;
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.3);
    }
    70% { 
        transform: scale(1.2);
        background: #10b981;
        box-shadow: 0 0 0 12px rgba(16, 185, 129, 0.1);
    }
    100% { 
        transform: scale(1);
        background: #ef4444;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Cart success animation */
.cart-link.cart-success .cart-icon {
    animation: cartSuccess 1s ease-in-out;
}

@keyframes cartSuccess {
    0% { 
        fill: #333;
        transform: scale(1);
    }
    25% { 
        fill: #10b981;
        transform: scale(1.2) rotate(-10deg);
    }
    50% { 
        fill: #10b981;
        transform: scale(1.3) rotate(10deg);
    }
    75% { 
        fill: #10b981;
        transform: scale(1.1) rotate(-5deg);
    }
    100% { 
        fill: #333;
        transform: scale(1) rotate(0deg);
    }
}

/* Celebration confetti animation */
.cart-celebration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    animation: confettiFall 2.5s ease-out forwards;
}

.confetti-rect {
    width: 10px;
    height: 6px;
    border-radius: 2px;
}

.confetti-triangle {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 8px solid;
    border-radius: 1px;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg) scale(1);
        opacity: 1;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg) scale(0.5);
        opacity: 0;
    }
}

/* Cart celebration bounce effect */
.cart-celebrate {
    position: relative;
    animation: celebrateBounce 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cart-celebrate::before {
    content: '🎉';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    animation: celebrateEmoji 1.5s ease-out forwards;
    pointer-events: none;
}

@keyframes celebrateBounce {
    0% { 
        transform: scale(1);
        background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    }
    25% { 
        transform: scale(1.3);
        background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
    }
    50% { 
        transform: scale(1.1);
        background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
    }
    75% { 
        transform: scale(1.2);
        background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    }
    100% { 
        transform: scale(1);
        background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    }
}

@keyframes celebrateEmoji {
    0% {
        transform: translateX(-50%) translateY(0) scale(0.5);
        opacity: 0;
    }
    20% {
        transform: translateX(-50%) translateY(-10px) scale(1.2);
        opacity: 1;
    }
    40% {
        transform: translateX(-50%) translateY(-15px) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-30px) scale(0.8);
        opacity: 0;
    }
}

/* Enhanced cart glow effect */
.cart-glow {
    animation: cartGlow 1s ease-out;
}

@keyframes cartGlow {
    0% {
        filter: drop-shadow(0 0 0 rgba(16, 185, 129, 0));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.8)) drop-shadow(0 0 40px rgba(16, 185, 129, 0.4));
    }
    100% {
        filter: drop-shadow(0 0 0 rgba(16, 185, 129, 0));
    }
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.8s ease-in-out;
}

.slide:hover .slide-bg::before {
    background: rgba(0,0,0,0.5);
    transition: background 0.3s ease;
}

.slide:hover .slide-content h1 {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slide.active .slide-bg {
    opacity: 1;
}

.slide.slide-out .slide-bg {
    opacity: 0;
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 1.5s cubic-bezier(0.25, 0.1, 0.25, 1), 
                transform 1.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    transition-delay: 0.1s;
}

/* Initial page load animation for first slide */
.slide.slide-initial {
    opacity: 0;
}

.slide.slide-initial.slide-fade-in {
    opacity: 1;
    transition: opacity 0.6s ease-in-out;
}

.slide.slide-initial.slide-fade-in .slide-bg {
    opacity: 1;
    transition: opacity 0.6s ease-in-out 0.1s;
}

.slide.slide-initial.slide-fade-in .slide-content {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.9s cubic-bezier(0.25, 0.1, 0.25, 1) 0.4s, 
                transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1) 0.4s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateX(0);
}

.slide.slide-out .slide-content {
    opacity: 0;
    transform: translateX(-80px);
    transition-delay: 0s;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
    display: none;
}

.slider-controls button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-controls button:hover {
    background: rgba(255,255,255,0.3);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
    display: none;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #6366f1;
    color: white;
}

.btn-primary:hover {
    background: #5855eb;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #6366f1;
    border: 2px solid #6366f1;
}

.btn-outline:hover {
    background: #6366f1;
    color: white;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #1e293b;
}

.section-title-r {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

/* Services Animation Styles */
.services-description {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.services-description.animate {
    opacity: 1;
    transform: translateY(0);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    animation-fill-mode: forwards;
}

.service-card.animate {
    animation: slideUpFadeIn 0.6s ease forwards;
}

.service-card.animate:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card.animate:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card.animate:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card.animate:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card:hover {
    transform: translateY(-5px);
}

@keyframes slideUpFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Featured Products Section */
.featured-section {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-image-clickable {
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.product-image-clickable:hover {
    filter: brightness(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.product-title-clickable {
    cursor: pointer;
    transition: color 0.3s ease;
}

.product-title-clickable:hover {
    color: #6366f1;
}

.product-description {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Text Utilities */
.text-center {
    text-align: center;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #6366f1;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #6366f1;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #6366f1;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Floating Message Icon */
.floating-message {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.message-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.message-icon:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(99, 102, 241, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    }
}

.message-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    min-width: 150px;
}

.message-options.show {
    transform: scale(1);
}

.message-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: background 0.3s ease;
    margin-bottom: 0.5rem;
}

.message-option:last-child {
    margin-bottom: 0;
}

.message-option:hover {
    background: #f8fafc;
}

.message-option.whatsapp:hover {
    background: #e8f5e8;
    color: #25d366;
}

.message-option.telegram:hover {
    background: #e8f4fd;
    color: #0088cc;
}

.message-option i {
    font-size: 1.25rem;
    width: 20px;
}

/* Message Tooltip */
.message-tooltip {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: scale(0);
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    min-width: 160px;
    max-width: 200px;
    opacity: 0;
    z-index: 1001;
}

.message-tooltip.show {
    transform: scale(1);
    opacity: 1;
    animation: tooltipPulse 2s ease-in-out infinite;
}

@keyframes tooltipPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
    50% {
        box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
    }
}

.tooltip-content {
    color: #334155;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.tooltip-content strong {
    color: #1e293b;
    font-weight: 600;
}

.tooltip-arrow {
    position: absolute;
    bottom: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.3s ease;
        padding-top: 2rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Mobile Dropdown Styles */
    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        opacity: 0;
        visibility: hidden;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease, max-height 0.3s ease;
        box-shadow: none;
        border: 1px solid #e5e7eb;
        margin-top: 0.5rem;
    }

    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 400px;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        pointer-events: none;
    }

    .dropdown.active .dropdown-menu,
    .dropdown.active:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 400px;
        pointer-events: auto;
    }

    .dropdown-content {
        padding: 1rem;
    }

    .dropdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .dropdown-item {
        padding: 0.75rem 0.5rem;
    }

    .dropdown-item img {
        width: 35px;
        height: 35px;
    }

    .dropdown-item span {
        font-size: 0.8rem;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile optimizations for services animations */
    .services-description {
        transform: translateY(20px);
    }

    .service-card {
        transform: translateY(30px);
    }

    @keyframes slideUpFadeIn {
        0% {
            opacity: 0;
            transform: translateY(30px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .slider-controls {
        padding: 0 1rem;
    }

    .slider-controls button {
        width: 40px;
        height: 40px;
    }

    .floating-message {
        bottom: 20px;
        right: 20px;
    }

    .message-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .message-tooltip {
        min-width: 140px;
        max-width: 160px;
        bottom: 70px;
        right: 5px;
        padding: 10px 12px;
    }

    .tooltip-content {
        font-size: 13px;
    }

    .tooltip-arrow {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .services-section,
    .featured-section {
        padding: 60px 0;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
/* Interactive Footer Animations - Similar to CTA Section */
.footer {
    position: relative;
    overflow: hidden;
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(99,102,241,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139,92,246,0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(99,102,241,0.05) 0%, transparent 50%);
    animation: footerBubbles 15s infinite linear;
    pointer-events: none;
}

@keyframes footerBubbles {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-10px) rotate(360deg);
    }
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    opacity: 0;
    transform: translateY(30px);
    animation: footerFadeInUp 0.8s ease-out forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

@keyframes footerFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #6366f1;
    position: relative;
    transition: all 0.3s ease;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

.footer-section:hover h3::after,
.footer-section:hover h4::after {
    width: 50px;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.footer-section:hover p {
    color: #e2e8f0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
    border-radius: 2px;
    opacity: 0;
}

.footer-section ul li a:hover::before {
    width: 3px;
    opacity: 1;
}

.footer-section ul li a:hover {
    color: #6366f1;
    transform: translateX(8px);
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

/* Enhanced Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.social-links a:hover::before {
    width: 100%;
    height: 100%;
}

.social-links a:hover {
    color: white;
    transform: translateY(-5px) scale(1.1);
    border-color: #6366f1;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.social-links a:nth-child(1):hover { transform: translateY(-5px) scale(1.1) rotate(10deg); }
.social-links a:nth-child(2):hover { transform: translateY(-5px) scale(1.1) rotate(-10deg); }
.social-links a:nth-child(3):hover { transform: translateY(-5px) scale(1.1) rotate(10deg); }
.social-links a:nth-child(4):hover { transform: translateY(-5px) scale(1.1) rotate(-10deg); }

/* Contact Info Animations */
.footer-section p i {
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section p:hover i {
    color: #6366f1;
    transform: scale(1.2) rotate(10deg);
}

.footer-section p:hover {
    transform: translateX(5px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: footerFadeInUp 0.8s ease-out 0.5s forwards;
}

.footer-bottom a {
    color: #6366f1;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

.footer-bottom a:hover::after {
    width: 100%;
}

.footer-bottom a:hover {
    color: #8b5cf6;
    transform: translateY(-2px);
}

/* Floating Message Enhanced */
.floating-message {
    transition: all 0.3s ease;
}

.floating-message:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 20px rgba(99, 102, 241, 0.3));
}

.message-option:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

/* Responsive Footer Animations */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section ul li a:hover {
        transform: translateX(5px);
    }
    
    .footer-section ul li:hover {
        transform: translateX(3px);
    }
    
    .social-links a:hover {
        transform: translateY(-3px) scale(1.05);
    }
    
    .social-links a:nth-child(1):hover,
    .social-links a:nth-child(2):hover,
    .social-links a:nth-child(3):hover,
    .social-links a:nth-child(4):hover {
        transform: translateY(-3px) scale(1.05) rotate(0deg);
    }
}
    
    .footer::before {
        animation: none;
    }
    
    .footer-section {
        opacity: 1;
        transform: none;
        animation: none;
    }
    
    .footer-bottom {
        opacity: 1;
        animation: none;
    }