:root {
    --brand-primary: #2563eb;
    --brand-dark: #0b1120;
    --brand-accent: #06b6d4;
    --brand-soft: #eff6ff;
    --text-muted: #64748b;
    --brand-highlight: #7c3aed;
}

* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    background: #f8fbff;
    color: #0f172a;
    min-height: 100%;
    margin: 0;
}

.topbar {
    background: #020617;
}

.main-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(11, 17, 32, 0.08);
}

.navbar-brand {
    color: var(--brand-dark) !important;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 600;
    color: #334155 !important;
    transition: 0.3s ease;
}

.nav-link.active,
.nav-link:hover {
    color: var(--brand-primary) !important;
}

/* Corporate Dropdown */
.corporate-dropdown {
    border-radius: 18px;
    padding: 10px;
    min-width: 340px;
    background: #ffffff;
}

.corporate-dropdown .dropdown-item {
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
    color: #1f2937;
    white-space: normal;
    transition: all 0.2s ease;
}

.corporate-dropdown .dropdown-item:hover,
.corporate-dropdown .dropdown-item.active {
    background: linear-gradient(135deg, #0f172a, #155e75);
    color: #ffffff;
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    border: none;
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
    transition: all 0.3s ease;
}

.btn-brand:hover,
.btn-brand:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.32);
}

.btn-outline-brand {
    border: 1px solid rgba(37, 99, 235, 0.25);
    color: var(--brand-primary);
    border-radius: 12px;
    font-weight: 600;
    background: rgba(255,255,255,0.7);
    transition: 0.3s ease;
}

.btn-outline-brand:hover {
    background: var(--brand-primary);
    color: #fff;
}

.hero-section {
    background:
        radial-gradient(circle at top left, rgba(6,182,212,0.20), transparent 30%),
        radial-gradient(circle at bottom right, rgba(124,58,237,0.16), transparent 30%),
        linear-gradient(135deg, #0b1120 0%, #172554 45%, #0f766e 100%);
    color: #fff;
    padding: 100px 0 80px;
}

.hero-badge,
.section-badge {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.14);
    font-size: 14px;
    font-weight: 600;
}

.page-hero {
    background: linear-gradient(135deg, #0b1120 0%, #1d4ed8 60%, #06b6d4 100%);
    color: #fff;
    padding: 80px 0;
}

/* Corporate Page */
.corporate-hero {
    background:
        radial-gradient(circle at top left, rgba(6,182,212,0.22), transparent 32%),
        radial-gradient(circle at bottom right, rgba(37,99,235,0.20), transparent 35%),
        linear-gradient(135deg, #0b1120 0%, #164e63 55%, #0e7490 100%);
    color: #ffffff;
    padding: 90px 0;
}

.corporate-board-hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
}

.corporate-board-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -130px;
    top: -120px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.corporate-hero-card {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 28px;
    padding: 32px;
    backdrop-filter: blur(18px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

.corporate-hero-icon {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: #ffffff;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 22px;
}

.corporate-intro-section {
    margin-top: -50px;
    padding-bottom: 70px;
    position: relative;
    z-index: 3;
}

.corporate-intro-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 36px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
}

.corporate-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.corporate-stat-box {
    background: linear-gradient(180deg, #f8fbff, #eef6ff);
    border: 1px solid rgba(37,99,235,0.10);
    border-radius: 22px;
    padding: 22px;
    text-align: center;
}

.corporate-stat-box strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 4px;
}

.corporate-stat-box span {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.board-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 0;
    height: 100%;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
    transition: all 0.25s ease;
    text-align: center;
    overflow: hidden;
}

.board-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.14);
}

.corporate-board-card {
    max-width: 390px;
    margin: 0 auto;
}

.board-image-wrap {
    padding: 0;
    background: transparent;
    border-bottom: none;
    overflow: hidden;
}

.board-avatar {
    width: 170px;
    height: 170px;
    border-radius: 34px;
    background: linear-gradient(135deg, #0f172a, #0e7490);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
    font-weight: 800;
    margin: 0 auto;
}

.board-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center top;
    border: none;
    border-radius: 30px 30px 0 0;
    box-shadow: none;
    display: block;
    background: transparent;
}

.board-content {
    padding: 30px;
}

.board-position {
    color: #0e7490;
    font-weight: 800;
    margin-bottom: 14px;
}

.board-divider {
    width: 54px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    margin: 0 auto 18px;
}

.board-desc {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

.corporate-contact-box {
    border-radius: 30px;
    padding: 42px;
    box-shadow: 0 25px 65px rgba(37, 99, 235, 0.18);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-weight: 800;
    font-size: 2rem;
}

.section-text {
    color: var(--text-muted);
}

.glass-card,
.feature-card,
.plan-card,
.info-card,
.admin-card {
    background: #fff;
    border: none;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.glass-card {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    backdrop-filter: blur(16px);
}

.feature-card,
.plan-card,
.info-card {
    padding: 28px;
    height: 100%;
    transition: all 0.3s ease;
}

.admin-card {
    padding: 28px;
    height: auto !important;
    min-height: 0 !important;
    transition: all 0.3s ease;
}

.feature-card:hover,
.plan-card:hover,
.info-card:hover,
.admin-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

.icon-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(6,182,212,0.16));
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 18px;
}

.soft-section {
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.plan-card.featured {
    background: linear-gradient(180deg, #2563eb, #1e3a8a);
    color: #fff;
    transform: translateY(-8px);
    box-shadow: 0 22px 55px rgba(37, 99, 235, 0.28);
}

.plan-card.featured .text-muted,
.plan-card.featured li,
.plan-card.featured .plan-price small {
    color: rgba(255,255,255,0.82) !important;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
}

.plan-card ul {
    padding-left: 18px;
}

.plan-card li {
    margin-bottom: 10px;
    color: #475569;
}

.stats-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.06);
    padding: 24px;
    text-align: center;
    height: 100%;
    transition: 0.3s ease;
}

.stats-box:hover {
    transform: translateY(-4px);
}

.stats-box h3 {
    font-weight: 800;
    color: var(--brand-primary);
}

.contact-box {
    background: linear-gradient(135deg, #0b1120 0%, #1d4ed8 55%, #06b6d4 100%);
    color: #fff;
    border-radius: 24px;
    padding: 32px;
}

.form-control,
.form-select {
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    background: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 0.25rem rgba(6,182,212,0.15);
}

.site-footer {
    background: #020617;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: #eff6ff;
}

.table-responsive {
    margin-bottom: 0;
}

.admin-sidebar {
    min-height: 100vh;
    height: auto;
    background: linear-gradient(180deg, #020617 0%, #0f172a 100%);
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.76) !important;
    border-radius: 12px;
    padding: 10px 14px;
    transition: 0.3s ease;
}

.admin-sidebar .nav-link.active,
.admin-sidebar .nav-link:hover {
    background: rgba(37,99,235,0.18);
    color: #fff !important;
}

/* Fix dashboard blank area */
.admin-content,
.admin-main,
main {
    min-height: auto !important;
    height: auto !important;
}

.latest-inquiries-card {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 24px !important;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(6,182,212,0.20), transparent 30%),
        radial-gradient(circle at bottom right, rgba(124,58,237,0.16), transparent 30%),
        linear-gradient(135deg, #0b1120 0%, #172554 50%, #1d4ed8 100%);
    padding: 24px;
}

.login-card {
    max-width: 440px;
    width: 100%;
    border-radius: 24px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    padding: 32px;
}

@media (max-width: 991px) {
    .hero-section {
        padding: 80px 0 70px;
    }

    .corporate-hero {
        padding: 75px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .admin-sidebar {
        min-height: auto;
    }

    .corporate-dropdown {
        min-width: 100%;
        box-shadow: none !important;
        border-radius: 14px;
        margin-top: 8px;
    }
}