:root {
    --purple: #6a0dad;  /* #968b9d */ /* a4a0a7 */ /* 6a0dad */
    --water-green: #7fdbca;
    --blue: #3498db;
    --dark-gray: #2c3e50;
    --light-gray: #f8f9fa;
}

/* Estilos base */
body {
    font-family: 'Open Sans', sans-serif;
    padding-top: 56px;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--dark-gray);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.text-purple {
    color: var(--purple) !important;
}

.bg-purple {
    /* background-color: var(--purple) !important; */
    background-color: #a4a0a7 !important;
}

.bg-dark-purple {
    background-color: var(--purple);
	/* background-color: #a4a0a7 !important;  */
}

.btn-purple {
    background-color: var(--purple);
    color: white;
    border-color: var(--purple);
}

.btn-purple:hover {
    background-color: #5a0a9a;
    border-color: #5a0a9a;
    color: white;
}

.btn-outline-purple {
    border-color: var(--purple);
    color: var(--purple);
}

.btn-outline-purple:hover {
    background-color: var(--purple);
    color: white;
}

/* Navbar */
.navbar {
    transition: all 0.3s;
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 8px 15px;
    position: relative;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--water-green);
    bottom: 0;
    left: 15px;
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover:after {
    width: calc(100% - 30px);
}

/* Hero Section / Carrusel */
.hero-section {
    margin-top: -56px;
}

.carousel {
    overflow: hidden;
}

.carousel-item {
    height: 90vh;
    min-height: 500px;
    background-color: var(--light-gray);
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    opacity: 0.2;
}

.carousel-caption {
    bottom: 30%;
    transform: translateY(50%);
    color: var(--dark-gray);
    text-align: left;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    max-width: 600px;
    margin-left: 10%;
}

.carousel-caption h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(106, 13, 173, 0.5);
    border: none;
}

.carousel-indicators button.active {
    background-color: var(--purple);
}

/* Secciones comunes */
.section-title {
    color: var(--purple);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--water-green);
}

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Servicios */
.service-icon-container {
    width: 80px;
    height: 80px;
    background-color: rgba(127, 219, 202, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.service-icon {
    font-size: 2rem;
    color: var(--purple);
}

.card {
    border: none;
    border-radius: 10px;
    transition: all 0.3s;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Proyectos */
.badge.bg-purple {
    background-color: var(--purple) !important;
}

/* Contacto */
.contact-info i {
    font-size: 1.2rem;
    min-width: 25px;
}

#contactForm label {
    font-weight: 600;
    color: var(--dark-gray);
}

/* Footer */
footer {
    background-color: var(--dark-gray) !important;
}

footer h5 {
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

footer h5:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--water-green);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
}

.social-links a:hover {
    background-color: var(--purple);
    color: white !important;
}

/* Efectos hover */
.hover-shadow:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .carousel-caption {
        margin-left: 5%;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 70vh;
    }
    
    .carousel-caption {
        bottom: 20%;
        transform: none;
        margin: 0 auto;
        text-align: center;
        padding: 15px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 30px;
    }
    
    .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}