/* Hero Section Styles */
#hero-section {
    /* background-color: #f8f9fa; */
    padding-top: 8rem !important;
    padding-bottom: 3rem;
}

/* Resources Badge */
.resources-badge {
    display: inline-block;
    color: #ff6b35;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* Hero Title */
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a2b4a;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Updated Text */
.hero-updated {
    font-size: 0.95rem;
    color: #9ca3af;
}

/* Search Container */
.search-container {
    margin-top: 2.5rem;
}

.search-input-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.1rem;
}

.search-input {
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.search-input:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    outline: none;
}

.search-input::placeholder {
    color: #9ca3af;
}

/* Sort Select */
.sort-select {
    padding: 0.875rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-select:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    outline: none;
}

/* Category Badges Container */
.category-badges-container {
    margin-top: 2rem;
}

/* Category Badge Buttons */
.category-badge {
    display: inline-block;
    padding: 0.3rem 1.25rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.6rem;
    color: #09293B;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.category-badge:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.category-badge:active,
.category-badge.active {
    background-color: #ff6b35;
    border-color: #ff6b35;
    color: #ffffff;
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    #hero-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .search-container {
        margin-top: 1.5rem;
    }
    
    .category-badges-container {
        margin-top: 1.5rem;
    }
    
    .category-badge {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Blog Highlight Section Styles */
#blog-highlight-section {
    background-color: #ffffff;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Blog Highlight Card */
.blog-highlight-card {
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease;
}

.blog-highlight-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Image Container */
.blog-image-container {
    background: linear-gradient(135deg, #09293B 0%, #0a1f2e 50%, #09293B 100%);
    height: 100%;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.blog-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-image: 
        linear-gradient(135deg, transparent 0%, transparent 40%, #ff6b35 40%, #ff6b35 60%, transparent 60%),
        linear-gradient(45deg, #ff6b35 0%, #ff6b35 20%, transparent 20%); */
    opacity: 0.8;
}

.blog-image-container::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    /* background: #ff6b35; */
    border-radius: 50%;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
    filter: blur(60px);
}

.blog-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content Container */
.blog-content-container {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #f8f9fa;
}

/* Blog Badges */
.blog-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.blog-badge-primary {
    background-color: #ffe5d9;
    color: #ff6b35;
}

.blog-badge-secondary {
    background-color: #e5e7eb;
    color: #4b5563;
}

/* Blog Title */
.blog-card-title {
    color: #1a2b4a;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* Blog Description */
.blog-card-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Blog Footer */
.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
}

/* Blog Meta */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
}

.blog-read-time,
.blog-updated {
    color: #6c757d;
}

.blog-dot {
    color: #d1d5db;
}

/* Read Article Link */
.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff6b35;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-read-link:hover {
    color: #e55a2a;
    gap: 0.75rem;
}

.blog-read-link i {
    transition: transform 0.2s ease;
}

.blog-read-link:hover i {
    transform: translateX(4px);
}

/* Responsive Adjustments for Blog Section */
@media (max-width: 767.98px) {
    #blog-highlight-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .blog-image-container {
        min-height: 300px;
    }
    
    .blog-content-container {
        padding: 2rem 1.5rem;
    }
    
    .blog-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .blog-image-container {
        min-height: 250px;
    }
    
    .blog-content-container {
        padding: 1.5rem 1.25rem;
    }
}

/* Blog Grid Section Styles */
#blogs-grid-section {
    background-color: #f8f9fa;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Blog Grid Card */
.blog-grid-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-grid-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Blog Grid Image Container */
.blog-grid-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #09293B 0%, #0a1f2e 50%, #09293B 100%);
}

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

/* Blog Grid Content */
.blog-grid-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-grid-title {
    color: #09293B;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.blog-grid-description {
    /* color: #6c757d; */
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-grid-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.blog-grid-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Responsive Adjustments for Blog Grid */
@media (max-width: 991.98px) {
    .blog-grid-image-container {
        height: 220px;
    }
}

@media (max-width: 767.98px) {
    #blogs-grid-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .blog-grid-image-container {
        height: 200px;
    }
    
    .blog-grid-content {
        padding: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .blog-grid-image-container {
        height: 180px;
    }
    
    .blog-grid-content {
        padding: 1rem;
    }
}

