
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Microsoft JhengHei",
        "PingFang TC",
        Arial,
        sans-serif;
    color: #333;
    background: #f7f8fa;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
}


.site-header {
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    min-height: 72px;
    padding: 0;
}

.navbar-brand {
    font-size: 25px;
    font-weight: 700;
    color: #1d3557 !important;
    letter-spacing: 1px;
}

.navbar-brand i {
    margin-right: 8px;
    color: #457b9d;
}

.navbar-nav .nav-link {
    color: #444 !important;
    font-size: 16px;
    padding: 25px 18px !important;
    transition: all .2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #457b9d !important;
    background: #f5f8fa;
}

.navbar-toggler {
    border: none;
    padding: 10px;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}


.hero {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;

    background:
        linear-gradient(
            rgba(20, 48, 70, .70),
            rgba(20, 48, 70, .70)
        ),
        url("../../uploads/bigbg.jpg")
        center center / cover no-repeat;
}

.hero2
{
    min-height:200px;
}

.hero-content {
    color: #ffffff;
    
    padding: 60px 20px;
}

.hero-content h1 {
    margin: 0 0 15px;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 5px;
}

.hero-content p {
    margin: 0;
    font-size: 21px;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-btn {
    display: inline-block;
    margin-top: 28px;
    padding: 11px 28px;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 4px;
    transition: all .25s ease;
}

.hero-btn:hover {
    color: #1d3557;
    background: #ffffff;
}



.area-school {
    padding: 50px 0;
}

.area-school-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-school {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all .25s ease;
}

.btn-school i {
    margin-right: 8px;
}
  
    .btn-school {
      font-size:1em;
      padding: 0.25rem 1rem;
      font-weight: 400;
      margin:0.25rem 0.25rem;
      border-radius: 20px;         
      box-shadow: 0 8px 20px rgba(0, 60, 130, 0.15);
      transition: all 0.25s ease-in-out;
      background-color: #457b9d;    
      color: #ffffff;
      border: 1px solid #457b9d;
      text-decoration: none;
      display: inline-flex;
      align-items: center;      
    }
    .btn-active,
    .btn-school:hover,
    .btn-school:focus {
      background-color: #0e2a44;
      border-color: #0e2a44;
      color: #ffffff;
      box-shadow: 0 12px 28px rgba(0, 40, 80, 0.3);
      
      text-decoration: none;
    }
    .btn-school:active {
      transform: translateY(0px);
      box-shadow: 0 4px 12px rgba(0, 40, 80, 0.2);
    }


.btn-school i {
      font-size: 1.2em;
      opacity: 0.9;
      transition: transform 0.2s;
    }
    .btn-school:hover i {
      transform: rotate(-5deg) scale(1.05);
    }

.school-section {
    padding: 45px 0 55px;
}

.school-section:nth-of-type(even) {
    background: #ffffff;
}

.section-heading {
    text-align: center;
    margin-bottom: 38px;
}

.section-heading h2 {
    margin: 0 0 8px;
    color: #1d3557;
    font-size: 30px;
    font-weight: 700;
}

.section-heading p {
    margin: 0;
    color: #888;
    font-size: 15px;
}

.section-heading .heading-line {
    width: 45px;
    height: 3px;
    background: #457b9d;
    margin: 15px auto 0;
}


.school-card {
    display: block;
    height: 100%;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    overflow: hidden;
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

.school-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eeeeee;
}

.school-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.school-card:hover .school-image img {
    transform: scale(1.05);
}

.school-info {
    padding: 18px 18px 20px;
}

.school-name {
    margin: 0 0 8px;
    color: #1d3557;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
}

.school-address {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
    min-height: 44px;
}

.school-address i {
    color: #457b9d;
    margin-right: 5px;
}

.school-more {
    margin-top: 13px;
    color: #457b9d;
    font-size: 13px;
}

.school-more i {
    margin-left: 4px;
    transition: margin-left .2s ease;
}

.school-card:hover .school-more i {
    margin-left: 8px;
}


.review-section {
    padding: 75px 0;
    background: #f1f5f8;
}

.review-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.review-track {
    display: flex;
    transition: transform .5s ease;
}

.review-item {
    flex: 0 0 25%;
    width: 25%;
    padding: 0 10px;
    box-sizing: border-box;
}
.review-item-all
{
    width:100%;
    flex:0 0 100%;
}
.review-card {
    height: 100%;
    min-height: 245px;
    padding: 28px 24px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    position: relative;
}

.review-icon {
    color: #d8e6ed;
    font-size: 28px;
    margin-bottom: 12px;
}

.review-text {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.review-user {
    display: flex;
    align-items: center;
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #457b9d;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.review-user-name {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.review-user-role {
    color: #999;
    font-size: 12px;
}

.review-stars {
    color: #f3b33d;
    font-size: 12px;
    margin-top: 2px;
}


.review-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
}

.review-btn {
    width: 38px;
    height: 38px;
    margin: 0 6px;
    border: 1px solid #d9e0e5;
    background: #ffffff;
    color: #457b9d;
    border-radius: 50%;
    cursor: pointer;
    transition: all .2s ease;
}

.review-btn:hover {
    background: #457b9d;
    color: #ffffff;
    border-color: #457b9d;
}

.review-dots {
    display: flex;
    align-items: center;
    margin: 0 8px;
}

.review-dot {
    width: 7px;
    height: 7px;
    background: #ccd5db;
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    transition: all .2s ease;
}

.review-dot.active {
    width: 18px;
    border-radius: 5px;
    background: #457b9d;
}

.site-footer {
    background: #1d3557;
    color: rgba(255,255,255,.75);
    padding: 45px 0 25px;
}

.footer-brand {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 25px;
}

.footer-nav {
    margin-bottom: 25px;
}

.footer-nav a {
    color: rgba(255,255,255,.75);
    font-size: 14px;
    margin: 0 12px;
    transition: color .2s ease;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 13px;
    text-align: center;
}



.breadcrumb-wrap {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    margin: 0;
    padding: 15px 0;
    background: transparent;
    font-size: 14px;
}

.breadcrumb-item a {
    color: #457b9d;
}

.breadcrumb-item.active {
    color: #777;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #aaa;
    content: "/";
}




.school-detail-page {
    padding: 35px 0 70px;
}

.main-content {
    padding-right: 10px;
}

.sidebar {
    padding-left: 10px;
}



.school-basic {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 20px;
}

.school-basic-inner {
    display: flex;
    align-items: stretch;
}

.school-cover {
    width: 38%;
    flex: 0 0 38%;
}

.school-cover-image {
    width: 100%;
    height: 100%;
    min-height: 285px;
    border-radius: 5px;
    overflow: hidden;
    background: #eee;
}

.school-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.school-basic-info {
    width: 62%;
    padding: 5px 0 5px 28px;
}

.school-basic-info h1 {
    margin: 0 0 18px;
    color: #1d3557;
    font-size: 30px;
    line-height: 1.4;
    font-weight: 700;
}

.school-meta {
    margin: 0;
    padding: 0;
    list-style: none;
}

.school-meta li {
    display: flex;
    align-items: flex-start;
    padding: 9px 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
}

.school-meta li:last-child {
    border-bottom: none;
}

.school-meta-icon {
    width: 28px;
    flex: 0 0 28px;
    color: #457b9d;
}

.school-meta-label {
    width: 70px;
    flex: 0 0 70px;
    color: #888;
}

.school-meta-value {
    color: #444;
    word-break: break-all;
}

.school-meta-value a {
    color: #457b9d;
}

.school-type {
    display: inline-block;
    padding: 2px 9px;
    color: #457b9d;
    background: #eef6fa;
    border-radius: 3px;
    font-size: 12px;
}




.school-anchor-nav {
    position: sticky;
    top: 72px;
    z-index: 900;
    display: flex;
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.school-anchor-nav a {
    flex: 1 0 auto;
    min-width: 90px;
    padding: 14px 15px;
    text-align: center;
    color: #555;
    font-size: 14px;
    border-right: 1px solid #eee;
    transition: all .2s ease;
    white-space: nowrap;
}

.school-anchor-nav a:last-child {
    border-right: none;
}

.school-anchor-nav a:hover,
.school-anchor-nav a.active {
    color: #fff;
    background: #457b9d;
}




.content-card {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 6px;
    margin-bottom: 20px;
    padding: 28px;
    scroll-margin-top: 130px;
}

.content-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
}

.content-heading h2 {
    margin: 0;
    color: #1d3557;
    font-size: 23px;
    font-weight: 700;
}

.content-heading h2 i {
    margin-right: 8px;
    color: #457b9d;
    font-size: 19px;
}

.content-more {
    color: #457b9d;
    font-size: 13px;
}

.content-more i {
    margin-left: 4px;
}



.time_str{
    font-size:19px;
    color:#333;
    margin-bottom:12px;
}
.school-intro {
    color: #666;
    font-size: 15px;
    margin-bottom: 25px;
}

.info-table table ,.info-detail table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.info-table table th,.info-detail table th,
.info-table table td,.info-detail table td {
    padding: 12px 15px;
    border: 1px solid #e5e9ec;
    font-size: 14px;
}

.info-table table th,.info-detail table th {
    width: 28%;
    color: #555;
    background: #f7f9fa;
    font-weight: 600;
}

.info-table table td,.info-detail table td {
    color: #666;
}

.map-title {
    margin: 25px 0 12px;
    color: #333;
    font-size: 17px;
    font-weight: 600;
}

.school-map {
    width: 100%;
    height: 360px;
    border: 0;
    display: block;
    border-radius: 4px;
}

.detail-p{
    
    margin:0 0 12px;
    color:#666;
    font-size:14px;
                    
}
.detail-p-link
{
    color:#457b9d;
    font-size:13px;
}

.principal-box {
    display: flex;
    align-items: flex-start;
}

.principal-avatar {
    width: 130px;
    height: 170px;
    flex: 0 0 130px;
    border-radius: 5px;
    overflow: hidden;
    background: #eee;
    margin-right: 22px;
}

.principal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.principal-info h3 {
    margin: 0 0 8px;
    color: #1d3557;
    font-size: 20px;
}

.principal-title {
    color: #457b9d;
    font-size: 14px;
    margin-bottom: 12px;
}

.principal-info p {
    margin: 0 0 12px;
    color: #666;
    font-size: 14px;
}

.principal-link {
    color: #457b9d;
    font-size: 14px;
}



.form-detail {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}




.review-form-title {
    margin-bottom: 25px;
    color: #1d3557;
    font-size: 20px;
    font-weight: 700;
}

.review-form-title i {
    margin-right: 8px;
    color: #457b9d;
}




.required {
    color: #dc3545;
    margin-right: 3px;
}




.form-detail .form-group {
    margin-bottom: 25px;
}

.form-detail label {
    display: block;
    margin-bottom: 10px;
    color: #444;
    font-size: 15px;
    font-weight: 600;
}




.form-detail .form-control {
    height: 45px;
    border: 1px solid #dfe4e8;
    border-radius: 4px;
    box-shadow: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-detail textarea.form-control {
    height: auto;
    min-height: 150px;
    padding-top: 12px;
    resize: vertical;
}

.form-detail .form-control:focus {
    border-color: #457b9d;
    box-shadow: 0 0 0 3px rgba(69, 123, 157, 0.1);
}



.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
}




.star-rating input {
    display: none;
}




.star-rating label {
    margin: 0 5px 0 0;
    padding: 0;
    color: #ddd;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}




.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #f5b301;
}




.star-rating input:checked ~ label {
    color: #f5b301;
}



.rating-text {
    display: inline-block;
    margin-left: 12px;
    color: #999;
    font-size: 13px;
    vertical-align: middle;
}



.textarea-info {
    display: flex;
    justify-content: space-between;
    margin-top: 7px;
    color: #999;
    font-size: 12px;
}



.review-submit-box {
    margin-top: 30px;
}


.btn-review-submit {
    min-width: 150px;
    padding: 11px 28px;
    border: none;
    border-radius: 4px;
    background: #457b9d;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-review-submit i {
    margin-right: 6px;
}


.btn-review-submit:hover {
    background: #1d3557;
    color: #fff;
    transform: translateY(-1px);
}


.btn-review-submit:active {
    transform: translateY(0);
}








.review-item-all {
    padding: 22px 0;
    border-bottom: 1px solid #eee;
    list-style: none;
}


.review-item-all:last-child {
    border-bottom: none;
}


.review-header {
    display: flex;
    align-items: center;
}


.review-avatar {
    width: 44px;
    height: 44px;
    margin-right: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef3f6;
    color: #457b9d;
}


.review-user-info {
    flex: 1;
}


.review-name {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}


.review-date {
    margin-top: 2px;
    color: #aaa;
    font-size: 12px;
}


.review-stars {
    color: #f5b301;
    font-size: 16px;
    letter-spacing: 1px;
}


.review-content {
    margin-top: 15px;
    padding-left: 56px;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}




.teacher-card {
    display: block;
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 5px;
    overflow: hidden;
    transition: all .25s ease;
}

.teacher-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.teacher-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #eee;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.04);
}

.teacher-info {
    padding: 13px 15px;
}

.teacher-name {
    margin: 0;
    color: #1d3557;
    font-size: 16px;
    font-weight: 600;
}

.teacher-subject {
    margin-top: 3px;
    color: #999;
    font-size: 13px;
}




.review-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.review-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.review-item:first-child {
    padding-top: 0;
}

.review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    margin-right: 11px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #457b9d;
}

.review-name {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.review-date {
    color: #aaa;
    font-size: 12px;
}

.review-stars {
    color: #f3b33d;
    font-size: 12px;
    margin-left: auto;
}

.review-content {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}




.fee-note {
    padding: 12px 15px;
    margin-bottom: 20px;
    color: #666;
    background: #f7f9fa;
    border-left: 3px solid #457b9d;
    font-size: 13px;
}



.scholarship-intro {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.scholarship-group {
    margin-bottom: 22px;
}

.scholarship-group:last-child {
    margin-bottom: 0;
}

.scholarship-group-title {
    margin-bottom: 10px;
    color: #1d3557;
    font-size: 16px;
    font-weight: 600;
}

.scholarship-list {
    margin: 0;
    padding-left: 24px;
    color: #666;
    font-size: 14px;
}

.scholarship-list li {
    margin-bottom: 7px;
}

.scholarship-highlight {
    color: #457b9d;
    font-weight: 600;
}




.sidebar-card {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
}

.sidebar-title {
    display: flex;
    align-items: center;
    padding: 17px 18px;
    border-bottom: 1px solid #eee;
    color: #1d3557;
    font-size: 17px;
    font-weight: 700;
}

.sidebar-title i {
    margin-right: 8px;
    color: #457b9d;
}

.recommended-school {
    display: flex;
    padding: 14px;
    border-bottom: 1px solid #eee;
    transition: background .2s ease;
}

.recommended-school:last-child {
    border-bottom: none;
}

.recommended-school:hover {
    background: #f8fafb;
}

.recommended-image {
    width: 90px;
    height: 68px;
    flex: 0 0 90px;
    margin-right: 12px;
    border-radius: 4px;
    overflow: hidden;
    background: #eee;
}

.recommended-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommended-info {
    min-width: 0;
}

.recommended-name {
    margin: 0 0 4px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommended-address {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommended-address i {
    color: #457b9d;
    margin-right: 3px;
}




.category-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-list li {
    border-bottom: 1px solid #eee;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    padding: 12px 18px;
    color: #666;
    font-size: 14px;
}

.category-list a:hover {
    color: #457b9d;
    background: #f8fafb;
}

.category-count {
    color: #aaa;
}



.pagination {
    width:100%;   
    justify-content: center;
}

.pagination a,.pagination span {
    display: inline-block;
   
    overflow: hidden;
    transition: all .2s ease-in-out;
    vertical-align: top;
    color: #2b99ff;
    pointer-events: auto;
    cursor: auto;
    background-color: #fff;
    border-color: #f2f2f2;
    padding: .5rem .75rem;
    line-height: 1;
    margin: 0 5px;
    border-radius: 4px;
    border: 1px solid #f3f3f3;
}

.pagination .current {
    color: #fff;
    background: #2b99ff;
    border:1px solid #2b99ff;
    cursor:default;
}

.pagination span
{
    color: #fff;
    background: #2b99ff;
    border:1px solid #2b99ff;
    cursor:default;
}

.pagination a:hover {
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    background: #2b99ff;
    border-color: #2b99ff;
}

.pagination .disable,.pagination .disable:hover
{
    color: #999;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}


 .teacher-detail-page {
        padding: 35px 0 70px;
    }

    .main-content {
        padding-right: 10px;
    }

    .sidebar {
        padding-left: 10px;
    }


.teacher-basic {
        background: #fff;
        border: 1px solid #e8ecef;
        border-radius: 6px;
        padding: 25px;
        margin-bottom: 20px;
    }

    .teacher-basic-inner {
        display: flex;
        align-items: flex-start;
    }


   

    .teacher-avatar-wrap {
        width: 240px;
        flex: 0 0 240px;
    }

    .teacher-avatar {
        width: 100%;
        aspect-ratio: 3 / 4;
        overflow: hidden;
        border-radius: 6px;
        background: #eee;
    }

    .teacher-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    

    .teacher-basic-info {
        flex: 1;
        padding-left: 28px;
    }

    .teacher-basic-info h1 {
        margin: 0 0 8px;
        color: #1d3557;
        font-size: 30px;
        font-weight: 700;
        line-height: 1.4;
    }

    .teacher-position {
        display: inline-block;
        padding: 4px 10px;
        margin-bottom: 18px;
        background: #eef6fa;
        color: #457b9d;
        border-radius: 3px;
        font-size: 13px;
    }


   

    .teacher-meta {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .teacher-meta li {
        display: flex;
        align-items: flex-start;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 14px;
    }

    .teacher-meta li:last-child {
        border-bottom: none;
    }

    .teacher-meta-icon {
        width: 28px;
        flex: 0 0 28px;
        color: #457b9d;
    }

    .teacher-meta-label {
        width: 75px;
        flex: 0 0 75px;
        color: #888;
    }

    .teacher-meta-value {
        color: #444;
    }


   

    .teacher-school {
        display: flex;
        align-items: center;
        padding: 18px;
        background: #f8fafb;
        border: 1px solid #e8ecef;
        border-radius: 5px;
        margin-top: 22px;
        transition: all .25s ease;
    }

    .teacher-school:hover {
        background: #f3f7f9;
        border-color: #dce6eb;
    }

    .teacher-school-logo {
        width: 78px;
        height: 78px;
        flex: 0 0 78px;
        margin-right: 16px;
        overflow: hidden;
        border-radius: 5px;
        background: #eee;
    }

    .teacher-school-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .teacher-school-info {
        min-width: 0;
        flex: 1;
    }

    .teacher-school-label {
        color: #999;
        font-size: 12px;
        margin-bottom: 3px;
    }

    .teacher-school-name {
        margin: 0 0 5px;
        color: #1d3557;
        font-size: 18px;
        font-weight: 700;
    }

    .teacher-school-address {
        color: #777;
        font-size: 13px;
    }

    .teacher-school-address i {
        color: #457b9d;
        margin-right: 4px;
    }

    .teacher-school-arrow {
        margin-left: 15px;
        color: #457b9d;
    }


  

    .teacher-content {

        color: #555;

        font-size: 15px;

        line-height: 2;

        word-break: break-word;

    }

    .teacher-content h2,
    .teacher-content h3,
    .teacher-content h4 {

        color: #1d3557;

        margin-top: 25px;

        margin-bottom: 15px;

        font-weight: 700;

    }

    .teacher-content h2:first-child,
    .teacher-content h3:first-child,
    .teacher-content h4:first-child {

        margin-top: 0;

    }

    .teacher-content p {

        margin-bottom: 18px;

    }

    .teacher-content img {

        max-width: 100%;

        height: auto;

        margin: 15px auto;

    }

    .teacher-content table {

        width: 100%;

        margin-bottom: 20px;

        border-collapse: collapse;

    }

    .teacher-content table th,
    .teacher-content table td {

        padding: 10px;

        border: 1px solid #e5e9ec;

    }

    .teacher-content table th {

        background: #f7f9fa;

    }


   

    .review-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .review-item {
        padding: 22px 0;
        border-bottom: 1px solid #eee;
    }

    .review-item:first-child {
        padding-top: 0;
    }

    .review-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .review-header {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    .review-avatar {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        margin-right: 12px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #457b9d;
        color: #fff;
    }

    .review-user-info {
        flex: 1;
    }

    .review-name {
        color: #333;
        font-size: 14px;
        font-weight: 600;
    }

    .review-date {
        color: #aaa;
        font-size: 12px;
    }

    .review-stars {
        color: #f3b33d;
        font-size: 13px;
        white-space: nowrap;
    }

    .review-content {
        padding-left: 54px;
        color: #666;
        font-size: 14px;
        line-height: 1.8;
    }




    .review-form {
        margin-top: 28px;
        padding-top: 25px;
        border-top: 1px solid #eee;
    }

    .review-form-title {
        margin-bottom: 18px;
        color: #1d3557;
        font-size: 18px;
        font-weight: 700;
    }

    .form-group label {
        color: #555;
        font-size: 14px;
        font-weight: 600;
    }

    .form-control {
        border-color: #dfe5e8;
        border-radius: 4px;
        font-size: 14px;
    }

    .form-control:focus {
        border-color: #457b9d;
        box-shadow: 0 0 0 .2rem rgba(69,123,157,.12);
    }

    textarea.form-control {
        min-height: 130px;
        resize: vertical;
    }


   

    .rating-select {
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-end;
    }

    .rating-select input {
        display: none;
    }

    .rating-select label {
        margin: 0 4px 0 0;
        color: #ddd;
        cursor: pointer;
        font-size: 27px;
        line-height: 1;
        transition: color .2s ease;
    }

    .rating-select label:hover,
    .rating-select label:hover ~ label,
    .rating-select input:checked ~ label {
        color: #f3b33d;
    }


 

    .btn-review-submit {
        padding: 10px 28px;
        border: none;
        border-radius: 4px;
        background: #457b9d;
        color: #fff;
        font-size: 14px;
        transition: all .2s ease;
    }

    .btn-review-submit:hover {
        background: #1d3557;
        color: #fff;
    }

    .review-login-tip {
        padding: 14px 16px;
        margin-bottom: 18px;
        background: #f7f9fa;
        border-left: 3px solid #457b9d;
        color: #777;
        font-size: 13px;
    }

    .review-login-tip a {
        color: #457b9d;
        font-weight: 600;
    }




    .sidebar-card {
        background: #fff;
        border: 1px solid #e8ecef;
        border-radius: 6px;
        overflow: hidden;
        margin-bottom: 20px;
    }

    .sidebar-title {
        padding: 17px 18px;
        border-bottom: 1px solid #eee;
        color: #1d3557;
        font-size: 17px;
        font-weight: 700;
    }

    .sidebar-title i {
        color: #457b9d;
        margin-right: 8px;
    }




    .recommended-school {
        display: flex;
        padding: 14px;
        border-bottom: 1px solid #eee;
        transition: background .2s ease;
    }

    .recommended-school:last-child {
        border-bottom: none;
    }

    .recommended-school:hover {
        background: #f8fafb;
    }

    .recommended-school-image {
        width: 88px;
        height: 66px;
        flex: 0 0 88px;
        margin-right: 12px;
        overflow: hidden;
        border-radius: 4px;
        background: #eee;
    }

    .recommended-school-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .recommended-school-info {
        min-width: 0;
        flex: 1;
    }

    .recommended-school-name {
        margin: 0 0 4px;
        color: #333;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.45;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;

        overflow: hidden;
    }

    .recommended-school-address {
        color: #999;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .recommended-school-address i {
        color: #457b9d;
        margin-right: 3px;
    }




    .recommended-teacher {
        display: flex;
        align-items: center;
        padding: 14px;
        border-bottom: 1px solid #eee;
        transition: background .2s ease;
    }

    .recommended-teacher:last-child {
        border-bottom: none;
    }

    .recommended-teacher:hover {
        background: #f8fafb;
    }

    .recommended-teacher-avatar {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
        margin-right: 13px;
        overflow: hidden;
        border-radius: 50%;
        background: #eee;
    }

    .recommended-teacher-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .recommended-teacher-info {
        min-width: 0;
        flex: 1;
    }

    .recommended-teacher-name {
        margin: 0 0 3px;
        color: #333;
        font-size: 15px;
        font-weight: 600;
    }

    .recommended-teacher-school {
        color: #888;
        font-size: 12px;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .recommended-teacher-subject {
        color: #457b9d;
        font-size: 12px;
    }



.seo-content {
    padding: 70px 0;
    margin-top: 30px;
    background: #f7f9fc;
    border-top: 1px solid #e9edf3;
}

.seo-content-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 45px 50px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #edf0f4;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}




.seo-content-inner h2 {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 16px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
    color: #222;
    border-bottom: 1px solid #eeeeee;
}




.seo-content-inner h2:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 60px;
    height: 3px;
    border-radius: 3px;
    background: #007bff;
}




.seo-content-inner p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 2;
    color: #555;
}




.seo-content-inner p:last-child {
    margin-bottom: 0;
}



.school-faq {
    padding: 70px 0 80px;
    background: #ffffff;
}



.faq-list {
    max-width: 1000px;
    margin: 0 auto;
}




.faq-item {
    position: relative;
    margin-bottom: 16px;
    padding: 25px 30px;
    background: #ffffff;
    border: 1px solid #e9edf3;
    border-radius: 10px;
    transition: all 0.25s ease;
}




.faq-item:hover {
    transform: translateY(-3px);
    border-color: #d7e3f3;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}




.faq-item h3 {
    position: relative;
    margin: 0 0 14px;
    padding-left: 42px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    color: #222;
}




.faq-item h3:before {
    content: "Q";
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    background: #007bff;
    border-radius: 50%;
}




.faq-item p {
    margin: 0;
    padding-left: 42px;
    font-size: 16px;
    line-height: 1.9;
    color: #666;
}




.faq-item:last-child {
    margin-bottom: 0;
}



.school-page-intro {
    padding: 45px 0 35px;
    background: #ffffff;
}




.school-page-intro .page-heading {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}




.school-page-intro h1 {
    position: relative;
    display: inline-block;
    margin: 0 0 22px;
    padding-bottom: 15px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: #222;
}




.school-page-intro h1:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 55px;
    height: 3px;
    border-radius: 5px;
    background: #007bff;
    transform: translateX(-50%);
}




.school-page-intro .page-heading p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 2;
    color: #666;
    text-align: center;
}




.school-page-intro .page-heading p + p {
    margin-top: 12px;
}

.hero-label
{
    font-size:1.5em;
}

.hero-title
{
    font-size:21px;
}


@media (max-width:1400px)
{
    .school-basic-info h1
    {
        font-size:25px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    .school-basic-info h1
    {
        font-size:22px;
    }
    .container {
        max-width: 94%;
    }

    .navbar-nav .nav-link {
        padding: 20px 12px !important;
    }

    .hero {
        min-height: 350px;
    }
    .hero2
    {
        min-height:160px;
    }
    .hero-content h1 {
        font-size: 1.6em;
    }

    .hero-content p {
        font-size: 18px;
    }
    .area-school{
        padding:15px 0 10px;
    }
    .school-section {
        padding: 30px 0 40px;
    }

    .school-info {
        padding: 15px;
    }

    .school-name {
        font-size: 17px;
    }

   
    .review-item {
        flex: 0 0 50%;
        width: 50%;
    }

    .review-item-all
    {
        width:100%;
        flex:0 0 100%;
    }
}


@media (max-width: 767.98px) {

    .school-basic-info h1
    {
        font-size:22px;
    }
    .school-anchor-nav a
    {
        padding:10px 9px;
    }

     .form-detail {
        margin-top: 25px;
        padding-top: 25px;
    }


    .review-form-title {
        font-size: 18px;
    }


    .star-rating label {
        font-size: 28px;
        margin-right: 3px;
    }


    .rating-text {
        display: block;
        margin: 8px 0 0;
    }


    .textarea-info {
        display: block;
    }


    .textarea-info span:last-child {
        display: block;
        margin-top: 3px;
    }


    .btn-review-submit {
        width: 100%;
    }


    .review-content {
        padding-left: 0;
    }



  .school-page-intro {
        padding: 32px 0 25px;
    }


    .school-page-intro .page-heading {
        padding: 0 5px;
    }


    .school-page-intro h1 {
        margin-bottom: 18px;
        padding-bottom: 12px;
        font-size: 24px;
    }


    .school-page-intro h1:after {
        width: 45px;
        height: 3px;
    }


    .school-page-intro .page-heading p {
        font-size: 15px;
        line-height: 1.9;
        text-align: left;
    }

    .seo-content {
        padding: 45px 0;
    }

    .seo-content-inner {
        padding: 28px 22px;
        border-radius: 8px;
    }

    .seo-content-inner h2 {
        margin-bottom: 22px;
        padding-bottom: 12px;
        font-size: 22px;
    }

    .seo-content-inner p {
        margin-bottom: 16px;
        font-size: 15px;
        line-height: 1.9;
    }


    

    .school-faq {
        padding: 45px 0 55px;
    }

    .faq-item {
        padding: 20px 18px;
        border-radius: 8px;
    }

    .faq-item h3 {
        padding-left: 38px;
        font-size: 16px;
    }

    .faq-item h3:before {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }

    .faq-item p {
        padding-left: 38px;
        font-size: 15px;
        line-height: 1.8;
    }



    .container {
        width: 92%;
    }

    .site-header {
        position: relative;
    }

    .navbar {
        min-height: 62px;
    }

    .navbar-brand {
        font-size: 21px;
    }

    .navbar-nav {
        padding: 8px 0;
    }

    .navbar-nav .nav-link {
        padding: 10px 5px !important;
        border-bottom: 1px solid #f2f2f2;
    }

    .hero {
        min-height: 330px;
    }
    .hero2
    {
        min-height:140px;
    }
    .hero-content {
        padding: 45px 20px;
    }

    .hero-content h1 {
        font-size: 1.5em;
        letter-spacing: 3px;
    }

    .hero-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-btn {
        margin-top: 20px;
        padding: 9px 22px;
        font-size: 14px;
    }

    .school-section {
        padding: 50px 0 25px;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .section-heading p {
        font-size: 14px;
    }

   
    .school-card {
        margin-bottom: 25px;
    }

    .school-info {
        padding: 16px;
    }

    .school-name {
        font-size: 18px;
    }

  
    .review-item {
        flex: 0 0 100%;
        width: 100%;
        padding: 0 4px;
    }

    .review-card {
        min-height: 220px;
    }

    .review-section {
        padding: 55px 0;
    }

    .site-footer {
        padding: 35px 0 20px;
    }

    .footer-nav a {
        display: inline-block;
        margin: 4px 8px;
    }
    .content-heading h2
    {
        font-size:20px;
    }
    .teacher-basic-info h1
    {
        font-size:22px;
    }
    .rating-select label
    {
        font-size:24px;
    }
}


@media (max-width: 425px) {
    .rating-select label
    {
        font-size:20px;
    }
    .time_str
    {
        font-size:15px;
    }
    .school-basic
    {
        padding:12px;
    }
    .school-basic-info h1
    {
        font-size:18px;
    }
    .school-cover-image
    {
        min-height:auto;
    }
    .school-basic-inner
    {
        display:block;
    }
    .school-meta-label
    {
        width:60px;
        flex:0 0 60px;
    }
    .school-cover
    {
        width:100%;
        flex:none;
        display:block;

    }
    .school-basic-info
    {
        flex:none;
        width:100%;
        margin-top:1em;
        padding:5px;
    }
.school-anchor-nav
{
    position:relative;
    top:0px;
}
.content-heading h2
{
    font-size:18px;
}
.school-anchor-nav a
{
    min-width:0px;
}
    .hero-content h1 {
        font-size: 1.4em;
    }

    .hero-content p {
        font-size: 15px;
    }

    .section-heading h2 {
        font-size: 20px;
    }
    .seo-content-inner h2
    {
        font-size:20px;
    }
    .btn-school
    {
        font-size:0.85em;
        padding:0.25em 0.65em;
    }
    .school-name
    {
        font-size:16px;
    }
    .school-page-intro h1
    {
        font-size:20px;
    }
    .content-heading
    {
        width:100%;
        display:block;
    }
    .content-heading h2
    {
        width:100%;
        display:block;
    }
    .content-more
    {
        display:none;
    }
    .principal-box
    {
        display:block;
    }
    .principal-avatar,.principal-info
    {
        width:100%;
        display:block;
    }
    .principal-info
    {
        margin-top:1em;
    }
    .content-card,.teacher-basic
    {
        padding:12px;
    }
    .teacher-basic-inner
    {
        width:100%;
        display:block;
    }
    .teacher-avatar-wrap,.teacher-basic-info
    {
        width:100%;

    }
    .teacher-basic-info
    {
        margin-top:1em;
        padding-left:0px;
    }
    .teacher-basic-info h1
    {
        font-size:18px;
    }
}