:root {
    --primary-color: #0b3b60; /* Deep authoritative blue */
    --primary-hover: #082a45;
    --secondary-color: #f8f9fa;
    --accent-color: #00a859; /* Green for environmental/success themes */
    --text-dark: #2d3748;
    --text-light: #718096;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: #fafbfc;
}

/* Typography utilities */
.tracking-wider {
    letter-spacing: 0.05em;
}

.line-height-lg {
    line-height: 1.8;
}

.z-index-1 {
    z-index: 1;
}

/* Color overrides for Bootstrap */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-hover);
    font-size: 0.85rem;
    position: relative;
    z-index: 1030; /* Ensure dropdowns appear above sticky-top navbar (z-index 1020) */
}

.social-links a:hover {
    color: var(--accent-color) !important;
    transition: color 0.3s ease;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-dark) !important;
    position: relative;
    padding-bottom: 0.5rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-bg {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.05); /* Slight zoom for parallax feel */
    transition: transform 0.5s ease;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(11, 59, 96, 0.85) 0%, rgba(0, 168, 89, 0.6) 100%);
    z-index: 0;
}

.hero-title {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Stat Cards */
.icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

/* Services */
.title-divider {
    height: 4px;
    width: 60px;
    border-radius: 2px;
}

.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.1)!important;
}

.card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:hover .card-icon {
    transform: scale(1.1);
}

.service-card.bg-primary:hover {
    background-color: var(--primary-hover) !important;
}

/* News Items */
.news-item {
    transition: transform 0.2s ease;
}

.news-item:hover {
    transform: translateX(5px);
    border-left: 4px solid var(--primary-color) !important;
}

/* Footer */
.footer-links a {
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
    color: #fff !important;
    padding-left: 5px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #fff;
    color: var(--primary-color) !important;
    transform: translateY(-3px);
}

/* Grievance Portal */
.grievance-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid var(--primary-color) !important;
}

.grievance-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.08) !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(11, 59, 96, 0.25);
}

#assessmentContainer .table-responsive table th {
    width: 40%;
    font-weight: 600;
}

#assessmentContainer .table-responsive table tbody tr td,
#assessmentContainer .table-responsive table tbody tr th {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

#assessmentContainer .table-responsive table tbody tr:not(:last-child) td {
    border-bottom: 1px solid #eef2f6;
}

#assessmentContainer .badge {
    letter-spacing: 0.04em;
}

/* Professional alignment and money formatting */
.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, 'Roboto Mono', 'Courier New', monospace;
    font-size: 0.95rem;
}

.money {
    text-align: right !important;
    white-space: nowrap;
}

#assessmentContainer .card-body {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

#resApiRaw {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, 'Roboto Mono', 'Courier New', monospace;
    font-size: 0.85rem;
    max-height: 220px;
    overflow: auto;
}

/* Badge colors */
.badge.bg-warning.text-dark {
    background-color: #fff3cd !important;
    color: #856404 !important;
}

.badge.bg-success {
    background-color: #d1e7dd !important;
    color: #0f5132 !important;
}

/* 3D card outline glow */
.card-3d {
    position: relative;
    transition: transform 0.35s cubic-bezier(.2,.9,.3,1), box-shadow 0.35s ease;
    transform-origin: center;
    will-change: transform;
    border: 1px solid rgba(255,255,255,0.04);
}

.card-3d::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(90deg, rgba(11,59,96,0.12), rgba(0,168,89,0.08));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    pointer-events: none;
    filter: none;
    opacity: 0.35;
}

.card-3d:hover {
    transform: translateY(-8px) rotateX(1deg) scale(1.01);
    box-shadow: none;
}

/* Make sure the gateway card uses the same 3D style */
#assessmentContainer .card,
#paymentGatewayContainer .card {
    border-radius: 14px;
}

#assessmentContainer .card { padding: 0; }

#assessmentContainer .card-header,
#paymentGatewayContainer .card {
    position: relative;
}

/* Apply card-3d class to the cards via utility selector */
.card.border-0.shadow-sm.rounded-4.overflow-hidden.mb-4,
.card.border-0.shadow-lg.rounded-4.overflow-hidden.text-center.p-5 {
    /* keep original styles but also add 3d look */
}

/* Add explicit class usage in HTML for best control */

/* Animated multicolor gradient border */
.card-animated-border {
    position: relative;
    z-index: 0;
    border-radius: 14px;
    overflow: visible;
}

.card-animated-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, #00a859, #0b3b60, #d35400, #5b2c6f, #00a859);
    background-size: 300% 300%;
    border-radius: 16px;
    filter: none;
    opacity: 1;
    z-index: 0;
    animation: gradientMove 6s linear infinite;
    pointer-events: none;
}

.card-animated-border::after {
    /* inner mask to create a visible border ring */
    content: '';
    position: absolute;
    inset: 2px;
    background: #ffffff; /* matches card background */
    border-radius: 12px;
    z-index: 1;
    pointer-events: none;
}

.card-animated-border > * {
    position: relative;
    z-index: 2;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


#emptyState i {
    color: var(--text-light);
}

/* Custom Grid Layout - Social & Panels */
.dark-header {
    background-color: var(--bs-emphasis-color);
    color: var(--bs-body-bg);
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: 600;
}

.custom-widget {
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    margin-bottom: 20px;
}

/* Two-Tone Profile Card */
.two-tone-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    border-bottom-right-radius: 24px;
    overflow: hidden;
    position: relative;
    background: var(--bs-body-bg);
    padding-bottom: 20px;
    height: 100%;
    box-shadow: 4px 4px 0px 0px var(--bs-warning);
    transition: transform 0.2s ease;
}

.two-tone-card:hover {
    transform: translateY(-3px);
}

.two-tone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
    background-color: var(--bs-tertiary-bg);
    z-index: 0;
}

.profile-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bs-body-bg), 0 0 0 6px var(--bs-warning);
    position: relative;
    z-index: 1;
    margin-top: 55px; /* Overlaps the peach background */
    margin-bottom: 25px;
    object-fit: cover;
    background-color: var(--bs-body-bg);
}

/* Scrollable News List */
.scrollable-list {
    max-height: 300px;
    overflow-y: auto;
}

.scrollable-list::-webkit-scrollbar {
    width: 6px;
}
.scrollable-list::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
.scrollable-list::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 10px;
}
.scrollable-list::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

.news-list-item {
    border-bottom: 1px solid #eee;
    padding: 12px 15px;
}
.news-list-item:last-child {
    border-bottom: none;
}
.news-list-item a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}
.news-list-item a:hover {
    color: var(--primary-color);
}
.news-date-text {
    color: #17a2b8; /* Cyan/blue date text */
    font-size: 0.8rem;
}

/* Image Panels */
.panel-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.view-all-link {
    display: block;
    text-align: center;
    background: var(--bs-tertiary-bg);
    padding: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-top: 1px solid var(--bs-border-color);
}
.view-all-link:hover {
    background: var(--bs-secondary-bg);
}

/* Modern CSS Ticker Animations to replace deprecated <marquee> */
.ticker-container {
    height: 100%;
    overflow: hidden;
    position: relative;
    padding: 15px;
    background: var(--bs-body-bg);
}

.ticker-content {
    animation: vertical-ticker-scroll 12s linear infinite;
}

.ticker-container:hover .ticker-content {
    animation-play-state: paused;
}

@keyframes vertical-ticker-scroll {
    0% { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}

.h-ticker-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    white-space: nowrap;
}

.h-ticker-content {
    display: inline-block;
    animation: horizontal-ticker-scroll 20s linear infinite;
}

.h-ticker-container:hover .h-ticker-content {
    animation-play-state: paused;
}

@keyframes horizontal-ticker-scroll {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* Custom Color Themes */
[data-bs-theme="theme-green"] {
    --primary-color: #1e7145;
    --primary-hover: #145230;
    --accent-color: #0b3b60;
}

[data-bs-theme="theme-orange"] {
    --primary-color: #d35400;
    --primary-hover: #a04000;
    --accent-color: #0b3b60;
}

[data-bs-theme="theme-purple"] {
    --primary-color: #5b2c6f;
    --primary-hover: #4a235a;
    --accent-color: #d35400;
}

/* High Contrast Theme Overrides */
[data-bs-theme="high-contrast"] {
    --bs-body-bg: #000000;
    --bs-body-color: #ffff00;
    --bs-emphasis-color: #ffff00;
    --bs-border-color: #ffffff;
    --primary-color: #ffff00;
    --primary-hover: #ffcc00;
    --bs-tertiary-bg: #111111;
    --bs-secondary-bg: #222222;
}

[data-bs-theme="high-contrast"] .bg-white,
[data-bs-theme="high-contrast"] .bg-light {
    background-color: #000000 !important;
}

[data-bs-theme="high-contrast"] .text-dark,
[data-bs-theme="high-contrast"] .text-muted {
    color: #ffffff !important;
}

[data-bs-theme="high-contrast"] * {
    border-color: #ffff00 !important;
}

/* Ensure Google Translate widget inherits font and doesn't break layout */
.goog-te-gadget {
    color: transparent !important;
    font-size: 0;
}
.goog-te-gadget .goog-te-combo {
    color: var(--text-dark);
    font-size: 14px;
    padding: 2px;
    border-radius: 4px;
    margin: 0;
}
.goog-logo-link {
    display: none !important;
}
.goog-te-gadget span {
    display: none !important;
}

/* Auto Dropdown on Mouse Over (Desktop) */
@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: dropFadeIn 0.2s ease-out forwards;
    }
    
    /* Ensure no gap causes the menu to close when moving mouse down */
    .dropdown-menu {
        top: 95%;
    }
}

@keyframes dropFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Animations & Dynamic Effects
========================================= */

/* 1. Page Load Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply staggered fade-in to major elements */
header .container {
    animation: fadeInUp 0.8s ease-out forwards;
}

main > .row > div {
    opacity: 0; /* start hidden */
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger delay for columns */
main > .row > div:nth-child(1) { animation-delay: 0.1s; }
main > .row > div:nth-child(2) { animation-delay: 0.3s; }
main > .row > div:nth-child(3) { animation-delay: 0.5s; }

/* 2. Hover Lift Effects for Cards & Widgets */
.card, .two-tone-card, .custom-widget {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover, .two-tone-card:hover, .custom-widget:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12) !important;
}

/* 3. Button Hover Effects */
.btn-primary, .btn-outline-primary, .btn-light {
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-outline-primary:hover, .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15) !important;
}

.btn:active {
    transform: translateY(1px);
}

/* 4. Floating Background Icons in Headers (Grievance & Transaction Pages) */
@keyframes floatUpDown {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

header i.fa-6x, header i.fa-headset, header i.fa-file-invoice-dollar, .floating-hero-img {
    animation: floatUpDown 5s ease-in-out infinite;
}

/* 5. Input Focus Transitions */
.form-control, .form-select {
    transition: all 0.3s ease;
}
.form-control:focus, .form-select:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 0.25rem var(--primary-color-opacity, rgba(11, 59, 96, 0.25)) !important;
    border-color: var(--primary-color) !important;
}

/* Smooth Result Fade In */
#resultContainer {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* =========================================
   Floating WhatsApp Chatbot Widget
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: #fff;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateX(10px);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    .whatsapp-tooltip {
        display: none; /* Hide tooltip on small screens */
    }
}

/* =========================================
   Tourist Places Section
   ========================================= */
.tourist-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tourist-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
}
.tourist-card:hover img {
    transform: scale(1.06);
}

/* =========================================
   Professional Property Tax Table
   ========================================= */

/* Enhanced Table Header with Gradient */
#assessmentContainer .table thead {
    background: linear-gradient(135deg, #0b3b60 0%, #1a5a8a 50%, #0b3b60 100%);
    position: sticky;
    top: 0;
    z-index: 10;
}

#assessmentContainer .table thead th {
    color: #ffffff;
    font-weight: 700;
    padding: 1rem;
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Alternating Row Colors */
#assessmentContainer .table tbody tr:nth-child(odd) {
    background-color: #f8f9fa;
}

#assessmentContainer .table tbody tr:nth-child(even) {
    background-color: #ffffff;
}

#assessmentContainer .table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

#assessmentContainer .table tbody tr:hover {
    background-color: #e8f4f8;
    box-shadow: 0 2px 8px rgba(11, 59, 96, 0.08);
}

/* Table Cell Styling */
#assessmentContainer .table tbody td {
    padding: 1.2rem;
    vertical-align: middle;
    border: none;
}

#assessmentContainer .table tbody td:first-child {
    font-weight: 600;
    color: #0b3b60;
}

#assessmentContainer .table tbody td:nth-child(2) {
    color: #2d3748;
    font-weight: 500;
}

#assessmentContainer .table tbody td:nth-child(3) {
    color: #0b3b60;
    font-weight: 600;
}

#assessmentContainer .table tbody td:nth-child(4) {
    color: #00a859;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Small labels under property info */
#assessmentContainer .table small {
    color: #7a8896;
    font-size: 0.8rem;
    display: block;
    margin-top: 2px;
    font-weight: 500;
}

/* Badge styling in table */
#assessmentContainer .badge {
    padding: 0.6rem 1rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 0.85rem;
}

/* Verify & Login Button - Premium Styling */
#btnVerifyLogin {
    background: linear-gradient(135deg, #0b3b60 0%, #1a5a8a 100%);
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(11, 59, 96, 0.3);
}

#btnVerifyLogin::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

#btnVerifyLogin:hover::before {
    left: 100%;
}

#btnVerifyLogin:hover {
    background: linear-gradient(135deg, #1a5a8a 0%, #0b3b60 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(11, 59, 96, 0.4);
}

#btnVerifyLogin:active {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(11, 59, 96, 0.3);
}

#btnVerifyLogin i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

/* Icon animations */
@keyframes pulse-shield {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

#btnVerifyLogin i {
    display: inline-block;
    animation: pulse-shield 2s infinite;
}

#btnVerifyLogin:hover i {
    animation: none;
}

/* =========================================
   Modern Compact Table Styles
   ========================================= */

.modern-table {
    --table-border-color: #e0e7ff;
    --table-hover-bg: #f0f9ff;
    --header-bg: linear-gradient(135deg, #0b3b60 0%, #1a5a8a 50%, #0b3b60 100%);
}

.modern-table .table {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.modern-table .modern-header {
    background: linear-gradient(135deg, #0b3b60 0%, #1a5a8a 50%, #0b3b60 100%);
}

.modern-table .modern-header th {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.8rem;
    border: none;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.modern-table .modern-header th i {
    margin-right: 0.4rem;
    opacity: 0.9;
}

.modern-table .modern-body tr {
    border-bottom: 1px solid #e0e7ff;
    transition: all 0.2s ease;
}

.modern-table .modern-body tr:hover {
    background-color: #f0f9ff;
    box-shadow: 0 2px 8px rgba(11, 59, 96, 0.06);
}

.modern-table td {
    padding: 0.75rem 0.8rem;
    font-size: 0.9rem;
    vertical-align: middle;
    border: none;
}

.modern-table .mono {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.85rem;
}

/* Detail Box Styling */
.detail-box {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background-color: #ffffff;
    border-left: 3px solid #0b3b60;
    border-radius: 0.35rem;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #7a8896;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0b3b60;
}

/* Card gradient header */
.bg-gradient-primary {
    background: linear-gradient(135deg, #0b3b60 0%, #1a5a8a 50%, #0b3b60 100%) !important;
}

/* Button hover in footer */
#assessmentContainer .card-footer .btn-primary {
    background: linear-gradient(135deg, #0b3b60 0%, #1a5a8a 100%);
    border: none;
    transition: all 0.3s ease;
}

#assessmentContainer .card-footer .btn-primary:hover {
    background: linear-gradient(135deg, #1a5a8a 0%, #0b3b60 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 59, 96, 0.3);
}
