:root {
    --primary-blue: #0046E5;
    --primary-green: #00E841;
    --dark-text: #222;
    --body-text: #555;
    --light-bg: #f8f9fa;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --border-radius: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--body-text);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-text);
    letter-spacing: -0.02em;
}

.page-banner {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(0, 70, 229, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

    .page-banner::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('assets/images/shape/shape-1.png');
        opacity: 0.1;
        animation: moveBackground 20s linear infinite;
    }

@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 100%;
    }
}

.blog-details {
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: #fff;
    box-shadow: var(--card-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.featured-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

    .featured-image:hover {
        transform: translateY(-10px);
    }

.post-meta {
    font-size: 0.9rem;
    color: #777;
}

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

    .content h2 {
        font-size: 1.8rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
        position: relative;
        padding-bottom: 0.5rem;
    }

        .content h2::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
            border-radius: 3px;
        }

    .content h3 {
        font-size: 1.4rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .content p {
        margin-bottom: 1.5rem;
    }

    .content ul {
        margin-bottom: 1.5rem;
        padding-left: 1.2rem;
    }

        .content ul li {
            margin-bottom: 0.5rem;
            position: relative;
        }

blockquote {
    border-radius: var(--border-radius);
    background-color: var(--light-bg);
    border-left: 5px solid var(--primary-blue);
    padding: 1.5rem;
    font-style: italic;
    margin: 2rem 0;
    box-shadow: var(--card-shadow);
}

.share-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

    .share-buttons h5 {
        margin-right: 1rem;
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }

    .share-buttons a {
        border-radius: 50px;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .share-buttons a:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

.author-bio {
    border-radius: var(--border-radius);
    background-color: #fff;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid #eee;
}

    .author-bio img {
        border: 3px solid #fff;
        box-shadow: var(--card-shadow);
    }

.sidebar {
    position: sticky;
    top: 100px;
}

.widget {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid #eee;
}

.widget-title {
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

    .widget-title h4 {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .widget-title::after {
        content: "";
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 50px;
        height: 3px;
        background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
        border-radius: 3px;
    }

.calculator-widget {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.form-label {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.input-group {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    overflow: hidden;
}

.input-group-text {
    background-color: #f0f2f5;
    border: none;
    color: #666;
}

.form-control, .form-select {
    border: none;
    padding: 0.6rem 1rem;
    box-shadow: none;
}

.btn-primary-blue {
    background: linear-gradient(135deg, var(--primary-blue), #1060FF);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    padding: 0.6rem 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .btn-primary-blue:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 70, 229, 0.2);
    }

.widget-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #eee;
    transition: transform 0.3s ease;
}

    .widget-list li:last-child {
        border-bottom: none;
    }

    .widget-list li:hover {
        transform: translateX(5px);
    }

.widget-list a {
    color: var(--body-text);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .widget-list a:hover {
        color: var(--primary-blue);
    }

.badge {
    background-color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.75rem;
}

.recent-post {
    transition: transform 0.3s ease;
}

    .recent-post:hover {
        transform: translateY(-5px);
    }

    .recent-post a {
        text-decoration: none;
        color: inherit;
    }

    .recent-post img {
        border-radius: 8px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .recent-post:hover img {
        transform: scale(1.05);
    }

    .recent-post h6 {
        font-size: 0.95rem;
        line-height: 1.4;
        transition: color 0.3s ease;
    }

    .recent-post:hover h6 {
        color: var(--primary-blue);
    }

.table {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

    .table thead {
        background: linear-gradient(135deg, var(--primary-blue), #1060FF);
    }

.search-box .input-group {
    border-radius: 50px;
    overflow: hidden;
}

.search-box .form-control {
    border-radius: 50px 0 0 50px;
    padding-left: 1.2rem;
}

.search-box .btn {
    border-radius: 0 50px 50px 0;
    padding: 0.6rem 1.2rem;
}

@media (max-width: 991px) {
    .sidebar {
        margin-top: 3rem;
        position: static;
    }
}

@media (max-width: 767px) {
    .page-banner {
        padding: 3rem 0;
    }

    .blog-details {
        padding: 1.5rem;
    }

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

/* Animation for elements */
.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
