/* ============================================= */
/*  GLOBAL RESET & VARIABLES                     */
/* ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Josefin Sans', sans-serif;
}

:root {
    --bg-color: #191919;
    --second-bg-color: #101010;
    --text-color: white;
    --main-color: #0ef;
}

*::selection {
    background: var(--main-color);
    color: var(--bg-color);
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    overflow-x: hidden;
    width: 100%;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================= */
/*  HEADER                                       */
/* ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 4%;
    background: #101010;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    gap: 20px;
    flex-wrap: nowrap;
}

.header.sticky {
    border-bottom: .1rem solid rgba(0, 0, 0, .2);
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
    gap: 10px;
}

.logo img {
    height: 60px;
    width: auto;
    margin: 0;
    flex-shrink: 0;
}

.logo span {
    color: white;
    font-size: 25px;
    font-weight: bold;
    line-height: 1.2;
}

.logo:hover span {
    color: aqua;
    text-decoration: underline;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0;
    min-width: 0;
}

.navbar a {
    color: white;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: bold;
    margin-left: 0;
    transition: 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.navbar a:hover {
    color: aqua;
    text-decoration: underline;
}

.navbar > span,
.navbar .tagline,
.header .nepali-text {
    white-space: nowrap;
    font-size: 15px;
    padding: 0 10px;
    flex-shrink: 0;
}

#menu-icon {
    display: none;
}

.dropdown { position: relative; }

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1f242d;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: 0;
}

.dropdown:hover .dropdown-content { display: block; }

.dropdown-toggle:after {
    content: ' ▼';
    font-size: 10px;
}

.dropdown-content a {
    color: white;
    padding: 10px 14px;
    display: block;
    font-size: 15px;
    white-space: nowrap;
}

/* ============================================= */
/*  HOME SLIDER                                  */
/* ============================================= */
.home-slider {
    width: 100vw;
    height: 100vh;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
}

.home-slider-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
}

.home-slider-inner img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    flex-shrink: 0;
    animation: slide 20s infinite;
}

@keyframes slide {
    0%, 20%   { transform: translateX(0%); }
    25%, 45%  { transform: translateX(-100%); }
    50%, 70%  { transform: translateX(-200%); }
    75%, 95%  { transform: translateX(-300%); }
    100%      { transform: translateX(0%); }
}

/* ============================================= */
/*  MARQUEE                                      */
/* ============================================= */
.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    background-color: red;
    color: white;
    padding: 8px 0;
    font-size: 25px;
    font-weight: bold;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 50s linear infinite;
    color: white;
}

@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* ============================================= */
/*  ABOUT SECTION                                */
/* ============================================= */
.about {
    position: relative;
    background: linear-gradient(135deg, #0d1117 0%, #131a24 50%, #0a0f16 100%);
    color: #fff;
    padding: 100px 5% 90px 60px;
    overflow: hidden;
    isolation: isolate;
}

.about-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.about-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    mix-blend-mode: screen;
}

.about-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #22d3ee, transparent 70%);
    top: -150px;
    left: -100px;
    animation: aboutBlob1 18s ease-in-out infinite alternate;
}

.about-blob-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #a78bfa, transparent 70%);
    bottom: -200px;
    right: -150px;
    animation: aboutBlob2 22s ease-in-out infinite alternate;
}

.about-blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ec4899, transparent 70%);
    top: 40%;
    left: 45%;
    opacity: 0.2;
    animation: aboutBlob3 26s ease-in-out infinite alternate;
}

@keyframes aboutBlob1 { to { transform: translate(120px, 100px) scale(1.2); } }
@keyframes aboutBlob2 { to { transform: translate(-120px, -80px) scale(1.15); } }
@keyframes aboutBlob3 { to { transform: translate(-80px, 60px) scale(0.85); } }

.about-wrap {
    position: relative;
    max-width: 100%;
    margin: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-visual {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    margin-left: 0;
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.about.animate-in .about-visual {
    opacity: 1;
    transform: translateX(0);
}

.about-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 700px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    margin: 0;
    box-shadow: 0 40px 80px -25px rgba(0, 0, 0, 0.9);
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.6s ease, filter 0.6s ease;
    filter: brightness(0.95) saturate(1.05);
}

.about-img:hover {
    transform: scale(1.02);
    box-shadow: 0 50px 100px -25px rgba(0, 0, 0, 0.95);
    filter: brightness(1.05) saturate(1.15);
}

.about-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    opacity: 0;
    transform: translateX(60px);
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1) 0.2s;
}

.about.animate-in .about-copy {
    opacity: 1;
    transform: translateX(0);
}

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #67e8f9;
    margin-bottom: 22px;
    align-self: flex-start;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 12px #22d3ee;
    animation: dotPulse 1.8s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.6); opacity: 0.5; }
}

.about-title {
    font-size: 3.4rem; 
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: white;
    margin-bottom: 24px;
    font-family: 'Josefin Sans', sans-serif;
}

.about-title-accent {
    display: inline-block;
    font-weight: 900;
    font-style: italic;
    background: linear-gradient(120deg, #22d3ee 0%, #a78bfa 50%, #ec4899 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleShift 6s ease infinite;
}

@keyframes titleShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.about-title em {
    font-style: normal;
    font-weight: 800;
    color: #22d3ee;
    position: relative;
    padding: 0 4px;
}

.about-title em::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.3), transparent);
    z-index: -1;
    border-radius: 4px;
}

.about-desc {
    font-size: 1.5rem;
    line-height: 1.75;
    color: #cbd5e1;
    margin-bottom: 18px;
    font-weight: 300;
    text-align: justify;
    max-width: 100%;
    display: block; 
    overflow: hidden; 
    text-justify: inter-word;
}

.about-desc::first-letter {
    font-size: 2.8rem;
    font-weight: 700;
    color: #22d3ee;
    float: left;
    line-height: 1;
    padding-right: 6px;
    margin-top: 2px;
}

.about-features {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin: 26px 0;
    width: 100%;
}

.about-feature {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 500;
    color: #cbd5e1;
    transition: all 0.35s ease;
    cursor: default;
}

.about-feature:hover {
    background: rgba(34, 211, 238, 0.08);
    border-color: rgba(34, 211, 238, 0.3);
    color: #fff;
    transform: translateY(-3px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22d3ee, #a78bfa);
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-stats {
    display: flex;
    gap: 36px;
    margin: 32px 0;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: nowrap; 
    width: 100%;
}

.stat {
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex-wrap: wrap;
    position: relative;
    padding-right: 36px;
    flex: 1; 
}

.stat:last-child {
    padding-right: 0;
    flex: initial;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #22d3ee, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    color: #22d3ee;
    line-height: 1;
}

.stat-label {
    flex-basis: 100%;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: white;
    margin-top: 6px;
    font-weight: 500;
}

.about-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #22d3ee, #a78bfa, #ec4899);
    background-size: 200% 200%;
    color: #fff;
    border-radius: 50px;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 15px 35px -12px rgba(34, 211, 238, 0.6);
    animation: btnGradient 5s ease infinite;
    border: none;
    cursor: pointer;
}

@keyframes btnGradient {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s ease;
}

.btn-primary:hover::before { left: 100%; }

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 45px -12px rgba(34, 211, 238, 0.8);
}

.btn-primary i { transition: transform 0.3s ease; }
.btn-primary:hover i { transform: translateX(5px); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: transparent;
    color: #cbd5e1;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.35s ease;
    cursor: pointer;
}

.btn-ghost i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.15);
    color: #22d3ee;
    font-size: 1.35rem;
    transition: all 0.35s ease;
}

.btn-ghost:hover {
    color: #fff;
    border-color: rgba(34, 211, 238, 0.5);
    background: rgba(34, 211, 238, 0.06);
    transform: translateY(-3px);
}

.btn-ghost:hover i {
    background: #22d3ee;
    color: #0d1117;
    transform: scale(1.1);
}

/* ============================================= */
/*  GALLERY SECTION                              */
/* ============================================= */
.school {
    background: linear-gradient(135deg, #0a0a0a 0%, #191919 100%);
    min-height: 100vh;
    padding: 8rem 5% 8rem;
    position: relative;
    overflow: hidden;
}

.school::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 238, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 45, 117, 0.08) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.school .heading {
    text-align: center;
    font-size: 3.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: #fff;
    word-break: break-word;
    padding: 40px;
}

.school .heading span {
    color: red;
    position: relative;
    display: inline-block;
}

.school .heading span::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00eeff, transparent);
    border-radius: 2px;
    animation: galleryPulse 2.5s ease-in-out infinite;
}

@keyframes galleryPulse {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 1; }
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    padding: 0 0.5rem;
}

.gallery-filter-btn {
    padding: 0.6rem 1.2rem;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(0, 238, 255, 0.35);
    border-radius: 30px;
    color: white;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.gallery-filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 238, 255, 0.25), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.gallery-filter-btn:hover::before { transform: translateX(100%); }

.gallery-filter-btn:hover {
    color: #fff;
    border-color: red;
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.25);
}

.gallery-filter-btn.active {
    background: #00eeff;
    color: #0a0a0a;
    border-color: #00eeff;
    font-weight: 600;
    box-shadow: 0 0 25px rgba(0, 238, 255, 0.5);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 300px;
    padding: 0 0.5rem;
}

.school-box {
    position: relative;
    aspect-ratio: 5 / 3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease, border-color 0.4s ease;
    width: 100%;
    background: #111;
}

.school-box.hidden { display: none !important; }
.school-box.visible {
    display: block;
    animation: galleryFadeInUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes galleryFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.school-box:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 238, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 238, 255, 0.2);
}

.school-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    filter: brightness(0.85);
    display: block;
}

.school-box:hover img { transform: scale(1.08); filter: brightness(1); }

.school-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 40%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.school-layer {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 1.2rem;
    z-index: 2;
    pointer-events: none;
}

.layer-content {
    text-align: center;
    width: 100%;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: auto;
}

.school-box:hover .layer-content { transform: translateY(0); opacity: 1; }

.school-layer h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
    word-break: break-word;
}

.school-layer p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin-bottom: 0.6rem;
    word-break: break-word;
}

.school-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #00eeff;
    border-radius: 50%;
    color: #0a0a0a;
    font-size: 1.1rem;
    pointer-events: auto;
}

.school-layer a:hover {
    background: #ff2d75;
    color: #fff;
    box-shadow: 0 0 25px #ff2d75;
    transform: scale(1.12);
}

/* ============================================= */
/*  FOUNDERS SECTION                             */
/* ============================================= */
.founders-section {
    position: relative;
    background: #0a0d14;
    color: #fff;
    padding: 7rem 5% 7rem;
    overflow: hidden;
    isolation: isolate;
    font-family: 'Josefin Sans', sans-serif;
}

.fs-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.fs-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    mix-blend-mode: screen;
}

.fs-blob-1 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #f59e0b, transparent 70%);
    top: -200px;
    left: -150px;
    animation: fsBlob1 22s ease-in-out infinite alternate;
}

.fs-blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #a78bfa, transparent 70%);
    bottom: -250px;
    right: -180px;
    animation: fsBlob2 26s ease-in-out infinite alternate;
}

.fs-blob-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #22d3ee, transparent 70%);
    top: 45%;
    left: 45%;
    opacity: 0.2;
    animation: fsBlob3 30s ease-in-out infinite alternate;
}

@keyframes fsBlob1 { to { transform: translate(150px, 100px) scale(1.2); } }
@keyframes fsBlob2 { to { transform: translate(-140px, -100px) scale(1.15); } }
@keyframes fsBlob3 { to { transform: translate(-100px, 80px) scale(0.85); } }

.fs-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    animation: fsGridMove 30s linear infinite;
}

@keyframes fsGridMove {
    0%   { background-position: 0 0, 0 0; }
    100% { background-position: 60px 60px, 60px 60px; }
}

.fs-particles {
    position: absolute;
    inset: 0;
}

.fs-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fcd34d;
    opacity: 0.5;
    box-shadow: 0 0 12px #fcd34d;
    animation: fsParticleFloat 12s ease-in-out infinite;
}

.fs-particles span:nth-child(1)  { top: 10%; left: 8%;  animation-delay: 0s; }
.fs-particles span:nth-child(2)  { top: 20%; left: 25%; animation-delay: 1s; }
.fs-particles span:nth-child(3)  { top: 35%; left: 45%; animation-delay: 2s; }
.fs-particles span:nth-child(4)  { top: 60%; left: 15%; animation-delay: 3s; }
.fs-particles span:nth-child(5)  { top: 80%; left: 30%; animation-delay: 4s; }
.fs-particles span:nth-child(6)  { top: 15%; left: 65%; animation-delay: 5s; }
.fs-particles span:nth-child(7)  { top: 45%; left: 78%; animation-delay: 6s; }
.fs-particles span:nth-child(8)  { top: 70%; left: 88%; animation-delay: 7s; }
.fs-particles span:nth-child(9)  { top: 88%; left: 55%; animation-delay: 8s; }
.fs-particles span:nth-child(10) { top: 8%;  left: 40%; animation-delay: 9s; }
.fs-particles span:nth-child(11) { top: 50%; left: 12%; animation-delay: 10s; }
.fs-particles span:nth-child(12) { top: 92%; left: 8%;  animation-delay: 11s; }

@keyframes fsParticleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50%      { transform: translate(20px, -40px) scale(1.4); opacity: 1; }
}

.fs-wrap {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
}

.fs-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 70px;
}

.fs-crest {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fs-crest-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(252, 211, 77, 0.4);
    animation: fsCrestSpin 20s linear infinite;
}

@keyframes fsCrestSpin { to { transform: rotate(360deg); } }

.fs-crest-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fcd34d, #f59e0b);
    color: #0a0d14;
    font-size: 2rem;
    box-shadow:
        0 0 0 6px rgba(252, 211, 77, 0.15),
        0 15px 35px -10px rgba(252, 211, 77, 0.7);
    animation: fsCrestFloat 4s ease-in-out infinite;
}

@keyframes fsCrestFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.fs-eyebrow {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fcd34d;
    margin-bottom: 16px;
}

.fs-title {
    font-size: 3.4rem;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 22px;
}

.fs-title-accent {
    font-weight: 900;
    font-style: italic;
    background: linear-gradient(120deg, #fcd34d 0%, #f59e0b 50%, #ec4899 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fsTitleShift 6s ease infinite;
}

@keyframes fsTitleShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.fs-ornament {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.fs-ornament span {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fcd34d, transparent);
}

.fs-ornament i {
    color: #fcd34d;
    font-size: 1.3rem;
    animation: fsOrnamentPulse 2s ease-in-out infinite;
}

@keyframes fsOrnamentPulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    50%      { transform: scale(1.2) rotate(180deg); opacity: 1; }
}

.fs-sub {
    font-size: 1.6rem;
    line-height: 1.75;
    color: #94a3b8;
    font-weight: 300;
}

.fs-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 100px;
    width: 100%;
}

.fs-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 46px 20px 28px;
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.55s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    transform: translateY(50px);
    animation: fsCardReveal 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    animation-delay: calc(var(--i, 0) * 0.15s);
}

.fs-card:nth-child(1) { --i: 0; }
.fs-card:nth-child(2) { --i: 1; }
.fs-card:nth-child(3) { --i: 2; }
.fs-card:nth-child(4) { --i: 3; }

@keyframes fsCardReveal {
    0%   { opacity: 0; transform: translateY(50px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.fs-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.fs-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(252, 211, 77, 0.4);
    box-shadow:
        0 30px 60px -25px rgba(0, 0, 0, 0.8),
        0 0 45px -15px rgba(252, 211, 77, 0.3);
}

.fs-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(252, 211, 77, 0.25), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.fs-card:hover .fs-card-glow { opacity: 1; }

.fs-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fcd34d, #f59e0b, #ec4899, transparent);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: fsBorderFlow 4s linear infinite;
}

.fs-card:hover::before { opacity: 1; }

@keyframes fsBorderFlow {
    0%   { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.fs-card-ribbon {
    position: absolute;
    top: 14px;
    right: -32px;
    transform: rotate(45deg);
    padding: 5px 40px;
    background: linear-gradient(135deg, #fcd34d, #f59e0b);
    color: #0a0d14;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(252, 211, 77, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.fs-card-ribbon i { font-size: 0.75rem; }

.fs-portrait {
    position: relative;
    width: 130px;
    height: 130px;
    margin-bottom: 22px;
    flex-shrink: 0;
    z-index: 2;
}

.fs-portrait-img {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 3;
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.7);
}

.fs-portrait-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    filter: sepia(0.15) saturate(1.05);
}

.fs-card:hover .fs-portrait-img img {
    transform: scale(1.08);
    filter: sepia(0) saturate(1.15);
}

.fs-portrait-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        linear-gradient(#0a0d14, #0a0d14) padding-box,
        conic-gradient(from 0deg, #fcd34d, #f59e0b, #ec4899, #fcd34d) border-box;
    border: 2px solid transparent;
    animation: fsPortraitSpin 8s linear infinite;
    z-index: 2;
}

.fs-ring-2 {
    inset: -6px;
    opacity: 0.35;
    border-width: 1px;
    animation-duration: 14s;
    animation-direction: reverse;
}

@keyframes fsPortraitSpin { to { transform: rotate(360deg); } }

.fs-spark {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fcd34d;
    box-shadow: 0 0 15px #fcd34d;
    z-index: 4;
    animation: fsSparkFloat 4s ease-in-out infinite;
}

.fs-spark.s1 { top: 0;    left: 50%;  animation-delay: 0s; }
.fs-spark.s2 { top: 60%;  right: -5%; animation-delay: 1.3s; background: #ec4899; box-shadow: 0 0 15px #ec4899; }
.fs-spark.s3 { bottom: 0; left: 25%;  animation-delay: 2.6s; background: #22d3ee; box-shadow: 0 0 15px #22d3ee; }

@keyframes fsSparkFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(8px, -16px) scale(1.4); }
}

.fs-info {
    position: relative;
    z-index: 2;
    width: 100%;
}

.fs-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.25;
    word-break: break-word;
}

.fs-role {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #fcd34d;
    margin-bottom: 5px;
    word-break: break-word;
}

.fs-tenure {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(252, 211, 77, 0.1);
    border: 1px solid rgba(252, 211, 77, 0.3);
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fcd34d;
    margin-bottom: 16px;
}

.fs-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.55;
    color: #cbd5e1;
    margin-bottom: 18px;
    position: relative;
    padding: 0 6px;
}

.fs-quote::before,
.fs-quote::after {
    content: '"';
    font-family: Georgia, serif;
    font-size: 1.8em;
    color: rgba(252, 211, 77, 0.4);
    line-height: 0;
    position: relative;
    top: 0.2em;
}

.fs-quote::before { margin-right: 2px; }
.fs-quote::after  { margin-left: 2px; }

.fs-divider {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fcd34d, transparent);
    margin: 0 auto 14px;
}

.fs-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.fs-sig-line {
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, #fcd34d, transparent);
}

.fs-sig-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.15rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
}

.fs-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: rgba(252, 211, 77, 0.4);
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 4;
}

.fs-corner-tl {
    top: 8px;
    left: 8px;
    border-top: 2px solid;
    border-left: 2px solid;
}

.fs-corner-br {
    bottom: 8px;
    right: 8px;
    border-bottom: 2px solid;
    border-right: 2px solid;
}

.fs-card:hover .fs-corner {
    width: 24px;
    height: 24px;
    border-color: #fcd34d;
}

.fs-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 20px 20px;
    margin-bottom: 80px;
    flex-wrap: wrap;
    gap: 30px;
}

.fs-timeline-line {
    position: absolute;
    top: 66px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(252, 211, 77, 0.2),
        rgba(252, 211, 77, 0.6),
        rgba(236, 72, 153, 0.6),
        rgba(34, 211, 238, 0.6),
        rgba(252, 211, 77, 0.2));
    z-index: 0;
}

.fs-tl-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 0 10px;
    flex: 1 1 0;
    min-width: 120px;
    transition: transform 0.4s ease;
}

.fs-tl-item:hover { transform: translateY(-6px); }

.fs-tl-year {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fcd34d;
    text-transform: uppercase;
    padding: 8px 16px;
    background: rgba(252, 211, 77, 0.08);
    border: 1px solid rgba(252, 211, 77, 0.3);
    border-radius: 50px;
    white-space: nowrap;
    transition: all 0.35s ease;
}

.fs-tl-item:hover .fs-tl-year {
    background: rgba(252, 211, 77, 0.2);
    border-color: #fcd34d;
    color: #fff;
}

.fs-tl-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0a0d14;
    border: 3px solid #fcd34d;
    box-shadow: 0 0 0 4px rgba(252, 211, 77, 0.15);
    position: relative;
    transition: all 0.35s ease;
}

.fs-tl-dot::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(252, 211, 77, 0.3);
    animation: fsTlDotPulse 2.5s ease-out infinite;
}

@keyframes fsTlDotPulse {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.fs-tl-item:hover .fs-tl-dot {
    background: #fcd34d;
    box-shadow: 0 0 0 6px rgba(252, 211, 77, 0.2), 0 0 20px #fcd34d;
}

.fs-tl-current .fs-tl-dot {
    background: #ec4899;
    border-color: #ec4899;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.25), 0 0 20px #ec4899;
}

.fs-tl-label {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #94a3b8;
    text-align: center;
    transition: color 0.35s ease;
}

.fs-tl-item:hover .fs-tl-label { color: #fff; }

.fs-tribute {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: 50px 40px;
    text-align: center;
    background: linear-gradient(145deg,
        rgba(252, 211, 77, 0.06) 0%,
        rgba(236, 72, 153, 0.04) 100%);
    border: 1px solid rgba(252, 211, 77, 0.2);
    border-radius: 24px;
    overflow: hidden;
}

.fs-tribute::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fcd34d, #ec4899, transparent);
    background-size: 200% 100%;
    animation: fsBorderFlow 5s linear infinite;
}

.fs-tribute-icon {
    font-size: 2rem;
    color: #fcd34d;
    opacity: 0.6;
    margin-bottom: 18px;
    display: block;
}

.fs-tribute-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.55rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 18px;
    font-weight: 400;
}

.fs-tribute-sign {
    font-size: 1.3rem;
    letter-spacing: 1.5px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 500;
}

/* ============================================= */
/*  LEADERSHIP MESSAGES SECTION                  */
/* ============================================= */
.messages-section {
    position: relative;
    background: #0a0a0f;
    color: #fff;
    padding: 110px 5% 100px;
    overflow: hidden;
    isolation: isolate;
}

.msg-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.msg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.35;
}

.msg-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #6366f1, transparent 70%);
    top: -150px;
    left: -150px;
    animation: blobDrift1 22s ease-in-out infinite alternate;
}

.msg-blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #ec4899, transparent 70%);
    bottom: -250px;
    right: -200px;
    animation: blobDrift2 26s ease-in-out infinite alternate;
}

@keyframes blobDrift1 {
    to { transform: translate(120px, 100px) scale(1.2); }
}
@keyframes blobDrift2 {
    to { transform: translate(-140px, -100px) scale(1.1); }
}

.messages-container {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.msg-header {
    text-align: center;
    margin-bottom: 70px;
}

.msg-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #a5b4fc;
    margin-bottom: 22px;
}

.msg-tag i {
    color: #818cf8;
    font-size: 1rem;
}

.msg-title {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 20px;
}

.msg-title span {
    font-weight: 800;
    font-style: italic;
    background: linear-gradient(120deg, #818cf8 0%, #22d3ee 50%, #ec4899 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleMove 6s ease infinite;
}

@keyframes titleMove {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.msg-title-line {
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    border-radius: 3px;
    margin: 0 auto;
    position: relative;
}

.msg-title-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    border-radius: 3px;
    filter: blur(8px);
    opacity: 0.7;
    animation: linePulse 2.5s ease-in-out infinite;
}

@keyframes linePulse {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 1; }
}

.msg-editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-bottom: 100px;
}

.msg-story {
    position: relative;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1),
                transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.msg-story.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.msg-story-inner {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.msg-story-right .msg-story-inner {
    grid-template-columns: 1fr 380px;
}

.msg-story-right .msg-story-photo { order: 2; }
.msg-story-right .msg-story-body  { order: 1; }

.msg-story-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 4px;
    overflow: visible;
}

.msg-story-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    filter: grayscale(30%) contrast(1.05);
    transition: transform 0.9s ease, filter 0.6s ease;
    display: block;
}

.msg-story:hover .msg-story-photo img {
    transform: scale(1.04);
    filter: grayscale(0%) contrast(1.1);
}

.msg-photo-tag {
    position: absolute;
    bottom: -16px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #0a0a0f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c7d2fe;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.msg-photo-tag i {
    color: #818cf8;
    font-size: 0.95rem;
}

.msg-story-right .msg-photo-tag {
    left: auto;
    right: 20px;
}

.msg-story-body {
    position: relative;
    padding: 20px 0;
}

.msg-quote-mark {
    display: block;
    font-family: Georgia, serif;
    font-size: 140px;
    line-height: 0.5;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.4;
    margin-bottom: 20px;
    user-select: none;
}

.msg-story-title {
    font-size: 2.4rem;
    font-weight: 300;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 22px;
    letter-spacing: -0.01em;
}

.msg-story-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: #6366f1;
    margin-top: 20px;
    transition: width 0.5s ease;
}

.msg-story:hover .msg-story-title::after {
    width: 110px;
    background: linear-gradient(90deg, #6366f1, #ec4899);
}

.msg-story-text {
    font-size: 1.55rem;
    line-height: 1.75;
    color: #c7c9d1;
    margin-bottom: 16px;
    font-weight: 300;
    white-space: pre-line; /* 👈 Keeps your HTML paragraph spacing */
    text-align: justify; /* 👈 Makes it clean like the screenshot */
}

/* ❌ REMOVED .msg-story-text::first-letter to stop the giant first letter */

.msg-story-signature {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.msg-sig-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, #6366f1, transparent);
}

.msg-sig-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.msg-sig-role {
    font-size: 1.1rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #818cf8;
    font-weight: 600;
}

.msg-story-accent {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #6366f1, transparent);
    opacity: 0.4;
}

.msg-story-right .msg-story-accent {
    left: auto;
    right: -30px;
    background: linear-gradient(to bottom, transparent, #ec4899, transparent);
}

/* ============================================= */
/*  TEACHERS SECTION — 5 CARDS PER ROW           */
/* ============================================= */
.teachers {
    position: relative;
    background: #0a0d14;
    color: #fff;
    padding: 120px 6% 110px;
    overflow: hidden;
    isolation: isolate;
    font-family: 'Josefin Sans', sans-serif;
}

.tr-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.tr-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    mix-blend-mode: screen;
}

.tr-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #22d3ee, transparent 70%);
    top: -180px;
    left: -120px;
    animation: trBlob1 22s ease-in-out infinite alternate;
}

.tr-blob-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #a78bfa, transparent 70%);
    bottom: -220px;
    right: -160px;
    animation: trBlob2 26s ease-in-out infinite alternate;
}

.tr-blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ec4899, transparent 70%);
    top: 45%;
    left: 45%;
    opacity: 0.2;
    animation: trBlob3 30s ease-in-out infinite alternate;
}

@keyframes trBlob1 { to { transform: translate(140px, 100px) scale(1.2); } }
@keyframes trBlob2 { to { transform: translate(-120px, -80px) scale(1.15); } }
@keyframes trBlob3 { to { transform: translate(-90px, 70px) scale(0.85); } }

.tr-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    animation: trGridMove 30s linear infinite;
}

@keyframes trGridMove {
    0%   { background-position: 0 0, 0 0; }
    100% { background-position: 60px 60px, 60px 60px; }
}

.tr-wrap {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
}

.tr-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.tr-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(167, 139, 250, 0.08);
    border: 1px solid rgba(167, 139, 250, 0.28);
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c4b5fd;
    margin-bottom: 22px;
}

.tr-tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a78bfa;
    box-shadow: 0 0 12px #a78bfa;
    animation: trPulse 1.8s ease-in-out infinite;
}

@keyframes trPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.6); opacity: 0.5; }
}

.tr-title {
    font-size: 3.4rem;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 18px;
}

.tr-title-accent {
    font-weight: 900;
    font-style: italic;
    background: linear-gradient(120deg, #22d3ee 0%, #a78bfa 50%, #ec4899 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: trGradShift 6s ease infinite;
}

@keyframes trGradShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.tr-underline {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
}

.tr-underline span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #a78bfa;
    animation: trDotPulse 2s ease-in-out infinite;
}

.tr-underline span:nth-child(1) { background: #22d3ee; animation-delay: 0s; }
.tr-underline span:nth-child(2) { background: #a78bfa; animation-delay: 0.2s; }
.tr-underline span:nth-child(3) { background: #ec4899; animation-delay: 0.4s; }
.tr-underline span:nth-child(4) { background: #a78bfa; animation-delay: 0.6s; }
.tr-underline span:nth-child(5) { background: #22d3ee; animation-delay: 0.8s; }

@keyframes trDotPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50%      { transform: scale(1.8); opacity: 1; }
}

.tr-sub {
    font-size: 1.55rem;
    line-height: 1.7;
    color: #94a3b8;
    font-weight: 300;
}

.tr-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 55px;
    padding: 0 1rem;
}

.tr-filter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #cbd5e1;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.19, 1, 0.22, 1);
    font-family: inherit;
}

.tr-filter i { font-size: 1.15rem; transition: transform 0.3s ease; }

.tr-filter:hover {
    color: #fff;
    border-color: rgba(167, 139, 250, 0.5);
    background: rgba(167, 139, 250, 0.08);
    transform: translateY(-2px);
}

.tr-filter:hover i { transform: scale(1.15) rotate(-8deg); }

.tr-filter.tr-filter-active {
    background: linear-gradient(135deg, #a78bfa 0%, #22d3ee 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 30px -10px rgba(167, 139, 250, 0.7);
}

/* ---------- GRID — 5 CARDS PER ROW ---------- */
.tr-grid-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}

/* ---------- CARD ---------- */
.tr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 18px 28px;
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.55s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    animation: trCardReveal 0.9s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    animation-delay: calc(var(--i, 0) * 0.1s);
}

.tr-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@keyframes trCardReveal {
    0%   { opacity: 0; transform: translateY(50px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.tr-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(167, 139, 250, 0.4);
    box-shadow:
        0 35px 70px -25px rgba(0, 0, 0, 0.8),
        0 0 50px -15px rgba(167, 139, 250, 0.3);
}

.tr-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(167, 139, 250, 0.25), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.tr-card:hover .tr-card-glow { opacity: 1; }

.tr-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #a78bfa, #22d3ee, #ec4899, transparent);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: trBorderFlow 4s linear infinite;
}

.tr-card:hover::before { opacity: 1; }

@keyframes trBorderFlow {
    0%   { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.tr-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 50px;
    color: #fcd34d;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 3;
}

.tr-badge i { font-size: 0.8rem; }

.tr-badge-teacher {
    background: rgba(34, 211, 238, 0.15);
    border-color: rgba(34, 211, 238, 0.35);
    color: #67e8f9;
}

.tr-badge-staff {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.tr-avatar {
    position: relative;
    width: 110px;
    height: 110px;
    margin-bottom: 18px;
    flex-shrink: 0;
    z-index: 2;
}

.tr-avatar-img {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 3;
    box-shadow: 0 18px 35px -10px rgba(0, 0, 0, 0.7);
}

.tr-avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tr-card:hover .tr-avatar-img img { transform: scale(1.08); }

.tr-avatar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        linear-gradient(#0a0d14, #0a0d14) padding-box,
        conic-gradient(from 0deg, #a78bfa, #22d3ee, #ec4899, #a78bfa) border-box;
    border: 2px solid transparent;
    animation: trAvatarSpin 6s linear infinite;
    z-index: 2;
}

.tr-ring-2 {
    inset: -6px;
    opacity: 0.35;
    border-width: 1px;
    animation-duration: 10s;
    animation-direction: reverse;
}

.tr-card-staff .tr-avatar-ring {
    background:
        linear-gradient(#0a0d14, #0a0d14) padding-box,
        conic-gradient(from 0deg, #10b981, #22c55e, #a78bfa, #10b981) border-box;
}

@keyframes trAvatarSpin { to { transform: rotate(360deg); } }

.tr-avatar-glow {
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.5), transparent 70%);
    filter: blur(28px);
    z-index: 1;
    animation: trGlowPulse 3s ease-in-out infinite;
}

.tr-card-staff .tr-avatar-glow {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.5), transparent 70%);
}

@keyframes trGlowPulse {
    0%, 100% { transform: scale(0.9); opacity: 0.6; }
    50%      { transform: scale(1.15); opacity: 1; }
}

.tr-spark {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 15px #22d3ee;
    z-index: 4;
    animation: trSparkFloat 4s ease-in-out infinite;
}

.tr-spark.s1 { top: 0;    left: 50%;  animation-delay: 0s; }
.tr-spark.s2 { top: 60%;  right: -5%; animation-delay: 1.3s; background: #a78bfa; box-shadow: 0 0 15px #a78bfa; }
.tr-spark.s3 { bottom: 0; left: 25%;  animation-delay: 2.6s; background: #ec4899; box-shadow: 0 0 15px #ec4899; }

.tr-card-staff .tr-spark.s1 { background: #10b981; box-shadow: 0 0 15px #10b981; }

@keyframes trSparkFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(8px, -16px) scale(1.4); }
}

.tr-info {
    position: relative;
    z-index: 2;
    width: 100%;
}

.tr-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1.25;
    word-break: break-word;
}

.tr-role {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #67e8f9;
    margin-bottom: 5px;
    word-break: break-word;
}

.tr-role-principal {
    background: linear-gradient(135deg, #fcd34d, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tr-card-staff .tr-role { color: #6ee7b7; }

.tr-subject {
    font-size: 1.1rem;
    line-height: 1.45;
    color: #94a3b8;
    margin-bottom: 14px;
    word-break: break-word;
}

.tr-contact {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
}

.tr-contact p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 1.05rem;
    color: #94a3b8;
    word-break: break-all;
    overflow-wrap: anywhere;
    line-height: 1.4;
}

.tr-contact i {
    color: #a78bfa;
    font-size: 0.95rem;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

.tr-card-staff .tr-contact i { color: #10b981; }

.tr-social {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    opacity: 0.7;
    transform: translateY(6px);
    transition: all 0.4s ease;
}

.tr-card:hover .tr-social {
    opacity: 1;
    transform: translateY(0);
}

.tr-social a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 1.15rem;
    transition: all 0.35s ease;
}

.tr-social a:hover {
    background: linear-gradient(135deg, #a78bfa, #22d3ee);
    color: #fff;
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 12px 25px -8px rgba(167, 139, 250, 0.7);
}

.tr-card-staff .tr-social a:hover {
    background: linear-gradient(135deg, #10b981, #22c55e);
    box-shadow: 0 12px 25px -8px rgba(16, 185, 129, 0.7);
}

/* ============================================= */
/*  CONTACT SECTION                              */
/* ============================================= */
.contact {
    position: relative;
    background: #0a0d14;
    color: #fff;
    padding: 120px 6% 100px;
    overflow: hidden;
    isolation: isolate;
    font-family: 'Josefin Sans', sans-serif;
}

.ct-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ct-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    mix-blend-mode: screen;
}

.ct-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #22d3ee, transparent 70%);
    top: -180px;
    left: -120px;
    animation: ctBlob1 20s ease-in-out infinite alternate;
}

.ct-blob-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #a78bfa, transparent 70%);
    bottom: -220px;
    right: -160px;
    animation: ctBlob2 24s ease-in-out infinite alternate;
}

.ct-blob-3 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #ec4899, transparent 70%);
    top: 45%;
    left: 50%;
    opacity: 0.2;
    animation: ctBlob3 28s ease-in-out infinite alternate;
}

@keyframes ctBlob1 { to { transform: translate(140px, 100px) scale(1.2); } }
@keyframes ctBlob2 { to { transform: translate(-120px, -80px) scale(1.15); } }
@keyframes ctBlob3 { to { transform: translate(-90px, 70px) scale(0.85); } }

.ct-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    animation: ctGridMove 30s linear infinite;
}

@keyframes ctGridMove {
    0%   { background-position: 0 0, 0 0; }
    100% { background-position: 60px 60px, 60px 60px; }
}

.ct-wrap {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.ct-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.045) 0%,
        rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 55px 55px 55px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 40px 90px -40px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    overflow: hidden;
    margin-bottom: 100px;
}

.ct-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ec4899, #a78bfa, #22d3ee, #22d3ee);
    background-size: 200% 100%;
    animation: ctTopFlow 6s linear infinite;
}

@keyframes ctTopFlow {
    0%   { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.ct-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ct-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #67e8f9;
    margin-bottom: 22px;
    align-self: flex-start;
}

.ct-tag i {
    font-size: 1rem;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.ct-tag:hover i {
    transform: translateX(4px) rotate(-15deg);
}

.ct-heading {
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Josefin Sans', sans-serif;
}

.ct-heading em {
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(120deg, #a78bfa 0%, #22d3ee 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ctGradShift 6s ease infinite;
}

@keyframes ctGradShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.ct-sub {
    font-size: 1.45rem;
    line-height: 1.75;
    color: #94a3b8;
    font-weight: 300;
    margin-bottom: 36px;
    max-width: 420px;
}

.ct-info {
    list-style: none;
    padding: 0;
    margin: 0 0 34px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ct-info li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.4rem;
    font-weight: 400;
    color: #d1d5db;
    line-height: 1.5;
    transition: transform 0.3s ease;
}

.ct-info li:hover {
    transform: translateX(4px);
    color: #fff;
}

.ct-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    color: #fff;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px -6px rgba(109, 40, 217, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ct-info li:hover .ct-info-icon {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 12px 28px -6px rgba(109, 40, 217, 0.9);
}

.ct-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ct-social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #cbd5e1;
    font-size: 1.4rem;
    transition: all 0.35s ease;
}

.ct-social a:hover {
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    color: #fff;
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 12px 25px -8px rgba(109, 40, 217, 0.7);
}

.ct-right {
    display: flex;
    align-items: center;
}

.ct-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ct-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ct-field label {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #94a3b8;
}

.ct-field input,
.ct-field textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-size: 1.45rem;
    font-family: inherit;
    outline: none;
    transition: all 0.35s ease;
    resize: none;
}

.ct-field textarea {
    min-height: 160px;
    line-height: 1.6;
    padding-top: 16px;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: #64748b;
    font-size: 1.4rem;
}

.ct-field input:focus,
.ct-field textarea:focus {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.06);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.ct-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 50%, #c4b5fd 100%);
    background-size: 200% 200%;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 40px -12px rgba(139, 92, 246, 0.7);
    align-self: flex-start;
    margin-top: 10px;
}

.ct-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s ease;
}

.ct-submit:hover::before { left: 100%; }

.ct-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 1);
}

.ct-submit i { transition: transform 0.35s ease; }
.ct-submit:hover i { transform: translateX(6px); }

.ct-quick {
    position: relative;
}

.ct-quick-header {
    margin-bottom: 28px;
}

.ct-quick-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #4285f4;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.ct-quick-line {
    display: block;
    width: 60px;
    height: 3px;
    background: #22d3ee;
    border-radius: 3px;
}

.ct-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.ct-quick-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #e2e8f0;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    text-decoration: none;
}

.ct-quick-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
}

.ct-quick-item:hover::before { transform: translateX(100%); }

.ct-quick-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.7);
}

.ct-q-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.35rem;
    color: #fff;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.ct-q-pink   { background: linear-gradient(135deg, #ec4899, #f43f5e); box-shadow: 0 8px 20px -8px rgba(236, 72, 153, 0.6); }
.ct-q-blue   { background: linear-gradient(135deg, #3b82f6, #6366f1); box-shadow: 0 8px 20px -8px rgba(59, 130, 246, 0.6); }
.ct-q-cyan   { background: linear-gradient(135deg, #22d3ee, #0ea5e9); box-shadow: 0 8px 20px -8px rgba(34, 211, 238, 0.6); }
.ct-q-purple { background: linear-gradient(135deg, #a78bfa, #8b5cf6); box-shadow: 0 8px 20px -8px rgba(167, 139, 250, 0.6); }
.ct-q-green  { background: linear-gradient(135deg, #10b981, #22c55e); box-shadow: 0 8px 20px -8px rgba(16, 185, 129, 0.6); }
.ct-q-orange { background: linear-gradient(135deg, #f59e0b, #f97316); box-shadow: 0 8px 20px -8px rgba(245, 158, 11, 0.6); }

.ct-quick-item:hover .ct-q-icon {
    transform: scale(1.1) rotate(-8deg);
}

.ct-q-text {
    flex: 1;
    min-width: 0;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    word-break: break-word;
    text-align: left;
    line-height: 1.3;
}

.ct-q-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.ct-quick-item:hover .ct-q-arrow {
    background: #22d3ee;
    color: #0a0d14;
    transform: translateX(4px);
}

/* ============================================= */
/*  FOOTER SECTION                               */
/* ============================================= */
.footer {
    background-color: #101010;
    color: white;
    padding: 50px 20px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    min-height: 50vh;
    position: relative;
    text-align: center;
}

.footer-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding-bottom: 80px;
}

.footer-section {
    flex: 1 1 200px;
    padding: 10px;
    text-align: center;
    min-width: 0;
}

.footer-section p {
    color: #0ef;
    font-size: 15px;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.footer-section ul {
    padding: 0;
    list-style: none;
}

.footer-section ul a {
    display: block;
    margin-bottom: 15px;
    text-align: center;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section a {
    color: #0ef;
    font-size: 15px;
    word-break: break-word;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-section a:has(i) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 6px 6px !important;
    border-radius: 50%;
    background: rgba(0, 238, 255, 0.12);
    color: #0ef;
    font-size: 1rem;
    line-height: 1;
    vertical-align: middle;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.footer-section a:has(i):hover {
    background: #0ef;
    color: #101010;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 238, 255, 0.4);
    text-decoration: none !important;
}

.footer-copyright {
    text-align: center;
    background-color: #1f242d;
    padding: 20px;
    font-size: 15px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    word-break: break-word;
}

.developer-name a {
    color: #0ef;
    font-weight: bold;
    text-decoration: none;
}

.developer-name a:hover {
    text-decoration: underline;
}

/* ============================================= */
/*  RESPONSIVE — LARGE TABLET (≤ 1200px)         */
/* ============================================= */
@media (max-width: 1200px) {
    .logo span { font-size: 17px; }
    .navbar a {
        font-size: 15px;
        padding: 7px 10px;
    }
    .logo img { height: 55px; }

    .fs-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
    .fs-portrait { width: 120px; height: 120px; }
    .fs-name { font-size: 1.35rem; }
    .fs-quote { font-size: 1.1rem; }

    .tr-grid-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }
}

/* ============================================= */
/*  RESPONSIVE — TABLET (≤ 992px)                */
/* ============================================= */
@media (max-width: 992px) {
    .header { padding: 1.2rem 3%; gap: 12px; }
    .logo span { font-size: 15px; }
    .logo img { height: 48px; }
    .navbar a {
        font-size: 14px;
        padding: 6px 9px;
    }

    /* About stacks */
    .about { padding: 80px 5% 70px; }
    .about-wrap {
        grid-template-columns: 1fr;
        gap: 45px;
        max-width: 100%;
        margin: 0 auto;
    }
    .about-visual {
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
        justify-content: center;
    }
    .about-img {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 4 / 3;
        min-height: 340px;
        border-radius: 16px;
        margin: 0 auto;
    }
    .about-copy {
        text-align: center;
        align-items: center;
        padding: 0;
    }
    .about-eyebrow { align-self: center; }
    .about-desc {
        text-align: justify;
        margin-left: auto;
        margin-right: auto;
    }
    .about-features { justify-content: center; }
    .about-stats    { justify-content: center; }
    .about-cta      { justify-content: center; }

    /* Founders: 2 per row */
    .fs-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        max-width: 720px;
        margin: 0 auto 80px;
    }

    /* Messages */
    .msg-story-inner { grid-template-columns: 320px 1fr; gap: 45px; }
    .msg-story-right .msg-story-inner { grid-template-columns: 1fr 320px; }

    /* Teachers: 2 per row */
    .tr-grid-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    .tr-card { padding: 36px 22px 30px; }
    .tr-avatar { width: 120px; height: 120px; }
    .tr-name { font-size: 1.45rem; }

    /* Contact stacks */
    .ct-card {
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 45px 40px;
    }
    .ct-sub { max-width: 100%; }
    .ct-quick-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================= */
/*  RESPONSIVE — MOBILE (≤ 768px)                */
/* ============================================= */
@media (max-width: 768px) {
    section { padding: 8rem 4% 2rem; }

    .header { padding: 1rem 4%; }
    .logo span { font-size: 13px; }
    .logo img { height: 40px; margin-left: 0; }

    .navbar {
        flex-direction: column;
        display: none;
        width: 100%;
        background-color: #1f242d;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem 0;
        gap: 0;
    }
    .navbar.active { display: flex; }
    .navbar a {
        margin-left: 0;
        width: 100%;
        text-align: left;
        padding: 15px 20px;
        font-size: 16px;
        white-space: normal;
    }
    #menu-icon {
        display: block;
        font-size: 2.5rem;
        cursor: pointer;
        color: white;
        flex-shrink: 0;
    }

    /* GALLERY */
    .school { padding: 6rem 4% 6rem; }
    .gallery-filters { gap: 0.5rem; margin-bottom: 2.5rem; }
    .gallery-filter-btn {
        padding: 0.45rem 0.9rem;
        font-size: 1.2rem;
        border-width: 1px;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    /* ABOUT */
    .about { padding: 70px 5% 60px; }
    .about-wrap { gap: 35px; }
    .about-img {
        aspect-ratio: 4 / 3;
        min-height: 260px;
        border-radius: 14px;
    }
    .about-eyebrow {
        font-size: 1.05rem;
        padding: 6px 14px;
        letter-spacing: 2px;
        margin-bottom: 18px;
    }
    .about-title { font-size: 2.6rem !important; margin-bottom: 20px; }
    
    .about-desc { 
        font-size: 1.5rem !important; 
        line-height: 1.7; 
        margin-bottom: 14px; 
        text-align: left; 
    }
    
    .about-features { 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 8px; 
        margin: 22px 0; 
    } 
    .about-feature { padding: 9px 14px; font-size: 1.2rem; gap: 8px; }
    .feature-icon { width: 26px; height: 26px; font-size: 1rem; }
    .about-stats { flex-wrap: wrap; justify-content: center; gap: 20px; padding: 20px 0; margin: 26px 0; }
    .stat { padding-right: 20px; flex-direction: column; align-items: center; gap: 0; }
    .stat:not(:last-child)::after { display: none; }
    .stat-num { font-size: 2.5rem; }
    .stat-plus { font-size: 1.8rem; }
    .stat-label { font-size: 1rem; letter-spacing: 1.5px; margin-top: 4px; }
    .about-cta { flex-direction: column; gap: 12px; width: 100%; }
    .btn-primary, .btn-ghost {
        padding: 13px 22px;
        font-size: 1.25rem;
        width: 100%;
        justify-content: center;
    }

    /* FOUNDERS */
    .founders-section { padding: 90px 5% 80px; }
    .fs-header { margin-bottom: 55px; }
    .fs-crest { width: 76px; height: 76px; }
    .fs-crest-icon { width: 58px; height: 58px; font-size: 1.7rem; }
    .fs-title { font-size: 2.8rem !important; }
    .fs-sub { font-size: 1.45rem; }
    
    .fs-cards {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 300px; 
        margin: 0 auto 70px;
    }
    .fs-card {
        padding: 32px 18px 24px;
    }

    .fs-portrait { width: 120px; height: 120px; margin-bottom: 20px; }
    .fs-name { font-size: 1.6rem !important; }
    .fs-role { font-size: 1.1rem; }
    .fs-tenure { font-size: 1.1rem; }
    .fs-quote { font-size: 1.25rem; }
    .fs-sig-name { font-size: 1.25rem; }
    .fs-timeline {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
        gap: 22px;
        margin-bottom: 60px;
    }
    .fs-timeline-line { display: none; }
    .fs-tl-item {
        flex-direction: row;
        gap: 16px;
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
    }
    .fs-tl-year {
        min-width: 100px;
        text-align: center;
        font-size: 1.2rem;
        padding: 6px 12px;
    }
    .fs-tl-label { text-align: left; font-size: 1.1rem; }
    .fs-tribute { padding: 40px 26px; }
    .fs-tribute-text { font-size: 1.45rem; }
    .fs-tribute-sign { font-size: 1.2rem; }

    /* MESSAGES */
    .messages-section { padding: 80px 5% 80px; }
    .msg-header { margin-bottom: 50px; }
    .msg-editorial-grid { gap: 50px; margin-bottom: 70px; }
    .msg-story-inner,
    .msg-story-right .msg-story-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .msg-story-right .msg-story-photo { order: 1; }
    .msg-story-right .msg-story-body  { order: 2; }
    .msg-story-photo {
        max-width: 320px;
        margin: 0 auto;
        aspect-ratio: 4 / 5;
    }
    .msg-story-right .msg-photo-tag { left: 20px; right: auto; }
    .msg-story-accent { display: none; }
    .msg-quote-mark { font-size: 110px; height: 45px; }
    .msg-title { font-size: 3rem !important; }
    .msg-story-title { font-size: 2.2rem !important; }
    .msg-story-text { font-size: 1.5rem !important; }

    /* TEACHERS */
    .teachers { padding: 90px 5% 80px; }
    .tr-header { margin-bottom: 45px; }
    .tr-sub { font-size: 1.45rem; }
    .tr-filters { gap: 10px; margin-bottom: 40px; }
    .tr-filter { padding: 10px 18px; font-size: 1.25rem; }
    .tr-filter i { font-size: 1.1rem; }
    
    .tr-grid-cards {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 320px;
        margin: 0 auto;
    }
    .tr-card { 
        padding: 32px 20px 26px;
    }
    
    .tr-avatar { width: 130px; height: 130px; }
    .tr-title { font-size: 2.8rem !important; }
    .tr-name { font-size: 1.6rem !important; }
    .tr-role { font-size: 1.15rem !important; }
    .tr-subject { font-size: 1.3rem !important; }
    .tr-contact p { font-size: 1.2rem !important; }

    /* CONTACT */
    .contact { padding: 90px 5% 80px; }
    .ct-card {
        padding: 40px 26px;
        border-radius: 22px;
        gap: 40px;
        margin-bottom: 70px;
    }
    .ct-row { grid-template-columns: 1fr; gap: 18px; }
    .ct-heading { font-size: 2.6rem !important; }
    .ct-sub { font-size: 1.4rem; }
    .ct-info li { font-size: 1.35rem; }
    .ct-info-icon { width: 36px; height: 36px; font-size: 1.2rem; }
    .ct-field label { font-size: 1.05rem; }
    .ct-field input,
    .ct-field textarea { font-size: 1.35rem; padding: 12px 16px; }
    .ct-field textarea { min-height: 140px; }
    .ct-submit { width: 100%; justify-content: center; }
    .ct-quick-title { font-size: 2rem !important; }
    .ct-quick-grid { grid-template-columns: 1fr; gap: 12px; }
    .ct-q-text { font-size: 1.3rem; }
    .ct-q-icon { width: 38px; height: 38px; font-size: 1.2rem; }

    /* FOOTER */
    .footer { padding: 40px 20px; }
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding-bottom: 100px;
    }
    .footer-section { width: 100%; }
    .footer-copyright { font-size: 14px; padding: 15px; }
    .footer-section a:has(i) {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
        margin: 5px 5px !important;
    }
}

/* ============================================= */
/*  RESPONSIVE — SMALL MOBILE (≤ 480px)          */
/* ============================================= */
@media (max-width: 480px) {
    section { padding: 7rem 3% 1.5rem; }

    /* HEADER */
    .logo span { font-size: 12px; }
    .logo img { height: 36px; }

    /* GALLERY */
    .school { padding: 5rem 3% 5rem; }
    .gallery-grid { grid-template-columns: 1fr; gap: 1rem; }
    .gallery-filter-btn {
        padding: 0.35rem 0.75rem;
        font-size: 1.05rem;
    }
    .school-layer a {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    /* ABOUT */
    .about { padding: 60px 4% 50px; }
    .about-title { font-size: 2.4rem !important; }
    .about-desc { font-size: 1.4rem !important; }
    .about-feature { font-size: 1.15rem; padding: 8px 12px; }
    .feature-icon { width: 24px; height: 24px; font-size: 0.9rem; }
    .stat-num { font-size: 2.2rem; }
    .stat-plus { font-size: 1.6rem; }
    .stat-label { font-size: 0.95rem; letter-spacing: 1px; }
    .btn-primary, .btn-ghost {
        padding: 12px 18px;
        font-size: 1.15rem;
    }

    /* FOUNDERS */
    .founders-section { padding: 80px 4% 70px; }
    .fs-crest { width: 66px; height: 66px; margin-bottom: 18px; }
    .fs-crest-icon { width: 50px; height: 50px; font-size: 1.5rem; }
    .fs-eyebrow { font-size: 1rem; letter-spacing: 3px; }
    .fs-title { font-size: 2.4rem !important; }
    .fs-sub { font-size: 1.3rem; }
    .fs-ornament span { width: 40px; }
    .fs-ornament i { font-size: 1.1rem; }
    
    .fs-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 280px;
        margin: 0 auto 60px;
    }
    .fs-card { padding: 28px 16px 22px; border-radius: 18px; }

    .fs-card-ribbon {
        font-size: 0.72rem;
        padding: 5px 34px;
        top: 12px;
        right: -30px;
        letter-spacing: 1px;
    }
    .fs-portrait { width: 110px; height: 110px; margin-bottom: 18px; }
    .fs-portrait-img { inset: 8px; }
    .fs-name { font-size: 1.4rem !important; }
    .fs-role { font-size: 1rem; letter-spacing: 1.5px; }
    .fs-tenure { font-size: 0.92rem; padding: 3px 10px; margin-bottom: 14px; }
    .fs-quote { font-size: 1.15rem; line-height: 1.5; margin-bottom: 16px; }
    .fs-sig-name { font-size: 1.15rem; }
    .fs-timeline { padding: 24px 12px; gap: 18px; margin-bottom: 50px; }
    .fs-tl-year { min-width: 84px; font-size: 1.1rem; padding: 5px 10px; }
    .fs-tl-label { font-size: 1rem; }
    .fs-tl-dot { width: 14px; height: 14px; }
    .fs-tribute { padding: 32px 20px; border-radius: 18px; }
    .fs-tribute-icon { font-size: 1.7rem; }
    .fs-tribute-text { font-size: 1.35rem; }
    .fs-tribute-sign { font-size: 1.1rem; letter-spacing: 1px; }

    /* MESSAGES */
    .messages-section { padding: 70px 4% 70px; }
    .msg-tag { font-size: 1.05rem; padding: 7px 14px; letter-spacing: 2px; }
    .msg-title { font-size: 2.6rem !important; }
    .msg-story-photo { max-width: 260px; }
    .msg-quote-mark { font-size: 90px; height: 40px; }
    .msg-story-title { font-size: 2rem !important; }
    .msg-story-text { font-size: 1.4rem !important; line-height: 1.65; }
    .msg-sig-name { font-size: 1.4rem; }
    .msg-sig-role { font-size: 1.05rem; letter-spacing: 2px; }

    /* TEACHERS */
    .teachers { padding: 80px 4% 70px; }
    .tr-tag { font-size: 1rem; padding: 6px 14px; letter-spacing: 2px; }
    .tr-title { font-size: 2.4rem !important; }
    .tr-sub { font-size: 1.35rem; }
    .tr-filter { padding: 9px 16px; font-size: 1.15rem; gap: 6px; }
    
    .tr-grid-cards {
        max-width: 280px;
    }
    .tr-card { padding: 28px 16px 22px; border-radius: 18px; }
    
    .tr-avatar { width: 120px; height: 120px; }
    .tr-name { font-size: 1.4rem !important; }
    .tr-role { font-size: 1.05rem !important; }
    .tr-subject { font-size: 1.2rem !important; }
    .tr-contact p { font-size: 1.1rem !important; }
    .tr-social a { width: 34px; height: 34px; font-size: 1.2rem; }
    .tr-badge { font-size: 0.85rem; padding: 5px 11px; top: 12px; right: 12px; }

    /* CONTACT */
    .contact { padding: 80px 4% 70px; }
    .ct-card {
        padding: 32px 20px;
        border-radius: 20px;
        gap: 32px;
    }
    .ct-tag { font-size: 1rem; padding: 6px 14px; letter-spacing: 2px; }
    .ct-heading { font-size: 2.2rem !important; }
    .ct-sub { font-size: 1.3rem; }
    .ct-info li { font-size: 1.25rem; gap: 12px; }
    .ct-info-icon { width: 34px; height: 34px; font-size: 1.15rem; }
    .ct-social a { width: 40px; height: 40px; font-size: 1.3rem; }
    .ct-submit { font-size: 1.25rem; padding: 14px 28px; letter-spacing: 1.5px; }
    .ct-quick-title { font-size: 1.8rem !important; }
    .ct-q-text { font-size: 1.25rem; }

    /* FOOTER */
    .footer { padding: 40px 15px 120px; }
    .footer-section h3 { font-size: 16px; }
    .footer-section p,
    .footer-section a { font-size: 14px; }
    .footer-copyright { font-size: 13px; }
    .footer-section a:has(i) {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
        margin: 5px 4px !important;
    }
}

/* ============================================= */
/*  RESPONSIVE — EXTRA SMALL (≤ 380px)           */
/* ============================================= */
@media (max-width: 380px) {
    .gallery-filter-btn {
        font-size: 0.95rem;
        padding: 0.3rem 0.65rem;
    }

    .fs-title { font-size: 2.2rem !important; }
    .fs-card { padding: 24px 14px 20px; }
    .fs-portrait { width: 90px; height: 90px; }
    .fs-name { font-size: 1.3rem !important; }
    .fs-quote { font-size: 1.1rem; }
    .fs-tl-year { min-width: 76px; font-size: 1rem; }
    .fs-tl-label { font-size: 0.95rem; }

    .msg-title { font-size: 2.4rem !important; }
    .msg-story-photo { max-width: 220px; }

    .tr-title { font-size: 2.2rem !important; }
    .tr-card { padding: 24px 14px 20px; }
    .tr-avatar { width: 110px; height: 110px; }
    .tr-name { font-size: 1.3rem !important; }

    .ct-heading { font-size: 2rem !important; }

    .footer-copyright { font-size: 12px; }
    .footer-section a:has(i) {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        margin: 4px 3px !important;
    }
}