/* Global Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #eef2f5;
    color: #333333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hide Pure CSS Controller Radio Inputs */
input[type="radio"][name="blog-tab"] {
    display: none;
}

/* Header Navbar */
.navbar-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
	padding-bottom:10px;
	padding-top:10px;
}

.nav-container {
    display: flex;
	background-color:#01104a;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.brand-logo a {
    font-size: 26px;
    font-weight: 800;
    color: #0d47a1; /* Aashirwad Primary Deep Blue */
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #4a5568;
    font-size: 13px;
    font-weight: 600;
    padding: 26px 16px;
    display: inline-block;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-menu ul li a:hover {
    color: #0d47a1;
}

.nav-menu ul li a.active {
    background-color: #f57c00; /* Aashirwad Accent Orange */
    color: #ffffff;
}

/* Sub-header Banner */
.intro-banner {
    padding: 25px 0 15px 0;
    text-align: center;
}

.intro-text {
    font-size: 14px;
    color: #666666;
    max-width: 800px;
    margin: 0 auto;
}

/* Main Content Grid */
.main-content {
    margin-top: 15px;
    margin-bottom: 50px;
}

.content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Left Sidebar Items */
.sidebar-list {
    flex: 0.6;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-item {
    display: block;
    background-color: #ffffff;
    padding: 18px 22px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    user-select: none;
}

.card-item:hover {
    background-color: #f8fafc;
    transform: translateX(3px);
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;    
    color: #2d3748;
}

.card-meta {
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: #718096;
}

.card-meta i {
    margin-right: 4px;
    color: #0d47a1;
}

/* ---------------------------------------------------- */
/* PURE CSS TAB CONTROLS                                */
/* ---------------------------------------------------- */

/* Highlight Left Selected Card */
#tab1:checked ~ .content-wrapper .sidebar-list .item1,
#tab2:checked ~ .content-wrapper .sidebar-list .item2,
#tab3:checked ~ .content-wrapper .sidebar-list .item3,
#tab4:checked ~ .content-wrapper .sidebar-list .item4,
#tab5:checked ~ .content-wrapper .sidebar-list .item5 {
    background-color: #0d47a1; /* Aashirwad Primary Blue */
    color: #ffffff;
    border-left: 4px solid #ff4900; /* Accent Orange */
}

#tab1:checked ~ .content-wrapper .sidebar-list .item1 .card-title,
#tab2:checked ~ .content-wrapper .sidebar-list .item2 .card-title,
#tab3:checked ~ .content-wrapper .sidebar-list .item3 .card-title,
#tab4:checked ~ .content-wrapper .sidebar-list .item4 .card-title,
#tab5:checked ~ .content-wrapper .sidebar-list .item5 .card-title {
    color: #ffffff;
}

#tab1:checked ~ .content-wrapper .sidebar-list .item1 .card-meta,
#tab2:checked ~ .content-wrapper .sidebar-list .item2 .card-meta,
#tab3:checked ~ .content-wrapper .sidebar-list .item3 .card-meta,
#tab4:checked ~ .content-wrapper .sidebar-list .item4 .card-meta,
#tab5:checked ~ .content-wrapper .sidebar-list .item5 .card-meta {
    color: #cbd5e0;
}

#tab1:checked ~ .content-wrapper .sidebar-list .item1 .card-meta i,
#tab2:checked ~ .content-wrapper .sidebar-list .item2 .card-meta i,
#tab3:checked ~ .content-wrapper .sidebar-list .item3 .card-meta i,
#tab4:checked ~ .content-wrapper .sidebar-list .item4 .card-meta i,
#tab5:checked ~ .content-wrapper .sidebar-list .item5 .card-meta i {
    color: #ffb74d;
}

/* Right Display Window Switcher */
.display-window {
    flex: 1.2;
}

.display-card {
    display: none; /* Hide inactive content */
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

/* Show content corresponding to active left card */
#tab1:checked ~ .content-wrapper .display-window .content1,
#tab2:checked ~ .content-wrapper .display-window .content2,
#tab3:checked ~ .content-wrapper .display-window .content3,
#tab4:checked ~ .content-wrapper .display-window .content4,
#tab5:checked ~ .content-wrapper .display-window .content5 {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;    
}

.image-wrapper img {
    width: 100%;
    height: 70%;
    object-fit: cover;	
}

.display-content {
    padding: 25px 30px 0px 30px;
}

.display-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;   
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.display-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: #718096;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
}

.display-meta i {
    color: #0d47a1;
    margin-right: 5px;
}

.display-description {
    font-size: 13.5px;
    color: #000;
    line-height: 1.7;
    margin-bottom: 0px;
}

.btn-continue {
    display: inline-block;
    background-color: #0d47a1;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 3px;
    letter-spacing: 0.8px;
    transition: background-color 0.3s ease;
}

.btn-continue:hover {
    background-color: #01104a;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .content-wrapper {
        flex-direction: column;
    }
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }
    .nav-menu ul li a {
        padding: 8px 12px;
    }
    .display-window {
        width: 100%;
    }
}
