/* General */
body {
    /* background-color: #13072e; */
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}
#contactForm{
    background-color: #13072e;
}
/* Barra de navegación */
.navbar {
    background-color: #17224d !important;
}
.contact-box{
    margin:20px 45px;
    /* background: #17224d; */
    color: #fff;
  }
  .contact-img{
    border-radius: 15px;
  }
  .contact-form{
    /* background: #17224d; */
    border-radius: 15px;
    padding: 30px 130px;
  }
  .contact-img{
    background-color: #1a1936;
  }
  .c-image{
    width: 350px;
    border-radius: 15px;
  }
  contact-text{
   color: #fff;
  }
.navbar .navbar-brand {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    height: 60px;
}

.navbar-brand img.logo {
    max-width: 80px;
    height: auto;
    padding: 10px;
}

.navbar-nav .nav-link {
    color: #fff !important;
    margin-right: 20px;
}

.navbar-nav .nav-link:hover {
    color: #f1c40f !important;
}

/* Sección general */
.section {
    background-color: #13072e;
    padding: 50px 20px;
}
.home-section{
    font-size: 24px;
}

/* Explore Services Section */
#explore-services {
    background: linear-gradient(135deg, #1a1338, #13072e);
    color: #fff;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.dynamic-text {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease-out;
    color: #fff;
    letter-spacing: 1px;
}

.sub-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #d1c4e9;
}

.cta-text {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 20px;
}

.app-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.app-icon {
    max-width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-icon:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Decoraciones */
.decoration-img {
    position: absolute;
    opacity: 0.15;
    transition: opacity 0.3s ease;
    z-index: 1; /* Detrás del contenido principal */
    max-width: 300px;
}

.left-decor {
    top: 20px;
    left: -30px;
}

.right-decor {
    bottom: 20px;
    right: -30px;
}

#explore-services:hover .decoration-img {
    opacity: 0.25;
}

/* Responsividad */
@media (max-width: 512px) {
    .navbar-brand img.logo {
        max-width: 60px;
    }
    .navbar .navbar-brand {
        font-size: 1rem;
    }
}
@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .dynamic-text {
        font-size: 2.2rem;
    }

    .sub-text, .cta-text {
        font-size: 1rem;
    }

    .app-icons {
        flex-direction: column;
        gap: 10px;
        justify-content: center; /* Centrar los iconos */
    }

    .decoration-img {
        display: none;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .col-md-6 {
        flex: 1;
        max-width: 100%;
    }

    /* Reducir el tamaño de los iconos */
    .icon {
        max-width: 40px;
        max-height: 40px;
    }

    /* Reducir el tamaño de la imagen decorativa izquierda */
    .left-decor {
        max-width: 150px;
        left: -20px; /* Ajustar su posición para que no sobresalga */
    }

    /* Reducir el tamaño de la imagen decorativa derecha */
    .right-decor {
        max-width: 150px;
        right: -20px; /* Ajustar su posición para que no sobresalga */
    }

    /* Iconos de aplicaciones en la sección Explore Services */
    .app-icon {
        max-width: 120px; /* Ajustar tamaño de iconos en la sección */
    }
}

/* About Us Section */
#about-us h2 {
    font-size: 3rem;
    font-weight: 700;
}

#about-us p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

#about-us .btn {
    background-color: #f1c40f;
    color: #000;
    padding: 10px 30px;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
}

#about-us .btn:hover {
    background-color: #e0b90f;
}

#about-us .img-fluid {
    max-width: 100%;
}

/* Footer */
footer {
    background-color: #17224d !important;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

/* Servicios Section */
#services {
    background-color: #13072e;
    padding: 80px 0;
}

#services .container {
    text-align: center;
    font-size: 1.2em;
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.service-card {
    background-color: #bf79f5;
    border-radius: 15px;
    padding: 30px;
    width: 250px;
    text-align: center;
    transition: background-color 0.3s ease;
    cursor: pointer;
    font-size: 1.2em;
}

.service-card:hover,
.service-card.selected {
    background-color: #ffffff;
    color: #25e7e2;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.service-card p {
    margin: 0;
    font-weight: bold;
    font-size: 1.3em;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #13072e;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: #f1c40f;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Testimonial Card */
.testimonial-card {
    background-color: #1a1936;
    width: 320px;
    height: 440px;
    border-radius: 15px;
    perspective: 1000px;
    position: relative;
    margin-bottom: 20px;
}

.testimonial-card .card-front,
.testimonial-card .card-back {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    position: absolute;
    backface-visibility: hidden;
    transition: transform 0.6s;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.testimonial-card .card-front {
    background-color: #2a2754;
}

.testimonial-card .card-back {
    background-color: #f1c40f;
    color: #13072e;
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
}

.testimonial-card:hover .card-front {
    transform: rotateY(180deg);
}

.testimonial-card:hover .card-back {
    transform: rotateY(360deg);
}

.blockquote {
    font-style: italic;
    font-size: 1.3rem;
}

.quote-icon {
    font-size: 2.5rem;
    color: #f1c40f;
}

.stars {
    color: #f1c40f;
    font-size: 1.9rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.user-info .name {
    font-weight: bold;
    font-size: 1.3rem;
}

.user-info .role {
    font-size: 1rem;
    color: #ccc;
}

/* Contact Us Section */
#contact-us {
    background-color: #13072e;
    padding: 80px 20px;
    text-align: center;
}

#contact-us h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
}

#contact-us form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #1a1936;
    padding: 30px;
    border-radius: 10px;
}

#contact-us input,
#contact-us textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background-color: #2a2754;
    color: #fff;
    font-size: 1rem;
}

#contact-us input:focus,
#contact-us textarea:focus {
    outline: none;
    border: 2px solid #f1c40f;
}

#contact-us button {
    background-color: #f1c40f;
    color: #13072e;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
}

#contact-us button:hover {
    background-color: #e0b90f;
}
