@import url("ffstyle.css");

body { overflow-x: hidden; overflow-y: auto; }

/* ===============================================
	1.HEADER INNER PAGE
=============================================== */
.inner-page-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: var(--ff-light-yellow);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: visible !important; 
    z-index: 10; 
}

.inner-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 0; 
}

.inner-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 1; 
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 8vh;
    width: 100%;
}

/* ===============================================
	2.HEADER INFO
=============================================== */
.section-curriculum-header {
    background-color: var(--ff-yellow);
    padding: 5rem 0 3rem 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.curriculum-intro-text {
    max-width: 800px;
    margin: 0 auto;
    color: var(--ff-brown);
}

/* ===============================================
	3.Play-based Trilingual Programme
=============================================== */
.section-shaped-cards {
    background-color: #ffc300; 
    overflow: hidden;
}

.shape-wrapper {
    position: relative; 
    width: 100%;
    height: auto;
    display: block;
}

.shape-bg-img {
    width: 100%;
    height: auto;
    display: block; 
}

.shape-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;    
    z-index: 2;
}

.shape-content-box {
    width: 80%; 
    text-align: center;
    color: var(--ff-brown);
}

.shape-desc {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

@media (max-width: 576px) {
    .shape-content-box { width: 85%; }
    .shape-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
    .shape-desc { font-size: 0.8rem; line-height: 1.3; }
}

/* ===============================================
	4 & 6 Integrated Curriculum Title
=============================================== */
.section-title-only {
    background-color: var(--ff-yellow); 
}

.section-title-only2 {
    background: linear-gradient(to right, #2DAA4B 0%, #2DAA4B 50%, #ffc300 50%, #ffc300 100%);
}

.title-card {
    background-color: var(--ff-light-yellow); 
    border-radius: 50px 50px 0 0;
    padding: 3rem 0 2rem 0;
}

@media (max-width: 767px) {
	.section-title-only2 {
		background: var(--ff-yellow)!important;
	}
}

/* ===============================================
	5.Skills
=============================================== */
.section-overlap-cols {
    padding: 0;
    background-color: #fff; 
    overflow-x: hidden;
}

.sm-banner-wrapper {
    width: 100%;
    height: 400px; 
    margin: 0;
    padding: 0;    
    position: relative;
    z-index: 1;
    overflow: hidden;
	flex-shrink: 0;
}

.sm-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	object-position: top center; 
}

.overlap-card-body {
    position: relative;
    z-index: 2; 
    border-radius: 30px 30px 0 0;
    margin-top: -40px; 
    width: 100%;
	height: 100%;
}

.overlap-col-wrapper {
    position: relative;
    width: 100%;
	height: 100%; 
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .overlap-card-body {
        flex-grow: 1; 
        min-height: 350px; 
    }
}

@media (max-width: 991px) {
    .sm-banner-wrapper {
        height: 300px; 
    }
    .col-lg-6:last-child .overlap-col-wrapper {
        margin-bottom: 0;
    }
}

/* ===============================================
	7.Learning Outcomes Icon
=============================================== */
.section-outcomes {
    padding: 3rem 0 3rem 0;
    background-color: var(--ff-light-yellow);
}

.outcome-card {
    height: 100%; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.outcome-media {
    width: 100%;
    height: 160px; 
    display: flex;
    align-items: center; 
    justify-content: center; 
    margin-bottom: 1.5rem;
}

.outcome-media video,
.outcome-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
}

.outcome-details {
    width: 100%;
    flex-grow: 1; 
	border-top-width: 8px;
	border-top-style: dotted;
	border-bottom-width: 8px;
	border-bottom-style: dotted;
    padding: 1.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
}

@media (max-width: 991px) {
    .section-outcomes { padding: 0 0 3rem 0; }
    .outcome-card { margin-bottom: 2rem; }
	.outcome-details { flex-grow: 0; }
    .outcome-details:nth-last-child { margin-bottom: 0 !important; }
}

/* ===============================================
	8.View Programme Banner
=============================================== */
.section-programme {
    background-color: var(--ff-light-yellow);
    position: relative;
    z-index: 5;
}

.prog-banner-wrapper {
    position: relative;
    width: 100%;
    height: 40vh; 
    overflow: hidden;
    display: flex;
    justify-content: center; 
    align-items: center;
}

.prog-banner-img {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
	object-position: top;
    z-index: 0; 
	border-radius: 50px 50px 0 0;
}

.prog-banner-wrapper .btn {
    position: relative;
    z-index: 2; 
}
