 /* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.opinion-excerpt {
    max-height: 100px;  /* Adjust height */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;   /* Number of lines */
    -webkit-box-orient: vertical;
}


body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #e7e0e0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* Main Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: padding 0.3s ease;
    position: relative;
    z-index: 1000;
}

.header.scrolled .main-nav {
    padding: 15px 0;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-image {
    height: 80px;      
    width: auto;        
    max-width: none;    
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}


.header.scrolled .logo-image {
    height: 45px;
    max-width: 70px;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.logo-text {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.header.scrolled .logo-text {
    font-size: 28px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1001;
}

.header.scrolled .nav-menu {
    gap: 35px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 0;
    cursor: pointer;
    pointer-events: auto;
}

.nav-menu a.active {
    color: #fca5a5;
}

.header.scrolled .nav-menu a {
    font-size: 15px;
}

.nav-menu a:hover {
    color: #fca5a5;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fca5a5;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    z-index: 1003;
    position: relative;
}

.mobile-menu-btn:hover {
    color: #fca5a5;
    transform: scale(1.1);
}

.mobile-menu-btn:focus {
    outline: none;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 120px;
    transition: margin-top 0.3s ease;
    z-index: 1;
}

.header.scrolled ~ .hero-slider {
    margin-top: 80px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 26, 26, 0.8) 0%, rgba(220, 38, 38, 0.3) 100%);
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
}

.content-box {
    background: rgba(46, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    width: 80vw; 
    max-width: 100%;
    margin: 0 auto; 

}

.category-tag {
    display: inline-block;
    background-color: #dc2626;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-box h1 {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 30px;
}

.authors {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #ffffff;
    font-size: 14px;
}

.authors span {
    color: #ffffff;
    font-size: 14px;
    position: relative;
    padding-right: 20px;
}

.authors span:not(:last-child)::after {
    content: '>';
    position: absolute;
    right: 5px;
    color: #dc2626;
    font-weight: bold;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(46, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 20;
}

.slider-nav:hover {
    background: rgba(220, 38, 38, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #dc2626;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(220, 38, 38, 0.7);
}

/* Page Hero Styles */
.page-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    margin-top: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.politics-hero {
    background-image: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(220, 38, 38, 0.7)), 
                      url('images/ibu.png');
}
.economy-hero {
    background-image: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(220, 38, 38, 0.7)), 
                      url('images/ibu.png');
}
.society-hero {
    background-image: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(220, 38, 38, 0.7)), 
                      url('images/ibu.png');
}
.BR-journal-hero {
    background-image: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(220, 38, 38, 0.7)), 
                      url('images/ibu.png');
}
.events-hero {
    background-image: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(220, 38, 38, 0.7)), 
                      url('images/ibu.png');
}
.about-us-hero {
    background-image: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(220, 38, 38, 0.7)), 
                      url('images/ibu.png');
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-icon {
    margin-bottom: 20px;
}

.hero-icon i {
    font-size: 64px;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}



/* Section Styles */
.opinion-section,
.report-section,
.politics-section,
.economy-section,
.society-section,
.BR-journal-section,
.events-section {
    background-color: #f8fafc;
    padding: 80px 0;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-icon {
    width: 20px;
    height: 20px;
    background-color: #64748b;
    border-radius: 50%;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 400;
    color: #1e293b;
    margin: 0;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #dc2626;
}

.view-all-link i {
    font-size: 14px;
}

/* Grid Styles */
.opinion-grid,
.report-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.opinion-card,
.report-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.opinion-card:hover,
.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.opinion-image,
.report-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.opinion-image img,
.report-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.opinion-card:hover .opinion-image img,
.report-card:hover .report-image img {
    transform: scale(1.05);
}

.opinion-content,
.report-content {
    padding: 25px;
}

.opinion-content h3,
.report-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.opinion-content p,
.report-content p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Bookmark */
.category-bookmark {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #e74c3c;
    color: white;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: bold;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* BRJ Hero Section Styles */
.brj-hero-section {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.brj-container {
    max-width: 600px;
    width: 100%;
}

.brj-link {
    text-decoration: none;
    display: block;
}

.brj-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 25px;
}

.brj-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.brj-image {
    width: 120px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.brj-card:hover .brj-image {
    transform: scale(1.05);
}

.brj-text {
    flex: 1;
    color: #333;
}

.brj-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #1a365d;
    line-height: 1.3;
}

.brj-text p {
    font-size: 16px;
    color: #666;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.brj-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3182ce, #2c5aa0);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brj-card:hover .brj-cta {
    background: linear-gradient(135deg, #2c5aa0, #2a4a8a);
    transform: translateX(3px);
}

.brj-cta i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.brj-card:hover .brj-cta i {
    transform: translateX(2px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    background: #A30000;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    pointer-events: none;
}

.header.scrolled ~ .mobile-nav {
    top: 80px;
    max-height: calc(100vh - 80px);
}

.mobile-nav.active {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-content {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-content a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    pointer-events: auto;
}

.mobile-nav-content a:last-child {
    border-bottom: none;
}

.mobile-nav-content a:hover {
    color: #fca5a5;
    padding-left: 10px;
}

.mobile-nav-content a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background-color: #fca5a5;
    transition: width 0.3s ease;
}

.mobile-nav-content a:hover::before {
    width: 30px;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}
.about-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.section-title i {
    font-size: 24px;
    color: #650308;
}


@media (max-width: 768px) {
    .content-box {
        width: 90vw;
        padding: 15px 20px;
    }
}


/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .content-box {
        margin-right: 20px;
        margin-left: 20px;
        padding: 30px;
    }
    
    .content-box h1 {
        font-size: 28px;
    }
    
    .opinion-grid,
    .report-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .main-nav {
        padding: 15px 0;
    }
    
    .logo-image {
        height: 40px;
        max-width: 60px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .hero-slider {
        margin-top: 80px;
        height: 70vh;
    }
    
    .page-hero {
        margin-top: 80px;
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-icon i {
        font-size: 48px;
    }
    
    .content-box {
        padding: 25px;
        margin: 0 15px;
    }
    
    .content-box h1 {
        font-size: 24px;
    }
    
    .authors {
        flex-direction: column;
        gap: 10px;
    }
    
    .slider-nav {
        padding: 12px;
        font-size: 16px;
    }
    
    .slider-nav.prev {
        left: 15px;
    }
    
    .slider-nav.next {
        right: 15px;
    }
    
    .opinion-section,
    .report-section,
    .politics-section,
    .economy-section,
    .society-section,
    .BR-journal-section,
    .events-section{
        padding: 60px 0;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .opinion-grid,
    .report-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mobile-nav {
        top: 80px;
        max-height: calc(100vh - 80px);
    }
    
    .mobile-nav-content {
        padding: 25px 15px;
    }
    
    .mobile-nav-content a {
        font-size: 16px;
        padding: 12px 0;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 35px;
        max-width: 50px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .hero-icon i {
        font-size: 40px;
    }
    
    .content-box {
        padding: 20px;
    }
    
    .content-box h1 {
        font-size: 20px;
    }
    
    .category-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .slide-indicators {
        bottom: 20px;
        gap: 6px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .opinion-section,
    .report-section,
    .politics-section,
    .economy-section,
    .society-section,
    .BR-journal-section,
    .events-section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .opinion-content,
    .report-content {
        padding: 20px;
    }
    
    .opinion-content h3,
    .report-content h3 {
        font-size: 16px;
    }
    
    .opinion-content p,
    .report-content p {
        font-size: 13px;
    }
    
    .mobile-nav-content a {
        font-size: 15px;
        padding: 10px 0;
    }
}