:root {
    --primary-color: #ff4c29;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-dark: #2c3e50;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    --shadow-light: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-heavy: 0 20px 60px rgba(0,0,0,0.25);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Barlow', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 1rem;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

/* Button Styles */
.btn {
    font-weight: 600;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: var(--gradient-secondary);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('https://images.pexels.com/photos/3861969/pexels-photo-3861969.jpeg?auto=compress&cs=tinysrgb&w=1200') center/cover,
        url('https://images.pexels.com/photos/325229/pexels-photo-325229.jpeg?auto=compress&cs=tinysrgb&w=1200') center/cover;
    background-blend-mode: overlay;
    opacity: 0.1;
    animation: bgSlide 10s infinite alternate;
}

@keyframes bgSlide {
    0%, 50% { background-position: center top, center bottom; }
    50%, 100% { background-position: center bottom, center top; }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.typewriter {
    color: var(--primary-color);
    border-right: 3px solid var(--primary-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: var(--primary-color); }
}

/* Moving Text Section */
.moving-text-section {
    background: var(--bg-dark);
    color: white;
    padding: 20px 0;
    overflow: hidden;
}

.moving-text {
    white-space: nowrap;
    animation: moveLeft 30s linear infinite;
}

.moving-content {
    display: inline-block;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

@keyframes moveLeft {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* Stats Section */
.stats-section {
    background: var(--bg-light);
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.star-rating {
    color: #ffc107;
    font-size: 1.2rem;
}

/* Feature Cards */
.features-section {
    background: var(--bg-light);
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.feature-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-card .card-body {
    padding: 2rem;
}

.service-card h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Products Section */
#products .nav-pills .nav-link {
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 1rem 2rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: left;
    width: 100%;
}

#products .nav-pills .nav-link:hover,
#products .nav-pills .nav-link.active {
    background: var(--gradient-secondary);
    color: white;
    transform: translateX(10px);
}

.tab-content {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

/* CTA Section */
.cta-section {
    background: var(--bg-light);
}

/* Clients Section */
.clients-section {
    background: white;
}

.clients-slider {
    display: flex;
    gap: 2rem;
    animation: slideClients 20s linear infinite;
}

.client-logo {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.client-logo:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0%);
}

@keyframes slideClients {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Testimonials */
.testimonials-section {
    background: var(--bg-light);
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.testimonial-author h6 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -80px;
}

.carousel-control-next {
    right: -80px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--secondary-color);
}

/* Contact Section */
#contact {
    background: var(--bg-light);
}

.contact-card {
    background: white;
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin-bottom: 3rem;
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 15px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 76, 41, 0.25);
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    color: white;
}

.process-list {
    list-style: none;
    padding: 0;
}

.process-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.process-list li i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Final CTA */
.final-cta-section {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.final-cta-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: white;
}

.typewriter-final {
    border-right: 3px solid white;
    animation: blink 1s infinite;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contacts {
    list-style: none;
    padding: 0;
}

.footer-contacts li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    color: #bdc3c7;
}

.footer-contacts li i {
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    background: #25d366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    font-weight: 600;
}

.whatsapp-float a:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: white;
}

.whatsapp-float i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        margin: 0;
        padding: 0.5rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .moving-content {
        font-size: 0.9rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .clients-slider {
        gap: 1rem;
    }
    
    .client-logo {
        width: 120px;
        height: 60px;
    }
    
    .carousel-control-prev {
        left: -50px;
    }
    
    .carousel-control-next {
        right: -50px;
    }
    
    .whatsapp-float a span {
        display: none;
    }
    
    .whatsapp-float a {
        width: 60px;
        height: 60px;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
    }
}

@media (max-width: 576px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .feature-card,
    .service-card {
        margin-bottom: 2rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: none;
}

.loading.show {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-secondary);
    z-index: 9999;
    transition: width 0.3s ease;
}