/*
Theme Name: Visuti Career Theme
Theme URI: https://visuticareer.com
Author: Visuti Career
Author URI: https://visuticareer.com
Description: A custom WordPress theme for Visuti Career blog, built with Bootstrap 5
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: visuti-theme
Tags: blog, education, career, bootstrap, responsive
*/

/* ========================
   General Styles
   ======================== */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --bg-light: #f9fafb;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* ========================
   Header Styles
   ======================== */
.site-header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

/* ========================
   Blog Listing Styles
   ======================== */
.page-header {
  background: linear-gradient(135deg, #098493e0 0%, #20dd8eeb 100%);
  color: #fff;
  padding: 4rem 0 3rem;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.125rem;
  opacity: 0.9;
}

.blog-card {
  height: 100%;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
  text-decoration: none;
}


.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.blog-meta i {
  margin-right: 0.25rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card h3 a {
  color: #000;
  text-decoration: none;
}


.blog-card h3 a:hover {
  color: #0d492d;
}

.blog-excerpt {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.read-more {
  color: #fff;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #098493e0 0%, #20dd8eeb 100%);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 14px;
}

.read-more:hover {
  color: #ffffff;
}

.read-more i {
  margin-left: 0.5rem;
  transition: margin-left 0.3s ease;
}

.read-more:hover i {
  margin-left: 0.75rem;
}

/* ========================
   Pagination Styles
   ======================== */
.pagination {
  margin-top: 3rem;
}

.pagination .page-link {
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
}

.pagination .page-link:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* ========================
   Single Post Styles
   ======================== */
.single-post-header {
  margin-bottom: 2rem;
}

.single-post-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-light);
  font-size: 0.95rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
}

.post-meta-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
}

.post-meta-item span a{text-decoration: none; color: #08b090;}
.post-category a.bg-primary{background-color:#08b090 !important;}
.post-category a:hover.bg-primary{color: #000;}


.post-meta-item i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.post-featured-image {
  margin: 2rem 0;
  border-radius: 0.5rem;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: auto;
}

.post-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.post-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.post-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-light);
}

.post-tags {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.post-tags h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 0.375rem 0.875rem;
  border-radius: 1.5rem;
  font-size: 0.875rem;
  transition: background-color 0.3s ease;
}

.tag:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* ========================
   Sidebar Styles
   ======================== */
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.sidebar-widget h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-color);
}

.recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.recent-posts-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-posts-list a {
  color: var(--text-dark);
  font-weight: 500;
}

.recent-posts-list a:hover {
  color: var(--primary-color);
}

.recent-post-date {
  font-size: 0.875rem;
  color: var(--text-light);
  display: block;
  margin-top: 0.25rem;
}

/* ========================
   Footer Styles
   ======================== */
.site-footer {
  background: #1f2937;
  color: #d1d5db;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-widget h4 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
}

.footer-widget ul li {
  margin-bottom: 0.75rem;
}

.footer-widget ul li a {
  color: #d1d5db;
  transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  text-align: center;
  color: #9ca3af;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #374151;
  border-radius: 50%;
  color: #d1d5db;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  color: #fff;
}

/* ========================
   Responsive Styles
   ======================== */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .single-post-title {
    font-size: 1.875rem;
  }

  .post-content h2 {
    font-size: 1.5rem;
  }

  .post-content h3 {
    font-size: 1.25rem;
  }
}

/* ========================
   Utility Classes
   ======================== */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-light-gray {
  background-color: var(--bg-light);
}

.section-padding {
  padding: 4rem 0;
}
