/* --- Custom Styles (Layout, Typography, Spacing - NO THEME COLORS) --- */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    font-weight: 400;
}
main {
    flex: 1 0 auto;  /* This makes the main content area grow to fill available space */
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.3;
}
h1 { font-size: 2.6rem; margin-bottom: 0.75em; font-weight: 700; }
h2 { font-size: 2.1rem; margin-bottom: 1em; font-weight: 700; }
h3 { font-size: 1.6rem; margin-bottom: 0.75em; font-weight: 600; }
h4 { font-size: 1.2rem; margin-bottom: 0.5em; font-weight: 600; }

p, li, .nav-link, .dropdown-item /* Add other text elements if needed */ {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

p {
    margin-bottom: 1.25em;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
blockquote {
    font-style: italic;
    padding-left: 15px;
    margin: 20px 0;
    font-size: 1em;
}

section { /* General section styling - applies to homepage sections after hero, and sections on other pages */
    padding: 60px 0;
    margin-bottom: 30px;
}
section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.eyebrow {
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
    text-align: center;
    color: var(--secondary-action-warm);
}
.tag {
    display: inline-block;
    padding: 0.2em 0.6em;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    vertical-align: middle;
}

/* --- Navbar Styling for Homepage --- */
.homepage-navbar {
    background-color: rgba(0, 0, 0, 0.95) !important;
    border-bottom: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.homepage-navbar .navbar-brand,
.homepage-navbar .nav-link {
    color: #fff !important;
}

.navbar-brand:hover {
    text-decoration: none !important;
}

.homepage-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.homepage-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Style for dropdown in dark mode */
.homepage-navbar .dropdown-menu {
    background-color: rgba(33, 37, 41, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

.homepage-navbar .dropdown-item {
    color: #fff !important;
}

.homepage-navbar .dropdown-item:hover,
.homepage-navbar .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

/* White background navbar for after scroll */
.homepage-navbar.scrolled {
    background-color: #fff !important;
    border-bottom: 1px solid var(--borders-lines) !important;
}

.homepage-navbar.scrolled .navbar-brand,
.homepage-navbar.scrolled .nav-link {
    color: var(--text-primary) !important;
}

.homepage-navbar.scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

.homepage-navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.homepage-navbar.scrolled .dropdown-menu {
    background-color: #fff;
    border-color: var(--borders-lines);
}

.homepage-navbar.scrolled .dropdown-item {
    color: var(--text-primary) !important;
}

.homepage-navbar.scrolled .dropdown-item:hover,
.homepage-navbar.scrolled .dropdown-item:focus {
    background-color: var(--bg-alt-cards);
    color: var(--primary-color) !important;
}

/* Add transition */
#mainNavbar {
    transition: all 0.3s ease-in-out;
}

/* --- Hero Section Styling --- */
.hero-section-full-height {
    min-height: 100svh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Hero Background Styling */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/assets/images/hero-background-tiny.webp');
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    transform: scale(1.1);
    transition: opacity 0.3s ease-in-out, filter 0.3s ease-in-out;
    z-index: 2;
}

.hero-background-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    background-image: url('/static/assets/images/hero-background-768.webp');
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    will-change: opacity;
    z-index: 3;
    animation: smoothSpaceZoom 60s ease-in-out infinite alternate;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 4;
}

.hero-section-full-height .container {
    position: relative;
    z-index: 5;
}

/* Hero Content Styling */
.hero-text-content h1.display-3 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.hero-text-content .lead {
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}

.hero-highlight {
    color: var(--secondary-action-warm);
}

/* Animations */
@keyframes floatAnimation {
    from { transform: translateY(-8px); }
    to { transform: translateY(8px); }
}

@keyframes smoothSpaceZoom {
    0% {
        transform: scale(1);
    }
    100% {
        /* Zooms in by just 8% over 60 seconds. Barely noticeable, highly premium. */
        transform: scale(1.08);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* --- FINAL: Modern Organic Blob (Stronger Info-Blue Spotlight) --- */

.hero-content-wrap {
    max-width: 1320px;
    padding-left: 2rem;
    padding-right: 2rem;
}

.hero-row {
    min-height: auto;
    padding: 0;
}

.hero-visual-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-arch-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.4) 0%, rgba(96, 165, 250, 0.1) 100%);
    border: none;
    box-shadow: 0 10px 60px rgba(96, 165, 250, 0.18);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-arch-bg {
    display: none;
}

.hero-arch-photo {
    position: relative;
    z-index: 2;
    width: 88%;
    height: auto;
    display: block;
    transform: translateY(5px);
    -webkit-mask-image: none;
    mask-image: none;
    filter: none;
}


/* Responsive adjustment for Laptops, Tablets and Mobile Phones */
@media (max-width: 1399.98px) {
    .hero-arch-container {
        width: 340px;
        height: 340px;
    }
}

@media (max-width: 991.98px) {
    .hero-arch-container {
        width: 300px;
        height: 300px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-arch-container {
        width: 280px;
        height: 280px;
    }
}

/* --- Hero Photo Cinematic Glow Styling Ends--- */


.hero-text-content {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Responsive background images */
@media (min-width: 768px) {
    .hero-background-main {
        background-image: url('/static/assets/images/hero-background-1280.webp');
    }
}

@media (min-width: 1280px) {
    .hero-background-main {
        background-image: url('/static/assets/images/hero-background-1920.webp');
    }
}

/* High-DPI display support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-background-main {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-section-full-height {
        padding-top: 70px;
        padding-bottom: 4rem;
        min-height: 0;
    }

    .hero-row {
        min-height: auto;
    }

    .hero-section-full-height .row {
        text-align: center;
    }

    .hero-text-content {
        margin-bottom: 2rem;
    }

    .hero-visual-content {
        margin-top: 0.5rem;
    }

    .hero-arch-container {
        width: 300px;
        height: 300px;
        margin-bottom: 0;
    }

    .hero-ctas .btn {
        display: block;
        margin: 1rem auto 0 auto;
        width: 100%;
        max-width: 320px;
    }

    .hero-ctas .btn.me-3 {
        margin-right: auto !important;
    }
}

@media (max-width: 575.98px) {
    .hero-arch-container {
        width: 250px;
        height: 250px;
    }
}

/* --- Homepage Sections After Hero --- */

#problem-solution-section {
    background-color: var(--bg-alt-cards);
    padding: 5rem 0;
}

#problem-solution-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.narrative-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.narrative-content .lead {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.messy-growth-inline {
    float: right;
    width: 250px;
    height: 250px;
    margin: 0 0 1rem 1.5rem;
}

.friction-points-list {
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: var(--bg-main);
}

.friction-list-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--borders-lines);
}

.friction-point {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: transform 0.2s ease;
}

.friction-point:last-child {
    margin-bottom: 0;
}

.friction-point:hover {
    transform: translateX(5px);
    background-color: var(--bg-alt-cards);
}

.friction-icon {
    font-size: 1.75rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.friction-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    #problem-solution-section h2 {
        text-align: center;
    }

    .friction-points-list {
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .messy-growth-inline {
        float: none;
        display: block;
        margin: 1rem auto 1.5rem;
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 375px) {
    .messy-growth-inline {
        width: 100px;
        height: 100px;
    }
}

/* End of problem solution section*/

.pillar-item {
    border-radius: 8px;
    text-align: center;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: var(--bs-white);
    padding: 1.5rem;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

.pillar-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.pillar-item .icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pillar-item h4.h5 {
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.pillar-item p {
    font-size: 0.9em;
    color: var(--text-secondary);
}

.process-content-wrapper { max-width: 960px; margin-left: auto; margin-right: auto; }
.step {
    text-align: center;
    border-radius: 8px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: var(--bs-white);
    padding: 1.5rem;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}
.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
.step .step-number {
    font-size: 1.5em; font-weight: bold; margin-bottom: 10px; display: block;
    color: var(--primary-color);
}
.step h4 { font-size: 1.2em; margin-bottom: 5px; }
.step p { font-size: 0.9em; }

.case-study-spotlight {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 40px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid var(--borders-lines);
    background-color: var(--bg-alt-cards);
}
.case-study-visual {
    flex: 0 0 200px;
    height: 200px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-style: italic;
    padding: 15px;
    background-color: var(--borders-lines);
    color: var(--text-secondary);
}
.case-study-visual .logo-placeholder{
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 1rem;
    font-style: normal;
}
.case-study-visual .client-logo {
    max-width: 100px;  /* Adjust based on your logo size */
    height: auto;
    margin-top: 0.25rem;
    object-fit: contain;
}

.case-study-visual p { font-size: 0.9em; margin-bottom: 0; font-style: normal; }
.case-study-text { flex: 1; }
.case-study-text h3 { font-size: 1.6em; margin-bottom: 15px; color: var(--primary-color); }
.case-study-text h4 { font-size: 1.1em; margin-bottom: 5px; font-weight: 600; }
.case-study-text p { margin-bottom: 15px; }
.case-study-text a.read-more { font-weight: bold; display: inline-block; margin-top: 10px; color: var(--primary-color); }
.case-study-text a.read-more:hover { color: var(--primary-hover); }

/* Homepage free resource section */

/* Resource Items */
.resource-item {
    display: flex;
    flex-direction: column;
}

.resource-item img {
    max-height: 200px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.resource-item h4.h6 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.resource-item p.small {
    font-size: 0.85em;
    margin-bottom: 1rem;
}

/* Resource Badges */
.resource-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: auto;
    align-self: flex-start;
}

.badge-blue {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.badge-green {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.badge-purple {
    background-color: rgba(111, 66, 193, 0.1);
    color: #6f42c1;
}

.badge-orange {
    background-color: rgba(253, 126, 20, 0.1);
    color: #fd7e14;
}

/* Blog Post Preview */
.blog-post-preview {
    border: 1px solid var(--borders-lines);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-main);
}

.blog-post-preview h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
    flex-grow: 1;
}

.blog-post-preview p.snippet {
    font-size: 0.95em;
    margin-bottom: 15px;
}

.blog-post-preview a.read-more {
    font-weight: bold;
    margin-top: auto;
    color: var(--primary-color);
}

/* Resource CTA Block */
.resource-cta-block {
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
    background-color: var(--bs-success-bg-subtle);
    border: 1px solid var(--bs-success-border-subtle);
}

.resource-cta-block h3 {
    margin-bottom: 10px;
    color: var(--bs-success-text-emphasis);
}

.resource-cta-block p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}


/* Homepage free resource section ends*/

.consultant-photo {
    width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--primary-color); box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.offering-card {
    border-radius: 8px; height: 100%; display: flex; flex-direction: column;
    background-color: var(--bg-main);
    padding: 1.5rem;
    border: 1px solid var(--borders-lines);
}
.offering-card.shadow { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important; }
.offering-card h3.h4 { font-size: 1.5rem; color: var(--primary-color); }
.offering-card .icon { font-size: 1.8em; color: var(--primary-color); }
.offering-card ul.check-list { list-style: none; padding-left: 0; margin: 15px 0 25px 0; font-size: 0.95em; flex-grow: 1; }
.offering-card ul.check-list li { margin-bottom: 10px; position: relative; padding-left: 25px; }
.offering-card ul.check-list li i.fas.fa-check { position: absolute; left: 0; top: 4px; }
.offering-card .tag.coming-soon {
    background-color: var(--accent-warning);
    color: var(--warning-text-dark);
}
.offering-card .ctas { margin-top: auto; }

.final-cta {
    padding: 60px 0;
    background-color: var(--text-primary);
    color: var(--bg-alt-cards);
    border-bottom: none;
}
.final-cta h2 { color: var(--bg-main); }
.final-cta p { color: var(--borders-lines); }
.final-cta a.text-white:hover { color: #e9ecef !important; }


/* --- Styles for Services Page (services.html) --- */
.services-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--borders-lines);
}
.services-section:last-of-type { border-bottom: none; }
.services-section .eyebrow { margin-bottom: 0.75rem; }
.services-section h1.display-4, .services-section h2.display-5 { margin-bottom: 1.5rem; }
.services-section .lead-text {
    font-size: 1.2rem; line-height: 1.7; color: var(--text-secondary);
    max-width: 800px; margin-left: auto; margin-right: auto; margin-bottom: 2.5rem;
}
.services-hero-section {
    background-color: var(--bs-primary-bg-subtle); padding: 5rem 0; text-align: center;
    border-bottom: 1px solid var(--bs-primary-border-subtle);
}
.services-hero-section h1 { color: var(--bs-primary-text-emphasis); font-weight: 700; }
.services-hero-section .lead { color: var(--bs-primary-text-emphasis); opacity: 0.9; font-size: 1.25rem; }

.alternating-layout-section .row { align-items: center; margin-bottom: 3rem; }
.alternating-layout-section img.feature-image {
    border-radius: 0.5rem; box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1);
    max-width: 100%; height: auto;
}
.alternating-layout-section h3.h2 { font-size: 2rem; color: var(--primary-color); margin-bottom: 1rem; }
.alternating-layout-section p { font-size: 1.05rem; line-height: 1.8; }

#consulting-playbook .playbook-image {
    max-width: 100%; height: auto; border-radius: 0.375rem;
    margin: 2rem auto; display: block; box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}
.pmf-focus-box {
    background-color: var(--bs-info-bg-subtle); border-left: 5px solid var(--info);
    padding: 1.75rem 2rem; margin: 3rem 0; border-radius: 0.375rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.05);
}
.pmf-focus-box h5 { color: var(--bs-info-text-emphasis); margin-bottom: 0.75rem; font-size: 1.2rem; }
.pmf-focus-box p, .pmf-focus-box ul { color: var(--bs-info-text-emphasis); margin-bottom: 0.5rem; font-size: 1rem; }
.pmf-focus-box ul { padding-left: 1.25rem; }
.pmf-focus-box p:last-child, .pmf-focus-box ul:last-child { margin-bottom: 0; }
.pmf-focus-box i.fas { margin-right: 0.5rem; }

.accordion-item {
    border: 1px solid var(--borders-lines); background-color: var(--bs-white);
    margin-bottom: 0.75rem; border-radius: 0.5rem; overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.accordion-button {
    font-weight: 600; font-size: 1.15rem; color: var(--text-primary);
    background-color: var(--bg-alt-cards); padding: 1.25rem 1.5rem;
}
.accordion-button:not(.collapsed) {
    color: var(--bs-white); background-color: var(--primary-color);
    box-shadow: inset 0 -2px 0 var(--primary-dark);
}
.accordion-button:focus { box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25); border-color: var(--primary-color); z-index: 3; }
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var(--primary-color)'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform .2s ease-in-out;
}
.accordion-button:not(.collapsed)::after {
     background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}
.accordion-body { font-size: 1rem; padding: 1.75rem 2rem; line-height: 1.75; }
.accordion-body .list-unstyled.deliverable-list li i.fas.fa-check { color: var(--accent-success-other); margin-right: 0.75em; }
.accordion-body h5.h6 { font-size: 1.05rem; margin-top: 1.25rem; margin-bottom: 0.75rem; color: var(--primary-color); }
.accordion-button i.fas { transition: color 0.15s ease-in-out; }
.accordion-button:not(.collapsed) i.fas { color: var(--bs-white) !important; }
.accordion-button.collapsed i.fas { color: var(--primary-color) !important; }

.outcome-card {
    background-color: var(--bs-white); border: 1px solid var(--borders-lines);
    border-radius: 0.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.075);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    height: 100%; display: flex; flex-direction: column;
}
.outcome-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.outcome-card .card-body { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }
.outcome-card .card-icon { font-size: 2.5rem; margin-bottom: 1rem; color: var(--primary-color); }
.outcome-card .card-title { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--text-primary); }
.outcome-card .card-text { font-size: 0.95rem; color: var(--text-secondary); }

.timeline-item {
    position: relative; padding-left: 45px; margin-bottom: 2.5rem; padding-bottom: 2rem;
}
.timeline-item:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0;}
.timeline-item::before {
    content: "\f14a"; font-family: "Font Awesome 5 Free"; font-weight: 900;
    position: absolute; left: 0; top: 0px; color: var(--secondary-action-warm);
    font-size: 1.75em; line-height: 1;
}
.timeline-item h4.h5 { color: var(--secondary-action-warm); margin-bottom: 0.5rem; font-weight: 600; }

.workflow-list { list-style: none; padding-left: 0; }
.workflow-list li { margin-bottom: 1rem; padding-left: 35px; position: relative; font-size: 1rem; }
.workflow-list li::before {
    content: "\f058"; font-family: "Font Awesome 5 Free"; font-weight: 900;
    position: absolute; left: 0; top: 3px; color: var(--primary-color); font-size: 1.2em;
}
.workflow-section h3.h4 {
    color: var(--primary-color); margin-bottom: 1.5rem; padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bs-primary-bg-subtle);
}

.table-deliverables {
    margin-top: 2.5rem; font-size: 0.95rem; border: 1px solid var(--borders-lines);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.table-deliverables thead th {
    background-color: var(--primary-color); color: var(--bs-white); font-weight: 600;
    text-align: left; padding: 1rem 1.25rem;
}
.table-deliverables td { vertical-align: top; padding: 1rem 1.25rem; }
.table-deliverables tbody tr:nth-child(odd) td { background-color: var(--bg-alt-cards); }
.table-deliverables .activity-col { width: 20%; font-weight: 500; }
.table-deliverables .thoughtlytics-col { width: 30%; }
.table-deliverables .client-col { width: 30%; }
.table-deliverables .extra-col { width: 20%; font-style: italic; font-size: 0.9em; }
.table-deliverables ul { padding-left: 1.25rem; margin-bottom: 0; }
.table-deliverables li { margin-bottom: 0.3rem; }

#ideal-client .bg-light { padding: 2.5rem 3rem !important; border-radius: 0.75rem !important; }
#ideal-client .workflow-list li::before { color: var(--secondary-action-warm); }

#paid-ads-note .alert-info { padding: 2rem; border-left-width: 5px; font-size: 1.05rem; }
#paid-ads-note .alert-heading { font-size: 1.5rem; }

#social-proof .card { border-radius: 0.75rem; box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.075) !important; }
#social-proof .card-body { padding: 2.5rem; }
#social-proof .fa-quote-left { font-size: 2.5rem; top: 1rem; left: 1.5rem; position: absolute; /* Added position absolute */ }

.commercials-card {
    background-color: var(--bg-alt-cards); border: 1px solid var(--borders-lines);
    border-radius: 0.75rem; box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.1) !important;
}
.commercials-card h3.h4 { color: var(--primary-color); font-size: 1.6rem; }
.commercials-card .display-5 { color: var(--secondary-action-warm); }

#ai-platform-services {
    background-color: var(--bs-dark); color: var(--bs-light); border-radius: 0.75rem;
    padding: 3rem; box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
#ai-platform-services h2.h3 { color: var(--bs-white); font-size: 1.75rem; }
#ai-platform-services p { color: var(--bs-light); opacity: 0.9; }
#ai-platform-services .btn-secondary {
    background-color: var(--secondary-action-warm); border-color: var(--secondary-action-warm); color: white;
}
 #ai-platform-services .btn-secondary:hover { background-color: var(--secondary-dark); border-color: var(--secondary-dark); }

#services-final-cta {
    background: var(--primary-color); color: white; border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(var(--bs-primary-rgb), 0.3); padding: 4rem 2rem;
}
#services-final-cta h2.display-5 { font-size: 2.25rem; font-weight: 700; }
#services-final-cta .lead.fs-4 { font-size: 1.2rem !important; opacity: 0.95; }
#services-final-cta .btn-light {
    font-weight: 600; padding: 0.85rem 2.5rem; font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

footer {
    padding: 30px 0; margin-top: 0; font-size: 0.9em;
    border-top: 1px solid var(--borders-lines);
    background-color: var(--bg-alt-cards);
    flex-shrink: 0;  /* Prevents the footer from shrinking */
}

.footer-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

footer p { color: var(--text-secondary); }
footer a { color: var(--primary-color); }
footer a:hover { color: var(--primary-hover); text-decoration: none; }

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* --- Responsiveness (ensure these are at the end or after relevant sections) --- */
@media (max-width: 992px) {
    .case-study-spotlight { flex-direction: column !important; text-align: center; }
    .case-study-visual { flex: 0 0 auto; margin: 0 auto 30px auto; order: -1; }
    .case-study-text { margin-top: 20px; }
}

/* Terms of service page */

/* Legal Pages Styling */
.legal-section {
    background-color: var(--bg-main);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.last-updated {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legal-section-block {
    margin-bottom: 3rem;
}

.legal-section-block h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    text-align: left;
}

.legal-section-block h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.legal-section-block p {
    margin-bottom: 1.25rem;
}

.legal-section-block ul,
.legal-section-block ol {
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
}

.legal-section-block li {
    margin-bottom: 0.75rem;
}

/* Refund Section Styling */
.refund-types {
    background-color: var(--bg-alt-cards);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border: 1px solid var(--borders-lines);
}

.refund-type {
    padding: 1.25rem;
    border-bottom: 1px solid var(--borders-lines);
}

.refund-type:last-child {
    border-bottom: none;
}

.refund-type h3 {
    color: var(--primary-color);
}

/* Company Information Styling */
.company-info {
    margin-top: 4rem;
    padding-top: 2rem;
}

.trademark {
    font-weight: 500;
    color: var(--text-primary);
}

.company-address {
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .legal-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-content {
        font-size: 1rem;
    }

    .legal-section-block h2 {
        font-size: 1.35rem;
    }

    .legal-section-block h3 {
        font-size: 1.2rem;
    }

    .refund-types {
        padding: 1rem;
    }

    .refund-type {
        padding: 1rem;
    }

    .company-info {
        margin-top: 3rem;
        padding-top: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .legal-section {
        padding: 0;
    }

    .legal-content {
        font-size: 12pt;
        line-height: 1.6;
    }

    .legal-section-block {
        margin-bottom: 2rem;
        page-break-inside: avoid;
    }

    .refund-types {
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }

    .company-info {
        margin-top: 2rem;
        padding-top: 1rem;
        border-top: 1px solid #ccc;
    }
}

/* Social Icons Styling */

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background-color: #f1f1f1;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon i {
    font-size: 1rem;
}

.social-icon:hover {
    color: white;
    transform: translateY(-3px);
    text-decoration: none;
}

.social-facebook:hover {
    background-color: #3b5998;
    box-shadow: 0 5px 15px rgba(59, 89, 152, 0.4);
}

.social-x:hover {
    background-color: #000000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.social-linkedin:hover {
    background-color: #0077b5;
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

.social-youtube:hover {
    background-color: #ff0000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

/* Social Icon ends */




/* ADMIN PAGES */

/* Index */
/* Admin Dashboard Styles */
.admin-dashboard {
    background-color: var(--bg-main);
    min-height: calc(100vh - 60px); /* Adjust based on your navbar height */
}

/* Dashboard Header */
.dashboard-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.current-date {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Stats Cards */
.dashboard-card {
    background: var(--bg-alt-cards);
    border-radius: 12px;
    border: 1px solid var(--borders-lines);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dashboard-card-body {
    padding: 1.5rem;
}

.dashboard-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.dashboard-card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.dashboard-card-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Quick Actions */
.quick-actions-card {
    background: var(--bg-alt-cards);
    border-radius: 12px;
    border: 1px solid var(--borders-lines);
    padding: 1.5rem;
}

.quick-actions-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.quick-action-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--bg-main);
    border-radius: 8px;
    border: 1px solid var(--borders-lines);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-action-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.quick-action-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

.quick-action-text {
    font-weight: 500;
}

/* Appointments Card */
.appointments-card {
    background: var(--bg-alt-cards);
    border-radius: 12px;
    border: 1px solid var(--borders-lines);
    overflow: hidden;
}

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

.appointments-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.appointments-body {
    padding: 1.5rem;
}

/* Table Styles */
.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom-width: 1px;
    padding: 0.75rem 1rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
}

/* Avatar Circle */
.avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

/* Appointment Time */
.appointment-time .date {
    font-weight: 500;
    color: var(--text-primary);
}

.appointment-time .time {
    font-size: 0.875rem;
}

/* Alert Styling */
.alert {
    border-radius: 8px;
    border: none;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.alert-dismissible .btn-close {
    padding: 1.25rem;
}

/* Color Utilities */
.bg-primary-subtle {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.bg-warning-subtle {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.bg-info-subtle {
    background-color: rgba(13, 202, 240, 0.1);
    color: #1e3a5f;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .dashboard-header {
        text-align: center;
    }

    .current-date {
        margin-top: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .dashboard-card-value {
        font-size: 1.5rem;
    }

    .quick-action-item {
        padding: 0.75rem;
    }

    .appointments-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .dashboard-title {
        font-size: 1.75rem;
    }

    .appointments-body {
        padding: 1rem;
    }

    .table td, .table th {
        padding: 0.75rem;
    }
}


/* Analytics */
/* Analytics Dashboard Specific Styles */
.analytics-dashboard .dashboard-header {
    margin-bottom: 2rem;
}

/* Analytics Cards */
.analytics-card {
    background: var(--bg-alt-cards);
    border-radius: 12px;
    border: 1px solid var(--borders-lines);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.analytics-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--borders-lines);
    background-color: var(--bg-main);
}

.analytics-card-header h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.analytics-card-body {
    padding: 1.5rem;
}

/* Content Type Badges */
.content-type-badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
}

.content-type-badge.blog {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.content-type-badge.newsletter {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

/* Table Styles */
.analytics-dashboard .table {
    margin-bottom: 0;
}

.analytics-dashboard .table th {
    font-weight: 600;
    color: var(--text-secondary);
    padding: 1rem 1.5rem;
    border-bottom-width: 1px;
    white-space: nowrap;
}

.analytics-dashboard .table td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
}

/* Content Title Links */
.content-title {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.content-title:hover {
    color: var(--primary-color);
}

/* Conversion Rate Progress */
.conversion-rate {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.conversion-rate .progress {
    height: 6px;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 3px;
    max-width: 100px;
}

.conversion-rate span {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

/* Empty State */
.empty-state {
    padding: 2rem;
    text-align: center;
}

.empty-state i {
    color: var(--text-secondary);
    opacity: 0.5;
}

.empty-state p {
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* Back Button */
.btn-outline-primary {
    border-width: 2px;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

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

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .analytics-dashboard .dashboard-header {
        text-align: center;
    }

    .analytics-dashboard .dashboard-header .btn {
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .analytics-card-header,
    .analytics-card-body {
        padding: 1rem;
    }

    .analytics-dashboard .table td,
    .analytics-dashboard .table th {
        padding: 0.75rem;
    }

    .content-type-badge {
        padding: 0.35rem 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .conversion-rate .progress {
        max-width: 60px;
    }

    .analytics-dashboard .table {
        font-size: 0.9rem;
    }
}

/* Appointments */
/* Appointments Dashboard Specific Styles */
.appointments-dashboard .dashboard-header {
    margin-bottom: 2rem;
}

/* Filter Card */
.appointments-filter-card {
    background: var(--bg-alt-cards);
    border-radius: 12px;
    border: 1px solid var(--borders-lines);
    overflow: hidden;
}

.appointments-filter-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--borders-lines);
    background-color: var(--bg-main);
}

.appointments-filter-header h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.appointments-filter-body {
    padding: 1.5rem;
}

/* Form Styling */
.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-select {
    border-radius: 8px;
    border: 1px solid var(--borders-lines);
    padding: 0.6rem 1rem;
    background-color: var(--bg-main);
    color: var(--text-primary);
}

.input-group {
    border-radius: 8px;
    overflow: hidden;
}

.input-group-text {
    background-color: var(--bg-main);
    border: 1px solid var(--borders-lines);
    color: var(--text-secondary);
}

.form-control {
    border: 1px solid var(--borders-lines);
    background-color: var(--bg-main);
    color: var(--text-primary);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.15);
}

/* Appointments List Card */
.appointments-list-card {
    background: var(--bg-alt-cards);
    border-radius: 12px;
    border: 1px solid var(--borders-lines);
    overflow: hidden;
}

.appointments-list-body {
    padding: 1.5rem;
}

/* Table Styles */
.appointments-dashboard .table {
    margin-bottom: 0;
}

.appointments-dashboard .table th {
    font-weight: 600;
    color: var(--text-secondary);
    padding: 1rem 1.5rem;
    border-bottom-width: 1px;
    white-space: nowrap;
}

.appointments-dashboard .table td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
}

/* Status Badges */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

.status-badge.active {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.status-badge.completed {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.status-badge.canceled {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.status-badge.rescheduled {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

/* Avatar Circle */
.avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

/* Appointment DateTime */
.appointment-datetime {
    line-height: 1.4;
}

.appointment-datetime .date {
    font-weight: 500;
    color: var(--text-primary);
}

.appointment-datetime .time {
    font-size: 0.875rem;
}

/* Appointment Email */
.appointment-email {
    display: flex;
    align-items: center;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Empty State */
.empty-state {
    padding: 2rem;
    text-align: center;
}

.empty-state i {
    color: var(--text-secondary);
    opacity: 0.5;
}

.empty-state p {
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* Button Styles */
.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

.btn i {
    font-size: 0.9em;
}

/* Alert Styling */
.alert {
    border-radius: 8px;
    border: none;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.alert-dismissible .btn-close {
    padding: 1.25rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .appointments-dashboard .dashboard-header {
        text-align: center;
    }

    .appointments-dashboard .dashboard-header .btn {
        margin-top: 1rem;
    }

    .appointments-dashboard .btn-group {
        width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .appointments-filter-header,
    .appointments-filter-body,
    .appointments-list-body {
        padding: 1rem;
    }

    .appointments-dashboard .table td,
    .appointments-dashboard .table th {
        padding: 0.75rem;
    }

    .status-badge {
        padding: 0.35rem 0.5rem;
    }

    .btn-sm {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .appointments-dashboard .table {
        font-size: 0.9rem;
    }

    .appointment-email {
        font-size: 0.85rem;
    }

    .avatar-circle {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* CMS - Add/Edit Post */

/* Editor Dashboard Styles */
.editor-dashboard {
    background-color: var(--bg-main);
    min-height: calc(100vh - 60px);
}

/* Editor Card */
.editor-card {
    background: var(--bg-alt-cards);
    border-radius: 12px;
    border: 1px solid var(--borders-lines);
    overflow: hidden;
}

/* Editor Sections */
.editor-section {
    margin-bottom: 2rem;
    background: var(--bg-main);
    border-radius: 8px;
    border: 1px solid var(--borders-lines);
}

.editor-section:last-child {
    margin-bottom: 0;
}

.editor-section-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--borders-lines);
}

.editor-section-header h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.editor-section-body {
    padding: 1.5rem;
}

/* Form Styling */
.editor-form .form-group {
    margin-bottom: 1rem;
}

.editor-form .form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.editor-form .form-control,
.editor-form .form-select {
    border: 1px solid var(--borders-lines);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    background-color: var(--bg-main);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.editor-form .form-control-lg {
    font-size: 1.25rem;
    padding: 1rem 1.25rem;
}

.editor-form .form-control:focus,
.editor-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.15);
}

.editor-form .form-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Tag Select */
.tag-select {
    height: 120px !important;
}

/* Quill Editor Customization */
.editor-quill {
    background-color: var(--bg-main);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.ql-toolbar.ql-snow {
    border-color: var(--borders-lines) !important;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: var(--bg-alt-cards); /* Toolbar background */
    padding: 1rem;

    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 68px;  /* Your measured navbar height */
    z-index: 200; /* Adjust as needed relative to other fixed/sticky elements */
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Optional: a subtle shadow when sticky */
}

#editor-container.editor-quill { /* Assuming #editor-container also has class .editor-quill */
    overflow: visible !important;
}

.editor-dashboard .editor-card { /* Make selector specific to editor page if .editor-card is used elsewhere */
    overflow: visible !important;
}

.ql-container.ql-snow {
    border-color: var(--borders-lines) !important;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: var(--bg-main);
}

.ql-editor {
    min-height: 400px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

/* Error Messages */
.form-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Editor Actions */
.editor-actions {
    padding: 1.5rem;
    background-color: var(--bg-main);
    border-top: 1px solid var(--borders-lines);
    text-align: center;
}

.editor-actions .btn {
    min-width: 200px;
    padding: 1rem 2rem;
}

/* File Upload Field */
input[type="file"].form-control {
    padding: 0.5rem;
    line-height: 1.5;
}

/* Dark Mode Quill Adjustments */
.ql-snow .ql-stroke {
    stroke: var(--text-primary);
}

.ql-snow .ql-fill {
    fill: var(--text-primary);
}

.ql-snow .ql-picker {
    color: var(--text-primary);
}

.ql-snow .ql-picker-options {
    background-color: var(--bg-main);
    border-color: var(--borders-lines) !important;
}

/* Status Badges */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge.draft {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.status-badge.published {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.status-badge.scheduled {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .editor-dashboard .dashboard-header {
        text-align: center;
    }

    .editor-dashboard .dashboard-header .btn {
        margin-top: 1rem;
    }

    .editor-section-header,
    .editor-section-body {
        padding: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .editor-form .form-control-lg {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
    }

    .ql-toolbar.ql-snow {
        padding: 0.75rem;
    }

    .ql-editor {
        min-height: 300px;
        font-size: 1rem;
    }

    .editor-actions .btn {
        width: 100%;
    }
}

/* Loading States */
.editor-form.is-uploading {
    opacity: 0.7;
    pointer-events: none;
}

/* Image Upload Preview */
.image-preview {
    max-width: 200px;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Tooltip Customization */
.editor-tooltip {
    position: relative;
    display: inline-block;
}

.editor-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: var(--text-primary);
    color: var(--bg-main);
    border-radius: 4px;
    font-size: 0.875rem;
    white-space: nowrap;
    z-index: 1000;
}

/* Guide Fields Animation */
#guide-fields {
    transition: opacity 0.3s ease, height 0.3s ease, margin-top 0.3s ease, padding-top 0.3s ease; /* Added margin/padding to transition */
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#guide-fields.show {
    opacity: 1;
    height: auto;
    overflow: visible;
    margin-top: 1.5rem !important;
}

/* View All Posts */
/* Posts Dashboard Specific Styles */
.posts-dashboard .dashboard-header {
    margin-bottom: 2rem;
}

/* Posts List Card */
.posts-list-card {
    background: var(--bg-alt-cards);
    border-radius: 12px;
    border: 1px solid var(--borders-lines);
    overflow: hidden;
}

.posts-list-body {
    padding: 1.5rem;
}

/* Table Styles */
.posts-dashboard .table {
    margin-bottom: 0;
}

.posts-dashboard .table th {
    font-weight: 600;
    color: var(--text-secondary);
    padding: 1rem 1.5rem;
    border-bottom-width: 1px;
    white-space: nowrap;
}

.posts-dashboard .table td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
}

/* Post Info Styles */
.post-info {
    max-width: 400px;
}

.post-title {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background-color: var(--bg-main);
    color: var(--text-secondary);
    border: 1px solid var(--borders-lines);
}

/* Content Type Badges */
.content-type-badge {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.content-type-badge.blog {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.content-type-badge.newsletter {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.content-type-badge.guide {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

/* Status Badges */
.status-badge {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.status-badge.published {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.status-badge.draft {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.status-badge.archived {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

/* Author Info */
.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.author-name {
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Post Date */
.post-date {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Post Actions */
.post-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.post-actions .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

/* Empty State */
.empty-state {
    padding: 3rem 1.5rem;
    text-align: center;
}

.empty-state i {
    color: var(--text-secondary);
    opacity: 0.5;
}

.empty-state p {
    margin: 1rem 0;
    font-size: 1rem;
}

/* Dashboard Actions */
.dashboard-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.dashboard-actions .btn {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
}

/* Hover Effects */
.table tbody tr {
    transition: background-color 0.2s ease;
}

.table tbody tr:hover {
    background-color: var(--bg-main);
}

.post-actions .btn:hover {
    transform: translateY(-1px);
}

/* Tooltips */
[data-bs-toggle="tooltip"] {
    position: relative;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .posts-dashboard .dashboard-header {
        text-align: center;
    }

    .dashboard-actions {
        justify-content: center;
        margin-top: 1rem;
    }

    .posts-list-body {
        padding: 1rem;
    }
}

@media (max-width: 767.98px) {
    .posts-dashboard .table td,
    .posts-dashboard .table th {
        padding: 0.75rem;
    }

    .post-info {
        max-width: 200px;
    }

    .content-type-badge,
    .status-badge {
        padding: 0.35rem 0.5rem;
        font-size: 0.8rem;
    }

    .author-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .post-actions {
        flex-direction: column;
        gap: 0.25rem;
    }

    .post-actions .btn {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }

    .post-info {
        max-width: 150px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.posts-list-card {
    animation: fadeIn 0.3s ease-out;
}

/* Table Row Hover Animation */
.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    transform: translateX(5px);
}

/* Loading State */
.posts-dashboard.is-loading {
    position: relative;
}

.posts-dashboard.is-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--bg-main-rgb), 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
}


/* Tags */

.tags-form-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.tags-form-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-white);
}

.tags-form-body {
    padding: 1.5rem;
}

/* Tag List Card Styles */
.tags-list-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.tags-list-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-white);
}

.tags-list-body {
    padding: 1rem;
}

/* Tag Elements Styles */
.tag-name {
    display: flex;
    align-items: center;
}

.tag-badge {
    padding: 0.35rem 0.75rem;
    background-color: var(--primary-soft);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.tag-slug {
    font-size: 0.875rem;
}

.tag-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.count-badge {
    background-color: var(--gray-soft);
    color: var(--gray-dark);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.875rem;
}

.count-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.tag-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* Manage Users */

/* Form specific styles */
.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

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

.form-group:last-child {
    margin-bottom: 0;
}

.input-group {
    border: 1px solid var(--borders-lines);
    border-radius: 8px;
    overflow: hidden;
}

.input-group .input-group-text {
    background-color: var(--bg-alt-cards);
    border: none;
    padding: 0.75rem 1rem;
}

.input-group .form-control,
.input-group .form-select {
    border: none;
    border-left: 1px solid var(--borders-lines);
    padding: 0.75rem 1rem;
}

.form-error {
    color: var(--bs-danger);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Improve form control focus states */
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.15);
    border-color: var(--primary-color);
}

.input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.15);
}

/* View call bookings */
/* Appointment View Specific Styles */
.appointment-info {
    padding: 0.5rem;
}

.appointment-datetime {
    background-color: var(--bg-alt-cards);
    padding: 1rem;
    border-radius: 8px;
}

.qualification-info .info-group {
    padding: 1.5rem;
    background-color: var(--bg-alt-cards);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.qualification-info .info-group:last-child {
    margin-bottom: 0;
}

.detail-card {
    background-color: var(--bg-main);
    padding: 1rem;
    border-radius: 6px;
    height: 100%;
}

.channel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.objective-card {
    background-color: var(--bg-main);
    padding: 1.25rem;
    border-radius: 8px;
    height: 100%;
}

.objective-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .qualification-info .info-group {
        padding: 1rem;
    }

    .detail-card {
        margin-bottom: 1rem;
    }
}

/* --- Custom UI Components --- */

/* Step 1: Adjust the spacing on the parent link slightly */
.nav-link-with-badge {
    position: relative; /* This stays the same */
    padding-right: 50px !important; /* Slightly reduced the space */
}

/* Step 2: The final badge style with precise positioning */
.badge-coming-soon {
    position: absolute;

    /* --- FINAL PRECISE POSITIONING --- */
    /* "a little up": Align the top of the badge with the top of the link */
    top: 0;

    /* "towards the last character": Position it a few pixels from the right edge */
    right: 8px;

    /* We no longer need the transform property */

    /* All other visual styles remain the same */
    font-size: 0.5em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    padding: 0.25em 0.75em;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background-color: var(--bg-alt-cards);
    color: var(--text-secondary);
}

/* This rule is still important */
.nav-link:hover .badge-coming-soon {
    text-decoration: none;
}

/* --- Custom Navbar Dropdown on Hover --- */

/* Make dropdown visible on hover */
.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* remove the gap so it doesn't close accidentally */
}

/* Optional: Add a subtle fade-in animation */
.dropdown-menu {
    transition: opacity .2s ease-in-out;
}

/* Hide by default (for the animation) */
.navbar-nav .nav-item.dropdown .dropdown-menu {
    display: none;
    opacity: 0;
}

/* Show on hover with animation */
.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
}

/* --- custom navbar dropdown on hover code ends --- */


/* ================================================================================== */
/*                  Responsive Hero Section Adjustments for Laptops                   */
/* ================================================================================== */

@media (max-width: 1600px) {

    .hero-text-content h1.display-3 {
        font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    }

    .hero-text-content .lead {
        font-size: clamp(1rem, 2vw, 1.2rem);
    }
}

@media (max-width: 1366px) {

    .hero-text-content h1.display-3 {
        font-size: clamp(1.9rem, 3.2vw, 2.4rem);
    }

    .hero-text-content .lead {
        font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    }

    .hero-ctas {
        margin-top: 1.5rem !important;
    }

    .hero-arch-container {
        width: 300px;
        height: 300px;
    }
}

/* ================================================================================== */
/*              Testiomnial Section on /Services page                                  */
/* ================================================================================== */

/* Testimonial Cards - Consulting Grade */
.testimonial-card {
    background-color: var(--bg-alt-cards);
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

.testimonial-card .testimonial-quote p {
    line-height: 1.7;
    color: var(--text-primary);
}

.testimonial-card .border-top {
    border-color: var(--borders-lines) !important;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .testimonial-card .card-body {
        padding: 1.5rem !important;
    }

    .testimonial-card .testimonial-quote p {
        font-size: 1rem !important;
        padding-left: 2.5rem !important;
        margin-left: 1rem !important;
    }

    .testimonial-card .fs-1 {
        font-size: 1.5rem !important;
    }
}


/* ========================================================================== */
/* SALES HUB: Connector Statement Highlighting (Hijacking Blockquote)         */
/* ========================================================================== */
.ql-editor blockquote {
    border-left: 5px solid var(--primary-color) !important;
    background-color: var(--bs-primary-bg-subtle) !important;
    color: var(--bs-primary-text-emphasis) !important;
    font-weight: 600 !important;
    padding: 15px 20px !important;
    margin: 20px 0 !important;
    border-radius: 0 8px 8px 0 !important;
    font-size: 1.15rem !important;
    font-style: normal !important; /* Overriding default italic */
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.ql-editor blockquote::before {
    content: "💬 SAY EXACTLY:";
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 8px;
    opacity: 0.8;
}









