/* BANNER CAROUSEL */
.carousel-section {
    background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
    padding: 2rem;
    overflow: hidden;
    margin: 2rem 0;
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
    position: relative;
    overflow: hidden;
}

.slide-content {
    text-align: center;
    z-index: 2;
    color: white;
    padding: 2rem;
}

.slide-logo {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: bold;
    border: 3px solid #ffd700;
}

.slide-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-text {
    font-size: 1.2rem;
    font-weight: 300;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.25);
    color: white;
    border: none;
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-weight: 300;
}

.carousel-control:hover {
    background-color: rgba(255,255,255,0.5);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 1.5rem;
}

.carousel-control.next {
    right: 1.5rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 35%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    z-index: 10;
    width: 100%;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.indicator:hover {
    background-color: rgba(255,255,255,0.6);
}

.indicator.active {
    background-color: white;
    transform: scale(1.3);
}

/* WELCOME SECTION */
.welcome-section {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
    text-align: center;
}

.welcome-section h1 {
    font-size: 2.5rem;
    color: #c41e3a;
    margin-bottom: 1rem;
}

/* CARDS SECTION */
.cards-section {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.card-content {
    padding: 2rem;
    text-align: center;
}

.card-title {
    font-size: 1.5rem;
    color: #c41e3a;
    margin-bottom: 1rem;
    font-weight: bold;
}

.card-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-block;
    background-color: #c41e3a;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.card-link:hover {
    background-color: #a01729;
}

/* FEATURES SECTION */
.features-section {
    background-color: #f9f9f9;
    padding: 3rem 2rem;
    margin-top: 3rem;
}

.features-content {
    max-width: 1400px;
    margin: 0 auto;
}

.features-content h2 {
    font-size: 2rem;
    color: #c41e3a;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    text-shadow: 
        2px 2px 0px rgba(0,0,0,0.1),
        4px 4px 8px rgba(0,0,0,0.15),
        0 0 15px rgba(196,30,58,0.2);
    letter-spacing: 0.3px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: #c41e3a;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
}

/* MAIN CARDS SECTION */
.main-cards-section {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.main-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 340px);
    gap: 15rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.main-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 6px 15px rgba(0,0,0,0.1),
        0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.main-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 10px 25px rgba(196,30,58,0.15),
        0 15px 35px rgba(0,0,0,0.12);
    border-color: #c41e3a;
}

.main-card-clickable {
    cursor: pointer;
}

.main-card-link {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.main-card-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.main-card-image-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}

.main-card-image::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shine 3s infinite;
    z-index: 2;
}

@keyframes shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.main-card-content {
    padding: 1.25rem 1.25rem 1.5rem;
    text-align: center;
}

.main-card-title {
    font-size: 1.15rem;
    color: #c41e3a;
    margin-bottom: 0.6rem;
    font-weight: bold;
    text-shadow: none;
}

.main-card-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .carousel-container {
        height: 300px;
    }

    .carousel-slide {
        height: 100px;
    }

    .slide-title {
        font-size: 1.8rem;
    }

    .slide-text {
        font-size: 1rem;
    }

    .carousel-control {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .main-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .welcome-section h1,
    .features-content h2 {
        font-size: 1.8rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 115px;
        padding: 0.5rem;
    }
    .carousel-slide {
        padding: 0;
    }
    .slide-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    .slide-text {
        font-size: 0.85rem;
    }
    .carousel-control {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        border-radius: 8px;
    }
    .carousel-indicators {
        bottom: 0.5rem;
        gap: 0.4rem;
    }
    .indicator {
        width: 9px;
        height: 9px;
    }
}
