/* Homepage Styles for Uchumi360 */

/* ===================================
   STUNNING HERO SECTION
   Professional, Responsive, Mind-Blowing Design
   =================================== */

.hero-section {
    /* background: linear-gradient(135deg, #000179 0%, #1a1a8f 25%, #3333cc 50%, #4d4de6 75%, #6666ff 100%);
    background-image: url('/assets/images/flag-tanzania.jpg'); */
    background: transparent;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(0, 1, 121, 0.3) 0%, rgba(26, 26, 143, 0.3) 25%, rgba(51, 51, 204, 0.3) 50%, rgba(77, 77, 230, 0.3) 75%, rgba(102, 102, 255, 0.3) 100%); */
    background: transparent;
    backdrop-filter: blur(1px);
}

.hero-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 100px, 70px;
    margin-top: 70px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Main Hero Content */
.hero-main {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-top: 100px;
    box-shadow: none;
    backdrop-filter: none;
    border: none;
    position: relative;
    overflow: hidden;
}



.hero-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
}

.category-badge {
    background: #000179;
    color: white;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 1, 121, 0.4);
}

.hero-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

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

.hero-headline {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    /* margin-bottom: 20px; */
    color: #000179;
    /* background: rgba(255, 255, 255, 0.95); */
    /* padding: 10px 15px; */
    border-radius: 0;
    margin-top: 10px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    display: inline-block;
}

.hero-headline a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-headline a:hover {
    /* color: #ff6b6b; */
    transform: scale(1.05);
}

/* Progressive Background Loading */
.hero-section {
    background-color: transparent; /* No background color */
    background-image: none;
}

.hero-section.loaded {
    background-color: transparent;
}









.hero-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.hero-image-container {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-shadow: none;
    background: none;
    width: 100%;
    height: 100%;
}

/* Ensure hero article has no white background */
.hero-article {
    background: transparent;
    border-radius: 0;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border: none;
}

/* Ensure hero content overlay has no white background */
.hero-content-overlay {
    background: transparent;
    border-radius: 0;
    margin: 0;
    padding: 20px;
    box-shadow: none;
    border: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    margin: 0;
    padding: 0;
}

.hero-image:hover {
    transform: scale(1.05);
}

.hero-image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #000179;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px 20px;
    color: white;
}

.hero-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.stat-item i {
    color: #4ecdc4;
    font-size: 16px;
}

.hero-cta {
    text-align: center;
}

.hero-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000179;
    color: white;
    padding: 15px 30px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 121, 0.3);
    border: none;
}

.hero-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 121, 0.4);
    color: white;
}

.hero-read-more i {
    transition: transform 0.3s ease;
}

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

/* Fallback Hero */
.hero-fallback {
    text-align: center;
    padding: 60px 20px;
}

.hero-fallback .hero-headline {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.hero-fallback .hero-excerpt {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Hero Sidebar */
.hero-sidebar {
    /* background: rgba(255, 255, 255, 0.98); */
    /* border-radius: 20px; */
    margin-top: 100px;
    padding: 30px;
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.3); */
    /* backdrop-filter: blur(20px); */
    /* border: 1px solid rgba(255, 255, 255, 0.4); */
    position: relative;
    overflow: hidden;
}

/* .hero-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ecdc4, #45b7d1, #96ceb4);
    border-radius: 20px 20px 0 0;
} */

.latest-articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    /* padding-bottom: 15px; */
    /* border-bottom: 2px solid #f0f0f0; */
}

.latest-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000179;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.latest-title i {
    color: #ff6b6b;
    font-size: 1.1rem;
}

.view-all-link {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #000179;
}

/* Latest Articles List */
.latest-articles-list {
    margin-bottom: 30px;
}

.latest-article {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.latest-article:last-child {
    border-bottom: none;
}

.latest-article:hover {
    transform: translateX(5px);
}

.latest-article.featured-latest {
    background: linear-gradient(135deg, rgba(0, 0, 121, 0.05), rgba(78, 205, 196, 0.05));
    border-radius: 12px;
    padding: 20px;
    margin: 0 -10px 20px;
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.article-thumbnail {
    position: relative;
    flex-shrink: 0;
}

.thumbnail-image {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.latest-article:hover .thumbnail-image {
    transform: scale(1.1);
}

.thumbnail-placeholder {
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000179;
    font-size: 1.5rem;
}



.article-info {
    flex: 1;
    min-width: 0;
}

.article-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: #000179;
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #ff6b6b;
}

.article-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #666;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #000179, #4d4de6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.2rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000179;
}

.stat-label {
    font-size: 12px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Investment Insights Section */
.investment-insights-section {
    padding: 2rem 0;
    background: #f8f9fa;
}

.insights-content h2 {
    color: #000179;
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.insights-content p {
    color: #6c757d;
    line-height: 1.6;
}

.featured-articles-sidebar h3 {
    color: #000179;
    margin-bottom: 1rem;
}

.featured-articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.featured-article-sidebar {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.featured-article-sidebar .article-image {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
}

.featured-article-sidebar .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.article-placeholder {
    width: 100%;
    height: 100%;
    background: #9FCCEC;
    color: #000179;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-article-sidebar .article-content {
    flex: 1;
}

.category-label {
    background: #000179;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.article-title a {
    color: #000179;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
}

.article-title a:hover {
    color: #9FCCEC;
}

.article-date {
    color: #6c757d;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Main Content Area */
.main-content-area {
    padding: 2rem 0;
}

/* Section Labels */
.section-label {
    background: #000179;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Trending Section */
.trending-section {
    margin-bottom: 3rem;
}

.trending-articles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.trending-article {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.trending-article .article-image {
    height: 200px;
}

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

.trending-article .article-content {
    padding: 1rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.article-meta .category {
    background: #9FCCEC;
    color: #000179;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-meta .date {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Articles Grid */
.articles-grid-section {
    margin-bottom: 3rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card .article-image {
    height: 180px;
}

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

.article-card .article-content {
    padding: 1rem;
}

/* Load More Button */
.load-more-section {
    text-align: center;
    margin: 2rem 0;
}

.btn-load-more {
    background: #000179;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-load-more:hover {
    background: #9FCCEC;
    color: #000179;
}

/* Featured Interview Section */
.featured-interview-section {
    margin-bottom: 3rem;
}

.interview-banner {
    background: linear-gradient(90deg, #000179 0%, #9FCCEC 100%);
    color: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
}

.interview-left {
    flex: 1;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.interview-icon {
    font-size: 3rem;
    color: #9FCCEC;
}

.interview-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #9FCCEC;
}

.interview-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.interview-text p {
    margin: 0;
    opacity: 0.9;
}

.interview-right {
    flex: 1;
    padding: 2rem;
    text-align: center;
}

.interview-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}

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

.interview-content h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.eu-logo {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Events Section */
.events-section {
    margin-bottom: 3rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.event-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #000179;
}

.event-card h4 {
    margin: 0 0 0.5rem 0;
    color: #000179;
    font-size: 1rem;
}

.event-card p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.events-link {
    text-align: center;
    margin: 1rem 0;
}

.events-link a {
    color: #9FCCEC;
    text-decoration: none;
    font-weight: 600;
}

.events-link a:hover {
    color: #000179;
}

/* Tax Section */
.tax-section {
    margin-bottom: 3rem;
}

.tax-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tax-article {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tax-article .article-image {
    height: 150px;
}

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

.tax-article .article-content {
    padding: 1rem;
}

.tax-article .article-title a {
    color: #000179;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.4;
}

.tax-article .article-title a:hover {
    color: #9FCCEC;
}

.tax-link {
    text-align: center;
}

.tax-link a {
    color: #9FCCEC;
    text-decoration: none;
    font-weight: 600;
}

.tax-link a:hover {
    color: #000179;
}

/* Sidebar */
.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #000179;
    border-bottom: 2px solid #9FCCEC;
    padding-bottom: 0.5rem;
}

/* Latest News */
.latest-news {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-icon {
    width: 40px;
    height: 40px;
    background: #9FCCEC;
    color: #000179;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.news-content h5 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #000179;
}

.news-date {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Advertisements */
.sidebar-ads {
    margin-bottom: 2rem;
}

.ad-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.ad-content {
    text-align: center;
}

.ad-logo {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ad-badge {
    background: #000179;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.hotel-ad {
    text-align: center;
}

.hotel-ad .ad-image {
    width: 100%;
    height: 120px;
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
}

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

.hotel-ad .ad-text h4 {
    margin: 0 0 0.5rem 0;
    color: #000179;
    font-size: 1.2rem;
}

.hotel-ad .ad-text p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Event Item */
.event-item {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 1rem;
}

.event-banner h5 {
    margin: 0 0 0.5rem 0;
    color: #856404;
    font-size: 0.9rem;
    line-height: 1.4;
}

.event-banner p {
    margin: 0;
    color: #856404;
    font-size: 0.8rem;
}

/* Investment Opportunity */
.opportunity-item {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.opportunity-image {
    height: 100px;
}

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

.opportunity-content {
    padding: 1rem;
}

.opportunity-content h5 {
    margin: 0;
    color: #000179;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Job Item */
.job-item {
    background: white;
    border-radius: 4px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.job-logo {
    background: #9FCCEC;
    color: #000179;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.job-banner h5 {
    margin: 0;
    color: #000179;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Newsletter Form */
.newsletter-form .form-group {
    margin-bottom: 0;
}

.newsletter-form .form-control {
    border: 1px solid #9FCCEC;
    border-radius: 4px;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.btn-subscribe {
    background: #000179;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-subscribe:hover {
    background: #9FCCEC;
    color: #000179;
}

/* Additional Hero Enhancements */
.hero-section {
    margin-top: 0; /* Remove top margin since header is now fixed */
}

/* Smooth animations for hero elements */
.hero-main,
.hero-sidebar {
    animation: slideUpFade 0.8s ease-out;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced hover effects */
.hero-main:hover,
.hero-sidebar:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Glass morphism effect enhancement */
.hero-main,
.hero-sidebar {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* Enhanced shadows for depth */
.hero-main {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-sidebar {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Enhanced category badge */
.category-badge {
    position: relative;
    overflow: hidden;
}

.category-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.category-badge:hover::before {
    left: 100%;
}

/* Enhanced article thumbnails */
.article-thumbnail {
    position: relative;
    overflow: hidden;
}

.article-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.latest-article:hover .article-thumbnail::after {
    transform: translateX(100%);
}

/* Enhanced stat cards */
.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 0, 121, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: scale(0);
}

.stat-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced CTA button */
.hero-read-more {
    position: relative;
    overflow: hidden;
}

.hero-read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-read-more:hover::before {
    left: 100%;
}

/* Responsive grid adjustments */
@media (max-width: 1400px) {
    .hero-layout {
        grid-template-columns: 1.8fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-main,
    .hero-sidebar {
        border-radius: 15px;
        padding: 20px;
    }
    
    .hero-headline {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-excerpt {
        font-size: 0.95rem;
    }
    
    .latest-articles-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 1200px) {
    .hero-layout {
        grid-template-columns: 1.5fr 1fr;
        gap: 30px;
    }
    
    .hero-headline {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        display: none; /* Hide hero section on tablet and mobile */
        background-image: none; /* Don't load background image on mobile */
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-main {
        padding: 30px;
    }
    
    .hero-sidebar {
        padding: 25px;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        display: none; /* Hide hero section on mobile */
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .hero-main {
        padding: 25px;
        margin-top: 20px;
    }
    
    .hero-sidebar {
        padding: 20px;
    }
    
    .hero-headline {
        font-size: 1.8rem;
    }
    
    .hero-excerpt {
        font-size: 1rem;
    }
    
    .hero-image {
        height: 250px;
    }
    
    .hero-image-placeholder {
        height: 250px;
    }
    
    .latest-article {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .article-thumbnail {
        align-self: center;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .trending-articles {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .interview-banner {
        flex-direction: column;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .tax-articles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section {
        display: none; /* Hide hero section on small mobile */
    }
    
    .hero-layout {
        padding: 0 15px;
        gap: 15px;
    }
    
    .hero-main {
        padding: 20px;
        margin-top: 15px;
    }
    
    .hero-sidebar {
        padding: 15px;
    }
    
    .hero-headline {
        font-size: 1.6rem;
    }
    
    .hero-category {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* ===================================
   ADVERTISEMENT SECTIONS
   =================================== */

.advertisement-section {
    margin: 3rem 0;
}

.ad-banner-large {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ad-banner-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ad-banner-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ad-banner-large:hover .ad-banner-image {
    transform: scale(1.02);
}

.ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #6c757d;
    text-align: center;
    padding: 2rem;
}

.ad-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #9FCCEC;
}

.ad-placeholder p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Final Advertisement Section */
.final-ad-section {
    margin: 4rem 0 2rem 0;
    padding: 2rem 0;
    background: #f8f9fa;
}

.ad-banner-wide {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ad-banner-wide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ad-banner-wide-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ad-banner-wide:hover .ad-banner-wide-image {
    transform: scale(1.02);
}

.ad-placeholder-wide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 250px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #6c757d;
    text-align: center;
    padding: 2rem;
}

.ad-placeholder-wide i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #9FCCEC;
}

.ad-placeholder-wide p {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Enhanced Sidebar Ads */
.sidebar-ads .ad-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.sidebar-ads .ad-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sidebar-ads .ad-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.sidebar-ads .ad-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-ads .ad-item:hover .ad-image {
    transform: scale(1.05);
}

.sidebar-ads .ad-content {
    padding: 1rem;
}

.sidebar-ads .ad-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #000179;
    font-weight: 600;
}

.sidebar-ads .ad-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Enhanced Event Cards */
.event-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #000179;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #000179, #9FCCEC);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-card:hover::before {
    opacity: 1;
}

.event-card h4 {
    margin: 0 0 0.5rem 0;
    color: #000179;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.event-card p {
    margin: 0 0 0.75rem 0;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9FCCEC;
    font-size: 0.85rem;
    font-weight: 600;
}

.event-date i {
    color: #000179;
}

/* Enhanced Tax Articles */
.tax-article {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.tax-article:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tax-article .article-image {
    height: 150px;
    overflow: hidden;
}

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

.tax-article:hover .article-image img {
    transform: scale(1.05);
}

.tax-article .article-content {
    padding: 1.25rem;
}

.tax-article .article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
}

.tax-article .category {
    background: #9FCCEC;
    color: #000179;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.tax-article .date {
    color: #666;
}

.tax-article .article-title {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    line-height: 1.3;
}

.tax-article .article-title a {
    color: #000179;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tax-article .article-title a:hover {
    color: #1a1a8f;
}

.tax-article .article-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Enhanced Latest News */
.news-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: #f8f9fa;
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: 8px;
}

.news-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #000179, #9FCCEC);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.news-content h5 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.news-content h5 a {
    color: #000179;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h5 a:hover {
    color: #1a1a8f;
}

.news-date {
    color: #666;
    font-size: 0.8rem;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .ad-banner-large {
        margin: 2rem 0;
    }
    
    .ad-banner-image {
        height: 150px;
    }
    
    .ad-placeholder {
        height: 150px;
        padding: 1.5rem;
    }
    
    .final-ad-section {
        margin: 2rem 0 1rem 0;
        padding: 1rem 0;
    }
    
    .ad-banner-wide-image {
        height: 180px;
    }
    
    .ad-placeholder-wide {
        height: 180px;
        padding: 1.5rem;
    }
    
    .event-card {
        padding: 1.25rem;
    }
    
    .event-card h4 {
        font-size: 0.95rem;
    }
    
    .tax-article .article-content {
        padding: 1rem;
    }
    
    .news-item {
        padding: 0.75rem 0;
    }
    
    .news-item:hover {
        margin: 0 -0.75rem;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .ad-banner-image {
        height: 120px;
    }
    
    .ad-placeholder {
        height: 120px;
        padding: 1rem;
    }
    
    .ad-banner-wide-image {
        height: 150px;
    }
    
    .ad-placeholder-wide {
        height: 150px;
        padding: 1rem;
    }
    
    .event-card {
        padding: 1rem;
    }
    
    .tax-article .article-content {
        padding: 0.875rem;
    }
}
