/* Mosacargo Custom Styles */
@charset "UTF-8";

/* Color Palette based on www.mosacargo.cl */
:root {
    --primary-color: #25d366; /* Green from navigation links */
    --secondary-color: #add8e6; /* Light blue from header */
    --accent-color: #0066cc; /* Blue accent */
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --text-color: #333333;
    --border-color: #e0e0e0;
}

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

body {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Header Styles */
.header-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
  }
  
  .navbar {
    padding: .5rem 0;
  }
  
  .logo {
    /* margin-top: 10px; */
    height: 70px;    
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.aviso-arriba {
  display: flex;
  justify-content:center;
  /* align-items: center; */
  
  /* background-color: #a11818; */
}
.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    /* color: var(--primary-color) !important; */
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

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

.navbar-nav .nav-link:hover::after {
    width: 100%;
}
.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
  text-decoration:underline;
  /* padding: 2px;  */
}
.cta-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, #20b358 100%);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #20b358 0%, var(--primary-color) 100%);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider .carousel-item img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    top: 60px;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #20b358 100%);
    /* background-color: #e24531; */
    border: none;
    padding: 15px 30px;
    font-size: 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.benefit-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    min-width: 30px;
}

/* Process Section */
.process-section {
    background: var(--white);
}

.process-step {
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #787197 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Quote Section */
.seccion-cotizacion {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
}

.quote-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--text-color);
}

.quote-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.quote-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 211, 102, 0.25);
}

.quote-form .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.quote-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #20b358 100%);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.quote-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Trust Section */
.trust-section {
    background: var(--light-color);
}

.trust-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.trust-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.trust-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 3rem;
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-images img {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.about-images img:hover {
    transform: scale(1.05);
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #222 100%);
    color: var(--white);
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.fondo_boton_wsp {  
  background: #25D366; 
  color: #000;
  text-decoration: none;
  padding: 5px 7px;
  /* font-size: 10px; */
  font-size: .8em;
  border-radius: 7px;
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .quote-form-container {
        padding: 2rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .cta-button {
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .quote-form-container {
        padding: 1.5rem;
    }
    
    .process-step,
    .trust-item {
        padding: 1.5rem;
    }   
     .logo{
      display: none;
    } 
}

@media (min-width: 576px) {
  .fondo_boton_wsp {  
    padding: 7px 9px;
    /* font-size: 10px; */
    font-size: 1em;
    /* border-radius: 7px; */
  }

  .aviso-arriba{
    justify-content:space-between;  
  }
  
}


/* Utility Classes */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #20b358 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #20b358 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
}

/* Scroll to top button (if needed) */
.scroll-to-top {
    position: fixed;
    bottom: 70px;
    right: 22px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}



/* ********************************************************* */
#galeriaFade {
    min-height: 200px;
    max-width: 100%;
    overflow: hidden;
  }
  .fade-img {
    opacity: 0;
    transition: opacity 1s;
    z-index: 1;
    pointer-events: none;
  }
  .fade-img.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
  }
  @media (max-width: 768px) {
    #galeriaFade {
      aspect-ratio: 4/3;
      min-height: 150px;
    }
  }
  @media (max-width: 480px) {
    #galeriaFade {
      aspect-ratio: 1/1;
      min-height: 100px;
    }
  }

