/* Estilos base */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
}

.project-card {
    height: 200px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: scale(1.02);
}

.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 52px;
    height: 52px;
    display: block;
}

.custom-input {
    border: 2px solid #2276bc;
    border-radius: 20px;
    padding-left: 40px;
    background-image: url('data:image/svg+xml,%3Csvg fill=\'%232276bc\' xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 16 16\' width=\'16\' height=\'16\'%3E%3Ccircle cx=\'8\' cy=\'8\' r=\'8\'/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 16px;
}

textarea.custom-input {
    background-position: 10px 10px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.card {
    border: none;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.features-section .card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 10px;
    background: #fff;
}

.features-section .card-title {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.features-section .card-text {
    color: #666;
}

.btn-primary {
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #0d6efd;
    border: none;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
}

.form-control {
    padding: 1rem 1rem 1rem 4rem !important;
    border-radius: 30px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(34,118,188,0.25) !important;
    border-color: #2276bc !important;
    outline: none;
}

textarea.form-control {
    padding-top: 2rem !important;
}

.form-check-input {
    border-radius: 4px;
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.5rem;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-label {
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #0b5ed7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.input-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Solo si tus íconos son oscuros */
}

.form-control.with-icon {
    padding-left: 60px;
}

textarea.form-control.with-icon {
    padding-left: 60px;
}

.input-group-prepend {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    pointer-events: none;
}

.input-group-text {
    border: none !important;
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2276bc !important;
    border-radius: 50% !important;
}

.input-group-text img {
    filter: brightness(0) invert(1);
    width: 18px;
    height: 18px;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group:has(textarea) .input-group-prepend {
    top: 1.5rem;
}

.btn-primary {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-transform: none;
    letter-spacing: normal;
}

.animation-scroll {
    animation: scroll 40s linear infinite;
    gap: 1rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-180px * 7));
    }
}

.overflow-hidden {
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent 100%);
}

.service-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-icon img {
    width: 50px;
    height: 50px;
}

.card:hover .service-icon {
    transform: scale(1.1);
    display: flex;
    gap: 1rem;
}

.form-check {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Media queries */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .features-section .card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
      text-align: center;
    }
  
    .navbar-nav {
      flex-direction: column;
      gap: 1rem;
      align-items: center;
    }
  
    .navbar-nav .nav-link {
      font-size: 1.2rem;
      padding: 0.75rem 1.5rem;
    }
  
    .navbar-nav .btn {
      margin-top: 0.5rem;
    }
  }
  