body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin-top: 80px !important;
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
}

.section-title {
    color: #cc0000;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 2rem;
}

.hero {
    position: relative;
    width: 100%;
    height: 60vh; 
    min-height: 300px; 
    background: url('./../content/persona.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px 0;
    margin: 0;
}

.hero h1 {
    font-size: 2.5rem; 
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    padding: 0 15px;
}


.hero::before, .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero::before {
    background: rgba(255, 0, 0, 0.25);
    backdrop-filter: blur(3px); 
}

.hero::after {
    background-color: rgba(255, 0, 0, 0.151);
}

.hero > * {
    position: relative;
    z-index: 2;
}

.container{
    margin-top: 40px !important;
    padding: 0 15px;
}

.content-section {
    padding: 30px 0;
}

.custom-image {
    max-width: 100%; 
    max-height: 300px; 
    width: auto;
    height: auto; 
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    margin-bottom: 20px;
}

.custom-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .custom-image {
        max-width: 350px; 
    }
}

@media (min-width: 768px) {
    .hero {
        height: 400px;
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .custom-image {
        max-width: 350px;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .row.align-items-center {
        flex-direction: column-reverse; 
    }
    
    .col-md-6 {
        margin-bottom: 30px;
    }
    
    .content-section {
        padding: 20px 0;
    }
    
    .img-container {
        order: -1;
    }
}
