/* ==========================================================================
   UNIVERSITY-STYLE ADMISSIONS PORTAL MAIN STYLESHEET
   ========================================================================== */

:root {
    --font-serif: "Lora", Georgia, Cambria, "Times New Roman", Times, serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* LIGHT THEME VARIABLES */
    --bg: #fcfbfa;
    /* Warm off-white background */
    --surface: #ffffff;
    /* Pure white card surface */
    --surface-soft: #f3f4f6;
    /* Neutral light gray */
    --text: #111827;
    /* Slate 900 */
    --muted: #4b5563;
    /* Slate 600 */
    --border: #e5e7eb;
    /* Slate 200 */

    --primary: #071f3b;
    /* IATM crest navy */
    --primary-strong: #06182c;
    --accent: #d7a536;
    /* IATM crest gold */
    --accent-gold: #d7a536;
    --teal: #256f8f;

    --success: #15803d;
    /* Forest green */
    --danger: #b91c1c;
    /* Deep red */
    --warning: #b45309;
    /* Warm amber */

    --field: #ffffff;
    --field-muted: #f9fafb;
    --table-row: #ffffff;
    --table-row-hover: #f9fafb;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --radius: 4px;
    /* Classic medium corners */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    color-scheme: light;
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-secondary-color: var(--muted);
    --bs-border-color: var(--border);
    --bs-tertiary-bg: var(--surface-soft);
    --bs-heading-color: var(--text);
    --bs-link-color: var(--primary);
    --bs-link-hover-color: var(--primary-strong);
}

[data-theme="dark"] {
    /* DARK THEME VARIABLES */
    --bg: #0b0f19;
    /* Oxford deep dark blue */
    --surface: #111827;
    /* Dark slate surface */
    --surface-soft: #1f2937;
    /* Slate card background */
    --text: #f9fafb;
    /* Crisp white text */
    --muted: #9ca3af;
    /* Muted gray text */
    --border: #374151;
    /* Slate border */

    --primary: #60a5fa;
    /* Classic Light Blue */
    --primary-strong: #93c5fd;
    --accent: #fbbf24;
    /* Golden Amber accent */
    --accent-gold: #fbbf24;
    --teal: #38bdf8;

    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;

    --field: #1f2937;
    --field-muted: #111827;
    --table-row: #111827;
    --table-row-hover: #1f2937;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.35);

    color-scheme: dark;
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-secondary-color: var(--muted);
    --bs-border-color: var(--border);
    --bs-tertiary-bg: var(--surface-soft);
    --bs-heading-color: var(--text);
    --bs-link-color: var(--primary);
    --bs-link-hover-color: var(--primary-strong);
}

/* ==========================================================================
   GLOBAL RESET & TYPOGRAPHY
   ========================================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    scroll-padding-top: 124px;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::selection {
    color: #ffffff;
    background: var(--primary);
}

/* ==========================================================================
   SYSTEM CORE COMPONENTS
   ========================================================================== */

.app-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    background: var(--bg);
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.app-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1900;
    width: 0;
    height: 3px;
    background: var(--accent-gold);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */

.site-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border);
}

.top-utility-bar {
    position: relative;
    overflow: hidden;
    background: var(--primary);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    padding: 0.4rem 0;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    perspective: 520px;
}

.top-utility-bar .container {
    position: relative;
    z-index: 2;
}

.utility-flight-animation {
    position: absolute;
    top: 50%;
    left: -4rem;
    z-index: 1;
    display: inline-grid;
    width: 2.1rem;
    height: 2.1rem;
    place-items: center;
    color: #ffffff;
    filter: drop-shadow(0 7px 8px rgba(0, 0, 0, 0.28));
    transform-style: preserve-3d;
    animation: utilityPlaneFlight 9s cubic-bezier(0.45, 0, 0.25, 1) infinite;
    pointer-events: none;
}

.utility-flight-animation i {
    color: #ffffff;
    font-size: 1rem;
    transform: rotate(18deg);
}

.utility-flight-animation::before {
    content: '';
    position: absolute;
    right: 1.45rem;
    width: 5.25rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(215, 165, 54, 0.78), rgba(255, 255, 255, 0.75));
    transform: translateZ(-18px);
    opacity: 0.88;
}

.utility-flight-animation::after {
    content: '';
    position: absolute;
    inset: 0.3rem;
    border-radius: 50%;
    background: rgba(215, 165, 54, 0.22);
    filter: blur(9px);
    transform: translateZ(-28px);
}

@keyframes utilityPlaneFlight {
    0% {
        opacity: 0;
        transform: translate3d(-7vw, -48%, -80px) rotateX(26deg) rotateY(62deg) rotateZ(-8deg) scale(0.65);
    }

    12% {
        opacity: 1;
    }

    48% {
        transform: translate3d(50vw, -64%, 58px) rotateX(8deg) rotateY(22deg) rotateZ(8deg) scale(1.04);
    }

    88% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate3d(107vw, -42%, -70px) rotateX(28deg) rotateY(-54deg) rotateZ(14deg) scale(0.72);
    }
}

.top-utility-bar .info-item i {
    color: var(--accent-gold);
    margin-right: 0.35rem;
}

.top-utility-bar .top-link {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.15s ease;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.top-utility-bar .top-link:hover {
    color: #ffffff;
}

.site-navbar {
    position: relative;
    overflow: hidden;
    perspective: 900px;
    background: var(--surface);
    padding: 0.65rem 0;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-navbar::before {
    content: '';
    position: absolute;
    inset: auto -12% 0;
    height: 56%;
    background:
        linear-gradient(105deg, transparent 0 36%, rgba(215, 165, 54, 0.12) 43%, transparent 50%),
        radial-gradient(120px 24px at 18% 100%, rgba(37, 111, 143, 0.1), transparent 70%);
    transform: rotateX(64deg) translateY(22px);
    transform-origin: bottom;
    animation: navbarRunwaySweep 7s ease-in-out infinite;
    pointer-events: none;
}

.site-navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -25%;
    width: 20%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(215, 165, 54, 0.16), transparent);
    transform: skewX(-22deg);
    animation: navbarLightPass 8s ease-in-out infinite;
    pointer-events: none;
}

.site-navbar .container {
    position: relative;
    z-index: 1;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.brand-logo-wrap {
    display: grid;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
    padding: 3px;
}

.site-navbar .brand-logo-wrap {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
    box-shadow: 0 12px 24px rgba(7, 31, 59, 0.12);
    transform-style: preserve-3d;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.site-navbar .brand-mark:hover .brand-logo-wrap {
    box-shadow: 0 18px 32px rgba(7, 31, 59, 0.18);
    transform: rotateX(8deg) rotateY(-12deg) translateY(-2px);
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    gap: 0.05rem;
    min-width: 0;
    line-height: 1.1;
}

.brand-copy strong {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0;
}

.brand-copy small {
    max-width: 220px;
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.navbar .nav-link {
    position: relative;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    transform-style: preserve-3d;
    transition: color 0.15s ease, transform 0.22s ease, text-shadow 0.22s ease;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    right: 0.65rem;
    bottom: 0.1rem;
    left: 0.65rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transform: translateY(5px) translateZ(-12px) scaleX(0.3);
    transition: opacity 0.2s ease, transform 0.22s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary);
    text-shadow: 0 8px 18px rgba(7, 31, 59, 0.16);
    transform: rotateX(12deg) translateY(-2px) translateZ(12px);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    opacity: 1;
    transform: translateY(0) translateZ(-12px) scaleX(1);
}

.btn {
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.5rem 1.1rem;
    transition: all 0.2s ease;
}

.btn-lg {
    padding: 0.65rem 1.4rem;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-strong);
    border-color: var(--primary-strong);
    color: #ffffff;
}

.btn-outline-secondary {
    color: var(--text);
    border-color: var(--border);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--surface-soft);
    color: var(--text);
    border-color: var(--border);
}

.nav-cta {
    border: 1.5px solid var(--accent);
    color: var(--accent) !important;
    background: transparent;
    padding: 0.4rem 1rem !important;
    font-weight: 700;
}

.nav-cta:hover,
.nav-cta.active {
    background: var(--accent) !important;
    color: #ffffff !important;
    transform: translateY(-2px) rotateX(10deg);
    box-shadow: 0 12px 22px rgba(215, 165, 54, 0.24);
}

.nav-cta-mobile {
    border: 1.5px solid var(--accent);
    color: var(--accent) !important;
    background: transparent;
    padding: 0.35rem 0.85rem !important;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-right: 0.25rem;
}

.nav-cta-mobile:hover,
.nav-cta-mobile:focus {
    background: var(--accent) !important;
    color: #ffffff !important;
}

@keyframes navbarRunwaySweep {

    0%,
    100% {
        opacity: 0.48;
        transform: rotateX(64deg) translate3d(-2%, 22px, -20px);
    }

    50% {
        opacity: 0.9;
        transform: rotateX(58deg) translate3d(5%, 18px, 12px);
    }
}

@keyframes navbarLightPass {

    0%,
    38% {
        opacity: 0;
        transform: translateX(0) skewX(-22deg);
    }

    50% {
        opacity: 1;
    }

    72%,
    100% {
        opacity: 0;
        transform: translateX(720%) skewX(-22deg);
    }
}

@media (prefers-reduced-motion: reduce) {

    .utility-flight-animation,
    .site-navbar::before,
    .site-navbar::after {
        animation: none;
    }

    .utility-flight-animation {
        display: none;
    }

    .site-navbar .brand-logo-wrap,
    .navbar .nav-link,
    .navbar .nav-link::after,
    .nav-cta {
        transition: none;
    }

    .site-navbar .brand-mark:hover .brand-logo-wrap,
    .navbar .nav-link:hover,
    .navbar .nav-link.active,
    .nav-cta:hover,
    .nav-cta.active {
        transform: none;
    }
}

.icon-button {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    background: var(--surface);
    cursor: pointer;
    transition: all 0.15s ease;
}

.icon-button:hover {
    background: var(--surface-soft);
    border-color: var(--primary);
    color: var(--primary);
}

.navbar-toggler {
    border: 1px solid var(--border);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: var(--primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    padding: 10.5rem 0 5.5rem;
    background: var(--surface-soft);
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-content p {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 760px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.2rem;
}

.hero-trust-row span {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-trust-row span i {
    color: var(--success);
}

.hero-insights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.hero-insights div {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    box-shadow: var(--shadow-sm);
}

.hero-insights strong {
    display: block;
    font-size: 1.4rem;
    font-family: var(--font-serif);
    color: var(--primary);
    line-height: 1.1;
}

.hero-insights span {
    font-size: 0.76rem;
    color: var(--muted);
    font-weight: 600;
}

.hero-image-panel {
    display: flex;
    justify-content: center;
}

.framed-image-wrap {
    position: relative;
    border: 6px solid var(--surface);
    box-shadow: var(--shadow-md);
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
}

.hero-illustration {
    border-radius: calc(var(--radius) - 2px);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.image-caption-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(12, 35, 64, 0.92);
    color: #ffffff;
    padding: 0.85rem 1.1rem;
}

.caption-title {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
}

.caption-sub {
    display: block;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   PAGE SECTIONS & TEXT SYSTEM
   ========================================================================== */

.section {
    padding: 5.5rem 0;
}

.section-heading {
    max-width: 880px;
    margin-bottom: 3.5rem;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    margin: 0.6rem 0 1rem;
}

.section-heading p {
    color: var(--muted);
    font-size: 0.98rem;
    margin: 0;
}

/* ==========================================================================
   COMPONENTS GRID SYSTEM
   ========================================================================== */

.process-grid,
.intro-grid,
.feature-grid,
.program-grid,
.why-grid,
.stats-grid,
.contact-grid {
    display: grid;
    gap: 1.5rem;
}

.process-grid {
    grid-template-columns: repeat(3, 1fr);
}

.intro-grid {
    grid-template-columns: repeat(3, 1fr);
}

.feature-grid {
    grid-template-columns: repeat(4, 1fr);
}

.program-grid {
    grid-template-columns: repeat(3, 1fr);
}

.why-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
}

.stats-grid {
    grid-template-columns: repeat(4, 1fr);
}

.contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

/* ==========================================================================
   CARDS & PANELS
   ========================================================================== */

.process-card,
.intro-card,
.feature-card,
.program-card,
.why-item,
.stat-item,
.contact-card,
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.process-card:hover,
.intro-card:hover,
.feature-card:hover,
.program-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

/* Process Cards */
.process-card {
    position: relative;
    border-top: 3px solid var(--accent);
}

.process-card>span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

.process-card i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--surface-soft);
    color: var(--primary);
    border-radius: var(--radius);
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.process-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
}

.process-card p {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0;
}

/* Intro Cards */
.intro-card {
    border-top: 3px solid var(--teal);
}

.intro-card i {
    font-size: 1.6rem;
    color: var(--teal);
    margin-bottom: 1.25rem;
    display: inline-block;
}

.intro-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
}

.intro-card p {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0;
}

/* Feature Section */
.feature-section {
    background: var(--surface-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.feature-card {
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.86rem;
    margin: 0;
}

/* Program Card (Course List) */
.program-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    border-top: 3px solid var(--accent-gold);
}

.program-code {
    display: inline-block;
    background: var(--surface-soft);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius);
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.program-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
    color: var(--primary);
}

.program-card p {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.5;
}

.program-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
}

.btn-program-link {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius);
    transition: background 0.15s ease;
}

.btn-program-link:hover {
    background: var(--accent);
    color: #ffffff;
}

/* Why Us Section */
.why-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem;
    font-weight: 600;
}

.why-item i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    background: var(--success);
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Statistics Band */
.stats-band {
    background: var(--primary);
    color: #ffffff;
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-band h2,
.stats-band strong,
.stats-band span {
    color: #ffffff;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    padding: 1.5rem;
}

.stat-item strong {
    display: block;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-family: var(--font-serif);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-item span {
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Testimonials Section Styles */
.testimonial-section {
    position: relative;
    overflow: visible;
    /* Allows indicators and navigation to stay clean */
}

.testimonial-card-premium {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem 1.75rem 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.testimonial-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--teal));
    opacity: 0.85;
}

.testimonial-card-premium:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .testimonial-card-premium:hover {
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.45);
}

.testimonial-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    position: relative;
}

.student-avatar-wrap {
    flex-shrink: 0;
}

.student-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-sm);
}

/* Vibrant gradients for avatars */
.bg-gradient-1 {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.bg-gradient-2 {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.bg-gradient-3 {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.bg-gradient-4 {
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

.bg-gradient-5 {
    background: linear-gradient(135deg, #6366f1, #a855f7);
}

.bg-gradient-6 {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.bg-gradient-7 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.bg-gradient-8 {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.student-meta {
    flex-grow: 1;
    min-width: 0;
}

.student-name {
    font-family: var(--font-sans);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.student-course {
    display: block;
    font-size: 0.74rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.testimonial-quote-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.35rem;
    color: var(--accent);
    opacity: 0.2;
}

.testimonial-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.2rem;
    color: var(--accent-gold);
    font-size: 0.74rem;
}

.testimonial-text {
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--muted);
    margin: 0;
    font-style: italic;
}

/* Carousel Control Adjustments */
.testimonial-control-btn {
    width: 46px;
    height: 46px;
    background-color: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: 50% !important;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-md);
    color: var(--text) !important;
    display: grid;
    place-items: center;
    position: absolute;
    z-index: 5;
}

.testimonial-section:hover .testimonial-control-btn {
    opacity: 0.85;
}

.testimonial-control-btn:hover {
    opacity: 1 !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

.testimonial-control-btn.prev-btn {
    left: -23px;
}

.testimonial-control-btn.next-btn {
    right: -23px;
}

.testimonial-control-btn i {
    font-size: 1rem;
    line-height: 1;
}

/* Indicators */
.testimonial-indicators {
    bottom: -3.5rem;
    margin-bottom: 0;
}

.testimonial-indicators button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: var(--muted) !important;
    opacity: 0.3 !important;
    border: none !important;
    transition: all 0.25s ease !important;
    margin: 0 6px !important;
}

.testimonial-indicators button.active {
    background-color: var(--primary) !important;
    opacity: 1 !important;
    transform: scale(1.35);
}

/* Spacing under carousel to fit indicators */
#testimonialCarousel {
    margin-bottom: 3.5rem;
    position: relative;
}

/* Mobile Responsiveness for Testimonial Slideshow */
@media (max-width: 767.98px) {
    #testimonialCarouselMobile {
        padding: 0 35px;
        margin-bottom: 3.5rem;
        position: relative;
    }

    #testimonialCarouselMobile .testimonial-carousel-row {
        display: flex !important;
        flex-wrap: wrap !important;
        overflow-x: visible !important;
        scroll-snap-type: none !important;
        gap: 0 !important;
        padding: 0.5rem 0 !important;
    }

    #testimonialCarouselMobile .testimonial-carousel-row>[class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    #testimonialCarouselMobile .testimonial-control-btn {
        display: grid !important;
        opacity: 0.8 !important;
        width: 38px;
        height: 38px;
        top: 50%;
        transform: translateY(-50%);
    }

    #testimonialCarouselMobile .testimonial-control-btn.prev-btn {
        left: 0;
    }

    #testimonialCarouselMobile .testimonial-control-btn.next-btn {
        right: 0;
    }

    #testimonialCarouselMobile .testimonial-indicators {
        bottom: -3rem;
    }
}

/* Call to Action Panel */
.cta-panel {
    background: var(--primary);
    color: #ffffff;
    padding: 3rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-panel h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.cta-panel p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
    max-width: 600px;
}

.cta-panel .btn-light {
    background: #ffffff;
    color: var(--primary);
    border-color: #ffffff;
}

.cta-panel .btn-light:hover {
    background: var(--surface-soft);
    color: var(--primary-strong);
}

/* Contact Info */
.contact-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
    border-top: 1px solid var(--border);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 4rem;
    right: max(2rem, 8vw);
    width: 11rem;
    height: 11rem;
    border: 1px solid rgba(215, 165, 54, 0.22);
    border-radius: 50%;
    transform: rotateX(68deg) rotateZ(18deg);
    pointer-events: none;
}

.contact-modern-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
    gap: 1.5rem;
    align-items: stretch;
}

.contact-hero-panel,
.contact-action-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.contact-hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px;
    padding: clamp(1.6rem, 3vw, 2.6rem);
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(7, 31, 59, 0.98), rgba(37, 111, 143, 0.88)),
        url("../images/hero_campus.png") center/cover;
    border-color: rgba(255, 255, 255, 0.12);
}

.contact-hero-panel::after {
    content: '';
    position: absolute;
    inset: auto 1.4rem 1.4rem auto;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: rgba(215, 165, 54, 0.13);
    filter: blur(2px);
    pointer-events: none;
}

.contact-hero-panel .eyebrow,
.contact-hero-panel h2,
.contact-hero-panel p {
    position: relative;
    z-index: 1;
}

.contact-hero-panel h2 {
    max-width: 680px;
    margin: 0.85rem 0 1rem;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
}

.contact-hero-panel p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
}

.contact-proof-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 2rem;
}

.contact-proof-grid div {
    min-height: 92px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.contact-proof-grid strong {
    display: block;
    color: #ffffff;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1;
}

.contact-proof-grid span {
    display: block;
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-action-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: clamp(1.3rem, 2.6vw, 2rem);
}

.contact-action-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(215, 165, 54, 0.12), transparent 32%),
        radial-gradient(180px 100px at 100% 0%, rgba(37, 111, 143, 0.12), transparent 70%);
    pointer-events: none;
}

.contact-panel-heading,
.contact-action-grid,
.contact-detail-grid,
.contact-map-embed {
    position: relative;
    z-index: 1;
}

.contact-panel-heading span {
    display: inline-flex;
    margin-bottom: 0.35rem;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-panel-heading h3 {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.contact-action-grid {
    display: grid;
    gap: 0.85rem;
    perspective: 900px;
}

.contact-method,
.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    border-radius: 8px;
    --contact-icon-top: #1b3f72;
    --contact-icon-face: var(--primary);
    --contact-icon-side: #041529;
}

.contact-method {
    min-height: 78px;
    padding: 1rem;
    border: 1px solid var(--border);
    background: var(--field-muted);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-method:hover {
    border-color: rgba(215, 165, 54, 0.65);
    color: var(--text);
    box-shadow: 0 14px 28px rgba(7, 31, 59, 0.1);
    transform: translateY(-3px) rotateX(2deg);
}

.contact-method i,
.contact-detail-item i {
    position: relative;
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background:
        linear-gradient(135deg, var(--contact-icon-top), var(--contact-icon-face));
    box-shadow:
        0 6px 14px var(--contact-icon-glow),
        inset 0 2px 2px rgba(255, 255, 255, 0.4),
        inset 0 -3px 6px rgba(0, 0, 0, 0.15);
    font-size: 1.15rem;
    text-align: center;
    transform: translateY(-2px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.contact-method i i,
.contact-method i::before,
.contact-detail-item i i,
.contact-detail-item i::before {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-method i::after,
.contact-detail-item i::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 50.5%);
    pointer-events: none;
}

.contact-method:hover i,
.contact-detail-item:hover i {
    transform: translateY(-6px) scale(1.06);
    box-shadow:
        0 10px 22px var(--contact-icon-glow),
        0 2px 4px rgba(0, 0, 0, 0.05),
        inset 0 2px 2px rgba(255, 255, 255, 0.45),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.contact-method:hover i i,
.contact-method:hover i::before,
.contact-detail-item:hover i i,
.contact-detail-item:hover i::before {
    transform: scale(1.15) rotate(8deg);
}

.contact-method-email {
    --contact-icon-top: #2a6ac3;
    --contact-icon-face: #0c2b53;
    --contact-icon-glow: rgba(12, 43, 83, 0.35);
}

.contact-method-phone {
    --contact-icon-top: #3bc2e6;
    --contact-icon-face: #186f8b;
    --contact-icon-glow: rgba(24, 111, 139, 0.4);
}

.contact-method-whatsapp {
    --contact-icon-top: #39e67b;
    --contact-icon-face: #1faf53;
    --contact-icon-glow: rgba(31, 175, 83, 0.4);
}

.contact-detail-address,
.contact-detail-hours {
    --contact-icon-top: #fcd55c;
    --contact-icon-face: #c68f1c;
    --contact-icon-glow: rgba(198, 143, 28, 0.4);
}

.contact-method span,
.contact-detail-item span {
    display: grid;
    min-width: 0;
    gap: 0.15rem;
}

.contact-method strong,
.contact-detail-item strong {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 800;
}

.contact-method small,
.contact-detail-item small {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.contact-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.contact-detail-item {
    align-items: flex-start;
    padding: 1rem;
    border: 1px dashed var(--border);
    background: rgba(255, 255, 255, 0.42);
}

.contact-map-embed {
    overflow: hidden;
    min-height: 220px;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 991.98px) {
    .contact-modern-shell {
        grid-template-columns: 1fr;
    }

    .contact-hero-panel {
        min-height: 360px;
    }
}

@media (max-width: 767.98px) {
    .contact-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .contact-proof-grid,
    .contact-detail-grid {
        grid-template-columns: 1fr;
    }

    .contact-action-panel {
        padding: 1.1rem;
    }

    .contact-method,
    .contact-detail-item {
        min-height: auto;
        align-items: flex-start;
    }

    .contact-map-embed iframe {
        height: 260px;
    }
}

/* ==========================================================================
   REGISTRATION PAGE & ADMISSIONS FORM
   ========================================================================== */

.registration-main {
    padding-top: 128px;
    /* Accounting for navigation top-wrapper */
}

.registration-hero {
    background: var(--primary);
    color: #ffffff;
    padding: 4.5rem 0 3.5rem;
    border-bottom: 1.5px solid var(--accent-gold);
}

.registration-heading h1 {
    color: #ffffff;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 0.5rem;
}

.registration-heading p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
    max-width: 650px;
}

.registration-form-section {
    padding: 3.5rem 0;
}

.registration-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.75rem;
    align-items: start;
}

.registration-aside,
.registration-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.registration-aside {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.student-id-card {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem;
    color: var(--text);
    border-left: 4px solid var(--accent);
}

.student-id-card span {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.03em;
    display: block;
}

.student-id-card strong {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    display: block;
    margin: 0.25rem 0;
    color: var(--primary);
}

.student-id-card small {
    font-size: 0.76rem;
    color: var(--muted);
    display: block;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.step-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--muted);
    font-weight: 600;
    font-size: 0.85rem;
    background: var(--field-muted);
}

.step-list li span {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.75rem;
    font-weight: 700;
}

.step-list li.active {
    border-color: var(--primary);
    background: var(--surface-soft);
    color: var(--primary);
}

.step-list li.active span {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.form-progress {
    height: 6px;
    background: var(--surface-soft);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.form-progress span {
    display: block;
    height: 100%;
    background: var(--teal);
    width: 33.3%;
    transition: width 0.3s ease;
}

.form-step {
    display: none;
    border: 0;
    padding: 0;
    margin: 0;
}

.form-step.active {
    display: block;
}

.form-step-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.75rem;
}

.form-step-header span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
}

.form-step-header h2 {
    font-size: 1.4rem;
    margin-top: 0.25rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.form-control,
.form-select {
    min-height: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text);
    background-color: var(--field);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(12, 35, 64, 0.1);
    background-color: var(--field);
    color: var(--text);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

.invalid-feedback {
    font-size: 0.78rem;
    font-weight: 500;
    min-height: 1.1rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.review-box {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-top: 1rem;
}

.review-box dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin: 0;
}

.review-box dt {
    font-size: 0.74rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.review-box dd {
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--text);
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.skeleton-line {
    height: 12px;
    background: var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.6rem;
}

.skeleton-line.short {
    width: 60%;
}

.btn-spinner {
    display: none;
}

.is-loading .btn-label {
    display: none;
}

.is-loading .btn-spinner {
    display: inline-block;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.site-footer {
    background: linear-gradient(180deg, #071f3b 0%, #030d1a 100%);
    border-top: 3px solid var(--accent);
    padding: 5.5rem 0 2.5rem;
    color: #e2e8f0;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-brand .brand-logo-wrap {
    width: 86px;
    height: 86px;
    flex-basis: 86px;
    border-color: rgba(215, 165, 54, 0.36);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.footer-brand .brand-copy strong {
    font-size: 1.45rem;
    color: #ffffff;
}

.footer-brand .brand-copy small {
    color: rgba(255, 255, 255, 0.7);
}

.footer-copy {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 480px;
}

.footer-title {
    font-size: 0.82rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a i {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links a:hover i {
    transform: translateX(3px);
    color: var(--accent);
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.social-row a {
    position: relative;
    isolation: isolate;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #ffffff;
    box-shadow: none;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 1.08rem;
    overflow: visible;
    --social-shadow: rgba(24, 119, 242, 0.34);
}

.social-row a::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--social-accent, var(--social-color, #2563eb)), var(--social-color, #2563eb));
    opacity: 0.85;
    transform: translate(0, 0) rotate(0deg) scale(0.78);
    transform-origin: 78% 78%;
    transition: opacity 0.28s ease, transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-row a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 42%),
        linear-gradient(135deg, var(--social-color, #2563eb), var(--social-accent, #62a8ff));
    box-shadow: 0 10px 20px var(--social-shadow);
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

.social-row a i {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-row a:hover,
.social-row a:focus-visible {
    color: #ffffff;
    transform: translateY(-5px);
    outline: 0;
}

.social-row a:hover::before,
.social-row a:focus-visible::before {
    opacity: 1;
    transform: translate(10px, 7px) rotate(42deg) scale(1);
}

.social-row a:hover::after,
.social-row a:focus-visible::after {
    box-shadow: 0 18px 30px var(--social-shadow);
    transform: rotate(-4deg) scale(1.04);
}

.social-row a:hover i,
.social-row a:focus-visible i {
    transform: scale(1.12);
}

.social-link.social-facebook {
    --social-color: #1877f2;
    --social-accent: #62a8ff;
    --social-shadow: rgba(24, 119, 242, 0.42);
}

.social-link.social-linkedin {
    --social-color: #0a66c2;
    --social-accent: #00a0dc;
    --social-shadow: rgba(10, 102, 194, 0.42);
}

.social-link.social-instagram {
    --social-color: #d62976;
    --social-accent: #feda75;
    --social-shadow: rgba(214, 41, 118, 0.44);
}

.social-link.social-youtube {
    --social-color: #ff0033;
    --social-accent: #ff7a59;
    --social-shadow: rgba(255, 0, 51, 0.42);
}

/* Footer Contact List */
.footer-contact-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.footer-contact-list li i {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-contact-list li div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.footer-contact-list li strong {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
}

.footer-contact-list li span,
.footer-contact-list li a {
    font-size: 0.88rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.18s ease;
    line-height: 1.4;
}

.footer-contact-list li a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-top: 4.5rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 500;
}

.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: var(--radius);
    background: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */

.wa-float-btn {
    position: fixed;
    bottom: 5.5rem;
    /* stacked above the back-to-top arrow (38px btn + 1.5rem + gap) */
    right: 1.5rem;
    /* same column as back-to-top */
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #25d366;
    color: #ffffff;
    border-radius: 50px;
    padding: 0.55rem 1.1rem 0.55rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    overflow: hidden;
    max-width: 52px;
    /* collapsed: icon only */
}

.wa-float-btn i {
    font-size: 1.55rem;
    flex-shrink: 0;
    line-height: 1;
}

.wa-float-label {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.25s ease, max-width 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.wa-float-btn:hover {
    max-width: 200px;
    padding-right: 1.25rem;
    background: #1ebe5d;
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
    transform: translateY(-3px);
}

.wa-float-btn:hover .wa-float-label {
    opacity: 1;
    max-width: 130px;
}

/* Pulse ring animation */
.wa-float-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    border: 2px solid rgba(37, 211, 102, 0.6);
    animation: wa-pulse 2.5s ease-out infinite;
    pointer-events: none;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

[data-theme="dark"] .wa-float-btn {
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.25);
}

/* WhatsApp inline link inside contact card */
.whatsapp-contact-link {
    color: #25d366 !important;
}

.whatsapp-contact-link i {
    color: #ffffff !important;
}

/* Google Maps embed in contact card */
.contact-map-embed {
    margin-top: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   TABLE & PAGINATION & MODALS & DIALOGS
   ========================================================================== */

.table {
    --bs-table-color: var(--text);
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--border);
    color: var(--text);
}

.page-link {
    color: var(--primary);
    border-color: var(--border);
    background: var(--surface);
}

.page-link:hover,
.page-link:focus {
    color: var(--primary-strong);
    border-color: var(--border);
    background: var(--surface-soft);
}

.page-item.disabled .page-link {
    color: var(--muted);
    background: var(--surface-soft);
    border-color: var(--border);
}

/* Modals & SweetAlert Dialogs */
.modal-content,
.swal2-popup {
    color: var(--text);
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    background: var(--surface) !important;
}

.swal2-title {
    color: var(--text) !important;
}

.swal2-html-container {
    color: var(--muted) !important;
}

/* Toast styling */
.toast-container {
    z-index: 1060;
}

.toast {
    background-color: var(--surface) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & MEDIA QUERIES
   ========================================================================== */

/* Page spacing system and containment overrides to ensure desktop centering and zoom out support */
.container,
.site-navbar .container,
.top-utility-bar .container {
    width: 92% !important;
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
    margin-right: auto !important;
    margin-left: auto !important;
    max-width: 1600px !important;
}

@media (max-width: 1199.98px) {
    .hero-grid {
        gap: 2.5rem;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image-panel {
        order: 1;
        /* Stacks image below hero text */
    }

    .process-grid,
    .intro-grid,
    .why-grid,
    .contact-grid,
    .registration-layout {
        grid-template-columns: 1fr !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .registration-aside {
        position: static;
    }

    /* Advanced Mobile Navigation Overlay Menu */
    .site-navbar .navbar-collapse {
        background: var(--surface) !important;
        border: 1px solid var(--border) !important;
        border-radius: 12px !important;
        padding: 1.5rem !important;
        margin-top: 1rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
        animation: slideDownMenu 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        transform-origin: top center;
    }

    @keyframes slideDownMenu {
        from {
            opacity: 0;
            transform: translateY(-10px) scale(0.98);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .navbar-nav {
        gap: 0.5rem !important;
    }

    .navbar-nav .nav-link {
        display: flex;
        align-items: center;
        padding: 0.85rem 1rem !important;
        border-radius: 8px;
        transition: all 0.2s ease;
        background: transparent;
        color: var(--text) !important;
        font-weight: 600;
        font-size: 1rem;
        border: 1px solid transparent;
    }

    .navbar-nav .nav-link .mobile-nav-icon {
        width: 32px;
        height: 32px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: var(--surface-soft);
        color: var(--primary);
        border-radius: 6px;
        margin-right: 1rem;
        font-size: 0.95rem;
        transition: all 0.2s ease;
    }

    .navbar-nav .nav-link.active {
        background: var(--surface-soft);
        border-color: var(--border);
        color: var(--primary) !important;
    }

    .navbar-nav .nav-link.active .mobile-nav-icon {
        background: var(--primary);
        color: #ffffff;
    }

    .navbar .nav-link:hover,
    .navbar .nav-link:focus {
        background: var(--surface-soft);
        border-color: var(--border);
        transform: translateX(4px);
        text-shadow: none;
    }

    .navbar .nav-link:hover .mobile-nav-icon,
    .navbar .nav-link:focus .mobile-nav-icon {
        background: var(--primary);
        color: #ffffff;
    }

    .navbar .nav-link::after {
        display: none;
    }

    .nav-cta {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: 0.5rem;
        padding: 0.65rem 1rem !important;
        background: var(--accent) !important;
        color: #ffffff !important;
        border-radius: 8px;
    }

    .nav-cta:hover,
    .nav-cta.active {
        transform: none;
        box-shadow: none;
    }
}

@media (max-width: 575.98px) {
    .site-navbar .brand-mark {
        gap: 0.55rem;
    }

    .site-navbar .brand-logo-wrap {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .site-navbar .brand-copy strong {
        font-size: 1rem;
    }

    .site-navbar .brand-copy small {
        display: none;
    }

    .site-navbar .icon-button {
        width: 34px;
        height: 34px;
    }

    .site-navbar .navbar-toggler {
        display: grid;
        width: 34px;
        height: 34px;
        place-items: center;
        padding: 0.2rem;
    }

    .site-navbar .navbar-toggler-icon {
        width: 1rem;
        height: 1rem;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .footer-brand .brand-logo-wrap {
        width: 74px;
        height: 74px;
        flex-basis: 74px;
    }

    .footer-brand .brand-copy strong {
        font-size: 1.2rem;
    }
}

@media (max-width: 767.98px) {

    .container,
    .site-navbar .container,
    .top-utility-bar .container {
        width: 100vw !important;
        max-width: 100vw !important;
        padding-right: 1.15rem !important;
        padding-left: 1.15rem !important;
    }

    .registration-layout,
    .registration-aside,
    .registration-form {
        min-width: 0;
    }

    /* top-utility-bar is now visible on mobile */

    .registration-main {
        padding-top: 82px;
    }

    .registration-heading h1 {
        max-width: 12ch;
        font-size: clamp(1.55rem, 6.4vw, 1.75rem);
        line-height: 1.16;
        overflow-wrap: anywhere;
    }

    .registration-heading p {
        max-width: 34ch;
        font-size: 0.92rem;
    }

    .registration-aside,
    .registration-form {
        padding: 1rem;
    }

    .hero-section {
        padding: 9.5rem 0 3.5rem;
    }

    .hero-content h1 {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 1.5rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust-row {
        gap: 0.75rem;
        flex-direction: column;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .hero-insights {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .hero-insights div {
        padding: 0.75rem 1rem;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }

    .cta-panel {
        flex-direction: column;
        align-items: stretch;
        padding: 2.25rem 1.25rem;
        text-align: center;
    }

    .cta-panel h2 {
        font-size: 1.5rem;
    }

    .cta-panel p {
        margin-bottom: 1.5rem;
        font-size: 0.88rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding-top: 1.25rem;
        margin-top: 2.5rem;
    }

    .step-list {
        flex-direction: column;
        gap: 0.45rem;
        overflow: visible;
        padding-bottom: 0;
    }

    .step-list li {
        flex: 1 1 auto;
        justify-content: flex-start;
        min-width: 0;
        padding: 0.55rem 0.65rem;
        font-size: 0.78rem;
        white-space: nowrap;
        gap: 0.5rem;
    }

    .step-list li span {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }

    .review-box dl {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .testimonial-card {
        padding: 1.5rem 1rem;
    }

    .testimonial-card blockquote {
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.25rem;
    }

    .stat-item strong {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   STUDENT PORTAL
   ========================================================================== */

.student-portal-page {
    min-height: 100vh;
    background: var(--bg);
}

.student-portal-page .scroll-progress {
    display: none;
}

.student-portal-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.student-mobile-header {
    display: none;
}

.student-mobile-sidebar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-height: 42px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    font-size: 1.1rem;
}

.student-portal-workspace {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.student-portal-main-content {
    min-width: 0;
    padding: 1.5rem;
}

.student-portal-sidebar-backdrop {
    display: none;
}

.student-portal-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    height: 100vh;
    max-height: none;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem;
    border-right: 1px solid var(--border);
    background: var(--surface);
    overflow-y: auto;
    box-shadow: 2px 0 24px rgba(0, 0, 0, 0.02);
}

.student-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-shrink: 0;
}

.student-sidebar-brand {
    min-width: 0;
}

.student-sidebar-brand .brand-logo-wrap {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.student-sidebar-brand .brand-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-sidebar-brand .brand-copy strong,
.student-sidebar-brand .brand-copy small {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.student-sidebar-brand .brand-copy strong {
    font-size: 1.05rem;
    font-family: var(--font-sans);
    letter-spacing: -0.01em;
}

.student-sidebar-brand .brand-copy small {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--teal);
    font-weight: 700;
}

.student-sidebar-close {
    display: none;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    background: var(--field-muted);
}

.student-sidebar-profile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.student-sidebar-profile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.student-sidebar-avatar {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), var(--primary));
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(37, 111, 143, 0.2);
}

.student-sidebar-avatar.profile-image-avatar {
    display: block;
    object-fit: cover;
    border: 2px solid #ffffff;
}

.student-sidebar-profile strong,
.student-sidebar-profile small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.student-sidebar-profile strong {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 800;
}

.student-sidebar-profile small {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.student-sidebar-summary {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border: 1px solid rgba(37, 111, 143, 0.15);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(37, 111, 143, 0.08), rgba(37, 111, 143, 0.02));
    flex-shrink: 0;
}

.student-sidebar-summary span,
.student-sidebar-summary small {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.student-sidebar-summary strong {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 800;
    font-family: var(--font-sans);
    overflow-wrap: anywhere;
}

.student-portal-nav,
.student-sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex-shrink: 0;
}

.student-portal-nav {
    min-height: min-content;
}

.student-sidebar-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--border);
}

.student-sidebar-footer form {
    margin: 0;
}

.student-sidebar-section {
    display: block;
    padding: 0.2rem 0.85rem 0.4rem;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

.portal-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    width: 100%;
    min-height: 44px;
    padding: 0.5rem 0.85rem;
    border-radius: 10px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.portal-nav-button {
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    text-align: left;
    cursor: pointer;
}

.portal-nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1.05rem;
    transition: transform 0.2s ease;
}

.portal-nav-link:hover,
.portal-nav-link:focus,
.portal-nav-button:hover,
.portal-nav-button:focus {
    color: var(--primary);
    background: var(--surface-soft);
    transform: translateX(4px);
}

.portal-nav-link.active {
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 6px 16px rgba(7, 31, 59, 0.18);
    font-weight: 700;
}

.portal-nav-link.is-locked:not(.active) {
    opacity: 0.68;
}

.portal-nav-link.active i {
    color: var(--accent);
}

.portal-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 4px;
    height: 60%;
    background: var(--accent);
    border-radius: 0 4px 4px 0;
    transition: transform 0.2s ease;
    opacity: 0;
}

.portal-nav-link.active::before {
    transform: translateY(-50%) scaleY(1);
    opacity: 1;
}

.student-portal-main-content {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    overflow-x: hidden;
}

.student-portal-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(7, 31, 59, 0.96), rgba(37, 111, 143, 0.84)),
        url("../images/hero_campus.png") center/cover;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.hero-content-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-width: 0;
}

.student-hero-avatar {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    object-fit: cover;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.student-portal-hero>div {
    min-width: 0;
}

.student-portal-hero .eyebrow {
    color: #f6ca5f;
    letter-spacing: 0;
}

.student-portal-hero h1 {
    margin: 0.65rem 0 0.35rem;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.student-portal-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.portal-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.7rem;
    align-items: center;
}

.portal-hero-meta span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.portal-hero-meta span+span {
    position: relative;
    padding-left: 0.7rem;
}

.portal-hero-meta span+span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-50%);
}

.portal-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 36px;
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    color: #ffffff;
    background: rgba(21, 128, 61, 0.95);
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
}

.portal-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.portal-metric,
.portal-profile-card,
.portal-panel {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.portal-metric {
    display: grid;
    gap: 0.25rem;
    min-height: 132px;
    padding: 1.2rem;
}

.portal-metric span,
.portal-payment-item span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.portal-metric strong {
    color: var(--primary);
    font-family: var(--font-sans);
    font-size: 1.7rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.portal-metric small,
.portal-payment-item small {
    color: var(--muted);
    font-weight: 700;
}

.portal-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.portal-action-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    min-height: 112px;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    background: var(--field-muted);
    text-decoration: none;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.portal-action-card:hover,
.portal-action-card:focus {
    border-color: rgba(20, 184, 166, 0.42);
    color: var(--text);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
    transform: translateY(-1px);
}

.portal-action-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    background: var(--teal);
    font-size: 1rem;
}

.portal-action-copy {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.portal-action-copy strong {
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.portal-action-copy small,
.portal-action-copy em {
    color: var(--muted);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.portal-action-arrow {
    color: var(--muted);
}

.portal-next-payment {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.portal-next-payment>div {
    display: grid;
    gap: 0.25rem;
    min-height: 116px;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--field-muted);
}

.portal-next-payment span,
.portal-panel-meta {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.portal-next-payment strong {
    color: var(--primary);
    font-family: var(--font-sans);
    font-size: 1.45rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.portal-next-payment small {
    color: var(--muted);
    font-weight: 700;
}

.portal-heading-action {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    border-radius: 8px;
    font-weight: 800;
    white-space: nowrap;
}

.portal-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.portal-profile-card {
    position: sticky;
    top: 1rem;
    display: grid;
    justify-items: center;
    gap: 0.65rem;
    padding: 1.35rem;
    text-align: center;
}

.portal-avatar {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--teal);
    font-size: 2rem;
    font-weight: 800;
}

.portal-avatar.profile-image-avatar {
    display: block;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.9);
    background: var(--field-muted);
}

.portal-profile-card h2 {
    margin: 0.4rem 0 0;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 800;
}

.portal-profile-card p {
    max-width: 100%;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.portal-mini-list,
.portal-detail-list {
    width: 100%;
    margin: 0;
}

.portal-mini-list {
    display: grid;
    gap: 0.65rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
    text-align: left;
}

.portal-mini-list div,
.portal-detail-list div {
    display: grid;
    gap: 0.18rem;
}

.portal-mini-list dt,
.portal-detail-list dt {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.portal-mini-list dd,
.portal-detail-list dd {
    margin: 0;
    color: var(--text);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.portal-content-stack {
    display: grid;
    gap: 1rem;
}

.portal-panel {
    padding: 1.25rem;
}

.portal-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.portal-panel-heading h2 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 800;
}

.portal-panel-heading i {
    color: var(--teal);
}

.portal-detail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.portal-payment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.portal-payment-item {
    display: grid;
    gap: 0.25rem;
    min-height: 112px;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--field-muted);
}

.portal-payment-item strong {
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.portal-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.portal-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.portal-table th {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
}

.portal-table td {
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-weight: 700;
    vertical-align: top;
}

.portal-table tbody tr:last-child td {
    border-bottom: 0;
}

.portal-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    margin-top: 0.45rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.portal-invoice-button {
    min-height: 32px;
    padding: 0.28rem 0.7rem;
    border-radius: 8px;
    color: var(--primary);
    border-color: rgba(7, 31, 59, 0.28);
    background: var(--surface);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.portal-invoice-button:hover,
.portal-invoice-button:focus {
    color: #ffffff;
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 6px 16px rgba(7, 31, 59, 0.18);
}

[data-theme="dark"] .portal-invoice-button {
    color: #dce7ff;
    border-color: rgba(143, 168, 255, 0.32);
    background: rgba(143, 168, 255, 0.08);
}

.portal-invoice-number {
    display: block;
    overflow-wrap: anywhere;
}

.portal-payment-reference {
    display: block;
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.portal-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.portal-breakdown span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0.18rem 0.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    background: var(--field-muted);
    font-size: 0.75rem;
    font-weight: 800;
}

.portal-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.portal-status-paid,
.portal-status-advance_paid {
    color: #15803d;
    background: rgba(21, 128, 61, 0.1);
    border: 1px solid rgba(21, 128, 61, 0.24);
}

.portal-status-partial {
    color: #2454d6;
    background: rgba(36, 84, 214, 0.1);
    border: 1px solid rgba(36, 84, 214, 0.24);
}

.portal-status-overdue {
    color: #b91c1c;
    background: rgba(185, 28, 28, 0.1);
    border: 1px solid rgba(185, 28, 28, 0.24);
}

.portal-status-pending {
    color: var(--muted);
    background: rgba(96, 112, 132, 0.12);
    border: 1px solid rgba(96, 112, 132, 0.22);
}

.portal-empty {
    padding: 1.5rem !important;
    color: var(--muted) !important;
    text-align: center;
}

.portal-alert {
    margin: 1rem 0 0;
    border-radius: 8px;
    font-weight: 700;
}

.student-profile-hero {
    margin-bottom: 1rem;
}

.portal-profile-edit-layout {
    grid-template-columns: 1fr;
}

.portal-profile-form .form-label {
    color: var(--text);
    font-weight: 800;
}

.portal-profile-form .form-actions {
    margin-top: 1.2rem;
}

.portal-complaint-form textarea {
    min-height: 160px;
    resize: vertical;
}

.portal-complaint-text {
    max-width: 520px;
    margin: 0;
    color: var(--text);
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.portal-attachment-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.portal-attachment-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    max-width: 100%;
    padding: 0.35rem 0.55rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    background: var(--field-muted);
    font-size: 0.78rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.portal-attachment-chip small {
    color: var(--muted);
    font-size: 0.7rem;
}

.portal-status-active {
    color: #155e75;
    background: rgba(21, 94, 117, 0.1);
    border: 1px solid rgba(21, 94, 117, 0.24);
}

@media (max-width: 1199.98px) {
    .portal-payment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .student-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .student-mobile-sidebar-toggle {
        display: inline-flex;
    }

    .student-portal-workspace {
        grid-template-columns: 1fr;
    }

    .student-portal-main-content {
        padding: 1rem;
    }

    .student-portal-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1040;
        display: block;
        border: 0;
        background: rgba(15, 23, 42, 0.48);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition);
    }

    .student-portal-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1050;
        width: min(322px, calc(100vw - 2rem));
        height: 100vh;
        height: 100dvh;
        max-height: none;
        border-radius: 0 8px 8px 0;
        border-right: 1px solid var(--border);
        transform: translateX(calc(-100% - 1rem));
        transition: transform var(--transition);
    }

    body.portal-sidebar-open {
        overflow: hidden;
    }

    body.portal-sidebar-open .student-portal-sidebar {
        transform: translateX(0);
    }

    body.portal-sidebar-open .student-portal-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .student-sidebar-close {
        display: grid;
    }

    .student-portal-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-content-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .student-hero-avatar {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    .portal-metric-grid,
    .portal-layout,
    .portal-profile-edit-layout {
        grid-template-columns: 1fr;
    }

    .portal-profile-card {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .student-portal-shell {
        width: 100%;
        padding: 0;
    }

    .student-portal-hero {
        gap: 1rem;
        padding: 1rem;
        background-position: center top;
    }

    .student-portal-hero h1 {
        margin-top: 0.5rem;
        font-size: 1.55rem;
        line-height: 1.16;
    }

    .portal-hero-meta {
        gap: 0.25rem;
        flex-direction: column;
        align-items: flex-start;
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .portal-hero-meta span+span {
        padding-left: 0;
    }

    .portal-hero-meta span+span::before {
        content: none;
    }

    .portal-status {
        min-height: 32px;
        padding: 0.28rem 0.65rem;
        font-size: 0.78rem;
    }

    .portal-metric-grid {
        gap: 0.65rem;
        margin: 0.65rem 0;
    }

    .portal-metric {
        min-height: auto;
        padding: 0.9rem;
    }

    .portal-metric strong {
        font-size: 1.35rem;
    }

    .portal-action-grid,
    .portal-next-payment {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .portal-action-card,
    .portal-next-payment>div {
        min-height: auto;
        padding: 0.85rem;
    }

    .portal-profile-card {
        gap: 0.5rem;
        padding: 1rem;
    }

    .portal-avatar {
        width: 62px;
        height: 62px;
        font-size: 1.55rem;
    }

    .portal-profile-card h2 {
        font-size: 1.05rem;
    }

    .portal-panel {
        padding: 1rem;
    }

    .portal-panel-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0.7rem;
    }

    .portal-heading-action {
        width: 100%;
        justify-content: center;
        min-height: 38px;
    }

    .portal-payment-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .portal-payment-item {
        min-height: auto;
        padding: 0.85rem;
    }

    .portal-detail-list {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .portal-table {
        min-width: 0;
    }

    .portal-table thead {
        display: none;
    }

    .portal-table,
    .portal-table tbody,
    .portal-table tr,
    .portal-table td {
        display: block;
        width: 100%;
    }

    .portal-table tr {
        margin-bottom: 0.75rem;
        padding: 0.8rem;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: var(--field-muted);
    }

    .portal-table tr:last-child {
        margin-bottom: 0;
    }

    .portal-table td {
        display: grid;
        grid-template-columns: minmax(88px, 0.42fr) minmax(0, 1fr);
        gap: 0.55rem;
        padding: 0.45rem 0;
        border-bottom: 0;
    }

    .portal-table td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 0.72rem;
        font-weight: 800;
        text-transform: uppercase;
    }

    .portal-breakdown {
        gap: 0.28rem;
    }

    .portal-empty {
        display: block !important;
        margin-bottom: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .portal-empty::before {
        content: none !important;
    }
}

@media (max-width: 480px) {
    .student-portal-shell {
        width: 100%;
    }

    .student-portal-hero {
        padding: 0.9rem;
    }

    .student-portal-hero h1 {
        font-size: 1.38rem;
    }

    .portal-metric strong {
        font-size: 1.22rem;
    }

    .portal-action-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .portal-action-arrow {
        display: none;
    }

    .portal-panel,
    .portal-profile-card {
        padding: 0.85rem;
    }

    .portal-table td {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .portal-breakdown span {
        width: 100%;
        justify-content: space-between;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Logo Marquee Strip
   ═══════════════════════════════════════════════════════════════════════════ */

.logo-strip-section {
    position: relative;
    width: 100%;
    padding: 1.2rem 0;
    background: var(--surface, #ffffff);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

[data-theme="dark"] .logo-strip-section {
    background: rgba(255, 255, 255, 0.03);
    border-top-color: rgba(255, 255, 255, 0.06);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

/* Label above the strip */
.logo-strip-label {
    text-align: center;
    font-size: 0.68rem;
    font-weight: bold;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dark, #000000);
    padding-bottom: 0.45rem;
    opacity: 1;
}

/* Viewport mask — fades logos at left and right edges */
.logo-strip-wrapper {
    position: relative;
    overflow: hidden;
}

.logo-strip-wrapper::before,
.logo-strip-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.logo-strip-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--surface, #fff) 0%, transparent 100%);
}

.logo-strip-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--surface, #fff) 0%, transparent 100%);
}

[data-theme="dark"] .logo-strip-wrapper::before {
    background: linear-gradient(to right, #12141f 0%, transparent 100%);
}

[data-theme="dark"] .logo-strip-wrapper::after {
    background: linear-gradient(to left, #12141f 0%, transparent 100%);
}

/* The scrolling track */
.logo-strip-track {
    display: flex;
    align-items: center;
    width: max-content;
}

.logo-strip-group {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-right: 2.5rem;
    flex-shrink: 0;
    animation: logoMarquee linear infinite;
    will-change: transform;
}

/* Pause on hover */
.logo-strip-section:hover .logo-strip-group {
    animation-play-state: paused;
}

@keyframes logoMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* Individual logo items */
.logo-strip-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    padding: 0 0.75rem;
    border-radius: 8px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    cursor: default;
}

.logo-strip-item:hover {
    transform: scale(1.08);
}

.logo-strip-item img {
    height: 52px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

/* ── Mobile Responsive ──────────────────────────────────────────────────── */
@media (max-width: 576px) {
    .logo-strip-label {
        font-size: 0.6rem;
    }

    .logo-strip-group {
        gap: 1.6rem;
        padding-right: 1.6rem;
    }

    .logo-strip-item {
        height: 54px;
        padding: 0 0.5rem;
    }

    .logo-strip-item img {
        height: 38px;
        max-width: 120px;
    }

    .logo-strip-wrapper::before,
    .logo-strip-wrapper::after {
        width: 40px;
    }
}

@media (max-width: 360px) {
    .logo-strip-item img {
        height: 30px;
        max-width: 96px;
    }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .logo-strip-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
}

.principles-page .site-header-wrapper + main {
    padding-top: 0;
}

.principles-hero {
    position: relative;
    overflow: hidden;
    padding: 10.5rem 0 4rem;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(7, 31, 59, 0.96), rgba(14, 116, 144, 0.82)),
        url("../images/hero_campus.png") center/cover;
}

.principles-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
    gap: 2rem;
    align-items: center;
}

.principles-hero-copy h1 {
    max-width: 760px;
    margin: 0.75rem 0 1rem;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: 0;
}

.principles-hero-copy p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.06rem;
    font-weight: 650;
    line-height: 1.75;
}

.principles-hero-copy .eyebrow {
    color: #f6ca5f;
    letter-spacing: 0;
}

.principles-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.45rem;
}

.principles-hero-actions .btn-company-profile {
    border-color: #f6ca5f;
    color: #071f3b;
    background: #f6ca5f;
    font-weight: 800;
}

.principles-hero-actions .btn-company-profile:hover,
.principles-hero-actions .btn-company-profile:focus {
    border-color: #ffffff;
    color: #071f3b;
    background: #ffffff;
}

.principles-hero-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(12px);
}

.principles-hero-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #020239;
}

.principles-hero-card div {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
}

.principles-hero-card strong {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
}

.principles-hero-card span {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 650;
    line-height: 1.55;
}

.principles-stat-band {
    padding: 1rem 0;
    background: var(--surface);
}

.principles-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.principles-stat {
    display: grid;
    gap: 0.25rem;
    min-height: 112px;
    padding: 1.15rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--field-muted);
}

.principles-stat strong {
    color: var(--primary);
    font-family: var(--font-sans);
    font-size: 1.65rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.principles-stat span {
    color: var(--muted);
    font-weight: 800;
    text-transform: uppercase;
}

.principles-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    gap: 2rem;
}

.principles-company-section .section-heading p,
.principles-context-card p {
    color: var(--muted);
    font-weight: 650;
    line-height: 1.8;
}

.principles-service-panel,
.principles-context-card,
.principles-contact-card,
.principles-source-note {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.principles-service-panel,
.principles-context-card,
.principles-contact-card {
    padding: 1.45rem;
}

.principles-service-panel h3,
.principles-contact-card h3 {
    margin: 0 0 1rem;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 800;
}

.principles-service-panel ul {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.principles-service-panel li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    color: var(--text);
    font-weight: 700;
}

.principles-service-panel i {
    margin-top: 0.2rem;
    color: var(--teal);
}

.principles-section-alt {
    background: var(--field-muted);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.principle-card {
    min-height: 220px;
    padding: 1.35rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.principle-card > i {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 8px;
    color: #ffffff;
    background: var(--teal);
}

.principle-card h3 {
    margin: 0 0 0.55rem;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 800;
}

.principle-card p {
    margin: 0;
    color: var(--muted);
    font-weight: 650;
    line-height: 1.65;
}

.travelport-context-section {
    background: var(--surface);
}

.principles-contact-card dl {
    display: grid;
    gap: 0.85rem;
    margin: 0;
}

.principles-contact-card div {
    display: grid;
    gap: 0.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
}

.principles-contact-card div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.principles-contact-card dt {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.principles-contact-card dd {
    margin: 0;
    color: var(--text);
    font-weight: 750;
    overflow-wrap: anywhere;
}

.principles-contact-card a {
    color: var(--teal);
    font-weight: 800;
}

.principles-source-section {
    padding-top: 0;
}

.principles-source-note {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.principles-source-note > i {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    background: var(--primary);
}

.principles-source-note p {
    flex: 1 1 320px;
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.principles-source-note div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.principles-source-note a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .principles-hero {
        padding-top: 8.6rem;
    }

    .principles-hero-grid,
    .principles-two-column {
        grid-template-columns: 1fr;
    }

    .principles-stat-grid,
    .principles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .principles-hero {
        padding: 7.6rem 0 2.2rem;
    }

    .principles-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .principles-stat-grid,
    .principles-grid {
        grid-template-columns: 1fr;
    }

    .principles-source-note {
        align-items: stretch;
    }

    .principles-source-note div,
    .principles-source-note a {
        width: 100%;
        justify-content: center;
    }
}
