.card-img-top {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

:root {
    --primary-color: #4e73df;
    --secondary-color: #1cc88a;
    --accent-color: #f6c23e;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fc;
    --transition-speed: 0.3s;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    --text-primary: #1a1a2e;
    --text-secondary: #666;
    --bg-primary: #f8f9fc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f2f6;
    --card-bg: #ffffff;
    --border-color: #eeeeee;
}

body.dark_theme {
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-tertiary: #2d2d2d;
    --card-bg: #2d2d2d;
    --border-color: #444444;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.photos-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.carousel-inner img {
    filter: brightness(0.7);
}


.carousel-caption h1 {
    font-size: 4.5rem;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.carousel-caption h1::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.carousel-caption p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Seção de serviços melhorada */
#content13-2l {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
}

#content13-2l h3 {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

#content13-2l h3::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.service-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
    height: 100%;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.service-card:nth-child(1) {
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.service-card:nth-child(2) {
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

.service-card:nth-child(3) {
    animation: fadeInUp 0.8s ease forwards 0.9s;
}

.service-card:nth-child(4) {
    animation: fadeInUp 0.8s ease forwards 1.1s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transition: height 0.5s ease;
    z-index: 2;
}

.service-card:hover::before {
    height: 100%;
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-img-top {
    transform: scale(1.1);
}

.service-card .card-body {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.service-card .card-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .card-title {
    color: var(--primary-color);
}

.service-card .card-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Nova seção de características */
.features-section {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

.features-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.features-section .section-title h2 {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.features-section .section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.features-section .section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.feature-item:nth-child(1) {
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

.feature-item:nth-child(2) {
    animation: fadeInUp 0.8s ease forwards 0.9s;
}

.feature-item:nth-child(3) {
    animation: fadeInUp 0.8s ease forwards 1.1s;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transition: height 0.5s ease;
}

.feature-item:hover::before {
    height: 100%;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(78, 115, 223, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(78, 115, 223, 0.2);
}

.feature-item h4 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover h4 {
    color: var(--primary-color);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsividade melhorada */
@media (max-width: 768px) {
    .carousel-caption {
        width: 25rem !important;
    }

    .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .carousel-caption p {
        font-size: 1.1rem;
    }

    #content13-2l h3 {
        font-size: 2rem;
    }

    .features-section .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .carousel-caption {
        width: 20rem !important;
        top: 20%;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    #content13-2l h3 {
        font-size: 1.8rem;
    }

    .features-section .section-title h2 {
        font-size: 1.8rem;
    }
}