/* Shared Styles for Schools Services Pages */

/* Hero Banner */
.school-services-page .hero-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images-mcg/home2.jpg');
    background-size: cover;
    background-position: center;
    padding: 180px 0 150px 0;
    text-align: center;
    color: white;
    margin-top: 0;
}

.school-services-page .hero-banner h1 {
    font-size: 48px;
    font-weight: 300;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.school-services-page .hero-banner p {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.school-services-page .hero-banner .btn-know-more {
    margin-top: 40px;
    padding: 14px 35px;
    background: #32c5d2;
    color: white;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(50, 197, 210, 0.4);
    transition: all 0.3s ease;
}

.school-services-page .hero-banner .btn-know-more:hover {
    background: #28b5c2;
    box-shadow: 0 6px 20px rgba(50, 197, 210, 0.6);
}

/* Breadcrumbs */
.school-services-page .breadcrumbs {
    background: white;
    padding: 15px 0;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 1px solid #eee;
}

.school-services-page .breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.school-services-page .breadcrumbs li {
    display: inline-block;
    color: #333;
    font-size: 13px;
}

.school-services-page .breadcrumbs a {
    color: #333;
    text-decoration: none;
}

.school-services-page .breadcrumbs .separator {
    margin: 0 10px;
    color: #333;
}

.school-services-page .breadcrumbs li.active {
    color: #32c5d2;
    font-weight: bold;
}

.school-services-page .page-title-section {
    padding: 20px 0;
    background: white;
    border-bottom: 1px solid #f7f7f7;
}

.school-services-page .page-title-section h1 {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    color: #333;
}

/* Section Styles */
.school-services-page .class-cards-section,
.school-services-page .content-section {
    background: #f7f7f7;
    padding: 60px 0;
}

.school-services-page .content-section.white-bg {
    background: #ffffff;
}

.school-services-page .content-section.grey-bg {
    background: #f7f7f7;
}

.school-services-page .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.school-services-page .section-title h2 {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.school-services-page .section-title .underline {
    width: 80px;
    height: 3px;
    background: #32c5d2;
    margin: 0 auto;
}

/* Service Box / Media Box Styles */
.school-services-page .service-box {
    background: white;
    border: 1px solid #eef1f5;
    padding: 0;
    height: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.school-services-page .service-box .title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-decoration: none;
    display: block;
}

.school-services-page .service-box .title:hover {
    color: #32c5d2;
}

.school-services-page .service-box p {
    color: #5c6873;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.school-services-page .btn-green {
    display: inline-block;
    padding: 10px 25px;
    background: #32c5d2;
    /* Using the theme teal instead of pure green for consistency */
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    border: none;
}

.school-services-page .btn-green:hover {
    background: #28b5c2;
    color: white;
}

/* Image Panels */
.school-services-page .image-panel {
    min-height: 380px;
    background-size: cover;
    background-position: center;
    width: 100%;
    position: relative;
}

/* Class Card Styles */
.school-services-page .class-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
}

.school-services-page .class-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.school-services-page .class-card .card-body {
    padding: 20px;
}

.school-services-page .class-card .card-title {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.school-services-page .class-card .card-title a {
    color: #333;
    text-decoration: none;
}

.school-services-page .class-card .card-title a:hover {
    color: #32c5d2;
}

.school-services-page .class-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    min-height: 80px;
}

/* Media Coverage Section */
.school-services-page .media-section {
    padding: 50px 0;
    background: #fff;
}

.school-services-page .media-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background: #f9f9f9;
    margin: 10px;
    min-height: 150px;
}

.school-services-page .media-item img {
    filter: grayscale(1);
    max-width: 150px;
    flex-shrink: 0;
}

.school-services-page .media-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.school-services-page .media-item p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* School Clients Section */
.school-services-page .clients-section {
    padding: 50px 0;
    background: #fff;
}

.school-services-page .client-logo {
    text-align: center;
    padding: 20px;
}

.school-services-page .client-logo img {
    max-height: 80px;
    max-width: 150px;
    object-fit: contain;
}

/* Owl Carousel Customization */
.school-services-page .owl-theme .owl-controls .owl-page span {
    background: #32c5d2;
}

.school-services-page .owl-theme .owl-controls .owl-buttons div {
    background: #32c5d2;
}

/* Grid Layout for Service Pages */
.school-services-page .services-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    margin-bottom: 30px;
}

.school-services-page .col-left {
    width: 33.333%;
    padding: 0 15px;
}

.school-services-page .col-right {
    width: 66.666%;
    padding: 0 15px;
}

.school-services-page .col-left-wide {
    width: 66.666%;
    padding: 0 15px;
}

.school-services-page .col-right-narrow {
    width: 33.333%;
    padding: 0 15px;
}

/* Custom Carousel Styles from home-page.aspx */
.tparrows.circle.hidearrows {
    opacity: 2;
}

.tp-banner-container.c-theme .tparrows.circle {
    background: url(/images-mcg/large_right1.png) no-repeat top left;
}

.tp-leftarrow.tparrows.default.circle {
    background-image: url(/images-mcg/left-arr.png);
}

.tp-rightarrow.tparrows.default.circle {
    background-image: url(/images-mcg/right-arr.png);
}

#custom_carousel .controls {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    text-align: center;
    position: relative;
    background: #ddd;
}

#custom_carousel .controls li {
    display: table-cell;
    width: 1%;
    max-width: 90px;
}

#custom_carousel .controls li.active {
    background-color: #eee;
    border-top: 3px solid orange;
}

#custom_carousel .controls a small {
    overflow: hidden;
    display: block;
    font-size: 10px;
    margin-top: 5px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .school-services-page .hero-banner h1 {
        font-size: 28px;
    }

    .school-services-page .media-item {
        flex-direction: column;
        text-align: center;
    }

    .school-services-page .service-box {
        margin-bottom: 20px;
    }

    .school-services-page .col-left,
    .school-services-page .col-right,
    .school-services-page .col-left-wide,
    .school-services-page .col-right-narrow {
        width: 100%;
        margin-bottom: 20px;
    }
}
