.school-header {
    background: #effeff;
}
.tabs {
    position: absolute;
    z-index: 10;
    list-style: none;
    display: flex;
    margin-left: 4%;
    gap: 10px;
    margin-top: 10px;
}
.tab-contents {
    border-top: 0;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    box-shadow: 0 5px 37px 14px #d1eff1;
}
.tab-content.hidden {
    display: none;
}
.tabs button {
    padding: 10px 45px;
    background: #fff;
    border: 2px solid #e7e7e7;
    transition: .3s ease;
    cursor: pointer;
}
.tabs button.active {
    background: #66ddeb !important;
    border: 2px solid #00a3b6;
    color: #000000;
}
.school-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}
.school-media .owl-item .item {
    width: 100%;
}
.school-media .owl-carousel .owl-item img {
    height: 400px;
    object-fit: cover;
}
.school-media .owl-nav {
    top: 0;
    right: 9rem;
}
.leaflet-popup-content {
    min-width: 300px !important;
}
.leaflet-pane {
    z-index: 9 !important;
}

.school-name img {
    max-width: 250px;
    object-fit: contain;
    margin-top: 10px;
}
.school-title {
    justify-content: space-between;
    padding: 20px 20px 40px;
}
.school-meta h1 {
    font-size: 30px;
    margin: 0;
    line-height: 45px;
}
.school-btns {
    display: flex;
    flex-direction: column;
}
.school-btns > * {
    cursor: pointer;
}
.school-btns > *:nth-child(1) {
    background: #0eb2c5;
}
.school-btns > *:nth-child(2) {
    background: #f7942f;
}
.school-btns > *:nth-child(3) {
    background: #353535;
}
.school-btns > * {
    padding: 10px 15px;
    color: #fff;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 300;
    line-height: 0;
    height: auto;
    border-radius: 3px;
    transition: .3s ease;
    border: 2px solid;
    border-radius: 6px;
    background: brown;
    text-align: center;
}
.school-btns > *:hover {
    color: #353535;
    background: #fff;
    border-color: #353535;
}
.school-btns > *:nth-child(5) {
    background: #ffffff;
    color: #353535;
    border-color: #353535;
}
.school-btns > *:nth-child(5):hover {
    color: #ffffff;
    background: #353535;
}
.school-btns i {
    padding-right: 9px;
    display: inline;
}
.school-meta .btn-box {
    width: fit-content;
    height: auto !important;
}
.school-meta .btn {
    line-height: 20px;
    height: auto;
    text-align: left;
    margin: 0 0 10px;
}
.school-meta .address {
    color: #000;
    display: flex;
}
.school-meta .address .dist {
    padding-left: 5px;
}
.school-meta .website {
    margin-left: 10px;
}
.school-meta .website span {
    display: flex;
    align-items: center;
}
.school-meta .website img {
    width: 21px;
    margin-top: -2px;
    margin-right: 5px;
}
.school-meta .website:hover img {
    filter: brightness(0) saturate(100%) invert(50%) sepia(97%) saturate(441%) hue-rotate(138deg) brightness(94%) contrast(89%);
}

/* Tabs */
.school-content nav {
  width: 100%;
  position: sticky; 
  top: 0;
}

.school-content nav ul {
  padding: 20px;
  margin: 0 auto;
  list-style: none;
  text-align: center;
}
.school-content nav ul li {
  display: inline-block;
  margin: 0 6px;
}
.school-content nav ul li a {
    padding: 6px 12px;
    color: #757575;
    border: 1px solid #b1b1b1;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.2s ease;
}
.school-content nav ul li a:hover {
  color: #34495E;
}

.school-content section {
    width: 100%;
    padding: 50px;
    background: #fff;
    color: #4b4b4b;
    font-weight: 300;
    font-size: 17px;
    display: none;
}
.school-content .active,
.school-content .about {
    display: flow-root !important;
}
.school-content section:nth-child(odd) {
  background: #fff;
}
.curriculum span {
    color: #0eb2c5;
}

/* Reviews */
.reviews-section input,
.reviews-section textarea {
    padding: 10px 15px;
    border: 1px solid #d1d1d1;
}

/**/
.school-cols {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    border-radius: 25px;
}
.school-title {
    min-width: 27%;
    background: #effeff;
    box-shadow: 0 0 13px 0px #f0f0f0;
    border-radius: 20px;
    position: sticky;
    top: 70px;
    height: fit-content;
}
.school-content h1 {
    font-size: 40px;
}
.school-meta {
    margin: 12px 0;
}

/* tabs *//* Tabs nav */
.school-content nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.school-content nav li {
  margin-right: 10px;
}

.school-content nav a {
  display: inline-block;
  padding: 10px 15px;
  text-decoration: none;
  color: #555;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.school-content nav a:hover {
  color: #000;
}

.school-content nav a.active {
    color: #0eb2c5;
    border-color: #0eb2c5;
}

/* Tab sections */
.sections section {
  display: none;
}

.sections section.active {
  display: block;
}

/*popup */
/* Popup Form */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.popup-overlay.active {
    display: flex;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    border: none;
    background: none;
    cursor: pointer;
    color: #000;
}
.message-status {
    margin-top: 15px;
    font-weight: bold;
    color: green;
}
.message-status.error {
    color: red;
}

/* Related Schools */
.related-schools {
    margin: 60px 0;
}
.related-schools .owl-stage {
    margin-top: 25px;
}

/* FAQ */
.faq-accordion {
    margin: 30px auto 0;
    font-family: system-ui, sans-serif;
}

.faq-item {
    border: 1px solid #f7f7f7;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    padding: 15px 18px;
    background: #fbfbfb;
    border: none;
    outline: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #f1f1f1;
}

.faq-question .arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.2s ease;
}

.faq-question.active .arrow {
    transform: translateY(-50%) rotate(-135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: white;
    transition: max-height 0.3s ease;
    padding: 0 18px;
}

.faq-answer p {
    margin: 15px 0;
}

.mobile-h1 {
    display: none;
}
@media( max-width: 768px ){

    .school-cols {
        flex-direction: column;
        margin-top: 20px;
    }
    .school-title {
        position: relative;
        top: 0;
    }
    .school-content h1 {
        display: none;
    }
    .mobile-h1 {
        display: block;
        font-size: 35px;
        line-height: 42px;
        margin-top: 40px;
    }
    .school-content section {
        padding: 20px;
    }
    .school-media .owl-nav {
        top: 80%;
        left: -15% !important;
    }

}