:root {
    --primary-blue: #074da3;
    --accent-blue: #1A4DA3;
    --black-text: #0c2339;
    --body-text: #4e5c79;
    --blue-text: #053864;
    --dark-green: #2E9868;
    --light-green-background: #E6F4F0;
    --grey-blue: #9DB0C3;
}


html {
    scroll-behavior: smooth;
}

body {
    background: #ECF3FA;
}


.subscription-wrapper{
    height:100px;
}
.subscription-panel {
    width:70%;
    margin: 20px auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    text-align:center;
}

.subscription-panel .alert {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.alert.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.info {
    background: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.btn.primary {
    display: inline-block;
    padding: 10px 15px;
    background: var(--accent-blue);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn.primary:hover {
    background: #0056b3;
}





.carousel-container {
    width: 90%;
    padding-top: 80px;
    max-height: 400px;
    max-width: 100%;
    margin: 0 auto;
}

.slick-slide img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;

}

.carousel div {
    padding: 10px;
}

@media (max-width: 768px) {

    .carousel div {
        padding: 0px;
    }
}


.school-carousel-wrapper {
    position: relative;
    height: 600px;
}

.school-wrapper {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: #fff;
    width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 4px;
}


@media (max-width: 768px) {

    .school-wrapper {
        display: flex;
        flex-direction: column;

    }
}

.school-wrapper img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: scale-down;
}

.school-wrapper .school-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--black-text);
}

.school-wrapper .school-region {
    color: var(--body-text);
    font-size: 16px;
    padding: 10px 0px 0px;
}


.school-wrapper .school-level {
    color: var(--primary-blue);
    font-size: 22px;
    padding: 0px 0px 10px 0px;
    font-weight: 800;
}

.school-wrapper .school-demo {
    display: flex;
    gap: 20px;
    color: var(--body-text);
    padding: 10px 0px 0px;
}

.school-wrapper .school-demo i {
    color: var(--body-text);
}

.detail-body {
    display: flex;
    flex-direction: row;
    gap: 30px;
    width: 90%;
    margin: 60px auto;
}



@media (max-width: 768px) {
    .detail-body {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0px 20px;
    }
}

.detail-content {
    flex: 4;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0px 30px;
}


@media (max-width: 768px) {
    .detail-content {
        padding: 0px 0px;
    }
}

.detail-container {
    width: 100%;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 1px 1px #fafafa;
    overflow: hidden;
    transition: height 0.3s ease;
    padding: 0px 20px;
}

.heading {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.title {
    font-size: 18px;
    font-weight: bold;
}

.icon {
    font-size: 14px;
    transition: transform 0.3s ease;
    background: #F5F7FB;
    padding: 2px;
    width: 30px;
    height: 30px;
    text-align: center;
    align-content: center;
    border-radius: 50%;
}

.description {
    padding: 16px;
    display: none;
    /* Hidden by default */
    line-height: 1.8;
    font-size: 16px;
    color: var(--body-text);

}

.detail-container.open .description {
    display: block;
}

.detail-container.open .icon {
    transform: rotate(180deg);
    /* Rotates the icon when open */
    font-size: 14px;
}


.facilities {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .facilities {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.facility i {
    font-size: 12px;
    color: #009688;
    background: #EAF5F4;
    padding: 4px;
    border-radius: 50%;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .gallery {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .gallery img {
        height: 140px;
    }
}

.category-wrapper {
    display: flex;
    flex-direction: column;
    gap:20px;
    margin-bottom: 40px;

}

.staff {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .staff {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.staff .staff-card {
    box-shadow: 0 0 20px 0 rgb(19 115 234 / 10%) !important;
    -webkit-box-shadow: 0 0 20px 0 rgb(19 115 234 / 10%) !important;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 20px 10px;
}

.staff-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto;
    border: 1px solid #EAF5F4;
    padding: 4px;
    object-fit: cover;
    object-position: top;
}

.staff-card .staff-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--black-text);
}

.staff-card .staff-post {
    font-size: 14px;
    color: #8a98a9;
}

.events-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-item {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: start;
}


.event-item .event-details {
    text-align: left;
}

.event-icon img {
    width: 60px;
}

.event-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--black-text);
}

.event-date {
    color: var(--body-text);
    text-transform: uppercase;
    font-size: 12px;
}

.event-description {
    font-size: 14px;
}

.documents {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.document {
    border: 1px solid#EAF5F4;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .document {
        display: flex;
        flex-direction: column;
    }

}

.document .file {
    display: flex;
    flex-direction: column;
}

.document .file .document-name {
    font-weight: 600;
    color: var(--black-text);

}

.document .file .document-description {
    font-size: 14px;
}

.document .download a {
    display: inline;
    background: #EE8D1C;
    padding: 4px 8px;
    color: #fff;
    border-radius: 4px;
    border: none;
    outline: none;
    font-size: 14px;
}


.detail-ads {
    padding: 20px 0px;
}

.detail-ads .ads-label {
    font-size: 12px;
    color: var(--body-text);
    padding-bottom: 8px;
}

.detail-ads img {
    width: 100%;
    border-radius: 8px;
}


.detail-sidebar {
    flex: 2;
    border-radius: 8px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .detail-sidebar {
        display: flex;
        flex-direction: column-reverse;
        gap: 20px;
    }
}

.detail-sidebar .sidebar-ad {
    margin-bottom: 20px;
}

.detail-sidebar .sidebar-ad img {
    border-radius: 8px;
    width: 100%;
}

.featured-schools {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-schools .featured-item {
    display: flex;
    gap: 20px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
}

.featured-schools .featured-item img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
}

.featured-schools .featured-item .school-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--black-text);
}

.featured-schools .featured-item .school-region {
    font-size: 14px;
    color: var(--body-text);
}


.featured-schools .featured-item .school-level {
    display: inline-block;
    background: #EAF6F4;
    color: #44B499;
    margin: 10px 0px;
    padding: 4px 16px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.school-levels {
    display: flex;
}

.level-label {
    display: inline-block;
    padding: 4px 8px;
    background: var(--light-green-background);
    color: var(--dark-green);
    border-radius: 4px;
    margin-top: 10px;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: bold;
}

