/*
Theme Name: Yunhe Centre
Theme URI: https://yunhe-centre.com
Author: Yunhe Team
Author URI: https://yunhe-centre.com
Description: Yunhe Centre K-12 Education Theme - A custom WordPress theme for the Yunhe Centre educational platform.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yunhe
Tags: custom-menu, featured-images, theme-options, translation-ready
*/

/* Home Page Styles - 1920px Width */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* WordPress admin bar offset */
body.admin-bar .viewport {
    margin-top: 32px;
}

.viewport {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.container {
    width: 1920px;
    position: relative;
    transform-origin: left top;
    margin: 0;
    padding: 0;
}

/* ============ HEADER ============ */
.header {
    position: relative;
    width: 1920px;
    height: 127px;
    background: #0A4209;
    z-index: 100;
    display: flex;
    align-items: center;
}

.header-logo {
    width: 300px;
    height: 93px;
    margin-left: 151px;
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo img {
    width: 300px;
    height: 93px;
    object-fit: contain;
}

.header-nav {
    display: flex;
    height: 127px;
    flex: 1;
}

.header-nav > ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 127px;
}

.nav-item {
    height: 127px;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 2;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-item:nth-child(1) { width: 95px; margin-left: 87px; }
.nav-item:nth-child(2) { width: 225px; margin-left: 17px; }
.nav-item:nth-child(3) { width: 380px; margin-left: 25px; }
.nav-item:nth-child(4) { width: 300px; margin-left: 40px; }
.nav-item:nth-child(5) { width: 155px; margin-left: 30px; }

.nav-item:hover {
    color: #E1B868;
}

.nav-item.active {
    color: #FFFFFF;
    background: #B18B41;
    padding: 0 10px;
}

/* ============ HERO SECTION ============ */
.hero {
    position: relative;
    width: 1920px;
    height: 780px;
    background: #064905;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('images/hero-bg1.jpg') center/cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(6,73,5,0.6) 0%, rgba(6,73,5,0.8) 100%);
    z-index: 2;
}

.hero-play-btn {
    position: relative;
    z-index: 3;
    width: 100px;
    height: 100px;
    background: #E1B868;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hero-play-btn:hover {
    transform: scale(1.1);
}

.hero-play-btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 25px solid #064905;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    margin-left: 8px;
}

/* ============ MISSION & VISION ============ */
.mission-vision {
    position: relative;
    width: 1920px;
    background: #FFFFFF;
    padding: 100px 360px 80px;
}

.mv-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 91px;
    color: #064905;
    text-align: center;
    margin-bottom: 120px;
}

.mv-row {
    display: flex;
    gap: 80px;
    align-items: flex-end;
}

.mv-row-3 {
    margin-top: 20px;
}

.mv-text-left {
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.mv-item {
    max-width: 500px;
}

.mv-item-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #064905;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mv-icon {
    font-size: 24px;
}

.mv-item-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: #333333;
}

.mv-images-right {
    flex: 0 0 auto;
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.mv-images-row3 {
    display: block;
}

.mv-image-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 25px;
    background-color: #D4D0C8;
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

.mv-image-1 {
    width: 305px;
    height: 256px;
    background-image: url('images/home-mission-01.png');
}

.mv-image-2 {
    width: 305px;
    height: 256px;
    background-image: url('images/home-mission-02.png');
}

.mv-image-3 {
    width: 630px;
    height: 261px;
    background-image: url('images/home-mission-03.png');
}

.mv-image-label {
    position: relative;
    z-index: 2;
    font-size: 22px;
    line-height: 28px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    word-wrap: break-word;
    max-width: 90%;
}

/* ============ WHY CHOOSE US ============ */
.why-choose {
    position: relative;
    width: 1920px;
    background: #0A4209;
    padding-bottom: 80px;
}

.why-title {
    width: 593px;
    margin: 68px auto 0;
    font-family: 'Merriweather', serif;
    font-style: normal;
    font-weight: 700;
    font-size: 72px;
    line-height: 91px;
    text-align: center;
    color: #E1B868;
}

.why-subtitle {
    width: 675px;
    margin: 19px auto 0;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 200;
    font-size: 20px;
    line-height: 22px;
    text-align: center;
    color: #FFFFFF;
}

.why-years-title {
    width: 100%;
    margin-top: 81px;
    margin-bottom: 20px;
    font-family: 'Roboto', serif;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFF;
}

.why-years-normal {
    font-weight: 800;
    font-style: normal;
}

.why-years-italic {
    color: #E1B868;
    font-weight: 900;
    font-style: italic;
}

.why-container {
    width: 1398px;
    margin: 0 auto;
    position: relative;
    height: 622px;
}

.why-tabs {
    position: absolute;
    left: -90px;
    top: 39px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.why-tab {
    width: 198px;
    height: 58px;
    background: #B18B41;
    border: none;
    border-radius: 11px 0 0 11px;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 24px;
    line-height: 28px;
    text-align: center;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.why-tab:hover {
    background: #C89F50;
}

.why-tab.active {
    background: #E1B868;
}

.why-content {
    position: absolute;
    width: 1202px;
    height: 622px;
    left: 100px;
    top: 0;
    background: #E1B868;
    border-radius: 26px;
    padding: 76px 100px 74px 105px;
}

.why-tab-content {
    display: none;
}

.why-tab-content.active {
    display: flex;
    gap: 65px;
}

.why-content-left {
    width: 447px;
}

.why-content-title {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: 28px;
    line-height: 33px;
    color: #FFFFFF;
    margin-bottom: 26px;
}

.why-content-text {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
}

.why-content-right {
    width: 624px;
}

.why-content-img-wrap {
    width: 624px;
    height: 476px;
    background: #F3F3F3;
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-content-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============ IMPACT BY NUMBERS ============ */
.impact-numbers {
    position: relative;
    width: 1720px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 80px 260px;
}

.impact-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #0A4209;
    text-align: center;
    margin-bottom: 80px;
}

.impact-title-highlight {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #B18B41;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.impact-card {
    background: #FFFFFF;
    border: 1px solid #0A4209;
    border-radius: 13px;
    padding: 50px 40px;
    text-align: left;
    box-shadow: -8px 0 0 0 #0A4209;
}

.impact-number {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 50px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #0A4209;
    margin-bottom: 20px;
}

.impact-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: #000000;
}

/* ============ EDUCATION ECOSYSTEM ============ */
.ecosystem {
    position: relative;
    width: 1920px;
    background: #FFFFFF;
    padding-top: 80px;
}

.ecosystem-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #0A4209;
    text-align: center;
    margin-bottom: 60px;
}

.ecosystem-title-highlight {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #B18B41;
}

.ecosystem-content {
    position: relative;
    width: 1920px;
    height: 780px;
}

.ecosystem-bg {
    position: absolute;
    width: 1200px;
    height: 780px;
    left: 360px;
    top: 1px;
    background: #D5D5D5;
    border-radius: 42px;
    z-index: 1;
}

.ecosystem-card {
    position: absolute;
    width: 374px;
    height: 700px;
    left: 1353px;
    top: 40px;
    background: #FFFFFF;
    border: 2px solid #B18B41;
    border-radius: 23px;
    padding: 30px 30px 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    z-index: 2;
}

.ecosystem-item {
    position: relative;
    padding-left: 40px;
}

.ecosystem-icon {
    position: absolute;
    left: -60px;
    top: 5px;
    width: 84px;
    height: 84px;
    background: #0A4209;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 3;
    color: #FFFFFF;
}

.ecosystem-item-content {
    flex: 1;
}

.ecosystem-item-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: #0A4209;
    margin-bottom: 8px;
    font-style: bold;
}

.ecosystem-item-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #333333;
}

/* ============ MEASURING IMPACT ============ */
.measuring-impact {
    position: relative;
    width: 1720px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 100px 260px;
}

.measuring-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    text-align: center;
    margin-bottom: 60px;
}

.measuring-title-highlight {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #B18B41;
}

.measuring-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.measuring-item {
    background: #FFFFFF;
    border: 2px solid #D9D9D9;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
}

.measuring-percent {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 64px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    margin-bottom: 15px;
}

.measuring-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #000000;
}

.measuring-btn {
    display: block;
    width: 233px;
    height: 61px;
    margin: 50px auto 0;
    background: #B18B41;
    border: none;
    border-radius: 18px;
    font-family: 'Roboto', sans-serif;
    font-style: SemiBold;
    font-weight: 600;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFF;
    cursor: pointer;
}

/* ============ EXCELLENCE AWARDS ============ */
.excellence {
    position: relative;
    width: 1920px;
    background: #B08C43;
    padding: 60px 100px;
}

.excellence-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 60px;
}

.excellence-wrap {
    position: relative;
    padding: 0 20px;
}

.excellence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.excellence-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 60px 40px;
    text-align: center;
}

.excellence-title-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 20px;
    line-height: 1.3;
    color: #000000;
    margin-bottom: 12px;
}

.excellence-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color: #333333;
}

.excellence-arrows {
    display: flex;
    gap: 10px;
    margin-top: 40px;
}

.excellence-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F2D587;
    border: none;
    color: #B08C43;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============ FOOTER ============ */
.footer {
    position: relative;
    width: 1920px;
    height: 160px;
    background: #0A4209;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 4px;
    color: #FFFFFF;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-social {
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
    text-decoration: none;
    transition: background 0.3s ease;
}

.footer-social:hover {
    background: #B18B41;
}

/* ============ K12 PAGE OVERRIDES ============ */
.k12-page .container { }

/* ============ K12 PAGE SPECIFIC STYLES ============ */

.k12-page .hero {
    position: relative;
    width: 1920px;
    height: 850px;
    overflow: hidden;
}

.k12-page .hero-bg {
    position: absolute;
    width: 1920px;
    height: 1080px;
    left: 0;
    top: -20px;
    background: url('images/hero-bg1.jpg') center/cover;
}

.k12-page .hero-overlay {
    position: absolute;
    width: 1920px;
    height: 850px;
    left: 0;
    top: 0;
    background: rgba(44, 44, 44, 0.55);
}

.k12-page .category-badge {
    position: absolute;
    width: 133px;
    height: 50px;
    left: 382px;
    top: 394px;
    background: #B18B41;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.k12-page .category-text {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    text-align: center;
    letter-spacing: 0.03em;
    color: #FFFFFF;
}

.k12-page .hero-title {
    position: absolute;
    width: 1259px;
    left: calc(50% - 1259px/2 + 51.5px);
    top: 456px;
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: 48px;
    line-height: 60px;
    color: #FFFFFF;
    text-align: left;
    z-index: 2;
}

.k12-page .hero-divider {
    position: absolute;
    width: 181px;
    left: calc(50% - 181px/2 - 219.5px);
    top: 582px;
    border: 1.7px solid #FFFFFF;
    z-index: 2;
}

.k12-page .hero-subtitle {
    position: absolute;
    width: 1259px;
    left: 382px;
    top: 660px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #FFFFFF;
    text-align: left;
    z-index: 2;
}

.k12-page .hero-tags {
    position: absolute;
    left: 362px;
    top: 780px;
    display: flex;
    gap: 10px;
    z-index: 2;
    flex-wrap: wrap;
}

.k12-page .tag {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 20px;
    line-height: 23px;
    text-align: center;
    letter-spacing: 0.03em;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 25px;
    padding: 12px 30px;
}

.k12-page .programme-overview {
    position: relative;
    width: 1920px;
    padding: 110px 360px;
}

.k12-page .section-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 91px;
    color: #064905;
    margin-bottom: 50px;
}

.k12-page .overview-content {
    display: flex;
    gap: 100px;
}

.k12-page .overview-text {
    width: 539px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    color: #000000;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.k12-page .overview-text p {
    margin-bottom: 0;
}

.k12-page .overview-images-wrap {
    position: absolute;
    right: 360px;
    top: calc(110px + 91px);
}

.k12-page .overview-images {
    display: flex;
    gap: 20px;
    position: relative;
    overflow: hidden;
    width: 646px;
    flex-shrink: 0;
    height: 100%;
}

.k12-page .overview-images-scroll {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    height: 100%;
}

.k12-page .overview-img-wrapper {
    position: relative;
    flex-shrink: 0;
    height: 100%;
}

.k12-page .overview-img {
    width: 313px;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    background: #A6A6A6;
}

.k12-page .overview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.k12-page .overview-arrow-left,
.k12-page .overview-arrow-right {
    position: absolute;
    width: 15.5px;
    height: 37.5px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E1B868;
    font-size: 36px;
}

.k12-page .overview-arrow-left {
    left: 5px;
    transform: translateY(-50%) rotate(180deg);
}

.k12-page .overview-arrow-right {
    right: 5px;
}

.k12-page .location-tabs {
    display: flex;
    gap: 60px;
    margin-top: 40px;
}

.k12-page .location-tab {
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 0.03em;
    color: #064905;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.k12-page .key-highlights {
    position: relative;
    width: 1920px;
    background: #064905;
    padding: 100px 360px;
}

.k12-page .key-highlights .section-title {
    color: #E1B868;
}

.k12-page .highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 50px;
}

.k12-page .highlight-card {
    position: relative;
    width: 400px;
    height: 529px;
    border-radius: 13px;
    overflow: hidden;
}

.k12-page .highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.k12-page .highlight-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #B18B41;
    padding: 25px;
    border-radius: 0 0 13px 13px;
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.k12-page .highlight-card:hover .highlight-overlay {
    max-height: 200px;
}

.k12-page .highlight-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 30px;
    line-height: 33px;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.k12-page .highlight-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    color: #FFFFFF;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.k12-page .highlight-card:hover .highlight-desc {
    opacity: 1;
    transform: translateY(0);
}

.k12-page .highlight-card.green .highlight-overlay {
    background: #064905;
}

.k12-page .highlight-card.green .highlight-title {
    font-size: 21px;
    line-height: 22px;
}

.k12-page .highlight-card.green .highlight-desc {
    font-size: 15px;
    line-height: 21px;
}

.k12-page .questions-explore {
    position: relative;
    width: 1920px;
    padding: 134px 360px;
}

.k12-page .questions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 60px;
}

.k12-page .question-item {
    position: relative;
}

.k12-page .question-number {
    position: absolute;
    left: -44px;
    top: 0;
    width: 27px;
    height: 27px;
    font-size: 32px;
    color: #B18B41;
}

.k12-page .question-circle {
    position: absolute;
    width: 27px;
    height: 27px;
    border: 2px solid #B18B41;
    border-radius: 50%;
}

.k12-page .question-circle-inner {
    position: absolute;
    width: 19px;
    height: 19px;
    border: 2px solid #B18B41;
    border-radius: 50%;
    top: 3px;
    left: 3px;
}

.k12-page .question-dot {
    position: absolute;
    width: 11px;
    height: 11px;
    background: #B18B41;
    border-radius: 50%;
    top: 7px;
    left: 7px;
}

.k12-page .question-title {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: 32px;
    line-height: 38px;
    color: #B18B41;
    margin-bottom: 20px;
}

.k12-page .question-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    color: #000000;
}

.k12-page .create-story {
    position: relative;
    width: 1920px;
    background: rgba(177, 139, 65, 0.23);
    padding: 84px 360px;
}

.k12-page .create-story .section-title {
    margin-bottom: 30px;
}

.k12-page .create-story-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #000000;
    margin-bottom: 50px;
}

.k12-page .output-cards {
    display: flex;
    gap: 50px;
    justify-content: center;
}

.k12-page .output-card {
    width: 381px;
    height: 225px;
    background: #064905;
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.k12-page .output-icon {
    width: 70px;
    height: 70px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.k12-page .output-title {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: 32px;
    line-height: 30px;
    text-align: center;
    color: #FFFFFF;
}

.k12-page .create-story-note {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #000000;
    margin-top: 50px;
}

.k12-page .itinerary {
    position: relative;
    width: 1920px;
    background: #064905;
    padding: 86px 360px;
    padding-bottom: 86px;
}

.k12-page .itinerary .section-title {
    color: #E1B868;
    margin-bottom: 30px;
}

.k12-page .itinerary-intro {
    color: #E1B868;
    font-family: 'Merriweather', serif;
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 40px;
}

.k12-page .itinerary-intro-title {
    font-weight: 800;
    margin-bottom: 8px;
}

.k12-page .itinerary-intro-text {
    font-weight: 400;
}

.k12-page .itinerary-timeline {
    position: relative;
}

.k12-page .timeline-item {
    margin-bottom: 20px;
    background: #FFFFFF;
    border-radius: 13px;
    overflow: hidden;
}

.k12-page .timeline-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    cursor: pointer;
    background: #FFFFFF;
    border-radius: 13px;
    transition: background 0.3s ease;
}

.k12-page .timeline-arrow {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #064905;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.k12-page .timeline-item.active .timeline-arrow {
    transform: rotate(180deg);
}

.k12-page .timeline-day-badge {
    background: #B18B41;
    border-radius: 16px;
    padding: 8px 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 22px;
    color: #FFFFFF;
    flex-shrink: 0;
}

.k12-page .timeline-location {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 22px;
    color: #B18B41;
    padding: 5px 0;
    flex-shrink: 0;
}

.k12-page .timeline-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.k12-page .timeline-item.active .timeline-content {
    max-height: 500px;
}

.k12-page .timeline-details {
    padding: 0 30px 25px 58px;
}

.k12-page .timeline-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.k12-page .timeline-tag {
    border: 1px solid #064905;
    border-radius: 16px;
    padding: 5px 15px;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    letter-spacing: 0.03em;
    color: #064905;
    background: #FFFFFF;
}

.k12-page .timeline-box {
    background: #F5F5F5;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 10px;
}

.k12-page .timeline-box-header {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 22px;
    line-height: 28px;
    color: #064905;
    margin-bottom: 8px;
}

.k12-page .timeline-box-content {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
}

.k12-page .timeline-arrow {
    width: 8px;
    height: 17px;
    border: 4px solid #064905;
    transform: rotate(90deg);
    margin-bottom: 10px;
}

.k12-page .itinerary-image {
    width: 336px;
    height: 445px;
    background: #D9D9D9;
    border-radius: 26px;
    overflow: hidden;
    flex-shrink: 0;
    margin-top: 100px;
}

.k12-page .itinerary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.k12-page .safeguarding {
    position: relative;
    width: 1920px;
    padding: 143px 360px;
    background: #FFFFFF;
}

.k12-page .safeguarding-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 91px;
    text-align: center;
    color: #B18B41;
    margin-bottom: 30px;
}

.k12-page .safeguarding-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    color: #000000;
    margin-bottom: 50px;
}

.k12-page .safeguarding-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.k12-page .safeguarding-card {
    width: 549px;
    height: 387px;
    background: #F3F3F3;
    border-radius: 25px;
    overflow: hidden;
}

.k12-page .safeguarding-card-header {
    background: #B18B41;
    padding: 25px;
    text-align: center;
}

.k12-page .safeguarding-card-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 22px;
    color: #FFFFFF;
}

.k12-page .safeguarding-card-content {
    padding: 30px;
}

.k12-page .safeguarding-list {
    list-style: none;
}

.k12-page .safeguarding-item {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
    color: #B18B41;
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}

.k12-page .safeguarding-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 13px;
    height: 13px;
    background: #D9D9D9;
}

.k12-page .safeguarding-note {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    color: #000000;
    margin-top: 50px;
}

.k12-page .faq {
    position: relative;
    width: 1920px;
    background: #B18B41;
    padding: 87px 0;
}

.k12-page .faq-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 91px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 173px;
}

.k12-page .faq-items {
    width: 1087px;
    margin: 0 auto;
}

.k12-page .faq-item {
    background: #F3F3F3;
    border-radius: 0px 26px 26px 0px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.k12-page .faq-item:first-child { height: 129px; }
.k12-page .faq-item:not(:first-child) { height: 71px; }

.k12-page .faq-item.open:first-child { height: auto; }
.k12-page .faq-item.open:not(:first-child) { height: auto; }

.k12-page .faq-question {
    display: flex;
    align-items: center;
    padding: 23px 40px;
    cursor: pointer;
}

.k12-page .faq-arrow {
    width: 8px;
    height: 17px;
    border: 4px solid #064905;
    transform: rotate(90deg);
    margin-right: 40px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.k12-page .faq-item.open .faq-arrow { transform: rotate(0deg); }

.k12-page .faq-question-text {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 800;
    font-size: 24px;
    line-height: 22px;
    color: #064905;
}

.k12-page .faq-answer {
    padding: 0 40px;
    height: 0;
    overflow: hidden;
    transition: height 0.3s, padding 0.3s;
}

.k12-page .faq-item.open .faq-answer {
    padding: 0 40px 20px;
    height: auto;
}

.k12-page .faq-answer-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #000000;
    margin-left: 57px;
}

.k12-page .ready-learn {
    position: relative;
    width: 1920px;
    padding: 151px 360px;
}

.k12-page .ready-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 91px;
    text-align: center;
    color: #B18B41;
    margin-bottom: 30px;
}

.k12-page .ready-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    color: #000000;
    margin-bottom: 50px;
}

.k12-page .contact-btn {
    display: block;
    width: 200px;
    height: 61px;
    background: #B18B41;
    border-radius: 18px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 33px;
    text-align: center;
    color: #FFFFFF;
    text-decoration: none;
    transition: background 0.3s;
}

.k12-page .contact-btn:hover { background: #064905; }

.k12-page .footer {
    position: relative;
    width: 1920px;
    height: 188px;
    background: #064905;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.k12-page .footer-social {
    display: flex;
    gap: 30px;
}

.k12-page .social-icon {
    width: 50px;
    height: 50px;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 20px;
    text-decoration: none;
    transition: background 0.3s;
}

.k12-page .social-icon:hover {
    background: #B18B41;
    border-color: #B18B41;
}

.k12-page .footer-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 23px;
    text-align: center;
    color: #FFFFFF;
}

/* ============ DROPDOWN NAV (Contact Page) ============ */
.nav-parent {
    position: relative;
    z-index: 3;
}

.nav-parent > .nav-item::after {
    content: '\25B8';
    margin-left: 6px;
    font-size: 14px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-parent.open > .nav-item::after {
    transform: rotate(90deg);
}

.nav-dropdown {
    position: absolute;
    top: 127px;
    left: 0;
    min-width: 280px;
    background: #0A4209;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.nav-parent.open .nav-dropdown {
    max-height: 600px;
}

.nav-dropdown a {
    display: block;
    padding: 14px 28px;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown a:hover {
    background: rgba(177, 139, 65, 0.25);
    color: #E1B868;
}

.nav-dropdown a.active {
    background: #B18B41;
    color: #FFFFFF;
    font-weight: 700;
}

.nav-parent.has-active > .nav-item {
    color: #E1B868;
}

/* ============ CONTACT PAGE ============ */
.contact-container {
    width: 1920px;
    height: 0px;
    position: relative;
    transform-origin: left top;
    background: #FFFFFF;
}

.contact-hero {
    position: relative;
    width: 1920px;
    padding: 100px 360px 0;
    background: #F5F0E6;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 260px;
    height: 340px;
    opacity: 0.5;
    pointer-events: none;
}

.contact-hero::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 320px;
    height: 360px;
    opacity: 0.5;
    pointer-events: none;
}

.contact-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 100%;
    color: #064905;
    margin-bottom: 24px;
}

.contact-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    color: #000000;
    max-width: 1000px;
    margin-bottom: 60px;
}

.contact-form-wrap {
    position: relative;
    width: 1920px;
    padding: 0 360px 60px;
    background: #F5F0E6;
}

.contact-form-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 50px 60px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    max-width: 1200px;
}

.contact-form-group {
    margin-bottom: 28px;
}

.contact-form-group label {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 18px;
    color: #064905;
    margin-bottom: 8px;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    border: none;
    border-radius: 4px;
    background: #F3F3F3;
    padding: 10px 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #000000;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-bottom-color: #064905;
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-form-group .required {
    color: #FF0000;
}

.contact-submit {
    display: block;
    margin: 10px auto 0;
    background: #064905;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 36px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.25s ease;
}

.contact-submit:hover {
    background: #0A4209;
}

/* ============ WPForms Override (match original form design) ============ */
.wpforms-container {
    background: transparent;
    padding: 0;
}

.wpforms-container-full .wpforms-form {
    padding: 0;
}

.wpforms-field-container {
    display: flex;
    flex-direction: column;
}

.wpforms-field {
    margin-bottom: 28px;
    padding: 0;
}

.wpforms-field-label {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 18px;
    color: #064905;
    margin-bottom: 8px;
    padding: 0;
}

.wpforms-field-label .wpforms-required-label {
    color: #FF0000;
}

.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="url"],
.wpforms-field input[type="number"],
.wpforms-field textarea,
.wpforms-field select {
    width: 100%;
    border: none;
    border-radius: 4px;
    background: #F3F3F3;
    padding: 10px 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #000000;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    box-shadow: none;
}

.wpforms-field input:focus,
.wpforms-field textarea:focus,
.wpforms-field select:focus {
    border-bottom: 2px solid #064905;
    box-shadow: none;
}

.wpforms-field textarea {
    resize: vertical;
    min-height: 160px;
}

.wpforms-submit-container {
    text-align: center;
    margin-top: 10px;
    padding: 0;
}

.wpforms-submit {
    display: inline-block;
    background: #064905;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 36px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.25s ease;
    box-shadow: none;
}

.wpforms-submit:hover {
    background: #0A4209;
}

/* Hide WPForms default spinner */
.wpforms-submit-spinner {
    display: none !important;
}

/* Override WPForms modern mode defaults */
.wpforms-render-modern .wpforms-field input,
.wpforms-render-modern .wpforms-field textarea,
.wpforms-render-modern .wpforms-field select {
    background: #F3F3F3;
    border: none;
    border-radius: 4px;
    padding: 10px 0;
    box-shadow: none;
}

.wpforms-render-modern .wpforms-field input:focus,
.wpforms-render-modern .wpforms-field textarea:focus {
    border-bottom: 2px solid #064905;
    box-shadow: none;
}

/* ---- Contact Footer ---- */
.contact-footer {
    position: relative;
    width: 1920px;
    height: 150px;
    background: #FFFFFF;
    border-top: 1px solid #EDE8DD;
    margin-top: 0;
}

.contact-footer .cf-phone-icon {
    position: absolute;
    width: 56px;
    height: 56px;
    left: 382px;
    top: 47px;
    background: #FFFFFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B18B41;
    font-size: 40px;
}

.contact-footer .cf-phone-text {
    position: absolute;
    left: 454px;
    top: 55px;
}

.contact-footer .cf-email-icon {
    position: absolute;
    width: 56px;
    height: 56px;
    left: 684px;
    top: 47px;
    background: #FFFFFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B18B41;
    font-size: 50px;
}

.contact-footer .cf-email-text {
    position: absolute;
    left: 760px;
    top: 55px;
}

.contact-footer .cf-text-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 18px;
    text-transform: uppercase;
    color: #B18B41;
    letter-spacing: 1px;
}

.contact-footer .cf-text-value {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 18px;
    text-transform: uppercase;
    color: #B18B41;
    letter-spacing: 1px;
    margin-top: 6px;
}

.contact-footer .cf-divider {
    position: absolute;
    width: 1px;
    height: 94px;
    left: 1182px;
    top: 28px;
    background: #B18B41;
}

.contact-footer .cf-socials {
    position: absolute;
    left: 1240px;
    top: 49px;
    display: flex;
    gap: 32px;
}

.contact-footer .cf-social {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #B18B41;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 32px;
    text-decoration: none;
    transition: background 0.25s ease;
}

.contact-footer .cf-social:hover {
    background: #946F30;
}
