/* --- RESET & BASICS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    border-radius: 0 !important; /* STRICTLY NO ROUND CORNERS */
}
body {
    background-color: #ffffff;
    color: var(--text-gray);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 14px;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- NEW COLOR PALETTE (DARK BLUE & WHITE ONLY) --- */
:root {
    /* Palette Definition */
    --header-blue: #002244;   /* Deep Navy Blue */
    --accent-blue: #003366;   /* Slightly lighter blue for interaction */
    --text-gray: #333333;     /* Body Text - Dark Gray/Black */
    --light-bg: #f4f6f8;      /* Very Light Blue-Gray Background */
    --border-gray: #e1e4e8;   /* Borders */
    --white: #ffffff;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--header-blue);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--header-blue);
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.btn:hover { 
    background-color: var(--white); 
    color: var(--header-blue);
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin: 50px 0 40px;
    text-transform: uppercase;
    font-size: 22px;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
    color: var(--header-blue);
    font-weight: 700;
}

/* Underline Strip - Made Blue */
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--header-blue);
    margin: 10px auto 0;
}

/* --- TOP BAR --- */
.top-bar {
    background-color: var(--header-blue);
    color: var(--white);
    font-size: 12px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.social-icons i { margin-left: 12px; cursor: pointer; transition: color 0.3s; font-size: 13px; }
.social-icons i:hover { color: #ccc; }

/* --- NAVBAR --- */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-gray);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
    color: var(--header-blue);
    line-height: 1.2;
    cursor: pointer;
}

.logo i { font-size: 24px; color: var(--header-blue); margin-bottom: 3px; }
.logo span { font-size: 18px; text-transform: uppercase; letter-spacing: 1px; }
.logo small { font-size: 10px; font-weight: normal; color: var(--text-gray); }

.menu-toggle {
    display: none;
    font-size: 22px;
    color: var(--header-blue);
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 25px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-gray);
    align-items: center;
}
.nav-links li { position: relative; padding: 10px 0; }
.nav-links li:hover > a, 
.nav-links li:hover > span { 
    color: var(--header-blue); 
    cursor: pointer; 
}

.nav-links > li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--header-blue);
    transition: width 0.3s;
}
.nav-links > li:hover::after { width: 100%; }

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 180px;
    display: none;
    flex-direction: column;
    text-align: left;
    z-index: 1000;
    border-top: 3px solid var(--header-blue);
}
.nav-links li:hover .dropdown { display: flex; }
.dropdown li { padding: 0; border-bottom: 1px solid var(--border-gray); }
.dropdown li a {
    display: block;
    padding: 12px 15px;
    font-size: 12px;
    color: var(--text-gray);
    transition: 0.2s;
}
.dropdown li:hover { background-color: var(--light-bg); }
.dropdown li:hover a { color: var(--header-blue); padding-left: 20px; }
.dropdown li::after { display: none; }

/* --- HERO SLIDER --- */
.hero-slider {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
    background: #000;
}
.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}
.slide {
    min-width: 100%;
    height: 100%;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9); 
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 34, 68, 0.7); /* Dark Blue Transparent */
    color: var(--white);
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    transition: 0.3s;
}
.slider-btn:hover { background: var(--header-blue); }
.prev-btn { left: 0; }
.next-btn { right: 0; }

/* --- ANNOUNCEMENT BAR --- */
.announcement-bar {
    background-color: var(--light-bg);
    padding: 12px 0;
    border-bottom: 2px solid var(--header-blue);
}
.announcement-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 15px;
}
.announce-label {
    font-weight: 700;
    color: var(--white);
    background: var(--header-blue);
    font-size: 12px;
    padding: 4px 12px;
    text-transform: uppercase;
    margin-right: 15px;
    white-space: nowrap;
}
.marquee-content {
    flex-grow: 1;
    overflow: hidden;
    font-size: 13px;
}
.new-icon {
    color: var(--header-blue);
    font-weight: bold;
    font-style: italic;
    animation: blink 1.5s infinite;
    margin-left: 10px;
}
@keyframes blink { 50% { opacity: 0; } }

/* --- MAIN CONTENT & SIDEBAR --- */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    padding-top: 30px;
}
.welcome-text p {
    margin-bottom: 15px;
    color: var(--text-gray);
    text-align: justify;
}
.welcome-list {
    margin-bottom: 25px;
    font-size: 13px;
    background: var(--white);
    padding: 15px;
    border: 1px solid var(--border-gray);
    border-left: 4px solid var(--header-blue);
}
.welcome-list li { margin-bottom: 8px; border-bottom: 1px dashed var(--border-gray); padding-bottom: 5px; }
.welcome-list strong { color: var(--header-blue); }

/* Sidebar Widgets */
.sidebar-widget {
    border: 1px solid var(--border-gray);
    margin-bottom: 25px;
    background: var(--white);
}
.widget-header {
    background-color: var(--header-blue);
    color: var(--white);
    padding: 10px 15px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}
.widget-body {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: var(--white);
    padding: 10px;
}
.marquee-vertical {
    position: absolute;
    width: 90%;
    left: 5%;
    animation: scrollUp 15s linear infinite;
}
.widget-body:hover .marquee-vertical { animation-play-state: paused; }

@keyframes scrollUp {
    0% { top: 100%; }
    100% { top: -120%; }
}

.news-item {
    font-size: 12px;
    color: var(--text-gray);
    border-bottom: 1px solid var(--border-gray);
    padding: 8px 0;
    margin-bottom: 5px;
}

/* --- CURRENT ARTICLE SECTION --- */
.articles-bg {
    background-color: var(--light-bg);
    padding: 50px 0;
    border-top: 1px solid var(--border-gray);
}
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.article-card {
    background: var(--white);
    padding: 20px;
    border: 1px solid var(--border-gray);
    text-align: left;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.article-card:hover {
    border-color: var(--header-blue);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.article-title {
    color: var(--header-blue);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.4;
}
.article-author {
    font-size: 11px;
    color: #666;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
}
.article-excerpt {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.5;
    height: 80px; 
    overflow: hidden;
}
.view-all-btn-container { text-align: center; margin-top: 40px; }
.view-all-btn {
    background-color: transparent;
    color: var(--header-blue);
    border: 2px solid var(--header-blue);
    padding: 10px 30px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
}
.view-all-btn:hover { 
    background-color: var(--header-blue); 
    color: var(--white); 
}

/* --- EDITORIAL BOARD SECTION --- */
.board-section {
    padding: 50px 0;
    background: var(--white);
}
.board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.board-member {
    background: var(--white);
    border: 1px solid var(--border-gray);
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}
.board-member:hover {
    border-color: var(--header-blue);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.member-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--border-gray);
    margin-bottom: 15px;
}
.member-name {
    font-weight: 700;
    color: var(--header-blue);
    font-size: 15px;
    margin-bottom: 5px;
}
.member-role {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

/* --- STATS COUNTER SECTION --- */
.stats-section {
    background-color: var(--header-blue);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    border-top: none; /* Removed colored strip */
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-item i {
    font-size: 40px;
    color: var(--white);
    margin-bottom: 15px;
}
.stat-number {
    font-size: 36px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}
.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* --- COLLABORATORS --- */
.collaborators {
    background: #001122; /* Very Dark Blue */
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}
.collab-title {
    font-size: 20px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
}
.collab-logo-box {
    background: var(--white);
    width: 160px;
    height: 160px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 2px solid var(--header-blue);
}
.collab-logo-img { font-size: 60px; color: var(--header-blue); margin-bottom: 10px; }

/* --- FOOTER --- */
footer {
    background: var(--header-blue);
    color: #ccc; 
    padding: 60px 0 0;
    border-top: none; /* Removed colored strip */
    font-size: 13px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 30px;
    padding-bottom: 40px;
}
.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 16px;
    border-bottom: 2px solid var(--white);
    display: inline-block;
    padding-bottom: 5px;
    text-transform: uppercase;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--white); padding-left: 5px; }

.contact-item { display: flex; gap: 15px; margin-bottom: 15px; }
.contact-item i { color: var(--white); margin-top: 3px; }

/* Visitor Counter in Footer */
.visitor-counter {
    background: rgba(255,255,255,0.05); 
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}
.visitor-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 5px; color: #ccc; }
.visitor-count {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    color: var(--white);
    letter-spacing: 5px;
    font-weight: bold;
}

/* Submission Counter in Footer */
.submission-counter {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px;
    margin-bottom: 15px;
    text-align: center;
}
.submission-time {
    color: var(--white);
    font-weight: bold;
    font-size: 18px;
    font-family: 'Courier New', monospace;
    display: block;
    margin-top: 5px;
}

.copyright {
    background: #001122;
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    border-top: 1px solid #002244;
    color: #888;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .articles-grid, .board-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .navbar .container { padding: 0 15px; }
    .menu-toggle { display: block; }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 15px; 
        align-items: flex-start;
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; border-bottom: 1px solid var(--light-bg); padding: 8px 0; }
    
    .dropdown { position: static; width: 100%; box-shadow: none; display: none; background: var(--light-bg); padding-left: 20px; border: none; }
    .nav-links li:hover .dropdown { display: block; }

    .hero-slider { height: 220px; }
    .content-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
        padding-top: 20px;
        margin-bottom: 30px;
    }
    .sidebar { order: -1; } /* Sidebar on top for mobile */
    
    .articles-grid, .board-grid, .stats-grid, .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    .section-title { 
        font-size: 18px; 
        margin: 30px 0 20px;
    }
    
    /* Tighter text for mobile */
    p, .article-excerpt, .welcome-text p {
        line-height: 1.4;
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .welcome-list {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .articles-bg, .board-section, .stats-section, footer {
        padding: 30px 0; 
    }
    
    .footer-grid { gap: 30px; padding-bottom: 20px; }
    
    .article-card { padding: 15px; }
}