
:root {
  /* Modern Color Palette */
  --primary: #4361ee;
  --primary-dark: #3a0ca3;
  --secondary: #f72585;
  --accent: #4cc9f0;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --dark-gray: #343a40;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;
  
  /* Typography */
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-xxl: 1.5rem;
  
  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-inset: inset 0 2px 4px rgba(0,0,0,0.05);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Modern Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --sidebar-width: 350px;
  --header-height: 80px;
  --footer-height: 100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Hero Section - Modern Gradient */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: var(--space-xxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
    padding: 6rem 0 6rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-weight: 800;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-description {
  font-size: var(--text-lg);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

/* Breadcrumb */
.breadcrumb {
  background-color: var(--light);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--light-gray);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: var(--space-sm);
}

.breadcrumb-item:not(:last-child)::after {
  content: '/';
  margin-left: var(--space-sm);
  color: var(--gray);
}

.breadcrumb-link {
  color: var(--primary);
  font-weight: 500;
          font-size: 0.9rem !important;
}

.breadcrumb-link:hover {
  text-decoration: underline;
}

/* Main Layout */
.layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}

@media (min-width: 992px) {
  .layout-grid {
    grid-template-columns: 1fr 300px;
  }
}

/* Sidebar with hidden scrollbar */
.sidebar {
  width: var(--sidebar-width);
  background: var(--light);
  padding: 20px;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.sidebar::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Blog Grid - Modern Card Design */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.blog-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.05);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);

}

.card-image-container {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.card-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .card-image-container img {
  transform: scale(1.05);
}

.image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
}

.card-body {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: var(--text-sm);
  color: var(--gray);
  margin-bottom: var(--space-md);
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.card-excerpt {
  color: var(--dark-gray);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.category-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--light-gray);
  color: var(--dark);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.category-badge:hover {
  background-color: var(--primary);
  color: white;
}

.card-footer {
  padding: 0 var(--space-lg) var(--space-lg);
  margin-top: auto;
}

/* Modern Read More Button */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.read-more::before,
.read-more::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
}

.read-more::before {
  top: 0;
  left: 0;
}

.read-more::after {
  bottom: 0;
  right: 0;
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover::before,
.read-more:hover::after {
  width: 100%;
}

.read-more i {
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(3px);
}

/* Sidebar Widgets */
.sidebar-widget {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  margin-bottom: var(--space-lg);
}

.widget-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--light-gray);
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

/* Search Form */
.search-form {
  margin-top: var(--space-md);
}

.search-input-group {
  position: relative;
  display: flex;
}

.search-input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary), 0.1);
}

.search-button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  background: transparent;
  border: none;
  padding: 0 var(--space-md);
  color: var(--gray);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.search-button:hover {
  color: var(--primary);
}

/* Tag Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--light-gray);
  color: var(--dark);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.tag:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.tag-count {
  margin-left: var(--space-xs);
  font-size: var(--text-xs);
  opacity: 0.7;
}

/* Popular Posts */
.popular-posts {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.popular-post {
  display: flex;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px dashed var(--light-gray);
}

.popular-post:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.popular-post-image {
  flex: 0 0 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.popular-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.popular-post:hover .popular-post-image img {
  transform: scale(1.05);
}

.popular-post-content {
  flex: 1;
}

.popular-post-title {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}

.popular-post-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--gray);
}
/* Pagination */
.pagination {
  margin-top: var(--space-xl);
  display: flex;
  justify-content: center;
}

.pagination ul {
  display: flex;
  gap: var(--space-sm);
  list-style: none;
}

.pagination a, 
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.pagination a {
  background-color: white;
  border: 1px solid var(--light-gray);
  transition: all var(--transition-fast);
}

.pagination a:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.pagination .current {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}



/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.blog-card {
  animation: fadeIn 0.5s ease forwards;
  animation-delay: calc(var(--index) * 0.1s);
  opacity: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero {
    padding: var(--space-xl) 0;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .popular-post {
    flex-direction: column;
  }
  
  .popular-post-image {
    width: 100%;
    height: 120px;
  }
  
  .sidebar {
    position: static;
    height: auto;
    width: 100%;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  body {
    background-color: var(--dark);
    color: #f0f0f0;
  }
  
  .hero {
    background: linear-gradient(135deg, var(--primary-dark), #1a1a2e);
  }
  
  .blog-card,
  .sidebar-widget {
    background-color: #2d3748;
  
  }
  
  .card-excerpt,
  .widget-title,
  .breadcrumb {
    color: #e2e8f0;
  }
  
  .card-meta,
  .popular-post-meta {
    color: #a0aec0;
  }
  
  .search-input {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #f8f9fa;
  }
  
  .category-badge,
  .tag {
    background-color: #4a5568;
    color: #f8f9fa;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 50px;
  height: 50px;
  background-color: #4361ee;
  color: white; /* This will make the icon white */
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 99;
}

/* Alternatively, you can target the icon specifically */
.back-to-top .fas {
  color: white;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #3a0ca3;
  transform: translateY(-3px);
}












        /* Header Styles */
        :root {
            --text-dark: #111;
            --primary: #3498db;
            --secondary: #2ecc71;
            --bg-dark: #0f172a;
            --text-light: #ffffff;
            --transition: all 0.3s ease;
        }

        .smart-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: rgba(255, 255, 255, 2);
            color: var(--bg-dark);
            padding: 1rem 2rem;
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
        }

        .smart-header.scrolled {
            background-color: rgba(44, 62, 80, 0.95);
            color: var(--text-light);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .smart-header.dark-mode {
            background-color: var(--bg-dark);
            color: var(--text-light);
        }

        .header-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: var(--transition);
        }

        /* Logo Styles */
        .logo {
            display: flex;
            align-items: center;
            gap: 0.2rem;
            text-decoration: none;
            height: 40px;
        }

        .logo-mark {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .logo-mark img {
            width: 100%;
            height: auto;
            max-height: 40px;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        .logo-type {
            font-size: 1.7rem;
            font-weight: 750;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            transition: var(--transition);
        }

        .logo:hover .logo-mark img {
            transform: scale(1.1);
        }

        .smart-header.scrolled .logo-type {
            color: var(--text-light);
            background: none;
            -webkit-background-clip: initial;
            background-clip: initial;
        }

        /* Navigation Styles */
        .primary-nav {
            display: flex;
            align-items: center;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            align-items: center;
        }

        .nav-menu > li {
            position: relative;
            margin-left: 1.5rem;
        }

        .nav-link {
            color: inherit;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            padding: 0.5rem 0;
            display: inline-block;
            position: relative;
        }

        .nav-link:hover {
            color: var(--primary);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary);
            transition: var(--transition);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        /* Dropdown styles */
        .dropdown {
            position: relative;
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: white;
            min-width: 200px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            border-radius: 4px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: var(--transition);
            z-index: 10;
            list-style: none;
        }

        .dropdown-menu li {
            padding: 0.75rem 1.25rem;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .dropdown-menu li:last-child {
            border-bottom: none;
        }

        .dropdown-menu .nav-link {
            color: var(--bg-dark);
            white-space: nowrap;
        }

        .dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .smart-header.dark-mode .dropdown-menu {
            background-color: var(--bg-dark);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .smart-header.dark-mode .dropdown-menu .nav-link {
            color: var(--text-light);
        }

        /* Button styles */
        .header-button {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            color: white;
            padding: 0.6rem 0.6rem;
            border-radius: 4px;
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            margin-left: 1.5rem;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .header-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        /* Mobile styles */
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            z-index: 1001;
        }

        .toggle-line {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--text-dark);
            margin: 5px 0;
            transition: var(--transition);
        }

        .smart-header.scrolled .toggle-line,
        .smart-header.dark-mode .toggle-line {
            background-color: var(--text-light);
        }

        /* Hamburger animation */
        .mobile-toggle[aria-expanded="true"] .toggle-line:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }

        .mobile-toggle[aria-expanded="true"] .toggle-line:nth-child(2) {
            opacity: 0;
        }

        .mobile-toggle[aria-expanded="true"] .toggle-line:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        @media (max-width: 768px) {
            .mobile-toggle {
                display: block;
            }

            .primary-nav {
                position: fixed;
                top: 50px;
                left: 0;
                width: 100%;
                height: calc(100vh - 50px);
                background-color: white;
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
                clip-path: circle(0px at 90% -10%);
                -webkit-clip-path: circle(0px at 90% -10%);
                transition: all 0.5s ease-out;
                overflow-y: auto;
                z-index: 1000;
            }

            .primary-nav.open {
                clip-path: circle(1500px at 90% -10%);
                -webkit-clip-path: circle(1500px at 90% -10%);
                pointer-events: auto;
            }

            .nav-menu {
                flex-direction: column;
                align-items: center;
                width: 100%;
                padding: 2rem;
            }

            .nav-menu > li {
                margin: 1rem 0;
                width: 100%;
                text-align: center;
                opacity: 0;
            }

            .dropdown-menu {
                position: static;
                display: none;
                width: 100%;
                background-color: rgba(0, 0, 0, 0.05);
                box-shadow: none;
                margin-top: 0.5rem;
                opacity: 1;
                visibility: visible;
                transform: none;
            }

            .dropdown.active .dropdown-menu {
                display: block;
            }

            .primary-nav.active > .nav-menu > li {
                opacity: 1;
            }

            .header-button {
                margin: 0rem 0 0;
                width: 80%;
                max-width: 200px;
                text-align: center;
                display: block;
                margin-left: auto;
                margin-right: auto;
                padding: 0.5rem 0.5rem;
            }
        }

        /* Footer Styles */
        .container-fluid {
            max-width: 1800px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .ushasoft-footer {
            background-color: #0f172a;
            color: #e2e8f0;
            padding: 3rem 0 1.5rem;
            font-family: 'Inter', sans-serif;
        }

        .footer-columns-container {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            padding-bottom: 2rem;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid rgba(226, 232, 240, 0.1);
        }

        .footer-columns-container > div {
            flex: 1;
            min-width: 200px;
        }

        .footer-brand-col .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 1.25rem;
            font-weight: 600;
            color: white;
            text-decoration: none;
            margin-bottom: 1rem;
        }

        .footer-logo {
            display: inline-flex;
            align-items: center;
            justify-content: flex-start;
            gap: 1px;
            text-decoration: none;
            width: 40%;
            text-align: left;
        }

        .brand-name {
            font-size: 1.7rem;  
        }

        .footer-brand-col {
            text-align: left;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .footer-brand-col .footer-tagline {
            color: #94a3b8;
            font-size: 0.875rem;
            line-height: 1.5;
            margin-bottom: 1.5rem;
            text-align: justify;
        }

        .social-links {
            display: flex;
            gap: 0.75rem;
        }

        .social-links a {
            color: #94a3b8;
            transition: color 0.2s ease;
        }

        .social-links a:hover {
            color: #3b82f6;
        }

        .footer-links-col h3 {
            font-size: 1rem;
            font-weight: 600;
            color: white;
            margin-bottom: 1rem;
        }

        .footer-links-col ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 0.05rem;
        }

        .footer-links-col li {
            position: relative;
            padding-left: 0;
            transition: all 0.3s ease;
        }

        .footer-links-col a {
            color: #94a3b8;
            text-decoration: none;
            font-size: 0.875rem;
            transition: all 0.3s ease;
            display: inline-block;
            padding: 0.15rem 0;
        }

        .footer-links-col a:hover {
            color: #3b82f6;
            transform: translateX(5px);
        }

        .footer-links-col a:hover::after {
            content: "→";
            margin-left: 8px;
            color: #3b82f6;
            display: inline-block;
        }

        .footer-newsletter-col h3 {
            font-size: 1rem;
            font-weight: 600;
            color: white;
            margin-bottom: 0.75rem;
        }

        .footer-newsletter-col p {
            color: #94a3b8;
            font-size: 0.875rem;
            margin-bottom: 1rem;
        }

        .newsletter-form {
            position: relative;
        }

        .newsletter-form input {
            width: 100%;
            padding: 0.5rem;
            border-radius: 4px;
            border: 1px solid #334155;
            background-color: #1e293b;
            color: white;
            font-size: 0.875rem;
        }

        .newsletter-form button {
            position: absolute;
            right: 0.25rem;
            top: 0.25rem;
            bottom: 0.25rem;
            width: 28px;
            background-color: #3b82f6;
            color: white;
            border: none;
            border-radius: 3px;
            cursor: pointer;
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .footer-bottom p {
            color: #94a3b8;
            font-size: 0.75rem;
        }

        .legal-links {
            display: flex;
            gap: 1.5rem;
        }

        .legal-links a {
            color: #94a3b8;
            text-decoration: none;
            font-size: 0.75rem;
            transition: color 0.2s ease;
        }

        .legal-links a:hover {
            color: #3b82f6;
        }

        @media (max-width: 768px) {
            .footer-columns-container {
                flex-direction: column;
                gap: 2rem;
            }
            
            .footer-columns-container > div {
                width: 100%;
                flex: 1 1 100%;
            }
            
            .footer-bottom {
                flex-direction: column;
                gap: 0.75rem;
                text-align: center;
            }
            
            .legal-links {
                flex-wrap: wrap;
                justify-content: center;
            }
        }
        
        
        
        
        
        
        
        
        
        /* Mobile First Styles */
.mobile-categories {
    margin-bottom: 2rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .mobile-categories {
        display: none !important;
    }
    
    .sidebar-widget.d-none.d-md-block {
        display: block !important;
    }
}

/* Tag Cloud Responsive Adjustments */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #e9ecef;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: #dee2e6;
    text-decoration: none;
}

.tag-count {
    margin-left: 0.5rem;
    background: #6c757d;
    color: white;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}


.mobile-related-categories {
    margin-bottom: 2rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .mobile-related-categories {
        display: none;
    }
}

  
  
  
  
  
  
   .form-message {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    display: none;
}
.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
}
.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
} 



.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.read-more-link:hover {
    color: #1d4ed8;
    gap: 8px;
}

.read-more-icon {
    display: inline-flex;
    transition: transform 0.2s ease;
}

.read-more-link:hover .read-more-icon {
    transform: translateX(2px);
}