body {
    /*display: flex;*/
    flex-direction: column;
    min-height: 100vh;
}


.form-section {
    background-color: #ddd9d9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/*===========================MENU | Carousel ====================*/

/* Style pour les tablettes (>= 768px) */
@media (min-width: 768px) {
    .carousel-caption {
        padding: 30px 60px; /* Augmentation du padding */
        width: 75%;       /* Augmentation de la largeur */
    }
}

/* Style pour les PC (>= 992px) */
@media (min-width: 992px) {
    .carousel-caption {
        padding: 40px 80px; /* Augmentation du padding */
        width: 65%;       /* Augmentation de la largeur pour un effet plus aéré */
    }
}

/* Style pour les très grands écrans (>= 1200px) */
@media (min-width: 1200px) {
    .carousel-caption {
        padding: 50px 100px; /* Encore plus de padding */
        width: 55%;        /* Largeur optimale sur grand écran */
    }
}



/* Styles pour les liens de navigation */
.nav-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 120px;
    height: 45px;
    text-align: center;
    border: 1px solid #0dcaf0;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
    padding: 0;
    transition: background-color 0.3s, color 0.3s;
}
.nav-link-btn.active, .nav-link-btn:hover {
    background-color: #0dcaf0;
    color: #212529 !important;
}

/* ---------------------------------------------------- */
/* Styles de la légende du carrousel */
/* ---------------------------------------------------- */

/* Par défaut (PC/Tablette) : Fond noir opaque sur un conteneur centré */
.carousel-caption {
    /*background-color: black;*/
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px 40px;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: auto;
}

/* Rend le titre adaptatif */
.caption-content h1 {
    font-size: 2.5rem; /* Taille par défaut pour mobile */
}

/* Taille pour les écrans de tablette */
@media (min-width: 756px) and (max-width: 991px) {
    .caption-content h1 {
        font-size: 2rem;
    }
}



/* Taille pour les très grands écrans */
@media (min-width: 1200px) {
    .caption-content h1 {
        font-size: 3rem;
    }
}

/* ---------------------------------------------------- */
/* Media Query pour les appareils mobiles */
/* ---------------------------------------------------- */
@media (max-width: 800px) {
    /* Le menu remplit la largeur en mode mobile */
    .navbar-nav .nav-item {
        width: 100%;
        margin:1px auto;
    }
    .nav-link-btn {
        width: 100%;
        height: auto;
        justify-content: flex-start;
        padding: 0.5rem 1rem;
        margin: 0;
        border-left: none;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-item:first-child .nav-link-btn {
        border-top: none;
    }

    /* Le carrousel devient plein écran sur mobile, avec une hauteur minimale de 700px */
    .carousel-mobile-fullscreen,
    .carousel-mobile-fullscreen .carousel-inner,
    .carousel-mobile-fullscreen .carousel-item {
        height: 100vh;
        min-height: 700px;
    }
    .carousel-mobile-fullscreen .carousel-item img {
        height: 100vh;
        min-height: 700px;
        object-fit: cover;
    }

    /* La légende devient un calque semi-transparent qui remplit tout le carrousel */
    .carousel-caption {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.6);
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: none; /* Annule la transformation de centrage PC */
    }
}
/*===========================MENU | Carousel ====================*/
/* ---------------------------------------------------- */
/* Styles de la section "Offres d'emploi récentes" */
/* ---------------------------------------------------- */
.job-card {
    transition: transform 0.2s;
}
.job-card:hover {
    transform: translateY(-5px);
}
.job-card .card-body {
    display: flex;
    flex-direction: column;
}
.job-card .card-title {
    font-weight: bold;
}
.job-card .card-text.text-muted {
    margin-top: auto;
}


/*===========================Conctact==========================*/
body { background-color: #e5e5f7; }
.contact-container {
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    background-color: #fff;
}
.left-panel {
    background-color: #00bcd4;
    color: #fff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.right-panel {
    padding: 1rem;
    flex-grow: 1;
}
.form-control:focus, .form-select:focus, .form-control-file:focus {
    box-shadow: none;
    border-color: #00bcd4;
}
.btn-submit {
    background-color: #00bcd4;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    transition: background-color 0.3s ease;
}
.btn-submit:hover {
    background-color: #008c9e;
}
.btn-submit:active {
    background-color: #005f6b;
    transform: translateY(1px);
}
.word-counter {
    font-size: 0.8rem;
    color: #888;
}
/*===========================Conctact==========================*/



/*====================JOB=============================*/
/* Styles pour le nouveau format d'affichage en liste */
.card-logo {
    width: 60px;
    height: 60px;
    margin-right: 20px;
}

/* Effet "over" sur les cartes */
.job-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.job-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Styles pour masquer les éléments non paginés */
.job-item {
    display: none;
}

.job-details-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}
.details-logo {
    width: 80px;
    height: 80px;
}
/*====================JOB=============================*/



/*=========================LOGIN=======================*/
.form-section .card {
    background-color: #ffffff;
}
.input-group .form-control {
    background-color: #f8f8f8;
    border: 1px solid #e9ecef;
}
.input-group-text {
    background-color: #f8f8f8;
    border: 1px solid #e9ecef;
    border-right: none;
}
.input-group .form-control:focus,
.input-group-text:focus {
    background-color: #ffffff;
    border-color: #0d6efd;
}
/*=========================LOGIN=======================*/
