:root {
    --primary-color: #0a65af;
    --secondary-color: #d31a20;
    --accent-color: #fcc931;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}


/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(17, 15, 51, 0.93), rgba(10, 101, 175, 0.95)), url('images/germany-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    position: relative;
}


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

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.lead-dark {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: black;

}

.hero-section .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.hero-section .btn-outline-light:hover {
    color: var(--primary-color);
}

.hero-image {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Programs Section */
.section-title {
    position: relative;
    margin-bottom: 3rem;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-title-white {
    position: relative;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--dark-color);
}

.section-title-white:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.program-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .card-img-top {
    transform: scale(1.1);
}

.program-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title i {
    font-size: 1.8rem;
    color: #3498db;
}

.level-badge {
    display: inline-block;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 20px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 15px;
}

        /* Bouton voir plus */
.voir-plus-btn {
    margin-top: 50px;
    padding: 14px 40px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
    background-color:rgba(52, 152, 219, 0.9);
    border: none;
    box-shadow: 0 8px 25px black;
    transition: all 0.3s ease;
}

.voir-plus-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px black;
    background-color: #1d4ed8;
}

        .card-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #1a237e, #3f51b5);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    width: 100%;
    margin-top: 1rem;
}

.card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.3);
}

/* Carousel controls customization */
@media (max-width: 767px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        background-color: rgba(52, 152, 219, 0.8);
        border-radius: 10%;
        top: 50%;
        transform: translateY(-50%);
    }

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

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

    .carousel-indicators {
        bottom: -50px;
    }

    .carousel-indicators button {
        width: 10px;
        height: 10px;
        border-radius: 10%;
        background-color: #3498db;
        margin: 0 5px;
    }
}

/* Hide carousel elements on desktop */
@media (min-width: 768px) {
    .mobile-carousel {
        display: flex !important;
    }

    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators {
        display: none;
    }
}
/*----------------End Programme --------------------------------------------*/

/* Timeline Section */
.timeline-section {
    background-color: var(--light-color);
    padding: 4rem 0;
}

.timeline-badge {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Testimonial Section */
.testimonial-card {
    background: linear-gradient(to right, #fff, #f8f9fa);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-image {
    height: 300px;
    object-fit: cover;
}

.temoignage
{
    font-size: 1.2rem;
}

.testimonial-card i.bi-quote {
    color: var(--primary-color);
    opacity: 0.2;
    font-size: 3rem;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-color);
    padding: 4rem 0;
}


.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
    margin-bottom: 0rem !important;
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    background-color: white;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(10, 101, 175, 0.05);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(10, 101, 175, 0.1);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a65af'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #0a4da0);
    color: white;
    padding: 4rem 0;
}

.cta-form .form-control {
    height: 3.5rem;
    border-radius: 4px;
    padding-left: 1.5rem;
    border: none;
}

.cta-form .btn {
    height: 3.5rem;
    border-radius: 10px;
    padding: 0 2rem;
    font-weight: 600;
    font-size: 1.15rem;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.cta-form .btn:hover 
{
    border-color: var(--secondary-color);
    background-color: #0a4da0;
}

.hero-section p 
{
  color : var(--color-dark);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section {
        padding: 3rem 0rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        
        
    }
    
    .hero-image {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .timeline-badge {
        margin: 0 auto 1rem;
    }
    
    .testimonial-image {
        height: 200px;
    }
    .temoignage
{
    font-size: 1rem;
}
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #085494;
    border-color: #085494;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.word-of-day {
    background-color: rgba(253, 201, 49, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin-top: 2rem;
}

.word-of-day h5 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.word-german {
    font-weight: 700;
    font-size: 1.25rem;
}

.pronunciation {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
}
