:root {
    --primary-color: #0096e8;
    --primary-dark: #0077b3;
    --primary-rgb: 0, 150, 232;
    --text-dark: #1c1c1d;
    --text-light: #4a4a4a;
    --text-muted: #6c757d;
    --border-color: #eaeaea;
    --background-light: #ffffff;
    --background-off: #f8f9fa;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --border-radius: 20px;
    --border-radius-sm: 12px;
}
.bread-inner h2 {
    color: white;
    font-weight: 700;
}

.bread-list li a {
    color: rgba(255, 255, 255, 0.9);
}

.bread-list li.active a {
    color: white;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 30px;
    background: linear-gradient(
        to bottom,
        var(--background-light),
        var(--background-off)
    );
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    background: rgba(var(--primary-rgb), 0.1);
    padding: 5px 15px;
    border-radius: 30px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-content .highlight::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(var(--primary-rgb), 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Values Showcase - Flip Cards */
.values-showcase {
    padding: 50px 0 70px;
    background: var(--background-light);
}

.value-card {
    perspective: 1500px;
    height: 350px;
    margin-bottom: 30px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.value-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--border-radius);
    padding: 35px 25px;
    background: var(--background-light);
    border: 1px solid var(--border-color);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--border-color);
}

.card-front::-webkit-scrollbar,
.card-back::-webkit-scrollbar {
    width: 5px;
}

.card-front::-webkit-scrollbar-track,
.card-back::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 10px;
}

.card-front::-webkit-scrollbar-thumb,
.card-back::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-back {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--primary-dark)
    );
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: none;
}

.value-symbol {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.value-icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 32px;
    transition: var(--transition);
}

.value-card:hover .value-icon-circle {
    background: rgba(var(--primary-rgb), 0.2);
    transform: scale(1.05) rotate(5deg);
}

.card-front h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.underline {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.5;
    transition: width 0.3s ease;
}

.value-card:hover .underline {
    width: 70px;
    opacity: 0.8;
}

.preview {
    color: var(--text-muted);
    font-style: italic;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.card-back p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.95;
}

.back-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.back-details span {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.back-details span:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Mission Banner */
.mission-banner {
    padding: 80px 0;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--primary-dark)
    );
    color: white;
    position: relative;
    overflow: hidden;
}

.mission-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(
            circle at 20% 50%,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%
        ),
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.05) 0px,
            rgba(255, 255, 255, 0.05) 2px,
            transparent 2px,
            transparent 10px
        );
}

.mission-content {
    position: relative;
    text-align: center;
    padding: 0 40px;
    z-index: 1;
}

.quote-mark {
    font-size: 120px;
    position: absolute;
    top: -60px;
    left: 0;
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.mission-content p {
    font-size: 24px;
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.mission-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.mission-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.8;
    font-weight: 400;
}

.company {
    font-size: 16px;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.company::before {
    content: "•";
    position: absolute;
    left: 0;
    opacity: 0.6;
}

/* Animation Keyframes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.value-card {
    animation: float 6s ease-in-out infinite;
    animation-delay: calc(var(--card-index, 0) * 0.2s);
}

/* Responsive Design */
@media (max-width: 991px) {
    .value-card {
        height: 330px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0 20px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
        padding: 0 20px;
    }

    .value-card {
        height: 320px;
        animation: none;
    }

    .value-icon-circle {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .card-front h3 {
        font-size: 22px;
    }

    .mission-banner {
        padding: 60px 0;
    }

    .mission-content p {
        font-size: 20px;
    }

    .mission-footer {
        flex-direction: column;
        gap: 15px;
    }

    .company::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .value-card {
        height: 300px;
    }

    .card-front,
    .card-back {
        padding: 25px 20px;
    }

    .back-details span {
        font-size: 11px;
        padding: 4px 12px;
    }

    .mission-content {
        padding: 0 20px;
    }

    .mission-content p {
        font-size: 18px;
    }

    .quote-mark {
        font-size: 80px;
        top: -40px;
    }
}

/* Animation for hover effects on non-touch devices */
@media (hover: hover) {
    .value-card:hover .card-front {
        box-shadow: var(--shadow-lg);
    }
}

/* Ensure cards work on touch devices */
@media (hover: none) {
    .value-card .card-inner {
        transform: none;
    }

    .value-card.active .card-inner {
        transform: rotateY(180deg);
    }

    .value-card {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .hero-section,
    .values-showcase,
    .mission-banner {
        padding: 20px 0;
        break-inside: avoid;
    }

    .value-card {
        break-inside: avoid;
        height: auto;
    }

    .card-inner {
        transform: none !important;
        box-shadow: none;
    }

    .card-back {
        display: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .value-card,
    .card-inner,
    .value-icon-circle,
    .underline,
    .back-details span {
        animation: none;
        transition: none;
    }
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    background: #0096e8 !important;
    color: white !important;
    border: none !important;
}

.nav-tabs > li > a:hover {
    background: rgba(44, 62, 80, 0.05) !important;
    color: #0096e8 !important;
    border: none !important;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(44, 62, 80, 0.1) !important;
}

.solution-card a:hover {
    background: #0096e8 !important;
    color: white !important;
}

@media (max-width: 768px) {
    .nav-tabs > li {
        width: 100%;
        margin: 2px 0 !important;
    }

    .nav-tabs > li > a {
        border-radius: 5px !important;
    }
}

select.form-control {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-main {
    padding-right: 15px;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Our Approach */
.approach-hero {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.approach-hero-content {
    text-align: center;
}

.approach-hero-content h1 {
    color: var(--text-dark);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 18px;
}

.approach-hero-content p {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 760px;
}

.approach-process {
    background: #ffffff;
}

.approach-steps {
    margin-top: 10px;
}

.approach-step {
    background: #ffffff;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    min-height: 285px;
    padding: 34px 26px 30px;
    position: relative;
    transition: var(--transition);
}

.approach-step:hover,
.approach-step.active {
    border-color: rgba(var(--primary-rgb), 0.22);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.step-number {
    color: rgba(var(--primary-rgb), 0.16);
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    position: absolute;
    right: 22px;
    top: 22px;
}

.step-icon {
    align-items: center;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    display: flex;
    font-size: 26px;
    height: 66px;
    justify-content: center;
    margin-bottom: 24px;
    width: 66px;
}

.approach-step.active .step-icon,
.approach-step:hover .step-icon {
    background: var(--primary-color);
    color: #ffffff;
}

.approach-step h3 {
    color: var(--text-dark);
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 12px;
}

.approach-step p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.approach-principles {
    background: #f8f9fa;
    padding: 80px 0 55px;
}

.principles-intro {
    padding-right: 25px;
}

.principles-intro span {
    color: var(--primary-color);
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.principles-intro h2 {
    color: var(--text-dark);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 18px;
}

.principles-intro p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.principle-item {
    background: #ffffff;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
    min-height: 205px;
    padding: 28px 24px;
}

.principle-item i {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 18px;
}

.principle-item h4 {
    color: var(--text-dark);
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 10px;
}

.principle-item p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.approach-cta {
    background: var(--primary-color);
    padding: 70px 0;
}

.approach-cta-content {
    text-align: center;
}

.approach-cta-content h2 {
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 14px;
}

.approach-cta-content p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 25px;
}

.approach-cta .button .btn {
    background: #ffffff;
    color: var(--primary-color);
}

.approach-cta .button .btn.primary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #ffffff;
}

.approach-cta .button .btn:hover,
.approach-cta .button .btn.primary:hover {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: #ffffff;
}

@media (max-width: 991px) {
    .principles-intro {
        margin-bottom: 35px;
        padding-right: 0;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .approach-hero-content h1 {
        font-size: 32px;
    }

    .approach-hero-content p,
    .approach-cta-content p {
        font-size: 16px;
    }

    .approach-step,
    .principle-item {
        min-height: auto;
    }

    .principles-intro h2,
    .approach-cta-content h2 {
        font-size: 28px;
    }
}

/* Public forms and insights */
.site-alert {
    background: rgba(var(--primary-rgb), 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
    color: var(--text-dark);
    margin-bottom: 22px;
    padding: 14px 18px;
}

.site-form {
    background: #ffffff;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    padding: 32px;
}

.form-row {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-form input,
.site-form select,
.site-form textarea,
.comment-form input,
.comment-form select,
.comment-form textarea {
    border: 1px solid #e3e7ec;
    border-radius: 6px;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding: 13px 14px;
    width: 100%;
}

.site-form textarea,
.comment-form textarea {
    resize: vertical;
}

.insight-card {
    background: #ffffff;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    overflow: hidden;
    transition: var(--transition);
}

.insight-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.insight-card img,
.insight-card-placeholder {
    display: flex;
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.insight-card-placeholder {
    align-items: center;
    background: #f8f9fa;
    color: var(--primary-color);
    font-size: 46px;
    justify-content: center;
}

.insight-card-body {
    padding: 24px;
}

.insight-card-body span,
.insight-meta {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.insight-card-body h3 {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.35;
    margin: 10px 0;
}

.insight-card-body h3 a {
    color: var(--text-dark);
}

.insight-card-body p,
.comment-item p,
.comment-empty {
    color: var(--text-muted);
    line-height: 1.7;
}

.insight-read-more {
    color: var(--primary-color);
    font-weight: 600;
}

.insight-empty {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
}

.insight-empty i {
    color: var(--primary-color);
    font-size: 42px;
    margin-bottom: 16px;
}

.insight-article h1 {
    color: var(--text-dark);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    margin: 10px 0 16px;
}

.insight-meta {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
}

.insight-gallery {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 28px;
}

.insight-gallery img {
    border-radius: 8px;
    height: 260px;
    object-fit: cover;
    width: 100%;
}

.rich-content {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.85;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
    color: var(--text-dark);
    margin-top: 28px;
}

.comment-section,
.related-insights {
    border-top: 1px solid #eef1f5;
    margin-top: 40px;
    padding-top: 34px;
}

.comment-section h2,
.related-insights h2 {
    color: var(--text-dark);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 22px;
}

.comment-item,
.comment-form-panel {
    background: #ffffff;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    margin-bottom: 22px;
    padding: 22px;
}

.comment-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.rating {
    color: #e8a200;
    letter-spacing: 2px;
}

.comment-reply {
    background: #f8f9fa;
    border-left: 3px solid var(--primary-color);
    margin: 15px 0 0 18px;
    padding: 14px 16px;
}

.comment-form-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-insights a {
    border-bottom: 1px solid #eef1f5;
    color: var(--text-dark);
    display: block;
    font-weight: 600;
    padding: 12px 0;
}

/* Admin dashboard */
.admin-body {
    background: #f4f7fb;
    color: #1c1c1d;
    font-family: "Poppins", sans-serif;
    margin: 0;
}

.admin-shell {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    background: #111827;
    color: #ffffff;
    flex: 0 0 260px;
    padding: 28px 18px;
}

.admin-brand {
    align-items: center;
    color: #ffffff;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    gap: 12px;
    margin-bottom: 34px;
}

.admin-brand img {
    background: #ffffff;
    border-radius: 6px;
    padding: 6px;
    width: 72px;
}

.admin-sidebar nav a {
    align-items: center;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.78);
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    padding: 12px 14px;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.admin-main {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.admin-topbar,
.admin-footer {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #e8edf3;
    display: flex;
    justify-content: space-between;
    padding: 20px 32px;
}

.admin-footer {
    border-bottom: 0;
    border-top: 1px solid #e8edf3;
    color: #687385;
    font-size: 13px;
}

.admin-eyebrow {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.admin-topbar h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 3px 0 0;
}

.admin-content {
    flex: 1;
    padding: 32px;
}

.admin-logout,
.admin-button {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    padding: 10px 16px;
}

.admin-button.ghost,
.admin-logout {
    background: #ffffff;
    color: var(--primary-color);
}

.admin-button.small {
    font-size: 12px;
    padding: 7px 10px;
}

.admin-alert {
    background: #e9f7ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
    margin-bottom: 20px;
    padding: 14px 16px;
}

.admin-alert.error {
    background: #fff1f1;
    border-color: #d93025;
}

.admin-stats,
.admin-grid,
.admin-form-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 24px;
}

.admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-stat,
.admin-panel {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    padding: 22px;
}

.admin-stat span {
    color: #687385;
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
}

.admin-stat strong {
    color: var(--primary-color);
    font-size: 34px;
}

.admin-panel-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.admin-panel-head h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.admin-list-item {
    border-top: 1px solid #eef1f5;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 16px 0;
}

.admin-list-item p,
.admin-list-item small,
.admin-empty {
    color: #687385;
}

.admin-actions,
.admin-row-actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

.admin-table {
    border-collapse: collapse;
    width: 100%;
}

.admin-table th,
.admin-table td {
    border-top: 1px solid #eef1f5;
    padding: 14px 10px;
    text-align: left;
}

.admin-row-actions a,
.admin-row-actions button {
    background: transparent;
    border: 0;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    padding: 0;
}

.status-pill {
    border-radius: 999px;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
}

.status-pill.published {
    background: #e8f7ee;
    color: #187a3b;
}

.status-pill.draft {
    background: #fff6df;
    color: #946300;
}

.admin-form label {
    display: block;
    margin-bottom: 18px;
}

.admin-form label span {
    color: #687385;
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    border: 1px solid #dce3ea;
    border-radius: 6px;
    padding: 12px;
    width: 100%;
}

.admin-image-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.admin-image-grid img {
    border-radius: 8px;
    height: 120px;
    object-fit: cover;
    width: 100%;
}

.admin-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

@media (max-width: 991px) {
    .admin-shell,
    .admin-topbar,
    .admin-footer {
        display: block;
    }

    .admin-sidebar {
        flex: none;
    }

    .admin-sidebar nav {
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-stats,
    .admin-grid,
    .admin-form-grid,
    .comment-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .form-row,
    .insight-gallery,
    .admin-image-grid {
        grid-template-columns: 1fr;
    }

    .site-form,
    .admin-content {
        padding: 22px;
    }

    .insight-article h1 {
        font-size: 31px;
    }
}

/* Insights database index */
.insight-filter-bar {
    align-items: center;
    background: #ffffff;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0 0 34px;
    padding: 12px;
}

.insight-filter-bar a {
    border-radius: 6px;
    color: var(--text-dark);
    font-weight: 600;
    padding: 10px 14px;
}

.insight-filter-bar a.active,
.insight-filter-bar a:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.insight-filter-bar span {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    display: inline-block;
    font-size: 12px;
    margin-left: 6px;
    min-width: 24px;
    padding: 2px 7px;
    text-align: center;
}

.insight-card-meta {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.insight-card-meta small {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
}

.home-insights {
    background: #f8f9fa;
}

.home-insights-action {
    margin-top: 10px;
    text-align: center;
}

.btn,
button.btn,
.button .btn {
    border-radius: 5px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: var(--transition);
}

.btn.primary,
button.btn.primary,
.button .btn.primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.btn:hover,
button.btn:hover,
.button .btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn.primary:hover,
button.btn.primary:hover,
.button .btn.primary:hover {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: #ffffff;
}

/* Skote-inspired admin theme */
.admin-body {
    --admin-sidebar: #2a3042;
    --admin-sidebar-dark: #232838;
    --admin-muted: #74788d;
    --admin-border: #eff2f7;
    --admin-bg: #f8f8fb;
    --admin-heading: #343a40;
    background: var(--admin-bg);
    color: #495057;
}

.admin-sidebar {
    background: var(--admin-sidebar);
    padding: 22px 16px;
}

.admin-sidebar-head {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    margin-bottom: 22px;
    padding: 14px;
}

.admin-sidebar-head p {
    color: #8f9bb8;
    font-size: 12px;
    line-height: 1.5;
    margin: 8px 0 0;
}

.admin-brand {
    font-size: 16px;
    margin-bottom: 0;
    padding: 0;
}

.admin-brand img {
    border-radius: 5px;
    padding: 5px;
    width: 58px;
}

.admin-menu-label {
    color: #6a7187;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 10px;
    padding: 0 12px;
    text-transform: uppercase;
}

.admin-sidebar nav a {
    border-radius: 4px;
    color: #a6b0cf;
    margin-bottom: 4px;
    padding: 11px 13px;
    position: relative;
}

.admin-sidebar nav a i {
    color: #6a7187;
    font-size: 15px;
    width: 18px;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
    background: var(--admin-sidebar-dark);
    color: #ffffff;
}

.admin-sidebar nav a.active::before {
    background: var(--primary-color);
    border-radius: 0 4px 4px 0;
    content: "";
    height: 22px;
    left: -16px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
}

.admin-sidebar nav a.active i,
.admin-sidebar nav a:hover i {
    color: var(--primary-color);
}

.admin-sidebar-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.18), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    border-radius: 8px;
    margin-top: 28px;
    padding: 16px;
}

.admin-sidebar-card span {
    color: #ffffff;
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.admin-sidebar-card p {
    color: #a6b0cf;
    font-size: 12px;
    line-height: 1.6;
    margin: 0 0 12px;
}

.admin-sidebar-card a {
    background: #ffffff;
    border-radius: 4px;
    color: var(--primary-color);
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 10px;
}

.admin-topbar,
.admin-footer {
    border-color: var(--admin-border);
    min-height: 70px;
    padding: 14px 28px;
}

.admin-footer {
    color: var(--admin-muted);
    min-height: auto;
}

.admin-topbar h1 {
    color: var(--admin-heading);
    font-size: 24px;
    font-weight: 600;
}

.admin-content {
    padding: 28px;
}

.admin-topbar-actions {
    align-items: center;
    display: flex;
    gap: 14px;
}

.admin-topbar-actions > a {
    color: var(--admin-muted);
    font-size: 13px;
    font-weight: 600;
}

.admin-user-chip {
    align-items: center;
    border-left: 1px solid var(--admin-border);
    border-right: 1px solid var(--admin-border);
    display: flex;
    gap: 10px;
    padding: 0 16px;
}

.admin-user-chip > span {
    align-items: center;
    background: rgba(var(--primary-rgb), 0.12);
    border-radius: 50%;
    color: var(--primary-color);
    display: flex;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.admin-user-chip strong,
.admin-user-chip small {
    display: block;
    line-height: 1.25;
}

.admin-user-chip strong {
    color: var(--admin-heading);
    font-size: 13px;
}

.admin-user-chip small {
    color: var(--admin-muted);
    font-size: 11px;
}

.admin-logout,
.admin-button {
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 14px;
    text-decoration: none;
}

.admin-button:hover,
.admin-logout:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.admin-button.ghost:hover,
.admin-logout:hover {
    background: #eef8ff;
    border-color: rgba(var(--primary-rgb), 0.22);
    color: var(--primary-dark);
}

.admin-hero-panel {
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #eef8ff 100%);
    border: 1px solid var(--admin-border);
    border-radius: 6px;
    box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03);
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    overflow: hidden;
    padding: 24px;
    position: relative;
}

.admin-hero-panel::after {
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: 50%;
    content: "";
    height: 180px;
    position: absolute;
    right: -60px;
    top: -80px;
    width: 180px;
}

.admin-hero-panel > * {
    position: relative;
    z-index: 1;
}

.admin-hero-panel span,
.panel-kicker {
    color: var(--primary-color);
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-hero-panel h2 {
    color: var(--admin-heading);
    font-size: 24px;
    font-weight: 600;
    margin: 7px 0 8px;
}

.admin-hero-panel p,
.admin-stat small,
.admin-list-item p,
.admin-list-item small,
.admin-empty {
    color: var(--admin-muted);
}

.admin-stats,
.admin-grid,
.admin-form-grid {
    gap: 20px;
}

.dashboard-grid {
    align-items: start;
}

.admin-stat,
.admin-panel {
    border-color: var(--admin-border);
    border-radius: 6px;
    box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03);
}

.admin-stat {
    min-height: 150px;
    position: relative;
}

.admin-stat-icon {
    align-items: center;
    border-radius: 50%;
    display: flex;
    font-size: 17px;
    height: 42px;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 22px;
    width: 42px;
}

.admin-stat-icon.blue {
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary-color);
}

.admin-stat-icon.green {
    background: rgba(52, 195, 143, 0.14);
    color: #34c38f;
}

.admin-stat-icon.amber {
    background: rgba(241, 180, 76, 0.16);
    color: #f1b44c;
}

.admin-stat-icon.purple {
    background: rgba(85, 110, 230, 0.14);
    color: #556ee6;
}

.admin-stat span {
    color: var(--admin-muted);
    font-weight: 500;
}

.admin-stat strong {
    color: var(--admin-heading);
    display: block;
    font-size: 30px;
    font-weight: 600;
}

.admin-stat small {
    display: block;
    font-size: 12px;
    margin-top: 8px;
}

.admin-panel-head {
    margin-bottom: 14px;
}

.admin-panel-head h2 {
    color: var(--admin-heading);
    font-size: 16px;
    font-weight: 600;
    margin: 3px 0 0;
}

.admin-panel-head a {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
}

.admin-list-item {
    border-color: var(--admin-border);
    padding: 14px 0;
}

.admin-list-item.compact {
    align-items: center;
}

.admin-list-item strong {
    color: var(--admin-heading);
    font-size: 14px;
    font-weight: 600;
}

.admin-list-item p {
    font-size: 13px;
    margin: 5px 0;
}

.admin-table th,
.admin-table td {
    border-color: var(--admin-border);
}

.admin-table th {
    color: var(--admin-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    border-radius: 4px;
}

.admin-category-list {
    display: grid;
    gap: 14px;
}

.admin-category-list div {
    align-items: center;
    background: #f8f9fb;
    border: 1px solid var(--admin-border);
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    padding: 15px 16px;
}

.admin-category-list span {
    color: var(--admin-muted);
    font-weight: 500;
}

.admin-category-list strong {
    color: var(--admin-heading);
    font-size: 22px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .admin-topbar-actions,
    .admin-hero-panel {
        align-items: flex-start;
        display: grid;
        gap: 14px;
    }
}

/* Auth screens */
.auth-body {
    background: #f4f7fb;
    color: var(--text-dark);
    font-family: "Poppins", sans-serif;
    margin: 0;
}

.auth-shell {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: 30px 16px;
}

.auth-logo {
    margin-bottom: 24px;
}

.auth-logo img {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    padding: 10px;
    width: 120px;
}

.auth-card {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 460px;
    padding: 30px;
    width: 100%;
}

.auth-card label {
    color: var(--text-dark);
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"] {
    border: 1px solid #dce3ea;
    border-radius: 6px;
    box-sizing: border-box;
    margin-bottom: 16px;
    padding: 12px 14px;
    width: 100%;
}

.auth-card input[type="checkbox"] {
    margin-right: 8px;
}

.auth-card button {
    background: var(--primary-color);
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
    padding: 10px 16px;
}

.auth-card a {
    color: var(--primary-color);
}

.auth-card .mt-4 {
    margin-top: 16px;
}

.auth-card .mb-4 {
    margin-bottom: 16px;
}

.auth-card .flex {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}
