@import url("ffstyle.css");

body { overflow-x: hidden; overflow-y: auto; }

/* ===============================================
	1.HEADER INNER PAGE
=============================================== */
.inner-page-hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    background-color: var(--ff-light-yellow);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Aligns content to bottom */
}

.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.INNER PAGE CONTENT
=============================================== */
.section-full-banner {
    width: 100%; 
    background-image: url('../../images/about-02.jpg');
    background-size: 100%;
	background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1; 
}

.section-split-content {
    position: relative;
    z-index: 2;
    background-color: var(--ff-yellow); 
    border-radius: 50px 50px 0 0;
}
/* ===== SIDE-BY-SIDE OVERLAP ===== */
.section-side-full {
    padding: 0;
    overflow: hidden;
}

.side-img-full {
    width: 100%;
    min-height: 80vh; 
    height: 100%; 
    background-image: url('../../images/about-05.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 0; 
    position: relative;
    z-index: 1;
}

.side-text-overlay {
    background-color: var(--ff-light-yellow); 
    padding: 3rem 5rem;
	height: 100%; 
    width: auto;
    margin-left: -140px;
    margin-right: 0; 
    border-radius: 50px 0 0 50px;     
    position: relative;
    z-index: 2; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===============================================
	2.1 - MOBILE VIEW
=============================================== */
@media (max-width: 767px) {
	.section-full-banner {
		min-height: 30vh; 
	}
	.section-split-content {
        margin-top: -50px; 
        padding-top: 3rem; 
		padding-bottom: 3rem;
    }
}
/* ===============================================
	2.2 - TABLET VIEW
=============================================== */
@media (min-width: 768px) and (max-width: 1279px) {
	.section-full-banner {
		min-height: 50vh; 
	}
	.section-split-content {
        margin-top: -50px; 
        padding-top: 3rem; 
		padding-bottom: 3rem;
    }
}
/* ===============================================
	2.3 - MOBILE & TABLET VIEW
=============================================== */
@media (max-width: 991px) {
    .side-img-full {
        min-height: 50vh; 
    }

    .side-text-overlay {
        height: auto; 
        margin-left: 0; 
        margin-right: 0;
        margin-top: -60px; 
        border-radius: 30px 30px 0 0; 
        padding: 3rem 1.5rem;
    }
}

/* ===============================================
	2.4 - LAPTOP VIEW
=============================================== */
@media (min-width: 1280px) {
	.section-full-banner {
		min-height: 70vh; 
	}
	.section-split-content {
        margin-top: -100px; 
        padding-top: 5rem; 
		padding-bottom: 5rem;
    }
}

.split-content-img {
    width: 100%;
    height: auto;
}

.text-body-custom {
    color: var(--ff-brown);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
/* ===============================================
	3.THREE CARD VALUES SECTION
=============================================== */
.section-values {
    background-color: var(--ff-yellow); 
    padding: 4rem 0;
    position: relative; 
    z-index: 5; 
}
.section-values::before {
    content: "";
    position: absolute;
    top: -5px; 
    left: 0;
    width: 100%;
    height: 0;
    border-top: 10px dotted var(--ff-yellow); 
}
.section-values::after {
    content: "";
    position: absolute;
    bottom: -5px; 
    left: 0;
    width: 100%;
    height: 0;
    border-bottom: 10px dotted var(--ff-yellow);
}

.value-card {
    background-color: var(--ff-light-yellow);
    border-radius: 30px;
    padding: 3rem 2rem;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(189, 143, 8, 0.15); 
}

.value-card h2 {
    width: 100%;
    border-bottom: 8px dotted var(--ff-yellow);
    padding-bottom: 2.2rem;
    margin-bottom: 2.2rem;
}

.value-card ul {
    list-style: none; 
    padding-left: 0;
    margin: 0;
    width: 100%; 
    text-align: left; 
}

.value-card li {
    position: relative;
    padding-left: 4rem; 
    margin-bottom: 0.8rem;
    color: var(--ff-brown);
    font-size: 1.125rem;
    line-height: 1.5;
}

.value-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px; 
    width: 15px;
    height: 15px;
    background-color: var(--ff-yellow);
    border-radius: 50%; 
	margin-left: 1.4rem;
}

@media (min-width: 992px) {
    .values-col {
        padding: 0 1rem; 
        border-right: 8px dotted var(--ff-light-yellow);
        flex: 0 0 33.3333%;
        max-width: 33.3333%%;
    }
	.values-col:first-child {
        /* padding-left: 0;  */
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
	.values-col:last-child {
        /* padding-right: 0;  */
        border-right: none;
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

@media (max-width: 991px) {
    .values-col {
        padding: 0; 
        border-right: none; 
        margin-bottom: 3rem; 
        position: relative;
    }
	
    .values-col::after {
        content: '';
        display: block;
        width: 60%;
        height: 0;
        border-bottom: 4px dotted #fff;
        margin: 3rem auto 0 auto; 
    }

    .values-col:last-child { margin-bottom: 0; }
    .values-col:last-child::after { display: none; }
}
/* ===============================================
	4.THREE CARD VALUES SECTION
=============================================== */
.bg-testimonials::after {
    content: "";
    position: absolute;
    bottom: -5px; 
    left: 0;
    width: 100%;
    height: 0;
    border-bottom: 10px dotted var(--ff-light-yellow);
}
/* ===============================================
	5.HEAD OF SCHOOL
=============================================== */
.section-split-visuals {
    width: 100%;
    overflow: hidden; 
}

.visual-col {
    position: relative;
    min-height: 60vh; 
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.visual-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 3rem;
}
.col-type-1 {
    align-items: center;       
    justify-content: center;   
    text-align: center;
	background-color: var(--ff-light-yellow);
}

.col-type-1 .visual-content {
    padding: 3rem 10rem 3rem 2rem; 
}

.split-img {
    max-width: 180px;
	height: auto;
	margin-bottom: 1.5rem;
	border-radius: 30px;
}

.bg-layer-rotate {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../../images/about-06.jpg');
    background-size: 100% auto;
    background-position: center;
	background-repeat: no-repeat;
    z-index: 0;
    transition: transform 0.3s ease;
}

.col-type-2 {
    align-items: flex-start;   
    justify-content: center;   
    text-align: left;
    background-image: url('../../images/about-07.jpg');
    background-size: 100% auto;
	background-repeat: repeat-y;
    background-position: center;
}

@media (max-width: 1199px) {
	.col-type-1 .visual-content {
        padding: 3rem; 
    }
	.col-type-2 .visual-content {
		padding: 3rem 1.5rem;
	}
	.bg-layer-rotate {
        transform: rotate(90deg) scale(1.3); 
        background-size: auto 65%;
    }
    
    .visual-col {
        min-height: 50vh;
    }

    .col-type-2 {
        background-size: 100% auto;
        background-repeat: repeat-y;
        background-position: top;
    }
}

/* ===============================================
	6.TEAM FLIP CARDS
=============================================== */
.section-team {
    background-color: var(--ff-light-yellow); 
}

/* 2. The Inner Yellow Box (Radius 30px) */
.team-inner-box {
    background-color: var(--ff-yellow); 
    border-radius: 50px 50px 0 0;
    padding: 4rem 5rem; 
}

/* 3. CARD WRAPPER (Fixed Height) */
.team-card-wrapper {
    width: 100%;
    margin-bottom: 0; 
    position: relative; 
}

.static-intro-card {
	width: 100%;
	height: auto !important; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.flip-card {
    background-color: transparent;
    perspective: 1000px;
    height: 100% !important; 
}
.flip-card.mobile-active .flip-card-inner {
    transform: rotateY(180deg);
}
@media (hover: hover) {
    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100% !important; 
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    border-radius: 30px;
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100% !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 30px;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 100% !important; 
    object-fit: cover; 
    object-position: top center; 
}

.flip-card-back {
    background-color: var(--ff-brown);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    align-items: flex-start;   
    padding: 2rem 2rem 0 2rem;
    text-align: left;
	font-size: 1rem;
}
.flip-card-back p,
.team-details-list li {
	font-size: 0.9rem;
	margin-bottom: 0;
}
.team-name-label {
    margin-top: 1.5rem;
    padding-left: 0.5rem;
	text-align: center;
}

.team-name-label p {
	color: var(--ff-brown);
}

.team-details-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    width: 100%;
    text-align: left;
}
.team-details-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--ff-light-yellow);
}
.team-details-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 15px;
    height: 15px;
    background-color: var(--ff-yellow);
    border-radius: 50%;
}
/* ===============================================
	6.1 - LAPTOP / DESKTOP VIEW
=============================================== */
@media (min-width: 1200px) {
	.team-card-wrapper {
        height: 400px !important;
        min-height: 400px !important;
    }
}
/* ===============================================
	6.2 - TABLET VIEW
=============================================== */
@media (min-width: 768px) and (max-width: 1279px) {
	.team-inner-box {
		padding: 4rem 2rem;
	}
	.team-card-wrapper {
        height: 450px !important;
        min-height: 450px !important;
    }
}
/* ===============================================
	6.3 - MOBILE VIEW
=============================================== */
@media (max-width: 767px) {
	.team-inner-box {
        padding: 3rem 1.5rem;
    }
	.team-card-wrapper {
        height: 400px !important;
        min-height: 400px !important;
    }
	.static-intro-card {
		margin-bottom: 1rem;
	}
}

