﻿/* ============================================
   KCBST Style Sheet
   Last updated: 2026-09-30
   ============================================ */

/* Root Variables */
:root {
    --dark-blue: #1B3C73;
    --gold: #D4A017;
    --light-gold: #E6B923;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
    --medium-gray: #555555;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
}

/* General Body Styling */
body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background-color: var(--dark-blue);
    padding: 15px 20px;
    color: var(--white);
}

.header .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header .logo {
    width: 150px;
    height: auto;
}

/* Navbar */
.navbar {
    background-color: transparent;
    padding: 0;
    flex-grow: 1;
}

.navbar .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 8px 12px;
}

.navbar .nav-link:hover {
    color: var(--gold) !important;
}

.navbar .dropdown-menu {
    background-color: var(--dark-blue);
    border: none;
}

.navbar .dropdown-item {
    color: var(--white);
}

.navbar .dropdown-item:hover {
    background-color: var(--gold);
    color: var(--dark-blue);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background-color: var(--dark-blue);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
    margin-top: 0;
    box-shadow: 0 0 10px var(--shadow-light);
}

.hero-section h1,
.hero-section h2 {
    margin: 0 0 15px;
    font-size: 2rem;
    color: var(--white);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero-section .btn-info {
    display: inline-block;
    margin-top: 10px;
}

/* ============================================
   MAIN CONTAINERS
   ============================================ */
.mission-section,
.about-section,
.academics-section,
.facilities-section,
.events-section,
.contact-section,
.privacy-section,
.terms-section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 40px 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

/* ============================================
   HEADINGS
   ============================================ */
.section-title {
    font-size: 2rem;
    color: var(--dark-blue);
    position: relative;
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    width: 50px;
    height: 3px;
    background-color: var(--gold);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.mission-title {
    font-size: 2.2rem;
    color: var(--dark-blue);
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    position: relative;
}

.mission-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: var(--gold);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.subsection {
    margin-bottom: 30px;
}

.subsection-title {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
    border-left: 4px solid var(--gold);
    padding-left: 10px;
}

.subsection p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    line-height: 1.8;
}

/* ============================================
   TEXT CONTENT
   ============================================ */
.mission-intro,
.section-intro {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

.mission-intro {
    font-size: 1.3rem;
    font-style: italic;
    text-align: center;
}

.mission-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--medium-gray);
}

.mission-body p {
    margin-bottom: 20px;
}

.section-subintro {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-weight: 500;
}

/* Highlight spans */
.highlight {
    color: var(--gold);
    font-weight: bold;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-info,
.btn-search,
.btn-contact {
    background-color: var(--gold);
    color: var(--dark-blue);
    border: none;
    padding: 10px 24px;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-info:hover,
.btn-search:hover,
.btn-contact:hover {
    background-color: var(--light-gold);
    color: var(--dark-blue);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Info form wrapper — centers the button */
.info-form {
    max-width: 500px;
    margin: 20px auto;
    text-align: center;
}

/* ============================================
   CURRICULUM LIST
   ============================================ */
.curriculum-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.curriculum-list li {
    padding: 10px 15px;
    background-color: #F9F9F9;
    margin-bottom: 10px;
    border-radius: 5px;
    transition: transform 0.2s ease;
}

.curriculum-list li:hover {
    transform: translateX(5px);
    background-color: #F0F2F5;
}

/* ============================================
   CAREER GRID
   ============================================ */
.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.career-item {
    background-color: var(--light-gray);
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    font-weight: 500;
    color: var(--dark-blue);
    box-shadow: 0 0 5px var(--shadow-light);
}

/* ============================================
   FACILITIES
   ============================================ */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.facility-item {
    background-color: #F9F9F9;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 5px var(--shadow-light);
    transition: transform 0.2s ease;
}

.facility-item:hover {
    transform: translateY(-3px);
}

.facility-title {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 5px;
}

.facility-list {
    list-style: none;
    padding: 0;
}

.facility-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--medium-gray);
}

/* ============================================
   WHY CHOOSE KCBST
   ============================================ */
.why-choose {
    margin-bottom: 30px;
}

.why-choose p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.highlight-icon {
    font-size: 1.5rem;
    margin-right: 10px;
    color: var(--gold);
}

.enhance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.enhance-item {
    background-color: var(--light-gray);
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    font-weight: 500;
    color: var(--dark-blue);
    box-shadow: 0 0 5px var(--shadow-light);
}

/* ============================================
   EVENTS
   ============================================ */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.event-card {
    background-color: #F9F9F9;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 5px var(--shadow-light);
    transition: transform 0.2s ease;
}

.event-card:hover {
    transform: translateY(-3px);
}

.past-event {
    background-color: #F0F2F5;
    opacity: 0.9;
}

.event-title {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.event-date,
.event-time,
.event-desc {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 8px;
}

.deadline-list {
    margin-bottom: 30px;
}

.deadline-item {
    background-color: #F9F9F9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 0 5px var(--shadow-light);
}

.deadline-item p {
    margin: 5px 0;
    color: var(--medium-gray);
}

/* ============================================
   SOCIAL SHARING BUTTONS
   ============================================ */
.social-share {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.social-share a {
    background-color: var(--gold);
    color: var(--dark-blue);
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.social-share a:hover {
    background-color: var(--light-gold);
    color: var(--dark-blue);
    text-decoration: none;
}

/* ============================================
   SOCIAL LINKS (FOOTER)
   ============================================ */
.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 15px 0;
}

.footer .social-link {
    display: inline-flex;
    align-items: center;
    font-size: 1.2rem;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .social-link:hover {
    color: var(--gold);
    text-decoration: none;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
    max-width: 700px;
    margin: 0 auto 30px;
    padding: 20px;
    background-color: #F9F9F9;
    border-radius: 5px;
    box-shadow: 0 0 5px var(--shadow-light);
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.contact-form .form-control {
    border: 1px solid var(--gold);
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--dark-blue);
    box-shadow: 0 0 5px rgba(27, 60, 115, 0.3);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.contact-info {
    text-align: center;
}

.info-title {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* ============================================
   FOUNDER MESSAGE (About Page)
   ============================================ */
.founder-message {
    background-color: #E8ECEF;
    padding: 20px;
    border-left: 5px solid var(--gold);
    border-radius: 5px;
    margin-top: 20px;
    font-style: italic;
    color: var(--dark-gray);
}

.founder-message p {
    margin-bottom: 15px;
}

/* ============================================
   PRIVACY & TERMS LISTS
   ============================================ */
.last-updated {
    font-size: 1.1rem;
    color: var(--medium-gray);
    text-align: center;
    margin-bottom: 20px;
    font-style: italic;
}

.privacy-item,
.terms-item {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #F9F9F9;
    border-radius: 5px;
    box-shadow: 0 0 5px var(--shadow-light);
}

.privacy-item p,
.terms-item p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 10px;
}

.privacy-list,
.terms-list {
    list-style: none;
    padding: 0;
}

.privacy-list li,
.terms-list li {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.privacy-list li::before {
    content: "✔";
    color: var(--gold);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.terms-list li::before {
    content: "➤";
    color: var(--gold);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* ============================================
   BACK TO MENU FLOATING BUTTON
   ============================================ */
.back-to-menu {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--gold);
    color: var(--dark-blue);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    box-shadow: 0 2px 5px var(--shadow-medium);
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 1000;
}

.back-to-menu:hover {
    background-color: var(--light-gold);
    color: var(--dark-blue);
    text-decoration: none;
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
    margin-top: auto;
    width: 100%;
}

.footer p {
    margin: 8px 0;
    font-size: 1rem;
}

.footer a {
    color: var(--gold);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
    color: var(--gold);
}

/* ============================================
   RESPONSIVE — TABLET & MOBILE
   ============================================ */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 15px;
    }

    .hero-section h1,
    .hero-section h2 {
        font-size: 1.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .section-title,
    .mission-title {
        font-size: 1.6rem;
    }

    .subsection-title {
        font-size: 1.3rem;
    }

    .curriculum-list li {
        padding: 8px 10px;
    }

    .career-grid,
    .facility-grid,
    .event-grid,
    .enhance-grid {
        grid-template-columns: 1fr;
    }

    .facility-title,
    .event-title {
        font-size: 1.2rem;
    }

    .facility-list li,
    .event-date,
    .event-time,
    .event-desc {
        font-size: 1rem;
    }

    .contact-form {
        padding: 15px;
    }

    .btn-contact,
    .btn-info,
    .btn-search {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .info-title {
        font-size: 1.3rem;
    }

    .contact-info p,
    .mission-intro,
    .section-intro {
        font-size: 1rem;
    }

    .privacy-item p,
    .privacy-list li,
    .terms-item p,
    .terms-list li {
        font-size: 1rem;
    }

    /* Header stacks on mobile */
    .header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .header .navbar {
        width: 100%;
    }

    .navbar-nav {
        flex-direction: column;
    }
}