:root {
    --primary: #0FB5E9;     /* Bleu clair */
    --secondary: #48519F;   /* Bleu foncé */
    --tertiary: #706F6F;    /* Gris */
    --light: #f8f9fa;
    --dark: #212529;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    padding-top: 80px; /* Pour compenser la navbar fixed-top */
}

/* Personnalisation des couleurs Bootstrap */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #3a4184;
    border-color: #3a4184;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

/* Social-icons*/
.social-icons a:hover {
    color: #0d6efd;
    transform: scale(1.2);
}

.social-icons a {
    color: #ddd;
}
.social-icons a:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

.social-icons a {
    background: rgba(255, 255, 255, 0.15);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Option mobile: centrer dans le menu déroulant */
@media (max-width: 991px) {
  .social-icons {
    justify-content: center;
    margin-top: 10px;
  }
}

/* Styles pour le carrousel hero */
#heroCarousel, .col-lg-3 .col-md-6 .col-6 .mb-4 {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 80%;
    margin: 0 auto;
}

#heroCarousel .carousel-item img, .col-lg-3 .col-md-6 .col-6 .mb-4 {
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
}

#heroCarousel .carousel-indicators {
    bottom: 15px;
}

#heroCarousel .carousel-indicators button{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

#heroCarousel .carousel-indicators button.active {
    background-color: var(--primary);
    border-color: var(--primary);
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 8%;
    background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, transparent 100%);
}

#heroCarousel .carousel-control-next .col-lg-3 .col-md-6 .col-6 .mb-4 {
    background: linear-gradient(270deg, rgba(0,0,0,0.3) 0%, transparent 100%);
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon .col-lg-3 .col-md-6 .col-6 .mb-4 {
    background-size: 20px 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Animation hover pour le carrousel */
#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next .col-lg-3 .col-md-6 .col-6 .mb-4 {
    opacity: 1;
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next .col-lg-3 .col-md-6 .col-6 .mb-4 {
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

/* Effets visuels au survol du carrousel */
#heroCarousel {
    position: relative;
    cursor: pointer;
}

#heroCarousel .carousel-item img .col-lg-3 .col-md-6 .col-6 .mb-4 {
    transition: transform 1.5s ease, filter 1.5s ease;
}

#heroCarousel:hover .carousel-item.active img {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* Animation des indicateurs au survol */
#heroCarousel:hover .carousel-indicators button .col-lg-3 .col-md-6 .col-6 .mb-4 {
}

@keyframes indicatorPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Effet de transition fluide */
#heroCarousel .carousel-inner .col-lg-3 .col-md-6 .col-6 .mb-4 {
    transition: transform 2s ease-in-out;
}

#heroCarousel .carousel-item .col-lg-3 .col-md-6 .col-6 .mb-4 {
    transition: transform 2s ease-in-out;
}

/* Navigation */
.navbar .col-lg-3 .col-md-6 .col-6 .mb-4 {
}

.navbar-brand img {
    height: 60px;
}

.nav-link .col-lg-3 .col-md-6 .col-6 .mb-4 {
    font-weight: 700;
    color: var(--tertiary) !important;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover, .nav-link.active .col-lg-3 .col-md-6 .col-6 .mb-4 {
    color: var(--primary) !important;
}

.navbar-toggler .col-lg-3 .col-md-6 .col-6 .mb-4 {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus .col-lg-3 .col-md-6 .col-6 .mb-4 {
    box-shadow: none;
}

/* Hero Section */
/*.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/etude22.jpg') no-repeat center calc(40% + 6rem);
    background-size: cover;
    background-attachment: fixed;
    color: white;
    padding: 10rem 0;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}*/


/* Hero Section améliorée */
.hero-section {
    background: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7)), 
        url('../images/1.jpg') center center / cover no-repeat;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh;
    padding: 3rem 1rem;
    position: relative;
}

.hero-section h1, 
.hero-section p {
    animation: fadeUp 1.2s ease forwards;
    opacity: 0;
}

.hero-section .hero-content h1 { 
    font-size: 3.5rem;
    font-weight: 700; 
    margin-bottom: 1.5rem; 
}

/* Animation d’apparition */
@keyframes fadeUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Adaptation mobile */
@media(max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        background-position: center top;
        padding: 4rem 1.5rem;
    }
}

/* Hero Section avec dégradé */
.hero-section-gradient {
    background: linear-gradient(135deg, #0FB5E9 0%, #4A90E2 100%);
    color: blue;
    padding: 8rem 0;
    position: relative;
}

/* Hero Section bleue centrée */
.hero-section-blue-centered {
    background: linear-gradient(135deg, #0FB5E9 0%, #4A90E2 100%);
    color: white;
    padding: 8rem 0;
    position: relative;
}

.hero-section-blue-centered .hero-content {
    z-index: 2;
    position: relative;
}

.hero-section-blue-centered .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-section-blue-centered .hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
}

/* Styles pour le carrousel dans Hero Section 2 */
.hero-section-blue-centered .carousel {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-section-blue-centered .carousel-item img {
    height: 400px;
    object-fit: cover;
    width: 100%;
}

.hero-section-blue-centered .carousel-indicators {
    bottom: 15px;
}

.hero-section-blue-centered .carousel-indicators button {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.hero-section-blue-centered .carousel-indicators .active {
    background-color: white;
}

.gradient-display {
    height: 400px;
    background: linear-gradient(45deg, rgba(15, 181, 233, 0.9) 0%, rgba(74, 144, 226, 0.9) 50%, rgba(46, 134, 193, 0.9) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.gradient-content {
    text-align: center;
    padding: 2rem;
}

.gradient-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.gradient-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Services Cards */
.service-card {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card .card-img-top{
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Images des services – sélection par section */
#orientation img,
#admission img,
#logement img,
#integration img,
#visa img,
#suivi img {
    border-radius: 12px;
}

.service-image {
    border-radius: 12px;
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card .card-title {
    color: var(--secondary);
    font-weight: 700;
}

/* Testimonials */
.testimonial-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.testimonial-card .card-body {
    padding: 2rem;
}

.testimonial-card .testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.testimonial-card .testimonial-name {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.testimonial-card .testimonial-position {
    color: var(--tertiary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.testimonial-card .testimonial-stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.contact-info {
    background-color: var(--secondary);
    color: white;
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--dark);
}

footer h5 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

footer .social-icons a:hover {
    background-color: var(--primary);
}

/* Chat */
.chat-message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    position: relative;
}

.chat-message.received {
    background-color: #f1f0f0;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.chat-message.sent {
    background-color: var(--primary);
    color: white;
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.chat-container {
    display: flex;
    flex-direction: column;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 5rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
}

@media (max-width: 575.98px) {
    body {
        padding-top: 70px;
    }
    
    .navbar-brand img {
        height: 50px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
}


/* destination */
.destinations-section {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
                url('../images/etude2.jpg') center center / cover no-repeat;
    color: white;
}

.destinations-section .card {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    backdrop-filter: blur(4px);
}

.destinations-section h2,
.destinations-section p {
    color: rgb(0, 0, 0);
}

/* etude */
.etude-section {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
                url('../images/6.jpg') center center / cover no-repeat;
    color: white;
}

.etude-section .card {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    backdrop-filter: blur(4px);
}

.etude-section h2,
.etude-section p {
    color: rgb(0, 0, 0);
}

/* service */
.service-section {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
                url('../images/00.jpg') center center / cover no-repeat;
    color: white;
}

.service-section .card {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    backdrop-filter: blur(4px);
}

.service-section h2,
.service-section p {
    color: rgb(0, 0, 0);
}