/* ============================================================
   Kingster High School - Main Stylesheet
   Inspired by: https://demo.goodlayers.com/kingster/highschool/
   ============================================================ */

/* --- CSS Variables / Theme Colors --- */
:root {
    --kingster-primary: #192f59;
    --kingster-primary-dark: #0f1e3a;
    --kingster-accent: #3db166;
    --kingster-accent-hover: #2d8a4e;
    --kingster-gold: #f5a623;
    --kingster-text: #555555;
    --kingster-heading: #192f59;
    --kingster-light-bg: #f7f7f7;
    --kingster-white: #ffffff;
    --kingster-border: #e8e8e8;
    --kingster-font-heading: 'Montserrat', sans-serif;
    --kingster-font-body: 'Open Sans', sans-serif;
    --kingster-transition: all 0.3s ease;
    --kingster-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    --kingster-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--kingster-font-body);
    color: var(--kingster-text);
    line-height: 1.7;
    overflow-x: hidden;
    margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--kingster-font-heading);
    color: var(--kingster-heading);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--kingster-primary);
    transition: var(--kingster-transition);
}

a:hover {
    color: var(--kingster-accent);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
}

/* --- Section Common Styles --- */
.section-tag {
    display: inline-block;
    font-family: var(--kingster-font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--kingster-accent);
    margin-bottom: 12px;
    position: relative;
    padding-left: 45px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: var(--kingster-accent);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--kingster-heading);
    margin-bottom: 15px;
}

.section-title span {
    color: var(--kingster-accent);
}

.section-desc {
    font-size: 1.05rem;
    color: #777;
    max-width: 650px;
    margin: 0 auto 40px;
}

.section-header {
    margin-bottom: 50px;
}

/* --- Buttons --- */
.btn-kingster-primary {
    display: inline-block;
    font-family: var(--kingster-font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 36px;
    background: var(--kingster-accent);
    color: var(--kingster-white);
    border-radius: 4px;
    border: 2px solid var(--kingster-accent);
    transition: var(--kingster-transition);
    cursor: pointer;
}

.btn-kingster-primary:hover {
    background: var(--kingster-accent-hover);
    border-color: var(--kingster-accent-hover);
    color: var(--kingster-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(61, 177, 102, 0.3);
}

.btn-kingster-outline {
    display: inline-block;
    font-family: var(--kingster-font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 36px;
    background: transparent;
    color: var(--kingster-white);
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--kingster-transition);
    cursor: pointer;
}

.btn-kingster-outline:hover {
    background: var(--kingster-white);
    color: var(--kingster-primary);
    border-color: var(--kingster-white);
    transform: translateY(-2px);
}

.btn-kingster-outline-white {
    display: inline-block;
    font-family: var(--kingster-font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 36px;
    background: transparent;
    color: var(--kingster-white);
    border-radius: 4px;
    border: 2px solid var(--kingster-white);
    transition: var(--kingster-transition);
    cursor: pointer;
}

.btn-kingster-outline-white:hover {
    background: var(--kingster-white);
    color: var(--kingster-primary);
    transform: translateY(-2px);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.kingster-top-bar {
    background: var(--kingster-primary);
    padding: 10px 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left span {
    margin-right: 25px;
}

.top-bar-left i {
    color: var(--kingster-accent);
    margin-right: 6px;
    font-size: 0.8rem;
}

.top-bar-right a {
    color: rgba(255, 255, 255, 0.85);
    margin-left: 15px;
    font-size: 0.85rem;
    transition: var(--kingster-transition);
}

.top-bar-right a:hover {
    color: var(--kingster-accent);
}

/* ============================================================
   HEADER / NAVIGATION - Modern Redesign
   ============================================================ */

/* --- Navbar Slide-Down Animation --- */
@keyframes kingsterNavSlideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    60% {
        transform: translateY(5px);
        opacity: 1;
    }
    80% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.kingster-header {
    background: #0f1e3a;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    animation: kingsterNavSlideDown 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.kingster-header.scrolled {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    min-height: 90px;
}

/* --- Logo --- */
.kingster-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.kingster-logo a {
    display: flex;
    align-items: center;
}

.kingster-logo img {
    height: 55px;
    width: auto;
    max-height: none;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.kingster-logo img:hover {
    transform: scale(1.03);
}

/* --- Desktop Navigation --- */
.kingster-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.kingster-navigation .main-menu {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 2px;
}

.kingster-navigation .menu-item {
    position: relative;
}

.kingster-navigation .menu-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--kingster-font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    padding: 34px 16px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

/* --- Menu Item Hover Underline Animation --- */
.kingster-navigation .menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 28px;
    left: 16px;
    right: 16px;
    height: 2.5px;
    background: var(--kingster-accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

.kingster-navigation .menu-item > a:hover::after,
.kingster-navigation .menu-item.active > a::after {
    transform: scaleX(1);
}

.kingster-navigation .menu-item.active > a,
.kingster-navigation .menu-item > a:hover {
    color: var(--kingster-accent);
}

/* --- Dropdown Arrow Rotation on Hover --- */
.kingster-navigation .menu-item > a i {
    font-size: 0.55rem;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

.kingster-navigation .menu-item-has-children:hover > a i {
    transform: rotate(180deg);
}

/* --- Dropdown / Sub-menu --- */
.kingster-navigation .sub-menu {
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    background: var(--kingster-white);
    list-style: none;
    min-width: 230px;
    padding: 12px 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border-top: 3px solid var(--kingster-accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    z-index: 999;
}

.kingster-navigation .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kingster-navigation .sub-menu li a {
    display: block;
    font-family: var(--kingster-font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--kingster-text);
    padding: 11px 28px;
    transition: all 0.25s ease;
    position: relative;
}

.kingster-navigation .sub-menu li a::before {
    content: '';
    position: absolute;
    left: 28px;
    bottom: 8px;
    width: 0;
    height: 1.5px;
    background: var(--kingster-accent);
    transition: width 0.3s ease;
}

.kingster-navigation .sub-menu li a:hover {
    background: rgba(61, 177, 102, 0.04);
    color: var(--kingster-accent);
    padding-left: 34px;
}

.kingster-navigation .sub-menu li a:hover::before {
    width: 18px;
}

/* --- Header Actions --- */
.kingster-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

/* --- Search Icon with Scale Effect --- */
.kingster-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

.kingster-search-btn:hover {
    color: var(--kingster-accent);
    background: rgba(61, 177, 102, 0.15);
    transform: scale(1.12);
}

/* --- Apply Now Button - Premium Style --- */
.kingster-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--kingster-font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 13px 30px;
    background: linear-gradient(135deg, var(--kingster-accent) 0%, #2d9a52 100%);
    color: var(--kingster-white) !important;
    border-radius: 30px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    box-shadow: 0 4px 14px rgba(61, 177, 102, 0.25);
    z-index: 1;
}

/* Apply Now shimmer effect */
.kingster-apply-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.kingster-apply-btn:hover::before {
    left: 100%;
}

.kingster-apply-btn:hover {
    background: linear-gradient(135deg, var(--kingster-accent-hover) 0%, #237a40 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(61, 177, 102, 0.4);
    color: var(--kingster-white) !important;
}

.kingster-apply-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(61, 177, 102, 0.3);
}

/* --- Mobile Toggle (Hamburger) --- */
.kingster-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.kingster-mobile-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    transform-origin: center;
}

/* Hamburger to X animation */
.kingster-mobile-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.kingster-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.kingster-mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* --- Mobile Menu --- */
.kingster-mobile-menu {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    height: 100vh;
    background: var(--kingster-white);
    z-index: 2000;
    padding: 30px 28px;
    overflow-y: auto;
    transition: right 0.45s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
}

.kingster-mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    font-size: 1.8rem;
    color: var(--kingster-heading);
    cursor: pointer;
    text-align: right;
    margin-bottom: 25px;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    float: right;
}

.mobile-menu-close:hover {
    color: var(--kingster-accent);
    transform: rotate(90deg);
}

.kingster-mobile-menu ul {
    list-style: none;
    padding: 0;
    clear: both;
}

.kingster-mobile-menu ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.kingster-mobile-menu ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--kingster-font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--kingster-heading);
    padding: 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.kingster-mobile-menu ul li a:hover {
    color: var(--kingster-accent);
    padding-left: 6px;
}

.kingster-mobile-menu ul li.active > a {
    color: var(--kingster-accent);
}

.kingster-mobile-menu .mobile-sub-menu {
    padding-left: 16px;
    display: none;
    animation: mobileSubmenuSlide 0.35s ease forwards;
}

@keyframes mobileSubmenuSlide {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.kingster-mobile-menu .mobile-sub-menu li {
    border-bottom: none;
}

.kingster-mobile-menu .mobile-sub-menu li a {
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: none;
    padding: 10px 0;
    letter-spacing: 0.3px;
}

.kingster-mobile-menu .has-submenu.open .mobile-sub-menu {
    display: block;
}

.kingster-mobile-menu .has-submenu > a i {
    font-size: 0.55rem;
    transition: transform 0.35s ease;
}

.kingster-mobile-menu .has-submenu.open > a i {
    transform: rotate(180deg);
}

.kingster-mobile-menu .mobile-apply {
    margin-top: 25px;
    text-align: center;
    display: block;
    border-radius: 30px;
}

/* --- Mobile Overlay --- */
.kingster-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 30, 58, 0.55);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.kingster-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================================
   HERO CAROUSEL SECTION
   ============================================================ */
.kingster-hero-carousel {
    position: relative;
    overflow: hidden;
}

.kingster-hero-carousel .carousel {
    position: relative;
}

.kingster-hero-carousel .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* All slides stacked absolutely — pure opacity cross-fade, no display toggling */
.kingster-hero-carousel .carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    float: none;
    display: block;
    width: 100%;
    min-height: 650px;
    opacity: 0;
    z-index: 0;
    transition: opacity 1s ease-in-out;
    backface-visibility: hidden;
    will-change: opacity;
}

.kingster-hero-carousel .carousel-item.active {
    position: relative;
    opacity: 1;
    z-index: 1;
}

.kingster-hero-carousel .carousel-item.carousel-item-next.carousel-item-start,
.kingster-hero-carousel .carousel-item.carousel-item-prev.carousel-item-end,
.kingster-hero-carousel .carousel-item.active.carousel-item-start,
.kingster-hero-carousel .carousel-item.active.carousel-item-end {
    opacity: 0;
}

/* Carousel Background Image — static, no zoom animation */
.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Carousel Overlay */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 30, 58, 0.88) 0%, rgba(15, 30, 58, 0.55) 60%, rgba(15, 30, 58, 0.75) 100%);
    z-index: 1;
}

/* Carousel Content */
.carousel-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 100px 0;
}

.carousel-tag {
    display: inline-block;
    background: var(--kingster-accent);
    color: var(--kingster-white);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.carousel-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--kingster-white);
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s 0.1s ease, transform 0.6s 0.1s ease;
}

.carousel-title span {
    color: var(--kingster-accent);
}

.carousel-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s 0.2s ease, transform 0.6s 0.2s ease;
}

.carousel-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s 0.3s ease, transform 0.6s 0.3s ease;
}

/* Reveal content on active slide */
.kingster-hero-carousel .carousel-item.active .carousel-tag,
.kingster-hero-carousel .carousel-item.active .carousel-title,
.kingster-hero-carousel .carousel-item.active .carousel-subtitle,
.kingster-hero-carousel .carousel-item.active .carousel-buttons {
    opacity: 1;
    transform: translateY(0);
}

/* Carousel Indicators */
.kingster-hero-carousel .carousel-indicators {
    z-index: 3;
    bottom: 30px;
    margin: 0;
    gap: 10px;
}

.kingster-hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0;
    box-sizing: border-box;
}

.kingster-hero-carousel .carousel-indicators button.active {
    background: var(--kingster-accent);
    border-color: var(--kingster-accent);
    transform: scale(1.2);
}

/* Carousel Controls */
.kingster-hero-carousel .carousel-control-prev,
.kingster-hero-carousel .carousel-control-next {
    width: 55px;
    height: 55px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
    margin: 0 20px;
    backdrop-filter: blur(4px);
}

.kingster-hero-carousel:hover .carousel-control-prev,
.kingster-hero-carousel:hover .carousel-control-next {
    opacity: 1;
}

.kingster-hero-carousel .carousel-control-prev:hover,
.kingster-hero-carousel .carousel-control-next:hover {
    background: var(--kingster-accent);
}

.kingster-hero-carousel .carousel-control-prev-icon,
.kingster-hero-carousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.kingster-features {
    padding: 80px 0;
    background: var(--kingster-white);
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: var(--kingster-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--kingster-shadow);
    text-align: center;
    transition: var(--kingster-transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--kingster-shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(61, 177, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--kingster-accent);
    transition: var(--kingster-transition);
}

.feature-card:hover .feature-icon {
    background: var(--kingster-accent);
    color: var(--kingster-white);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-desc {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-link {
    font-family: var(--kingster-font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--kingster-accent);
}

.feature-link i {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: var(--kingster-transition);
}

.feature-link:hover i {
    transform: translateX(5px);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.kingster-about {
    padding: 100px 0;
    background: var(--kingster-light-bg);
}

.about-image-wrapper {
    position: relative;
}

.about-main-img {
    border-radius: 8px;
    box-shadow: var(--kingster-shadow);
}

.about-experience-badge {
    position: absolute;
    bottom: -25px;
    right: 30px;
    background: var(--kingster-accent);
    color: var(--kingster-white);
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(61, 177, 102, 0.3);
}

.exp-years {
    display: block;
    font-family: var(--kingster-font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    padding-left: 20px;
}

.about-text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-features-list {
    margin: 25px 0 30px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--kingster-heading);
    font-weight: 600;
}

.about-feature-item i {
    color: var(--kingster-accent);
    font-size: 1.2rem;
}

/* ============================================================
   COURSES SECTION
   ============================================================ */
.kingster-courses {
    padding: 100px 0;
    background: var(--kingster-white);
}

.course-card {
    background: var(--kingster-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--kingster-shadow);
    transition: var(--kingster-transition);
    height: 100%;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--kingster-shadow-hover);
}

.course-image {
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.08);
}

.course-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--kingster-accent);
    color: var(--kingster-white);
    font-family: var(--kingster-font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 3px;
}

.course-body {
    padding: 25px;
}

.course-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-title a {
    color: var(--kingster-heading);
}

.course-title a:hover {
    color: var(--kingster-accent);
}

.course-desc {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 18px;
    line-height: 1.7;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #999;
    padding-top: 15px;
    border-top: 1px solid var(--kingster-border);
}

.course-meta i {
    color: var(--kingster-accent);
    margin-right: 5px;
}

/* ============================================================
   STATS COUNTER SECTION
   ============================================================ */
.kingster-stats {
    position: relative;
    background: url('https://demo.goodlayers.com/kingster/highschool/wp-content/uploads/sites/3/2019/05/parallax-1-idbf.jpg') center/cover fixed;
    padding: 90px 0;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 47, 89, 0.88);
}

.stat-item {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--kingster-white);
    padding: 20px;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--kingster-accent);
    margin-bottom: 15px;
}

.stat-number {
    font-family: var(--kingster-font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-family: var(--kingster-font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ============================================================
   EVENTS SECTION
   ============================================================ */
.kingster-events {
    padding: 100px 0;
    background: var(--kingster-light-bg);
}

.event-card {
    display: flex;
    background: var(--kingster-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--kingster-shadow);
    transition: var(--kingster-transition);
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--kingster-shadow-hover);
}

.event-date {
    background: var(--kingster-accent);
    color: var(--kingster-white);
    padding: 25px 20px;
    text-align: center;
    min-width: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-day {
    display: block;
    font-family: var(--kingster-font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.event-month {
    display: block;
    font-family: var(--kingster-font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.event-content {
    padding: 25px;
    flex: 1;
}

.event-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.event-title a {
    color: var(--kingster-heading);
}

.event-title a:hover {
    color: var(--kingster-accent);
}

.event-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #999;
}

.event-meta i {
    color: var(--kingster-accent);
    margin-right: 5px;
}

.event-desc {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.kingster-testimonials {
    padding: 100px 0;
    background: var(--kingster-white);
}

.testimonial-card {
    background: var(--kingster-light-bg);
    padding: 35px 30px;
    border-radius: 8px;
    position: relative;
    transition: var(--kingster-transition);
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: var(--kingster-shadow);
    transform: translateY(-5px);
}

.testimonial-quote {
    font-size: 2.5rem;
    color: var(--kingster-accent);
    opacity: 0.3;
    margin-bottom: 15px;
    line-height: 1;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.author-info span {
    font-size: 0.82rem;
    color: #999;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.kingster-cta {
    position: relative;
    background: url('https://demo.goodlayers.com/kingster/highschool/wp-content/uploads/sites/3/2019/05/cta-bg-idbf.jpg') center/cover fixed;
    padding: 100px 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 47, 89, 0.9);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--kingster-white);
    margin-bottom: 20px;
}

.cta-title span {
    color: var(--kingster-accent);
}

.cta-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.kingster-footer {
    background: var(--kingster-primary-dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer-widgets {
    padding: 80px 0 50px;
}

.footer-widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--kingster-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--kingster-accent);
    border-radius: 2px;
}

.footer-widget p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: var(--kingster-transition);
}

.footer-social a:hover {
    background: var(--kingster-accent);
    color: var(--kingster-white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--kingster-transition);
}

.footer-links li a i {
    font-size: 0.65rem;
    margin-right: 8px;
    color: var(--kingster-accent);
}

.footer-links li a:hover {
    color: var(--kingster-accent);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    font-size: 0.9rem;
    display: flex;
    gap: 12px;
    line-height: 1.6;
}

.footer-contact li i {
    color: var(--kingster-accent);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-newsletter {
    display: flex;
    margin-top: 15px;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--kingster-white);
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
    outline: none;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter button {
    padding: 12px 18px;
    background: var(--kingster-accent);
    color: var(--kingster-white);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--kingster-transition);
}

.footer-newsletter button:hover {
    background: var(--kingster-accent-hover);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
}

.footer-bottom-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.footer-bottom-links li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-bottom-links li a:hover {
    color: var(--kingster-accent);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.kingster-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--kingster-accent);
    color: var(--kingster-white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--kingster-transition);
    box-shadow: 0 5px 20px rgba(61, 177, 102, 0.3);
}

.kingster-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kingster-back-to-top:hover {
    background: var(--kingster-accent-hover);
    color: var(--kingster-white);
    transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */
@media (max-width: 1199px) {
    .kingster-navigation .menu-item > a {
        padding: 34px 10px;
        font-size: 0.76rem;
    }
}

@media (max-width: 991px) {
    .kingster-navigation,
    .kingster-header-actions .kingster-search-btn,
    .kingster-header-actions .kingster-apply-btn {
        display: none;
    }

    .kingster-mobile-toggle {
        display: flex;
    }

    .carousel-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .kingster-hero-carousel .carousel-item {
        min-height: 500px;
    }

    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .about-experience-badge {
        right: 10px;
        bottom: -20px;
        padding: 15px 20px;
    }

    .exp-years {
        font-size: 2rem;
    }

    .top-bar-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .top-bar-left span {
        margin-right: 10px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .carousel-title {
        font-size: 2rem;
    }

    .carousel-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .kingster-hero-carousel .carousel-item {
        min-height: 420px;
    }

    .kingster-features {
        margin-top: -30px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        flex-direction: row;
        gap: 8px;
        padding: 15px 20px;
        align-items: center;
        justify-content: center;
    }

    .event-day {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .carousel-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-buttons {
        align-items: center;
    }

    .kingster-features,
    .kingster-about,
    .kingster-courses,
    .kingster-stats,
    .kingster-events,
    .kingster-testimonials,
    .kingster-cta {
        padding: 60px 0;
    }
}

@media (max-width: 575px) {
    .carousel-title {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-kingster-primary,
    .btn-kingster-outline,
    .btn-kingster-outline-white {
        padding: 14px 28px;
        font-size: 0.8rem;
    }

    .kingster-mobile-menu {
        width: 280px;
    }
}