/* Carousel Styles */
.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 70vh;
    margin-bottom: -4rem;
}

.carousel-inner {
    display: flex;
    transition: transform 0.6s ease;
    height: 100%;
}

.carousel-item {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 35, 126, 0.9), rgba(26, 35, 126, 0.7));
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 10;
    width: 80%;
    max-width: 800px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 15;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicator.active {
    background-color: white;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.carousel-control:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

/* Additional Sections Styles */
.testimonials {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.testimonial-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

.testimonial-quote {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.student-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.student-info {
    margin-bottom: 1rem;
}

.student-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.student-program {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* Stats Counter Section */
.stats {
    background-image: url('https://images.unsplash.com/photo-1588075592446-265fd1e6e76f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 5rem 0;
    color: white;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 35, 126, 0.9), rgba(26, 35, 126, 0.85));
}

.stats .container {
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-text {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background-color: var(--secondary-color);
    padding: 4rem 0;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-white {
    background-color: white;
    color: var(--secondary-color);
    border: 2px solid white;
    padding: 0.8rem 2rem;
    font-weight: 600;
}

.btn-white:hover {
    background-color: transparent;
    color: white;
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.8rem 2rem;
    font-weight: 600;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--secondary-color);
}

/* Events Section */
.events-section {
    padding: 5rem 0;
}

.event-card {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    overflow: hidden;
}

.event-image {
    width: 35%;
    background-size: cover;
    background-position: center;
    min-height: 200px;
}

.event-details {
    width: 65%;
    padding: 1.5rem;
}

.event-date {
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.event-date i {
    margin-right: 0.5rem;
}

.event-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-location {
    display: flex;
    align-items: center;
    color: #666;
    margin-bottom: 1rem;
}

.event-location i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.event-description {
    margin-bottom: 1.5rem;
    color: #555;
}

/* Responsive */
@media (max-width: 767.98px) {
    .event-card {
        flex-direction: column;
    }
    
    .event-image {
        width: 100%;
    }
    
    .event-details {
        width: 100%;
    }
}