/* Blog Styles */

:root {
    --primary-color: #00cfff;
    --secondary-color: #0066cc;
    --dark-bg: #0a0a14;
    --darker-bg: #050510;
    --light-text: #ffffff;
    --muted-text: rgba(255, 255, 255, 0.7);
    --gold-accent: #ffc107;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(20, 20, 40, 0.7);
    --hover-bg: rgba(0, 207, 255, 0.1);
}

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.9) 0%, rgba(30, 30, 60, 0.9) 100%), url('images/new/business-people-examining-business-graphs-EYB89TR.jpeg');
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 207, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.blog-hero .container {
    position: relative;
    z-index: 2;
}

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

.blog-hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.blog-hero-content h1 span {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00a0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.blog-hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
}

.blog-hero-content p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.blog-search {
    max-width: 500px;
    margin: 0 auto;
}

.blog-search form {
    display: flex;
    position: relative;
}

.blog-search input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1em;
    outline: none;
    transition: all 0.3s ease;
}

.blog-search input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.blog-search input:focus {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(0, 207, 255, 0.3);
}

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

.blog-search button:hover {
    background: var(--secondary-color);
}

/* Blog Categories */
.blog-categories {
    background-color: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
}

.section-padding-sm {
    padding: 30px 0;
}

.categories-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.category-pill {
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.category-pill:hover {
    background: rgba(0, 207, 255, 0.1);
    color: var(--primary-color);
}

.category-pill.active {
    background: var(--primary-color);
    color: white;
}

/* Blog Content */
.blog-content {
    background-color: var(--dark-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Featured Post */
.featured-post {
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.7) 0%, rgba(20, 20, 40, 0.7) 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 207, 255, 0.3);
}

.featured-post .post-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.featured-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8em;
    font-weight: 600;
    z-index: 2;
}

.featured-post .post-content {
    padding: 30px;
}

.featured-post h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.featured-post h2 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-post h2 a:hover {
    color: var(--primary-color);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-meta i {
    color: var(--primary-color);
}

.featured-post p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: white;
}

.read-more i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.post-card {
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.7) 0%, rgba(20, 20, 40, 0.7) 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 207, 255, 0.3);
}

.post-card .post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-card .post-content {
    padding: 20px;
}

.post-card h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.post-card h3 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card h3 a:hover {
    color: var(--primary-color);
}

.post-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95em;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: rgba(0, 207, 255, 0.1);
    color: var(--primary-color);
}

.pagination a.active {
    background: var(--primary-color);
    color: white;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.7) 0%, rgba(20, 20, 40, 0.7) 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    border-color: rgba(0, 207, 255, 0.2);
}

.sidebar-widget h3 {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

/* Lead Magnet Widget */
.lead-magnet-widget {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.3) 0%, rgba(0, 207, 255, 0.3) 100%);
}

.lead-magnet-content {
    padding: 25px;
    text-align: center;
}

.lead-magnet-content h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    padding-bottom: 0;
}

.lead-magnet-content h3::after {
    display: none;
}

.lead-magnet-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.lead-magnet-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lead-magnet-form input {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1em;
    outline: none;
    transition: all 0.3s ease;
}

.lead-magnet-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.lead-magnet-form input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.privacy-note {
    margin-top: 15px;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
}

/* Categories Widget */
.categories-widget {
    padding: 25px;
}

.categories-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-widget ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.categories-widget ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.categories-widget ul li a:hover {
    color: var(--primary-color);
}

.categories-widget ul li a span {
    background: rgba(0, 207, 255, 0.1);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8em;
}

/* Popular Posts Widget */
.popular-posts-widget {
    padding: 25px;
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-post {
    display: flex;
    gap: 15px;
}

.popular-post .post-image {
    width: 80px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.popular-post .post-info {
    flex-grow: 1;
}

.popular-post h4 {
    font-size: 1em;
    margin: 0 0 5px;
    line-height: 1.4;
}

.popular-post h4 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-post h4 a:hover {
    color: var(--primary-color);
}

.popular-post .post-date {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
}

/* Tags Widget */
.tags-widget {
    padding: 25px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-cloud a {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.tags-cloud a:hover {
    background: rgba(0, 207, 255, 0.1);
    color: var(--primary-color);
}

/* Course Promo Widget */
.course-promo-widget {
    overflow: hidden;
}

.course-promo-content {
    padding: 25px;
    text-align: center;
}

.course-promo-content h3 {
    margin-bottom: 15px;
    padding-bottom: 0;
}

.course-promo-content h3::after {
    display: none;
}

.course-promo-content img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.course-promo-content h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: white;
}

.course-promo-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    line-height: 1.6;
}

.course-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.course-rating .stars {
    color: var(--gold-accent);
}

.course-rating span {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

.course-price {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.original-price {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.5);
}

.sale-price {
    color: var(--primary-color);
    font-size: 1.2em;
    font-weight: 700;
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--darker-bg);
}

.newsletter-container {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.3) 0%, rgba(0, 207, 255, 0.3) 100%);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.newsletter-content {
    flex: 1;
}

.newsletter-content h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: white;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1em;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

/* Blog Post Page Specific Styles */
.blog-post-content {
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.7) 0%, rgba(20, 20, 40, 0.7) 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
}

.blog-post-header {
    margin-bottom: 30px;
}

.blog-post-header h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: white;
}

.blog-post-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-body {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.05em;
}

.blog-post-body p {
    margin-bottom: 20px;
}

.blog-post-body h2 {
    font-size: 1.8em;
    margin: 40px 0 20px;
    color: white;
}

.blog-post-body h3 {
    font-size: 1.4em;
    margin: 30px 0 15px;
    color: white;
}

.blog-post-body ul, .blog-post-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-post-body li {
    margin-bottom: 10px;
}

.blog-post-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin: 20px 0;
    background: rgba(0, 207, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.blog-post-body img {
    max-width: 100%;
    border-radius: 10px;
    margin: 20px 0;
}

.blog-post-body a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-body a:hover {
    text-decoration: underline;
}

.blog-post-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.post-tags a {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: rgba(0, 207, 255, 0.1);
    color: var(--primary-color);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-share span {
    color: white;
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-buttons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-buttons a:hover {
    background: var(--primary-color);
    color: white;
}

.author-bio {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    gap: 20px;
    margin: 40px 0;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: white;
}

.author-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
}

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

.author-social a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.author-social a:hover {
    background: var(--primary-color);
    color: white;
}

.related-posts {
    margin: 40px 0;
}

.related-posts h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: white;
}

.comments-section {
    margin-top: 40px;
}

.comments-section h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: white;
}

.comment {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-meta h4 {
    margin: 0 0 5px;
    color: white;
}

.comment-meta span {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.6);
}

.comment-body {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.comment-reply {
    margin-left: 50px;
}

.comment-form {
    margin-top: 40px;
}

.comment-form h3 {
    font-size: 1.4em;
    margin-bottom: 20px;
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: white;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1em;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-container {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .blog-hero-content h1 {
        font-size: 2.5em;
    }
    
    .featured-post .post-image {
        height: 250px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .author-social {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .blog-hero-content h1 {
        font-size: 2em;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}
