
.hdr-carousel-section {
    background-color: #ffffff;
    padding: 80px 40px;
    margin: 0;
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.carousel-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    font-family: 'Source Sans Pro', sans-serif;
}

.carousel-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    font-family: 'Source Sans Pro', sans-serif;
}

.carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background: white;
}

.carousel-slides {
    position: relative;
    height: min(500px, 70vh);
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    transform: translateX(0);
    transition: none; 
    background: white;
    text-decoration: none;
    color: inherit;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-image {
    flex: 1.1;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    opacity: 1;
}

.carousel-slide:hover .slide-image img {
    transform: scale(1.05);
}

.slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.15) 0%, rgba(155, 99, 206, 0.1) 100%);
    z-index: 1;
}

.slide-content {
    flex: 0.9;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    position: relative;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
}

.slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(130deg, #0074E0 0%, #218367 100%);
}

.slide-content h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #0074E0;
    margin-bottom: 20px;
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.1rem;
    color: #000000;
    line-height: 1.6;
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0074E0;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    font-family: 'Source Sans Pro', sans-serif;
}

.carousel-btn:hover {
    background: rgba(26, 35, 126, 1);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: calc(50% - 450px - 25px);
}

.next-btn {
    right: calc(50% - 450px - 25px);
}

.btn-icon {
    font-size: 1.5rem;
    font-weight: bold;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(26, 35, 126, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #0074E0;
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(26, 35, 126, 0.6);
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .hdr-carousel-section { padding: 60px 30px; }
    .carousel-title { font-size: 2.2rem; }
    .carousel-subtitle { font-size: 1.1rem; }
    .slide-content { padding: 40px 30px; flex: 1; }
    .slide-content h3 { font-size: 1.8rem; }
    .slide-content p { font-size: 1rem; }
}

@media (max-width: 990px) {
    .prev-btn { left: 20px; }
    .next-btn { right: 20px; }
}

@media (max-width: 768px) {
    .hdr-carousel-section { padding: 50px 20px; }
    .carousel-title { font-size: 2rem; margin-bottom: 8px; }
    .carousel-subtitle { font-size: 1rem; margin-bottom: 40px; }
    .carousel-slides { height: 600px; }
    .carousel-slide { flex-direction: column; }
    .slide-image { height: 250px; }
    .slide-content {
        padding: 30px 25px;
        text-align: center;
        height: auto;
        flex: 1;
    }
    .slide-content::before { width: 100%; height: 4px; top: 0; left: 0; }
    .slide-content h3 { font-size: 1.6rem; margin-bottom: 15px; }
    .slide-content p { font-size: 0.95rem; }
    .carousel-btn { width: 45px; height: 45px; }
    .btn-icon { font-size: 1.3rem; }
}

@media (max-width: 480px) {
    .hdr-carousel-section { padding: 40px 15px; }
    .carousel-title { font-size: 1.8rem; }
    .carousel-slides { height: 550px; }
    .slide-image { height: 200px; }
    .slide-content { padding: 25px 20px; }
    .slide-content h3 { font-size: 1.4rem; }
    .slide-content p { font-size: 0.9rem; }
    .carousel-btn { width: 40px; height: 40px; }
    .btn-icon { font-size: 1.2rem; }
    .indicator { width: 10px; height: 10px; }
    .carousel-indicators { gap: 8px; margin-top: 25px; }
}

.carousel-btn:focus,
.indicator:focus {
    outline: 2px solid #0074E0;
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    .carousel-btn { background: #000; border: 2px solid #fff; }
    .indicator { border: 1px solid #000; }
    .indicator.active { background: #000; }
}
