:root {
    --brand: #1b2a4a;
    --brand-2: #24406e;
    --accent: #f59e0b;
    --bg-soft: #f6f8fc;
    --muted: #6b7280;
    --radius: 16px;
    --radius-lg: 18px;
    --shadow-1: 0 8px 24px rgba(17, 24, 39, .06);
    --shadow-2: 0 10px 30px rgba(17, 24, 39, .08);
    --border: 1px solid rgba(0, 0, 0, .08);
    --sidebar-width: 280px;
    --sidebar-bg: #ffffff;
    --sidebar-item-active: #f3f4f6;
}

.text-brand {
    color: var(--brand) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.bg-brand-gradient {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%) !important;
}

.icon-pill-sm {
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

.icon-pill-md {
    width: 40px;
    height: 40px;
    border-radius: 14px;
}

.badge-premium {
    background: rgba(245, 158, 11, .18);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, .35);
}

.badge-soft-white {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
}

.bg-footer {
    background: #0b1220 !important;
}

.opacity-12 {
    opacity: .12 !important;
}

.opacity-25 {
    opacity: .25 !important;
}

.icon-pill-accent {
    background: rgba(245, 158, 11, .14) !important;
    color: #92400e !important;
}

.icon-pill-brand {
    background: rgba(27, 42, 74, .10) !important;
    color: var(--brand) !important;
}

.icon-pill-success {
    background: rgba(16, 185, 129, .12) !important;
    color: #065f46 !important;
}

.footer-contact-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
}

.cta-hero-card {
    background: rgba(255, 255, 255, .96);
}

.icon-pill-footer {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

html,
body {
    height: 100%;
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.text-muted-2 {
    color: var(--muted) !important;
}

.bg-soft {
    background: var(--bg-soft) !important;
}

.section-title {
    letter-spacing: -0.02em;
}

.container {
    max-width: 1140px;
}

.navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: saturate(180%) blur(12px);
}

.navbar .nav-link {
    font-weight: 500;
    color: #111827;
}

.navbar .nav-link:hover {
    color: var(--brand);
}

.navbar .btn {
    border-radius: 12px;
}

.offcanvas .list-group-item {
    border-color: rgba(0, 0, 0, .06);
}

.offcanvas .list-group-item:hover {
    background: rgba(27, 42, 74, .05);
}

.btn-brand {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
    color: #fff !important;
}

.btn-brand:hover {
    background: var(--brand-2) !important;
    border-color: var(--brand-2) !important;
    color: #fff !important;
}

.btn-outline-dark {
    border-color: rgba(17, 24, 39, .25) !important;
}

.btn-outline-dark:hover {
    background: #111827 !important;
    border-color: #111827 !important;
    color: #fff !important;
}

.badge-soft {
    background: rgba(27, 42, 74, .08) !important;
    color: var(--brand) !important;
    border: 1px solid rgba(27, 42, 74, .12);
}

.card-soft {
    border: var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-1);
    background: #fff;
}

.hero-card {
    border: var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2);
    background: #fff;
}

.icon-pill {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(27, 42, 74, .08);
    color: var(--brand);
}

.page-header {
    background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 99px;
}

.hero {
    background: radial-gradient(1200px 600px at 10% 10%, rgba(245, 158, 11, .18), transparent 55%),
    radial-gradient(900px 500px at 90% 20%, rgba(36, 64, 110, .18), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}

.hero .display-5 {
    letter-spacing: -0.03em;
}

.hero .lead {
    color: rgba(17, 24, 39, .65) !important;
}

.progress {
    background: rgba(17, 24, 39, .08);
}

.progress-bar {
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
}

.btn-option {
    border-radius: 12px;
    border-color: rgba(17, 24, 39, .18);
    text-align: left;
}

.btn-option:hover {
    border-color: rgba(27, 42, 74, .35);
    background: rgba(27, 42, 74, .04);
}

.form-control,
.input-group-text {
    border-color: rgba(17, 24, 39, .14) !important;
}

.form-control:focus {
    border-color: rgba(27, 42, 74, .35) !important;
    box-shadow: 0 0 0 .2rem rgba(27, 42, 74, .12) !important;
}

section {
    scroll-margin-top: 90px;
}

hr {
    opacity: .12;
}

.card-soft.hover-lift {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card-soft.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(17, 24, 39, .10);
    border-color: rgba(27, 42, 74, .18);
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color .18s ease;
}

.footer-link:hover {
    color: var(--accent);
}

/* Global Site Footer */
.site-footer {
    background: #0f172a;
    padding-top: 5rem;
    padding-bottom: 2rem;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.site-footer .footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-footer .footer-brand {
    margin-bottom: 1.5rem;
}

.site-footer .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.site-footer .footer-contact-item i {
    color: var(--accent);
    width: 16px;
}

.site-footer .footer-social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.site-footer .footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all .18s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-social-link:hover {
    background: var(--brand);
    border-color: var(--brand);
    transform: translateY(-3px);
    color: #fff;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 991.98px) {
    .container {
        max-width: 960px;
    }

    .hero .display-5 {
        font-size: 2.2rem;
    }
}

@media (max-width: 575.98px) {

    .hero-card,
    .card-soft {
        border-radius: 14px;
    }

    .btn {
        border-radius: 12px;
    }
}

#mainNavbar {
    transition: box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

#mainNavbar .container {
    transition: padding .18s ease;
}

#mainNavbar .container {
    padding-top: .65rem !important;
    padding-bottom: .65rem !important;
}

#mainNavbar.is-scrolled {
    box-shadow: 0 14px 32px rgba(17, 24, 39, .12);
    border-bottom-color: rgba(0, 0, 0, .10) !important;
}

#mainNavbar.is-scrolled .container {
    padding-top: .35rem !important;
    padding-bottom: .35rem !important;
}

#mainNavbar.is-scrolled .icon-pill {
    width: 40px;
    height: 40px;
    border-radius: 13px;
}

/* SIDEBAR LAYOUT */
.app-wrapper {
    display: flex;
    min-height: 100vh;
}

.app-sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    border-right: var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    transition: all 0.3s ease;
}

.app-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    background: var(--bg-soft);
    min-width: 0;
    transition: all 0.3s ease;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: var(--border);
}

.sidebar-nav {
    padding: 1.25rem 0;
    overflow-y: auto;
    flex: 1;
}

.sidebar-nav-link {
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-nav-link:hover {
    background: var(--sidebar-item-active);
    color: var(--brand);
}

.sidebar-nav-link.active {
    background: rgba(27, 42, 74, 0.04);
    color: var(--brand);
    border-left-color: var(--brand);
}

.sidebar-nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: #9ca3af;
}

.sidebar-nav-link.active i {
    color: var(--brand);
}

.sidebar-footer {
    padding: 1rem;
    border-top: var(--border);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.sidebar-user:hover {
    background: #f9fafb;
}

.sidebar-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* MOBILE HEADER */
.app-mobile-header {
    display: none;
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: var(--border);
    padding: 0.75rem 1rem;
}

@media (max-width: 991.98px) {
    .app-sidebar {
        transform: translateX(-100%);
    }

    .app-sidebar.show {
        transform: translateX(0);
    }

    .app-content {
        margin-left: 0;
    }

    .app-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1035;
}

.sidebar-overlay.show {
    display: block;
}


/* BREADCRUMB CUSTOMIZATION */
.breadcrumb {
    margin-bottom: 0.5rem;
    background: transparent;
    padding: 0;
}

.breadcrumb-item {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: #a1a1aa;
    transition: all 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--brand);
}

.breadcrumb-item.active {
    color: #94a3b8;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    color: #e2e8f0;
    font-size: 0.75rem;
    font-weight: 400;
}

/* TOPBAR */
.app-topbar {
    height: 64px;
    background: #fff;
    border-bottom: var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1010;
}

.topbar-right .btn-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
    background: transparent;
    border: none;
}

.topbar-right .btn-icon:hover {
    background: #f1f5f9;
    color: var(--brand);
}

.topbar-right .btn-icon i {
    font-size: 1.1rem;
}

.h-20px {
    height: 20px;
}

.opacity-12 {
    opacity: 0.12;
}

@media (max-width: 991.98px) {
    .app-topbar {
        display: none !important;
    }
}

/* PREMIUM PAGE HEADERS */
.page-header-premium {
    padding-left: 1.25rem;
    border-left: 3px solid var(--brand);
    transition: all 0.3s ease;
}

.page-header-premium .pre-title {
    display: block;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.page-header-premium .section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.page-header-premium .section-desc {
    color: #64748b;
    font-size: 0.95rem;
    max-width: 650px;
    line-height: 1.6;
}

.gap-premium {
    gap: 3.5rem !important;
}

.mb-premium {
    margin-bottom: 3.5rem !important;
}

/* PREMIUM CARDS & GLASSMORPHISM */
.premium-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(27, 42, 74, 0.08);
    border-color: rgba(27, 42, 74, 0.12);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.premium-card .card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(27, 42, 74, 0.03) 0%, transparent 70%);
    pointer-events: none;
    transition: all 0.5s ease;
    opacity: 0;
    z-index: 0;
}

.premium-card:hover .card-glow {
    opacity: 1;
    transform: translate(10%, 10%);
}

.icon-box-premium {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.premium-card:hover .icon-box-premium {
    transform: scale(1.1) rotate(-5deg);
}

.text-gradient-brand {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.progress-premium {
    height: 8px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.progress-premium .progress-bar {
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(27, 42, 74, 0.2);
}

/* Sidebar active state için */
.sidebar-nav-link.active {
    background: var(--brand-gradient) !important;
    color: white !important;
}

.sidebar-nav-link.active i {
    color: white !important;
}

/* Notification badge */
.translate-middle {
    transform: translate(50%, -50%) !important;
}

/* Dropdown menu improvements */
.dropdown-menu {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.notification-list .dropdown-item:hover {
    background-color: rgba(245, 158, 11, 0.05);
}