/**
 * Inner Pages Styles - Education.gov.in Style
 * Clean, Professional Layout with Sidebar
 */

/* ============================================
   INNER PAGE LAYOUT
   ============================================ */
.inner-page-wrapper {
    background: #ffffff;
    min-height: 60vh;
}

/* Page Title Section - Education.gov.in Style - HIDDEN */
.page-title-section,
div.page-title-section,
.container .page-title-section,
body .page-title-section {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    border: none !important;
}

.page-title-section h1,
div.page-title-section h1,
.container .page-title-section h1,
body .page-title-section h1 {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

/* Breadcrumb - Professional */
.breadcrumb {
    background: transparent;
    padding: 0.5rem 0;
    margin-bottom: 0;
    font-family: 'Ek Mukta', sans-serif !important;
    font-size: 14px;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item a {
    color: #003d82 !important;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: #0052a3 !important;
    text-decoration: underline;
    outline: none;
}

.breadcrumb-item.active {
    color: #666666 !important;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "»";
    padding: 0 0.5rem;
    color: #999999;
    font-weight: normal;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.inner-page-content {
    padding: 2rem 0;
}

.content-area {
    background: #ffffff;
    padding: 0;
}

/* Hide H1 in content area - title is already in page-title-section */
.content-area h1,
.content-area .content h1 {
    display: none !important;
}

.content-area h2 {
    color: #003d82 !important;
    font-family: 'Ek Mukta', sans-serif !important;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.content-area h3 {
    color: #003d82 !important;
    font-family: 'Ek Mukta', sans-serif !important;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-area p {
    font-family: 'Ek Mukta', sans-serif !important;
    font-size: 1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1rem;
    text-align: justify;
}

.content-area ul,
.content-area ol {
    font-family: 'Ek Mukta', sans-serif !important;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.content-area li {
    font-family: 'Ek Mukta', sans-serif !important;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 0.5rem;
}

.content-area a {
    color: #003d82 !important;
    text-decoration: underline;
    font-weight: 500;
}

.content-area a:hover {
    color: #0052a3 !important;
    text-decoration: none;
}

/* ============================================
   SIDEBAR - ULTRA PROFESSIONAL GOVERNMENT STYLE
   ============================================ */
.inner-page-sidebar {
    margin-top: 0;
}

.sidebar-box {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.sidebar-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6600 0%, #ff8533 50%, #ff6600 100%);
    z-index: 1;
}

.sidebar-box:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
    border-color: #d0d0d0;
}

.sidebar-title {
    color: #ffffff !important;
    background: linear-gradient(135deg, #003d82 0%, #004a9e 50%, #003d82 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    font-family: 'Ek Mukta', sans-serif !important;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    padding: 1.25rem 1.5rem;
    border-bottom: 4px solid #ff6600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) inset;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6600 0%, #ff8533 100%);
    box-shadow: 0 2px 4px rgba(255, 102, 0, 0.3);
}

.sidebar-menu {
    list-style: none;
    padding: 0.75rem 0;
    margin: 0;
    background: #ffffff;
}

.sidebar-menu-item {
    margin: 0;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.sidebar-menu-item:last-child {
    border-bottom: none;
}

.sidebar-menu-item:hover {
    background: linear-gradient(90deg, #f8f9fa 0%, #ffffff 100%);
}

.sidebar-menu-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #444444 !important;
    text-decoration: none;
    font-family: 'Ek Mukta', sans-serif !important;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 5px solid transparent;
    background: transparent;
    position: relative;
    line-height: 1.6;
    overflow: hidden;
}

.sidebar-menu-link::before {
    content: '▶';
    font-size: 10px;
    margin-right: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.5;
    flex-shrink: 0;
    color: #666666;
    transform: translateX(0);
}

.sidebar-menu-link::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(0, 61, 130, 0.05) 0%, transparent 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.sidebar-menu-link:hover {
    color: #003d82 !important;
    background: linear-gradient(90deg, #f0f4f8 0%, #ffffff 100%);
    border-left-color: #003d82;
    padding-left: 1.75rem;
    text-decoration: none;
    transform: translateX(4px);
    box-shadow: -2px 0 8px rgba(0, 61, 130, 0.1);
    z-index: 1;
    position: relative;
}

.sidebar-menu-link:hover::before {
    color: #003d82;
    opacity: 1;
    transform: translateX(4px);
}

.sidebar-menu-link:hover::after {
    width: 100%;
}

.sidebar-menu-item.active {
    background: linear-gradient(90deg, #e8f0f8 0%, #f8f9fa 100%);
    border-left: 5px solid #ff6600;
}

.sidebar-menu-item.active .sidebar-menu-link {
    color: #003d82 !important;
    background: linear-gradient(90deg, #e8f0f8 0%, #f0f4f8 50%, #ffffff 100%);
    border-left-color: #ff6600;
    font-weight: 600;
    padding-left: 1.75rem;
    box-shadow: -3px 0 12px rgba(255, 102, 0, 0.2), inset 0 0 0 1px rgba(0, 61, 130, 0.08);
    transform: translateX(4px);
    position: relative;
    z-index: 1;
}

.sidebar-menu-item.active .sidebar-menu-link::before {
    content: '▶';
    color: #ff6600;
    opacity: 1;
    transform: translateX(4px);
    font-weight: bold;
}

.sidebar-menu-item.active .sidebar-menu-link::after {
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 102, 0, 0.08) 0%, transparent 100%);
}

/* Sidebar Link Icons - Professional */
.sidebar-menu-link i {
    margin-right: 0.75rem;
    font-size: 14px;
    width: 20px;
    text-align: center;
    opacity: 0.6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #666666;
    flex-shrink: 0;
}

.sidebar-menu-link:hover i {
    opacity: 1;
    color: #003d82;
    transform: translateX(2px) scale(1.1);
}

.sidebar-menu-item.active .sidebar-menu-link i {
    color: #ff6600;
    opacity: 1;
    transform: translateX(2px) scale(1.15);
    font-weight: bold;
}

/* ============================================
   CARDS - INNER PAGE STYLE
   ============================================ */
.inner-page-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: 0.2s ease;
}

.inner-page-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #cccccc;
}

.inner-page-card h5 {
    color: #003d82 !important;
    font-family: 'Ek Mukta', sans-serif !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.inner-page-card p {
    font-family: 'Ek Mukta', sans-serif !important;
    color: #333333;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

/* ============================================
   NEWS LISTING - INNER PAGE STYLE
   ============================================ */
.news-list-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #003d82;
    border-radius: 4px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: 0.2s ease;
}

.news-list-item:hover {
    border-left-color: #ff6600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-list-item h5 {
    color: #003d82 !important;
    font-family: 'Ek Mukta', sans-serif !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-list-item h5 a {
    color: #003d82 !important;
    text-decoration: none;
}

.news-list-item h5 a:hover {
    color: #ff6600 !important;
    text-decoration: underline;
}

.news-list-item .news-date {
    color: #666666;
    font-family: 'Ek Mukta', sans-serif !important;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-list-item .news-summary {
    color: #333333;
    font-family: 'Ek Mukta', sans-serif !important;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

/* ============================================
   PROGRAMME CARDS - INNER PAGE STYLE
   ============================================ */
.programme-list-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: 0.2s ease;
}

.programme-list-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #003d82;
}

.programme-list-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.programme-list-item .programme-content {
    padding: 1.5rem;
}

.programme-list-item h5 {
    color: #003d82 !important;
    font-family: 'Ek Mukta', sans-serif !important;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.programme-list-item .programme-badge {
    display: inline-block;
    background: #003d82;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-family: 'Ek Mukta', sans-serif !important;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.programme-list-item .programme-description {
    color: #333333;
    font-family: 'Ek Mukta', sans-serif !important;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

/* ============================================
   TABLES - INNER PAGE STYLE
   ============================================ */
.inner-page-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-family: 'Ek Mukta', sans-serif !important;
}

.inner-page-table thead {
    background: #003d82;
    color: white;
}

.inner-page-table th {
    padding: 1rem;
    text-align: left;
    font-family: 'Ek Mukta', sans-serif !important;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 2px solid #002855;
}

.inner-page-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    color: #333333;
    font-family: 'Ek Mukta', sans-serif !important;
}

.inner-page-table tbody tr:hover {
    background: #f8f9fa;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .inner-page-sidebar {
        margin-top: 2rem;
    }
    
    .sidebar-box {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .page-title-section h1 {
        font-size: 1.5rem;
    }
    
    .content-area {
        padding: 1rem 0;
    }
    
    .sidebar-box {
        border-radius: 4px;
    }
    
    .sidebar-title {
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }
    
    .sidebar-menu-link {
        padding: 0.75rem 1rem;
        font-size: 14px;
    }
    
    .sidebar-menu-link:hover,
    .sidebar-menu-item.active .sidebar-menu-link {
        padding-left: 1.25rem;
    }
}

