/* Custom styles for Laundry SaaS website - Enhanced with Bootstrap & Tailwind utilities */

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    scroll-behavior: smooth;
}

/* Custom color variables */
:root {
    --primary-blue: #3b82f6;
    --primary-blue-dark: #1d4ed8;
    --secondary-blue: #60a5fa;
    --accent-green: #10b981;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-600: #4b5563;
    --gray-900: #111827;
    --text-purple: #7c3aed;
}

/* Companies Section Styles */
.companies {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.companies-carousel-wrapper {
    position: relative;
    margin: 0 60px; /* Space for chevrons */
}

.companies-slider {
    transition: transform 0.5s ease-in-out;
    flex-wrap: nowrap !important;
    width: max-content;
}

.carousel-chevron {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(59, 130, 246, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-chevron:hover {
    background: rgba(59, 130, 246, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.carousel-chevron:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-chevron-left {
    left: 10px;
}

.carousel-chevron-right {
    right: 10px;
}

.company-logo {
    flex-shrink: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.company-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--primary-blue) !important;
}

.company-logo: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.5s;
}

.company-logo:hover:before {
    left: 100%;
}

.companies-slider {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-purple {
    color: var(--text-purple) !important;
}

/* Responsive adjustments for companies section */
@media (max-width: 768px) {
    .companies-carousel-wrapper {
        margin: 0 40px;
    }
    
    .carousel-chevron {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .company-logo {
        width: 100px !important;
        height: 100px !important;
    }
    
    .companies-slider {
        gap: 1rem !important;
    }
}

/* Enhanced Header/Navbar with gradient */
header {
    /*background-color: rgb(203, 203, 203);*/
    /*background: linear-gradient(135deg, var(--gray-900) 0%, #000000 100%);*/
    background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color:  rgba(6, 19, 53, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-menu a {
    color: rgba(6, 19, 53, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #0079ac;
    text-shadow: 0 0 8px rgba(0, 234, 255, 0.5);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #0079ac;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Enhanced Hero Section with background image */
.hero {
    background: url('../images/background_image.png') center/cover no-repeat;
    color: rgb(255, 255, 255);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Add an overlay to ensure text remains readable */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(225, 224, 224, 0.0); /* Semi-transparent overlay */
    z-index: 0; /* Changed from 1 to 0 so it doesn't block interactions */
    pointer-events: none; /* Ensures clicks pass through to elements beneath */
}

/* Removed the svg pattern overlay */

.hero-content {
    position: relative;
    z-index: 5; /* Increased from 2 to 5 to ensure it's above all overlays */
    text-shadow: 2px 2px 4px rgb(0, 0, 0); /* Enhanced text shadow for better readability */
    pointer-events: auto; /* Explicitly enable pointer events */
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-btn {
    background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
    border: none;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.6);
    color: white;
}

.hero-image {
    position: relative;
    z-index: 5; /* Increased from 2 to 5 to match hero-content */
    pointer-events: auto; /* Explicitly enable pointer events */
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.3s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Enhanced Features Section */
.features {
    background: var(--gray-50);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(103, 126, 234, 0.1) 0%, transparent 100%);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-green) 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
}

.feature-card {
    background: white;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Enhanced How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.step {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    position: relative;
    z-index: 2;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

/* Enhanced Pricing Section */
.pricing {
    background: var(--gray-900);
    color: white;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    border: 2px solid var(--accent-green);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-green);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price {
    background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-btn {
    background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
    border: none;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Enhanced Testimonials Section */
.testimonials {
    /*background: linear-gradient(135deg, #fef9e7 0%, #f0f9ff 100%);*/
    background: var(--gray-900);
    margin: auto;
}

.testimonials-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.testimonial-card {
    background: rgb(255, 255, 255);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 500px;
    height: 250px;
    padding: 15px;
    margin: 0 auto;
    border-radius: 15px;
    transform: perspective(1000px) rotateX(0deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.95);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
    border-radius: 15px;
    z-index: 0;
}

.testimonial-card:hover {
    transform: perspective(1000px) rotateX(5deg) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}


.testimonial-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

.testimonial-card p {
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: justify;
    margin: 0;
}

.testimonial-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-left 25s linear infinite;
}

@keyframes scroll-left {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

.testimonial-stars {
  color: #fbbf24; /* golden yellow */
  font-size: 1.2rem;
  margin-bottom: 4px;
  letter-spacing: 2px;
}




/* Enhanced Footer */
footer {
    background: linear-gradient(135deg, var(--gray-900) 0%, #000000 100%);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.scale-in.active {
    opacity: 1;
    transform: scale(1);
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .hero-image img {
        transform: none;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-top: 2rem;
    }

    .testimonials-grid {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Modal styles are now in modal-fix.css */

/* YouTube player styles are now in modal-fix.css */

/* Enhanced video container */
.video-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    background: #000;
    display: block;
    min-height: 400px;
}

.modal-dialog.modal-lg {
    max-width: 800px; /* Larger modal size */
}

/* Make video modal fill screen better */
#videoModal .ratio-16x9 {
    aspect-ratio: 16/9;
    background: black;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    display: block;
}


/* Bueno link styles */
.bueno-link {
    transition: all 0.3s ease;
    display: inline-block;
}

.bueno-button {
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bueno-link:hover .bueno-button {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.bueno-link:active .bueno-button {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .chat-popup {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 80px;
    }
    
    .whatsapp-float {
        right: 15px;
        bottom: 15px;
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
    
    .chat-body {
        height: 250px;
    }
    
    .message-content {
        max-width: 200px;
    }
}