/* ==========================================================================
   3G DESIGN GLOBAL — Unified Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* Optional brand fonts — graceful fallback if files are missing */
@font-face {
    font-family: 'Evil Empire';
    src: url('fonts/EvilEmpire.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ethnocentric';
    src: url('fonts/Ethnocentric.otf') format('opentype'),
         url('fonts/Ethnocentric.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */
:root {
    --brand-navy: #0B1F3A;
    --brand-navy-deep: #061222;
    --brand-sky: #4FC3F7;
    --brand-sky-light: #B3E5FC;
    --brand-sky-deep: #0288D1;
    --brand-sky-dark: #29B6F6;
    --brand-gold: #4FC3F7;
    --brand-gold-light: #B3E5FC;
    --brand-gold-dark: #0288D1;
    --brand-dark: #0d0e10;
    --brand-cream: #FAF8F4;
    --brand-surface: #F5F1EA;
    --brand-muted: #5C6B7A;
    --brand-border: #E5DFD3;
    --brand-success: #25d366;
    --brand-danger: #c0392b;

    --primary-color: var(--brand-navy);
    --secondary-color: var(--brand-gold);
    --accent-color: var(--brand-sky);
    --light-bg: var(--brand-cream);
    --dark-text: var(--brand-navy);
    --muted-text: var(--brand-muted);

    --shadow-sm: 0 2px 12px rgba(11, 31, 58, 0.07);
    --shadow-md: 0 10px 30px rgba(11, 31, 58, 0.12);
    --shadow-lg: 0 20px 50px rgba(11, 31, 58, 0.16);
    --shadow-sky: 0 8px 28px rgba(79, 195, 247, 0.28);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-pill: 50px;

    --font-display: 'Ethnocentric', 'Cormorant Garamond', Georgia, serif;
    --font-brand: 'Ethnocentric', 'Evil Empire', 'Arial Black', sans-serif;

    /* Bootstrap overrides for brand consistency */
    --bs-primary: var(--brand-gold);
    --bs-primary-rgb: 79, 195, 247;
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--dark-text);
    --bs-body-bg: var(--light-bg);
    --bs-border-radius: var(--radius-sm);
    --bs-border-radius-lg: var(--radius-md);
    --bs-link-color: var(--brand-sky-dark);
    --bs-link-hover-color: var(--brand-navy);
}

/* --------------------------------------------------------------------------
   Base & Typography
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--dark-text);
    background-color: var(--light-bg);
    background-image:
           radial-gradient(ellipse at 20% 0%, rgba(79, 195, 247, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(79, 195, 247, 0.04) 0%, transparent 50%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .section-title {
    font-family: var(--font-display);
    letter-spacing: 0.02em;
    font-weight: 600;
    line-height: 1.12;
    color: var(--brand-navy);
}

h4, h5, h6, .subtitle {
    font-family: var(--font-brand);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.business-name,
.brand-name {
    font-family: var(--font-brand);
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--brand-navy);
    text-transform: none;
}

/* Ethnocentric "3G" + " Design" wordmark (text, not PNG) */
.brand-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0.12em;
    white-space: nowrap;
    vertical-align: middle;
    line-height: 1;
    font-family: var(--font-brand);
}

.brand-3g {
    font-family: var(--font-brand);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1;
    font-size: 1em;
    color: inherit;
}

.brand-design {
    font-family: var(--font-brand);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1em;
    color: inherit;
    align-self: center;
}

.brand-wordmark--lockup .brand-3g,
.brand-wordmark--lockup .brand-design {
    font-size: 2.4rem;
}

.brand-wordmark--admin .brand-3g,
.brand-wordmark--admin .brand-design {
    font-size: 1.75rem;
}

.brand-wordmark--dashboard .brand-3g,
.brand-wordmark--dashboard .brand-design {
    font-size: 2rem;
}

.brand-wordmark--navy .brand-3g,
.brand-wordmark--navy .brand-design {
    color: var(--brand-navy);
}

.brand-wordmark--light .brand-3g,
.brand-wordmark--light .brand-design,
.brand-wordmark--white .brand-3g,
.brand-wordmark--white .brand-design {
    color: var(--brand-gold-light);
}

.brand-wordmark--gold .brand-3g,
.brand-wordmark--gold .brand-design {
    color: var(--brand-gold-light);
}

.brand-wordmark--nav {
    margin-top: 5px;
}

.brand-wordmark--nav .brand-3g,
.brand-wordmark--nav .brand-design {
    font-size: 1.35rem;
}

.brand-wordmark--nav .brand-design {
    letter-spacing: 0.16em;
}

.brand-wordmark--hero {
    display: inline-flex;
    justify-content: center;
    align-items: baseline;
    margin-top: 0.15rem;
    flex-wrap: wrap;
    white-space: normal;
    word-break: break-word;
}

.brand-wordmark--hero .brand-3g,
.brand-wordmark--hero .brand-design {
    font-size: clamp(2.4rem, 6vw, 3.6rem);
}

.brand-wordmark--hero .brand-design {
    letter-spacing: 0.18em;
    color: var(--brand-gold-light);
}

.brand-wordmark--login .brand-3g,
.brand-wordmark--login .brand-design {
    font-size: 1.65rem;
}

.brand-wordmark--login .brand-design {
    color: var(--brand-gold-light);
}

.brand-wordmark--footer .brand-3g,
.brand-wordmark--footer .brand-design {
    font-size: 1.75rem;
}

.brand-wordmark--footer .brand-design {
    color: var(--brand-gold-light);
}

.brand-wordmark--receipt .brand-3g,
.brand-wordmark--receipt .brand-design {
    font-size: 1.4rem;
}

.brand-wordmark--receipt .brand-design {
    color: var(--brand-navy);
}

.brand-wordmark--doc .brand-3g,
.brand-wordmark--doc .brand-design {
    font-size: 1.25rem;
}

.brand-wordmark--doc .brand-design {
    color: var(--brand-navy);
}

.brand-wordmark--on-dark .brand-3g,
.brand-wordmark--on-dark .brand-design {
    color: var(--brand-gold-light);
}

.brand-wordmark--inline .brand-3g,
.brand-wordmark--inline .brand-design {
    font-size: 0.92em;
}

.brand-wordmark--inline .brand-design {
    letter-spacing: 0.12em;
}

.brand-wordmark--marquee {
    vertical-align: middle;
}

.brand-wordmark--marquee .brand-3g,
.brand-wordmark--marquee .brand-design {
    font-size: 2.6rem;
}

.brand-wordmark--marquee .brand-design {
    letter-spacing: 0.2em;
    color: #ffffff;
}

.brand-name--gold {
    background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold), var(--brand-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-name--light {
    color: var(--brand-gold-light);
}

.brand-name--on-dark {
    color: #ffffff;
}

.business-name {
    text-transform: none;
}

main {
    min-height: 75vh;
}

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

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-gold-light) 0%, var(--brand-gold) 50%, var(--brand-gold-dark) 100%);
    border: 1px solid var(--brand-gold-dark);
    color: var(--brand-navy-deep);
    padding: 0.65rem 1.75rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: var(--shadow-sky);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-dark) 100%) !important;
    border-color: var(--brand-gold-dark) !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(79, 195, 247, 0.4);
}

.btn-outline-primary {
    color: var(--brand-navy);
    border: 2px solid var(--brand-gold);
    background: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
    border-color: var(--brand-gold);
    color: var(--brand-navy-deep);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    display: inline-block;
    transition: all 0.25s ease;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.navbar {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--brand-navy-deep) 0%, var(--brand-dark) 100%) !important;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--brand-gold);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-marquee-track {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    opacity: 0.04;
}

.navbar-marquee-content {
    display: inline-block;
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.25em;
    animation: continuousLogoloop 28s linear infinite;
}

@keyframes continuousLogoloop {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-33.33%, 0, 0); }
}

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

.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 0;
    font-weight: 800;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 42px !important;
    width: auto;
    margin-right: 0 !important;
    object-fit: contain;
    
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.brand-subtext {
    line-height: 1;
    text-transform: none;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
    position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #ffffff !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

.cart-badge {
    font-size: 0.65rem !important;
    padding: 0.25em 0.5em !important;
    border: 2px solid var(--brand-dark);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.classic-footer {
    background: linear-gradient(180deg, var(--brand-navy-deep) 0%, #050608 100%) !important;
    color: #9aa5b1;
    font-size: 0.9rem;
    border-top: 3px solid var(--brand-gold);
    position: relative;
}

.classic-footer::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 195, 247, 0.5), transparent);
}

.footer-heading {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-gold), var(--brand-gold-light));
}

.footer-brand-title {
    color: #ffffff;
}

.footer-link {
    color: #8a94a0;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.contact-list li {
    margin-bottom: 0.85rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.contact-icon {
    color: var(--brand-gold);
    width: 24px;
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.social-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #141719;
    color: #8a94a0;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid #1e2224;
}

.social-btn:hover {
    background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
    color: var(--brand-navy-deep);
    border-color: var(--brand-gold);
    transform: translateY(-2px);
}

/* Footer social — navy/gold branded connect buttons */
.footer-social {
    margin-top: 0.25rem;
}

.footer-social-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin-bottom: 0.85rem;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-pill);
    background: rgba(6, 18, 34, 0.75);
    border: 1px solid rgba(79, 195, 247, 0.4);
    color: var(--brand-gold-light);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.footer-social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: -1;
}

.footer-social-btn i {
    font-size: 1rem;
    width: 1.1rem;
    text-align: center;
    transition: transform 0.25s ease;
}

.footer-social-btn:hover,
.footer-social-btn:focus-visible {
    color: var(--brand-navy-deep);
    border-color: var(--brand-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sky);
}

.footer-social-btn:hover::before,
.footer-social-btn:focus-visible::before {
    opacity: 1;
}

.footer-social-btn:hover i,
.footer-social-btn:focus-visible i {
    transform: scale(1.08);
}

.footer-social-btn:focus-visible {
    outline: 2px solid var(--brand-gold-light);
    outline-offset: 3px;
}

.footer-social-btn--whatsapp::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 1px solid transparent;
    transition: border-color 0.25s ease;
    pointer-events: none;
}

.footer-social-btn--whatsapp:hover::after,
.footer-social-btn--whatsapp:focus-visible::after {
    border-color: rgba(37, 211, 102, 0.45);
}

@media (max-width: 575.98px) {
    .footer-social-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-social-btn {
        width: 100%;
        max-width: 240px;
        justify-content: center;
    }
}

.footer-hr {
    border-top: 1px solid #1e2224;
}

/* --------------------------------------------------------------------------
   Hero Section (Home)
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 680px;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--brand-cream), transparent);
    z-index: 12;
    pointer-events: none;
}

.hero-section #heroSlider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-section .carousel-inner,
.hero-section .carousel-item {
    height: 100%;
}

.hero-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 100%;
    pointer-events: none;
}

.hero-container a,
.hero-container button {
    pointer-events: auto;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.08;
    z-index: 15;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem 2rem;
    background: rgba(6, 18, 34, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(79, 195, 247, 0.35);
    border-radius: var(--radius-lg);
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-content::before,
.hero-content::after {
    content: '◆';
    position: absolute;
    color: var(--brand-gold);
    font-size: 0.55rem;
    opacity: 0.7;
}

.hero-content::before { top: 12px; left: 50%; transform: translateX(-50%); }
.hero-content::after { bottom: 12px; left: 50%; transform: translateX(-50%); }

.hero-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--brand-gold-light);
        border: 1px solid rgba(79, 195, 247, 0.45);
    padding: 0.35rem 1.1rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.25rem;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.75rem);
    margin-bottom: 0.75rem;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out;
    font-weight: 500;
}

.hero-section h1 .hero-brand {
    display: block;
    margin-top: 0.15rem;
}

.receipt-brand {
    line-height: 1;
}

.hero-down-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0.35rem auto 1.5rem;
    color: var(--brand-gold-light);
    font-size: 1.35rem;
    text-decoration: none;
        border: 1px solid rgba(79, 195, 247, 0.45);
    border-radius: 50%;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    animation: hero-arrow-bounce 2s ease-in-out infinite;
}

.hero-down-arrow:hover,
.hero-down-arrow:focus {
    color: #fff;
    border-color: var(--brand-gold);
    background: rgba(79, 195, 247, 0.2);
}

@keyframes hero-arrow-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.hero-section p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.75);
    animation: fadeInUp 1s ease-out 0.3s both;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
    margin: 0 auto 1.5rem;
}

/* --------------------------------------------------------------------------
   Carousel
   -------------------------------------------------------------------------- */
.carousel-item {
    height: 420px;
}

.carousel-image-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.carousel-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(6, 18, 34, 0.55) 0%, rgba(11, 31, 58, 0.4) 50%, rgba(6, 18, 34, 0.75) 100%);
    z-index: 2;
}

.carousel-caption {
    bottom: 18%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: 22px;
    max-width: 72%;
    margin: 0 auto 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-caption h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
    font-size: 1.2rem;
    font-weight: 400;
}

/* --------------------------------------------------------------------------
   Homepage Promotional Banner + Video
   -------------------------------------------------------------------------- */
.homepage-promo-section {
    background: linear-gradient(180deg, var(--brand-cream) 0%, var(--brand-surface) 100%);
}

.homepage-promo-card {
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.homepage-promo-card--admin {
    box-shadow: var(--shadow-sm);
}

.homepage-promo-banner-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 16rem;
    padding: 0.85rem 0.85rem 1rem;
        border: 1px solid rgba(79, 195, 247, 0.4);
    border-bottom: 1px solid var(--brand-gold-light);
}

.homepage-promo-banner {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(72vh, 680px);
    object-fit: contain;
    object-position: center;
    background: var(--brand-cream);
}

.homepage-promo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 16rem;
    aspect-ratio: 16 / 9;
    padding: 2rem 1.25rem;
    background: var(--brand-cream);
    color: var(--brand-muted);
    text-align: center;
    border-bottom: 1px solid var(--brand-gold-light);
}

.homepage-promo-placeholder i,
.homepage-promo-video-empty i {
    color: var(--brand-gold);
    opacity: 0.85;
}

.homepage-promo-video-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 1.5rem;
    background: var(--brand-cream);
    color: var(--brand-muted);
    text-align: center;
}

.homepage-promo-video-panel {
    background: linear-gradient(180deg, #fff 0%, var(--brand-cream) 100%);
    border-top: 1px solid var(--brand-border);
}

.homepage-promo-video-title {
    font-family: var(--font-body);
    font-weight: 800;
    color: var(--brand-navy);
    font-size: 1.35rem;
}

.homepage-promo-video {
    position: relative;
    overflow: hidden;
    background: var(--brand-navy-deep);
    width: 100%;
    display: block;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    --bs-aspect-ratio: 56.25%;
    min-height: 360px;
    border: 1px solid var(--brand-border);
    box-shadow: var(--shadow-md);
}

/* Prefer aspect-ratio; keep Bootstrap .ratio padding hack only when unsupported. */
@supports (aspect-ratio: 1 / 1) {
    .homepage-promo-video.ratio::before {
        display: none;
    }
}

.homepage-promo-video iframe,
.homepage-promo-video video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    border: 0;
    background: transparent;
    z-index: 1;
}

.homepage-promo-video video {
    object-fit: cover;
    object-position: center;
    opacity: 1;
}

.homepage-promo-video iframe,
.homepage-promo-video video {
    image-rendering: auto;
}

.homepage-admin-preview {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    object-position: center;
    background: var(--brand-cream);
}

/* --------------------------------------------------------------------------
   Product Cards
   -------------------------------------------------------------------------- */
.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
    border: 1px solid var(--brand-border);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-gold-dark), var(--brand-gold), var(--brand-gold-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 195, 247, 0.35);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card img,
.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.product-img-placeholder {
    object-fit: contain !important;
}

.variant-thumb {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-card:hover img {
    transform: scale(1.03);
}

.product-info {
    padding: 1.25rem;
}

.product-info h4 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Variant picker */
.variant-grid {
    overflow-x: auto;
    padding-bottom: 4px;
}

.variant-grid::-webkit-scrollbar {
    height: 5px;
}

.variant-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.v-grid-item {
    width: 70px;
    flex-shrink: 0;
    transition: transform 0.2s, border-color 0.2s;
    cursor: pointer;
}

.v-grid-item:hover {
    transform: scale(1.05);
    border-color: var(--brand-gold) !important;
}

.v-grid-item.active {
    border-width: 2px !important;
    border-color: var(--brand-gold) !important;
}

.v-check {
    transform: translate(30%, -30%);
    width: 20px;
    height: 20px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.variant-label {
    font-size: 9px;
    width: 100%;
}

/* --------------------------------------------------------------------------
   About Section (Home snippet)
   -------------------------------------------------------------------------- */
.about-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff 0%, var(--brand-surface) 100%);
    border-top: 1px solid var(--brand-border);
}

.about-section .feature-check {
    color: var(--brand-gold-dark);
}

.about-showcase-img {
    border: 4px solid #fff;
    outline: 1px solid var(--brand-border);
    box-shadow: var(--shadow-lg);
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.leader-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.leader-card:hover {
    transform: translateY(-5px);
}

.leader-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--secondary-color);
}

.leader-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.leader-card p {
    color: var(--muted-text);
}

/* --------------------------------------------------------------------------
   About Page
   -------------------------------------------------------------------------- */
.about-hero-carousel {
    box-shadow: var(--shadow-md);
}

.about-hero-carousel .carousel-image-wrapper {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-color: var(--brand-dark);
}

.about-hero-carousel .carousel-img {
    opacity: 0.65;
    transition: transform 6s ease;
}

.about-hero-carousel .carousel-item.active .carousel-img {
    transform: scale(1.08);
}

.about-hero-carousel .carousel-overlay {
    background: linear-gradient(180deg, rgba(15, 17, 18, 0.2) 0%, rgba(15, 17, 18, 0.85) 100%);
}

.about-hero-carousel .carousel-caption {
    bottom: 15%;
    text-align: center;
    z-index: 3;
}

.about-hero-carousel .carousel-caption h2 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-heading-block {
    margin-bottom: 2.5rem;
}

.classic-section-title,
.classic-heading {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 0;
    display: block;
    color: var(--brand-navy);
    text-align: center;
}

.classic-heading-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--brand-gold-dark);
    margin-bottom: 0.5rem;
}

.classic-heading-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem auto 2rem;
    max-width: 280px;
}

.classic-heading-divider::before,
.classic-heading-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
}

.classic-heading-divider span {
    color: var(--brand-gold);
    font-size: 0.5rem;
}

.classic-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
}

.why-choose-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.2rem, 3.5vw, 1.4rem) !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

.glass-show-card {
        position: relative;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(11, 31, 58, 0.08);
        box-shadow: 0 24px 60px rgba(11, 31, 58, 0.1);
        border-radius: 28px;
        transition: transform 0.35s ease, border-color 0.35s ease;
        max-width: 840px;
        margin: 0 auto;
        z-index: 1;
    }

    .glass-show-card:hover {
        transform: translateY(-4px);
    }

    .story-body-text,
    .story-body-text p {
        color: #2d3748 !important;
        line-height: 1.8;
        font-size: 0.98rem;
    }

    .story-body-text p {
        margin: 0 auto 1rem;
    }

    .about-story .container {
        max-width: 900px;
    }

    .about-story .section-heading-block {
        margin-bottom: 1.75rem;
    }

    .services-grid {
        background: #050911;
    }

    .services-grid .container {
        max-width: 1140px;
    }

    .premium-service-card {
        position: relative;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 22px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
        padding: 1rem 1rem 5.5rem;
        overflow: hidden;
        transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
    }

    .premium-service-card:hover {
        transform: translateY(-5px);
        border-color: rgba(255, 255, 255, 0.16);
    }

    .premium-service-card h4 {
        font-family: var(--font-brand);
        font-size: 1.4rem;
        margin: 0;
        color: #ffffff;
        position: absolute;
        left: 1.25rem;
        right: 1.25rem;
        bottom: 3.75rem;
        z-index: 2;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .premium-service-card p {
        color: rgba(255, 255, 255, 0.92);
        position: absolute;
        left: 1.25rem;
        right: 1.25rem;
        bottom: 1.25rem;
        z-index: 2;
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .advertisement-video-section {
        background: linear-gradient(180deg, rgba(250, 248, 242, 0.96), rgba(255, 255, 255, 1));
    }

    .advertisement-video-section .container {
        max-width: 860px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .advertisement-video-section .section-heading-block {
        text-align: left;
        max-width: 640px;
    }

    .advertisement-video-section .glass-show-card {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(11, 31, 58, 0.08);
        box-shadow: var(--shadow-lg);
        padding: 2rem 2.25rem;
        border-radius: 24px;
    }

    .advertisement-video-section .feature-pill {
        background: rgba(227, 247, 255, 0.98);
        color: #111;
        border-color: rgba(79, 195, 247, 0.28);
    }

    .video-panorama {
        position: relative;
        overflow: hidden;
        border-radius: 28px;
        background: transparent;
        box-shadow: 0 32px 90px rgba(0, 0, 0, 0.2);
        min-height: 320px;
    }

    .video-panorama::before {
        content: '';
        display: block;
        padding-top: 56.25%;
        background: transparent;
    }

    .video-panorama video,
    .video-panorama iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: 0;
    }

    .customer-testimonials-section {
        background: linear-gradient(180deg, #090d12, #0f1624);
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    @media (max-width: 991px) {
        .about-story .glass-show-card,
        .advertisement-video-section .glass-show-card {
            padding: 1.5rem 1.25rem;
        }

        .about-story .section-heading-block,
        .advertisement-video-section .section-heading-block {
            max-width: 100%;
            text-align: center;
        }

        .advertisement-video-section .container,
        .about-story .container {
            padding-left: 1rem;
            padding-right: 1rem;
        }
    }


    .testimonial-card {
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 22px;
        box-shadow: 0 28px 70px rgba(0, 0, 0, 0.16);
        transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    }

    .testimonial-card:hover {
        transform: translateY(-8px);
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.16);
    }

    .testimonial-card blockquote {
        margin: 0 0 1rem;
        font-size: 1.03rem;
        line-height: 1.8;
    }

    .testimonial-card p {
        color: rgba(255, 255, 255, 0.72);
        line-height: 1.7;
    }

    @media (max-width: 991px) {
        .advertisement-video-section .section-heading-block {
            text-align: center;
            max-width: 100%;
        }

        .advertisement-video-section .glass-show-card {
            padding: 1.75rem 1.25rem;
        }
    }

    .feature-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.75rem 1rem;
        border-radius: 999px;
        background: rgba(227, 247, 255, 0.95);
        color: #161616;
        font-size: 0.95rem;
        font-weight: 600;
        border: 1px solid rgba(79, 195, 247, 0.25);
    }

    .customer-testimonials-section {
        background: #101214;
    }

    .testimonial-card {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 20px;
        box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18);
        transition: transform 0.35s ease, border-color 0.35s ease;
    }

    .testimonial-card:hover {
        transform: translateY(-6px);
        border-color: rgba(255, 255, 255, 0.18);
    }

    .testimonial-badge {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1rem;
    }

    .testimonial-stars {
        color: var(--brand-gold);
        font-size: 0.85rem;
    }

    .testimonial-card blockquote {
        margin: 0 0 1rem;
        font-size: 1rem;
        line-height: 1.75;
        color: rgba(255, 255, 255, 0.9);
    }

    .testimonial-card p {
        color: rgba(255, 255, 255, 0.65);
        line-height: 1.6;
    }

    .trusted-by-strip {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.1));
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 24px;
    }

    .trusted-by-card {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 18px;
        padding: 1.1rem 1rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.95);
        min-height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease, background 0.3s ease;
    }

    .trusted-by-card:hover {
        transform: translateY(-4px);
        background: rgba(255, 255, 255, 0.14);
    }

.square-img-frame {
    position: relative;
    width: 250px;
    height: 250px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-service-card:hover .square-img-frame {
    border-color: transparent;
}

.square-frame-src,
.square-img-frame img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    transition: transform 0.4s ease;
}

.premium-service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.65) 100%);
    opacity: 0.7;
    pointer-events: none;
}

.premium-service-card:hover .square-frame-src {
    transform: scale(1.1);
}

.premium-service-card h4 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.matrix-strategy-card {
    background-color: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 12px;
    padding: 2.25rem 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.matrix-strategy-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.icon-square-container {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

.matrix-strategy-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f1112;
    margin-bottom: 0.85rem;
}

.executive-bio-panel {
    background-color: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    height: auto !important;
}

.leader-square-wrapper {
    width: 250px;
    height: 250px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--brand-border);
    background-color: #f7fafc;
}

.leader-square-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.social-link-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    color: #4a5568;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-link-icon:hover {
    background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
    color: var(--brand-navy-deep);
}

.bio-text-container {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.leader-circle-wrapper {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid white;
    background: #f8f9fa;
    position: relative;
}

.leader-circle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.leader-circle-wrapper:hover .leader-circle-img {
    transform: scale(1.1);
}

.admin-controls {
    display: flex;
    align-items: center;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--brand-border);
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
    border-radius: 0 0 4px 4px;
}

.contact-card h3 {
    font-family: var(--font-display);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--muted-text);
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
}

/* --------------------------------------------------------------------------
   Login
   -------------------------------------------------------------------------- */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(79, 195, 247, 0.15) 0%, transparent 50%),
        linear-gradient(160deg, var(--brand-navy-deep) 0%, var(--brand-navy) 60%, #122a45 100%);
}

.login-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    animation: fadeInUp 0.8s ease-out;
    border: 1px solid var(--brand-border);
    border-top: 3px solid var(--brand-gold);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.35rem;
    margin: 0 auto 1.25rem;
    background: linear-gradient(165deg, var(--brand-navy-deep) 0%, var(--brand-navy) 55%, #122a45 100%);
    border: 2px solid var(--brand-gold);
    border-radius: var(--radius-lg);
    box-shadow:
        0 10px 28px rgba(11, 31, 58, 0.28),
        inset 0 1px 0 rgba(79, 195, 247, 0.12);
}

.login-logo-badge img,
.login-header img {
    width: 150px;
    height: auto;
    margin-bottom: 0;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.login-header h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark-text);
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.2);
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
    color: var(--brand-navy-deep);
    border: 1px solid var(--brand-gold-dark);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.04em;
}

.login-btn:hover {
    background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-dark));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sky);
}

.login-footer {
    text-align: center;
    margin-top: 20px;
}

.login-footer a,
.login-footer-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover,
.login-footer-link:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Admin & Dashboard Portal
   -------------------------------------------------------------------------- */
body.admin-page,
body.dashboard-page {
    background-color: var(--brand-cream);
    background-image:
        radial-gradient(ellipse at 10% 0%, rgba(79, 195, 247, 0.05) 0%, transparent 45%);
}

.admin-page-header,
.dashboard-header,
.portal-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.admin-page-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(79, 195, 247, 0.15);
    color: var(--brand-gold-dark);
    border: 1px solid rgba(79, 195, 247, 0.25);
    flex-shrink: 0;
}

.admin-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.admin-card:hover {
    box-shadow: var(--shadow-md);
}

.admin-card-header {
    background: var(--brand-dark);
    color: #fff;
    padding: 1rem 1.25rem;
    border-bottom: none;
}

.admin-card-header h2,
.admin-card-header h3,
.admin-card-header h4,
.admin-card-header h5,
.admin-card-header .card-title {
    margin-bottom: 0;
    font-family: var(--font-body);
    font-weight: 700;
    color: #fff;
}

.admin-card-header-primary {
    background: linear-gradient(135deg, var(--brand-navy), #1a3a5c);
}

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

.yoy-performance-card {
    border: 1px solid rgba(79, 195, 247, 0.22);
}

.yoy-year-badge {
    background: rgba(79, 195, 247, 0.18);
    color: var(--brand-gold-light);
    border: 1px solid rgba(79, 195, 247, 0.45);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.yoy-metric {
    padding: 0.25rem 0.15rem;
}

.yoy-delta {
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.yoy-delta-up {
    color: #1b7f4a;
}

.yoy-delta-down {
    color: #b42318;
}

.yoy-delta-new,
.yoy-delta-flat {
    color: var(--muted-text);
}

.admin-table thead th {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted-text);
    border-bottom-width: 1px;
}

.admin-table tbody tr {
    transition: background-color 0.15s ease;
}

.admin-back-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.admin-stat-card {
    border-radius: var(--radius-md);
    border: none;
    box-shadow: var(--shadow-sm);
}

.admin-action-link {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--light-bg);
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.admin-action-link:hover {
    background: #fff;
    border-color: var(--secondary-color);
    color: var(--brand-navy);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.admin-action-link i {
    width: 28px;
    color: var(--brand-sky-dark);
}

/* Inventory — goods in/out logging */
.inventory-log-card .admin-card-header p {
    color: rgba(255, 255, 255, 0.85);
}

.inventory-type-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.inventory-type-btn {
    border-radius: var(--radius-sm) !important;
    padding: 0.85rem 0.75rem;
    font-weight: 700;
    text-align: center;
    border: 2px solid rgba(0, 0, 0, 0.08);
    background: var(--light-bg);
    color: var(--muted-text);
    transition: all 0.2s ease;
}

.inventory-type-in:hover {
    border-color: rgba(25, 135, 84, 0.4);
    color: #198754;
}

.inventory-type-out:hover {
    border-color: rgba(220, 53, 69, 0.4);
    color: #dc3545;
}

.btn-check:checked + .inventory-type-in {
    background: linear-gradient(135deg, #d1e7dd, #a3cfbb);
    border-color: #198754;
    color: #0f5132;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.2);
}

.btn-check:checked + .inventory-type-out {
    background: linear-gradient(135deg, #f8d7da, #f1aeb5);
    border-color: #dc3545;
    color: #842029;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.inventory-stock-preview {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    background: rgba(11, 31, 58, 0.04);
    border: 1px solid rgba(79, 195, 247, 0.2);
    color: var(--brand-navy);
}

.inventory-logged-by {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--light-bg);
    border-left: 3px solid var(--brand-gold);
}

.inventory-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.35em 0.65em;
}

.inventory-badge-in {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
    border: 1px solid rgba(25, 135, 84, 0.25);
}

.inventory-badge-out {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.25);
}

.inventory-notes-cell {
    max-width: 160px;
}

.inventory-log-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.inventory-log-card-item {
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.inventory-history-table th {
    white-space: nowrap;
}

/* Manual item entry — typeahead combobox */
.inventory-item-combo {
    position: relative;
}

.inventory-item-input-wrap {
    position: relative;
}

.inventory-item-input-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-gold);
    z-index: 2;
    pointer-events: none;
}

.inventory-item-input {
    padding-left: 2.35rem !important;
    border: 2px solid rgba(11, 31, 58, 0.1);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inventory-item-input:focus {
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.15);
}

.inventory-suggest-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    background: #fff;
    border: 1px solid rgba(79, 195, 247, 0.35);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(11, 31, 58, 0.12);
    max-height: 240px;
    overflow-y: auto;
}

.inventory-suggest-item {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: background 0.15s ease;
}

.inventory-suggest-item:last-child {
    border-bottom: none;
}

.inventory-suggest-item:hover,
.inventory-suggest-item.active {
    background: rgba(79, 195, 247, 0.1);
}

.inventory-suggest-name {
    display: block;
    font-weight: 600;
    color: var(--brand-navy);
    font-size: 0.9rem;
}

.inventory-suggest-meta {
    display: block;
    font-size: 0.75rem;
    color: var(--muted-text);
    margin-top: 0.1rem;
}

.inventory-catalog-link {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius-sm);
    background: rgba(25, 135, 84, 0.08);
    border: 1px solid rgba(25, 135, 84, 0.2);
    color: #0f5132;
}

.inventory-manual-hint {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius-sm);
    background: rgba(11, 31, 58, 0.04);
    border: 1px dashed rgba(79, 195, 247, 0.4);
    color: var(--muted-text);
}

.inventory-unlink-btn {
    font-size: 0.75rem;
    vertical-align: baseline;
    text-decoration: none !important;
}

.inventory-source-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    vertical-align: middle;
}

.inventory-source-manual {
    background: rgba(11, 31, 58, 0.08);
    color: var(--brand-navy);
    border: 1px solid rgba(11, 31, 58, 0.15);
}

.inventory-source-catalog {
    background: rgba(79, 195, 247, 0.15);
    color: #7a6528;
    border: 1px solid rgba(79, 195, 247, 0.35);
}

@media (max-width: 575.98px) {
    .inventory-type-toggle {
        grid-template-columns: 1fr;
    }
}

.admin-console {
    background: var(--brand-dark);
    border-radius: var(--radius-lg);
    color: #fff;
}

.admin-console-btn {
    font-size: 0.82rem;
    text-align: left;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
}

.admin-form-control {
    background-color: var(--light-bg);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
}

.admin-form-control:focus {
    background-color: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.15);
}

.admin-form-pill {
    border-radius: var(--radius-pill);
}

.admin-textarea {
    border-radius: var(--radius-md);
}

.admin-modal .modal-content {
    border-radius: var(--radius-lg);
    border: none;
}

.admin-modal .modal-header {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.thumb-40 {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.thumb-40-contain {
    object-fit: contain;
    background: #eee;
}

.thumb-50 {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.thumb-100 {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.thumb-preview {
    max-height: 100px;
    border-radius: 8px;
}

.thumb-variant {
    height: 30px;
    width: 30px;
    object-fit: cover;
    border-radius: 4px;
}

.leader-avatar-placeholder {
    width: 100px;
    height: 100px;
}

.text-clamp-3 {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-clamp-bio {
    max-height: 60px;
    overflow: hidden;
}

.bg-soft-danger {
    background-color: rgba(220, 53, 69, 0.08);
}

.milestone-card {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

.milestone-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md) !important;
}

.type-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
}

.card-title-limit {
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-desc-limit {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.upload-zone {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.period-toggle .btn-dark {
    background-color: var(--brand-navy);
    border-color: var(--brand-navy);
}

.v-check-hidden {
    display: none;
}

.logo-placeholder-circle {
    width: 65px;
    height: 65px;
    font-size: 1.5rem;
}

.icon-circle-60 {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-xs {
    font-size: 0.7rem;
}

.btn-xs {
    font-size: 0.78rem;
}

.notes-cell {
    max-width: 400px;
}

.cart-thumb-wrap {
    width: 50px;
    height: 50px;
}

.cart-thumb-wrap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.cart-thumb-wrap img.contain {
    object-fit: contain;
}

.w-10 { width: 10%; }
.w-15 { width: 15%; }
.w-20 { width: 20%; }
.w-25 { width: 25%; }

/* Staff / Moderator role portals */
.role-portal-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.role-portal-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.role-badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
}

.moderator-page .card-gradient-navy {
    background: linear-gradient(135deg, var(--brand-navy, #0B1F3A) 0%, #1a3a5c 100%);
}

.moderator-action-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    background: #fff;
}

.moderator-action-card:hover {
    border-color: var(--brand-gold, #4FC3F7) !important;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.moderator-action-icon {
    width: 2.25rem;
    text-align: center;
}

.moderator-action-btn {
    transition: transform 0.2s ease;
}

.moderator-action-btn:hover {
    transform: translateY(-2px);
}

.moderator-perms-panel {
    background: var(--bg-soft, #f8f9fa);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.manual-income-card {
    border-left: 4px solid var(--success-color, #198754) !important;
}

.manual-income-section {
    padding: 1rem 1.1rem;
    background: var(--bg-soft, #f8f9fa);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.manual-income-section-label {
    letter-spacing: 0.06em;
}

.manual-income-source-badge {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    font-weight: 600;
    font-size: 0.72rem;
}

.manual-income-table tbody tr:hover {
    background: rgba(25, 135, 84, 0.04);
}

/* --------------------------------------------------------------------------
   Dashboard (extends admin portal)
   -------------------------------------------------------------------------- */

.dashboard-logo {
    height: 65px;
    max-width: 140px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dashboard-logo:hover {
    transform: scale(1.06) rotate(-1deg);
}

.dashboard-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-card h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-gold-dark);
}

.card-gradient-green {
    background: linear-gradient(135deg, #1f945d, #146c43);
}

.card-gradient-crimson {
    background: linear-gradient(135deg, #e03e52, #b02a37);
}

.card-gradient-red {
    background: linear-gradient(135deg, #ea4335, #c53023);
}

.bg-soft-primary {
    background-color: rgba(79, 195, 247, 0.12);
}

.bg-soft-info {
    background-color: rgba(13, 202, 240, 0.08);
}

.bg-soft-success {
    background-color: rgba(25, 135, 84, 0.1);
}

.bg-soft-dark {
    background-color: #f1f3f5;
}

.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md) !important;
}

.hover-white:hover {
    color: #ffffff !important;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-wide {
    letter-spacing: 0.03em;
}

.tracking-wider {
    letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   Shared Components
   -------------------------------------------------------------------------- */
.plan-card {
    background: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md) !important;
    border-color: var(--secondary-color) !important;
}

.plan-card h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.rounded-4 {
    border-radius: 2rem !important;
}

.about-image-stack {
    position: relative;
    padding: 20px;
}

.about-image-stack img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-stack:hover img {
    transform: scale(1.02);
}

.social-links a {
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-3px);
}

/* Search bar on home */
.search-bar-pill {
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--brand-border) !important;
}

.products-section {
    background: var(--brand-cream);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

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

.bg-classic-navy {
    background: linear-gradient(135deg, var(--brand-navy-deep), var(--brand-navy)) !important;
}

.price-display {
    font-family: var(--font-display);
    color: var(--brand-navy) !important;
}

.navbar-dark .navbar-nav .nav-link .text-muted {
    color: var(--brand-gold-light) !important;
    opacity: 0.6;
}

.comm-quick-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
    color: var(--brand-navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sky);
    text-decoration: none;
    z-index: 1050;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comm-quick-fab:hover {
    transform: scale(1.08);
    color: var(--brand-navy-deep);
    box-shadow: 0 12px 32px rgba(79, 195, 247, 0.45);
}

.billing-grand-total {
    background: linear-gradient(135deg, rgba(11, 31, 58, 0.06), rgba(79, 195, 247, 0.1));
    border: 1px solid var(--brand-border);
    border-radius: 12px;
}

.billing-lines-table .form-control,
.billing-lines-table .form-select {
    font-size: 0.85rem;
}

/* Operations Center */
.inbox-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    flex-shrink: 0;
}

.production-board {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.production-lane {
    min-width: 140px;
    flex: 1;
    background: var(--brand-surface);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.production-lane-header {
    padding: 0.45rem 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
}

.production-lane-body {
    padding: 0.35rem;
    min-height: 120px;
    max-height: 280px;
    overflow-y: auto;
}

.production-job-card {
    background: #fff;
    border-radius: 8px;
    padding: 0.5rem;
    margin-bottom: 0.35rem;
    border: 1px solid var(--brand-border);
    box-shadow: var(--shadow-sm);
}

.customer-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-gold));
    color: #fff;
    font-size: 1.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comm-feed-scroll {
    max-height: 280px;
    overflow-y: auto;
}

.qty-tier-box {
    background: rgba(79, 195, 247, 0.08);
    border: 1px solid rgba(79, 195, 247, 0.25);
}


.bg-classic-surface {
    background: var(--brand-surface);
}

.classic-heading-divider.start {
    justify-content: flex-start;
    max-width: 200px;
    margin-left: 0;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes pulse-slow {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate-pulse-slow {
    animation: pulse-slow 3s infinite ease-in-out;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .hero-section,
    .carousel-item {
        height: 520px;
    }

    .hero-content {
        padding: 1.75rem 1.25rem;
        margin: 0 1rem;
    }

    .hero-section h1 {
        font-size: 2.25rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .homepage-promo-section.container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .homepage-promo-banner-wrap {
        min-height: 14rem;
        padding: 0.65rem 0.65rem 0.85rem;
    }

    .homepage-promo-banner {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    .homepage-promo-placeholder {
        min-height: 14rem;
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .homepage-promo-video {
        aspect-ratio: 16 / 9;
        --bs-aspect-ratio: 56.25%;
        min-height: 0;
    }

    .carousel-caption h1,
    .carousel-caption h2 {
        font-size: 2rem;
    }

    .about-hero-carousel .carousel-image-wrapper {
        height: 380px;
    }

    .about-hero-carousel .carousel-caption {
        width: 100%;
        padding: 0 1rem;
    }

    .about-hero-carousel .carousel-caption h2 {
        font-size: clamp(1.9rem, 7vw, 2.25rem);
        line-height: 1.05;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .brand-wordmark--hero {
        justify-content: center;
        flex-wrap: wrap;
    }

    .leader-square-wrapper {
        width: min(250px, 100%);
        height: auto;
        aspect-ratio: 1;
    }

    .square-img-frame {
        width: min(250px, 100%);
        height: auto;
        aspect-ratio: 1;
    }

    .product-card {
        margin-bottom: 20px;
    }

    .navbar-marquee-content {
        font-size: 2rem;
    }
}

/* ==========================================================================
   File Share Portal — Visual Folder Browser
   ========================================================================== */
.file-portal-page .file-browser-wrap {
    max-width: 1400px;
}

.file-browser-loading {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 18, 34, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.file-browser-loading.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.file-browser-loading-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    color: var(--brand-navy);
    font-weight: 600;
}

.file-browser-sidebar-header {
    background: linear-gradient(135deg, var(--brand-navy-deep), var(--brand-navy));
    color: #fff;
    padding: 1rem 1.15rem;
}

.file-browser-sidebar-body {
    padding: 0.75rem;
    max-height: min(70vh, 640px);
    overflow-y: auto;
}

.file-tree-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    color: var(--dark-text);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
    margin-bottom: 0.2rem;
}

.file-tree-item:hover {
    background: var(--brand-surface);
    color: var(--brand-navy);
}

.file-tree-item.active {
    background: rgba(79, 195, 247, 0.15);
    color: var(--brand-navy);
    font-weight: 700;
}

.file-tree-item i {
    width: 1.1rem;
    text-align: center;
    color: var(--brand-gold-dark);
}

.file-badge-today {
    margin-left: auto;
    font-size: 0.65rem;
    background: var(--brand-gold);
    color: var(--brand-navy);
}

.file-empty-sidebar {
    text-align: center;
    padding: 1.5rem 1rem;
    color: var(--muted-text);
}

.file-empty-sidebar i {
    font-size: 1.75rem;
    color: var(--brand-gold);
    margin-bottom: 0.5rem;
}

.file-browser-header {
    background: linear-gradient(135deg, var(--brand-navy-deep), var(--brand-navy)) !important;
}

.file-browser-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.file-search-form {
    flex: 1 1 280px;
    max-width: 520px;
}

.file-search-icon {
    display: flex;
    align-items: center;
    padding-left: 1rem;
    color: var(--muted-text);
}

.file-view-toggle .btn {
    padding: 0.5rem 0.85rem;
}

.file-view-toggle .btn.active {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: #fff;
}

.file-breadcrumb-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--brand-surface);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
}

.file-breadcrumb {
    font-size: 0.88rem;
    margin: 0;
}

.file-breadcrumb a {
    color: var(--brand-sky-dark);
    text-decoration: none;
    font-weight: 600;
}

.file-breadcrumb a:hover {
    color: var(--brand-navy);
    text-decoration: underline;
}

.file-upload-zone {
    background: linear-gradient(180deg, #fff 0%, var(--brand-cream) 100%);
    border: 1px dashed var(--brand-border);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    margin-bottom: 1.5rem;
}

.file-upload-zone-header {
    margin-bottom: 0.85rem;
}

.file-upload-drop {
    display: block;
    cursor: pointer;
    margin: 0;
}

.file-upload-drop input[type="file"] {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.file-upload-drop-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 110px;
    padding: 1rem;
    border: 2px dashed var(--brand-border);
    border-radius: var(--radius-sm);
    background: #fff;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.file-upload-drop:hover .file-upload-drop-inner,
.file-upload-drop:focus-within .file-upload-drop-inner {
    border-color: var(--brand-gold);
    background: rgba(79, 195, 247, 0.06);
}

.file-upload-drop-inner i {
    font-size: 1.5rem;
    color: var(--brand-gold-dark);
}

.file-upload-drop-inner small {
    color: var(--muted-text);
}

.file-upload-drop-folder .file-upload-drop-inner i {
    color: #2e7d4e;
}

.file-items {
    display: grid;
    gap: 0.85rem;
}

.file-items-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.file-items-list {
    grid-template-columns: 1fr;
}

.file-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.75rem;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--dark-text);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    min-height: 130px;
}

.file-item-open {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.file-item-open:hover {
    color: var(--brand-navy);
}

.file-item-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-top: 0.6rem;
    padding: 0.38rem 0.5rem;
    border: 1px solid rgba(79, 195, 247, 0.45);
    border-radius: 6px;
    color: var(--brand-navy);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
}

.file-item-download:hover {
    background: rgba(79, 195, 247, 0.12);
    color: var(--brand-navy);
}

.file-item-download-label {
    color: var(--brand-gold-dark);
    font-weight: 700;
}

.file-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(79, 195, 247, 0.45);
    color: var(--brand-navy);
}

.file-item-folder .file-item-icon i {
    color: #4FC3F7;
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(79, 195, 247, 0.25));
}

.file-download-folder {
    flex-shrink: 0;
}

.file-item-icon i {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.file-icon-pdf { color: #c0392b; }
.file-icon-doc { color: #2b579a; }
.file-icon-sheet { color: #217346; }
.file-icon-slide { color: #d24726; }
.file-icon-image { color: #2980b9; }
.file-icon-archive { color: #7f8c8d; }
.file-icon-video { color: #8e44ad; }
.file-icon-audio { color: #16a085; }
.file-icon-code { color: var(--brand-navy); }
.file-icon-text { color: var(--muted-text); }
.file-icon-generic { color: #95a5a6; }

.file-item-name {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
}

.file-item-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    margin-top: 0.4rem;
    font-size: 0.72rem;
    color: var(--muted-text);
}

.file-badge-inline {
    background: rgba(79, 195, 247, 0.2);
    color: var(--brand-gold-dark);
    padding: 0.1rem 0.45rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
}

.file-item-date {
    background: rgba(11, 31, 58, 0.06);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.file-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    border: 1px dashed var(--brand-border);
    border-radius: var(--radius-md);
    background: var(--brand-cream);
}

.file-empty-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(79, 195, 247, 0.15);
    color: var(--brand-gold-dark);
    font-size: 1.5rem;
}

/* List view layout */
.file-items-list .file-item {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1rem;
    min-height: auto;
    padding: 0.85rem 1rem;
}

.file-items-list .file-item-icon i {
    font-size: 1.75rem;
    margin-bottom: 0;
}

.file-items-list .file-item-folder .file-item-icon i {
    font-size: 1.85rem;
}

.file-items-list .file-item-name {
    flex: 1;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    font-size: 0.9rem;
}

.file-items-list .file-item-open {
    flex: 1;
    flex-direction: row;
    gap: 1rem;
    text-align: left;
}

.file-items-list .file-item-download {
    width: auto;
    margin-top: 0;
    padding: 0.35rem 0.6rem;
}

.file-items-list .file-item-meta {
    justify-content: flex-end;
    margin-top: 0;
    min-width: 120px;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .file-browser-sidebar-body {
        max-height: none;
    }

    .file-items-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 575.98px) {
    .file-browser-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .file-search-form {
        max-width: none;
    }

    .file-view-toggle {
        align-self: flex-end;
    }

    .file-items-list .file-item {
        flex-wrap: wrap;
    }

    .file-items-list .file-item-meta {
        width: 100%;
        justify-content: flex-start;
        padding-left: calc(1.75rem + 1rem);
    }
}


/* Automatically added font-size adjustment */
h1, .display-4, .display-5 { font-size: 2.2rem !important; }


/* Automatically added font-size adjustment */
h1, .display-4, .display-5 { font-size: 2.2rem !important; }


/* Force heading down */
.the-3g-difference h1, .the-3g-difference h2, div:has(> .the-3g-difference) h2, h2:has(+ img) { font-size: 1.8rem !important; }



h1, h2, h3, .section-title {
    font-family: var(--font-display);
    letter-spacing: 0.02em;
    font-weight: 600;
    line-height: 1.12;
    color: var(--brand-navy);
    font-size: 1.8rem !important;
}

@media (max-width: 575.98px) {
    .about-section .why-choose-heading {
        font-family: var(--font-body) !important;
        font-size: 1.25rem !important;
        font-weight: 800;
        letter-spacing: 0.03em;
        line-height: 1.35;
    }

    .about-section .why-choose-heading .brand-wordmark,
    .about-section .why-choose-heading .brand-3g,
    .about-section .why-choose-heading .brand-design {
        font-size: 1.25rem !important;
        letter-spacing: 0.04em;
    }
}

