/*-----------------------------------------------------------------------------------
    ARMY GREEN DOMINANT — Institutional Heritage Theme
    Palette: Command Green / Bronze / Parchment / Obsidian
    Font: Playfair Display (display) + Outfit (body)
    Direction: Military-heritage meets modern institutional authority
-----------------------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

/*----------------------------------------*/
/*  Design Tokens
/*----------------------------------------*/

:root {
    /* ── Army Green — DOMINANT ── */
    --g-050: #f0f5f0;
    --g-100: #d6e8d6;
    --g-200: #acd1ac;
    --g-300: #6faa6f;
    --g-400: #3a7d3a;   /* primary action */
    --g-500: #1c6b1c;   /* brand core */
    --g-600: #145214;
    --g-700: #0f3f0f;
    --g-800: #0a2c0a;
    --g-900: #061806;

    /* ── Gold — accent warmth ── */
    --b-100: #fef9d7;
    --b-200: #fdf0a0;
    --b-300: #f0d940;
    --b-400: #dbc80f;   /* gold primary */
    --b-500: #c0a80a;
    --b-600: #9c8507;

    /* ── Parchment — warm neutral base ── */
    --p-050: #fdfbf7;
    --p-100: #f5f0e8;
    --p-200: #ede5d5;
    --p-300: #d9ceba;

    /* ── Obsidian — deep type ── */
    --ink-900: #0e0f0c;
    --ink-800: #1a1c18;
    --ink-700: #2c2f28;
    --ink-600: #454840;
    --ink-500: #666960;
    --ink-400: #909380;
    --ink-300: #b8baa8;
    --ink-200: #d8dac8;
    --ink-100: #eceee0;
    --ink-050: #f7f8f2;

    --white: #ffffff;
    --black: #060606;

    /* ── Shadows ── */
    --shadow-xs:     0 1px 3px rgba(0,0,0,.07);
    --shadow-sm:     0 2px 8px rgba(0,0,0,.09);
    --shadow-md:     0 6px 24px rgba(0,0,0,.10);
    --shadow-lg:     0 16px 48px rgba(0,0,0,.13);
    --shadow-g-sm:   0 4px 16px rgba(28,107,28,.22);
    --shadow-g-lg:   0 12px 36px rgba(28,107,28,.20);
    --shadow-b-sm:   0 4px 14px rgba(219,200,15,.35);

    /* ── Motion ── */
    --ease:     cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
    --dur-fast: 160ms;
    --dur-base: 260ms;
    --dur-slow: 440ms;

    /* ── Radii ── */
    --r-xs:   4px;
    --r-sm:   8px;
    --r-md:  14px;
    --r-lg:  22px;
    --r-xl:  36px;
    --r-pill: 999px;

    /* ── Spacing ── */
    --section-py: 9rem;
}

/*----------------------------------------*/
/*  Reset & Base
/*----------------------------------------*/

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*:focus-visible {
    outline: 2px solid var(--g-400);
    outline-offset: 3px;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--p-050);   /* warm parchment base — not clinical white */
    color: var(--ink-600);
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.01em;
}

::selection {
    background: var(--g-500);
    color: var(--white);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--g-500);
    text-decoration: none;
    transition: color var(--dur-base) var(--ease);
}

a:hover { color: var(--g-400); }

ul { list-style: none; }

/*----------------------------------------*/
/*  Typography
/*----------------------------------------*/

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.15;
    letter-spacing: -0.015em;
}

h1 { font-size: clamp(3.8rem, 5.5vw, 6.2rem); }
h2 { font-size: clamp(3rem, 4.2vw, 4.6rem); }
h3 { font-size: clamp(2.4rem, 3.2vw, 3.2rem); }
h4 { font-size: 2.4rem; }
h5 { font-size: 2rem; }
h6 { font-size: 1.8rem; }

p {
    font-size: 1.6rem;
    line-height: 1.85;
    color: var(--ink-500);
}

blockquote {
    border-left: 4px solid var(--g-500);
    padding: 2rem 2.5rem;
    margin: 3rem 0;
    background: var(--g-050);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-style: italic;
    color: var(--ink-600);
    position: relative;
}

blockquote::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: var(--g-200);
    position: absolute;
    top: -1rem;
    left: 1.5rem;
    line-height: 1;
}

/*----------------------------------------*/
/*  Utility
/*----------------------------------------*/

.no-mar { margin: 0 !important; }
.no-pad { padding: 0 !important; }
.clear  { clear: both; }
.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

.mar-bot-50 { margin-bottom: 5rem; }
.mar-bot-40 { margin-bottom: 4rem; }
.mar-bot-35 { margin-bottom: 3.5rem; }
.mar-bot-30 { margin-bottom: 3rem; }
.mar-top-30 { margin-top: 3rem; }
.mar-top-55 { margin-top: 5.5rem; }
.mar-top-80 { margin-top: 8rem; }
.mar-top-108{ margin-top: 10.8rem; }

/*----------------------------------------*/
/*  Preloader
/*----------------------------------------*/

div#preloader {
    position: fixed;
    inset: 0;
    background: var(--g-900);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

div#preloader::after {
    content: '';
    width: 52px;
    height: 52px;
    border: 3px solid rgba(255,255,255,.15);
    border-top-color: var(--b-400);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/*----------------------------------------*/
/*  Print
/*----------------------------------------*/

@media print {
    header, footer, .page-breadcumb-area, .no-print { display: none; }
    .admission-form, .content-area, .container { width: 92% !important; }
    .admission-form { border: 1px solid var(--g-500); }
    @page { margin: 1cm; }
    .admission-form-title { margin: 10px 0 5px; background: var(--g-050); padding-left: 10px; }
}

/*----------------------------------------*/
/*  Buttons
/*----------------------------------------*/

/* Primary — army green */
.glbscl-link-btn {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    background: var(--g-500);
    color: var(--white) !important;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1.4rem 3rem;
    border: 2px solid var(--g-500);
    border-radius: var(--r-pill);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
        background var(--dur-base) var(--ease),
        border-color var(--dur-base) var(--ease),
        box-shadow var(--dur-base) var(--ease),
        transform var(--dur-fast) var(--ease);
}

/* Bronze shimmer on hover — contained inside overflow:hidden */
.glbscl-link-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(219,200,15,.35) 50%, transparent 60%);
    opacity: 0;
    transition: opacity var(--dur-base) var(--ease);
}

.glbscl-link-btn:hover {
    background: var(--g-600);
    border-color: var(--g-600);
    box-shadow: var(--shadow-g-lg);
    transform: translateY(-2px);
}

.glbscl-link-btn:hover::before { opacity: 1; }
.glbscl-link-btn:active { transform: translateY(0); }

/* Bronze accent variant */
.glbscl-link-btn--bronze {
    background: var(--b-400);
    border-color: var(--b-400);
    color: var(--white) !important;
}

.glbscl-link-btn--bronze:hover {
    background: var(--b-500);
    border-color: var(--b-500);
    box-shadow: var(--shadow-b-sm);
}

/* Ghost variant */
.glbscl-link-btn--ghost {
    background: transparent;
    border-color: var(--g-400);
    color: var(--g-500) !important;
}

.glbscl-link-btn--ghost:hover {
    background: var(--g-500);
    color: var(--white) !important;
}

/*----------------------------------------*/
/*  Header
/*----------------------------------------*/

header { position: relative; }

/* Top command bar — deep green */
.header-top-area {
    background: var(--g-900);
    padding: 1rem 0;
    border-bottom: 1px solid var(--g-800);
}

.hta-box {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    margin-right: 2.5rem;
}

.hta-box .icon {
    color: var(--b-300);   /* gold icons */
    font-size: 1.35rem;
    flex-shrink: 0;
}

.hta-box .text {
    color: var(--ink-300);
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    transition: color var(--dur-base) var(--ease);
}

.hta-box:hover .text { color: var(--b-300); }

/* Main Nav — white with green accent */
.header-bottom-area {
    background: var(--white);
    border-bottom: 3px solid var(--g-500);   /* strong green border */
    width: 100%;
    z-index: 100;
    transition: box-shadow var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}

.header-bottom-area.navbar-fixed-top {
    position: fixed;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px rgba(28,107,28,.15);
    animation: slideDown var(--dur-slow) var(--ease);
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

/* Logo */
.logo { padding: 1.4rem 0; }

.logo a img {
    height: 58px;
    transition: transform var(--dur-base) var(--ease);
}

.logo a:hover img { transform: scale(1.04); }

/* Desktop Nav */
.menu { text-align: right; }
.menu ul { display: flex; justify-content: flex-end; align-items: center; }
.menu ul li { position: relative; }

.menu ul li > a {
    display: block;
    color: var(--ink-700);
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2.4rem 1.6rem;
    position: relative;
    transition: color var(--dur-base) var(--ease);
}

/* Animated green underbar */
.menu ul li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--g-500);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--dur-base) var(--ease);
}

.menu ul li:hover > a,
.menu ul li.active > a { color: var(--g-600); }

.menu ul li:hover > a::after,
.menu ul li.active > a::after { transform: scaleX(1); }

.menu ul li > a .icon {
    font-size: 1.1rem;
    margin-left: .4rem;
    color: var(--b-400);
    transition: transform var(--dur-base) var(--ease);
}

.menu ul li:hover > a .icon { transform: rotate(180deg); }

/* Dropdown */
.menu ul li .drop {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border: 1px solid var(--g-100);
    border-top: 3px solid var(--g-500);
    border-radius: 0 0 var(--r-md) var(--r-md);
    box-shadow: 0 12px 40px rgba(28,107,28,.15);
    padding: .6rem 0;
    transform-origin: top center;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
    z-index: 200;
    overflow: visible;
}

.menu ul li:nth-last-child(1) .drop,
.menu ul li:nth-last-child(2) .drop { left: auto; right: 0; }

.menu ul li:hover .drop {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
}

.menu ul li .drop li { display: block; }

.menu ul li .drop li > a {
    display: flex;
    align-items: center;
    gap: .8rem;
    color: var(--ink-600);
    font-size: 1.4rem;
    font-weight: 500;
    padding: 1.1rem 2rem;
    letter-spacing: 0.02em;
    transition:
        background var(--dur-fast) var(--ease),
        color var(--dur-fast) var(--ease),
        padding-left var(--dur-fast) var(--ease);
}

.menu ul li .drop li > a::after { display: none; }

.menu ul li .drop li > a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--g-300);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity var(--dur-fast) var(--ease);
}

.menu ul li .drop li > a:hover {
    background: var(--g-050);
    color: var(--g-600);
    padding-left: 2.6rem;
}

.menu ul li .drop li > a:hover::before { opacity: 1; }

/* Third-level */
.menu ul li .drop li .third {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--g-100);
    border-left: 3px solid var(--g-500);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    padding: .6rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-base) var(--ease), visibility var(--dur-base) var(--ease);
}

.menu ul li:nth-last-child(1) .drop li .third,
.menu ul li:nth-last-child(2) .drop li .third { left: auto; right: 100%; }

.menu ul li .drop li:hover .third { opacity: 1; visibility: visible; }

/* Mobile menu */
.mean-container .mean-bar {
    background: var(--g-800) !important;
}

.mean-container .mean-bar::after {
    content: "MENU";
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .15em;
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.mean-container .mean-nav { background: var(--g-900); }

.mean-container .mean-nav ul li a {
    color: var(--ink-200);
    border-top: 1px solid var(--g-800);
    font-size: 1.45rem;
    font-family: 'Outfit', sans-serif;
}

.mean-container .mean-nav ul li a:hover {
    background: var(--g-800);
    color: var(--b-300);
}

/*----------------------------------------*/
/*  Hero Slider
/*----------------------------------------*/

.slider-area { position: relative; overflow: hidden; }

.single-slider { position: relative; height: 680px; }

.single-slider .img { position: absolute; inset: 0; }

.single-slider .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 14s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.07); }
}

/* Deep green dominant overlay — darkest left */
.single-slider .img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(6,24,6,.85) 0%,
        rgba(14,42,14,.60) 45%,
        rgba(10,10,10,.25) 100%
    );
}

/* Vertical green strip on far left — design signature */
.single-slider .img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--b-400), var(--g-400), var(--b-400));
    z-index: 4;
}

.single-slider .content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 6rem;
    z-index: 5;
    max-width: 780px;
}

.single-slider .content .intro {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--b-300);   /* bronze for contrast against green */
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    animation: fadeUp .8s var(--ease) both;
}

.single-slider .content .intro::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--b-400);
    flex-shrink: 0;
}

.single-slider .content .title {
    font-size: clamp(4rem, 6vw, 6.8rem);
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 2.5rem;
    font-weight: 800;
    text-shadow: 0 4px 32px rgba(0,0,0,.4);
    animation: fadeUp .9s var(--ease) .15s both;
}

.single-slider .content .title span { color: var(--b-300); }

.single-slider .content .text-excerpt {
    color: rgba(255,255,255,.75);
    font-size: 1.8rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    animation: fadeUp .95s var(--ease) .25s both;
    max-width: 540px;
}

.single-slider .content .link {
    animation: fadeUp 1s var(--ease) .35s both;
    align-self: flex-start;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0);     }
}

/* Slider dots */
.slider-area .owl-dots {
    position: absolute;
    bottom: 3rem;
    right: 4rem;
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.slider-area .owl-dots .owl-dot {
    width: 3px;
    height: 24px;
    background: rgba(255,255,255,.3);
    border: none;
    border-radius: 2px;
    transition: all var(--dur-base) var(--ease);
    cursor: pointer;
}

.slider-area .owl-dots .owl-dot.active {
    background: var(--b-400);
    height: 48px;
}

/*----------------------------------------*/
/*  Section Title
/*----------------------------------------*/

.section-title {
    margin-bottom: 6rem;
    text-align: center;
}

.section-title .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--b-400);   /* bronze eyebrow */
    margin-bottom: 1.5rem;
}

.section-title .eyebrow::before,
.section-title .eyebrow::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--b-400);
    display: block;
}

.section-title .title {
    font-size: clamp(3rem, 3.8vw, 4.4rem);
    color: var(--ink-900);
    position: relative;
    padding-bottom: 2.5rem;
    display: inline-block;
}

/* Double underline: green + bronze dot */
.section-title .title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    background: var(--g-500);
    border-radius: 2px;
}

.section-title .title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--b-400);
    border-radius: 2px;
}

.section-title .title .inner { color: var(--g-500); }

.section-title .subtitle {
    margin-top: 2rem;
    font-size: 1.75rem;
    color: var(--ink-400);
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/*----------------------------------------*/
/*  Top Banner
/*----------------------------------------*/

.top-banner-area {
    padding: var(--section-py) 0;
    background: var(--p-100);   /* warm parchment */
    position: relative;
}

/* Green left accent bar on section */
.top-banner-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--g-500) 60%, var(--b-400) 100%);
}

.top-banner-content .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--b-400);
    margin-bottom: 1.5rem;
}

.top-banner-content .eyebrow::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--b-400);
}

.top-banner-content .title {
    font-size: clamp(3.2rem, 4.2vw, 4.8rem);
    color: var(--ink-900);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--g-200);
    line-height: 1.12;
}

.top-banner-content .title em {
    font-style: normal;
    color: var(--g-500);
}

.top-banner-content .text {
    font-size: 1.75rem;
    color: var(--ink-500);
    line-height: 1.85;
    margin-bottom: 3.5rem;
}

.top-banner-img {
    position: relative;
    display: inline-block;
    padding: 2.5rem;
}

.top-banner-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--g-500) 0%, var(--g-700) 100%);
    border-radius: var(--r-lg);
    transform: skewY(-2.5deg) skewX(-2.5deg) scale(0.95);
    z-index: -1;
}

/* Bronze corner accent */
.top-banner-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border-bottom: 4px solid var(--b-400);
    border-right: 4px solid var(--b-400);
    border-radius: 0 0 var(--r-md) 0;
    z-index: 1;
}

.top-banner-img img {
    border-radius: var(--r-md);
    position: relative;
    transition: transform var(--dur-slow) var(--ease);
}

.top-banner-img:hover img { transform: scale(1.03); }

/*----------------------------------------*/
/*  Facilities
/*----------------------------------------*/

.facilities-area {
    padding: var(--section-py) 0;
    background: var(--g-900);   /* deep green section — maximum dominance */
    position: relative;
}

.facilities-area .section-title .title { color: var(--white); }
.facilities-area .section-title .subtitle { color: var(--ink-300); }
.facilities-area .section-title .title::before { background: var(--b-400); }
.facilities-area .section-title .title::after  { background: var(--g-300); }
.facilities-area .section-title .eyebrow { color: var(--b-300); }
.facilities-area .section-title .eyebrow::before,
.facilities-area .section-title .eyebrow::after { background: var(--b-300); }

.single-faclities {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--r-lg);
    padding: 4rem 2.5rem;
    text-align: center;
    cursor: pointer;
    margin-bottom: 3rem;
    transition:
        transform var(--dur-base) var(--ease),
        border-color var(--dur-base) var(--ease),
        box-shadow var(--dur-base) var(--ease),
        background var(--dur-base) var(--ease);
}

.single-faclities:hover {
    transform: translateY(-8px);
    border-color: var(--b-400);
    background: rgba(255,255,255,.08);
    box-shadow: 0 16px 48px rgba(0,0,0,.3), 0 0 0 1px var(--b-400);
}

.single-faclities .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    margin: 0 auto 2.5rem;
    background: rgba(255,255,255,.08);
    border: 2px solid var(--g-400);
    border-radius: 50%;
    transition: all var(--dur-base) var(--ease);
}

.single-faclities:hover .icon {
    background: var(--b-400);
    border-color: var(--b-400);
    transform: rotateY(180deg);
}

.single-faclities .icon span {
    font-size: 3.6rem;
    color: var(--g-300);
    transition: color var(--dur-base) var(--ease);
}

.single-faclities:hover .icon span { color: var(--white); }

.single-faclities .icon img {
    max-width: 46px;
    margin: auto;
    filter: brightness(0) invert(.7) sepia(1) saturate(2) hue-rotate(80deg);
    transition: filter var(--dur-base) var(--ease);
}

.single-faclities:hover .icon img { filter: brightness(0) invert(1); }

.single-faclities .name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-top: 1rem;
}

.single-faclities .desc {
    font-size: 1.45rem;
    color: var(--ink-300);
    margin-top: .8rem;
    line-height: 1.6;
}

/*----------------------------------------*/
/*  Events
/*----------------------------------------*/

.latest-event {
    padding: var(--section-py) 0;
    background: var(--p-050);
}

.single-event {
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 3rem;
    border: 1px solid var(--ink-100);
    box-shadow: var(--shadow-xs);
    transition:
        transform var(--dur-base) var(--ease),
        box-shadow var(--dur-base) var(--ease),
        border-color var(--dur-base) var(--ease);
    position: relative;
}

/* Green left accent that grows on hover */
.single-event::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--g-500);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--dur-base) var(--ease);
    z-index: 1;
}

.single-event:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-g-lg);
    border-color: var(--g-200);
}

.single-event:hover::before { transform: scaleY(1); }

.single-event .img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.single-event .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease);
}

.single-event:hover .img img { transform: scale(1.08); }

.single-event .img .date-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--g-500);
    color: var(--white);
    text-align: center;
    padding: .8rem 1.2rem;
    border-radius: var(--r-sm);
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    z-index: 2;
}

.single-event .img .date-badge .day {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
}

.single-event .img .date-badge .month {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--b-200);
}

.single-event .content { padding: 2.5rem 3rem; }

.single-event .content .tag {
    display: inline-block;
    background: var(--g-050);
    color: var(--g-600);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .35rem 1.2rem;
    border-radius: var(--r-pill);
    margin-bottom: 1.2rem;
    border: 1px solid var(--g-100);
}

.single-event .content .title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.single-event .content .title a { color: var(--ink-900); }
.single-event .content .title a:hover { color: var(--g-500); }

.single-event .content .list { padding: 0; }

.single-event .content .list .info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.45rem;
    color: var(--ink-400);
    margin-bottom: .8rem;
}

.single-event .content .list .info .icon { color: var(--g-400); flex-shrink: 0; }

.single-event .content .more { margin-top: 2.5rem; }

.single-event .content .more .link {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: 1rem 2.2rem;
    background: var(--g-500);
    color: var(--white) !important;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: var(--r-pill);
    transition: background var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease);
}

.single-event .content .more .link:hover {
    background: var(--g-600);
    box-shadow: var(--shadow-g-sm);
    transform: translateY(-2px);
}

/*----------------------------------------*/
/*  Achievements
/*----------------------------------------*/

.achivement-area {
    padding: var(--section-py) 0;
    background:
        linear-gradient(rgba(6,24,6,.88), rgba(6,24,6,.88)),
        url("../../../../assets/images/front/achivement-bg.jpg") center/cover fixed;
    position: relative;
}

/* Bronze top accent line — stationary pulse */
.achivement-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--g-500), var(--b-400), var(--g-500));
}

.single-achivement {
    text-align: center;
    margin-bottom: 3rem;
}

.single-achivement .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin: 0 auto 2rem;
    background: var(--b-400);   /* bronze icon containers */
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.15);
    transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

.single-achivement:hover .icon {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(219,200,15,.15);
}

.single-achivement .icon span { font-size: 3rem; color: var(--white); }
.single-achivement .icon img { max-height: 40px; filter: brightness(0) invert(1); }

.single-achivement .content .counter {
    font-family: 'Playfair Display', serif;
    font-size: 5.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.0;
    margin-bottom: .8rem;
    letter-spacing: -0.03em;
}

.single-achivement .content .name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--b-300);
}

/* Dividers between stat items */
.single-achivement {
    border-right: 1px solid rgba(255,255,255,.08);
}

.single-achivement:last-child { border-right: none; }

/*----------------------------------------*/
/*  News
/*----------------------------------------*/

.latest-news-area {
    padding: var(--section-py) 0;
    background: var(--g-050);   /* very light green tint */
}

.single-news {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-xs);
    transition:
        transform var(--dur-base) var(--ease),
        box-shadow var(--dur-base) var(--ease),
        border-color var(--dur-base) var(--ease);
}

.single-news:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-g-lg);
    border-color: var(--g-200);
}

.single-news .img { height: 240px; overflow: hidden; }

.single-news .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease);
}

.single-news:hover .img img { transform: scale(1.08); }

.single-news .content { padding: 2.8rem; }

.single-news .content .meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
    padding: 0;
    flex-wrap: wrap;
}

.single-news .content .meta .info {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.3rem;
    color: var(--ink-400);
}

.single-news .content .meta .info .icon { color: var(--g-400); }

.single-news .content .title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.25;
}

.single-news .content .title a { color: var(--ink-900); }
.single-news .content .title a:hover { color: var(--g-500); }

.single-news .content .text {
    font-size: 1.5rem;
    color: var(--ink-500);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.single-news .content .more .link {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--g-500);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: .04em;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: gap var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}

.single-news .content .more .link:hover {
    gap: 1.2rem;
    border-color: var(--g-400);
}

/*----------------------------------------*/
/*  Testimonials
/*----------------------------------------*/

.testimonial-area {
    padding: var(--section-py) 0;
    background:
        linear-gradient(rgba(6,24,6,.82), rgba(6,24,6,.82)),
        url("../../../../assets/images/front/testimonial-bg.jpg") center/cover fixed;
}

.single-testimonial { text-align: center; }

.single-testimonial .auth-img { margin-bottom: -3rem; position: relative; z-index: 2; }

.single-testimonial .auth-img img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto;
    border: 4px solid var(--b-400);   /* gold frame on photos */
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}

.single-testimonial:hover .auth-img img {
    transform: scale(1.06);
    border-color: var(--b-300);
}

.single-testimonial .content {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-radius: var(--r-xl);
    padding: 5rem 4rem 3.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--g-500);
}

/* Large quote mark */
.single-testimonial .content::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    color: var(--g-100);
    display: block;
    text-align: left;
    line-height: 1;
    margin-bottom: -2rem;
}

.single-testimonial .content .text {
    font-size: 1.7rem;
    color: var(--ink-600);
    line-height: 1.85;
    font-style: italic;
    margin-bottom: 2rem;
}

.single-testimonial .content .name {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--g-600);
    padding-top: 1.5rem;
    border-top: 1px solid var(--ink-100);
}

.single-testimonial .content .role {
    font-size: 1.3rem;
    color: var(--b-400);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: .3rem;
}

.testimonial-carousel .owl-dots {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: .8rem;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,.3);
    border: none;
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: all var(--dur-base) var(--ease);
}

.testimonial-carousel .owl-dots .owl-dot.active {
    background: var(--b-400);
    width: 30px;
}

/*----------------------------------------*/
/*  Apply Now CTA
/*----------------------------------------*/

.apply-now-area {
    padding: var(--section-py) 0;
    background: var(--p-100);
}

.apply-now {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 5rem 6rem;
    background: linear-gradient(135deg, var(--g-800) 0%, var(--g-900) 60%, var(--g-700) 100%);
    border-radius: var(--r-xl);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(6,24,6,.35);
    border: 1px solid var(--g-700);
}

/* Bronze geometric accents */
.apply-now::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    border: 50px solid rgba(219,200,15,.1);
    border-radius: 50%;
    pointer-events: none;
}

.apply-now::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 20%;
    width: 180px;
    height: 180px;
    border: 30px solid rgba(58,125,58,.15);
    border-radius: 50%;
    pointer-events: none;
}

/* Left bronze stripe */
.apply-now .stripe {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, var(--b-400), var(--g-400), var(--b-400));
}

.apply-now .title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 3.2vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
    position: relative;
    z-index: 1;
    line-height: 1.15;
}

.apply-now .title span { color: var(--b-300); }

.apply-now .link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: 1.6rem 3.5rem;
    background: var(--b-400);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: var(--r-pill);
    border: 2px solid var(--b-400);
    transition: background var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease);
}

.apply-now .link:hover {
    background: var(--b-300);
    border-color: var(--b-300);
    box-shadow: var(--shadow-b-sm);
    transform: translateY(-3px);
    color: var(--ink-900);
}

/*----------------------------------------*/
/*  Footer
/*----------------------------------------*/

.footer-top-area {
    background: var(--g-900);
    padding: 8rem 0 5rem;
    border-top: 4px solid var(--g-500);
    position: relative;
}

/* Bronze top shimmer — opacity only, no movement */
.footer-top-area::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--g-500) 0%, var(--b-400) 50%, var(--g-500) 100%);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: .4; }
    50%       { opacity: 1; }
}

.footer-widget { margin-bottom: 4rem; }

.footer-widget .fw-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--g-700);
    position: relative;
}

.footer-widget .fw-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 40px;
    height: 2px;
    background: var(--b-400);   /* bronze underline on footer titles */
}

.footer-widget .fw-logo { margin-bottom: 2rem; }
.footer-widget .fw-logo img { height: 56px; }

.footer-widget .text {
    font-size: 1.5rem;
    line-height: 1.9;
    color: var(--ink-400);
}

.footer-widget .links { padding: 0; }
.footer-widget .links li { margin-bottom: 1.1rem; }

.footer-widget .links a {
    color: var(--ink-400);
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    transition: color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}

.footer-widget .links a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--g-400);
    flex-shrink: 0;
    transition: background var(--dur-base) var(--ease);
}

.footer-widget .links a:hover {
    color: var(--b-300);
    transform: translateX(6px);
}

.footer-widget .links a:hover::before { background: var(--b-400); }

.footer-widget .social {
    display: flex;
    gap: 1rem;
    padding: 0;
    flex-wrap: wrap;
}

.footer-widget .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--g-700);
    color: var(--ink-300);
    font-size: 1.8rem;
    transition:
        background var(--dur-base) var(--ease),
        border-color var(--dur-base) var(--ease),
        color var(--dur-base) var(--ease),
        transform var(--dur-fast) var(--ease);
}

.footer-widget .social a:hover {
    background: var(--b-400);
    border-color: var(--b-400);
    color: var(--white);
    transform: translateY(-4px);
}

.footer-widget .address { padding: 0; }

.footer-widget .address li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    font-size: 1.5rem;
    color: var(--ink-400);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.footer-widget .address li .icon {
    color: var(--b-400);
    font-size: 1.7rem;
    flex-shrink: 0;
    margin-top: .2rem;
}

.footer-bottom-area {
    background: var(--g-900);
    border-top: 1px solid var(--g-800);
}

.copyright {
    padding: 2.4rem 0;
    font-size: 1.4rem;
    color: var(--ink-500);
    text-align: center;
    letter-spacing: 0.02em;
}

.copyright a { color: var(--b-300); font-weight: 600; }
.copyright a:hover { color: var(--b-400); }

/*----------------------------------------*/
/*  Breadcrumb
/*----------------------------------------*/

.page-breadcumb-area {
    padding: 7rem 0;
    text-align: center;
    background:
        linear-gradient(rgba(6,24,6,.78), rgba(6,24,6,.78)),
        url("../../../../assets/images/front/breadcrumb-bg.jpg") center/cover;
    position: relative;
}

.page-breadcumb-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--g-500), var(--b-400), var(--g-500));
}

.page-breadcumb-area::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--g-500), var(--b-400), var(--g-500));
}

.page-breadcumb-area .title {
    font-size: clamp(3.2rem, 4.5vw, 5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.page-breadcumb-area .links {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0;
    background: rgba(255,255,255,.08);
    padding: .6rem 2rem;
    border-radius: var(--r-pill);
    backdrop-filter: blur(4px);
}

.page-breadcumb-area .links li {
    display: inline-flex;
    align-items: center;
}

.page-breadcumb-area .links li::after {
    content: '/';
    color: var(--b-400);
    margin: 0 1.2rem;
    font-size: 1.3rem;
    font-weight: 300;
}

.page-breadcumb-area .links li:last-child::after { display: none; }

.page-breadcumb-area .links a {
    color: rgba(255,255,255,.7);
    font-size: 1.4rem;
    font-weight: 500;
    transition: color var(--dur-base) var(--ease);
}

.page-breadcumb-area .links a:hover { color: var(--b-300); }
.page-breadcumb-area .links li:last-child a { color: var(--b-300); font-weight: 600; }

/*----------------------------------------*/
/*  Sidebar
/*----------------------------------------*/

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-top: 3px solid var(--g-500);
    border-radius: var(--r-lg);
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-xs);
}

.sidebar-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--g-100);
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 48px;
    height: 2px;
    background: var(--g-500);
}

/* Widget News */
.widget-news li {
    border-bottom: 1px solid var(--ink-050);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.widget-news li:last-child { border: none; margin: 0; padding: 0; }

.widget-news li a {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    color: inherit;
}

.widget-news a .img {
    width: 76px;
    height: 76px;
    border-radius: var(--r-sm);
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--g-050);
}

.widget-news a .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-base) var(--ease);
}

.widget-news a:hover .img img { transform: scale(1.1); }

.widget-news a .content .meta { padding: 0; margin-bottom: .5rem; }

.widget-news a .content .meta .info {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: 1.2rem;
    color: var(--ink-400);
}

.widget-news a .content .meta .info .icon { color: var(--g-400); }

.widget-news a .content .title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink-800);
    line-height: 1.4;
    transition: color var(--dur-base) var(--ease);
}

.widget-news a:hover .content .title { color: var(--g-500); }

/*----------------------------------------*/
/*  Team / Teachers
/*----------------------------------------*/

.single-team {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: var(--shadow-xs);
    transition:
        transform var(--dur-base) var(--ease),
        box-shadow var(--dur-base) var(--ease),
        border-color var(--dur-base) var(--ease);
}

.single-team:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-g-lg);
    border-color: var(--g-200);
}

.single-team .st-upper {
    background: linear-gradient(135deg, var(--g-500) 0%, var(--g-800) 100%);
    padding: 3rem 0 6rem;
    position: relative;
}

/* Bronze stripe on team card top */
.single-team .st-upper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--b-400);
}

.single-team .st-upper .type {
    display: inline-block;
    padding: .5rem 1.8rem;
    background: rgba(255,255,255,.15);
    color: var(--b-200);
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: var(--r-pill);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.single-team .st-img {
    margin: -5rem auto 2rem;
    width: fit-content;
    position: relative;
    z-index: 5;
}

.single-team .st-img img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--white);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}

.single-team:hover .st-img img {
    border-color: var(--b-400);
    transform: scale(1.06);
}

.single-team .st-content { padding: 0 2.5rem 3rem; }

.single-team .st-content .name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.single-team .st-content .name a { color: var(--ink-900); }
.single-team .st-content .name a:hover { color: var(--g-500); }

.single-team .st-content .contact {
    padding: 1.5rem 0 0;
    margin-top: 1.5rem;
    border-top: 1px solid var(--ink-050);
}

.single-team .st-content .contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    color: var(--ink-500);
    text-align: left;
    margin-bottom: .8rem;
}

.single-team .st-content .contact li .icon { color: var(--g-400); width: 18px; flex-shrink: 0; }

.single-team .st-content .social {
    display: flex;
    justify-content: center;
    gap: .8rem;
    margin-top: 1.5rem;
}

.single-team .st-content .social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--ink-100);
    color: var(--ink-400);
    font-size: 1.5rem;
    transition: all var(--dur-base) var(--ease);
}

.single-team .st-content .social li a:hover {
    background: var(--g-500);
    border-color: var(--g-500);
    color: var(--white);
    transform: translateY(-3px);
}

/*----------------------------------------*/
/*  Notices
/*----------------------------------------*/

.single-notice {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-left: 5px solid var(--g-500);
    border-radius: var(--r-md);
    padding: 2.5rem 3rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
    position: relative;
}

/* Bronze date badge */
.single-notice .notice-date {
    display: inline-block;
    background: var(--g-050);
    color: var(--g-600);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem 1rem;
    border-radius: var(--r-xs);
    margin-bottom: 1rem;
    border: 1px solid var(--g-100);
}

.single-notice:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-g-sm);
}

/*----------------------------------------*/
/*  Gallery
/*----------------------------------------*/

.page-gallery-area { padding: var(--section-py) 0 4rem; background: var(--g-050); }

.gallery-section-title { margin-bottom: 3rem; }

.gallery-section-title .title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--ink-900);
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--g-500);
    display: inline-block;
}

.gallery-carousel {
    background: var(--g-900);
    padding: 2rem;
    border-radius: var(--r-xl);
}

.single-gallery {
    position: relative;
    height: 250px;
    border-radius: var(--r-md);
    overflow: hidden;
    margin: 1rem;
    border: 2px solid transparent;
    transition: border-color var(--dur-base) var(--ease);
}

.single-gallery:hover { border-color: var(--b-400); }

.single-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease);
}

.single-gallery:hover img { transform: scale(1.1); }

.single-gallery::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(6,24,6,.85) 0%,
        rgba(6,24,6,.3) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity var(--dur-base) var(--ease);
    z-index: 1;
}

.single-gallery:hover::before { opacity: 1; }

.single-gallery a .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    color: var(--b-300);
    font-size: 3rem;
    opacity: 0;
    transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
    z-index: 2;
}

.single-gallery:hover a .icon { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/*----------------------------------------*/
/*  Contact
/*----------------------------------------*/

.page-contact-area { padding: var(--section-py) 0 5rem; background: var(--p-050); }

#mymap {
    height: 450px;
    width: 100%;
    border-radius: var(--r-lg);
    margin-bottom: 4rem;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--g-200);
}

.contact-page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--g-500);
    display: inline-block;
}

.contact-input-box { margin-bottom: 2rem; }

.contact-input-box label {
    display: block;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink-700);
    margin-bottom: .7rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.contact-input-box input[type="text"],
.contact-input-box input[type="email"],
.contact-input-box textarea {
    width: 100%;
    padding: 1.3rem 1.8rem;
    font-size: 1.6rem;
    font-family: 'Outfit', sans-serif;
    color: var(--ink-800);
    background: var(--white);
    border: 1.5px solid var(--ink-200);
    border-radius: var(--r-md);
    height: 5.4rem;
    transition: border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

.contact-input-box input:focus,
.contact-input-box textarea:focus {
    border-color: var(--g-500);
    box-shadow: 0 0 0 3px rgba(28,107,28,.14);
    outline: none;
}

.contact-input-box textarea {
    height: 16rem;
    padding: 1.5rem 1.8rem;
    resize: vertical;
}

.contact-input-box input[type="submit"] {
    background: var(--g-500);
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    height: 5.4rem;
    padding: 0 4rem;
    border: 2px solid var(--g-500);
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: background var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease);
}

.contact-input-box input[type="submit"]:hover {
    background: var(--g-600);
    border-color: var(--g-600);
    box-shadow: var(--shadow-g-sm);
    transform: translateY(-2px);
}

.single-contact-info {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-top: 3px solid var(--g-500);
    border-radius: var(--r-lg);
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

.single-contact-info:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-g-lg);
}

.single-contact-info .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--g-050);
    border: 2px solid var(--g-100);
    margin: 0 auto 1.5rem;
    font-size: 2.4rem;
    color: var(--g-500);
    transition: all var(--dur-base) var(--ease);
}

.single-contact-info:hover .icon {
    background: var(--g-500);
    border-color: var(--g-500);
    color: var(--white);
}

.single-contact-info .info { font-size: 1.5rem; color: var(--ink-600); }

/*----------------------------------------*/
/*  Login
/*----------------------------------------*/

.login-area {
    min-height: 100vh;
    padding: 10rem 0;
    background:
        linear-gradient(rgba(6,24,6,.88), rgba(6,24,6,.88)),
        url("../../../../assets/images/front/splash-bg.jpg") center/cover;
    display: flex;
    align-items: center;
}

.login-box-col { margin-bottom: 3rem; }

.single-login-box {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    border-radius: var(--r-xl);
    padding: 5rem;
    box-shadow: 0 24px 64px rgba(6,24,6,.4);
    border-top: 5px solid var(--g-500);
    position: relative;
    overflow: hidden;
}

/* Bronze corner decoration */
.single-login-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-bottom: 4px solid var(--b-400);
    border-right: 4px solid var(--b-400);
    border-radius: 0 0 var(--r-xl) 0;
}

.single-login-box .title {
    font-family: 'Playfair Display', serif;
    font-size: 3.4rem;
    color: var(--g-700);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 800;
}

.single-login-box .links { margin-top: 4rem; text-align: center; }

.single-login-box .links .link {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: 1.4rem 4rem;
    background: var(--g-500);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: var(--r-pill);
    border: 2px solid var(--g-500);
    transition: background var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease);
}

.single-login-box .links .link:hover {
    background: var(--g-600);
    border-color: var(--g-600);
    box-shadow: var(--shadow-g-sm);
    transform: translateY(-2px);
    color: var(--white);
}

/*----------------------------------------*/
/*  Admission Form
/*----------------------------------------*/

.admission-form {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 3.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--ink-100);
    border-top: 4px solid var(--g-500);
}

.admission-form-title {
    background: linear-gradient(135deg, var(--g-800) 0%, var(--g-900) 100%);
    color: var(--b-300);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    padding: 1.5rem 2rem;
    border-radius: var(--r-sm);
    margin-bottom: 2rem;
    letter-spacing: .02em;
    border-left: 5px solid var(--b-400);
}

.student-picture {
    border: 2px dashed var(--g-400);
    border-radius: var(--r-sm);
    width: 100px;
    height: 120px;
    float: right;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-400);
    font-size: 1.3rem;
    text-align: center;
    background: var(--g-050);
}

.form-field { margin-bottom: 1.5rem; }

.field-title {
    float: left;
    margin-right: 1rem;
    line-height: 4rem;
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--ink-700);
    letter-spacing: .02em;
}

.field-value {
    overflow: hidden;
    border-bottom: 1px dotted var(--ink-200);
    min-height: 4rem;
    padding: .5rem 1rem;
    color: var(--ink-600);
    font-size: 1.5rem;
}

.form-control {
    max-width: 100%;
    border: 1.5px solid var(--ink-200);
    border-radius: var(--r-sm);
    padding: 1rem 1.4rem;
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    color: var(--ink-800);
    background: var(--p-050);
    transition: border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

.form-control:focus {
    border-color: var(--g-500);
    box-shadow: 0 0 0 3px rgba(28,107,28,.14);
    outline: none;
    background: var(--white);
}

/*----------------------------------------*/
/*  Misc / Custom
/*----------------------------------------*/

a { 
    color: var(--g-600); 
}

/* Find Guardian Button */
#fn_find {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px; /* aligns with form inputs */
    font-size: 1.4rem;
    padding: 0 1.4rem;
    border: 1.5px solid var(--g-400);
    border-radius: var(--r-sm);
    background: var(--white);
    color: var(--ink-800);
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: 
        background-color var(--dur-base) var(--ease),
        border-color var(--dur-base) var(--ease),
        box-shadow var(--dur-base) var(--ease),
        transform 0.08s ease-in-out;
}

/* Hover */
#fn_find:hover {
    background: var(--g-50);
    border-color: var(--g-600);
}

/* Focus (keyboard accessibility) */
#fn_find:focus {
    border-color: var(--g-600);
    box-shadow: 0 0 0 3px rgba(28,107,28,.14);
    outline: none;
}

/* Active click feedback */
#fn_find:active {
    transform: scale(0.98);
}


/*----------------------------------------*/
/*  Responsive
/*----------------------------------------*/

@media (max-width: 991px) {
    :root { --section-py: 7rem; }

    .menu ul li > a { padding: 2rem 1.2rem; font-size: 1.4rem; }
    .single-slider { height: 540px; }
}

@media (max-width: 768px) {
    :root { --section-py: 6rem; }

    .header-bottom-area { position: relative !important; }
    .menu { text-align: left; }
    .menu ul { flex-direction: column; align-items: stretch; }
    .menu ul li { display: block; }
    .menu ul li > a { padding: 1.4rem 1rem; border-bottom: 1px solid var(--ink-100); }
    .menu ul li > a::after { display: none; }
    .menu ul li .drop {
        position: static;
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--g-500);
        border-radius: 0;
        display: none;
    }
    .menu ul li:hover .drop { display: block; }

    .single-slider { height: 420px; }
    .single-slider .content { padding: 0 3rem; }

    .apply-now {
        padding: 4rem 3rem;
        text-align: center;
        justify-content: center;
        flex-direction: column;
    }

    .hta-box { display: block; margin: .4rem 0; }
    .footer-widget { text-align: center; }
    .footer-widget .links a { justify-content: center; }
    .footer-widget .social { justify-content: center; }
    .footer-widget .address li { justify-content: center; }
    .footer-widget .fw-title::after { left: 50%; transform: translateX(-50%); }

    /* Slider dots revert to horizontal on mobile */
    .slider-area .owl-dots {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        bottom: 2rem;
    }

    .slider-area .owl-dots .owl-dot { width: 24px; height: 3px; }
    .slider-area .owl-dots .owl-dot.active { width: 40px; height: 3px; }
}

@media (max-width: 480px) {
    :root { --section-py: 5rem; }

    .single-slider { height: 320px; }
    .single-slider .content .title { font-size: 3.2rem; }
    .single-login-box { padding: 3.5rem 2.5rem; }
    .apply-now { padding: 3rem 2rem; }
    .page-breadcumb-area { padding: 5rem 0; }
}
/* ================================
   FORM SYSTEM (Stable & Predictable)
================================= */

.form-control,
select.form-control,
textarea.form-control {
    width: 100%;
    max-width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #1c6b1c;
    border-radius: 5px;
    background-color: #ffffff;
    color: #303030;   /* EXPLICIT TEXT COLOR */
    font-size: 14px;
    transition: all 0.2s ease-in-out;
}
/* Find Guardian Button Override */
#fn_find.glbscl-link-btn {
    background: var(--g-050);
    color: var(--g-600) !important;
    border: 2px solid var(--g-400);
}

#fn_find.glbscl-link-btn:hover {
    background: var(--g-500);
    color: var(--white) !important;
    border-color: var(--g-500);
}
/* --- SCHOOLMASTER SLIDING TICKER FIX --- */
.newsarea {
    background: #e9edf5;
    border-bottom: 2px solid #0f4a0f;
    min-height: 40px;    /* ← change height to min-height */
    overflow: hidden;
    display: flex;
    align-items: center;
}

.newstab {
    background: #ff0000; /* Red "Latest News" box */
    color: #ffffff !important;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: bold;
    z-index: 5;
    box-shadow: 4px 0 8px rgba(0,0,0,0.1);
}

.newscontent-viewport {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-block;
    padding-left: 100%;
    animation: slideNews 25s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused; /* Stop sliding when parent hovers */
}

.ticker-item {
    display: inline-block;
    padding: 0 40px;
    color: #121211;
    font-family: 'Roboto-Bold', sans-serif;
    text-decoration: none;
    font-size: 14px;
}

/* The Animation Engine */
@keyframes slideNews {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}
