@import url("global.css");

.banner {
    position: relative;
    width: 100%;
    height: 435px;
    background: url("../img/Derecho-Banner.jpg") no-repeat center center/cover; /* Reemplaza con tu imagen */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.btn-outline{
    border: 1px solid #21A59A !important;
}

    .services-section {
    padding: 50px 5%;
    background-color: #E1E5E6;
    text-align: center;
}

.services-section h2 {
    font-size: 2.5rem;
    color: #21A59A;
    margin-bottom: 20px;
}

.services-section p {
    font-size: 1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Grid */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Tarjetas */
.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Icono */
.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #21A59A;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: 0.3s;
}
.icon-wrapper img {
    width: 50px;
}

.service-card:hover .icon-wrapper {
    background: #17857d;
}

/* Texto */
.service-card h3 {
    color: #21A59A;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 5px;
}

.btn-primary {
    background: #21A59A;
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background: #17857d;
}

.btn-outline {
    background: transparent;
    border: 1px solid #21A59A;
    color: #21A59A;
}

.btn-outline:hover {
    background: #21A59A;
    color: #fff;
}