/* Global Styles */
:root {
    --primary-color: #0c3b7e; /* Deeper, more corporate blue */
    --secondary-color: #1e5aa0;
    --accent-color: #d4af37; /* Elegant Gold */
    --text-color: #2c3e50;
    --text-muted: #6c757d;
    --light-bg: #f8f9fa;
    --dark-bg: #1a252f;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Sacramento', cursive;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.6px;
}

/* Typography Utilities */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-sacramento {
    font-family: 'Sacramento', cursive;
}

.text-gold {
    color: var(--accent-color) !important;
}

/* Section Padding Utility */
.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* Elegant Divider */
.divider-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0 40px;
}

.divider-custom::before,
.divider-custom::after {
    content: "";
    height: 1px;
    width: 80px;
    background-color: var(--accent-color);
    margin: 0 20px;
    opacity: 0.5;
}

.divider-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* Navbar Modern & Elegant */
.navbar {
    background-color: rgba(255,255,255,0.86);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    padding: 14px 0;
    transition: padding 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease, backdrop-filter 0.35s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.navbar.shadow-sm {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 60px rgba(0,0,0,0.09);
}

.navbar.premium {
    background:
        radial-gradient(1200px 1200px at 18% 0%, rgba(212, 175, 55, 0.07), transparent 62%),
        radial-gradient(1000px 1000px at 82% 0%, rgba(12, 59, 126, 0.07), transparent 62%),
        rgba(255,255,255,0.86);
}

.navbar-brand img {
    height: 52px;
    margin-right: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.navbar-brand .brand-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.navbar-brand .brand-subtitle {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.8px;
}

.navbar-brand:hover img {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 18px 44px rgba(0,0,0,0.12);
}

.navbar-nav{
    gap: 6px;
}
.navbar-nav .nav-item {
    margin: 0 5px;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 700;
    padding: 10px 14px !important;
    font-size: 0.92rem;
    text-transform: none;
    letter-spacing: 0.2px;
    position: relative;
    font-family: var(--font-body);
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 999px;
}

/* Elegant Underline Effect */
.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 5px;
    left: 50%;
    background: linear-gradient(90deg, var(--accent-color), color-mix(in oklab, var(--accent-color) 20%, transparent));
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateX(-50%);
    opacity: 0;
    border-radius: 999px;
}

.nav-link:hover::before, .nav-link.active::before {
    width: 26px;
    opacity: 1;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link:hover {
    background: rgba(12, 59, 126, 0.06);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    background: rgba(12, 59, 126, 0.10);
    box-shadow: 0 10px 30px rgba(12,59,126,0.10);
}

.navbar .navbar-toggler {
    border: none;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(12, 59, 126, 0.06);
}

.navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.navbar-light .navbar-toggler-icon {
    opacity: 0.85;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 12px;
        padding: 12px;
        background: rgba(255,255,255,0.92);
        border-radius: 14px;
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.04);
        backdrop-filter: blur(12px);
    }

    .navbar-nav .nav-item {
        margin: 4px 0;
    }

    .navbar-nav .nav-link {
        padding: 12px 14px !important;
    }

    .navbar .btn-login {
        width: 100%;
        margin-left: 0;
    }

    .navbar-brand .brand-title {
        font-size: 1.1rem;
        letter-spacing: 1.2px;
    }

    .navbar-brand .brand-subtitle {
        font-size: 0.72rem;
    }
}

/* Dropdown Menu Modern */
.dropdown-menu {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    box-shadow: 0 18px 70px rgba(0,0,0,0.12);
    padding: 12px 0;
    margin-top: 15px;
    animation: dropdownFadeIn 0.3s ease;
    min-width: 220px;
    overflow: hidden;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(14px);
}

@media (min-width: 992px) {
    .navbar .dropdown-menu {
        margin-top: 0;
    }

    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .navbar .dropdown-menu::before{
        content:"";
        position:absolute;
        left: 0;
        right: 0;
        top: -14px;
        height: 14px;
        background: transparent;
    }

    .navbar .dropdown:hover > .dropdown-menu,
    .navbar .dropdown:focus-within > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navbar .dropdown:hover > .dropdown-toggle::after,
    .navbar .dropdown:focus-within > .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    padding: 10px 22px;
    font-size: 0.88rem;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgba(12,59,126,0.06);
    color: var(--primary-color);
    padding-left: 28px;
}

.dropdown-toggle::after {
    vertical-align: middle;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
    margin-left: 0.4em;
    opacity: 0.5;
    transition: transform 0.3s;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Login Button in Navbar */
.navbar .btn-login {
    padding: 10px 25px;
    font-size: 0.85rem;
    margin-left: 10px;
    border-radius: 999px;
}

/* Page Header (Hero for inner pages) */
.page-header {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    min-height: 320px;
}
.page-header,
.page-header-modern {
    background-repeat: no-repeat;
}
.page-header {
    background-blend-mode: normal;
}
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 26, 51, 0.52), rgba(7, 26, 51, 0.42));
    pointer-events: none;
    z-index: 0;
}
.page-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 800px at 10% 10%, rgba(212, 175, 55, 0.08), transparent 50%),
        radial-gradient(900px 900px at 90% 20%, rgba(255, 255, 255, 0.08), transparent 55%);
    pointer-events: none;
    z-index: 0;
}
.page-header > .container {
    position: relative;
    z-index: 2;
}
.page-header .section-title {
    font-size: clamp(2rem, 3.2vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    text-shadow: 0 14px 38px rgba(0,0,0,0.35);
    position: relative;
    display: inline-block;
}
.page-header .section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -12px;
    width: 78px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.95), rgba(212, 175, 55, 0.20));
}
.page-header .lead {
    font-weight: 600;
    opacity: 0.95;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}
/* Watermark logo on the left */
.page-header .header-logo-watermark{
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(200px, 26vw, 380px);
    height: clamp(200px, 26vw, 380px);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.25; /* ~75% transparent */
    filter: saturate(0.9) brightness(1.05) drop-shadow(0 10px 26px rgba(0,0,0,0.14));
    pointer-events: none;
    z-index: 1;
    will-change: transform, opacity;
    animation: logoFloatModern 10s ease-in-out infinite;
}

@keyframes logoFloatModern {
    0% { transform: translateY(-50%) scale(1) rotate(0deg); opacity: 0.25; }
    20% { transform: translateY(calc(-50% - 10px)) scale(1.05) rotate(1.5deg); opacity: 0.27; }
    50% { transform: translateY(calc(-50% - 4px)) scale(1.08) rotate(2.8deg); opacity: 0.30; }
    80% { transform: translateY(calc(-50% - 10px)) scale(1.05) rotate(1.2deg); opacity: 0.27; }
    100% { transform: translateY(-50%) scale(1) rotate(0deg); opacity: 0.25; }
}

@media (prefers-reduced-motion: reduce) {
    .page-header .header-logo-watermark { animation: none; }
}
/* Decorative variants */
.page-header--wave::after{
    background:
        radial-gradient(120% 100% at 120% 140%, rgba(108,93,211,0.26) 20%, transparent 21%),
        radial-gradient(120% 100% at 110% 160%, rgba(12,59,126,0.30) 20%, transparent 21%),
        radial-gradient(120% 100% at 100% 180%, rgba(212,175,55,0.18) 20%, transparent 21%),
        radial-gradient(140% 110% at 90% 200%, rgba(255,255,255,0.12) 20%, transparent 21%);
    mix-blend-mode: screen;
}
.page-header--triangles::after{
    background:
        conic-gradient(from 45deg at 75% 50%, rgba(12,59,126,0.18) 90deg, transparent 0),
        conic-gradient(from -45deg at 75% 50%, rgba(108,93,211,0.22) 90deg, transparent 0),
        conic-gradient(from 45deg at 85% 60%, rgba(212,175,55,0.18) 90deg, transparent 0);
    -webkit-mask-image: linear-gradient(to left, transparent 0, rgba(0,0,0,0.4) 10%, rgba(0,0,0,0.9) 35%, black 60%);
    mask-image: linear-gradient(to left, transparent 0, rgba(0,0,0,0.4) 10%, rgba(0,0,0,0.9) 35%, black 60%);
}
@media (min-width: 992px) {
    .page-header {
        min-height: 380px;
    }
}
@media (max-width: 575.98px) {
    .page-header {
        text-align: center;
    }
}

/* Breadcrumb modern (optional for future use) */
.breadcrumb-modern {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 8px 14px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    color: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    font-weight: 600;
}
.breadcrumb-modern a {
    color: #fff;
    text-decoration: none;
}
.breadcrumb-modern .dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.7);
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(12, 59, 126, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(12, 59, 126, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(12, 59, 126, 0.3);
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 15px rgba(12, 59, 126, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(12, 59, 126, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Hero Section */
.hero-carousel {
    position: relative;
}
.hero-carousel .carousel-indicators {
    margin-bottom: 1.4rem;
    gap: 8px;
}
.hero-carousel .carousel-indicators [data-bs-target] {
    width: 26px;
    height: 7px;
    border-radius: 999px;
    background-color: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.35);
    opacity: 1;
    transition: width 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}
.hero-carousel .carousel-indicators .active {
    width: 44px;
    background-color: rgba(212,175,55,0.95);
    transform: translateY(-1px);
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 64px;
    opacity: 1;
}
.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background-color: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 38px rgba(0,0,0,0.18);
    background-size: 14px 14px;
}
.hero-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-carousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(255,255,255,0.20);
    border-color: rgba(255,255,255,0.40);
}

.hero-carousel-ui{
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(7,26,51,0.18);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 60px rgba(0,0,0,0.22);
}
.hero-progress{
    width: clamp(160px, 22vw, 260px);
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.18);
}
.hero-progress-bar{
    display:block;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(212,175,55,0.96), rgba(255,255,255,0.70));
}
.hero-toggle{
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.95);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.hero-toggle:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,0.20);
    box-shadow: 0 16px 50px rgba(0,0,0,0.22);
}
.hero-toggle:focus{
    outline: none;
    box-shadow: 0 0 0 4px rgba(212,175,55,0.22), 0 16px 50px rgba(0,0,0,0.20);
}

.hero-section {
    position: relative;
    height: 90vh;
    min-height: 650px;
    overflow: hidden;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-section::before{
    content:"";
    position:absolute;
    inset:0;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(1.22) saturate(1.14) contrast(1.06);
    transform: scale(1.04);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 900px at 18% 25%, rgba(212,175,55,0.16), transparent 58%),
        radial-gradient(1100px 900px at 85% 65%, rgba(108,93,211,0.14), transparent 60%),
        linear-gradient(135deg, rgba(12, 59, 126, 0.60), rgba(0, 0, 0, 0.46));
    z-index: 1;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 520px at 30% 45%, rgba(255,255,255,0.10), transparent 60%),
        radial-gradient(520px 520px at 80% 35%, rgba(212,175,55,0.10), transparent 62%);
    filter: blur(10px);
    opacity: 0.9;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-card {
    max-width: 820px;
    padding: 34px 34px;
    border-radius: 22px;
    background: rgba(7, 26, 51, 0.26);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(14px);
    box-shadow: 0 26px 80px rgba(0,0,0,0.22);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.92);
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 14px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 4.4vw, 4.6rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.8px;
    text-shadow: 0 18px 55px rgba(0,0,0,0.35);
}

.hero-subtitle {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 40px;
    max-width: 820px;
    line-height: 1.7;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.btn-hero {
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    font-size: 0.82rem;
    border: 1px solid rgba(255,255,255,0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.24);
}
.btn-hero-primary {
    background: linear-gradient(135deg, rgba(212,175,55,0.96), rgba(212,175,55,0.62));
    color: rgba(7, 26, 51, 0.95);
    border-color: rgba(212,175,55,0.55);
}
.btn-hero-primary:hover {
    background: linear-gradient(135deg, rgba(212,175,55,0.98), rgba(212,175,55,0.70));
    border-color: rgba(212,175,55,0.75);
    color: rgba(7, 26, 51, 0.98);
}
.btn-hero-secondary {
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.95);
    border-color: rgba(255,255,255,0.30);
    backdrop-filter: blur(10px);
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.45);
    color: rgba(255,255,255,0.98);
}

.hero-carousel .carousel-item.active .hero-card {
    animation: heroCardIn 0.65s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

@keyframes heroCardIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-carousel.carousel-fade .carousel-inner .carousel-item {
    transition-property: opacity;
    transition-duration: 1.15s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-carousel .carousel-item.active .hero-section::before{
    animation: heroBgZoom 6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroBgZoom {
    from { transform: scale(1.06) translateY(0); filter: brightness(1.20) saturate(1.12) contrast(1.05); }
    to { transform: scale(1.12) translateY(-1.2%); filter: brightness(1.30) saturate(1.18) contrast(1.08); }
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 560px;
    }
    .hero-card {
        padding: 26px 22px;
        border-radius: 20px;
    }
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 28px;
    }
}

@media (max-width: 575.98px) {
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none;
    }
    .hero-carousel .carousel-indicators {
        margin-bottom: 1rem;
    }
    .hero-carousel-ui{
        bottom: 12px;
        padding: 7px 9px;
        gap: 8px;
    }
    .hero-toggle{
        width: 36px;
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel .carousel-item.active .hero-card { animation: none; }
    .hero-carousel .carousel-indicators [data-bs-target] { transition: none; }
    .btn-hero { transition: none; }
}

.stats-section {
    padding: 90px 0;
    background-image: linear-gradient(rgba(12, 59, 126, 0.92), rgba(12, 59, 126, 0.92)), url('../img/hero.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    opacity: 0.95;
}

/* Feature Box */
.feature-box {
    background: #fff;
    padding: 50px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border-bottom: 5px solid transparent;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-15px);
    border-bottom-color: var(--accent-color);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 4rem;
    background: -webkit-linear-gradient(var(--accent-color), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
}

.vm-lite {
    background:
        radial-gradient(1200px 700px at 20% 10%, rgba(212, 175, 55, 0.10), transparent 55%),
        radial-gradient(1200px 700px at 85% 60%, rgba(12, 59, 126, 0.10), transparent 55%),
        linear-gradient(180deg, #ffffff, #f8fafc);
}
.vm-lite-card {
    border-radius: 22px;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.94);
    box-shadow: 0 22px 65px rgba(0,0,0,0.08);
    overflow: hidden;
}
.vm-lite-top {
    padding: 26px 26px 18px;
    background:
        radial-gradient(600px 280px at 12% 10%, rgba(212,175,55,0.22), transparent 55%),
        linear-gradient(135deg, rgba(12, 59, 126, 0.92), rgba(8, 26, 49, 0.92));
    color: #fff;
}
.vm-lite-top--alt {
    background:
        radial-gradient(600px 280px at 12% 10%, rgba(255,255,255,0.18), transparent 55%),
        linear-gradient(135deg, rgba(108,93,211,0.92), rgba(8, 26, 49, 0.92));
}
.vm-lite-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.92);
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 12px;
}
.vm-lite-title {
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: -0.6px;
    font-size: 2.1rem;
}
.vm-lite-body {
    padding: 22px 26px 26px;
}
.vm-lite-text {
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.85;
    min-height: 88px;
    max-height: 240px;
    overflow: hidden;
    position: relative;
}
.vm-lite-text .content-rich {
    font-weight: 500;
    color: rgba(68, 81, 95, 0.92);
}
.vm-lite-text .content-rich h1,
.vm-lite-text .content-rich h2,
.vm-lite-text .content-rich h3,
.vm-lite-text .content-rich h4 {
    margin-top: 10px;
    margin-bottom: 10px;
}
.vm-lite-text::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height: 60px;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.94));
    pointer-events:none;
}
.vm-lite-top--alt + .vm-lite-body .vm-lite-text::after{
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.94));
}
.vm-lite-text p:last-child{
    margin-bottom: 0;
}
.vm-lite-actions {
    margin-top: 18px;
}

.profile-nav {
    position: relative;
    z-index: 20;
    margin-top: -22px;
}
@media (min-width: 992px) {
    .profile-nav {
        position: sticky;
        top: 74px;
    }
}
.profile-nav-inner {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 12px 12px;
    border-radius: 18px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(0,0,0,0.06);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 55px rgba(0,0,0,0.08);
}
.profile-nav-inner::-webkit-scrollbar { height: 0; }
.profile-nav-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.88);
    color: rgba(8, 26, 49, 0.92);
    text-decoration: none;
    font-weight: 750;
    font-size: 0.85rem;
    letter-spacing: 0.1px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
.profile-nav-link i {
    font-size: 0.95rem;
    opacity: 0.85;
}
.profile-nav-link:hover {
    transform: translateY(-1px);
    border-color: rgba(12, 59, 126, 0.18);
    box-shadow: 0 14px 40px rgba(0,0,0,0.08);
}
.profile-nav-link.active {
    background: linear-gradient(135deg, rgba(12, 59, 126, 0.96), rgba(108, 93, 211, 0.86));
    border-color: rgba(12, 59, 126, 0.22);
    color: #fff;
    box-shadow: 0 16px 46px rgba(12, 59, 126, 0.22);
}
.profile-nav-link.active i {
    opacity: 0.95;
}

.profile-card {
    border-radius: 22px;
    border: 1px solid rgba(0,0,0,0.06);
    background:
        radial-gradient(900px 420px at 10% 0%, rgba(212,175,55,0.10), transparent 58%),
        radial-gradient(900px 420px at 90% 0%, rgba(12,59,126,0.10), transparent 60%),
        rgba(255,255,255,0.96);
    box-shadow: 0 26px 80px rgba(0,0,0,0.10);
    position: relative;
    overflow: hidden;
}
.profile-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, rgba(212,175,55,0.95), rgba(12,59,126,0.95));
    opacity: 0.85;
}

.profile-layout {
    padding-top: 22px;
}

.profile-sidebar {
    position: relative;
}

@media (min-width: 992px) {
    .profile-sidebar {
        position: sticky;
        top: 96px;
    }
}

.profile-sidebar .profile-nav-inner {
    flex-direction: column;
    overflow: visible;
    padding: 14px;
    gap: 8px;
}

.profile-sidebar .profile-nav-link {
    width: 100%;
    justify-content: flex-start;
    border-radius: 16px;
    padding: 11px 14px;
}

.profile-sidebar .profile-nav-link i {
    width: 18px;
    text-align: center;
}

@media (max-width: 991.98px) {
    .profile-layout {
        padding-top: 0;
    }
    .profile-sidebar .profile-nav-inner {
        flex-direction: row;
        overflow-x: auto;
        padding: 12px 12px;
        gap: 10px;
    }
    .profile-sidebar .profile-nav-link {
        width: auto;
        border-radius: 999px;
    }
}
.content-rich {
    font-weight: 500;
    line-height: 1.95;
    color: rgba(8, 26, 49, 0.92);
}
.content-rich h1, .content-rich h2, .content-rich h3, .content-rich h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.3px;
    margin-top: 18px;
    margin-bottom: 12px;
}
.content-rich p {
    margin-bottom: 14px;
    color: rgba(68, 81, 95, 0.92);
}
.content-rich ul, .content-rich ol {
    padding-left: 1.2rem;
    margin-bottom: 14px;
}
.content-rich table {
    width: 100%;
    margin: 14px 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
}
.content-rich th, .content-rich td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.content-rich tr:last-child td { border-bottom: 0; }
.content-rich blockquote {
    border-left: 4px solid rgba(212,175,55,0.8);
    background: rgba(212,175,55,0.08);
    padding: 14px 16px;
    border-radius: 14px;
}

.profile-heading {
    padding: 6px 4px 0;
    margin-bottom: 18px;
}
.profile-heading-kicker {
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    line-height: 1;
    margin-bottom: 8px;
}
.profile-heading-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.5vw, 4.1rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    margin: 0 0 14px;
    color: rgba(8, 26, 49, 0.95);
}
.profile-heading-divider {
    display: flex;
    gap: 26px;
    align-items: center;
}
.profile-heading-divider span {
    height: 2px;
    width: 70px;
    background: rgba(212,175,55,0.62);
    border-radius: 999px;
}
.profile-heading-divider span:last-child {
    background: rgba(12,59,126,0.20);
    width: 92px;
}

.vp-card {
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.92);
    box-shadow: 0 18px 55px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.vp-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 80px rgba(0,0,0,0.10);
}
.vp-img-col {
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
    min-height: 300px;
    background-color: #fff;
}
@media (max-width: 767.98px) {
    .vp-img-col { min-height: 320px; }
}
.vp-label {
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-size: 0.74rem;
    color: rgba(108, 117, 125, 0.92);
    font-weight: 800;
}
.vp-position {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.45rem;
    letter-spacing: -0.3px;
    margin-top: 2px;
}
.vp-divider {
    height: 3px;
    width: 54px;
    border-radius: 999px;
    background: rgba(212,175,55,0.82);
    margin: 14px 0;
}
.vp-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: rgba(8, 26, 49, 0.95);
    margin-bottom: 10px;
}
.vp-desc {
    color: rgba(108, 117, 125, 0.95);
    font-style: italic;
    line-height: 1.75;
    font-weight: 500;
}

.vm-pro {
    background:
        radial-gradient(1200px 700px at 12% 0%, rgba(212, 175, 55, 0.10), transparent 55%),
        radial-gradient(1200px 700px at 92% 40%, rgba(12, 59, 126, 0.10), transparent 55%),
        linear-gradient(180deg, #ffffff, #f8fafc);
}
.vm-pro-header .vm-pro-kicker {
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    line-height: 1;
    margin-bottom: 10px;
}
.vm-pro-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    color: rgba(8, 26, 49, 0.95);
}
.vm-pro-subtitle {
    max-width: 760px;
    margin: 12px auto 0;
    font-weight: 600;
}
.vm-pro-card {
    border-radius: 22px;
    border: 1px solid rgba(0,0,0,0.06);
    background:
        radial-gradient(900px 420px at 10% 0%, rgba(212,175,55,0.10), transparent 58%),
        radial-gradient(900px 420px at 90% 0%, rgba(12,59,126,0.10), transparent 60%),
        rgba(255,255,255,0.96);
    box-shadow: 0 26px 80px rgba(0,0,0,0.10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.vm-pro-card--alt {
    background:
        radial-gradient(900px 420px at 10% 0%, rgba(108,93,211,0.10), transparent 58%),
        radial-gradient(900px 420px at 90% 0%, rgba(12,59,126,0.10), transparent 60%),
        rgba(255,255,255,0.96);
}
.vm-pro-card-top {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 22px 22px 14px;
}
.vm-pro-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12,59,126,0.10);
    border: 1px solid rgba(12,59,126,0.10);
    color: rgba(12,59,126,0.92);
    flex: 0 0 auto;
}
.vm-pro-card--alt .vm-pro-icon {
    background: rgba(108,93,211,0.10);
    border-color: rgba(108,93,211,0.10);
    color: rgba(108,93,211,0.92);
}
.vm-pro-card-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 800;
    color: rgba(108,117,125,0.92);
}
.vm-pro-card-title {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.5px;
    font-size: 1.7rem;
    color: rgba(8, 26, 49, 0.95);
}
.vm-pro-card-body {
    position: relative;
    padding: 0 22px 0;
    max-height: 320px;
    overflow: hidden;
}
.vm-pro-content {
    padding: 10px 0 22px;
}
.vm-pro-card-body .content-rich {
    font-weight: 500;
}
.vm-pro-card-body .content-rich h1,
.vm-pro-card-body .content-rich h2,
.vm-pro-card-body .content-rich h3,
.vm-pro-card-body .content-rich h4 {
    margin-top: 12px;
    margin-bottom: 10px;
    font-size: 1.25rem;
}
.vm-pro-card-body .content-rich p {
    margin-bottom: 12px;
}
.vm-pro-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 74px;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.96));
    pointer-events: none;
}
.vm-pro-card-actions {
    padding: 0 22px 22px;
    margin-top: auto;
}

.vp-home {
    background:
        radial-gradient(1200px 700px at 10% 40%, rgba(12, 59, 126, 0.08), transparent 55%),
        radial-gradient(1200px 700px at 90% 0%, rgba(212, 175, 55, 0.10), transparent 55%),
        #ffffff;
}
.vp-home-kicker {
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    line-height: 1;
    margin-bottom: 10px;
}
.vp-home-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    color: rgba(8, 26, 49, 0.95);
}
.vp-home-subtitle {
    max-width: 760px;
    margin: 12px auto 0;
    font-weight: 600;
}
.vp-home-carousel .carousel-indicators [data-bs-target]{
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background-color: rgba(12,59,126,0.35);
}
.vp-home-carousel .carousel-indicators .active{
    background-color: rgba(12,59,126,0.92);
}
.vp-home-carousel.carousel-fade .carousel-inner .carousel-item {
    transition-property: opacity;
    transition-duration: .8s;
    transition-timing-function: ease-in-out;
}
.vp-home-carousel .carousel-item {
    will-change: opacity, transform;
}
.vp-home-carousel .row.align-items-stretch {
    min-height: 480px;
}
.vp-home-carousel .carousel-control-prev,
.vp-home-carousel .carousel-control-next{
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}
.vp-home-carousel .carousel-control-prev{
    left: -22px;
}
.vp-home-carousel .carousel-control-next{
    right: -22px;
}
@media (max-width: 991.98px){
    .vp-home-carousel .carousel-control-prev,
    .vp-home-carousel .carousel-control-next{
        display: none;
    }
}

.vp-poster-card{
    position: relative;
    height: clamp(520px, 62vh, 660px);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow:
        0 24px 80px rgba(0,0,0,0.18),
        0 6px 22px rgba(0,0,0,0.10);
    background: linear-gradient(180deg, #0a1520, #07111a);
    --vp-accent: #d4af37;
    --vp-accent2: #0c3b7e;
}
.vp-poster-card::before{
    content:"";
    position:absolute;
    inset: 1px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.10);
    background:
        radial-gradient(700px 520px at 22% 18%, rgba(255,255,255,0.08), transparent 58%),
        radial-gradient(680px 520px at 84% 20%, color-mix(in oklab, var(--vp-accent2) 16%, transparent), transparent 62%);
    pointer-events:none;
    z-index: 0;
    opacity: .9;
}
.vp-poster-card--grid{
    height: clamp(520px, 62vh, 700px);
}
.vp-theme-1{ --vp-accent: #d4af37; --vp-accent2: #0c3b7e; }
.vp-theme-2{ --vp-accent: #6c5dd3; --vp-accent2: #2f80ed; }
.vp-theme-3{ --vp-accent: #00b894; --vp-accent2: #0984e3; }
.vp-theme-4{ --vp-accent: #ff8f00; --vp-accent2: #0c3b7e; }
.vp-poster-bg{
    position:absolute;
    inset:0;
    background:
        radial-gradient(980px 760px at 16% 12%, color-mix(in oklab, var(--vp-accent) 28%, transparent), transparent 60%),
        radial-gradient(980px 760px at 92% 0%, color-mix(in oklab, var(--vp-accent2) 26%, transparent), transparent 62%),
        radial-gradient(820px 620px at 55% 38%, rgba(0,0,0,0.25), transparent 62%),
        linear-gradient(180deg, rgba(8,18,28,0.86), rgba(8,18,28,0.70));
    z-index: 1;
}
.vp-poster-card::after{
    content:"";
    position:absolute;
    inset:auto 0 0 0;
    height: 76px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.52));
    pointer-events: none;
    z-index: 6;
}
.vp-poster-b .vp-poster-accent{
    position:absolute;
    left:-14%;
    bottom:-18%;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.25) 0 10%, transparent 11% 100%), var(--vp-accent);
    box-shadow: 0 30px 90px color-mix(in oklab, var(--vp-accent) 30%, rgba(0,0,0,0.5));
    opacity: .95;
    z-index: 1;
}
@media (min-width: 992px){
    .vp-poster-b .vp-poster-accent{ width: 420px; height: 420px; left:-12%; bottom:-20%; }
}
.vp-poster-bg::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.34), rgba(0,0,0,0.08)),
        radial-gradient(600px 380px at 26% 22%, rgba(255,255,255,0.08), transparent 60%);
    opacity: 0.08;
}
.vp-poster-corner{
    position:absolute;
    right:-10px;
    top:-10px;
    width: 160px;
    height: 160px;
    background:
        repeating-linear-gradient(135deg, rgba(255,255,255,0.9) 0 10px, rgba(255,255,255,0.0) 10px 22px);
    opacity: 0.12;
    transform: rotate(0deg);
    clip-path: polygon(40% 0, 100% 0, 100% 60%);
}
.vp-poster-dots{
    position:absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.38) 1px, transparent 1px);
    background-size: 14px 14px;
    opacity: 0.05;
    mask-image: radial-gradient(closest-side at 85% 75%, rgba(0,0,0,1), rgba(0,0,0,0));
}
.vp-poster-top{
    position:absolute;
    top: 20px;
    right: 22px;
    display:flex;
    justify-content:flex-end;
    z-index: 3;
}
.vp-poster-logo{
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 18px 40px rgba(0,0,0,0.35));
}
.vp-poster-logo-mark{
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}
.vp-poster-role{
    position:absolute;
    left: 14px;
    top: 110px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: 1.6px;
    font-size: clamp(1.25rem, 2.8vw, 1.9rem);
    color: rgba(255,255,255,0.98);
    opacity: 0.98;
    z-index: 3;
    text-shadow: 0 24px 70px rgba(0,0,0,0.78);
    -webkit-text-stroke: 2.2px rgba(0,0,0,0.75);
    padding: 14px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.18);
    background: linear-gradient(180deg, rgba(0,0,0,0.86), rgba(0,0,0,0.52));
    backdrop-filter: blur(8px);
    z-index: 6;
    text-align: right;
}
.vp-poster-role::before{
    content:"";
    position:absolute;
    left:-8px;
    top:6%;
    bottom:6%;
    width: 4px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--vp-accent), color-mix(in oklab, var(--vp-accent) 25%, transparent));
}
.vp-poster-badge{
    position:absolute;
    top: 16px;
    left: 16px;
    display:none;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(12,59,126,0.28);
    color: rgba(255,255,255,0.98);
    backdrop-filter: blur(6px);
    z-index: 6;
}
.vp-poster-photo{
    position:absolute;
    left: 58%;
    top: 46%;
    transform: translate(-50%, -50%);
    width: min(78%, 420px);
    height: min(70%, 520px);
    z-index: 4;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(0,0,0,0.35);
}
.vp-poster-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    background: #ffffff;
    filter: brightness(1.08) saturate(1.05) contrast(1.06);
}
.vp-poster-frame{
    position:absolute;
    inset: -8px -8px -8px -8px;
    border: 10px solid rgba(255,255,255,0.98);
    border-radius: 18px;
    box-shadow: 0 26px 80px rgba(0,0,0,0.32);
    opacity: 1;
    pointer-events: none;
    z-index: 5;
}
.vp-poster-footer{
    position:absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 18px 20px;
    z-index: 6;
    background: linear-gradient(180deg, rgba(8,18,28,0), rgba(8,18,28,0.40) 58%, rgba(8,18,28,0.78));
    backdrop-filter: blur(8px);
    text-align: center;
}
.vp-poster-name{
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    color: rgba(255,255,255,0.98);
    text-shadow: 0 24px 70px rgba(0,0,0,0.55);
    display: inline-block;
    padding: 7px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    position: relative;
}
.vp-poster-name::after{
    content:"";
    position:absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 48px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--vp-accent), color-mix(in oklab, var(--vp-accent) 20%, transparent));
    opacity: .9;
}
.vp-poster-subrole{
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.82rem;
    padding: 6px 12px;
    border-radius: 999px;
    color: rgba(255,255,255,0.98);
    background: rgba(0,0,0,0.25);
    border: 1px solid color-mix(in oklab, var(--vp-accent) 35%, rgba(255,255,255,0.2));
}
.vp-poster-subrole::before{
    content:"";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--vp-accent);
    box-shadow: 0 0 12px color-mix(in oklab, var(--vp-accent) 60%, rgba(0,0,0,0.4));
}

.ach-card {
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.94));
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 18px 55px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}
.ach-card:hover { transform: translateY(-4px); box-shadow: 0 30px 90px rgba(0,0,0,0.12); }
.ach-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background:
        radial-gradient(700px 280px at 20% 0%, rgba(212,175,55,0.10), transparent 60%),
        radial-gradient(700px 280px at 90% 10%, rgba(12,59,126,0.10), transparent 58%),
        #f6f7f9;
    padding: 12px;
}
.ach-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 14px 40px rgba(0,0,0,0.08);
    transition: transform .55s ease;
}
.ach-card:hover .ach-media img { transform: scale(1.02); }
.ach-media.ach-preview{ cursor: zoom-in; display:block; text-decoration:none; color: inherit; }
.ach-preview-icon{
    position:absolute;
    left: 14px;
    top: 14px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 3;
}
.ach-card:hover .ach-preview-icon{ opacity: 1; transform: translateY(0); }
.ach-rank { position: absolute; top: 14px; right: 14px; z-index: 2; }
.rank-chip { display:inline-flex; align-items:center; padding:6px 12px; border-radius: 999px; font-weight: 800; letter-spacing:.6px; text-transform: uppercase; font-size: .72rem; border:1px solid rgba(0,0,0,0.08); box-shadow: 0 6px 18px rgba(0,0,0,0.08); background:#e9f2ff; color:#0c3b7e; }
.rank-gold { background: linear-gradient(180deg, #f9d976, #f39f31); color:#4a3a0a; border-color: rgba(212,175,55,0.35); }
.rank-silver { background: linear-gradient(180deg, #e7e7e7, #bdbdbd); color:#2f2f2f; border-color: rgba(180,180,180,0.35); }
.rank-bronze { background: linear-gradient(180deg, #d8a07b, #b37454); color:#3b2b25; border-color: rgba(140,90,60,0.35); }
.rank-finalist { background: linear-gradient(180deg, #b2f5ea, #63d6c6); color:#0b5b5a; border-color: rgba(11,91,90,0.25); }
.rank-primary { background:#e9f2ff; color:#0c3b7e; border-color: rgba(12,59,126,0.2); }
.ach-chip { position:absolute; left: 14px; bottom: 14px; padding:6px 10px; font-weight:700; border-radius:10px; background: rgba(255,255,255,0.92); border:1px solid rgba(0,0,0,0.06); font-size:.72rem; letter-spacing:.4px; }
.ach-body { padding: 16px 18px 12px 18px; flex: 1 1 auto; }
.ach-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: -0.3px;
    color: #0b1a24;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}
.ach-desc {
    color: #66707a;
    font-size: 0.92rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 72px;
}
.ach-footer { display:flex; justify-content: space-between; align-items:center; padding: 12px 18px 16px 18px; border-top: 1px dashed rgba(0,0,0,0.06); margin-top: auto; }
.ach-person, .ach-time { display:flex; align-items:center; gap:8px; color:#334155; font-weight:700; font-size:.86rem; }
.ach-person{ align-items:flex-start; }
.ach-winner-list{ display:flex; flex-direction:column; gap:2px; }
.ach-winner{ line-height: 1.25; display:flex; align-items:flex-start; gap:8px; }
.ach-winner i{ margin-top: 2px; color: rgba(212,175,55,0.95); }
.ach-winner-more{ color: rgba(51,65,85,0.70); font-weight:800; font-size: .82rem; letter-spacing: .2px; display:flex; align-items:center; gap:8px; }
.ach-winner-more i{ color: rgba(12,59,126,0.70); }
.ach-person i, .ach-time i { color:#0c3b7e; }

.ach-preview-winners{ display:flex; flex-wrap:wrap; gap:8px; margin-top: 14px; }
.ach-preview-winner{ padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.92); font-weight: 700; font-size: .85rem; }
.ach-preview-winner-more{ padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px dashed rgba(255,255,255,0.18); color: rgba(255,255,255,0.75); font-weight: 800; font-size: .85rem; }

.ach-toolbar{
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.92);
    box-shadow: 0 18px 55px rgba(0,0,0,0.06);
    padding: 14px 14px;
}
.ach-toolbar .input-group-text{
    background: #fff;
    border-color: rgba(0,0,0,0.10);
    color: rgba(12,59,126,0.92);
}
.ach-toolbar .form-control,
.ach-toolbar .form-select{
    border-color: rgba(0,0,0,0.10);
}
.ach-toolbar .form-control:focus,
.ach-toolbar .form-select:focus{
    box-shadow: 0 0 0 0.2rem rgba(12,59,126,0.14);
    border-color: rgba(12,59,126,0.35);
}

.ach-pagination .page-link{
    border-radius: 12px;
    border-color: rgba(0,0,0,0.10);
    color: rgba(12,59,126,0.92);
    font-weight: 800;
    min-width: 44px;
    text-align: center;
}
.ach-pagination .page-item.active .page-link{
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.ach-pagination .page-item.disabled .page-link{
    opacity: .55;
}

.ach-preview-modal .modal-content{
    border-radius: 18px;
    overflow: hidden;
}
.ach-preview-modal .modal-body{
    padding: 14px;
    background: #0b1520;
}
.ach-preview-img{
    display: block;
    width: 100%;
    max-height: calc(100vh - 220px);
    object-fit: contain;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
}
@media (max-width: 575.98px){
    .ach-preview-modal .modal-dialog{ margin: 0.75rem; }
    .ach-preview-modal .modal-body{ padding: 10px; }
    .ach-preview-img{ max-height: calc(100vh - 200px); }
}
.vp-poster-photo img{ transition: transform .35s ease; }
.vp-poster-card:hover .vp-poster-photo img{ transform: translateZ(0) scale(1.02); }
.vp-poster-social{
    display:flex;
    gap:10px;
    justify-content:center;
    margin-top: 12px;
}
.vp-social--poster{
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.20);
    box-shadow: 0 16px 50px rgba(0,0,0,0.18);
    color: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
}
.vp-social--poster:hover{
    transform: translateY(-1px);
    box-shadow: 0 22px 70px rgba(0,0,0,0.24);
}
@media (max-width: 575.98px){
    .vp-poster-role{ display:none; }
    .vp-poster-badge{ display:inline-flex; }
    .vp-poster-photo{
        width: min(92%, 400px);
        height: min(70%, 500px);
        top: 46%;
    }
    .vp-poster-footer{ padding: 16px 14px 18px; }
}
.vp-home-card {
    position: relative;
    border-radius: 22px;
    border: 1px solid rgba(0,0,0,0.06);
    background:
        radial-gradient(900px 420px at 10% 0%, rgba(212,175,55,0.10), transparent 58%),
        radial-gradient(900px 420px at 90% 0%, rgba(12,59,126,0.10), transparent 60%),
        rgba(255,255,255,0.96);
    box-shadow: 0 26px 80px rgba(0,0,0,0.10);
    overflow: hidden;
    display: grid;
    grid-template-areas: "img body";
    grid-template-columns: 220px 1fr;
    min-height: 220px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.vp-home-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    height:4px;
    width:100%;
    background: linear-gradient(90deg, rgba(212,175,55,0.95), rgba(12,59,126,0.95));
    opacity:0.85;
}
.vp-home-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 30px 90px rgba(0,0,0,0.12);
}
.vp-home-card--rev{
    grid-template-areas: "body img";
    grid-template-columns: 1fr 220px;
}
.vp-home-img {
    grid-area: img;
    position: relative;
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
    min-height: 220px;
}
.vp-home-img::after{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.10));
}
.vp-home-body {
    grid-area: body;
    padding: 22px 22px 22px;
}
.vp-home-social{
    display:flex;
    gap:10px;
    margin-top:12px;
}
.vp-social{
    width:36px;
    height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background: rgba(255,255,255,0.92);
    border:1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    color: rgba(12,59,126,0.92);
    text-decoration:none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.vp-social:hover{
    transform: translateY(-1px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.10);
}
.vp-social[data-brand="fb"]:hover { color:#1877f2; }
.vp-social[data-brand="ig"]:hover { color:#e1306c; }
.vp-social[data-brand="x"]:hover { color:#111; }
.vp-social[data-brand="in"]:hover { color:#0a66c2; }
.vp-social[data-brand="wa"]:hover { color:#25d366; }

.vp-cta{
    margin-top: 12px;
}
.btn-wa{
    display:inline-flex;
    align-items:center;
    gap:8px;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    border: 1px solid rgba(37,211,102,0.18);
    background: rgba(37,211,102,0.12);
    color: #128c7e;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-wa:hover{
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(37,211,102,0.18);
    background: rgba(37,211,102,0.18);
}
.vp-home-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(12,59,126,0.10);
    border: 1px solid rgba(12,59,126,0.10);
    color: rgba(12,59,126,0.92);
    font-weight: 800;
    letter-spacing: 0.2px;
    font-size: 0.85rem;
}
.vp-home-name {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.4px;
    font-size: 1.35rem;
    margin-top: 12px;
    color: rgba(8, 26, 49, 0.95);
}
.vp-home-desc {
    margin-top: 10px;
    color: rgba(108,117,125,0.95);
    font-style: italic;
    line-height: 1.75;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 575.98px) {
    .vp-home-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "img"
            "body";
    }
    .vp-home-img {
        min-height: 280px;
    }
}

/* Section Titles */
.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-title-sub {
    font-family: var(--font-accent);
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.section-title-main {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 20px;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Staff (Guru/Pegawai) */
.staff-toolbar {
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.05);
    background:
        radial-gradient(circle at 18% 22%, rgba(212, 175, 55, 0.08), transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(12, 59, 126, 0.10), transparent 55%),
        rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);
}
.staff-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}
.staff-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(12, 59, 126, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: 1px solid rgba(12, 59, 126, 0.10);
}
.staff-stat-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1.1;
    color: var(--text-color);
}
.staff-stat-label {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.staff-input {
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.07);
    background: rgba(255,255,255,0.92);
    padding: 12px 16px;
}
.staff-input:focus {
    border-color: rgba(12, 59, 126, 0.35);
    box-shadow: 0 0 0 4px rgba(12, 59, 126, 0.10);
    background: #fff;
}
.staff-card {
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.05);
    background: rgba(255,255,255,0.98);
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    overflow: hidden;
    height: 100%;
}
.staff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 48px rgba(0,0,0,0.10);
}
.staff-card-cover {
    height: 78px;
    background:
        radial-gradient(700px 220px at 15% 10%, rgba(212, 175, 55, 0.24), transparent 55%),
        linear-gradient(135deg, rgba(12, 59, 126, 0.92), rgba(8, 26, 49, 0.92));
}
.staff-card-body {
    padding: 18px 18px 18px;
    text-align: center;
}
.staff-avatar {
    width: 120px;
    height: 138px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: -56px;
    border: 4px solid rgba(255,255,255,0.95);
    box-shadow: 0 18px 45px rgba(0,0,0,0.15);
    background: #eef2f7;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 34px;
    overflow: hidden;
    position: relative;
}
.staff-avatar::after{
    content:"";
    position:absolute;
    inset:0;
    background: radial-gradient(120px 120px at 35% 25%, rgba(255,255,255,0.22), transparent 60%);
    pointer-events:none;
}
.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 575.98px){
    .staff-avatar{
        width: 112px;
        height: 128px;
        border-radius: 16px;
    }
}
.staff-name {
    margin-top: 12px;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: var(--text-color);
}
.staff-meta {
    margin-top: 4px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.92rem;
}
.staff-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.92);
    box-shadow: 0 10px 22px rgba(0,0,0,0.06);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(12, 59, 126, 0.95);
}
.staff-badge i {
    color: rgba(212, 175, 55, 0.95);
}
.staff-empty {
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

/* Footer Modern */
.footer-modern {
    color: rgba(255, 255, 255, 0.78);
}

.footer-modern .footer-top {
    padding: 90px 0 60px;
    background:
        radial-gradient(circle at 20% 25%, rgba(212, 175, 55, 0.14), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(12, 59, 126, 0.35), transparent 55%),
        linear-gradient(135deg, #071a33 0%, #0b2a54 38%, #081a31 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-modern .footer-top.bg-cover {
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed;
}

.footer-modern .footer-brand {
    padding-right: 20px;
}

.footer-modern .footer-logo-wrap {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    flex: 0 0 auto;
}

.footer-modern .footer-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.footer-modern .footer-school-name {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
}

.footer-modern .footer-website {
    display: inline-block;
    margin-top: 6px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.70);
    text-decoration: none;
}

.footer-modern a.footer-website:hover {
    color: rgba(255, 255, 255, 0.92);
}

.footer-modern .footer-desc {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 1rem;
    line-height: 1.9;
}

.footer-modern .footer-title {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.2px;
}

.footer-modern .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.95), rgba(212, 175, 55, 0.15));
}

.footer-modern .footer-links a {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    padding: 7px 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-modern .footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-modern .footer-login-link {
    color: rgba(212, 175, 55, 0.95) !important;
    font-weight: 700;
}

.footer-modern .footer-contact li {
    display: flex;
    gap: 14px;
    padding: 10px 0;
    align-items: flex-start;
}

.footer-modern .footer-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(212, 175, 55, 0.95);
    flex: 0 0 auto;
}

.footer-modern .footer-contact-content a,
.footer-modern .footer-contact-content span {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    line-height: 1.6;
    display: inline-block;
}

.footer-modern .footer-contact-content a:hover {
    color: #fff;
}

.footer-modern .footer-social {
    display: flex;
    gap: 10px;
}

.footer-modern .footer-social-link {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-modern .footer-social-link:hover {
    transform: translateY(-2px);
    background: rgba(212, 175, 55, 0.16);
    color: #fff;
}

.footer-modern .footer-bottom {
    padding: 20px 0;
    background: rgba(3, 9, 17, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.footer-modern .footer-copy {
    color: rgba(255, 255, 255, 0.70);
    font-size: 0.92rem;
}

.footer-modern .footer-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
}

.footer-modern .footer-meta a {
    color: rgba(212, 175, 55, 0.95);
    text-decoration: none;
    font-weight: 700;
}

.footer-modern .footer-meta a:hover {
    color: #fff;
}

.footer-modern .footer-dot {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 991.98px) {
    .footer-modern .footer-brand {
        padding-right: 0;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at 18% 22%, rgba(212, 175, 55, 0.12), transparent 52%),
        radial-gradient(circle at 82% 78%, rgba(12, 59, 126, 0.20), transparent 55%),
        radial-gradient(circle at 55% 45%, rgba(255, 255, 255, 0.22), transparent 60%),
        linear-gradient(135deg, #071a33 0%, #0b2a54 38%, #081a31 100%);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader-hide {
    opacity: 0 !important;
    visibility: hidden !important;
}

.loader-container {
    width: min(720px, 100%);
    text-align: center;
    padding: 34px 24px;
    border-radius: 26px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.loader-logo-wrap {
    width: 170px;
    height: 170px;
    margin: 0 auto;
    border-radius: 999px;
    padding: 8px;
    position: relative;
    background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.18), transparent 60%);
}

.loader-logo-wrap::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    background: conic-gradient(
        from 180deg,
        rgba(212, 175, 55, 0.0),
        rgba(212, 175, 55, 0.95),
        rgba(255, 255, 255, 0.10),
        rgba(12, 59, 126, 0.25),
        rgba(212, 175, 55, 0.0)
    );
    filter: blur(0.6px);
    animation: loaderRing 2.0s linear infinite;
    opacity: 0.95;
}

.loader-logo-wrap::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
}

.loader-logo {
    width: 145px;
    height: 145px;
    object-fit: contain;
    padding: 14px;
    border-radius: 50%;
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
    z-index: 1;
    animation: loaderFloat 2.2s ease-in-out infinite;
}

.loader-school-name {
    margin-top: 18px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
    text-transform: none;
    font-size: 1.65rem;
    text-shadow: 0 12px 28px rgba(0,0,0,0.45);
}

.loader-site-name {
    margin-top: 8px;
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.70);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.6px;
    word-break: break-word;
}

.loader-status {
    margin-top: 16px;
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.62);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.loader-dots {
    display: inline-flex;
    gap: 2px;
    margin-left: 2px;
}

.loader-dots span {
    display: inline-block;
    opacity: 0.35;
    transform: translateY(0);
    animation: loaderDotPulse 1.1s ease-in-out infinite;
}

.loader-dots span:nth-child(2) { animation-delay: 0.15s; }
.loader-dots span:nth-child(3) { animation-delay: 0.30s; }

.loader-spinner {
    width: 260px;
    height: 6px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
    position: relative;
}

.loader-spinner::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 32%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.95) 35%, rgba(255, 255, 255, 0.55) 50%, rgba(212, 175, 55, 0.95) 65%, rgba(212, 175, 55, 0) 100%);
    transform: translateX(-120%);
    animation: loaderBar 1.35s ease-in-out infinite;
}

@keyframes loaderBar {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(320%); }
}

@keyframes loaderFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes loaderDotPulse {
    0%, 100% { opacity: 0.35; transform: translateY(0); }
    50% { opacity: 0.95; transform: translateY(-2px); }
}

@keyframes loaderRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 576px) {
    .loader-container {
        padding: 28px 18px;
        border-radius: 22px;
    }
    .loader-logo-wrap {
        width: 140px;
        height: 140px;
        padding: 7px;
    }
    .loader-logo-wrap::after {
        inset: 11px;
    }
    .loader-logo {
        width: 120px;
        height: 120px;
        padding: 12px;
    }
    .loader-spinner {
        width: 230px;
    }
    .loader-school-name {
        font-size: 1.35rem;
    }
}

/* News & Blog Modern Styles */
.page-header-modern {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
    margin-bottom: 60px;
    background-attachment: fixed;
}

.page-header-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(12, 59, 126, 0.9), rgba(10, 38, 71, 0.8));
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.news-card-modern {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.news-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.news-card-img-wrapper {
    position: relative;
    padding-top: 65%; /* 3:2 Aspect Ratio */
    overflow: hidden;
}

.news-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card-modern:hover .news-card-img {
    transform: scale(1.08);
}

.news-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.news-card-body {
    padding: 30px;
}

.news-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.news-meta i {
    color: var(--accent-color);
    margin-right: 6px;
}

.news-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.news-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
    background-image: linear-gradient(var(--accent-color), var(--accent-color));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    padding-bottom: 2px;
}

.news-card-modern:hover .news-title a {
    background-size: 100% 2px;
    color: var(--secondary-color);
}

.news-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.read-more-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.read-more-link:hover {
    color: var(--accent-color);
}

.read-more-link:hover i {
    transform: translateX(5px);
}

/* Featured Post (Large) */
.news-card-featured {
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .news-card-featured {
        flex-direction: row;
        align-items: stretch;
        min-height: 400px;
    }
    .news-card-featured .news-card-img-wrapper {
        width: 55%;
        padding-top: 0;
        min-height: 100%;
    }
    .news-card-featured .news-card-body {
        width: 45%;
        padding: 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .news-card-featured .news-title {
        font-size: 2.2rem;
    }
}

/* Sidebar Widgets Modern */
.widget-modern {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    margin-bottom: 30px;
    border: 1px solid rgba(0,0,0,0.03);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.search-form-modern .form-control {
    border: 2px solid #eee;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.search-form-modern .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: none;
}

.cat-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.cat-list-item:last-child {
    border-bottom: none;
}

.cat-list-item:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.cat-count {
    background: #f0f4f8;
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Pagination Modern */
.pagination-modern .page-link {
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    margin: 0 5px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary-color);
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.pagination-modern .page-item.active .page-link {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(12, 59, 126, 0.3);
}

.pagination-modern .page-link:hover:not(.active) {
    background: var(--accent-color);
    color: #fff;
}
