.school-header {
    position: relative;
    overflow: hidden;
    height: 500px;
    display: flex;
    align-items: flex-end;
    color: white;
}

.school-header-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.school-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
    z-index: 2;
}

.school-header-content {
    position: relative;
    z-index: 3;
    padding-bottom: 50px;
    width: 100%;
}

.school-logo {
    width: 120px;
    height: 120px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 5px solid var(--primary-color);
    overflow: hidden;
}

.school-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.school-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.school-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.school-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.school-meta-item {
    display: flex;
    align-items: center;
    margin-right: 30px;
    margin-bottom: 10px;
}

.school-meta-item i {
    font-size: 20px;
    margin-right: 10px;
    color: var(--secondary-color);
}

.school-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-custom-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-custom-primary:hover {
    background-color: #007c30;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 150, 57, 0.3);
}

.btn-custom-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-custom-secondary:hover {
    background-color: #e6c40f;
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(247, 214, 24, 0.3);
}

.btn-custom-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-custom-outline:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-custom-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-custom-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 150, 57, 0.3);
}

.school-tab {
    position: relative;
    margin-top: -30px;
    z-index: 10;
    background-color: white;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.school-tab .nav-link {
    padding: 20px 30px;
    border-radius: 0;
    border: none;
    font-weight: 600;
    color: var(--dark-color);
    transition: all 0.3s;
}

.school-tab .nav-link.active {
    color: var(--primary-color);
    background-color: white;
    border-bottom: 3px solid var(--primary-color);
}

.school-tab .nav-link:hover:not(.active) {
    background-color: rgba(0, 150, 57, 0.05);
}

.tab-content {
    background-color: white;
    padding: 40px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.gallery-container {
    margin-bottom: 30px;
}

.gallery-img {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.gallery-img:hover img {
    transform: scale(1.1);
}

.info-box {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s;
    border-left: 5px solid var(--primary-color);
}

.info-box:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}


.description-content h2 {
    font-size: 21px;
}

.description-content h3 {
    font-size: 20px;
}

.description-content h4 {
    font-size: 19px;
}
.description-content h5 {
    font-size: 18px;
}

.description-content h6 {
    font-size: 17px;
}

.info-box h2 {
    font-size: 21px;
}

.info-box h3 {
    font-size: 20px;
}

.info-box h4 {
    font-size: 19px;
}
.info-box h5 {
    font-size: 18px;
}

.info-box h6 {
    font-size: 17px;
}

.info-box-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-box-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.info-box-list li:before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-size: 14px;
}

.info-box-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-box-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-box-stat-label {
    color: var(--dark-color);
    font-weight: 500;
}

.faculty-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s;
}

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.faculty-card-img {
    height: 200px;
    position: relative;
}

.faculty-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faculty-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.faculty-card-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

.faculty-card-body {
    padding: 20px;
}

.faculty-card-text {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 14px;
}

.faculty-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.faculty-card-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    font-size: 14px;
}

.faculty-card-list li:before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

.course-item {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border-left: 3px solid var(--primary-color);
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.course-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.course-item-title {
    font-size: 18px;
    margin-bottom: 5px;
}

.course-item-level {
    font-size: 14px;
    color: var(--gray-color);
}

.course-item-duration {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.course-item-details {
    display: flex;
    margin-bottom: 15px;
}

.course-item-detail {
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-size: 14px;
    color: var(--gray-color);
}

.course-item-detail i {
    margin-right: 5px;
    color: var(--primary-color);
}

.course-item-desc {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 15px;
}

.admission-step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.admission-step:not(:last-child):after {
    content: "";
    position: absolute;
    left: 25px;
    top: 60px;
    width: 2px;
    height: calc(100% - 60px);
    background-color: var(--primary-color);
    opacity: 0.3;
}

.admission-step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.admission-step-content {
    flex-grow: 1;
}

.admission-step-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.admission-step-desc {
    color: var(--gray-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.professor-card {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.professor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.professor-card-img {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.professor-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.professor-card-body {
    padding: 20px;
    flex-grow: 1;
}

.professor-card-name {
    font-size: 18px;
    margin-bottom: 5px;
}

.professor-card-position {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.professor-card-bio {
    font-size: 14px;
    color: var(--gray-color);
}

.review-item {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.review-item-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-item-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.review-item-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-item-author {
    flex-grow: 1;
}

.review-item-name {
    font-size: 16px;
    margin-bottom: 5px;
}

.review-item-info {
    font-size: 14px;
    color: var(--gray-color);
}

.review-item-rating {
    display: flex;
    color: var(--secondary-color);
    margin-left: 15px;
}

.review-item-content {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 15px;
    font-style: italic;
    position: relative;
    padding: 0 20px;
}

.review-item-content:before,
.review-item-content:after {
    content: '"';
    font-size: 30px;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.review-item-content:before {
    left: 0;
    top: -5px;
}

.review-item-content:after {
    right: 0;
    bottom: -20px;
}

.review-item-date {
    text-align: right;
    font-size: 12px;
    color: var(--gray-color);
}

.tab-content .contact-info {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.contact-info-title {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info-item i {
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-info-item-content {
    flex-grow: 1;
}

.contact-info-item-label {
    font-weight: 600;
    padding-right: 3px;
}

.contact-info-item-value {
    color: var(--gray-color);
}

.contact-info-social {
    display: flex;
    margin-top: 20px;
}

.contact-info-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: var(--gray-color);
    margin-right: 10px;
    transition: all 0.3s;
    text-decoration: none;
}

.contact-info-social a:hover {
    transform: translateY(-3px);
}

.contact-info-social a.facebook:hover {
    background-color: #3b5998;
    color: white;
}

.contact-info-social a.twitter:hover {
    background-color: #1da1f2;
    color: white;
}

.contact-info-social a.instagram:hover {
    background-color: #e1306c;
    color: white;
}

.contact-info-social a.linkedin:hover {
    background-color: #0077b5;
    color: white;
}

.contact-info-social a.youtube:hover {
    background-color: #ff0000;
    color: white;
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.similar-schools {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.similar-schools-title {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.similar-schools-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.similar-school-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.similar-school-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.similar-school-item-logo {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.similar-school-item-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-school-item-content {
    flex-grow: 1;
}

.similar-school-item-title {
    font-size: 16px;
    margin-bottom: 5px;
}

.similar-school-item-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s;
}

.similar-school-item-title a:hover {
    color: var(--primary-color);
}

.similar-school-item-location {
    font-size: 14px;
    color: var(--gray-color);
    display: flex;
    align-items: center;
}

.similar-school-item-location i {
    color: var(--primary-color);
    margin-right: 5px;
    font-size: 12px;
}

.latest-news {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.latest-news-title {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.latest-news-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.news-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-item-img {
    width: 80px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item-content {
    flex-grow: 1;
}

.news-item-title {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.news-item-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s;
}

.news-item-title a:hover {
    color: var(--primary-color);
}

.news-item-date {
    font-size: 12px;
    color: var(--gray-color);
    display: flex;
    align-items: center;
}

.news-item-date i {
    margin-right: 5px;
    color: var(--primary-color);
    font-size: 12px;
}




/* Styles pour la page détail d'établissement */

/* Section Headings */
.section-heading {
    margin-bottom: 25px;
}

.section-heading h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.section-heading h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.heading-underline {
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 20px;
}

/* Accreditation Items */
.accreditations {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accreditation-item {
    display: flex;
    align-items: flex-start;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s;
}

.accreditation-item:hover {
    background-color: #e9f7ef;
    transform: translateY(-3px);
}

.accreditation-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 15px;
    flex-shrink: 0;
}

.accreditation-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.accreditation-content p {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Faculté Cards */
.faculte-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.faculte-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faculte-card-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faculte-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

.faculte-card-tag {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.faculte-card-body {
    padding: 20px;
    flex-grow: 1;
}

.faculte-card-body p {
    font-size: 14px;
    margin-bottom: 15px;
}

.departements-list h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.departements-list ul {
    list-style: none;
    padding-left: 0;
}

.departements-list ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
}

.departements-list ul li:before {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-size: 12px;
}

/* Formations */
.formations-filter {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.formation-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.formation-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.formation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.formation-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
    padding-right: 20px;
}

.formation-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s;
}

.formation-title a:hover {
    color: var(--primary-color);
}

.formation-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.formation-content {
    margin-bottom: 15px;
}

.formation-content p {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 15px;
}

.formation-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.formation-detail-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--dark-color);
}

.formation-detail-item i {
    color: var(--primary-color);
    margin-right: 8px;
}

.formation-footer {
    display: flex;
    justify-content: flex-end;
}

/* Avis */
.avis-summary {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.rating-overall {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.rating-stars {
    font-size: 20px;
    color: #ffc107;
    margin-bottom: 5px;
}

.rating-count {
    font-size: 14px;
    color: var(--gray-color);
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-label {
    width: 60px;
    font-size: 14px;
    color: var(--dark-color);
}

.rating-bar {
    flex-grow: 1;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background-color: var(--primary-color);
}

.rating-count {
    width: 40px;
    font-size: 14px;
    color: var(--gray-color);
    text-align: right;
}

.avis-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.avis-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.avis-user {
    display: flex;
    align-items: center;
}

.avis-avatar {
    width: 40px;
    height: 40px;
    background-color: #e9ecef;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: var(--gray-color);
}

.avis-user-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
}

.avis-date {
    font-size: 12px;
    color: var(--gray-color);
}

.avis-rating {
    color: #ffc107;
    font-size: 16px;
}

.avis-content {
    font-size: 14px;
    color: var(--dark-color);
}

/* Rating Select in Modal */
.rating-select {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}


.rating-stars input {
    display: none;
}

.rating-stars label {
    cursor: pointer;
    margin: 0 5px;
}

.rating-stars label:hover,
.rating-stars label:hover ~ label,
.rating-stars input:checked ~ label {
    color: #ffc107;
}

/* Sidebar */
.sidebar-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.sidebar-card-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 600;
}

.sidebar-card-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

.sidebar-card-body {
    padding: 20px;
}

.sidebar-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.sidebar-info-list li:last-child {
    margin-bottom: 0;
}

.sidebar-info-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

.map-container {
    height: 250px;
    width: 100%;
}

.sidebar-formations-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-formations-list li {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.sidebar-formations-list li:last-child {
    border-bottom: none;
}

.sidebar-formations-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-formations-list a:hover {
    color: var(--primary-color);
}

.formation-name {
    font-weight: 500;
}

.formation-level {
    font-size: 12px;
    background-color: #e9f7ef;
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: 10px;
}

/* Social Share */
.social-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s;
}

.social-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

.linkedin {
    background-color: #0077b5;
}

.whatsapp {
    background-color: #25d366;
}

/* Responsive */
@media (max-width: 992px) {
    .etablissement-title {
        font-size: 32px;
    }
    
    .etablissement-hero {
        padding: 80px 0;
    }
    
    .etablissement-logo {
        width: 100px;
        height: 100px;
    }
    
    .etablissement-meta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .etablissement-title {
        font-size: 28px;
    }
    
    .etablissement-hero {
        padding: 60px 0;
    }
    
    .etablissement-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .rating-overall {
        margin-bottom: 20px;
    }
    
    .nav-tabs .nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Responsive fixes */
@media (max-width: 768px) {
    .school-header {
        height: auto;
        min-height: 400px;
    }

    .school-title {
        font-size: 28px;
    }

    .school-meta-item {
        margin-right: 20px;
    }

    .school-tab .nav-link {
        padding: 15px;
    }

    .tab-content {
        padding: 20px;
    }

    .professor-card {
        flex-direction: column;
    }

    .professor-card-img {
        width: 100%;
        height: 150px;
    }
}