/*
Theme Name: IILM
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A WordPress theme based on the IILM Bootstrap design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: IILM.EDU
*/
:root {
            --primary-purple: #7B39E5;
            --background-light: #ffffff;  /* Changed to white */
            --text-color-dark: #333333;   /* Changed text color for readability on white */
            --accent-red: #F8274B;
        }
        
        body {
            font-family: 'Arial', sans-serif;
            background-color: var(--background-light);  /* Changed to white background */
            color: var(--text-color-dark);  /* Changed to darker text for visibility */
            overflow-x: hidden;
        }
        
        /* Header styling */
        header 
		{
    padding:8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
    width: 100%;}
        
        .navbar {
            padding: 0;
        }
        
        .logo-container img {
            height: 60px;
        }
        
        .nav-link {
            color: var(--text-color-dark) !important;  /* Changed text color */
            font-weight: 500;
            margin: 0 10px;
            font-size: 14px;
            letter-spacing: 0.5px;
            
        }
        
        /* Dropdown menu styles */
        .dropdown {
            position: relative;
            display: inline-block;
        }
        
        .dropdown-content {
            display: none;
            position: absolute;
            background-color: #ffffff;  /* Changed to white */
            min-width: 180px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
            border-radius: 4px;
            z-index: 1000;
            border: 1px solid rgba(0,0,0,0.05);
            margin-top: 10px;
        }
        
        .dropdown-content a {
            color: var(--text-color-dark);  /* Changed text color */
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            font-size: 13px;
            text-transform: uppercase;
            transition: all 0.2s ease;
        }
        
        .dropdown-content a:hover {
            background-color: rgba(123, 57, 229, 0.1);
            color: var(--primary-purple);
        }
        
        .dropdown:hover .dropdown-content {
            display: block;
        }
        
        
        .contact-btn {
            background-color: var(--accent-red);
            color: white;
            border-radius: 30px;
            padding: 10px 30px;
            font-weight: 500;
            border: none;
            transition: all 0.3s ease;
        }
        
        .contact-btn:hover {
            background-color: #d41f3f;
            color: white;
        }
        
        /* Hero section styling */
        .hero-section {
            min-height: 50vh;
            background: url('https://www.iilm.edu/blog/wp-content/uploads/2025/07/blog-bg.jpg');  /* Lightened overlay */
            background-size: cover;
            background-position: center;
        }
		
        
        .hero-content h1 {
            font-size: 3.2rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 40px;
            color: #fff;  /* Changed text color */
        }
        .hero-content h4 {
            
            color: #fff;  /* Changed text color */
        }
        .talk-btn {
            background-color: var(--accent-red);
            color: white;
            border-radius: 30px;
            padding: 12px 32px;
            font-weight: 500;
            border: none;
            font-size: 16px;
            display: inline-block;
            text-decoration: none;
        }
        
        .talk-btn:hover {
            background-color: #d41f3f;
            color: white;
        }
        
        .social-icons {
            margin-top: 20px;
        }
        
        .social-icon {
            width: 40px;
            height: 40px;
            background-color: #234278;  /* Changed for white background */
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            margin-right: 15px;
            color: #fff;  /* Changed text color */
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .social-icon:hover {
            background-color: var(--primary-purple);
            color: white;
        }
        
        /* Right side image card */
        .image-card {
            background-color: rgba(255,255,255,0.9);  /* Changed to lighter background */
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border: 1px solid rgba(0,0,0,0.05);
        }
        
       
        
        .image-card h2 {
            font-size: 2rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: #333;  /* Changed text color */
        }
        
        .dashboard-image {
            width: 100%;
            border-radius: 10px;
            margin-top: 15px;
        }
		
        /* Blog Grid Section - Enhanced for attractiveness */
        .blog-grid-section {
            padding: 80px 0;
            background-color: #fff;  /* Changed to white */
        }

        .blog-card {
            background-color: #fff;
            border-radius: 12px;
            overflow: hidden;
            height: 100%;
            transition: all 0.4s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            border: 1px solid #f0f0f0;
            margin-bottom: 20px;
        }
        
        .blog-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        
        .blog-thumbnail {
            position: relative;
            height: 220px;
            overflow: hidden;
        }
        
        .blog-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .blog-card:hover .blog-thumbnail img {
            transform: scale(1.1);
        }
        
        .logo-overlay {
            position: absolute;
            top: 15px;
            left: 15px;
            background: rgba(255,255,255,0.9);
            padding: 5px;
            border-radius: 5px;
        }
        
        .logo-overlay img {
            height: 30px;
            width: auto;
        }
        
        .blog-content {
            padding: 25px 20px;
        }
        
        .post-categories {
            margin-bottom: 15px;
        }
        
        .category-tag {
            display: inline-block;
            padding: 5px 12px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 500;
            margin-right: 5px;
            margin-bottom: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }
        
        .category-protocol {
            background-color: #f8d7e5;
            color: #c41666;
        }
        
        .category-mcp {
            background-color: #d7ffd7;
            color: #008000;
        }
        
        .category-ai {
            background-color: #ffebd7;
            color: #996300;
        }

        .category-ai-green {
            background-color: #d7ffd7;
            color: #008000;
        }
        
        .category-aiml {
            background-color: #ffebd7;
            color: #996300;
        }
        
        .category-gen-ai {
            background-color: #d7e5ff;
            color: #003399;
        }
		
		.category-section {
            min-height: 30vh;
            padding: 80px 0;
            background: url('https://www.iilm.edu/blog/wp-content/uploads/2025/07/blog-bg.jpg');  /* Lightened overlay */
            background-size: cover;
            background-position: center;
            position: relative;
        }
        
        .post-title {
            font-size: 1.5rem;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 15px;
        }
        
        .post-title a {
            color: #234277;  /* Changed text color */
            text-decoration: none;
            transition: color 0.2s ease;
        }
        
        .post-title a:hover {
            color:#882431;
        }
        
        .post-meta {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            border-top: 1px solid #f0f0f0;
            padding-top: 15px;
            margin-top: 15px;
        }
        
        .author {
            
            align-items: center;
        }
        
        .author-image {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            margin-right: 10px;
            border: 2px solid #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .author-name {
            font-size: 14px;
            color: #333;  /* Changed text color */
            font-weight: 500;
        }
        
        .post-date {
            font-size: 14px;
            color: #777;
            margin-left: 15px;
        }

        /* Footer Styling */
        footer {
            background-color: #f9f9f9;
            padding: 30px 0;
            border-top: 1px solid #eaeaea;
        }
        
        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .footer-logo img {
            height: 40px;
        }
        
        .footer-text {
            color: #777;
            font-size: 14px;
        }
        
        .footer-social {
            display: flex;
        }
        
        .footer-social .social-icon {
            width: 36px;
            height: 36px;
            background-color:#234278;
            margin-left: 10px;
        }

        /* For responsive design */
        @media (max-width: 767px) {
            .blog-thumbnail {
                height: 180px;
            }
            
            .post-title {
                font-size: 1.3rem;
            }
            
            .footer-content {
                flex-direction: column;
                text-align: center;
            }
            
            .footer-text, .footer-social {
                margin-top: 20px;
            }
        }

/*Blog details*/
.blogdetail{
    min-height: 450px;
    background-size: cover;
    background-position: center;
}
.blogdetailcard h1{
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #000;
}
.blogmt{
	margin-top:3em;
}
.blogmt h1{
	color:#fff;
}
.blogmt img{
	border-radius:5px;
}
.blogdetailcard{
    background-color: #fff;
    
    overflow: hidden;
    height: 100%;
    transition: all 0.4s ease;
    
    margin-bottom: 20px;
}

/*Related CSS*/
.related-posts{
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 5px;
}
.related-posts h3{
    margin-bottom:20px;
}
.related-posts a{
    color: #234277;
    font-weight: 700;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
}
.related-posts a:hover{
    color:#882431;
    
}
.related-posts ul li{
	list-style:none;
	margin:22px 0;
}
/*Related CSS*/






/*Blog details*/


/*author css*/
        .author-section {
            min-height: 30vh;
            padding: 80px 0;
            background: url('https://www.iilm.edu/blog/wp-content/uploads/2025/07/blog-bg.jpg');  /* Lightened overlay */
            background-size: cover;
            background-position: center;
            position: relative;
        }
		.author-content{
			
		}
        .author-section img{
			border-radius:5px;
		}
        .author-content h1 {
            font-size: 3.2rem;
            font-weight: 700;
            line-height: 1.2;
            
            color: #fff;  /* Changed text color */
			text-shadow:1px 1px #080808;
        }
        .author-content h4 {
    color: #fff;
    font-size:18px;
	line-height:26px;
}
/*author css*/

.breadcrumb {
    margin: 20px 0;
    font-size: 14px;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #6c757d; /* Color for the separator */
}


/*pagination */
.pagination-container {
    text-align: center; /* Center the pagination */
    margin: 20px 0; /* Add some margin above and below */
}

.pagination {
    display: inline-flex; /* Use flexbox for alignment */
    list-style: none; /* Remove default list styling */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

.page-numbers{
    color: #007BFF; /* Link color */
    padding: 10px 15px; /* Padding for clickable area */
    text-decoration: none; /* Remove underline */
    border: 1px solid #007BFF; /* Border color */
    border-radius: 5px; /* Rounded corners */
    margin: 0 5px; /* Space between links */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effects */
}

.pagination a:hover:not(.active) {
    background-color: #007BFF; /* Background color on hover */
    color: white; /* Text color on hover */
}

.pagination a.active {
    background-color: #007BFF; /* Active page background */
    color: white; /* Active page text color */
    border: 1px solid #007BFF; /* Keep border same as background */
}

.current {
    color: #ccc; /* Color for disabled links */
    pointer-events: none; /* Disable pointer events */
    border: 1px solid #ccc; /* Border for disabled links */
}
/*pagination end*/



/*author listing*/
.authors-list-ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.author-item {
    width: 220px;
    text-align: center;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

    .author-item:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

.author-link {
    text-decoration: none;
    color: inherit;
}

.author-name {
    margin-top: 10px;
    font-size: 18px;
}

.author-description {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

.author-item img {
    border-radius: 50%;
}
/*author listing*/






/*TOC*/

/* Table of Contents Container */
#toc_container {
    background: #f8f9fa;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 1.5rem 1.2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.toc_title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.toc_list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.toc_list li {
    margin-bottom: 0.5em;
    font-size: 1rem;
}

.toc_list li a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s;
    padding-left: 0.2em;
}

.toc_list li a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Optional: Indent sub-headings (h3, h4, etc.) in ToC */
.toc_list li {
    padding-left: 0;
}
.toc_list li:nth-child(n+2) {
    /* You can adjust this if you use nested lists for sub-headings */
}

/* Headings with IDs: Add anchor icon on hover (optional, for UX) */
h2[id], h3[id], h4[id], h5[id], h6[id] {
    position: relative;
    scroll-margin-top: 90px; /* Adjust if you have a sticky header */
}

h2[id]:hover::after,
h3[id]:hover::after,
h4[id]:hover::after,
h5[id]:hover::after,
h6[id]:hover::after {
    content: "🔗";
    font-size: 0.9em;
    margin-left: 0.5em;
    color: #007bff;
    cursor: pointer;
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #toc_container {
        padding: 1rem 0.5rem;
    }
    .toc_title {
        font-size: 1rem;
    }
}

/*TOC end*/