/* =========================================
   ToolyBlog Theme Tokens
   ========================================= */
:root {
    --tb-navy: #0b2538;
    --tb-navy-700: #11344f;
    --tb-navy-600: #16405f;
    --tb-cyan: #29b6f6;
    --tb-cyan-300: #6fd6ff;
    --tb-surface: #f8fafc;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

/* =========================================
   Shared utilities
   ========================================= */
.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

.card.rounded-4 {
    border-radius: 1rem;
}

.rounded-4 {
    border-radius: 1rem !important;
}

/* for non-card elems needing same radius */
.bg-surface {
    background: var(--tb-surface);
}

.hover-lift {
    transition: transform .2s ease, box-shadow .2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hover-raise {
    transition: transform .2s ease, box-shadow .2s ease;
}

.hover-raise:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(2, 8, 20, 0.06);
}

.py-lg-6 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}

/* Light/dark text helpers adapted for theme */
.text-light-200 {
    color: rgba(11, 37, 56, 0.80) !important;
}

.text-light-300 {
    color: rgba(11, 37, 56, 0.60) !important;
}

/* =========================================
   Buttons
   ========================================= */
.btn-primary {
    background: linear-gradient(90deg, var(--tb-cyan) 0%, var(--tb-cyan-300) 100%);
    border: none;
    color: #07202f;
}

.btn-primary:hover {
    filter: brightness(0.95);
}

.btn-outline-light {
    /* on light hero, treat as navy outline */
    border-color: rgba(11, 37, 56, 0.35);
    color: #0b2538;
}

.btn-outline-light:hover {
    background-color: rgba(11, 37, 56, 0.06);
    border-color: rgba(11, 37, 56, 0.6);
    color: #0b2538;
}

.btn-outline-primary {
    color: var(--tb-navy-600);
    border-color: var(--tb-navy-600);
}

.btn-outline-primary:hover {
    background-color: var(--tb-navy-600);
    color: #fff;
}

/* Soft brand action used in cards/CTAs */
.btn-soft-primary {
    background-color: rgba(41, 182, 246, 0.12);
    color: var(--tb-navy-600);
    border: 1px solid rgba(41, 182, 246, 0.25);
}

.btn-soft-primary:hover {
    background-color: rgba(41, 182, 246, 0.18);
    color: var(--tb-navy);
}

/* =========================================
   Hero (light theme)
   ========================================= */
.hero-section {
    background-color: #ffffff;
    background-image:
        radial-gradient(1000px 500px at 85% -10%, rgba(11, 37, 56, 0.06), transparent 60%),
        linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    position: relative;
    padding-top: clamp(2rem, 4vw, 4rem);
    padding-bottom: clamp(2rem, 4vw, 4rem);
    margin-top: 15px;
    color: #0b2538;
}

.hero-section h1,
.hero-section .display-5 {
    color: #0b2538 !important;
}

.hero-section .lead {
    color: rgba(11, 37, 56, 0.80);
}

/* Search */
.hero-search .form-control {
    border-radius: 14px;
    background: rgba(11, 37, 56, 0.04);
    color: #0b2538;
    border: 1px solid rgba(11, 37, 56, 0.10);
}

.hero-search .form-control::placeholder {
    color: rgba(11, 37, 56, 0.55);
}

.bg-dark-30 {
    background: rgba(11, 37, 56, 0.04) !important;
}

/* Right visual */
.hero-visual .hero-card {
    background: #fff;
    border: 1px solid rgba(11, 37, 56, 0.08);
}

.icon-shape {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Floating dots */
.float-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--tb-cyan-300), var(--tb-cyan));
    box-shadow: 0 0 18px rgba(41, 182, 246, 0.45);
    animation: floatY 6s ease-in-out infinite;
}

.dot-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.dot-2 {
    top: 50%;
    right: 2%;
    animation-delay: .8s;
}

.dot-3 {
    bottom: 5%;
    right: 20%;
    animation-delay: 1.6s;
}

@keyframes floatY {

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

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

/* Trusted strip chips on light */
.hero-section .badge.bg-dark-30 {
    background: rgba(11, 37, 56, 0.06) !important;
    color: #0b2538;
    border: 1px solid rgba(11, 37, 56, 0.10);
}

/* Keep responsive hero alignment */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
    }

    .hero-search {
        max-width: 540px;
        margin: 0 auto 1rem;
    }

    .hero-visual {
        margin-top: .5rem;
    }
}

/* =========================================
   Tools Section
   ========================================= */
.tools-section h2 {
    letter-spacing: -0.02em;
}

.tool-card .tool-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* =========================================
   Recent Blog Posts
   ========================================= */
.recent-posts-section {}

.blog-card {
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--tb-navy) 0%, rgba(11, 37, 56, 0.6) 100%);
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

.blog-card .card-body {
    background:
        radial-gradient(600px 120px at 20% -20%, rgba(41, 182, 246, 0.08), transparent 70%),
        linear-gradient(180deg, rgba(11, 37, 56, 0.02), rgba(11, 37, 56, 0.00));
}

.read-more-link {
    color: var(--tb-navy);
    text-decoration: none;
}

.read-more-link:hover {
    color: var(--tb-navy);
    text-decoration: underline;
}

/* Pills */
.badge.bg-primary-subtle {
    background-color: rgba(41, 182, 246, 0.12) !important;
    color: var(--tb-navy) !important;
    border: 1px solid rgba(41, 182, 246, 0.25);
    padding: .35rem .6rem;
    border-radius: 999px;
}

/* =========================================
   Services Section
   ========================================= */
.service-card {
    overflow: hidden;
    position: relative;
}

.service-card .card-body {
    background:
        radial-gradient(500px 120px at 10% -20%, rgba(41, 182, 246, 0.08), transparent 70%),
        linear-gradient(180deg, rgba(11, 37, 56, 0.02), rgba(11, 37, 56, 0.00));
}

.service-card .card-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--tb-navy) 0%, rgba(11, 37, 56, 0.6) 100%);
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

.icon-badge {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
