/* Enhanced UI Styles for M&T JAPAN */

/* Floating Action Buttons */
.floating-action-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.fab::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.5s;
}

.fab:hover::before {
    left: 100%;
}

.fab-phone {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.fab-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.fab-appraisal {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.fab-top {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.fab:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Enhanced Hero Slider Styles */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    background: #000;
}

/* Ensure proper stacking context */
.hero-slider-section * {
    box-sizing: border-box;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.1);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0;
}

.hero-badge {
    animation: fadeInDown 1s ease-out 0.5s both;
}

.hero-badge .badge {
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    animation: fadeInUp 1s ease-out 0.7s both;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.hero-title {
    line-height: 1.2;
}

.title-line {
    display: block;
    opacity: 0;
    animation: slideInUp 1s ease-out forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.8s;
}

.title-line:nth-child(2) {
    animation-delay: 1s;
}

.highlight-text {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-description {
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

.animate-badge {
    animation: bounceIn 1s ease-out 0.6s both;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.hero-content p {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 1.1s both;
}

.enhanced-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
}

.enhanced-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.btn-glow {
    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.5s ease;
}

.enhanced-btn:hover .btn-glow {
    left: 100%;
}

.btn-text {
    position: relative;
    z-index: 2;
}

/* Enhanced Statistics Display */
.hero-stats {
    animation: fadeInUp 1s ease-out 1.4s both;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::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 ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

.stat-label {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

/* Trust Score Display */
.trust-score {
    animation: fadeInUp 1s ease-out 1.5s both;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.trust-badge i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.trust-text {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Slider Navigation */
.slider-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-nav-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.indicator-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #007bff, #00c6ff);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.indicator.active .indicator-progress {
    transform: scale(1);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.progress-bar {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #00c6ff, #007bff);
    background-size: 200% 100%;
    animation: progressShimmer 3s linear infinite;
    transform: translateX(-100%);
    transition: transform 0.1s ease;
}

@keyframes progressShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Trust Indicators Slider */
.trust-indicators-slider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 5;
}

.trust-indicators-slider .trust-item {
    text-align: center;
    padding: 10px;
    transition: all 0.3s ease;
}

.trust-indicators-slider .trust-item:hover {
    transform: translateY(-3px);
}

.trust-indicators-slider .trust-item i {
    margin-bottom: 8px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.trust-indicators-slider .trust-item .small {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 0.85rem;
}

/* Enhanced Floating Elements for Slider */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
}

.floating-element i {
    font-size: 2rem;
    color: rgba(255,255,255,0.8);
    animation: pulse 2s ease-in-out infinite;
}

/* Specific floating element styles */
.floating-car { top: 15%; left: 10%; animation-delay: 0s; }
.floating-money { top: 65%; right: 15%; animation-delay: 2s; }
.floating-star { bottom: 25%; left: 20%; animation-delay: 4s; }
.floating-recycle { top: 20%; right: 10%; animation-delay: 1s; }
.floating-leaf { bottom: 30%; right: 20%; animation-delay: 3s; }
.floating-cash { top: 40%; left: 15%; animation-delay: 5s; }
.floating-tools { top: 25%; left: 15%; animation-delay: 0.5s; }
.floating-warning { bottom: 35%; right: 15%; animation-delay: 2.5s; }
.floating-car-damage { top: 55%; left: 25%; animation-delay: 4.5s; }

/* Animated Background Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 20s; }
.particle:nth-child(2) { left: 30%; animation-delay: 5s; animation-duration: 18s; }
.particle:nth-child(3) { left: 50%; animation-delay: 10s; animation-duration: 22s; }
.particle:nth-child(4) { left: 70%; animation-delay: 15s; animation-duration: 19s; }
.particle:nth-child(5) { left: 90%; animation-delay: 20s; animation-duration: 21s; }

.floating-element:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 65%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 25%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg) scale(1.1); 
        opacity: 1;
    }
}

/* Hero Section Enhancements (Legacy) */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* Quick Service Features */
.quick-features {
    margin: 2rem 0;
}

.feature-highlight {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-enhanced {
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-enhanced:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-highlight:hover .feature-overlay {
    opacity: 1;
}

.feature-overlay i {
    font-size: 2.5rem;
    color: white;
}

.feature-text {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    margin-top: 0.5rem;
    display: block;
}

.feature-image {
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.feature-image img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.feature-highlight:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.feature-highlight i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.feature-highlight .small {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Scrap Car Benefits */
.scrap-benefits {
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card-enhanced {
    transform: translateX(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card-enhanced:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.benefit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-item:hover .benefit-overlay {
    opacity: 1;
}

.benefit-overlay i {
    font-size: 2rem;
    color: white;
}

.benefit-image {
    margin-right: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.benefit-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.benefit-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.2);
}

.benefit-icon {
    margin-right: 1rem;
}

.benefit-icon i {
    font-size: 2rem;
}

.benefit-text {
    display: flex;
    flex-direction: column;
}

.benefit-text strong {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.benefit-text small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

/* Damage Types */
.damage-types {
    margin: 2rem 0;
}

.damage-type-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.damage-card-enhanced {
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.damage-card-enhanced:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.damage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.damage-type-item:hover .damage-overlay {
    opacity: 1;
}

.damage-overlay i {
    font-size: 2rem;
    color: white;
}

.damage-text {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.damage-image {
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.damage-image img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.damage-type-item:hover .damage-image img {
    transform: scale(1.05);
}

.damage-type-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.damage-type-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.damage-type-item span {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsive Hero Slider */
@media (max-width: 768px) {
    .hero-slider {
        height: 40vh;
    }
    
    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-content p {
        font-size: 1.1rem !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
        margin: 0.5rem 0;
    }
    
    .slider-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .prev-btn {
        left: 15px;
    }
    
    .next-btn {
        right: 15px;
    }
    
    .slider-indicators {
        bottom: 100px;
    }
    
    .indicator {
        width: 40px;
        height: 5px;
    }
    
    .trust-indicators-slider .trust-item .small {
        font-size: 0.75rem;
    }
    
    .floating-element {
        width: 80px;
        height: 80px;
    }
    
    /* Mobile adjustments for new elements */
    .feature-highlight {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-highlight i {
        font-size: 1.5rem;
    }
    
    .feature-image img {
        height: 60px;
    }
    
    .benefit-item {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .benefit-image img {
        width: 50px;
        height: 50px;
    }
    
    .damage-type-item {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .damage-type-item i {
        font-size: 1.5rem;
    }
    
    .damage-image img {
        height: 50px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 35vh;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-badge .badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .slider-navigation {
        display: none;
    }
    
    .slider-indicators {
        bottom: 80px;
    }
    
    /* Small screen adjustments for new elements */
    .quick-features .row {
        margin: 0;
    }
    
    .quick-features .col-6 {
        padding: 0 0.25rem;
    }
    
    .feature-highlight {
        padding: 0.5rem;
    }
    
    .feature-highlight i {
        font-size: 1.2rem;
    }
    
    .feature-highlight .small {
        font-size: 0.75rem;
    }
    
    .benefit-item {
        padding: 0.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .damage-types .row {
        margin: 0;
    }
    
    .damage-types .col-6 {
        padding: 0 0.25rem;
    }
    
    .damage-type-item {
        padding: 0.5rem;
    }
    
    .damage-type-item i {
        font-size: 1.2rem;
    }
    
    .damage-type-item span {
        font-size: 0.8rem;
    }
    
    /* Enhanced elements responsive adjustments */
    .floating-element {
        width: 60px;
        height: 60px;
    }
    
    .floating-element i {
        font-size: 1.5rem;
    }
    
    .particle {
        width: 3px;
        height: 3px;
    }
    
    .trust-badge {
        padding: 0.5rem 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .trust-badge i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .enhanced-btn:hover {
        transform: translateY(-2px);
    }
    
    .title-line {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
}

/* Performance Optimization */
.reduce-animations * {
    animation-duration: 0.1s !important;
    transition-duration: 0.1s !important;
}

/* Lazy Loading Styles */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* FAQ Section Styles */
.accordion-item {
    border: 1px solid rgba(0,0,0,0.125);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.accordion-button {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    font-weight: 600;
    color: #495057;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.accordion-body {
    padding: 1.5rem;
    background: #fff;
    color: #6c757d;
    line-height: 1.6;
}

/* SEO Content Section Styles */
.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

.bg-white {
    transition: all 0.3s ease;
}

.bg-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Service Type Cards */
.service-type-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-type-card::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 ease;
}

.service-type-card:hover::before {
    left: 100%;
}

.service-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-type-card i {
    transition: transform 0.3s ease;
}

.service-type-card:hover i {
    transform: scale(1.1);
}

/* Service Area Cards */
.service-area-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-area-card:hover {
    transform: translateY(-10px);
    border-color: #007bff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.service-area-card h5 {
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.service-area-card ul li {
    padding: 0.25rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.service-area-card ul li:last-child {
    border-bottom: none;
}

/* Local SEO Cards */
.local-seo-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.local-seo-card:hover {
    transform: translateY(-5px);
    border-color: #007bff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.keyword-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.keyword-card::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.6s ease;
}

.keyword-card:hover::before {
    left: 100%;
}

.keyword-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Performance Monitoring Styles */
.performance-warning {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffc107;
    color: #000;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 9999;
    display: none;
}

.performance-warning.show {
    display: block;
}

.reduce-animations .floating-element {
    animation: none !important;
}

.reduce-animations .particle {
    animation: none !important;
}

/* Enhanced Responsive Statistics */
@media (max-width: 576px) {
    .hero-stats .row {
        margin: 0;
    }
    
    .hero-stats .col-6 {
        padding: 0 0.25rem;
    }
    
    .stat-item {
        padding: 0.75rem 0.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .slider-progress {
        height: 3px;
    }
    
    .indicator {
        width: 14px;
        height: 14px;
        margin: 0 6px;
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    transition: all 0.3s ease;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.trust-indicators {
    margin-top: 3rem;
}

.trust-item {
    text-align: center;
    padding: 1rem;
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item i {
    margin-bottom: 0.5rem;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.trust-item .small {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

/* Responsive adjustments for floating buttons */
@media (max-width: 768px) {
    .floating-action-buttons {
        right: 15px;
        bottom: 15px;
    }
    
    .fab {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Enhanced Car Type Cards */
.car-type-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.car-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,123,255,0.1), transparent);
    transition: left 0.5s ease;
}

.car-type-card:hover::before {
    left: 100%;
}

.car-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: var(--bs-primary);
}

.icon-wrapper {
    position: relative;
    display: inline-block;
}

.icon-wrapper i {
    transition: all 0.3s ease;
}

.car-type-card:hover .icon-wrapper i {
    transform: scale(1.1);
}

.car-type-features .badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.car-type-card:hover .car-type-features .badge {
    background-color: var(--bs-primary) !important;
    color: white !important;
}

/* Enhanced Process Steps */
.process-step-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.process-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,123,255,0.05) 0%, rgba(0,198,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step-card:hover::before {
    opacity: 1;
}

.process-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.step-number-wrapper {
    position: relative;
    display: inline-block;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.process-step-card:hover .step-number {
    transform: scale(1.1);
}

.step-connector {
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--bs-primary), transparent);
    transform: translateY(-50%);
    z-index: 1;
}

.step-duration {
    padding: 0.5rem;
    background: rgba(0,0,0,0.05);
    border-radius: 20px;
    display: inline-block;
}

/* Enhanced Progress Line */
.enhanced-progress-line {
    position: relative;
    height: 60px;
    margin: 0 auto;
    max-width: 400px;
}

.progress-dots {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.progress-dot {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-dot.active {
    border-color: var(--bs-primary);
    background: var(--bs-primary);
    color: white;
    transform: scale(1.1);
}

.progress-dot i {
    font-size: 1.5rem;
    font-weight: bold;
}

.progress-line-fill {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-info));
    border-radius: 2px;
    transform: translateY(-50%);
    z-index: 1;
    animation: progressFill 3s ease-in-out infinite;
}

@keyframes progressFill {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

/* Section Header */
.section-header .badge {
    border-radius: 25px;
    font-weight: 600;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-info));
    border-radius: 2px;
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--bs-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon i {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

.feature-card ul li {
    padding: 0.25rem 0;
    transition: all 0.3s ease;
}

.feature-card:hover ul li {
    transform: translateX(5px);
}

/* Enhanced CTA */
.enhanced-cta {
    transition: all 0.3s ease;
}

.enhanced-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Benefit Cards */
.benefit-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    border-color: var(--bs-primary);
    transform: translateY(-3px);
}

.benefit-card ul li {
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.benefit-card:hover ul li {
    transform: translateX(5px);
}

/* Process FAQ Accordion */
.accordion-button {
    border: none;
    box-shadow: none;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--bs-primary);
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--bs-primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 0.5rem 1rem 1rem;
    color: #6c757d;
}

/* Progress Line (Legacy) */
.progress-line {
    position: relative;
    height: 4px;
    background: rgba(0,0,0,0.1);
    border-radius: 2px;
    overflow: hidden;
}

/* Enhanced Animations and Transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* AOS-like animations */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="slide-left"] {
    transform: translateX(-30px);
}

[data-aos="slide-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="slide-right"] {
    transform: translateX(30px);
}

[data-aos="slide-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* Enhanced card hover effects */
.hover-shadow {
    transition: all 0.3s ease;
}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced button styles */
.btn-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-enhanced::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.5s;
}

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

.btn-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.loader-content .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Enhanced scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #007bff, #00c6ff);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0056b3, #0099cc);
}

/* Print styles */
@media print {
    .floating-action-buttons,
    .page-loader,
    .hero-overlay,
    .floating-elements {
        display: none !important;
    }
    
    .hero-section {
        background: #f8f9fa !important;
        color: #000 !important;
    }
}

/* Header Enhancements */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1) !important;
}

.navbar-brand {
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--bs-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--bs-primary) !important;
    transform: translateY(-1px);
}

.dropdown-menu {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    animation: fadeInDown 0.3s ease;
    min-width: 200px;
    z-index: 1050;
}

/* Desktop dropdown positioning */
@media (min-width: 992px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1050;
    }
}

.dropdown-item {
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 8px;
    padding: 8px 12px;
}

.dropdown-item:hover {
    background: var(--bs-primary);
    color: white;
    transform: translateX(5px);
}

/* Top Contact Bar */
.bg-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
}

/* Mobile Navigation Enhancements */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        border-radius: 15px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    /* Mobile dropdown fixes */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0.5rem;
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 10px;
        box-shadow: none;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .navbar-nav .dropdown-menu.show {
        display: block !important;
        max-height: 300px;
        padding: 0.5rem 0;
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        margin: 2px 0;
        font-size: 0.95rem;
    }
    
    .navbar-nav .dropdown-item:hover {
        background-color: #007bff;
        color: white;
        transform: none;
    }
    
    /* Mobile navbar toggler improvements */
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        border-radius: 8px;
        background: #f8f9fa;
        transition: all 0.3s ease;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }
    
    .navbar-toggler:hover {
        background: #e9ecef;
    }
    
    /* Mobile nav links */
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        margin: 2px 0;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: #f8f9fa;
        color: #007bff;
    }
    
    .navbar-nav .nav-link.active {
        background-color: #007bff;
        color: white;
    }
    
    /* Mobile dropdown toggle button */
    .navbar-nav .dropdown-toggle::after {
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }
    
    .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }
    
    /* Mobile CTA button */
    .navbar-nav .btn {
        margin-top: 1rem;
        width: 100%;
        padding: 0.75rem 1rem;
        font-weight: 600;
    }
    
    /* Mobile dropdown animations */
    .navbar-nav .dropdown-menu {
        transition: all 0.3s ease;
        max-height: 0;
        overflow: hidden;
    }
    
    .navbar-nav .dropdown-menu.show {
        max-height: 300px;
        transition: max-height 0.3s ease;
    }
    
    /* Mobile touch improvements */
    .navbar-nav .nav-link,
    .navbar-nav .dropdown-item {
        -webkit-tap-highlight-color: rgba(0, 123, 255, 0.2);
        touch-action: manipulation;
    }
    
    /* Mobile scroll improvements */
    .navbar-collapse {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    .navbar-collapse::-webkit-scrollbar {
        width: 4px;
    }
    
    .navbar-collapse::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 2px;
    }
    
    .navbar-collapse::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 2px;
    }
    
    .navbar-collapse::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
}

/* Enhanced Footer Styles - Japanese Cultural Theme */
footer {
    background: #e0e1e4 !important; /* Charcoal Black */
    font-size: 0.95rem;
    line-height: 1.6;
    color: #282727; /* Off-white for better readability */
}

/* Footer Sections */
.footer-section {
    margin-bottom: 2rem;
}

.footer-section h6 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #FDFDFD; /* Off-white for headers */
}

.footer-section h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #C8102E; /* Traditional Japanese Red */
    border-radius: 2px;
}

/* Company Info Section */
.company-info {
    background: rgba(253, 253, 253, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(200, 16, 46, 0.2); /* Japanese Red border */
}

.company-info p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #0c792b; /* Off-white for better readability */
}

.company-info small {
    color: rgba(253, 253, 253, 0.8); /* Slightly transparent off-white */
}

/* CTA Buttons */
.cta-buttons .btn {
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-buttons .btn-primary {
    background: #C8102E !important; /* Traditional Japanese Red */
    border-color: #C8102E !important;
}

.cta-buttons .btn-primary:hover {
    background: #A60D25 !important; /* Darker red on hover */
    border-color: #A60D25 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 16, 46, 0.3);
}

.cta-buttons .btn-outline-light {
    border-color: rgba(253, 253, 253, 0.3);
    color: #FDFDFD;
}

.cta-buttons .btn-outline-light:hover {
    background: #FDFDFD;
    color: #202124;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 253, 253, 0.2);
}

/* Footer Links */
.footer-links {
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    transition: all 0.3s ease;
    padding: 6px 0;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    border-radius: 6px;
    padding-left: 8px;
    margin-left: -8px;
    color: rgba(253, 253, 253, 0.9); /* Slightly transparent off-white */
}

.footer-links a:hover {
    color: #FDFDFD !important; /* Pure off-white on hover */
    transform: translateX(8px);
    text-decoration: none;
    background: rgba(200, 16, 46, 0.1); /* Japanese Red background */
}

.footer-links .bi {
    font-size: 0.8rem;
    transition: all 0.3s ease;
    color: #C8102E; /* Traditional Japanese Red for icons */
}

.footer-links a:hover .bi {
    transform: scale(1.2);
    color: #FDFDFD; /* Off-white on hover */
}

/* Contact Information */
.contact-info {
    background: rgba(253, 253, 253, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(200, 16, 46, 0.2); /* Japanese Red border */
}

.contact-item {
    transition: all 0.3s ease;
    padding: 8px 0;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item .bi {
    font-size: 1.1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: #C8102E; /* Traditional Japanese Red for contact icons */
}

.contact-item:hover .bi {
    transform: scale(1.2);
    color: #FDFDFD; /* Off-white on hover */
}

.contact-item div {
    flex: 1;
}

.contact-item .fw-semibold {
    font-size: 0.85rem;
    margin-bottom: 2px;
    color: #FDFDFD; /* Off-white for labels */
}

.contact-item a {
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: rgba(253, 253, 253, 0.9); /* Slightly transparent off-white */
}

.contact-item a:hover {
    color: #FDFDFD !important; /* Pure off-white on hover */
    text-decoration: none;
}

/* Social Media */
.social-media {
    margin-top: 1.5rem;
}

.social-btn {
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(253, 253, 253, 0.3);
    background: transparent;
    color: rgba(253, 253, 253, 0.9); /* Slightly transparent off-white */
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.3);
    border-color: #C8102E; /* Traditional Japanese Red */
    background: #C8102E;
    color: #FDFDFD; /* Off-white on hover */
}

.social-btn .bi {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

/* Bottom Footer */
.footer-bottom-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-nav a {
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: rgba(253, 253, 253, 0.8); /* Slightly transparent off-white */
}

.footer-bottom-nav a:hover {
    color: #FDFDFD !important; /* Pure off-white on hover */
    background: rgba(200, 16, 46, 0.1); /* Japanese Red background */
    text-decoration: none;
}

/* Copyright text */
footer .text-muted {
    color: rgba(253, 253, 253, 0.7) !important; /* More transparent off-white */
}

/* Back to Top Button */
#backToTop {
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(200, 16, 46, 0.3);
    border: none;
    background: #C8102E !important; /* Traditional Japanese Red */
    color: #FDFDFD;
}

#backToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.4);
    background: #A60D25 !important; /* Darker red on hover */
}

#backToTop:focus {
    outline: 2px solid #FDFDFD;
    outline-offset: 2px;
}

/* Accessibility Improvements */
footer a:focus,
footer button:focus {
    outline: 2px solid #C8102E; /* Traditional Japanese Red */
    outline-offset: 2px;
    border-radius: 4px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer {
        font-size: 0.9rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .company-info,
    .contact-info {
        padding: 1rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
        padding: 8px 0;
    }
    
    .contact-item {
        padding: 10px 0;
    }
    
    .social-btn {
        width: 38px;
        height: 38px;
    }
    
    .footer-bottom-nav {
        justify-content: center;
        text-align: center;
    }
    
    .footer-bottom-nav a {
        margin: 2px;
    }
}

@media (max-width: 576px) {
    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .social-btn {
        width: 36px;
        height: 36px;
    }
    
    .social-btn .bi {
        font-size: 1rem;
    }
}

/* Animation Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for process cards */
.process-step:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* Enhanced document cards */
.document-card {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.document-card:hover {
    transform: translateX(5px);
    border-left-color: var(--bs-primary);
    background-color: #f8f9fa !important;
}

/* Icon animations */
.process-icon {
    transition: all 0.3s ease;
}

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

/* Gradient backgrounds */
.gradient-bg-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.gradient-bg-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.gradient-bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

.gradient-bg-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.gradient-bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.gradient-bg-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%);
}

/* Card enhancements */
.enhanced-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.enhanced-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

/* Button enhancements */
.btn-enhanced {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Alert enhancements */
.alert-enhanced {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .process-step {
        margin-bottom: 1rem;
    }
    
    .document-card {
        margin-bottom: 1rem;
    }
    
    .btn-enhanced {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Mobile header adjustments */
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-brand img,
    .navbar-brand div {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Enhanced Footer Styles */
.service-areas-badge {
    border: 2px solid #ffc107;
    transition: all 0.3s ease;
}

.service-areas-badge:hover {
    background-color: #ffc107 !important;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.service-areas-section {
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.service-areas-section:hover {
    border-color: #dc3545;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
}

.service-area-item {
    transition: all 0.3s ease;
    border-radius: 8px;
    cursor: pointer;
}

.service-area-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.footer-section h6 {
    position: relative;
}

.footer-section h6::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #dc3545, #ffc107);
    transition: width 0.3s ease;
}

.footer-section:hover h6::after {
    width: 100%;
}

.cta-buttons .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-buttons .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.5s ease;
}

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

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

.contact-info {
    transition: all 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.15);
}

.social-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(220, 53, 69, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

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

.footer-bottom-nav a {
    position: relative;
    overflow: hidden;
}

.footer-bottom-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #dc3545;
    transition: width 0.3s ease;
}

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

/* Responsive Footer Adjustments */
@media (max-width: 768px) {
    .service-areas-section .col-md-3 {
        margin-bottom: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .footer-section {
        text-align: center;
        margin-bottom: 2rem;
    }
}

/* Footer Animation Classes */
.footer-fade-in {
    animation: footerFadeIn 0.8s ease-out;
}

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

/* Enhanced Hover Effects */
.hover-bg-light:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #dc3545 !important;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Enhanced Service Overview Section */
.service-overview-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.service-card-enhanced {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card-enhanced:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.service-card-enhanced:hover .service-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.service-features li:last-child {
    border-bottom: none;
}

/* Trust & Credibility Section */
.trust-credibility-section {
    background: white;
}

.trust-card {
    padding: 2rem 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}

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

.trust-icon {
    transition: all 0.3s ease;
}

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

/* Enhanced FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-section .accordion-button {
    border-radius: 10px !important;
    font-size: 1.1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
}

.faq-section .accordion-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.faq-section .accordion-body {
    padding: 1.5rem;
    border-radius: 0 0 10px 10px;
    font-size: 1rem;
    line-height: 1.6;
}

.faq-section .accordion-item {
    border-radius: 10px !important;
    overflow: hidden;
}

/* Enhanced Button Styles */
.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Enhanced About Section Styles */
.about-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.about-image-container img {
    transition: transform 0.3s ease;
}

.about-image-container:hover img {
    transform: scale(1.02);
}

.mission-statement {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    border-left: 4px solid #007bff !important;
    transition: all 0.3s ease;
}

.mission-statement:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0,123,255,0.15);
}

.service-feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
    border-color: rgba(0,0,0,0.1);
}

.stat-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.service-highlights .badge {
    transition: all 0.3s ease;
    border: none;
}

.service-highlights .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.company-info-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.company-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: rgba(0,0,0,0.1);
}

.cta-buttons .btn {
    transition: all 0.3s ease;
    font-weight: 600;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #343a40 0%, #212529 100%) !important;
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%) !important;
}

/* Screen Reader Only Class for Accessibility */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Enhanced About Section Accessibility */
.about-image-container figure {
    margin: 0;
}

.about-image-container figcaption {
    font-size: 0.875rem;
}

/* Improved Heading Hierarchy */
#about-heading {
    scroll-margin-top: 2rem;
}

#company-mission {
    scroll-margin-top: 2rem;
}

/* Enhanced Focus States for Accessibility */
.service-feature-card:focus-within,
.stat-card:focus-within,
.company-info-card:focus-within {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Improved Button Accessibility */
.cta-buttons .btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .service-card-enhanced {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .trust-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .faq-section .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }
}
