/* ==========================================================================
   PROTO BUSINESS CONSULTANTS LLP - Custom Style Engine
   Inspired by McKinsey, Deloitte, Stripe and Accenture design guidelines.
   ========================================================================== */

:root {
    --primary: #05939D;
    --primary-dark: #046C74;
    --primary-light: #2AB2BD;
    --primary-subtle: #C9EFF2;
    --navy: #0B2D3D;
    /* Deep midnight ocean teal-navy, perfectly coordinating with primary */
    --navy-dark: #051A25;
    /* Even deeper matching navy shade */
    --light-teal: #F0FAF9;
    /* Soft ambient teal background */
    --accent: #DF9B16;
    /* Refined warm corporate gold */
    --background: #FFFFFF;
    --text-dark: #1E293B;
    /* Sophisticated slate-dark */
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --border-teal: rgba(5, 147, 157, 0.15);
    /* Matched teal-toned border */
    --white: #FFFFFF;
    --card-shadow: 0 10px 30px -10px rgba(5, 147, 157, 0.08);
    /* Sophisticated matching shadows */
    --hover-shadow: 0 25px 50px -12px rgba(5, 147, 157, 0.2);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--background);
    line-height: 1.8;
    font-size: 1rem;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-font {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.025em;
}

.text-teal {
    color: var(--primary) !important;
}

.bg-teal {
    background-color: var(--primary) !important;
}

.bg-navy {
    background-color: var(--navy) !important;
}

.bg-light-teal {
    background-color: var(--light-teal) !important;
}

.text-navy {
    color: var(--navy) !important;
}

.py-120 {
    padding: 120px 0;
}

.tracking-widest {
    letter-spacing: 0.15em;
}

.contact-form-label {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    line-height: 1.3;
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* Header & Navigation */
.main-nav {
    padding: 25px 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: background-color, transform;
}

.main-nav .navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
    transition: color 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.main-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    margin: 0 4px;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--white) !important;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Sticky Scrolled State */
.main-nav.scrolled {
    background: var(--navy) !important;
    backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(22, 50, 79, 0.05);
    border-bottom: 1px solid rgba(22, 50, 79, 0.05);
}

.main-nav.scrolled .navbar-brand {
    color: var(--background);
}

.main-nav.scrolled .nav-link {
    color: var(--background) !important;
}

.main-nav.scrolled .nav-link:hover,
.main-nav.scrolled .nav-link.active {
    color: var(--primary) !important;
}

.main-nav.scrolled .nav-link.active::after {
    background-color: var(--primary);
}

.main-nav.scrolled .btn-consult {
    background-color: var(--primary);
    color: var(--white) !important;
    border-color: var(--primary);
}

.main-nav.scrolled .btn-consult:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.main-nav.scrolled .search-btn {
    color: var(--navy);
}

.main-nav.scrolled .navbar-toggler {
    border-color: rgba(22, 50, 79, 0.25);
}

.main-nav.scrolled .navbar-toggler-icon {
    filter: invert(1) grayscale(100%) brightness(0.2);
}

/* Search Bar Overlay */
.search-overlay {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(22, 50, 79, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.search-overlay.active {
    top: 0;
}

.search-close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 2.5rem;
    color: var(--white);
    cursor: pointer;
    transition: transform 0.3s;
}

.search-close:hover {
    transform: rotate(90deg);
}

/* Buttons */
.btn-premium {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-teal {
    background-color: var(--primary);
    color: var(--white) !important;
    border: 1px solid var(--primary);
}

.btn-teal:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(5, 147, 157, 0.15);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white) !important;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--navy) !important;
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-consult {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

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

/* Hero Section (Carousel 100vh) */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel-inner,
.hero-slider .carousel-item {
    height: 100%;
}

.hero-slider .carousel-item {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
    backface-visibility: hidden;
    transform: scale(1.05);
    /* Slight default scale to prevent blank flashes */
}

/* Smooth Ken Burns effect applied ONLY to background */
.hero-slider .carousel-item.active .carousel-bg {
    animation: kenburns 15s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes kenburns {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.002);
    }
}

.hero-slider .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 12, 20, 0.95) 0%, rgba(8, 25, 38, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

.hero-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 650px;
}

/* Hero Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--white);
    opacity: 0.7;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

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

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Floating Shortcuts Overlay */
.floating-shortcuts {
    margin-top: -80px;
    position: relative;
    z-index: 20;
}

.shortcut-box {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.shortcut-card {
    padding: 35px 25px;
    text-align: center;
    border-right: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.shortcut-card:last-child {
    border-right: none;
}

.shortcut-card i {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.shortcut-card span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.shortcut-card:hover {
    background-color: var(--light-teal);
    transform: translateY(-5px);
}

.shortcut-card:hover i {
    transform: scale(1.15);
}

@media (max-width: 767px) {
    .floating-shortcuts {
        margin-top: -40px;
    }

    .shortcut-card {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

/* Modern Title Dividers */
.title-line {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.title-line-left {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 20px 0;
    border-radius: 2px;
}

/* About Layout with Floating Elements */
.about-experience-box {
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 16px;
    position: relative;
    box-shadow: var(--card-shadow);
}

.about-experience-box h3 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
    margin: 0;
}

.about-vision-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 30px;
    transition: all 0.3s;
    height: 100%;
}

.about-vision-card:hover {
    box-shadow: var(--card-shadow);
    transform: translateY(-5px);
}

/* Interactive Timeline (Business Process) */
.process-timeline {
    position: relative;
    padding: 30px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.process-item {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 15px;
}

.process-icon-wrap {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    color: var(--primary);
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.process-item:hover .process-icon-wrap {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 15px 30px rgba(5, 147, 157, 0.2);
}

.process-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .process-timeline::before {
        display: none;
    }

    .process-item {
        margin-bottom: 40px;
    }
}

/* Why Choose Us & Premium Glassmorphism Cards */
.why-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(5, 147, 157, 0.3);
}

.why-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Premium Service Cards */
.service-premium-card {
    background: var(--white);
    border-radius: 16px;
    padding: 50px 40px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-premium-card .service-num {
    position: absolute;
    right: 30px;
    top: 25px;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(5, 147, 157, 0.06);
    line-height: 1;
}

.service-premium-card .service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 30px;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-premium-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.service-premium-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.service-premium-card .service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-premium-card .service-link i {
    transition: transform 0.3s;
}

.service-premium-card:hover {
    background-color: var(--navy);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(22, 50, 79, 0.15);
}

.service-premium-card:hover h3 {
    color: var(--white);
}

.service-premium-card:hover p {
    color: rgba(255, 255, 255, 0.7);
}

.service-premium-card:hover .service-icon {
    color: var(--primary);
    transform: scale(1.1);
}

.service-premium-card:hover .service-link {
    color: var(--primary);
}

.service-premium-card:hover .service-link i {
    transform: translateX(5px);
}

/* Service Detail Sidebar */
.service-detail-sidebar-col {
    position: relative;
}

.service-detail-sidebar {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 130px);
    overflow: hidden;
    position: sticky;
    top: 110px;
    z-index: 5;
}

.service-sidebar-head {
    padding: 26px 28px 22px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--light-teal) 0%, var(--white) 100%);
}

.service-sidebar-head .font-monospace {
    display: block;
    font-size: 0.72rem;
    margin-bottom: 8px;
}

.service-detail-nav-list {
    flex: 1 1 auto;
    padding: 18px;
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

.service-nav-category {
    color: var(--text-muted);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    margin: 18px 10px 8px;
    text-transform: uppercase;
}

.service-nav-category:first-child {
    margin-top: 0;
}

.service-detail-nav-link {
    align-items: center;
    background: var(--white);
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--text-dark);
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    padding: 13px 12px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.service-detail-nav-link:hover {
    background: var(--light-teal);
    border-color: var(--border-teal);
    color: var(--navy);
    transform: translateX(4px);
}

.service-detail-nav-link.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    box-shadow: 0 16px 32px rgba(11, 45, 61, 0.14);
}

.service-nav-icon {
    align-items: center;
    background: rgba(5, 147, 157, 0.1);
    border-radius: 8px;
    color: var(--primary);
    display: inline-flex;
    flex: 0 0 42px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.service-detail-nav-link.active .service-nav-icon {
    background: rgba(255, 255, 255, 0.12);
    color: var(--primary-light);
}

.service-nav-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.service-nav-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
}

.service-nav-current {
    color: var(--primary-light);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2px;
}

.service-nav-arrow {
    color: var(--text-muted);
    flex: 0 0 auto;
    font-size: 1.15rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.25s ease;
}

.service-detail-nav-link:hover .service-nav-arrow,
.service-detail-nav-link.active .service-nav-arrow {
    opacity: 1;
    transform: translateX(0);
}

.service-detail-nav-link.active .service-nav-arrow {
    color: var(--primary-light);
}

.service-sidebar-cta {
    align-items: flex-start;
    background: var(--light-teal);
    border-top: 1px solid var(--border-teal);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 28px;
}

.service-sidebar-cta span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.service-sidebar-cta a {
    align-items: center;
    color: var(--primary-dark);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 800;
    gap: 6px;
    text-decoration: none;
}

.service-sidebar-cta a:hover {
    color: var(--navy);
}

@media (max-width: 991.98px) {
    .service-detail-sidebar {
        position: static !important;
        top: auto;
    }

    .service-detail-nav-list {
        max-height: none;
    }
}

/* ERP Solutions Section with Live Laptop Mockup */
.erp-mockup-wrap {
    position: relative;
    perspective: 1000px;
}

.erp-laptop-base {
    background: #0D1B2A;
    border-radius: 8px 8px 0 0;
    padding: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.erp-dashboard-preview {
    background: #111827;
    border-radius: 4px;
    overflow: hidden;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.erp-glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
}

/* Testimonial Glass Swiper */
.testimonial-swiper {
    padding: 40px 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 50px;
    box-shadow: var(--card-shadow);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

/* CTA Banner with Gradient Accent */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(22, 50, 79, 0.25);
}

/* Latest Blogs - Magazine layout */
.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(11, 45, 61, 0.06);
    box-shadow: 0 4px 20px -2px rgba(11, 45, 61, 0.03), 0 2px 6px -1px rgba(11, 45, 61, 0.02);
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(5, 147, 157, 0.25);
    box-shadow: 0 24px 48px -12px rgba(5, 147, 157, 0.12), 0 8px 20px -6px rgba(11, 45, 61, 0.04);
}

.blog-img-wrap {
    overflow: hidden;
    position: relative;
    height: 240px;
}

.blog-img-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(11, 45, 61, 0) 40%, rgba(11, 45, 61, 0.35) 100%);
    opacity: 0.85;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.blog-card:hover .blog-img-wrap::after {
    opacity: 1;
    background: linear-gradient(to bottom, rgba(5, 147, 157, 0.1) 0%, rgba(11, 45, 61, 0.5) 100%);
}

.blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.08);
}

.blog-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    bottom: auto;
    background: rgba(11, 45, 61, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    padding: 6px 14px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    z-index: 2;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-tag {
    background: var(--primary);
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(5, 147, 157, 0.35);
}

.blog-body {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary) !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.blog-meta-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 50%;
}

.blog-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.blog-title a {
    color: var(--navy);
    text-decoration: none;
    background-image: linear-gradient(120deg, var(--primary-light) 0%, var(--primary-light) 100%);
    background-repeat: no-repeat;
    background-size: 100% 0%;
    background-position: 0 100%;
    transition: background-size 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), color 0.25s ease;
}

.blog-card:hover .blog-title a {
    color: var(--primary-dark);
    background-size: 100% 2px;
}

.blog-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.blog-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none !important;
    margin-top: auto;
    cursor: pointer;
    transition: color 0.3s ease;
}

.blog-footer-link svg {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), stroke 0.3s ease;
    stroke: var(--navy);
}

.blog-card:hover .blog-footer-link {
    color: var(--primary);
}

.blog-card:hover .blog-footer-link svg {
    transform: translateX(6px);
    stroke: var(--primary);
}

/* Featured Blog Card Styling */
.blog-card-featured {
    border-radius: 24px !important;
    border: 1px solid rgba(5, 147, 157, 0.08) !important;
    box-shadow: 0 10px 40px -10px rgba(11, 45, 61, 0.06), 0 2px 8px rgba(11, 45, 61, 0.02) !important;
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.45s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.blog-card-featured:hover {
    transform: translateY(-5px);
    border-color: rgba(5, 147, 157, 0.3) !important;
    box-shadow: 0 30px 60px -15px rgba(5, 147, 157, 0.15), 0 10px 25px -5px rgba(11, 45, 61, 0.05) !important;
}

.featured-img-wrap {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.featured-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card-featured:hover .featured-img-wrap img {
    transform: scale(1.05);
}

.featured-img-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(11, 45, 61, 0) 50%, rgba(11, 45, 61, 0.15) 100%);
    opacity: 0.8;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.blog-card-featured:hover .featured-img-wrap::after {
    opacity: 1;
    background: linear-gradient(to right, rgba(5, 147, 157, 0.05) 0%, rgba(11, 45, 61, 0.25) 100%);
}

/* FAQ Accordion Styling */
.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
    background: transparent;
}

.faq-accordion .accordion-button {
    background-color: var(--white);
    color: var(--navy);
    font-weight: 700;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: var(--light-teal);
    color: var(--primary-dark);
    box-shadow: none;
    border-color: var(--primary);
}

.faq-accordion .accordion-body {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-top: none;
    padding: 24px;
    border-radius: 0 0 12px 12px !important;
}

/* Contact split layout */
.contact-info-wrap {
    background-color: var(--navy);
    color: var(--white);
    padding: 50px;
    border-radius: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 99999;
    text-decoration: none;
    transition: all 0.3s ease;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    -webkit-transform: scale(1.1) rotate(10deg);
    color: var(--white);
}

/* ==========================================================================
   Interactive WhatsApp Chat Box
   ========================================================================== */
.whatsapp-chat-box {
    position: fixed;
    bottom: 115px;
    right: 40px;
    width: 360px;
    height: 480px;
    background-color: #f0f2f5;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(22, 50, 79, 0.18);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) translate3d(0, 0, 0);
    -webkit-transform: translateY(20px) translate3d(0, 0, 0);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(5, 147, 157, 0.1);
    will-change: transform, opacity;
}

.whatsapp-chat-box.active {
    transform: translateY(0) translate3d(0, 0, 0);
    -webkit-transform: translateY(0) translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
}

/* Header Styling */
.wa-header {
    background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wa-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wa-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.wa-status-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background-color: #4AD964;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.wa-title-wrap h5 {
    color: var(--white) !important;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}

.wa-title-wrap span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    display: block;
}

.wa-close-btn {
    color: rgba(255, 255, 255, 0.8);
    background: none;
    border: none;
    font-size: 1.15rem;
    cursor: pointer;
    transition: color 0.3s;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-close-btn:hover {
    color: var(--white);
}

/* Body Styling with Classic Doodle Background */
.wa-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #E5DDD5;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0F70-73b1-11e7-911d-60d70fcded21.png');
    background-blend-mode: overlay;
    opacity: 0.97;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Custom Scrollbar for Chat Body */
.wa-body::-webkit-scrollbar {
    width: 6px;
}

.wa-body::-webkit-scrollbar-track {
    background: transparent;
}

.wa-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

/* Chat Bubble Styling */
.wa-bubble {
    max-width: 82%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.45;
    position: relative;
    box-shadow: 0 1px 2px rgba(22, 50, 79, 0.08);
}

.wa-bubble.system {
    background-color: var(--white);
    color: #2D3748;
    align-self: flex-start;
    border-top-left-radius: 0;
}

.wa-bubble.user {
    background-color: #DCF8C6;
    color: #1A202C;
    align-self: flex-end;
    border-top-right-radius: 0;
}

.wa-time {
    font-size: 0.65rem;
    color: rgba(0, 0, 0, 0.45);
    text-align: right;
    margin-top: 5px;
    display: block;
}

/* Footer & Input Styling */
.wa-footer {
    background-color: #f0f2f5;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid rgba(22, 50, 79, 0.05);
}

.wa-input-wrap {
    flex: 1;
}

.wa-input-wrap input {
    width: 100%;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 9px 18px;
    font-size: 0.85rem;
    background-color: var(--white);
    color: var(--text-dark);
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.wa-input-wrap input:focus {
    border-color: #05939D;
    box-shadow: 0 0 0 2px rgba(5, 147, 157, 0.1);
}

.wa-send-btn {
    background-color: #075E54;
    color: var(--white);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(7, 94, 84, 0.3);
    transition: all 0.2s ease;
    padding: 0;
}

.wa-send-btn:hover {
    background-color: #128C7E;
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(18, 140, 126, 0.4);
}

.wa-send-btn:active {
    transform: scale(0.95);
}

.wa-opt-btn {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.825rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid rgba(5, 147, 157, 0.15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wa-opt-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(5, 147, 157, 0.15);
}

.btn-outline-teal {
    color: #05939D;
    border-color: #05939D;
    transition: all 0.2s ease;
}

.btn-outline-teal:hover,
.btn-outline-teal:active {
    background-color: #05939D !important;
    color: var(--white) !important;
}

.wa-service-btn {
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid rgba(5, 147, 157, 0.2);
}

.wa-service-btn:hover {
    transform: translateY(-1px);
    background-color: #05939D !important;
    color: white !important;
}

/* Responsive adjustment for mobile screen sizes */
@media (max-width: 480px) {
    .whatsapp-chat-box {
        bottom: 95px;
        right: 15px;
        left: 15px;
        width: auto;
        height: 420px;
    }

    .whatsapp-float {
        bottom: 25px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 2rem;
    }

    #back-to-top {
        bottom: 25px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Back-To-Top Button */
#back-to-top {
    position: fixed;
    bottom: 40px;
    left: 40px;
    background-color: var(--navy);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    opacity: 0;
    visibility: hidden;
    z-index: 99999;
    transition: all 0.4s ease;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

/* Dark Premium Footer */
.footer-dark {
    background-color: #0E1823;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
    border-top: 4px solid var(--primary);
}

.footer-wave {
    display: none;
}

.footer-dark h4 {
    color: var(--white);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 25px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links-list a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Newsletter Input */
.newsletter-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 8px 0 0 8px;
}

.newsletter-input:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: none;
    color: var(--white);
}

.newsletter-btn {
    background-color: var(--primary);
    border: none;
    color: var(--white);
    padding: 0 25px;
    border-radius: 0 8px 8px 0;
    transition: background-color 0.3s;
}

.newsletter-btn:hover {
    background-color: var(--primary-dark);
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
    padding: 180px 0 100px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header .pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    opacity: 0.1;
    background-image: radial-gradient(circle, var(--primary) 2px, transparent 2px);
    background-size: 24px 24px;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* Custom background graphics */
.bg-grid-pattern {
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(5, 147, 157, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(5, 147, 157, 0.03) 1px, transparent 1px);
}

/* Statistics Typography */
.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
}

.stat-item p {
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

/* Horizontal Timeline Business Process Flow */
.horizontal-flow {
    display: flex;
    justify-content: space-between;
    position: relative;
}

/* Animated Border Ripple FX */
.ripple-element {
    animation: rippleEffect 2s infinite;
}

@keyframes rippleEffect {
    0% {
        box-shadow: 0 0 0 0 rgba(5, 147, 157, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(5, 147, 157, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(5, 147, 157, 0);
    }
}

/* ==========================================================================
   Comprehensive Mobile & Multi-Device Optimizations
   ========================================================================== */
@media (max-width: 991px) {

    /* Mobile navbar with transparent state when not scrolled, and glassmorphic dark when scrolled */
    .main-nav {
        background-color: rgba(11, 45, 61, 0.28) !important;
        background: rgba(11, 45, 61, 0.28) !important;
        padding: 20px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: none !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        z-index: 2000 !important;
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    }

    .main-nav.scrolled {
        background-color: var(--navy-dark) !important;
        background: var(--navy-dark) !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 4px 20px rgba(5, 26, 37, 0.3) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    }

    /* Ensure brand text is bright, high-contrast, and always visible */
    .main-nav .navbar-brand,
    .main-nav.scrolled .navbar-brand,
    .navbar-dark .navbar-brand {
        color: var(--white) !important;
        font-size: 1.35rem !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-block !important;
        position: relative !important;
        z-index: 3 !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55) !important;
    }

    .main-nav .navbar-brand span,
    .main-nav.scrolled .navbar-brand span {
        color: var(--primary-light) !important;
    }

    /* Elegant and readable collapsed navbar styling */
    .main-nav .navbar-collapse {
        background-color: var(--navy-dark) !important;
        margin-top: 12px;
        border-radius: 12px;
        padding: 15px 10px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.25);
    }

    /* Reset layout for container in mobile menus */
    .main-nav .navbar-nav {
        width: 100% !important;
        align-items: flex-start !important;
        padding: 0 5px !important;
    }

    .main-nav .nav-item {
        width: 100% !important;
        margin: 0 !important;
    }

    /* Mobile-optimized interactive menu items */
    .main-nav .nav-link,
    .main-nav.scrolled .nav-link {
        color: rgba(255, 255, 255, 0.85) !important;
        padding: 12px 18px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
        width: 100% !important;
        text-align: left !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
        transition: all 0.25s ease-in-out !important;
        text-shadow: none !important;
    }

    .main-nav .nav-link:hover,
    .main-nav .nav-link.active,
    .main-nav.scrolled .nav-link:hover,
    .main-nav.scrolled .nav-link.active {
        color: var(--primary-light) !important;
        background-color: rgba(255, 255, 255, 0.03) !important;
        padding-left: 24px !important;
        /* Elegant slide-in indent on tap/hover */
    }

    /* Remove the desktop-only absolute bottom underline indicator on mobile */
    .main-nav .nav-link::after,
    .main-nav.scrolled .nav-link::after {
        display: none !important;
    }

    /* High-contrast accessible toggler button */
    .main-nav .navbar-toggler,
    .main-nav.scrolled .navbar-toggler,
    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.3) !important;
        background-color: rgba(255, 255, 255, 0.08) !important;
        padding: 6px 10px !important;
        outline: none !important;
        box-shadow: none !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative !important;
        z-index: 3 !important;
    }

    /* Force the hamburger menu lines to be crisp white in both scrolled/top states */
    .main-nav .navbar-toggler-icon,
    .main-nav.scrolled .navbar-toggler-icon,
    .navbar-toggler-icon {
        filter: invert(0) grayscale(0) brightness(1.5) !important;
        -webkit-filter: invert(0) grayscale(0) brightness(1.5) !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-block !important;
    }

    /* Search Trigger icon alignment */
    .main-nav .search-trigger,
    .main-nav.scrolled .search-trigger {
        color: var(--white) !important;
        display: flex !important;
        align-items: center !important;
        width: auto !important;
    }

    /* Consultation button redesigned specifically for premium tactile mobile tapping */
    .main-nav .btn-consult,
    .main-nav.scrolled .btn-consult {
        margin-top: 15px !important;
        margin-bottom: 5px !important;
        width: calc(100% - 20px) !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
        display: block !important;
        text-align: center !important;
        background-color: var(--primary) !important;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
        border: none !important;
        color: var(--white) !important;
        padding: 14px 20px !important;
        border-radius: 30px !important;
        font-weight: 600 !important;
        font-size: 0.95rem !important;
        box-shadow: 0 4px 15px rgba(5, 147, 157, 0.25) !important;
    }

    .main-nav .btn-consult:hover,
    .main-nav.scrolled .btn-consult:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(5, 147, 157, 0.35) !important;
    }

    /* Page header responsive vertical spacing */
    .page-header {
        padding: 140px 0 70px !important;
    }

    /* Mobile-optimized typography sizing */
    .hero-content h1 {
        font-size: 2.2rem !important;
        line-height: 1.25 !important;
    }

    .hero-content p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }
}

/* ==========================================================================
   Premium Blog Details and Sticky Sidebar Styles
   ========================================================================== */

/* Sticky Sidebar on Large Screen (Matches targeted CSS selector) */
@media (min-width: 992px) {
    .blog-sidebar-col {
        position: sticky !important;
        top: 110px !important;
        align-self: start !important;
        height: auto !important;
        z-index: 10;
    }
}

/* Premium Sidebar Card Styles */
.premium-sidebar-card {
    background: var(--white);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(11, 45, 61, 0.06);
    box-shadow: 0 4px 20px -2px rgba(11, 45, 61, 0.03), 0 2px 6px -1px rgba(11, 45, 61, 0.01);
    margin-bottom: 28px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-sidebar-card:hover {
    border-color: rgba(5, 147, 157, 0.15);
    box-shadow: 0 12px 30px -5px rgba(5, 147, 157, 0.06), 0 4px 12px -2px rgba(11, 45, 61, 0.02);
}

.widget-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 750;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(5, 147, 157, 0.12);
    display: block;
}

/* Premium Search Widget */
.search-box-inner {
    position: relative;
    display: flex;
    align-items: center;
}

.form-control-premium {
    width: 100%;
    padding: 12px 50px 12px 18px;
    font-size: 0.88rem;
    background-color: #f7f9fa;
    border: 1px solid rgba(11, 45, 61, 0.08);
    border-radius: 30px;
    color: var(--navy);
    transition: all 0.3s ease;
}

.form-control-premium:focus {
    background-color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(5, 147, 157, 0.08);
    outline: none;
}

.search-btn-premium {
    position: absolute;
    right: 6px;
    width: 38px;
    height: 38px;
    background-color: var(--primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.search-btn-premium:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

/* Sidebar Articles Index (TOC / Related) */
.sidebar-articles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-article-link {
    display: flex;
    gap: 16px;
    text-decoration: none !important;
    padding: 14px;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: transparent;
    border: 1px solid transparent;
}

.sidebar-article-link:hover {
    background: rgba(5, 147, 157, 0.03);
    border-color: rgba(5, 147, 157, 0.05);
}

.sidebar-link-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: rgba(11, 45, 61, 0.15);
    line-height: 1;
    transition: color 0.3s ease;
}

.sidebar-link-content {
    flex-grow: 1;
}

.sidebar-link-tag {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 4px;
}

.sidebar-link-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.45;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.sidebar-link-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Active State */
.sidebar-article-link.active {
    background: rgba(5, 147, 157, 0.05);
    border-left: 4px solid var(--primary);
    border-radius: 0 14px 14px 0;
    padding-left: 12px;
}

.sidebar-article-link.active .sidebar-link-num {
    color: var(--primary);
}

.sidebar-article-link.active .sidebar-link-title {
    color: var(--primary-dark);
}

/* Author Avatar & Bio Styles */
.author-avatar-wrap {
    width: 96px;
    height: 96px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(5, 147, 157, 0.15);
    box-shadow: 0 4px 12px rgba(11, 45, 61, 0.06);
    position: relative;
    transition: all 0.4s ease;
}

.author-avatar-wrap:hover {
    transform: scale(1.03);
    border-color: var(--primary);
}

.author-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.author-name {
    font-size: 1.15rem;
    font-weight: 750;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.author-role {
    font-size: 0.72rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.author-bio {
    line-height: 1.65;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Custom Interactive Toast Notification styling */
.toast-container-premium {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
}

.premium-toast {
    background: var(--navy);
    color: var(--white);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(11, 45, 61, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.premium-toast i {
    color: var(--primary-light);
    font-size: 1.25rem;
}

/* Premium Main Content Styling */
.blog-article-pane p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #4a5568;
    margin-bottom: 24px;
}

.blog-article-pane>p.lead::first-letter {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    float: left;
    line-height: 0.85;
    margin-right: 12px;
    margin-top: 4px;
    color: var(--primary);
}

.blog-article-pane blockquote {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.65;
    color: var(--navy);
    background: rgba(5, 147, 157, 0.04) !important;
    border-left: 4px solid var(--primary) !important;
    padding: 28px 36px !important;
    margin: 36px 0 !important;
    border-radius: 0 16px 16px 0;
}

/* Highlight boxes for Key Takeaways */
.takeaways-box {
    background: #f8fafc;
    border: 1px solid rgba(11, 45, 61, 0.05);
    border-radius: 20px;
    padding: 28px;
    margin-top: 24px;
    margin-bottom: 36px;
    box-shadow: inset 0 2px 4px rgba(11, 45, 61, 0.01);
}

.takeaways-title {
    font-size: 0.85rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.takeaways-list {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.takeaways-list li {
    position: relative;
    padding-left: 26px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.takeaways-list li:last-child {
    margin-bottom: 0;
}

.takeaways-list li::before {
    content: "\F272";
    /* Bootstrap Check-circle-fill */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
    font-size: 0.95rem;
}

/* Premium Article Feedback & Share blocks */
.article-feedback-card {
    background: #f8fafc;
    border: 1px solid rgba(11, 45, 61, 0.06);
    border-radius: 20px;
    padding: 30px 32px;
    margin-top: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.feedback-text-wrap h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.feedback-text-wrap p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

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

.btn-feedback-insight {
    background-color: var(--white);
    border: 1px solid rgba(11, 45, 61, 0.08);
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 650;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 4px rgba(11, 45, 61, 0.02);
}

.btn-feedback-insight:hover,
.btn-feedback-insight.voted {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 147, 157, 0.2);
}

.btn-feedback-insight i {
    transition: transform 0.3s ease;
}

.btn-feedback-insight:hover i {
    transform: scale(1.15);
}

.btn-feedback-share {
    background-color: var(--navy);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 650;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 10px rgba(11, 45, 61, 0.1);
    border: none;
}

.btn-feedback-share:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(5, 147, 157, 0.25);
}
