
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --light-gray: #e8e8e8;
    --mid-gray: #999999;
    --dark-gray: #333333;
    --accent: #1a1a1a;
    --border: #d0d0d0;
    --shadow: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-strong: 0 8px 40px rgba(0,0,0,0.15);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    background: white;
    color: black;
    line-height: 1.7;
    font-size: 16px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

h4 {
    font-size: 1.2rem;
}

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

a {
    color: var(--black);
    text-decoration: none;
    transition: all 0.2s ease;
}

/* ---- LAYOUT ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--off-white);
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

    .btn-primary:hover {
        background: var(--dark-gray);
        color: var(--white);
        border-color: var(--dark-gray);
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

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

    .btn-outline:hover {
        background: var(--black);
        color: var(--white);
    }

.btn-white {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

    .btn-white:hover {
        background: var(--off-white);
        color: var(--black);
    }

.btn-danger {
    background: #c0392b;
    color: var(--white);
    border-color: #c0392b;
}

    .btn-danger:hover {
        background: #a93226;
        border-color: #a93226;
    }

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    background-color: black;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    color: white;
    max-width: 800px;
    margin-bottom: 1.5rem;
}

    .hero h1 em {
        font-style: italic;
        color: white;
    }

.hero p {
    color: white;
    font-size: 1.1rem;
    max-width: 560px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--white);
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- SECTION HEADER ---- */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--mid-gray);
    max-width: 560px;
    margin: 0 auto;
}

/* ---- CARDS ---- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

    .card:hover {
        border-color: var(--black);
        box-shadow: var(--shadow-strong);
        transform: translateY(-3px);
    }

.card-icon {
    width: 52px;
    height: 52px;
    background: var(--black);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

    .card-icon svg {
        width: 22px;
        height: 22px;
        stroke: var(--white);
        fill: none;
        stroke-width: 1.75;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card p {
    font-size: 0.92rem;
    color: var(--mid-gray);
    margin: 0;
}

/* ---- PRODUCT CARDS ---- */
.product-card {
    background: var(--black);
    border-radius: 16px;
    padding: 2.5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

    .product-card::before {
        content: '';
        position: absolute;
        top: -50px;
        right: -50px;
        width: 200px;
        height: 200px;
        background: rgba(255,255,255,0.03);
        border-radius: 50%;
    }

    .product-card h3 {
        color: var(--white);
        margin-bottom: 1rem;
    }

    .product-card p {
        color: rgba(255,255,255,0.6);
        margin-bottom: 1.5rem;
    }

.product-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

    .feature-list li {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        color: rgba(255,255,255,0.7);
        font-size: 0.9rem;
        padding: 0.35rem 0;
    }

        .feature-list li::before {
            content: '✓';
            color: var(--white);
            font-weight: 700;
            font-size: 0.8rem;
            flex-shrink: 0;
        }

/* ---- FORMS ---- */
.form-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.25rem;
}

    .form-group label {
        display: block;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--black);
        margin-bottom: 0.5rem;
        letter-spacing: 0.2px;
    }

.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.93rem;
    color: var(--black);
    background: var(--white);
    transition: border-color 0.2s ease;
    outline: none;
}

    .form-control:focus {
        border-color: var(--black);
    }

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ---- ALERTS ---- */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    border: 1px solid;
}

.alert-success {
    background: #f0faf0;
    border-color: #27ae60;
    color: #1a7a40;
}

.alert-danger {
    background: #fdf0f0;
    border-color: #e74c3c;
    color: #c0392b;
}

.alert-info {
    background: var(--off-white);
    border-color: var(--border);
    color: var(--dark-gray);
}

/* ---- VALIDATION ---- */
.text-danger {
    color: #c0392b;
    font-size: 0.82rem;
}

.validation-summary-errors ul {
    padding-left: 1.25rem;
}

.field-validation-error {
    display: block;
    margin-top: 0.3rem;
}

/* ---- TABLE ---- */
.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

thead {
    background: var(--black);
    color: var(--white);
}

    thead th {
        padding: 0.9rem 1.25rem;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-align: left;
    }

tbody td {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--dark-gray);
    vertical-align: middle;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: var(--off-white);
}

/* ---- BADGE ---- */
.badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-admin {
    background: var(--black);
    color: var(--white);
}

.badge-staff {
    background: var(--light-gray);
    color: var(--dark-gray);
}

.badge-unread {
    background: var(--black);
    color: var(--white);
}

.badge-read {
    background: var(--light-gray);
    color: var(--mid-gray);
}

/* ---- DASHBOARD ---- */
.dashboard-wrapper {
    display: block;
    min-height: 100vh;
    padding-top: 72px;
}

.sidebar {
    background: var(--black);
    padding: 2rem 0;
    position: fixed;
    top: 72px;
    left: 0;
    bottom: 0;
    width: 300px;
    overflow-y: auto;
}

.sidebar-brand {
    padding: 0 1.5rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 1rem;
}

    .sidebar-brand span {
        display: block;
        color: rgba(255,255,255,0.4);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 600;
    }

.sidebar-user {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

.sidebar-nav {
    list-style: none;
    padding: 0 0.75rem;
}

    .sidebar-nav li {
        margin-bottom: 0.2rem;
    }

    .sidebar-nav a {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.7rem 0.9rem;
        border-radius: 8px;
        color: rgba(255,255,255,0.6);
        font-size: 0.88rem;
        font-weight: 500;
        transition: all 0.2s ease;
    }

        .sidebar-nav a:hover {
            background: rgba(255,255,255,0.08);
            color: var(--white);
        }

        .sidebar-nav a.active {
            background: var(--white);
            color: var(--black);
        }

    .sidebar-nav .nav-icon {
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        .sidebar-nav .nav-icon svg {
            width: 15px;
            height: 15px;
            stroke: currentColor;
            fill: none;
            stroke-width: 1.75;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

.sidebar-section-label {
    padding: 1.25rem 1.5rem 0.5rem;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.dashboard-main {
    margin-left: 300px;
    padding: 2.5rem;
    background: var(--off-white);
    min-height: calc(100vh - 72px);
}

    .dashboard-main .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

.dashboard-container {
    width: 100%;
    padding: 0 2rem;
}

.page-header {
    margin-bottom: 2rem;
}

    .page-header h1 {
        font-size: 1.8rem;
        margin-bottom: 0.25rem;
    }

    .page-header p {
        color: var(--mid-gray);
        font-size: 0.9rem;
        margin: 0;
    }

/* ---- STATS CARDS ---- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.stat-card-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mid-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stat-card-value {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--black);
}

.stat-card-desc {
    font-size: 0.8rem;
    color: var(--mid-gray);
    margin-top: 0.25rem;
}

/* ---- CONTENT PANELS ---- */
.panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

    .panel-header h3 {
        font-size: 1rem;
        font-family: 'DM Sans', sans-serif;
        font-weight: 600;
        margin: 0;
    }

.panel-body {
    padding: 1.5rem;
}

/* ---- NOTE CARDS ---- */
.note-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.note-card-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.note-card-content {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.note-card-meta {
    font-size: 0.78rem;
    color: var(--mid-gray);
}

/* ---- ANNOUNCEMENT ---- */
.announcement-item {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
}

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

.announcement-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.announcement-content {
    font-size: 0.88rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.announcement-meta {
    font-size: 0.78rem;
    color: var(--mid-gray);
}

/* ---- LOGIN PAGE ---- */
.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-left {
    background: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

    .auth-left::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
        background-size: 40px 40px;
    }

.auth-left-content {
    position: relative;
    z-index: 1;
}

.auth-left h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.auth-left p {
    color: rgba(255,255,255,0.55);
    font-size: 1rem;
}

.auth-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    background: var(--white);
}

    .auth-right h2 {
        margin-bottom: 0.5rem;
    }

    .auth-right .subtitle {
        color: var(--mid-gray);
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

.auth-logo {
    margin-bottom: 2rem;
}

    .auth-logo img {
        height: 50px;
    }

/* ---- FOOTER ---- */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
}

.footer-col h4 {
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
}

    .footer-col ul li {
        margin-bottom: 0.6rem;
    }

        .footer-col ul li a {
            color: rgba(255,255,255,0.45);
            font-size: 0.88rem;
        }

            .footer-col ul li a:hover {
                color: var(--white);
            }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .footer-bottom p {
        color: rgba(255,255,255,0.3);
        font-size: 0.82rem;
        margin: 0;
    }

/* ---- TEAM SECTION ---- */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    background: var(--black);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

    .about-visual img {
        height: 120px;
        margin-bottom: 1.5rem;
    }

    .about-visual h3 {
        color: var(--white);
    }

    .about-visual p {
        color: rgba(255,255,255,0.5);
        font-size: 0.9rem;
    }

/* ---- SERVICE PAGE ---- */
.service-hero {
    background: var(--black);
    padding: 8rem 0 5rem;
    text-align: center;
}

    .service-hero h1 {
        color: var(--white);
        margin-bottom: 1rem;
    }

    .service-hero p {
        color: rgba(255,255,255,0.55);
        max-width: 600px;
        margin: 0 auto;
    }

/* ---- EMPTY STATE ---- */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--mid-gray);
}

    .empty-state .empty-icon {
        margin-bottom: 1rem;
    }

        .empty-state .empty-icon svg {
            width: 36px;
            height: 36px;
            stroke: var(--mid-gray);
            fill: none;
            stroke-width: 1.5;
            stroke-linecap: round;
            stroke-linejoin: round;
            margin: 0 auto;
            display: block;
        }

    .empty-state p {
        margin: 0;
    }

/* ---- UTILS ---- */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-between {
    justify-content: space-between;
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 1.5rem 0;
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--mid-gray);
    margin-bottom: 1rem;
}

    .breadcrumb a {
        color: var(--mid-gray);
    }

        .breadcrumb a:hover {
            color: var(--black);
        }

    .breadcrumb span {
        color: var(--black);
        font-weight: 500;
    }

/* ---- PROFILE ---- */
.profile-header {
    background: var(--black);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--white);
    flex-shrink: 0;
}

.profile-info h3 {
    color: var(--white);
    margin-bottom: 0.25rem;
}

.profile-info p {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    margin: 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

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

    .about-split {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .dashboard-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .dashboard-main {
        margin-left: 0;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.opx-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

/* Header */
.opx-tag {
    display: inline-block;
    background: #e9f1ff;
    color: #3b82f6;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .5px;
}

.opx-title {
    font-weight: 700;
    font-size: 2.2rem;
    color: #0f172a;
}

.opx-subtitle {
    max-width: 540px;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
}

.opx-divider {
    width: 50px;
    height: 3px;
    background: #3b82f6;
    border-radius: 10px;
}

/* Card */
.opx-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    border: 1px solid #eef2f7;
    height: 100%;
}

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

/* Icon */
.opx-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: #eef4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #3b82f6;
}

/* Text */
.opx-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #0f172a;
}

.opx-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.7;
}

.opx-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
}

/* Video fills entire section */
.opx-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Dark overlay for readability */
.opx-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Content styling */
.opx-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

    .opx-hero h1 em {
        font-style: normal;
        color: #60a5fa;
    }

.opx-hero-lead {
    max-width: 600px;
    margin: 1rem 0 2rem;
    color: #e2e8f0;
}

/* Badge */
.opx-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

/* Stats */
.opx-stat-strip {
    margin-top: 3rem;
}

.opx-stat-num {
    display: block;
    font-weight: 700;
}

.opx-stat-lbl {
    font-size: 0.8rem;
    color: #cbd5f5;
}

.card {
    transition: all 0.3s ease;
}

    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }

.btn {
    transition: all 0.2s ease;
}

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


@media (max-width: 991.98px) {
    #mainNavbar.show,
    #mainNavbar.collapsing {
        background: #ffffff;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        padding: 0.75rem 1rem 1rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

    /* Make nav links clearly readable against the white panel */
    #mainNavbar .nav-link {
        color: var(--black) !important;
        padding: 0.6rem 0.75rem;
    }

        #mainNavbar .nav-link:hover {
            background: var(--off-white);
            border-radius: 6px;
        }

    /* Push the auth buttons down with a little breathing room */
    #mainNavbar .d-flex.align-items-center {
        padding-top: 0.5rem;
        border-top: 1px solid var(--light-gray);
        margin-top: 0.5rem;
    }
}
