html {
    scroll-behavior: smooth;
}
#contact {
    scroll-margin-top: 6rem;
}
body { 
    background: linear-gradient(135deg,#ffffff, rgba(241, 245, 249, 0.95)), 
               repeating-linear-gradient(45deg, #e2e8f0 0, #e2e8f0 2px, transparent 2px, transparent 10px); 
    font-family: 'Inter', sans-serif; 
}
@keyframes fadeInUp { 
    from { opacity: 0; transform: translateY(30px); } 
    to { opacity: 1; transform: translateY(0); } 
}
.animate-fadeInUp { animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.hero-bg { 
    background-attachment: fixed; 
    background-size: cover; 
    background-position: center; 
    will-change: transform; 
}
.form-container { 
    background: linear-gradient(135deg, rgba(199, 203, 208, 0.95), #d4d7d9); 
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); 
    position: relative; 
    z-index: 1; 
}
.form-input:focus { 
    box-shadow: 0 0 8px rgba(236, 201, 75, 0.5); 
    border-color: #ecc94b; 
}
.pulse-button { 
    position: relative; 
    transition: transform 0.3s ease, background-color 0.3s ease; 
}
.pulse-button:hover::before { 
    content: ''; 
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle, rgba(236, 201, 75, 0.3) 0%, transparent 70%); 
    animation: pulse 1.5s infinite; 
    z-index: -1; 
}
@keyframes pulse { 
    0% { transform: scale(0.8); opacity: 0.7; } 
    100% { transform: scale(1.2); opacity: 0; } 
}
@keyframes emergencyPulse { 
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); } 
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } 
}
.emergency-button { animation: emergencyPulse 2s infinite; }
.service-card:hover { 
    transform: scale(1.03) translateY(-4px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); 
}
.service-card img { 
    width: 100%; 
    aspect-ratio: 4/3; 
    object-fit: cover; 
}
a, button { touch-action: manipulation; }
.mobile-menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    border-right: 1px solid #e2e8f0;
}
.mobile-menu-container.show {
    transform: translateX(0);
}
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
}
.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}
.mobile-menu-content {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.user-profile-section {
    background: #ffffff;
    padding: 20px 16px;
    border-bottom: 1px solid #e2e8f0;
}
.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #f59e0b;
    border-radius: 50%;
}
.user-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0c0d0dff;
    margin: 0;
    line-height: 1.2;
}
.user-info p {
    font-size: 0.875rem;
    color: #0c0d0dff;
    margin: 0;
}
.menu-items {
    flex: 1;
    padding: 0;
    background: white;
}
.menu-section-title {
    padding: 16px 20px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f1f5f9;
    background: #f8f9fa;
}
.menu-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: #1f2937;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 500;
    position: relative;
    transform: translateX(-10px);
    opacity: 0;
}
.mobile-menu-container.show .menu-item {
    animation: slideInMenuLeft 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.menu-item:hover {
    background: linear-gradient(135deg, #fef3c7, #fbbf24);
    color: #92400e;
    transform: translateX(5px);
    box-shadow: inset 4px 0 #f59e0b;
}
.menu-item.active {
    background: linear-gradient(135deg, #fef3c7, #fbbf24);
    color: #92400e;
    border-left: 4px solid #f59e0b;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.2);
}
.menu-item-icon {
    margin-right: 16px;
    color: #6b7280;
    transition: all 0.3s ease;
    width: 20px;
    height: 20px;
}
.menu-item:hover .menu-item-icon,
.menu-item.active .menu-item-icon {
    color: #d97706;
    transform: scale(1.1);
}
.menu-item-text {
    flex: 1;
    font-size: 15px;
}
.menu-item-arrow {
    width: 16px;
    height: 16px;
    color: #9ca3af;
    transition: transform 0.3s ease;
}
.menu-item:hover .menu-item-arrow {
    transform: translateX(3px);
    color: #d97706;
}
@keyframes slideInMenuLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.15s; }
.menu-item:nth-child(3) { animation-delay: 0.2s; }
.menu-item:nth-child(4) { animation-delay: 0.25s; }
.menu-item:nth-child(5) { animation-delay: 0.3s; }
.menu-item:nth-child(6) { animation-delay: 0.35s; }
.menu-item:nth-child(7) { animation-delay: 0.4s; }
.menu-item:nth-child(8) { animation-delay: 0.45s; }
@media (max-width: 768px) {
    .mobile-header-layout {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 6px;
    }
    .mobile-menu-btn {
        flex-shrink: 0;
        order: 1;
        padding: 8px;
        border-radius: 6px;
        transition: all 0.2s ease;
    }
    .mobile-logo {
        flex-shrink: 0;
        order: 2;
        margin-left: 2px;
    }
    .mobile-logo svg {
        width: 18px;
        height: 18px;
    }
    .mobile-logo span {
        font-size: 15px;
    }
    .mobile-search-btn {
        flex-shrink: 0;
        order: 3;
        padding: 6px;
        margin-left: auto;
        border-radius: 4px;
        transition: background-color 0.15s ease;
    }
    .mobile-search-btn:hover {
        background-color: rgba(245, 158, 11, 0.1);
    }
    .mobile-login {
        flex-shrink: 0;
        order: 4;
        padding: 6px 10px;
        border-radius: 4px;
        transition: background-color 0.15s ease;
        font-size: 11px;
    }
    .mobile-login:hover {
        background-color: rgba(245, 158, 11, 0.1);
    }
    .mobile-cart {
        flex-shrink: 0;
        order: 5;
        padding: 6px;
        position: relative;
    }
}
@media (max-width: 320px) {
    .mobile-menu-container {
        width: 100%;
    }
}
#mobile-search-bar {
    transition: all 0.1s ease-in-out;
}
#mobile-search-bar.show {
    display: block !important;
}
body.menu-open {
    overflow: hidden;
}
@media (max-width: 768px) {
    .hero-bg { background-attachment: scroll; }
    .service-card img { aspect-ratio: 4/3; }
}
.spark-bg { 
    position: relative; 
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%); 
    overflow: hidden; 
}
.spark-bg::before { 
    content: ''; 
    position: absolute; 
    top: 0; left: 0; right: 0; height: 100%; 
    background: linear-gradient(90deg, transparent 0%, rgba(236, 201, 75, 0.3) 50%, transparent 100%); 
    background-size: 200% 100%; 
    animation: spark-glow 3s linear infinite; 
    z-index: 0; 
}
.spark-bg::after { 
    content: ''; 
    position: absolute; 
    top: 0; left: 0; right: 0; height: 100%; 
    background-size: 50px 50px; 
    animation: spark-move 5s linear infinite; 
    opacity: 0.5; 
    z-index: 0; 
}
@keyframes spark-glow { 
    0% { background-position: 0 0; } 
    100% { background-position: 200% 0; } 
}
@keyframes spark-move { 
    0% { background-position: 0 0; } 
    100% { background-position: 50px 50px; } 
}
.view-more {
    position: relative;
    overflow: hidden;
}
#contact-text-anim-container .anim-line {
    opacity: 0;
}
#contact-text-anim-container.is-visible .anim-line {
    animation: cascadeIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes cascadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px) rotateX(-90deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}
.energy-field {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 2;
}
.energy-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.5), transparent);
    animation: move-line 15s infinite linear;
}
@keyframes move-line {
    from { transform: translateX(-100%); }
    to { transform: translateX(50vw); }
}
.energy-line:nth-child(1) { height: 2px; width: 300px; top: 10%; animation-duration: 10s; animation-delay: 0s; }
.energy-line:nth-child(2) { height: 1px; width: 400px; top: 25%; animation-duration: 15s; animation-delay: 2s; }
.energy-line:nth-child(3) { height: 3px; width: 250px; top: 40%; animation-duration: 8s; animation-delay: 4s; }
.energy-line:nth-child(4) { height: 1px; width: 500px; top: 60%; animation-duration: 18s; animation-delay: 1s; }
.energy-line:nth-child(5) { height: 2px; width: 350px; top: 75%; animation-duration: 12s; animation-delay: 5s; }
.energy-line:nth-child(6) { height: 2px; width: 450px; top: 90%; animation-duration: 14s; animation-delay: 3s; }