/* Blog specific styles */
.current-page {
    color: #ff5777 !important;
    font-weight: 700;
}

/* Blog Header Section */
.blog-header-section {
    padding: 120px 0 60px;
    background-color: #fff;
    text-align: center;
}

.blog-title {
    font-size: 80px;
    color: #ff5777;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.blog-subtitle {
    font-size: 24px;
    max-width: 800px;
    margin: 0 auto;
    color: #2D2E88;
    line-height: 1.6;
}

/* Blog Categories Section */
.blog-categories-section {
    padding: 20px 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 70px;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.blog-categories {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.blog-category-link {
    font-size: 1.8rem;
    color: #333;
    text-decoration: none;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

@media(max-width: 991px) {
    .blog-category-link {
        font-size: 1.6rem;
    }
}

.blog-category-link:hover {
    color: #ff5777;
}

.blog-category-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background-color: #ff5777;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.blog-category-link:hover:after {
    width: 100%;
}

/* Featured Post Section */
.featured-post-section {
    padding: 80px 0;
    background-color: #fcf3f4;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
}

.featured-post-image {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

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

.post-category {
    display: inline-block;
    background-color: #2D2E88;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.featured-post-title {
    font-size: 40px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-post-excerpt {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 16px;
    color: #888;
}

.read-more-link {
    display: inline-block;
    background-color: #ff5777;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    background-color: #e4476a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,87,119,0.3);
}

/* Blog Posts Section */
.blog-posts-section {
    padding: 80px 0;
}

.section-title {
    font-size: 50px;
    color: #2D2E88;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-post-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.blog-post-image {
    height: 220px;
    overflow: hidden;
}

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

.blog-post-card:hover .full-width-image {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 25px;
}

.post-title {
    font-size: 22px;
    color: #333;
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.post-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 100px 0;
    background-color: #2D2E88;
}

.newsletter-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: 40px;
    color: white;
    margin-bottom: 20px;
}

.newsletter-description {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Newsletter Form Styles */
.newsletter-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.newsletter-message.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.newsletter-message.error {
    background-color: rgba(244, 67, 54, 0.1);
    color: #F44336;
    border: 1px solid #F44336;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 20px auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 12px 25px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #333;
}

/* Main Blog Navigation */
.blog-main-nav {
    margin-top: 120px;
    margin-bottom: 40px;
}

.blog-main-nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.blog-main-nav-link {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    margin: 0 25px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-main-nav-link:hover {
    color: #ff5777;
}

/* Updated Featured Post styles */
.post-category-pill {
    display: inline-block;
    background-color: #2D2E88;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.read-full-article-button {
    display: inline-block;
    background-color: #ff5777;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.read-full-article-button:hover {
    background-color: #e4476a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,87,119,0.3);
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .blog-title {
        font-size: 60px;
    }
    
    .featured-post {
        grid-template-columns: 1fr;
    }
    
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .blog-main-nav {
        margin-top: 100px;
    }
}

@media screen and (max-width: 767px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-title {
        font-size: 50px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input, 
    .newsletter-button {
        width: 100%;
    }
    
    .blog-categories {
        gap: 20px;
    }
    
    .blog-main-nav-links {
        flex-wrap: wrap;
    }
    
    .blog-main-nav-link {
        margin: 10px 15px;
    }
}

@media screen and (max-width: 479px) {
    .blog-title {
        font-size: 40px;
    }
    
    .blog-subtitle {
        font-size: 1.8rem;
    }
    
    .featured-post-title {
        font-size: 30px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .blog-main-nav {
        margin-top: 80px;
    }
    
    .blog-main-nav-links {
        padding: 10px 0;
    }
    
    .blog-main-nav-link {
        margin: 5px 10px;
        font-size: 16px;
    }
} 