/* ============================================================
   US Nursing Review Center — Custom Stylesheet
   Academic / Healthcare Education Design System
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    --primary: #0A2463;
    --primary-light: #0E3080;
    --secondary: #1B6B93;
    --secondary-light: #2196F3;
    --accent: #E8963E;
    --accent-light: #F5B041;
    --success: #247B4A;
    --success-light: #2E9959;
    --light-bg: #F8F9FA;
    --dark-bg: #0A2463;
    --white: #FFFFFF;
    --text-dark: #212529;
    --text-muted: #6C757D;
    --text-light: #ADB5BD;
    --border-color: #DEE2E6;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
}

/* --- Base Typography --- */
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--primary);
}

/* --- Section Label (small caps above heading) --- */
.section-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}

/* --- Section Spacing --- */
.section-spacing {
    padding: 5rem 0;
}
.section-spacing-sm {
    padding: 3rem 0;
}

/* --- Topbar --- */
.topbar {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}
.topbar a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: var(--transition);
}
.topbar a:hover {
    color: var(--white);
}
.topbar .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    margin-left: 6px;
    font-size: 0.8rem;
    transition: var(--transition);
}
.topbar .social-icons a:hover {
    background: var(--accent);
}

/* --- Global Topbar (Root Landing) --- */
.topbar-global {
    background: var(--secondary);
    color: var(--white);
    padding: 0.6rem 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

/* --- Navbar --- */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
    transition: var(--transition);
}
.navbar-brand img {
    height: 55px;
}
.navbar .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    transition: var(--transition);
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--secondary);
}
.navbar .btn-get-started {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}
.navbar .btn-get-started:hover {
    background: var(--primary);
    color: var(--white);
}

/* Sticky navbar */
.navbar.sticky-top {
    z-index: 1030;
}

/* --- Hero Sections --- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 6rem 0;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,138.7C672,128,768,160,864,186.7C960,213,1056,235,1152,224C1248,213,1344,171,1392,149.3L1440,128V320H0Z"></path></svg>') no-repeat bottom center;
    background-size: cover;
}
.hero h1 {
    color: var(--white);
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    max-width: 600px;
}
.hero .btn-hero {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.85rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(232,150,62,0.4);
}
.hero .btn-hero:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,150,62,0.5);
}

/* Hero with background image */
.hero-image {
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10,36,99,0.88) 0%, rgba(27,107,147,0.82) 100%);
}
.hero-image .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero { padding: 4rem 0; }
    .hero h1 { font-size: 2.25rem; }
}

/* --- Page Header (inner pages) --- */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
    text-align: center;
}
.page-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}
.page-header .breadcrumb {
    justify-content: center;
    margin-bottom: 0;
}
.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
}
.page-header .breadcrumb-item.active {
    color: var(--accent);
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* --- Branch Selector Cards --- */
.branch-card {
    display: block;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    color: var(--text-dark);
}
.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
    color: var(--text-dark);
}
.branch-card .branch-flag {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    background: var(--light-bg);
}
.branch-card h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.branch-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- Feature Cards (3-column pillars) --- */
.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}
.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.feature-card .feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}
.feature-card h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Pillar Cards (Expectations) --- */
.pillar-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
    border-top: 4px solid var(--accent);
}
.pillar-card .pillar-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2.25rem;
    color: var(--secondary);
}
.pillar-card h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.pillar-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Bio / Profile Section --- */
.bio-section {
    background: var(--light-bg);
}
.bio-section .bio-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 400px;
}
.bio-section h3 {
    color: var(--primary);
    margin-bottom: 0.25rem;
}
.bio-section .credentials {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

/* --- Accreditation Band --- */
.accreditation-band {
    background: var(--white);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.accreditation-band h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.accreditation-band .ana-logo {
    max-height: 80px;
}
.accreditation-band .ana-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-top: 0.75rem;
}

/* --- Success Rate Section --- */
.success-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
}
.success-section h2 {
    color: var(--white);
}
.success-section .success-number {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.success-section p {
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto;
}

/* --- Investment Cost Card --- */
.investment-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}
.investment-card h4 {
    color: var(--primary);
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}
.investment-card .list-unstyled li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}
.investment-card .list-unstyled li i {
    color: var(--success);
    margin-right: 0.5rem;
}

/* --- Course Cards --- */
.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.course-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.course-card .course-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 2rem 1.5rem;
    text-align: center;
}
.course-card .course-header h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.course-card .course-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.course-card .course-price .old-price {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 1.1rem;
}
.course-card .course-price .new-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}
.course-card .course-body {
    padding: 1.5rem;
    flex: 1;
}
.course-card .course-body li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--light-bg);
}
.course-card .course-body li:last-child {
    border-bottom: none;
}
.course-card .course-body li i {
    color: var(--success);
    margin-right: 0.5rem;
}
.course-card .course-footer {
    padding: 1rem 1.5rem 1.5rem;
    text-align: center;
}

/* --- Review / Testimonial Cards --- */
.review-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}
.review-card:hover {
    box-shadow: var(--shadow-md);
}
.review-card .reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.review-card .reviewer-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}
.review-card .review-stars {
    font-size: 0.8rem;
}
.review-card .review-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Google Reviews Header --- */
.google-reviews-badge {
    text-align: center;
    margin-bottom: 2rem;
}
.google-reviews-badge .rating-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    letter-spacing: 1px;
}
.google-reviews-badge .stars {
    font-size: 1.5rem;
    color: #FBBC05;
}
.google-reviews-badge .review-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.google-reviews-badge .google-logo {
    font-size: 1.5rem;
    font-weight: 700;
}
.google-reviews-badge .google-logo span:nth-child(1) { color: #4285F4; }
.google-reviews-badge .google-logo span:nth-child(2) { color: #EA4335; }
.google-reviews-badge .google-logo span:nth-child(3) { color: #FBBC05; }
.google-reviews-badge .google-logo span:nth-child(4) { color: #4285F4; }
.google-reviews-badge .google-logo span:nth-child(5) { color: #34A853; }
.google-reviews-badge .google-logo span:nth-child(6) { color: #EA4335; }

/* --- CTA Band --- */
.cta-band {
    background: linear-gradient(135deg, var(--accent) 0%, #D4831E 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}
.cta-band h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
}
.cta-band h3 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 0.75rem;
}
.cta-band p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}
.cta-band .btn-cta {
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.85rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}
.cta-band .btn-cta:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* --- Blog Cards --- */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.blog-card .blog-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
}
.blog-card .blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card .blog-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.blog-card .blog-card-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
    flex: 1;
}
.blog-card .blog-card-title a {
    color: var(--text-dark);
}
.blog-card .blog-card-title a:hover {
    color: var(--secondary);
}

/* --- Footer --- */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 0;
}
.site-footer h5 {
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}
.site-footer a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.site-footer a:hover {
    color: var(--accent);
}
.site-footer .footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}
.site-footer .footer-description {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.site-footer .footer-contact li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
}
.site-footer .footer-contact li i {
    width: 20px;
    color: var(--accent);
    margin-right: 0.5rem;
}
.site-footer .footer-links li {
    padding: 0.35rem 0;
}
.site-footer .footer-links li a {
    font-size: 0.9rem;
}
.site-footer .footer-links li a:hover {
    color: var(--accent);
    padding-left: 5px;
}
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.site-footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    margin-right: 8px;
    transition: var(--transition);
}
.site-footer .social-icons a:hover {
    background: var(--accent);
}

/* --- Newsletter Form --- */
.newsletter-section {
    background: var(--light-bg);
}
.newsletter-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
}
.newsletter-form .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(27,107,147,0.15);
}

/* --- Contact Form --- */
.contact-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}
.contact-form .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(27,107,147,0.15);
}
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- Buttons --- */
.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary-custom:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-secondary-custom {
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}
.btn-secondary-custom:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-accent {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}
.btn-accent:hover {
    background: #D4831E;
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline-light-custom {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
    border-radius: var(--radius-sm);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-light-custom:hover {
    background: var(--white);
    color: var(--primary);
}

/* --- Welcome Message Section --- */
.welcome-section {
    border-bottom: 1px solid var(--border-color);
}
.welcome-section .welcome-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 350px;
}
.welcome-section .welcome-name {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.15rem;
}
.welcome-section .welcome-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-style: italic;
}

/* --- About Page Sections --- */
.about-values .value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.about-values .value-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* --- Mission / Vision Cards --- */
.mv-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    border-left: 5px solid var(--accent);
}
.mv-card h3 {
    margin-bottom: 1rem;
}

/* --- Login Page --- */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, #1A8F7A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.login-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
    text-align: center;
}
.login-card .login-logo {
    height: 70px;
    margin-bottom: 2rem;
}
.login-card .form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}
.login-card .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(27,107,147,0.15);
}
.login-card .btn-login {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    width: 100%;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}
.login-card .btn-login:hover {
    background: var(--secondary);
}

/* --- Expectations (dark bg variant) --- */
.expectations-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--white);
}
.expectations-section h2 {
    color: var(--white);
}
.expectations-section p {
    color: rgba(255,255,255,0.85);
}

/* --- Blog Single --- */
.blog-single .blog-content {
    font-size: 1.05rem;
    line-height: 1.8;
}
.blog-single .blog-content p {
    margin-bottom: 1.25rem;
}
.blog-sidebar .sidebar-widget {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.blog-sidebar .sidebar-widget h5 {
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
}
.blog-sidebar .recent-post {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}
.blog-sidebar .recent-post:last-child {
    border-bottom: none;
}
.blog-sidebar .recent-post .rp-title {
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-dark);
}
.blog-sidebar .recent-post .rp-title:hover {
    color: var(--secondary);
}
.blog-sidebar .recent-post .rp-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Utility --- */
.bg-light-custom {
    background-color: var(--light-bg);
}
.text-accent {
    color: var(--accent);
}
.text-secondary-custom {
    color: var(--secondary);
}
.fw-semibold {
    font-weight: 600;
}
.img-placeholder {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    border-radius: var(--radius-md);
    min-height: 250px;
}

/* --- Scroll to Top --- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 999;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}
.scroll-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}
.scroll-top.show {
    display: flex;
}

/* --- Topbar Tagline --- */
.topbar-tagline {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
}

/* --- Navbar Brand Text Fallback --- */
.navbar-brand-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.2;
    color: var(--primary);
}
.navbar-brand-text strong {
    font-size: 1.15rem;
    display: block;
}
.navbar-brand-text small {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Branch Card Detail Text --- */
.branch-card-detail {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* --- Branch Pricing Toggle --- */
.branch-toggle {
    display: inline-flex;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 4px;
    gap: 4px;
    box-shadow: var(--shadow-sm);
}
.branch-toggle-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.75rem;
    border-radius: calc(var(--radius-md) - 2px);
    cursor: pointer;
    transition: var(--transition);
}
.branch-toggle-btn:hover {
    color: var(--primary);
    background: rgba(255,255,255,0.5);
}
.branch-toggle-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

/* --- Category Filter Pills --- */
.category-filter-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}
.category-filter-shell {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    max-width: 100%;
}
.category-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    line-height: 1;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.category-filter-pill:hover {
    color: var(--primary);
    background: rgba(11, 61, 145, 0.06);
}
.category-filter-pill:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.category-filter-pill.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(11, 61, 145, 0.25);
}
.category-filter-pill.active:hover {
    color: var(--white);
    background: var(--primary);
}
.pill-label {
    display: inline-block;
}
.pill-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    background: rgba(11, 61, 145, 0.1);
    color: var(--primary);
    line-height: 1;
}
.category-filter-pill.active .pill-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Mobile: allow horizontal scroll if pills overflow */
@media (max-width: 575.98px) {
    .category-filter-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        justify-content: flex-start;
    }
    .category-filter-shell {
        flex-wrap: nowrap;
        border-radius: 999px;
        padding: 5px;
        gap: 4px;
    }
    .category-filter-pill {
        font-size: 0.85rem;
        padding: 0.55rem 0.9rem;
    }
    .pill-badge {
        font-size: 0.62rem;
        padding: 0.18rem 0.42rem;
    }
}

/* --- Service Catalog: Mini Sub-Filter + Grid --- */
.service-catalog-group .catalog-group-header {
    margin-bottom: 1.75rem;
}
.service-filter-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
}
.service-filter-shell {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 5px;
    background: var(--light-bg, #f6f8fb);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 999px;
    max-width: 100%;
}
.service-filter-pill {
    display: inline-flex;
    align-items: center;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.86rem;
    line-height: 1;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.service-filter-pill:hover {
    color: var(--primary);
    background: rgba(11, 61, 145, 0.06);
}
.service-filter-pill:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.service-filter-pill.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

/* Service grid — compact, responsive, fills row at 3 cols on desktop */
.service-grid {
    align-items: stretch;
}
.service-grid .service-grid-item {
    display: flex;
}
.service-grid .service-grid-item .product-card {
    width: 100%;
}

@media (max-width: 575.98px) {
    .service-filter-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding-bottom: 4px;
    }
    .service-filter-shell {
        flex-wrap: nowrap;
    }
    .service-filter-pill {
        font-size: 0.8rem;
        padding: 0.5rem 0.85rem;
    }
}

/* --- Course Card Featured / Badge / Tag --- */
.course-card-featured {
    border: 2px solid var(--accent);
    position: relative;
}
.course-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 0 var(--radius-lg) 0 var(--radius-sm);
    z-index: 2;
}
.course-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}
.course-header-featured {
    background: linear-gradient(135deg, var(--accent) 0%, #D4831E 100%) !important;
}

/* --- Location Cards --- */
.location-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}
.location-card:hover {
    box-shadow: var(--shadow-lg);
}
.location-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
}
.location-card-header-ph {
    background: linear-gradient(135deg, var(--secondary) 0%, #1A8F7A 100%);
}
.location-card-body {
    padding: 2rem 1.5rem;
}
.location-card-body h2,
.location-card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}
.location-detail h5 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.location-detail p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Team Cards (About page) --- */
.team-card {
    transition: var(--transition);
}
.team-card:hover {
    box-shadow: var(--shadow-md) !important;
}

/* ============================================================
   Dashboard Styles
   ============================================================ */
.dashboard-shell {
    min-height: 100vh;
    background: #f4f7fb;
}
.dashboard-sidebar {
    background: linear-gradient(180deg, var(--primary) 0%, #071a48 100%);
    color: var(--white);
    min-height: 100vh;
    padding: 1.5rem 1rem;
    position: sticky;
    top: 0;
}
.dashboard-brand {
    display:flex;
    gap:0.85rem;
    align-items:center;
    margin-bottom:1.75rem;
}
.dashboard-brand-badge {
    width:46px;height:46px;border-radius:14px;
    background:rgba(255,255,255,0.12);
    display:flex;align-items:center;justify-content:center;
    font-weight:700;
}
.dashboard-nav .nav-link {
    color: rgba(255,255,255,0.82);
    border-radius: 12px;
    padding: 0.8rem 0.95rem;
    font-weight: 500;
    display:flex;align-items:center;gap:0.7rem;
    margin-bottom:0.35rem;
}
.dashboard-nav .nav-link:hover,
.dashboard-nav .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.12);
}
.dashboard-nav .nav-section-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    padding: 0.85rem 0.75rem 0.25rem;
    margin-top: 0.25rem;
}
/* Sub-entry in the sidebar (e.g., Public Catalog > Review Course Listings).
   Visually indented + slightly smaller so the parent/child hierarchy reads
   at a glance. Kept as plain <a class="nav-link nav-sublink"> so a11y and
   active-state styling still come from the base .nav-link rules. */
.dashboard-nav .nav-link.nav-sublink {
    padding-left: 2.25rem;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 0.15rem;
}
.dashboard-nav .nav-link.nav-sublink i {
    font-size: 0.85rem;
    opacity: 0.75;
}
.dashboard-main { padding: 2rem; }
.dashboard-topbar {
    background: var(--white);
    border: 1px solid rgba(10,36,99,0.08);
    border-radius: 18px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}
.metric-card, .dashboard-card {
    background: var(--white);
    border: 1px solid rgba(10,36,99,0.08);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}
.metric-card { padding: 1.15rem 1.25rem; height:100%; }
.metric-label { font-size:0.78rem; letter-spacing:1.4px; text-transform:uppercase; color:var(--text-muted); font-weight:700; }
.metric-value { font-size:2rem; line-height:1; margin:0.55rem 0; color:var(--primary); font-weight:800; }
.dashboard-card { padding: 1.25rem; }
.card-title-row { display:flex; justify-content:space-between; align-items:center; margin-bottom:1rem; gap:1rem; }
.soft-badge {
    display:inline-flex; align-items:center; gap:0.35rem;
    background: rgba(27,107,147,0.08); color: var(--secondary);
    padding:0.4rem 0.7rem; border-radius:999px; font-size:0.78rem; font-weight:700;
}
.progress.progress-soft { height: 10px; background:#edf2f7; border-radius:999px; }
.table-clean th { font-size:0.8rem; text-transform:uppercase; letter-spacing:1px; color:var(--text-muted); }
.table-clean > :not(caption) > * > * { padding: 0.85rem 0.6rem; }
.stat-chip { padding:0.35rem 0.6rem; border-radius:999px; font-size:0.76rem; font-weight:700; }
.stat-chip.success { background:rgba(36,123,74,0.12); color:var(--success); }
.stat-chip.info { background:rgba(27,107,147,0.12); color:var(--secondary); }
.stat-chip.warning { background:rgba(232,150,62,0.16); color:#9b5a12; }
.timeline-list { list-style:none; padding:0; margin:0; }
.timeline-list li { display:flex; gap:1rem; padding:0.85rem 0; border-bottom:1px solid rgba(10,36,99,0.08); }
.timeline-list li:last-child { border-bottom:none; }
.timeline-date { min-width:68px; font-weight:700; color:var(--secondary); }
.auth-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 12%, rgba(114, 179, 255, 0.18), transparent 28%),
        radial-gradient(circle at 90% 82%, rgba(243, 163, 60, 0.12), transparent 24%),
        linear-gradient(135deg, #071a46 0%, #123b7a 48%, #1d6f9f 100%);
}
.auth-backdrop-orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(20px);
    opacity: 0.85;
}
.auth-backdrop-orb-one {
    width: 18rem;
    height: 18rem;
    top: 3.5rem;
    right: -4.25rem;
    background: rgba(255,255,255,0.10);
}
.auth-backdrop-orb-two {
    width: 15rem;
    height: 15rem;
    bottom: 2rem;
    left: -3rem;
    background: rgba(243,163,60,0.12);
}
.auth-card {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.98);
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 28px 70px rgba(6, 18, 48, 0.24);
    overflow: hidden;
}
.auth-card > [class*="col-"] {
    min-height: 100%;
}
.auth-visual {
    position: relative;
    background:
        linear-gradient(180deg, rgba(9,31,82,0.98) 0%, rgba(18,59,122,0.96) 48%, rgba(36,107,156,0.94) 100%);
    color: var(--white);
    padding: 2.4rem 2.35rem;
    isolation: isolate;
}
.auth-visual::before,
.auth-visual::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    opacity: 0.22;
    z-index: -1;
}
.auth-visual::before {
    width: 14rem;
    height: 14rem;
    top: -4rem;
    right: -3rem;
    background: radial-gradient(circle, rgba(255,255,255,0.9), transparent 68%);
}
.auth-visual::after {
    width: 11rem;
    height: 11rem;
    bottom: -3rem;
    left: -2rem;
    background: radial-gradient(circle, rgba(243,163,60,0.72), transparent 70%);
}
.auth-visual h1 {
    font-size: clamp(2rem, 2.6vw, 2.85rem) !important;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 0.95rem;
    text-wrap: balance;
}
.auth-visual p {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 34rem;
}
.auth-demo {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    padding: 1rem 1.05rem;
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.auth-demo .small {
    line-height: 1.7;
}
.auth-demo a {
    font-weight: 600;
    text-decoration-thickness: 0.08em;
}
.auth-panel-copy {
    margin-bottom: 1.75rem !important;
}
.auth-kicker.metric-label {
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    color: color-mix(in srgb, var(--text-muted) 84%, #51637d 16%);
}
.auth-form-title {
    font-size: clamp(2rem, 2.4vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #102847;
    margin-bottom: 0.6rem;
}
.auth-form-title-sm {
    font-size: clamp(1.75rem, 2vw, 2.05rem);
}
.auth-card .p-4,
.auth-card .p-lg-5 {
    padding-top: 2.45rem !important;
    padding-bottom: 2.45rem !important;
}
.auth-form-grid {
    row-gap: 1rem !important;
}
.auth-card .form-label {
    font-size: 0.93rem;
    letter-spacing: -0.01em;
    color: #233b58;
    margin-bottom: 0.55rem;
}
.auth-card .form-control,
.auth-card .form-select {
    min-height: 3.45rem;
    border-radius: 16px;
    border: 1px solid rgba(16,40,71,0.12);
    background: linear-gradient(180deg, rgba(250,252,255,0.98), rgba(244,247,252,0.96));
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.8);
    font-size: 1rem;
    padding-inline: 1rem;
    color: #102847;
    transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease, transform .22s ease;
}
.auth-card .form-control::placeholder {
    color: #8b97aa;
}
.auth-card .form-control:hover,
.auth-card .form-select:hover {
    border-color: rgba(18,59,122,0.22);
}
.auth-card .form-control:focus,
.auth-card .form-select:focus {
    border-color: rgba(18,59,122,0.38);
    box-shadow: 0 0 0 0.24rem rgba(18,59,122,0.10), 0 10px 24px rgba(18,59,122,0.08);
    background: #fff;
}
.auth-card .form-check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.auth-card .form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0;
    border-color: rgba(18,59,122,0.24);
}
.auth-card .form-check-label,
.auth-card .small,
.auth-card .text-muted,
.auth-form-footnote {
    font-size: 0.93rem;
    line-height: 1.65;
}
.auth-card .text-muted,
.auth-form-footnote {
    color: #627086 !important;
}
.auth-card .alert {
    border-radius: 16px;
    border-width: 1px;
    padding: 0.95rem 1rem;
    line-height: 1.6;
    box-shadow: 0 12px 30px rgba(18,59,122,0.05);
}
.auth-alert.alert-danger {
    background: rgba(197, 57, 57, 0.08);
    border-color: rgba(197,57,57,0.16);
    color: #962f2f;
}
.auth-alert.alert-warning {
    background: rgba(243, 163, 60, 0.11);
    border-color: rgba(243,163,60,0.18);
    color: #8b5313;
}
.auth-alert.alert-success {
    background: rgba(43, 182, 115, 0.10);
    border-color: rgba(43,182,115,0.18);
    color: #1d7149;
}
.auth-card .btn-accent,
.auth-card .btn-outline-secondary,
.auth-card .btn-outline-primary {
    min-height: 3.4rem;
    border-radius: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 16px 34px rgba(18,59,122,0.10);
}
.auth-card .btn-accent {
    background: linear-gradient(135deg, #f0a23f 0%, #f3b14f 100%);
    border: 0;
    color: #fff;
}
.auth-card .btn-accent:hover,
.auth-card .btn-accent:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(243,163,60,0.28);
}
.auth-card .btn-outline-secondary {
    border-color: rgba(16,40,71,0.14);
    color: #233b58;
    background: rgba(255,255,255,0.86);
}
.auth-card a {
    color: #164a96;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
}
.auth-card a:hover {
    color: #0d376e;
}


/* ============================================================
   Admin Auth Role Styling
   ============================================================ */
.admin-auth-shell {
    background:
        radial-gradient(circle at 14% 12%, rgba(110, 143, 218, 0.14), transparent 28%),
        radial-gradient(circle at 88% 84%, rgba(120, 194, 218, 0.08), transparent 24%),
        linear-gradient(135deg, #050f25 0%, #0b1f49 48%, #123467 100%);
}
.admin-auth-shell .auth-backdrop-orb-one {
    width: 20rem;
    height: 20rem;
    top: 2rem;
    right: -4rem;
    background: rgba(255,255,255,0.08);
}
.admin-auth-shell .auth-backdrop-orb-two {
    width: 17rem;
    height: 17rem;
    bottom: 1.5rem;
    left: -3.75rem;
    background: rgba(112, 156, 255, 0.10);
}
.admin-auth-card {
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 34px 85px rgba(4, 12, 30, 0.32);
}
.admin-auth-card-solo {
    background: rgba(255,255,255,0.985);
    border-radius: 28px;
}
.admin-auth-visual {
    background:
        linear-gradient(180deg, rgba(5,15,37,0.98) 0%, rgba(10,26,63,0.97) 55%, rgba(17,48,95,0.95) 100%);
    padding: 2.7rem 2.5rem;
}
.admin-auth-visual::before {
    background: radial-gradient(circle, rgba(255,255,255,0.68), transparent 70%);
    opacity: 0.16;
}
.admin-auth-visual::after {
    background: radial-gradient(circle, rgba(91,134,225,0.68), transparent 70%);
    opacity: 0.22;
}
.auth-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.auth-role-badge-admin {
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.96);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.admin-auth-visual h1 {
    max-width: 18rem;
    font-size: clamp(2.15rem, 2.7vw, 2.95rem) !important;
}
.admin-auth-visual p {
    color: rgba(230,238,255,0.74) !important;
    max-width: 27rem;
}
.admin-auth-form-col {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,255,0.98));
}
.admin-auth-form-col::before,
.admin-auth-card-solo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #102847 0%, #1b4a8f 52%, #3b6ec4 100%);
}
.admin-auth-metrics {
    display: grid;
    gap: 0.85rem;
}
.admin-auth-metric {
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
}
.admin-auth-metric span {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(220,229,248,0.64);
    margin-bottom: 0.4rem;
}
.admin-auth-metric strong {
    font-size: 0.98rem;
    line-height: 1.45;
    color: #fff;
    font-weight: 700;
}
.admin-auth-card .auth-form-title,
.admin-auth-card .auth-form-title-sm {
    color: #0c1b34;
}
.admin-auth-card .auth-kicker.metric-label {
    color: #5c6d86;
}
.admin-auth-card .form-label {
    color: #17273f;
}
.admin-auth-card .form-control,
.admin-auth-card .form-select {
    background: linear-gradient(180deg, rgba(251,253,255,0.98), rgba(245,248,253,0.98));
    border-color: rgba(12,27,52,0.16);
}
.admin-auth-card .form-control:focus,
.admin-auth-card .form-select:focus {
    border-color: rgba(27,74,143,0.42);
    box-shadow: 0 0 0 0.24rem rgba(27,74,143,0.10), 0 14px 34px rgba(12,27,52,0.10);
}
.admin-auth-card .btn-accent {
    background: linear-gradient(135deg, #102847 0%, #1a4d92 100%);
    box-shadow: 0 18px 40px rgba(16,40,71,0.22);
}
.admin-auth-card .btn-accent:hover,
.admin-auth-card .btn-accent:focus-visible {
    box-shadow: 0 20px 44px rgba(16,40,71,0.28);
}
.admin-auth-card .btn-outline-secondary,
.admin-auth-card .btn-outline-primary {
    background: #fff;
    border-color: rgba(12,27,52,0.16);
}
.admin-auth-inline-note {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(16,40,71,0.05);
    border: 1px solid rgba(16,40,71,0.08);
    color: #465772;
    font-size: 0.9rem;
    line-height: 1.6;
}
.admin-auth-inline-note i {
    color: #1a4d92;
    margin-top: 0.1rem;
}
@media (max-width: 991px) {
    .admin-auth-visual h1 {
        max-width: none;
    }
    .admin-auth-metrics {
        grid-template-columns: 1fr;
    }
}

.dashboard-empty {
    border:1px dashed rgba(10,36,99,0.16);
    border-radius:16px; padding:1rem;
    background:#fbfcfe;
}
@media (max-width: 991px) {
    .dashboard-sidebar { min-height:auto; position:relative; border-radius:0 0 24px 24px; }
    .dashboard-main { padding:1rem; }
    .auth-shell {
        padding-block: 1.75rem !important;
    }
    .auth-card {
        border-radius: 26px;
    }
    .auth-visual {
        padding: 1.8rem 1.4rem;
        min-height: 20rem;
    }
    .auth-card .p-4,
    .auth-card .p-lg-5 {
        padding: 1.7rem !important;
    }
}
@media (max-width: 575.98px) {
    .auth-shell {
        padding-block: 1rem !important;
    }
    .auth-card {
        border-radius: 22px;
    }
    .auth-visual {
        padding: 1.45rem 1.2rem;
        min-height: auto;
    }
    .auth-form-title,
    .auth-form-title-sm {
        font-size: 1.75rem;
    }
    .auth-card .form-control,
    .auth-card .form-select,
    .auth-card .btn-accent,
    .auth-card .btn-outline-secondary,
    .auth-card .btn-outline-primary {
        min-height: 3.2rem;
        font-size: 0.98rem;
    }
}

/* ============================================================
   Premium 2026 Refresh + Dark Mode
   ============================================================ */
:root {
    --primary: #123B7A;
    --primary-light: #1F5FAF;
    --secondary: #2A74A8;
    --secondary-light: #4CA8E6;
    --accent: #F3A33C;
    --accent-light: #FFBC63;
    --success: #2BB673;
    --light-bg: #F5F7FB;
    --dark-bg: #0B1220;
    --white: #FFFFFF;
    --text-dark: #182433;
    --text-muted: #6B7A90;
    --text-light: #9aa8bc;
    --border-color: rgba(18, 59, 122, 0.10);
    --surface: #FFFFFF;
    --surface-soft: #EEF3FA;
    --shadow-sm: 0 12px 30px rgba(17, 34, 68, 0.06);
    --shadow-md: 0 18px 48px rgba(17, 34, 68, 0.12);
    --shadow-lg: 0 28px 70px rgba(10, 23, 53, 0.18);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --transition: all 0.35s ease;
}

body {
    background: linear-gradient(180deg, var(--light-bg) 0%, color-mix(in srgb, var(--light-bg) 88%, var(--surface) 12%) 100%);
    color: var(--text-dark);
    transition: background-color .3s ease, color .3s ease;
}

body, p, li, .text-muted, .lead, .navbar .nav-link, .footer p, .footer a {
    color: var(--text-dark);
}

.text-muted,
.branch-card p,
.feature-card p,
.location-intro,
.page-header-copy,
.section-intro,
.review-card .review-text,
.footer-contact,
.footer-contact li,
.footer .footer-bottom p {
    color: var(--text-muted) !important;
}

.bg-light-custom,
.bio-section,
.dashboard-shell {
    background: color-mix(in srgb, var(--surface-soft) 78%, transparent 22%) !important;
}

.section-spacing {
    padding: 6rem 0;
}

.section-intro {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

.section-label {
    letter-spacing: 0.28em;
    font-size: 0.76rem;
    font-weight: 700;
}

.text-gradient-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.topbar {
    background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 88%, #081225 12%) 0%, color-mix(in srgb, var(--primary-light) 78%, var(--secondary) 22%) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar .topbar-tagline,
.topbar span,
.topbar a,
.topbar .social-icons a {
    color: rgba(255,255,255,0.92);
}

.premium-navbar {
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: none;
    padding: 0.95rem 0;
}

.premium-navbar.is-scrolled {
    box-shadow: var(--shadow-sm);
}

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

.navbar-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: 0.08em;
    background: linear-gradient(145deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 12px 24px rgba(16, 44, 94, 0.18);
}

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

.navbar-brand-text strong {
    color: var(--primary);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.navbar-brand-text small {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.navbar .nav-link {
    color: var(--text-dark);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, transparent 90%);
}

.navbar .btn-get-started {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #182433;
    border-radius: 999px;
    padding: 0.8rem 1.35rem;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(243, 163, 60, 0.28);
}

.navbar .btn-get-started:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    color: #101c2d;
}

.premium-toggler {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 0.35rem 0.55rem;
}

.hero-premium {
    min-height: 86vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
}

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

.hero-premium h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 1.02;
    max-width: 12ch;
    margin-bottom: 1.25rem;
}

.hero-copy {
    max-width: 650px;
    font-size: 1.08rem;
    color: rgba(255,255,255,0.86) !important;
}

.btn-hero,
.btn-hero-outline,
.btn-primary-custom,
.btn-outline-light-custom,
.btn-outline-secondary.premium-outline {
    border-radius: 999px;
    padding: 0.9rem 1.45rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btn-hero {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #132033;
    box-shadow: 0 16px 30px rgba(243, 163, 60, 0.25);
}

.btn-hero-outline,
.btn-outline-light-custom,
.btn-outline-secondary.premium-outline {
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.btn-hero:hover,
.btn-hero-outline:hover,
.btn-primary-custom:hover,
.btn-outline-light-custom:hover,
.btn-outline-secondary.premium-outline:hover {
    transform: translateY(-2px);
}

.metric-panel,
.story-stat-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 12px 28px rgba(2, 9, 20, 0.16);
    border-radius: 22px;
    padding: 1.25rem 1.1rem;
    backdrop-filter: blur(10px);
}

.metric-panel strong,
.story-stat-card strong {
    display: block;
    color: #fff;
    font-size: 1.25rem;
}

.metric-panel span {
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
}

.hero-feature-stack {
    position: relative;
    padding-left: 2rem;
}

.hero-glass-card,
.hero-glass-mini {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    backdrop-filter: blur(20px);
    color: #fff;
}

.hero-glass-card {
    border-radius: 32px;
    padding: 2rem;
}

.hero-glass-card h3,
.hero-glass-mini strong {
    color: #fff;
}

.eyebrow,
.hero-mini-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.68);
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.hero-checklist {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.hero-checklist li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: rgba(255,255,255,0.88);
    margin-bottom: 0.85rem;
}

.hero-checklist i {
    color: var(--accent-light);
}

.hero-glass-mini {
    margin-top: 1rem;
    display: inline-block;
    border-radius: 20px;
    padding: 1rem 1.1rem;
}

.branch-section-premium {
    position: relative;
}

.premium-branch-card {
    border: 1px solid var(--border-color);
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 95%, var(--surface-soft) 5%) 0%, var(--surface-soft) 100%);
    box-shadow: var(--shadow-sm);
    padding: 1.4rem;
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

.premium-branch-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, color-mix(in srgb, var(--primary) 10%, transparent 90%), transparent 50%, color-mix(in srgb, var(--accent) 10%, transparent 90%));
    opacity: 0.95;
}

.premium-branch-card > * { position: relative; z-index: 1; }

.premium-branch-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.branch-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.frame-flag {
    width: 108px !important;
    height: 72px !important;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(16, 35, 67, 0.16);
    border: 4px solid rgba(255,255,255,0.5);
    background: #fff !important;
}

.frame-flag img,
.location-flag-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.branch-pill {
    display: inline-flex;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary) 10%, transparent 90%);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
}

.branch-card-content h3 {
    font-size: 1.7rem;
    margin-bottom: 0.65rem;
}

.branch-meta {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.branch-meta span {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.soft-feature-card,
.premium-panel,
.feature-card-premium,
.value-item.premium-value-item,
.review-card,
.location-card,
.cta-band,
.footer {
    background: var(--surface);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.feature-card-premium,
.soft-feature-card,
.premium-panel,
.location-card,
.value-item.premium-value-item,
.review-card {
    border-radius: 24px;
}

.soft-feature-card {
    height: 100%;
    padding: 1.4rem;
}

.soft-feature-card i {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    margin-bottom: 1rem;
}

.image-showcase-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    min-height: 440px;
    background: var(--surface);
}

.image-showcase-tall { min-height: 520px; }

.image-showcase-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-showcase-card:hover img { transform: scale(1.05); }

.image-showcase-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,16,34,0.12) 10%, rgba(8,16,34,0.75) 100%);
}

.image-showcase-caption {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 2;
    background: rgba(9, 17, 33, 0.45);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 22px;
    padding: 1.1rem 1.25rem;
    backdrop-filter: blur(10px);
    color: #fff;
}

.image-showcase-caption strong { color: #fff; font-size: 1.05rem; }

.page-header-premium {
    padding: 4.75rem 0 3.5rem;
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 26%, transparent 74%), transparent 22%),
        linear-gradient(135deg, color-mix(in srgb, var(--primary) 90%, #081122 10%) 0%, color-mix(in srgb, var(--secondary) 76%, #081122 24%) 100%);
}

.page-header-premium h1,
.page-header-premium .section-label,
.page-header-premium .breadcrumb-item,
.page-header-premium .breadcrumb-item a,
.page-header-premium .page-header-copy { color: #fff !important; }
.page-header-premium .breadcrumb-item.active { color: var(--accent-light) !important; }

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

.story-stat-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    backdrop-filter: none;
}
.story-stat-card strong { color: var(--primary); }
.story-stat-card span { color: var(--text-muted); font-size: 0.9rem; }

.executive-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
    align-items: stretch;
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 98%, transparent 2%) 0%, color-mix(in srgb, var(--surface-soft) 58%, var(--surface) 42%) 100%);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.executive-card-media {
    position: relative;
    min-height: 100%;
}

.executive-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(10,17,28,0.14) 100%);
}

.executive-card-media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

.executive-card-body {
    padding: 1.8rem 1.8rem 1.8rem 0;
}

.executive-card-body h3 {
    font-size: 1.7rem;
    margin-bottom: 0.45rem;
}

.executive-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 18%, transparent 82%);
    color: color-mix(in srgb, var(--accent) 72%, #5a3407 28%);
    padding: 0.45rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.executive-credentials {
    color: var(--secondary) !important;
    font-size: 0.9rem;
    font-weight: 700;
}

.location-showcase {
    position: relative;
}

.premium-location-card {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.location-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    padding: 1rem 1.35rem;
    font-weight: 700;
    font-size: 1rem;
}

.location-card-header-ph {
    background: linear-gradient(135deg, color-mix(in srgb, var(--secondary) 74%, var(--primary) 26%) 0%, color-mix(in srgb, var(--accent) 18%, var(--secondary) 82%) 100%);
}

.location-flag-mini {
    width: 54px;
    height: 36px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.35);
    flex-shrink: 0;
}

.location-card-body {
    padding: 1.75rem;
}

.location-card-body h2 {
    margin-bottom: 0.65rem;
}

.location-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.location-detail-item {
    padding: 1rem;
    border-radius: 20px;
    background: color-mix(in srgb, var(--surface-soft) 78%, transparent 22%);
    border: 1px solid var(--border-color);
}

.location-detail-item h5 {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.location-detail-item i { color: var(--accent); }
.location-detail-item p { margin: 0.5rem 0 0; color: var(--text-dark); font-size: 0.95rem; }

.value-item.premium-value-item {
    padding: 1.4rem;
    align-items: flex-start;
    gap: 1rem;
}

.value-item.premium-value-item .value-icon {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
}

.premium-success {
    position: relative;
    background: radial-gradient(circle at top center, rgba(243,163,60,0.18), transparent 25%), linear-gradient(135deg, #0b1731 0%, #11325e 50%, #1d5f8c 100%);
}

.accreditation-premium,
.footer {
    background: var(--surface);
}

.cta-band {
    margin: 0 1rem 2rem;
    border-radius: 30px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 90%, #081120 10%) 0%, color-mix(in srgb, var(--secondary) 72%, var(--primary) 28%) 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(243, 163, 60, 0.24), transparent 28%), radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08), transparent 22%);
}

.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2, .cta-band h3, .cta-band p { color: #fff; }
.btn-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #132033;
    border-radius: 999px;
    font-weight: 800;
    padding: 0.9rem 1.4rem;
}

.footer {
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer h5,
.footer .footer-logo-text {
    color: var(--primary);
}

.footer .footer-bottom {
    border-top: 1px solid var(--border-color);
}

.scroll-top {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: var(--shadow-md);
}

.reveal-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {
    .hero-premium {
        min-height: auto;
        padding: 6rem 0 4rem;
    }
    .hero-feature-stack {
        padding-left: 0;
    }
    .executive-card {
        grid-template-columns: 1fr;
    }
    .executive-card-media {
        min-height: 320px;
    }
    .executive-card-body {
        padding: 0 1.5rem 1.6rem;
    }
    .location-detail-grid,
    .story-stat-grid {
        grid-template-columns: 1fr;
    }
    .navbar .btn-get-started {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .section-spacing { padding: 4.5rem 0; }
    .premium-navbar { padding: 0.8rem 0; }
    .hero-premium h1 { max-width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .frame-flag { width: 94px !important; height: 64px !important; }
    .branch-card-top {
        align-items: flex-start;
        flex-direction: column;
    }
    .page-header-premium .container,
    .cta-band {
        border-radius: 24px;
    }
    .image-showcase-card,
    .image-showcase-tall {
        min-height: 380px;
    }
}

/* ============================================================
   Premium Redesign Override
   ============================================================ */
:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-soft: #eef3fa;
    --surface-glass: rgba(255,255,255,0.7);
    --text: #182433;
    --muted: #6b7a90;
    --primary: #123b7a;
    --primary-2: #1f5faf;
    --accent: #f3a33c;
    --accent-2: #ffd08a;
    --success: #2bb673;
    --border: rgba(18, 59, 122, 0.12);
    --shadow-xs: 0 10px 30px rgba(14, 33, 68, 0.06);
    --shadow-soft: 0 20px 60px rgba(11, 25, 53, 0.12);
    --shadow-premium: 0 30px 80px rgba(11, 25, 53, 0.18);
    --radius-xl: 28px;
    --radius-2xl: 36px;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(31,95,175,0.08), transparent 26%),
        radial-gradient(circle at top right, rgba(243,163,60,0.08), transparent 22%),
        var(--bg);
    color: var(--text);
    font-family: var(--font-body);
}

p,
li,
.text-muted,
.lead,
.navbar .nav-link,
.footer p,
.footer a {
    color: var(--muted) !important;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.section-label {
    color: var(--accent);
    font-size: 0.76rem;
    letter-spacing: 0.32em;
    margin-bottom: 0.85rem;
}

.text-accent,
.text-gradient-accent {
    color: var(--accent);
}

.text-gradient-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #fff1b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-light-custom,
.section-tint {
    background: linear-gradient(180deg, rgba(255,255,255,0.86) 0%, rgba(238,243,250,0.9) 100%);
}

.premium-panel,
.branch-card,
.executive-card,
.location-card,
.course-card,
.mv-card,
.story-stat-card,
.soft-feature-card,
.mini-program-card,
.footer-contact-card,
.footer-brand-card,
.footer-nav-card,
.investment-card,
.image-showcase-card,
.value-item,
.pillar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

/* Topbar + Navbar */
.premium-topbar {
    background: linear-gradient(90deg, rgba(18,59,122,0.94), rgba(31,95,175,0.86));
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-shell {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0;
}

.topbar-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.topbar-tagline {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.75);
}

.premium-topbar .social-icons a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.premium-topbar .social-icons a:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.22);
}

.premium-navbar {
    padding: 1rem 0;
    background: rgba(255,255,255,0.72);
    border-bottom: 1px solid rgba(255,255,255,0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: none;
}

.premium-navbar.is-scrolled {
    background: var(--surface-glass);
    box-shadow: var(--shadow-soft);
    border-bottom-color: var(--border);
}

.premium-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
}

.brand-emblem {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(243,163,60,0.18), rgba(18,59,122,0.95));
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 14px 28px rgba(10,36,99,0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.16em;
    font-size: 0.95rem;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    margin-bottom: 0.4rem;
}

.brand-copy strong {
    color: var(--text);
    font-size: 1.15rem;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

.navbar .nav-link {
    color: var(--text);
    font-weight: 600;
    padding: 0.7rem 1rem;
    border-radius: 999px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary);
    background: rgba(18,59,122,0.08);
}

.navbar .btn-get-started,
.btn-primary-custom,
.btn-accent,
.btn-hero,
.btn-cta {
    border: none;
    border-radius: 999px;
    padding: 0.95rem 1.55rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--accent) 0%, #ffbf5e 100%);
    color: #142033 !important;
    box-shadow: 0 18px 34px rgba(243,163,60,0.28);
}

.navbar .btn-get-started:hover,
.btn-primary-custom:hover,
.btn-accent:hover,
.btn-hero:hover,
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(243,163,60,0.34);
}

.btn-hero-outline,
.btn-outline-light-custom,
.premium-outline {
    border-radius: 999px;
    padding: 0.95rem 1.55rem;
    border: 1px solid rgba(255,255,255,0.24);
    color: #fff !important;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
}

.btn-hero-outline:hover,
.btn-outline-light-custom:hover,
.premium-outline:hover {
    background: rgba(255,255,255,0.16);
    color: #fff !important;
}

/* Hero */
.hero-premium {
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 8.5rem 0 6rem;
}

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

.hero-badge-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.hero-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-premium-badge.subtle {
    background: rgba(243,163,60,0.12);
}

.hero-premium h1 {
    color: #fff;
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 0.96;
    max-width: 11ch;
    margin-bottom: 1.2rem;
}

.hero-copy {
    color: rgba(255,255,255,0.82) !important;
    font-size: 1.08rem;
    max-width: 42rem;
}

.metric-panel {
    border-radius: 24px;
    padding: 1.2rem 1.15rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    backdrop-filter: blur(14px);
}

.metric-panel strong {
    display: block;
    color: #fff;
    font-size: 1.9rem;
    font-family: var(--font-heading);
}

.metric-panel span {
    color: rgba(255,255,255,0.76) !important;
    font-size: 0.88rem;
}

.hero-media-panel {
    position: relative;
    min-height: 540px;
}

.hero-media-main {
    position: absolute;
    inset: 2rem 1rem 0 0;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: var(--shadow-premium);
}

.hero-media-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10,24,48,0.55) 100%);
}

.hero-floating-note {
    position: absolute;
    z-index: 2;
    border-radius: 26px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.hero-floating-note-top {
    left: -0.2rem;
    top: 0;
    max-width: 240px;
    padding: 1rem 1.1rem;
}

.hero-floating-note-bottom {
    right: -0.3rem;
    bottom: 1.2rem;
    padding: 1rem 1.1rem;
    display: flex;
    gap: 0.9rem;
    align-items: center;
    max-width: 250px;
}

.hero-floating-note i {
    font-size: 1.45rem;
    color: var(--accent-2);
}

.hero-floating-note .eyebrow,
.image-showcase-caption .eyebrow,
.hero-mini-label,
.footer-kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.45rem;
}

/* Branches */
.branch-section-premium .section-intro,
.page-header-copy,
.section-intro {
    max-width: 760px;
    margin-inline: auto;
    color: var(--muted);
}

.premium-branch-card {
    position: relative;
    border-radius: var(--radius-2xl);
    padding: 1.45rem;
    overflow: hidden;
    min-height: 100%;
}

.premium-branch-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(18,59,122,0.08), rgba(243,163,60,0.08));
    opacity: 0.9;
}

.premium-branch-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.frame-flag {
    width: 86px !important;
    height: 86px !important;
    border-radius: 24px !important;
    overflow: hidden;
    background: rgba(255,255,255,0.88) !important;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 16px 30px rgba(17,32,59,0.12);
}

.frame-flag img,
.location-flag-mini img,
.footer-contact-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.branch-pill,
.course-tag,
.executive-badge,
.delivery-pill,
.mini-program-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(18,59,122,0.08);
    font-weight: 700;
}

.branch-card-content h3,
.course-header h4,
.executive-card-body h3,
.location-card-body h2 {
    color: var(--text);
}

.branch-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.92rem;
}

/* Image collage */
.image-collage-panel {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
    align-items: stretch;
}

.image-collage-main {
    min-height: 460px;
    grid-row: span 2;
}

.image-collage-mini {
    min-height: 220px;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.image-collage-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-showcase-card {
    overflow: hidden;
    border-radius: var(--radius-2xl);
    position: relative;
}

.image-showcase-card img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.image-showcase-card:hover img,
.course-card-media:hover img,
.program-hero-visual:hover img,
.location-visual-frame:hover img {
    transform: scale(1.05);
}

.image-showcase-caption {
    position: absolute;
    left: 1.15rem;
    right: 1.15rem;
    bottom: 1.15rem;
    border-radius: 22px;
    background: rgba(11, 25, 53, 0.7);
    color: #fff;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
}

/* Generic cards */
.soft-feature-card,
.mini-program-card,
.pillar-card,
.premium-value-item,
.mv-card,
.investment-card {
    border-radius: var(--radius-xl);
    padding: 1.45rem;
}

.home-program-preview {
    padding: 2.5rem 2.25rem;
}

.soft-feature-card i,
.feature-icon,
.pillar-icon,
.value-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(18,59,122,0.12), rgba(243,163,60,0.16));
    color: var(--primary);
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.mini-program-card.featured,
.course-card-featured,
.executive-card-secondary {
    background: linear-gradient(180deg, rgba(255,250,241,0.96), rgba(255,255,255,1));
}

/* Executive cards */
.executive-card {
    border-radius: 34px;
    overflow: hidden;
    position: relative;
}

.executive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), rgba(255,255,255,0));
    z-index: 2;
}

.executive-card-media {
    position: relative;
    padding: 1.25rem 1.25rem 0;
}

.executive-card-media img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.6);
}

.executive-card-body {
    padding: 1.35rem 1.35rem 1.5rem;
}

.executive-credentials {
    color: var(--primary) !important;
    font-size: 0.9rem;
    font-weight: 700;
}

.executive-quote {
    font-style: italic;
    color: var(--accent) !important;
    font-weight: 600;
}

/* Page header */
.page-header-premium {
    position: relative;
    overflow: hidden;
    padding: 7rem 0 4rem;
    background:
        radial-gradient(circle at top right, rgba(243,163,60,0.18), transparent 22%),
        linear-gradient(135deg, #0a1b39 0%, #123b7a 52%, #1f5faf 100%);
}

.page-header-premium::after {
    content: '';
    position: absolute;
    inset: auto -5% -40% auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    filter: blur(8px);
}

.page-header-premium h1,
.page-header-premium p,
.page-header-premium .breadcrumb-item,
.page-header-premium .breadcrumb-item a {
    color: #fff !important;
}

.page-header-premium h1 {
    font-size: clamp(2.9rem, 5vw, 4.4rem);
}

/* Location */
.location-card {
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.location-card-header {
    padding: 1rem 1.4rem;
    background: linear-gradient(90deg, rgba(18,59,122,0.94), rgba(31,95,175,0.94));
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.location-card-header-ph {
    background: linear-gradient(90deg, rgba(19,65,126,0.94), rgba(243,163,60,0.92));
}

.location-flag-mini {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.24);
    flex: 0 0 auto;
}

.location-card-body {
    padding: 1.5rem;
}

.location-intro {
    font-size: 1rem;
    color: var(--muted);
}

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

.location-detail-item {
    padding: 1rem;
    border-radius: 22px;
    background: rgba(18,59,122,0.04);
    border: 1px solid rgba(18,59,122,0.08);
}

.location-detail-item h5 {
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.location-experience-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.location-experience-list span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(18,59,122,0.06);
    color: var(--text);
}

/* Programs */
.program-intro-shell {
    border-radius: var(--radius-2xl);
    padding: 1.2rem;
}

.program-hero-visual {
    min-height: 340px;
}

.branch-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.45rem;
    box-shadow: var(--shadow-xs);
}

.branch-toggle-btn {
    border: none;
    background: transparent;
    color: var(--muted);
    border-radius: 999px;
    padding: 0.85rem 1.25rem;
    font-weight: 700;
}

.branch-toggle-btn.active {
    color: var(--text);
    background: linear-gradient(135deg, rgba(243,163,60,0.18), rgba(31,95,175,0.12));
}

.premium-course-card {
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card-media {
    height: 210px;
    overflow: hidden;
}

.course-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.course-header,
.course-body,
.course-footer {
    padding-inline: 1.35rem;
}

.course-header {
    padding-top: 1.2rem;
}

.course-price {
    margin-top: 0.9rem;
}

.new-price {
    font-size: 2rem;
    color: var(--text);
    font-weight: 800;
}

.old-price {
    display: inline-block;
    color: var(--muted);
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.delivery-pill {
    margin-top: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(18,59,122,0.06);
    color: var(--muted);
    font-size: 0.86rem;
}

.course-list-label {
    color: var(--text);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.course-check-list li,
.premium-benefit-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: var(--muted);
}

.course-check-list i,
.premium-benefit-list i {
    color: var(--success);
    margin-top: 0.15rem;
}

.premium-benefit-list li {
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1rem 1rem 1.1rem;
    border-radius: 22px;
    background: rgba(18,59,122,0.04);
    border: 1px solid rgba(18,59,122,0.08);
}

.premium-benefit-list strong {
    color: var(--text);
}

/* CTA */
.cta-band {
    position: relative;
    margin: 2rem 0 0;
    padding: 5rem 0;
    background:
        radial-gradient(circle at top left, rgba(243,163,60,0.22), transparent 22%),
        linear-gradient(135deg, #0a1b39 0%, #123b7a 100%);
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 10% auto auto -4%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}

.cta-band .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-band h2,
.cta-band h3,
.cta-band p {
    color: #fff !important;
}

/* Footer */
.premium-site-footer {
    position: relative;
    padding: 1.5rem 0 0;
    background:
        radial-gradient(circle at top right, rgba(243,163,60,0.16), transparent 24%),
        linear-gradient(180deg, #081224 0%, #0d1830 100%);
    overflow: hidden;
}

.premium-site-footer::before {
    content: '';
    position: absolute;
    inset: 3rem auto auto -8rem;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.footer-shell {
    position: relative;
    z-index: 1;
    padding: 2.5rem 0 1rem;
}

.footer-brand-card,
.footer-nav-card,
.footer-contact-card {
    border-radius: 28px;
    padding: 1.4rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
}

.footer-brand-lockup {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.brand-emblem-footer {
    width: 62px;
    height: 62px;
}

.footer-brand-card h3,
.footer-nav-card h5,
.footer-contact-header strong,
.footer-contact-header span,
.footer-bottom-bar p,
.premium-site-footer a,
.premium-site-footer p {
    color: #fff !important;
}

.footer-description {
    color: rgba(255,255,255,0.72) !important;
    margin-bottom: 1.25rem;
}

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

.footer-social-row a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.08);
}

.footer-social-row a:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.14);
}

.footer-links li + li {
    margin-top: 0.7rem;
}

.footer-links a {
    color: rgba(255,255,255,0.76) !important;
}

.footer-links a:hover {
    color: #fff !important;
}

.footer-contact-grid {
    display: grid;
    gap: 1rem;
}

.footer-contact-header {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 0.9rem;
}

.footer-contact-header img {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    object-fit: cover;
}

.footer-contact-header span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.68) !important;
}

.footer-contact-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    color: rgba(255,255,255,0.74) !important;
    margin-bottom: 0.7rem;
}

.footer-bottom-bar {
    margin-top: 1.4rem;
    padding: 1.3rem 0 0.4rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* Reveal */
.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll top */
.scroll-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), #ffbf5e);
    color: #132033;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1040;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

/* Utilities */
.home-program-preview,
.program-intro-shell,
.footer-nav-card,
.footer-brand-card,
.footer-contact-card,
.location-card,
.executive-card,
.course-card,
.image-showcase-card,
.metric-panel,
.story-stat-card,
.mini-program-card,
.soft-feature-card,
.pillar-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-program-preview:hover,
.program-intro-shell:hover,
.location-card:hover,
.executive-card:hover,
.course-card:hover,
.image-showcase-card:hover,
.story-stat-card:hover,
.soft-feature-card:hover,
.mini-program-card:hover,
.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

@media (max-width: 991.98px) {
    .hero-premium {
        min-height: auto;
        padding-top: 7rem;
    }

    .hero-media-panel {
        min-height: 440px;
    }

    .hero-media-main {
        inset: 2rem 0 0;
    }

    .location-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .topbar-shell {
        justify-content: center;
    }

    .premium-brand {
        max-width: calc(100% - 120px);
    }

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

    .brand-copy small {
        letter-spacing: 0.16em;
    }

    .hero-premium h1,
    .page-header-premium h1 {
        max-width: 100%;
        font-size: clamp(2.4rem, 12vw, 3.5rem);
    }

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

    .hero-floating-note-top,
    .hero-floating-note-bottom {
        max-width: 210px;
        padding: 0.85rem 0.95rem;
    }

    .image-collage-panel {
        grid-template-columns: 1fr;
    }

    .image-collage-main {
        grid-row: auto;
        min-height: 300px;
    }

    .metric-panel {
        padding: 1rem;
    }

    .footer-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   NCLEX Review Center — Premium Additions
   Trust Strip, How It Works, Credential Tags, Enrollment Chip
   ============================================================ */

/* --- Trust Strip (social proof bar below hero) --- */
.trust-strip {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
    position: relative;
    z-index: 10;
}

.trust-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    color: var(--text);
    white-space: nowrap;
}

.trust-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

.trust-item strong {
    color: var(--primary);
    font-weight: 800;
}

.trust-divider {
    width: 1px;
    height: 22px;
    background: var(--border);
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .trust-strip-inner {
        gap: 0.85rem 1.25rem;
        justify-content: center;
    }
    .trust-divider {
        display: none;
    }
    .trust-item {
        font-size: 0.82rem;
    }
}

/* --- Enrollment Chip (urgency indicator) --- */
.enrollment-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(243, 163, 60, 0.15);
    border: 1px solid rgba(243, 163, 60, 0.25);
    color: var(--accent-light, #FFD08A);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    animation: pulse-glow 2.5s ease-in-out infinite;
}

.enrollment-chip i {
    font-size: 1rem;
    color: var(--accent);
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(243, 163, 60, 0); }
    50% { box-shadow: 0 0 20px 4px rgba(243, 163, 60, 0.15); }
}

/* --- How It Works Section --- */
.how-it-works-section {
    position: relative;
}

.how-step-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.75rem 1.35rem 1.5rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-xs);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.how-step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.how-step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ffbf5e);
    color: #142033;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(243, 163, 60, 0.3);
}

.how-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(18, 59, 122, 0.1), rgba(243, 163, 60, 0.12));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0.75rem auto 1rem;
}

.how-step-card h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
    color: var(--text);
}

.how-step-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* --- Credential Badge Tags (About page) --- */
.credential-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.credential-tags span {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(18, 59, 122, 0.12), rgba(31, 95, 175, 0.08));
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(18, 59, 122, 0.1);
}

.executive-experience {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted) !important;
    display: flex;
    align-items: center;
}

.executive-experience i {
    color: var(--accent);
}

/* --- Branch CTA Row (branch card clickability indicator) --- */
.branch-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.3s ease;
}

.branch-cta-row i {
    font-size: 1.15rem;
    transition: transform 0.3s ease;
}

.premium-branch-card:hover .branch-cta-row {
    color: var(--accent);
}

.premium-branch-card:hover .branch-cta-row i {
    transform: translateX(4px);
}


/* ============================================================
   Catalog — Grouped product sections (programs page)
   ============================================================ */
.catalog-group {
    margin-bottom: 4rem;
}
.catalog-group:last-child {
    margin-bottom: 0;
}
.catalog-group-header {
    margin-bottom: 2rem;
}
.catalog-group-header h3 {
    margin-bottom: 0.35rem;
}
.catalog-group-header p {
    color: var(--muted);
    max-width: 620px;
    margin-bottom: 0;
}
.catalog-group-notice {
    margin-bottom: 4rem;
}
.catalog-group-notice:last-child {
    margin-bottom: 0;
}

/* ============================================================
   Card Carousel — Horizontal scroll‐snap for product cards
   ============================================================ */
.card-carousel-wrap {
    position: relative;
}

/* Scroll track */
.card-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
}
.card-carousel::-webkit-scrollbar { display: none; }

/* Each card slot — shows ~3.2 cards on desktop so 4th card peeks from right */
.card-carousel-item {
    flex: 0 0 calc((100% - 4.5rem) / 3.25);
    scroll-snap-align: start;
    min-width: 0;
}

/* Prev / Next navigation buttons — premium circular style */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(11, 61, 145, 0.14);
    background: var(--white, #fff);
    color: var(--primary, #0b3d91);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    font-size: 1.15rem;
    padding: 0;
    opacity: 1;
}
.carousel-nav:hover:not([disabled]) {
    background: var(--primary, #0b3d91);
    color: #fff;
    border-color: var(--primary, #0b3d91);
    box-shadow: 0 8px 20px rgba(11, 61, 145, 0.25);
    transform: translateY(-50%) scale(1.05);
}
.carousel-nav:active:not([disabled]) {
    transform: translateY(-50%) scale(0.97);
}
.carousel-nav:focus-visible {
    outline: 2px solid var(--accent, #f4a900);
    outline-offset: 3px;
}
.carousel-nav.carousel-nav-prev { left: -24px; }
.carousel-nav.carousel-nav-next { right: -24px; }
.carousel-nav[disabled] {
    opacity: 0.35;
    pointer-events: none;
    background: var(--light-bg, #f6f8fb);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: none;
    color: var(--text-muted, #6c757d);
}

/* Gradient fade hints at edges (overflow cue) */
.card-carousel-wrap::before,
.card-carousel-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 56px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s;
}
.card-carousel-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--body-bg, #fff), transparent);
}
.card-carousel-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--body-bg, #fff), transparent);
}
.card-carousel-wrap.can-scroll-left::before  { opacity: 1; }
.card-carousel-wrap.can-scroll-right::after { opacity: 1; }

/* Responsive sizing
   Target feel:
   -  >=992px  : 3.25 cards (desktop — default above)
   -   768-991 : ~2 cards + clear peek
   -   576-767 : ~1.5 cards (one main + half-next peek)
   -   <576    : 1 card at 85% (significant peek of next) */
@media (max-width: 991.98px) {
    .card-carousel-item {
        flex: 0 0 calc((100% - 3rem) / 2.15);
    }
    .carousel-nav.carousel-nav-prev { left: -14px; }
    .carousel-nav.carousel-nav-next { right: -14px; }
}
@media (max-width: 767.98px) {
    .card-carousel-item {
        flex: 0 0 calc((100% - 1.5rem) / 1.5);
    }
}
@media (max-width: 575.98px) {
    .card-carousel-item {
        flex: 0 0 85%;
    }
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .carousel-nav.carousel-nav-prev { left: 6px; }
    .carousel-nav.carousel-nav-next { right: 6px; }
}

/* Few items — don't force scroll when cards fit */
.card-carousel-wrap.no-scroll .carousel-nav { display: none; }
.card-carousel-wrap.no-scroll::before,
.card-carousel-wrap.no-scroll::after { display: none; }

/* ============================================================
   Carousel — Section-level Controls, Progress & Hint
   ============================================================ */

/* Helper line below section title: "Swipe or use arrows to explore" */
.carousel-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted, #6c757d);
    letter-spacing: 0.01em;
}
.carousel-hint i { font-size: 0.9rem; opacity: 0.85; }

/* Header nav — wraps arrows + progress counter as one premium cluster */
.carousel-header-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.5rem;
    background: var(--white, #fff);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}
.carousel-header-nav .carousel-nav {
    position: static;
    transform: none;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    box-shadow: none;
    border-color: rgba(11, 61, 145, 0.1);
}
.carousel-header-nav .carousel-nav:hover:not([disabled]) {
    transform: scale(1.05);
}
.carousel-header-nav .carousel-nav:active:not([disabled]) {
    transform: scale(0.97);
}

/* Progress counter "1 / 3" */
.carousel-progress {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    font-family: var(--font-body, inherit);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted, #6c757d);
    letter-spacing: 0.02em;
    user-select: none;
    padding: 0 0.25rem;
}
.carousel-progress .progress-current {
    color: var(--primary, #0b3d91);
    font-weight: 700;
}
.carousel-progress .progress-divider {
    opacity: 0.45;
    margin: 0 0.25rem;
}

/* Progress bar variant under cards (optional — appears below track) */
.carousel-progress-bar {
    margin-top: 1rem;
    height: 4px;
    width: 100%;
    max-width: 180px;
    background: rgba(11, 61, 145, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}
.carousel-progress-bar-fill {
    height: 100%;
    width: 33%;
    background: var(--primary, #0b3d91);
    border-radius: 999px;
    transition: width .25s ease, transform .25s ease;
}

.carousel-progress-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

/* Hide carousel controls entirely when no overflow */
.card-carousel-wrap.no-scroll ~ .carousel-progress-wrap,
.card-carousel-wrap.no-scroll + .carousel-progress-wrap {
    display: none;
}

@media (max-width: 767.98px) {
    .carousel-hint { font-size: 0.78rem; }
    .carousel-header-nav { padding: 0.25rem 0.35rem; gap: 0.4rem; }
    .carousel-header-nav .carousel-nav { width: 36px; height: 36px; font-size: 0.95rem; }
    .carousel-progress { min-width: 40px; font-size: 0.8rem; }
}

/* ============================================================
   PRODUCT CARD — Clean, Compact Catalog Design
   ============================================================ */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.product-card-featured {
    border: 2px solid var(--accent);
}

.product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    z-index: 10;
}

/* Card Image Section */
.product-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--light-bg);
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

/* Card Header: Type & Availability Badges */
.product-card-header {
    padding: 1rem 1.25rem 0;
}
.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.product-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(10, 36, 99, 0.08);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}
.stat-chip.warning {
    background: rgba(232, 150, 62, 0.12);
    color: #9b5a12;
}
.stat-chip.info {
    background: rgba(27, 107, 147, 0.12);
    color: var(--secondary);
}

/* Card Body: Title & Description */
.product-card-body {
    padding: 1.25rem 1.25rem 0;
    flex: 1;
}
.product-card-body h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-family: var(--font-heading);
}
.product-short-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Card Footer: Price & CTAs */
.product-card-footer {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.product-price-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.product-price-row .old-price {
    font-size: 0.85rem;
    text-decoration: line-through;
    opacity: 0.6;
}
.product-price-row > span:not(.old-price) {
    font-size: 1.3rem;
    color: var(--accent);
}

/* CTA Buttons */
.product-card .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}
.product-card .btn-link {
    color: var(--secondary);
    text-decoration: none;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
}
.product-card .btn-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Dimmed unavailable product cards */
.product-card.card-unavailable {
    opacity: 0.65;
    filter: grayscale(25%);
}
.product-card.card-unavailable:hover {
    opacity: 0.8;
    transform: none;
}

/* Modal Styling */
#productDetailsModal .modal-content {
    border-radius: var(--radius-lg);
    border: none;
}
#productDetailsModal .modal-header {
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
}
#productDetailsModal .modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}
#productDetailsModal .product-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(10, 36, 99, 0.08);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}
#productDetailsModal #modalFeatures li,
#productDetailsModal #modalInclusions li,
#productDetailsModal #modalModules li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}
.product-details-container .old-price {
    font-size: 0.9rem;
    text-decoration: line-through;
    opacity: 0.6;
    margin-right: 0.5rem;
}

/* Bundle deep-link highlight flash */
.bundle-highlight {
    animation: bundleHighlightPulse 1.8s ease-out;
}
@keyframes bundleHighlightPulse {
    0%   { box-shadow: 0 0 0 0 rgba(232, 150, 62, 0.5); }
    40%  { box-shadow: 0 0 0 14px rgba(232, 150, 62, 0.18); }
    100% { box-shadow: 0 0 0 0 rgba(232, 150, 62, 0); }
}

/* ============================================================
   LEGACY .course-card ISOLATION
   Prevent legacy course-card rules from bleeding into the new
   .product-card layout. These rules apply only where NO
   .product-card ancestor exists.
   ============================================================ */
#product-catalog .product-card,
#product-catalog .product-card * {
    /* Reset font-family inherits correctly */
    box-sizing: border-box;
}

/* Ensure product-card price styling is never overridden by legacy .course-price */
#product-catalog .product-card .product-price-row .new-price,
#product-catalog .product-card .product-price-row {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 700;
}
#product-catalog .product-card h5 {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

/* Responsive: product cards on small screens */
@media (max-width: 767.98px) {
    .product-card-image {
        height: 160px;
    }
    .product-card-body h5 {
        font-size: 1rem;
    }
    .product-short-desc {
        font-size: 0.85rem;
    }
    .product-price-row > span:not(.old-price) {
        font-size: 1.15rem;
    }
}

/* Carousel header row — title + nav arrows inline */
.catalog-group-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}
.catalog-group-header-row .catalog-group-header {
    margin-bottom: 0;
    flex: 1;
    min-width: 0; /* let the flex child shrink properly when title is long */
}
/* Header nav alignment inside .catalog-group-header-row (base styles in carousel block above) */
.catalog-group-header-row .carousel-header-nav {
    padding-top: 0.35rem;
    flex-shrink: 0;
}

/* Sub-header variant — lighter, used under a bundle hero (e.g. PMHNP tracks) */
.catalog-subheader {
    margin-bottom: 1.25rem;
}
.catalog-subheader .catalog-group-header .section-label {
    margin-bottom: 0.35rem;
}
.catalog-subheader-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: var(--primary, #0b3d91);
    font-family: var(--font-heading, inherit);
}

/* Hide hint + header nav when carousel has nothing to scroll (1-2 cards that fit).
   JS toggles .carousel-no-scroll on the parent .catalog-group. */
.catalog-group.carousel-no-scroll .carousel-hint,
.catalog-group.carousel-no-scroll .carousel-header-nav {
    display: none;
}

/* Card image fallback placeholder */
.card-img-fallback {
    width: 100%;
    height: 100%;
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8edf5 0%, #f0f4fa 100%);
}
.card-img-fallback i {
    font-size: 3rem;
    opacity: 0.25;
    color: var(--primary);
}

/* Unavailable product card — dimmed state */
.card-unavailable {
    opacity: 0.6;
    filter: grayscale(30%);
    position: relative;
}
.card-unavailable .course-card-media { filter: grayscale(40%); }
.card-unavailable:hover { opacity: 0.75; }

/* Empty state for filtered-out categories */
.catalog-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--muted);
}
.catalog-empty-state i {
    font-size: 2.5rem;
    opacity: 0.3;
    display: block;
    margin-bottom: 0.75rem;
}

@media (max-width: 767.98px) {
    .catalog-group {
        margin-bottom: 3rem;
    }
    .catalog-group-notice {
        margin-bottom: 3rem;
    }
    .catalog-group-header-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    .carousel-header-nav {
        align-self: flex-end;
    }
}


/* ============================================================
   Student Auth Role Styling
   ============================================================ */
.student-auth-shell {
    background:
        radial-gradient(circle at 12% 14%, rgba(141, 208, 255, 0.20), transparent 30%),
        radial-gradient(circle at 88% 86%, rgba(91, 221, 181, 0.12), transparent 26%),
        linear-gradient(135deg, #0c2e5e 0%, #16588f 48%, #1c819c 100%);
}
.student-auth-shell .auth-backdrop-orb-one {
    width: 20rem;
    height: 20rem;
    top: 2.25rem;
    right: -4rem;
    background: rgba(255,255,255,0.12);
}
.student-auth-shell .auth-backdrop-orb-two {
    width: 16rem;
    height: 16rem;
    bottom: 1.5rem;
    left: -3.5rem;
    background: rgba(111, 234, 205, 0.14);
}
.student-auth-card {
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 34px 86px rgba(10, 36, 74, 0.26);
}
.student-auth-card-solo {
    background: rgba(255,255,255,0.985);
    border-radius: 28px;
}
.student-auth-visual {
    background:
        linear-gradient(180deg, rgba(9,44,96,0.98) 0%, rgba(18,92,145,0.96) 54%, rgba(28,129,156,0.95) 100%);
    padding: 2.65rem 2.45rem;
}
.student-auth-visual::before {
    background: radial-gradient(circle, rgba(255,255,255,0.8), transparent 70%);
    opacity: 0.18;
}
.student-auth-visual::after {
    background: radial-gradient(circle, rgba(111,234,205,0.84), transparent 72%);
    opacity: 0.24;
}
.auth-role-badge-student {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.98);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}
.student-auth-visual h1 {
    max-width: 20rem;
    font-size: clamp(2.15rem, 2.7vw, 2.95rem) !important;
}
.student-auth-visual p {
    color: rgba(233,245,255,0.80) !important;
    max-width: 28rem;
}
.student-auth-form-col {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.985), rgba(247,251,255,0.985));
}
.student-auth-form-col::before,
.student-auth-card-solo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1b5ba9 0%, #2484ba 54%, #2ab27b 100%);
}
.student-auth-points {
    display: grid;
    gap: 0.85rem;
}
.student-auth-point {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
}
.student-auth-point span {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(224,243,255,0.68);
    margin-bottom: 0.4rem;
}
.student-auth-point strong {
    font-size: 0.98rem;
    line-height: 1.45;
    color: #fff;
    font-weight: 700;
}
.student-auth-card .auth-form-title,
.student-auth-card .auth-form-title-sm {
    color: #10325a;
}
.student-auth-card .auth-kicker.metric-label {
    color: #5c789a;
}
.student-auth-card .form-label {
    color: #14395f;
}
.student-auth-card .form-control,
.student-auth-card .form-select {
    background: linear-gradient(180deg, rgba(251,254,255,0.98), rgba(243,249,255,0.98));
    border-color: rgba(20,57,95,0.14);
}
.student-auth-card .form-control:focus,
.student-auth-card .form-select:focus {
    border-color: rgba(36,132,186,0.42);
    box-shadow: 0 0 0 0.24rem rgba(36,132,186,0.10), 0 16px 36px rgba(19,74,118,0.10);
}
.student-auth-card .btn-accent {
    background: linear-gradient(135deg, #1a6dc8 0%, #2ab27b 100%);
    box-shadow: 0 18px 40px rgba(26,109,200,0.22);
}
.student-auth-card .btn-accent:hover,
.student-auth-card .btn-accent:focus-visible {
    box-shadow: 0 20px 44px rgba(26,109,200,0.28);
}
.student-auth-card .btn-outline-secondary,
.student-auth-card .btn-outline-primary {
    background: #fff;
    border-color: rgba(20,57,95,0.14);
}
.student-auth-inline-note {
    display: flex;
    align-items: flex-start;
    gap: 0.72rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(33,125,183,0.06);
    border: 1px solid rgba(33,125,183,0.10);
    color: #4d6788;
    font-size: 0.92rem;
    line-height: 1.65;
}
.student-auth-inline-note i {
    color: #1a6dc8;
    margin-top: 0.12rem;
}
.student-auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}
.student-auth-actions .btn {
    min-height: 2.9rem;
    padding-inline: 1rem;
    border-radius: 14px;
}
@media (max-width: 991px) {
    .student-auth-visual h1 {
        max-width: none;
    }
    .student-auth-point,
    .student-auth-inline-note {
        padding: 0.9rem 0.95rem;
    }
}


/* ============================================================
   Auth Form UX Polish
   ============================================================ */
.auth-form-grid { row-gap: 1.05rem !important; }
.auth-field { display:flex; flex-direction:column; gap:0.45rem; }
.auth-field-note {
    display:flex; align-items:flex-start; gap:0.45rem;
    font-size:0.83rem; line-height:1.55; color:#728198;
}
.auth-field-note i { color:#5f7ba1; margin-top:0.1rem; }
.auth-input-wrap { position:relative; }
.auth-input-icon {
    position:absolute; left:1rem; top:50%; transform:translateY(-50%);
    color:#6f8099; font-size:1rem; pointer-events:none;
}
.auth-input-wrap .form-control { padding-left:2.85rem; padding-right:3.15rem; }
.auth-input-wrap .auth-input-toggle {
    position:absolute; right:0.55rem; top:50%; transform:translateY(-50%);
    border:0; background:transparent; color:#5f7087; width:2.35rem; height:2.35rem;
    border-radius:999px; display:inline-flex; align-items:center; justify-content:center;
    transition:background-color .18s ease, color .18s ease;
}
.auth-input-wrap .auth-input-toggle:hover,
.auth-input-wrap .auth-input-toggle:focus-visible { background:rgba(16,40,71,0.08); color:#102847; outline:none; }
.auth-support-row {
    display:flex; justify-content:space-between; align-items:flex-start; gap:0.85rem; flex-wrap:wrap;
    padding-top:0.15rem;
}
.auth-assist-links { display:flex; gap:0.9rem; flex-wrap:wrap; }
.auth-assist-links a { font-weight:600; }
.auth-inline-help {
    display:flex; align-items:flex-start; gap:0.7rem; padding:0.85rem 0.95rem; border-radius:16px;
    background:rgba(16,40,71,0.04); border:1px solid rgba(16,40,71,0.08); color:#4e5f77;
}
.auth-inline-help i { color:#164a96; margin-top:0.12rem; }
.auth-inline-help strong { color:#102847; display:block; margin-bottom:0.15rem; }
.auth-form-divider {
    display:flex; align-items:center; gap:0.85rem; font-size:0.8rem; letter-spacing:0.12em; text-transform:uppercase;
    color:#7a889e; margin:0.2rem 0 0.1rem;
}
.auth-form-divider::before,.auth-form-divider::after { content:""; flex:1; height:1px; background:rgba(16,40,71,0.10); }
.auth-password-rules {
    display:grid; gap:0.4rem; padding:0.85rem 0.95rem; border-radius:16px;
    background:rgba(16,40,71,0.04); border:1px solid rgba(16,40,71,0.08);
}
.auth-password-rules .rule { display:flex; align-items:flex-start; gap:0.5rem; font-size:0.84rem; color:#5d6e85; line-height:1.55; }
.auth-password-rules .rule i { color:#2f7c57; margin-top:0.08rem; }
.auth-card .form-text { margin-top:0.5rem; color:#708199; font-size:0.82rem; }
.auth-card .form-check-input:checked { background-color:#164a96; border-color:#164a96; }
.student-auth-shell .auth-inline-help { background:rgba(32,109,168,0.06); border-color:rgba(32,109,168,0.10); }
.admin-auth-shell .auth-inline-help { background:rgba(18,59,122,0.06); border-color:rgba(18,59,122,0.10); }
@media (max-width: 575.98px) {
    .auth-support-row { flex-direction:column; align-items:stretch; }
    .auth-assist-links { width:100%; justify-content:space-between; gap:0.6rem; }
    .auth-inline-help { padding:0.8rem 0.85rem; }
}


/* Step 6 — stronger auth role distinction */
.admin-auth-shell {
  background: radial-gradient(circle at 12% 12%, rgba(22,53,104,0.22), transparent 34%),
              radial-gradient(circle at 88% 16%, rgba(10,22,48,0.28), transparent 30%),
              linear-gradient(145deg, #091525 0%, #0d1c33 48%, #132947 100%);
}
.admin-auth-shell .auth-card {
  max-width: 1120px;
  margin-inline: auto;
  border: 1px solid rgba(140,170,214,0.14);
  box-shadow: 0 28px 90px rgba(6, 16, 34, 0.34);
}
.admin-auth-shell .auth-visual {
  background: linear-gradient(180deg, rgba(9,22,44,0.94) 0%, rgba(13,33,63,0.96) 58%, rgba(17,46,82,0.98) 100%);
}
.admin-auth-shell .auth-visual::before {
  background: radial-gradient(circle at top right, rgba(113,166,255,0.18), transparent 45%);
}
.admin-auth-shell .auth-visual::after {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
}
.admin-auth-shell .auth-panel-copy,
.admin-auth-shell .auth-form-grid {
  max-width: 32rem;
}
.admin-auth-shell .auth-kicker.metric-label {
  letter-spacing: .16em;
  color: #5475ac;
}
.admin-auth-shell .auth-form-title,
.admin-auth-shell .auth-form-title-sm {
  color: #0e213f;
  letter-spacing: -0.03em;
}
.admin-auth-shell .auth-card .form-control,
.admin-auth-shell .auth-card .form-select {
  background: #f4f7fb;
  border-color: rgba(27, 58, 103, 0.14);
}
.admin-auth-shell .auth-card .form-control:focus,
.admin-auth-shell .auth-card .form-select:focus {
  background: #fff;
  border-color: rgba(25, 78, 154, 0.42);
  box-shadow: 0 0 0 4px rgba(25, 78, 154, 0.10);
}
.admin-auth-shell .auth-assist-links a,
.admin-auth-shell .auth-form-footnote a { color:#1f4b8f; }
.admin-auth-shell .auth-inline-help,
.admin-auth-shell .admin-auth-inline-note {
  border-radius: 18px;
}
.admin-auth-shell .auth-inline-help {
  background: linear-gradient(180deg, rgba(20,67,139,0.07), rgba(20,67,139,0.04));
  border-color: rgba(20,67,139,0.12);
}
.admin-auth-shell .admin-auth-inline-note {
  background: rgba(11,35,71,0.06);
  border: 1px solid rgba(11,35,71,0.10);
}
.admin-auth-shell .auth-demo .small { max-width: 23rem; }
.admin-auth-shell .auth-role-badge-admin {
  background: rgba(133, 169, 226, 0.14);
  border-color: rgba(183, 210, 255, 0.22);
}

.student-auth-shell {
  background: radial-gradient(circle at 12% 14%, rgba(101,186,233,0.18), transparent 34%),
              radial-gradient(circle at 88% 14%, rgba(38,130,196,0.15), transparent 32%),
              linear-gradient(145deg, #edf7ff 0%, #f6fbff 55%, #eef6ff 100%);
}
.student-auth-shell .auth-card {
  max-width: 1160px;
  margin-inline: auto;
  border: 1px solid rgba(106, 158, 204, 0.16);
  box-shadow: 0 28px 80px rgba(37, 92, 138, 0.16);
}
.student-auth-shell .auth-visual {
  background: linear-gradient(180deg, rgba(27,96,155,0.95) 0%, rgba(35,118,182,0.96) 58%, rgba(48,139,197,0.97) 100%);
}
.student-auth-shell .auth-visual::before {
  background: radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 46%);
}
.student-auth-shell .auth-visual::after {
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0));
}
.student-auth-shell .auth-panel-copy,
.student-auth-shell .auth-form-grid { max-width: 34rem; }
.student-auth-shell .auth-kicker.metric-label {
  letter-spacing: .12em;
  color: #3e82bf;
}
.student-auth-shell .auth-form-title,
.student-auth-shell .auth-form-title-sm {
  color: #143960;
}
.student-auth-shell .auth-card .form-control,
.student-auth-shell .auth-card .form-select {
  background: linear-gradient(180deg, #fbfdff 0%, #f3f8fd 100%);
  border-color: rgba(59, 127, 177, 0.18);
}
.student-auth-shell .auth-card .form-control:focus,
.student-auth-shell .auth-card .form-select:focus {
  background: #fff;
  border-color: rgba(43, 132, 191, 0.36);
  box-shadow: 0 0 0 4px rgba(43, 132, 191, 0.11);
}
.student-auth-shell .auth-inline-help,
.student-auth-shell .student-auth-inline-note {
  border-radius: 18px;
}
.student-auth-shell .student-auth-inline-note {
  background: linear-gradient(180deg, rgba(46,137,194,0.08), rgba(46,137,194,0.04));
  border: 1px solid rgba(46,137,194,0.14);
}
.student-auth-shell .auth-inline-help {
  background: rgba(45,122,182,0.06);
  border-color: rgba(45,122,182,0.12);
}
.student-auth-shell .auth-role-badge-student {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.20);
}
.student-auth-shell .auth-assist-links a,
.student-auth-shell .auth-form-footnote a { color:#196db1; }
.student-auth-shell .auth-demo .small,
.student-auth-shell .student-auth-point strong { max-width: 25rem; }
.student-auth-shell .student-auth-actions .btn {
  min-height: 52px;
  border-radius: 14px;
}
.student-auth-shell .student-auth-form-col { background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,251,255,0.98)); }

.auth-shell .auth-assist-links a { transition: color .2s ease, transform .2s ease; }
.auth-shell .auth-assist-links a:hover { transform: translateY(-1px); }
.auth-shell .auth-card .form-label { letter-spacing: -0.01em; }

@media (max-width: 991.98px) {
  .admin-auth-shell .auth-card,
  .student-auth-shell .auth-card {
    max-width: 760px;
  }
}


/* ============================================================
   Login Final Polish — Premium spacing, responsiveness, finish
   ============================================================ */
.auth-shell {
    padding-inline: 1rem;
}
.auth-shell .container {
    position: relative;
    z-index: 1;
}
.auth-card {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateZ(0);
}
.auth-card:hover {
    box-shadow: 0 34px 92px rgba(10, 24, 52, 0.22);
}
.auth-visual,
.admin-auth-form-col,
.student-auth-form-col,
.admin-auth-card-solo,
.student-auth-card-solo {
    position: relative;
}
.auth-visual > * {
    position: relative;
    z-index: 1;
}
.auth-panel-copy {
    max-width: 34rem;
}
.auth-panel-copy p {
    font-size: 0.98rem;
    line-height: 1.72;
}
.auth-kicker.metric-label {
    margin-bottom: 0.65rem;
}
.auth-card .form-control,
.auth-card .form-select {
    font-size: 1rem;
    line-height: 1.45;
}
.auth-card .form-control::placeholder {
    font-size: 0.97rem;
}
.auth-input-wrap .form-control,
.auth-input-wrap .form-select {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}
.auth-input-icon {
    transition: color .2s ease, transform .2s ease;
}
.auth-input-wrap:focus-within .auth-input-icon {
    color: #184d97;
    transform: translateY(-50%) scale(1.04);
}
.student-auth-shell .auth-input-wrap:focus-within .auth-input-icon {
    color: #1d7ac1;
}
.auth-input-wrap .auth-input-toggle {
    box-shadow: inset 0 0 0 1px transparent;
}
.auth-input-wrap .auth-input-toggle:hover,
.auth-input-wrap .auth-input-toggle:focus-visible {
    box-shadow: inset 0 0 0 1px rgba(16, 40, 71, 0.08);
}
.auth-field-note {
    font-size: 0.84rem;
    line-height: 1.6;
}
.auth-support-row {
    margin-top: 0.2rem;
    padding-bottom: 0.1rem;
}
.auth-assist-links a {
    position: relative;
}
.auth-assist-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.1rem;
    height: 1px;
    background: currentColor;
    opacity: 0.18;
}
.auth-inline-help,
.admin-auth-inline-note,
.student-auth-inline-note,
.auth-password-rules,
.auth-demo,
.admin-auth-metric,
.student-auth-point {
    box-shadow: 0 10px 26px rgba(16, 40, 71, 0.05);
}
.auth-inline-help strong,
.admin-auth-inline-note strong,
.student-auth-inline-note strong,
.auth-password-rules strong {
    letter-spacing: -0.01em;
}
.auth-card .btn-accent,
.auth-card .btn-outline-secondary,
.auth-card .btn-outline-primary {
    font-size: 0.98rem;
}
.auth-card .btn-accent {
    position: relative;
    overflow: hidden;
}
.auth-card .btn-accent::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity .2s ease;
}
.auth-card .btn-accent:hover::before,
.auth-card .btn-accent:focus-visible::before {
    opacity: 1;
}
.auth-card .btn-outline-secondary:hover,
.auth-card .btn-outline-primary:hover {
    transform: translateY(-1px);
}
.auth-card a:focus-visible,
.auth-card .btn:focus-visible,
.auth-card .form-control:focus-visible,
.auth-card .form-select:focus-visible,
.auth-card .form-check-input:focus-visible,
.auth-input-toggle:focus-visible {
    outline: 2px solid rgba(26, 109, 200, 0.24);
    outline-offset: 2px;
}
.admin-auth-shell .auth-card a:focus-visible,
.admin-auth-shell .auth-card .btn:focus-visible,
.admin-auth-shell .auth-card .form-control:focus-visible,
.admin-auth-shell .auth-card .form-select:focus-visible,
.admin-auth-shell .auth-card .form-check-input:focus-visible,
.admin-auth-shell .auth-input-toggle:focus-visible {
    outline-color: rgba(27, 74, 143, 0.26);
}
.student-auth-shell .auth-card {
    overflow: visible;
}
.student-auth-shell .auth-card::after {
    content: '';
    position: absolute;
    inset: 1.1rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.42);
    pointer-events: none;
    opacity: 0.4;
}
.admin-auth-shell .auth-card::after {
    content: '';
    position: absolute;
    inset: 1rem;
    border-radius: 24px;
    border: 1px solid rgba(140,170,214,0.08);
    pointer-events: none;
}
.admin-auth-shell .auth-demo,
.admin-auth-shell .admin-auth-metric {
    background: rgba(255,255,255,0.06);
}
.student-auth-shell .auth-demo,
.student-auth-shell .student-auth-point {
    background: rgba(255,255,255,0.10);
}
.student-auth-shell .auth-demo {
    backdrop-filter: blur(10px);
}
.auth-form-footnote {
    padding-top: 0.15rem;
}
.auth-card .alert-warning.small,
.auth-card .alert.small {
    border-radius: 16px;
    padding: 0.95rem 1rem;
    line-height: 1.6;
}
.auth-card .alert.small a {
    word-break: break-all;
}
@media (max-width: 991.98px) {
    .auth-shell {
        padding-inline: 0.7rem;
    }
    .auth-card {
        border-radius: 24px;
    }
    .auth-shell .auth-panel-copy,
    .auth-shell .auth-form-grid {
        max-width: none !important;
    }
    .auth-support-row {
        gap: 0.75rem;
    }
    .auth-card::after {
        display: none;
    }
}
@media (max-width: 767.98px) {
    .auth-shell {
        align-items: stretch !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    .auth-card {
        border-radius: 22px;
    }
    .auth-visual {
        min-height: auto;
        padding: 1.4rem 1.2rem 1.35rem;
    }
    .auth-visual h1 {
        font-size: 1.9rem !important;
        line-height: 1.12;
    }
    .auth-panel-copy {
        margin-bottom: 1.25rem !important;
    }
    .auth-card .p-4,
    .auth-card .p-lg-5 {
        padding: 1.3rem 1.15rem 1.35rem !important;
    }
    .auth-form-grid {
        row-gap: 0.85rem !important;
    }
    .auth-card .form-control,
    .auth-card .form-select,
    .auth-card .btn-accent,
    .auth-card .btn-outline-secondary,
    .auth-card .btn-outline-primary {
        min-height: 3.15rem;
    }
    .auth-support-row {
        align-items: stretch;
    }
    .auth-assist-links {
        gap: 0.55rem 0.9rem;
    }
    .student-auth-actions {
        flex-direction: column;
    }
    .student-auth-actions .btn {
        width: 100%;
    }
}
@media (max-width: 479.98px) {
    .auth-role-badge {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
        padding: 0.5rem 0.72rem;
    }
    .auth-kicker.metric-label {
        letter-spacing: 0.14em;
    }
    .auth-form-title,
    .auth-form-title-sm {
        font-size: 1.6rem;
    }
    .auth-panel-copy p,
    .auth-field-note,
    .auth-inline-help,
    .student-auth-inline-note,
    .admin-auth-inline-note,
    .auth-password-rules .rule,
    .auth-card .form-check-label,
    .auth-card .small,
    .auth-card .text-muted,
    .auth-form-footnote {
        font-size: 0.88rem;
    }
    .auth-assist-links {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   Home page — landing polish layer
   Scoped to the landing page (body.page-home) and to components
   introduced for the conversion-guided rewrite: branch-explainer,
   catalog-type cards on the programs preview, and next-step rail.
   ========================================================================== */

/* --- Branch explainer strip (above the two branch cards) --------------- */
.branch-explainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.branch-explainer-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    background: #ffffff;
    border: 1px solid rgba(18, 59, 122, 0.10);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.branch-explainer-item i {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(18, 59, 122, 0.08);
    color: #123B7A;
    font-size: 1.05rem;
}
.branch-explainer-item strong {
    display: block;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 0.15rem;
    font-weight: 600;
}
.branch-explainer-item span {
    display: block;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #475569;
}
@media (max-width: 767.98px) {
    .branch-explainer { grid-template-columns: 1fr; max-width: 520px; }
}

/* --- Catalog-aware programs preview (course / book / service) --------- */
.home-catalog-preview .mini-program-card.catalog-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    padding-top: 2.6rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}
.home-catalog-preview .catalog-type-chip {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: #123B7A;
    background: rgba(18, 59, 122, 0.08);
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
}
.home-catalog-preview .catalog-type-chip i { font-size: 0.85rem; }

/* Per-type accent so courses/books/services feel visually distinct */
.home-catalog-preview .catalog-type-card.type-course   .catalog-type-chip { color: #123B7A; background: rgba(18, 59, 122, 0.10); }
.home-catalog-preview .catalog-type-card.type-book     .catalog-type-chip { color: #7a3a12; background: rgba(194, 94, 33, 0.12); }
.home-catalog-preview .catalog-type-card.type-service  .catalog-type-chip { color: #166a54; background: rgba(22, 106, 84, 0.12); }
.home-catalog-preview .catalog-type-card.type-bundle   .catalog-type-chip { color: #5a3a8e; background: rgba(90, 58, 142, 0.12); }

.home-catalog-preview .catalog-type-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: #123B7A;
}
.home-catalog-preview .catalog-type-card.type-book::before    { background: #c25e21; }
.home-catalog-preview .catalog-type-card.type-service::before { background: #166a54; }
.home-catalog-preview .catalog-type-card.type-bundle::before  { background: #5a3a8e; }

.home-catalog-preview .catalog-card-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #123B7A;
    padding-top: 0.5rem;
}
.home-catalog-preview .catalog-type-card:hover .catalog-card-cta i {
    transform: translateX(3px);
    transition: transform 0.2s ease;
}

.btn-outline-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    color: #123B7A;
    background: #ffffff;
    border: 1px solid rgba(18, 59, 122, 0.35);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-outline-primary-custom:hover {
    background: rgba(18, 59, 122, 0.06);
    border-color: rgba(18, 59, 122, 0.6);
    color: #0f2c5a;
}

/* --- "Where to go next" conversion rail ------------------------------- */
.next-step-section {
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}
.next-step-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.5rem 1.35rem 1.35rem;
    height: 100%;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}
.next-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -18px rgba(15, 23, 42, 0.35);
    border-color: rgba(18, 59, 122, 0.25);
    color: inherit;
}
.next-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(18, 59, 122, 0.08);
    color: #123B7A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}
.next-step-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-weight: 600;
    color: #64748b;
}
.next-step-card h4 {
    font-size: 1.05rem;
    margin: 0;
    color: #0f172a;
    font-weight: 700;
}
.next-step-card p {
    font-size: 0.88rem;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}
.next-step-link {
    margin-top: auto;
    padding-top: 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #123B7A;
}
.next-step-card:hover .next-step-link i { transform: translateX(3px); transition: transform 0.2s ease; }

.next-step-card--primary {
    border-color: rgba(18, 59, 122, 0.35);
    background: linear-gradient(180deg, #ffffff 0%, rgba(18, 59, 122, 0.04) 100%);
}
.next-step-card--primary .next-step-icon {
    background: #123B7A;
    color: #ffffff;
}
.next-step-card--primary::after {
    content: "Recommended";
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #ffffff;
    background: #123B7A;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
}

/* ==========================================================================
   Home page — Pass 2 polish layer
   Adds: hero value-row, hero ghost button, 4-col catalog grid, branch chip
   inside catalog cards, catalog counts strip, PMHNP/advanced accent.
   ========================================================================== */

/* --- Hero: value-row (4 micro pillars under the headline) ------------ */
.hero-value-row {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    color: rgba(255, 255, 255, 0.92);
}
.hero-value-row li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(4px);
}
.hero-value-row li i {
    font-size: 0.95rem;
    color: #ffd87a;
    opacity: 0.95;
}
@media (max-width: 575.98px) {
    .hero-value-row { gap: 0.4rem 0.6rem; }
    .hero-value-row li { font-size: 0.78rem; padding: 0.25rem 0.6rem; }
}

/* Third-tier hero CTA — less weight than the outline, still scannable */
.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.72rem 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.92);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
    color: #ffffff;
}

/* --- Catalog counts strip (real dynamic platform data) --------------- */
.catalog-counts-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem 0.75rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}
.catalog-count-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    font-size: 0.82rem;
    color: #475569;
}
.catalog-count-chip strong {
    color: #123B7A;
    font-weight: 700;
    font-size: 0.95rem;
    font-feature-settings: "tnum";
}
.catalog-counts-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #123B7A;
    text-decoration: none;
    padding-left: 0.25rem;
}
.catalog-counts-link:hover { color: #0f2c5a; }
.catalog-counts-link:hover i { transform: translateX(3px); transition: transform 0.2s ease; }

/* --- Catalog preview grid (4-up on lg, 2-up on md, 1-up mobile) ------ */
.catalog-preview-grid .mini-program-card.catalog-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-decoration: none;
    color: inherit;
    padding: 2.7rem 1.1rem 1.1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: #ffffff;
    min-height: 100%;
    height: 100%;
    overflow: hidden;
}
.catalog-preview-grid .catalog-type-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: #123B7A;
}
.catalog-preview-grid .catalog-type-card.type-book::before     { background: #c25e21; }
.catalog-preview-grid .catalog-type-card.type-service::before  { background: #166a54; }
.catalog-preview-grid .catalog-type-card.type-advanced::before { background: #5a3a8e; }
.catalog-preview-grid .catalog-type-card.type-bundle::before   { background: #5a3a8e; }

.catalog-preview-grid .catalog-type-chip {
    position: absolute;
    top: 0.8rem;
    left: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #123B7A;
    background: rgba(18, 59, 122, 0.10);
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
}
.catalog-preview-grid .catalog-type-card.type-book     .catalog-type-chip { color: #7a3a12; background: rgba(194, 94, 33, 0.14); }
.catalog-preview-grid .catalog-type-card.type-service  .catalog-type-chip { color: #166a54; background: rgba(22, 106, 84, 0.14); }
.catalog-preview-grid .catalog-type-card.type-advanced .catalog-type-chip { color: #5a3a8e; background: rgba(90, 58, 142, 0.14); }

/* Branch-availability chip — top-right, lets visitors know which branch(es) carry it */
.catalog-preview-grid .catalog-branch-chip {
    position: absolute;
    top: 0.8rem;
    right: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    white-space: nowrap;
}
.catalog-preview-grid .catalog-branch-chip i { font-size: 0.7rem; opacity: 0.8; }

.catalog-preview-grid .mini-program-pill {
    align-self: flex-start;
    font-size: 0.72rem;
    padding: 0.22rem 0.55rem;
    border-radius: 6px;
    background: #f1f5f9;
    color: #334155;
    font-weight: 600;
}
.catalog-preview-grid .catalog-type-card h4 {
    font-size: 1rem;
    margin: 0.2rem 0 0.1rem;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.3;
}
.catalog-preview-grid .catalog-type-card p {
    font-size: 0.85rem;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}
.catalog-preview-grid .catalog-card-cta {
    margin-top: auto;
    padding-top: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #123B7A;
}
.catalog-preview-grid .catalog-type-card.type-book    .catalog-card-cta { color: #7a3a12; }
.catalog-preview-grid .catalog-type-card.type-service .catalog-card-cta { color: #166a54; }
.catalog-preview-grid .catalog-type-card.type-advanced .catalog-card-cta { color: #5a3a8e; }
.catalog-preview-grid .catalog-type-card:hover .catalog-card-cta i {
    transform: translateX(3px);
    transition: transform 0.2s ease;
}
.catalog-preview-grid .catalog-type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px -20px rgba(15, 23, 42, 0.35);
    border-color: rgba(18, 59, 122, 0.25);
}

@media (max-width: 575.98px) {
    .catalog-preview-grid .catalog-branch-chip { position: static; margin-bottom: 0.3rem; align-self: flex-start; }
    .catalog-preview-grid .mini-program-card.catalog-type-card { padding-top: 2.6rem; }
}

/* ==========================================================================
   Home page — Option C closeout
   Trims the former "Why Students Choose Us" decorative block into a
   focused two-card proof section, and gives deep-link anchors on
   programs.php a scroll offset so they don't hide behind the sticky nav.
   ========================================================================== */

/* Anchor offset for #books / #services / #pmhnp / #how-it-works deep links */
.anchor-offset {
    display: block;
    position: relative;
    top: -88px;
    visibility: hidden;
    height: 0;
}

/* Why Trust Us — focused 2-proof grid */
.why-trust-section { background: #ffffff; }
.why-trust-grid { align-items: stretch; }
.why-trust-card {
    height: 100%;
    padding: 2rem 1.85rem 1.85rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.why-trust-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: #123B7A;
    border-radius: 18px 0 0 18px;
}
.why-trust-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px -22px rgba(15, 23, 42, 0.35);
    border-color: rgba(18, 59, 122, 0.25);
}
.why-trust-stat {
    font-family: 'Cormorant Garamond', 'Inter', serif;
    font-size: 3.25rem;
    line-height: 1;
    font-weight: 700;
    color: #123B7A;
    letter-spacing: -0.02em;
    font-feature-settings: "tnum";
}
.why-trust-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0.25rem 0 0;
}
.why-trust-card p {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}
.why-trust-link {
    margin-top: auto;
    padding-top: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: #123B7A;
    text-decoration: none;
}
.why-trust-link:hover i { transform: translateX(3px); transition: transform 0.2s ease; }

/* ================================================================
   SECTION 63 — Phase 2 Commerce
   Public cart & checkout, admin inventory / orders / order-detail,
   product-editor gallery + variant matrix, and nav cart badge.
   ================================================================ */

/* --- Nav cart badge (navbar.php) ------------------------------- */
.nav-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}
.nav-cart-link .bi-bag { font-size: 1.1rem; }
.nav-cart-badge {
    position: absolute;
    top: 2px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #e11d48;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(225, 29, 72, .35);
}

/* --- Cart page (cart.php) -------------------------------------- */
.page-cart .cart-empty i {
    font-size: 3rem;
    color: #cbd5e1;
    display: block;
    margin-bottom: 1rem;
}
.page-cart .cart-items-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1.2fr 1fr 40px;
    gap: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid #e5e7eb;
    color: #64748b;
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.page-cart .cart-row {
    display: grid;
    grid-template-columns: 3fr 1fr 1.2fr 1fr 40px;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.page-cart .cart-row:last-child { border-bottom: none; }
.page-cart .cart-col-product {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    min-width: 0;
}
.page-cart .cart-thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-cart .cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.page-cart .cart-thumb-placeholder {
    color: #94a3b8;
    font-size: 1.8rem;
}
.page-cart .cart-prod-meta { min-width: 0; }
.page-cart .cart-prod-title {
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    display: block;
}
.page-cart .cart-prod-title:hover { color: #123B7A; }
.page-cart .cart-prod-variant {
    color: #64748b;
    font-size: .85rem;
    margin-top: .15rem;
}
.page-cart .cart-prod-sku {
    color: #94a3b8;
    font-size: .75rem;
    margin-top: .1rem;
}
.page-cart .cart-qty-input {
    width: 80px;
    text-align: center;
}
.page-cart .cart-remove-btn {
    padding: .35rem .5rem;
    line-height: 1;
}
.page-cart .cart-foot {
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* --- Cart summary aside (cart.php + checkout.php) -------------- */
.cart-summary {
    border-radius: 16px;
    background: #fff;
}
.cart-summary-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}
.cart-summary-list {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: .35rem 0;
    font-size: .95rem;
}
.cart-summary-row dt { color: #64748b; font-weight: 500; }
.cart-summary-row dd { color: #0f172a; margin: 0; font-weight: 500; }
.cart-summary-total {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    padding-top: .25rem;
    margin-bottom: 1rem;
}
.cart-reassure { line-height: 1.5; }

@media (max-width: 767.98px) {
    .page-cart .cart-items-header { display: none !important; }
    .page-cart .cart-row {
        grid-template-columns: 1fr;
        gap: .5rem;
        padding: 1.25rem 0;
    }
    .page-cart .cart-col-price::before,
    .page-cart .cart-col-qty::before,
    .page-cart .cart-col-total::before {
        content: attr(data-label) ": ";
        color: #64748b;
        font-weight: 600;
        margin-right: .4rem;
    }
    .page-cart .cart-col-remove { justify-self: end; }
}

/* --- Checkout page (checkout.php) ------------------------------ */
.checkout-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid #e5e7eb;
}
.checkout-payment-note {
    background: #fff7ed !important;
    border: 1px solid #fed7aa;
}
.checkout-payment-note p { color: #78350f; }
.checkout-item-list {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}
.checkout-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: .75rem;
    padding: .55rem 0;
    align-items: flex-start;
}
.checkout-item + .checkout-item { border-top: 1px solid #f1f5f9; }
.checkout-item-qty {
    font-weight: 700;
    color: #64748b;
    font-size: .9rem;
    padding-top: .15rem;
}
.checkout-item-title {
    font-weight: 600;
    font-size: .92rem;
    color: #0f172a;
    line-height: 1.25;
}
.checkout-item-variant {
    font-size: .78rem;
    color: #64748b;
    margin-top: .15rem;
}
.checkout-item-price {
    font-weight: 600;
    color: #0f172a;
    font-size: .9rem;
}

/* Confirmation view */
.checkout-confirmation .order-confirm-number {
    font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, Menlo, Consolas, monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: #123B7A;
    letter-spacing: .05em;
    padding: .6rem 1rem;
    background: #f1f5f9;
    border-radius: 10px;
    display: inline-block;
    margin: .75rem 0;
}

/* --- Admin shared wrapper -------------------------------------- */
.admin-body-inner {
    padding: 1rem 1.5rem 2rem;
}
@media (max-width: 575.98px) {
    .admin-body-inner { padding: 1rem .75rem 1.5rem; }
}

/* --- Admin stat cards (inventory.php + orders.php) -------------- */
.admin-body-inner .stat-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1rem 1.2rem;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    color: #0f172a;
    height: 100%;
}
.admin-body-inner .stat-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -8px rgba(15, 23, 42, .15);
    border-color: #cbd5e1;
}
.admin-body-inner .stat-card.active {
    border-color: #123B7A;
    box-shadow: 0 0 0 2px rgba(18, 59, 122, .15);
    background: #f8fafc;
}
.admin-body-inner .stat-num {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.1;
    color: #0f172a;
    font-feature-settings: "tnum";
}
.admin-body-inner .stat-label {
    font-size: .78rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
    margin-top: .25rem;
}
.admin-body-inner .stat-card--warn     { border-left: 3px solid #f59e0b; }
.admin-body-inner .stat-card--danger   { border-left: 3px solid #ef4444; }
.admin-body-inner .stat-card--info     { border-left: 3px solid #0ea5e9; }
.admin-body-inner .stat-card--primary  { border-left: 3px solid #123B7A; }
.admin-body-inner .stat-card--success  { border-left: 3px solid #10b981; }
.admin-body-inner .stat-card--muted    { border-left: 3px solid #94a3b8; opacity: .85; }
.admin-body-inner .stat-card--warn .stat-num    { color: #b45309; }
.admin-body-inner .stat-card--danger .stat-num  { color: #b91c1c; }
.admin-body-inner .stat-card--info .stat-num    { color: #0369a1; }
.admin-body-inner .stat-card--primary .stat-num { color: #123B7A; }
.admin-body-inner .stat-card--success .stat-num { color: #047857; }

.orders-stat-strip > [class*="col-"] { display: flex; }
.orders-stat-strip .stat-card { width: 100%; }

/* --- Inventory table (inventory.php) --------------------------- */
.inventory-table code { color: #475569; background: #f1f5f9; padding: .1rem .35rem; border-radius: 4px; }
.inventory-table .inv-row-variant td { padding-left: 2.25rem; background: #fcfcfd; font-size: .92rem; }
.inventory-table .inv-row-variant td:first-child { padding-left: 1.75rem; }

/* --- Orders table (orders.php) --------------------------------- */
.orders-table tbody tr { cursor: default; }
.orders-table tbody td { vertical-align: middle; }

/* --- Order detail (order-detail.php) --------------------------- */
.order-detail-admin .order-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 2px 6px -4px rgba(15, 23, 42, .08);
}
.order-detail-admin .order-card .card-header {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 14px 14px 0 0;
}
.order-detail-admin .order-items-table tbody td { vertical-align: middle; }
.order-detail-admin .order-items-table tfoot td { border-top: 1px solid #e5e7eb; padding: .4rem .75rem; }
.order-detail-admin .order-items-table tfoot tr:last-child td { border-top: 2px solid #0f172a; padding-top: .6rem; }

/* --- Admin · Product editor gallery uploader ------------------- */
.gallery-thumb-wrap {
    width: 110px;
    height: 110px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    display: inline-block;
}
.gallery-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-thumb-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(255, 255, 255, .92);
    border-radius: 6px;
    padding: .15rem .35rem;
    font-size: .7rem;
    color: #b91c1c;
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
}
.gallery-thumb-remove input { margin: 0; accent-color: #b91c1c; }

/* --- Admin · Variant matrix builder ---------------------------- */
.variant-matrix-wrap { margin-top: .5rem; }
.variant-matrix-table {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}
.variant-matrix-table thead th {
    background: #f8fafc;
    font-size: .78rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
}
.variant-matrix-table td input {
    font-size: .88rem;
}
.variant-matrix-table td:first-child {
    font-weight: 600;
    color: #0f172a;
    background: #fcfcfd;
    white-space: nowrap;
}

/* --- Shop · Add-to-cart quick button --------------------------- */
.shop-card-quickadd-form { display: inline-block; }
.shop-card-quickadd-btn {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .35rem .7rem;
    background: #123B7A;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease;
}
.shop-card-quickadd-btn:hover { background: #0b2a5a; }
.shop-card-quickadd-btn:disabled { background: #94a3b8; cursor: not-allowed; }

/* --- Product page · Add-to-cart form --------------------------- */
.product-cart-form {
    display: flex;
    gap: .5rem;
    align-items: stretch;
    margin-top: .75rem;
    flex-wrap: wrap;
}
.product-cart-form .product-cart-qty {
    width: 80px;
    text-align: center;
}
.product-cart-form .product-cart-btn {
    flex: 1;
    min-width: 180px;
}
/* END SECTION 63 */
