.navbar{
  font-family: "Poppins", sans-serif;
}

article{
  cursor: pointer;
}

/* Blog Page Specific Styles */
.blog-hero-content > h1{

  font-size: 3rem;
}

/* Blog Hero Section */
.blog-hero {
  background-color: var(--darker-color);
  padding: 7rem 0 3rem;
  background: linear-gradient(90deg, #ff5252, #6c63ff);
  color: white;
  text-shadow: 0 0 15px #2929296b;
  font-size: 21px;
}
  
  /* Blog Content Section */
  .blog-content {
    padding: 80px 0;
    /* background-color: var(--dark-color); */
  }
  
  .blog-grid {
    display: grid;
  
    :root {
      --blog-accent: #6c63ff;
      --blog-accent-light: #8a84ff;
      --blog-accent-dark: #5a52d9;
      --blog-secondary: #ff5252;
      --blog-secondary-light: #ff7b7b;
      --blog-card-bg: #1a1a1a;
      --blog-card-hover: #222222;
      --blog-text: #ffffff;
      --blog-text-secondary: #aaaaaa;
      --blog-border: rgba(255, 255, 255, 0.05);
      --blog-border-hover: rgba(108, 99, 255, 0.2);
      --blog-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
      --blog-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
  
    /* Blog Hero Section */
    .blog-hero {
      padding: 180px 0 100px;
      background-color: var(--darker-color);
      position: relative;
      overflow: hidden;
     
    }
  
    .blog-hero-content {
      text-align: center;
      position: relative;
      z-index: 2;
      max-width: 800px;
      margin: 0 auto;
    }
  
    .hero-subtitle {
      display: inline-block;
      background-color: rgba(108, 99, 255, 0.1);
      color: var(--blog-accent-light);
      padding: 5px 15px;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: 500;
      margin-bottom: 20px;
      letter-spacing: 1px;
      text-transform: uppercase;
    }
  
    .blog-hero-content h1 {
      font-family: var(--font-secondary);
      font-size: 4rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 20px;
      background: linear-gradient(to right, var(--blog-accent), var(--blog-secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-fill-color: transparent;
    }
  
    .blog-hero-content p {
      font-size: 1.2rem;
      color: var(--gray-color);
      max-width: 600px;
      margin: 0 auto;
    }
  
    .blog-hero-visual {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }
  
    .hero-shape {
      position: absolute;
      border-radius: 50%;
      filter: blur(60px);
      opacity: 0.2;
    }
  
    .shape-1 {
      width: 300px;
      height: 300px;
      background-color: var(--blog-accent);
      top: -100px;
      right: 10%;
      animation: float 8s ease-in-out infinite;
    }
  
    .shape-2 {
      width: 200px;
      height: 200px;
      background-color: var(--blog-secondary);
      bottom: -50px;
      left: 15%;
      animation: float 10s ease-in-out infinite reverse;
    }
  
    .shape-3 {
      width: 150px;
      height: 150px;
      background-color: #4ecdc4;
      top: 40%;
      left: 30%;
      animation: float 12s ease-in-out infinite;
    }
  
    @keyframes float {
      0% {
        transform: translateY(0) translateX(0);
      }
  
      50% {
        transform: translateY(-20px) translateX(20px);
      }
  
      100% {
        transform: translateY(0) translateX(0);
      }
    }
  
    /* Blog Categories Navigation */
    .blog-categories {
      background-color: var(--dark-color);
      border-bottom: 1px solid var(--blog-border);
      position: sticky;
      top: 70px;
      z-index: 100;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
  
    .categories-nav {
      display: flex;
      overflow-x: auto;
      padding: 15px 0;
      gap: 20px;
      scrollbar-width: none;
      /* Firefox */
      -ms-overflow-style: none;
      /* IE and Edge */
    }
  
    .categories-nav::-webkit-scrollbar {
      display: none;
      /* Chrome, Safari, Opera */
    }
  
    .categories-nav a {
      color: var(--blog-text-secondary);
      font-size: 0.9rem;
      font-weight: 500;
      white-space: nowrap;
      padding: 8px 16px;
      border-radius: 20px;
      transition: var(--blog-transition);
    }
  
    .categories-nav a:hover {
      color: var(--white);
      background-color: rgba(255, 255, 255, 0.05);
    }
  
    .categories-nav a.active {
      color: var(--white);
      background-color: var(--blog-accent);
    }
  
    /* Blog Content Section */
    .blog-content {
      padding: 80px 0;
      background-color: var(--dark-color);
    }
  
    .blog-grid {
      display: grid;
      grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
      gap: 50px;
    }
  
    /* Blog Main Content */
    .blog-main {
      display: flex;
      flex-direction: column;
      gap: 50px;
    }
  
    /* Featured Post */
    .featured-post {
      background-color: var(--blog-card-bg);
      border-radius: 12px;
      overflow: hidden;
      transition: var(--blog-transition);
      border: 1px solid var(--blog-border);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      transition: 0.3s ease-in-out;
    }
  
    .featured-post:hover {
      /* transform: translateY(-5px); */
      /* box-shadow: var(--blog-shadow); */
      border-color: var(--blog-border-hover);
    }
  
    .featured-post .post-image {
      height: 450px;
      position: relative;
      overflow: hidden;
    }
  
    .featured-post .post-image img {
      
      width: 100%;
      height: 100%;
      transition: var(--blog-transition);
      
    
    }
    .featured-post > .post-image img {
  
      margin: 0;
  
    }
  
    .featured-post:hover{
  
      transform: scale(1.05);
    }
  
    .post-category {
      position: absolute;
          top: 20px;
          left: 20px;
          background-color: white;
          color: var(--white);
          padding: 8px 16px;
          border-radius: 20px;
          font-size: 0.8rem;
          font-weight: 500;
          z-index: 1;
          border: 1px solid grey;
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
          display: none;

    }

    .featured-post:hover .post-category{

      display: block;
      
    }

    .blog-post:hover .post-category{

      display: block;
    }

  
    .featured-post .post-content {
      padding: 30px;
    }
  
    .post-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 15px;
      color: var(--blog-text-secondary);
      font-size: 0.9rem;
    }
  
    .post-meta span {
      display: flex;
      align-items: center;
    }
  
    .post-meta i {
      margin-right: 5px;
      color: var(--blog-accent);
    }
  
    .post-title {
      font-family: var(--font-secondary);
      font-size: 2rem;
      margin-bottom: 15px;
      line-height: 1.3;
    }
  
    .post-title a {
      color: var(--white);
      transition: var(--blog-transition);
      display: inline-block;
    }
  
    .post-title a:hover {
      color: var(--blog-accent);
      /* transform: translateX(5px); */
    }
  
    .post-excerpt {
      margin-bottom: 20px;
      color: var(--blog-text-secondary);
      line-height: 1.7;
      font-size: 1rem;
    }
  
    .post-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 20px;
      padding-top: 20px;
      border-top: 1px solid var(--blog-border);
    }
  
    .post-tags {
      display: flex;
      gap: 10px;
    }
  
    .post-tags a {
      color: var(--blog-text-secondary);
      font-size: 0.8rem;
      transition: var(--blog-transition);
    }
  
    .post-tags a:hover {
      color: var(--blog-accent);
    }
  
    .read-more {
      display: inline-flex;
      align-items: center;
      color: var(--blog-accent);
      font-weight: 500;
      transition: var(--blog-transition);
    }
  
    .read-more i {
      margin-left: 5px;
      transition: var(--blog-transition);
    }
  
    .read-more:hover {
      color: var(--blog-accent-light);
    }
  
    .read-more:hover i {
      transform: translateX(5px);
    }
  
    /* Post Grid */
    .post-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 30px;
    }
  
    .blog-post {
      background-color: var(--blog-card-bg);
      border-radius: 12px;
      overflow: hidden;
      transition: var(--blog-transition);
      height: 100%;
      display: flex;
      flex-direction: column;
      border: 1px solid var(--blog-border);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      transition: 0.3s ease-in;
    }
  
    .blog-post:hover{
      transform: scale(1.05) !important;
    }
  
    .blog-post:hover {
      /* transform: scale(1.05); */
      /* box-shadow: var(--blog-shadow); */
      border-color: var(--blog-border-hover);
      background-color: var(--blog-card-hover);
    }
  
    .blog-post .post-image {
      height: 200px;
      position: relative;
      overflow: hidden;
    }
  
    .blog-post .post-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: var(--blog-transition);
    }
  
    .blog-post:hover .post-image img {
      /* transform: scale(1.05); */
    }
  
    .blog-post .post-content {
      padding: 25px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }
  
    .blog-post .post-title {
      font-size: 1.4rem;
      margin-bottom: 10px;
      line-height: 1.4;
    }
  
    .blog-post .post-excerpt {
      margin-bottom: 15px;
      font-size: 0.95rem;
      flex-grow: 1;
    }
  
    /* Load More Button */
    .load-more {
      text-align: center;
      margin-top: 20px;
    }
  
    .load-more-btn {
      position: relative;
      padding: 12px 30px;
      min-width: 200px;
    }
  
    .load-more-btn i {
      display: none;
      animation: spin 1s linear infinite;
    }
  
    .load-more-btn.loading span {
      opacity: 0;
    }
  
    .load-more-btn.loading i {
      display: inline-block;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  
    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }
  
      100% {
        transform: rotate(360deg);
      }
    }
  
    /* Blog Sidebar */
    .blog-sidebar {
      display: flex;
      flex-direction: column;
      gap: 40px;
    }
  
    .sidebar-widget {
      background-color: var(--blog-card-bg);
      border-radius: 12px;
      padding: 25px;
      border: 1px solid var(--blog-border);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      transition: var(--blog-transition);
      transition: 0.3s ease-in
    }
  
    .sidebar-widget:hover {
      border-color: var(--blog-border-hover);
      /* box-shadow: var(--blog-shadow); */
      transform: scale(1.1);
    }
  
    .widget-title {
      font-family: var(--font-secondary);
      font-size: 1.3rem;
      margin-bottom: 20px;
      color: var(--white);
      position: relative;
      display: inline-block;
    }
  
    .widget-title::after {
      content: "";
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 40px;
      height: 3px;
      background: linear-gradient(to right, var(--blog-accent), var(--blog-secondary));
      border-radius: 3px;
    }
  
    /* About Widget */
    .about-widget p {
      color: var(--blog-text-secondary);
      margin-bottom: 20px;
      font-size: 0.95rem;
      line-height: 1.7;
    }
  
    .btn-sm {
      padding: 8px 16px;
      font-size: 0.8rem;
    }
  
    .btn-outline {
      background-color: transparent;
      color: #4f4e4e;
      border: 2px solid #4f4e4e;
      box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
  
    }
  /*   
    .btn-outline:hover{
      color: #ff5252;
    } */
  
    /* Search Widget */
    .search-form {
      display: flex;
      position: relative;
    }
  
    .search-form input {
      width: 100%;
      padding: 15px 50px 15px 20px;
      /* background-color: var(--dark-color); */
      border: 1px solid var(--blog-border);
      border-radius: 30px;
      color: var(--white);
      font-size: 0.9rem;
      transition: var(--blog-transition);
    }
  
    .search-form input:focus {
      border-color: var(--blog-accent);
      box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
      outline: none;
    }
  
    .search-form button {
      position: absolute;
      right: 5px;
      top: 5px;
      height: calc(100% - 10px);
      width: 45px;
      background-color: var(--blog-accent);
      border: none;
      border-radius: 50%;
      color: var(--white);
      cursor: pointer;
      transition: var(--blog-transition);
    }
  
    .search-form button:hover {
      background-color: var(--blog-accent-dark);
      transform: scale(1.05);
    }
  
    /* Categories Widget */
    .categories-list li {
      margin-bottom: 12px;
      border-bottom: 1px solid var(--blog-border);
      padding-bottom: 12px;
      transition: var(--blog-transition);
    }
  
    .categories-list li:last-child {
      margin-bottom: 0;
      border-bottom: none;
      padding-bottom: 0;
    }
  
    .categories-list a {
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: var(--blog-text-secondary);
      transition: var(--blog-transition);
      padding: 5px 0;
    }
  
    .categories-list a:hover {
      color: var(--blog-accent);
    }
  
    .category-count {
      background-color: rgba(108, 99, 255, 0.1);
      color: var(--blog-accent);
      padding: 2px 10px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 500;
      transition: var(--blog-transition);
    }
  
    .categories-list a:hover .category-count {
      background-color: var(--blog-accent);
      color: var(--white);
    }
  
    /* Popular Posts Widget */
    .popular-posts {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
  
    .popular-post {
      display: flex;
      gap: 15px;
      transition: var(--blog-transition);
      padding: 10px;
      border-radius: 8px;
    }
  
    .popular-post:hover {
      background-color: rgba(255, 255, 255, 0.05);
      transform: translateX(5px);
    }
  
    .popular-post-image {
      width: 80px;
      height: 80px;
      border-radius: 8px;
      overflow: hidden;
      flex-shrink: 0;
    }
  
    .popular-post-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: var(--blog-transition);
    }
  
    .popular-post:hover .popular-post-image img {
      transform: scale(1.05);
    }
  
    .popular-post-content {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
  
    .popular-post-content h4 {
      font-size: 1rem;
      margin-bottom: 5px;
      line-height: 1.4;
    }
  
    .popular-post-content h4 a {
      color: var(--white);
      transition: var(--blog-transition);
    }
  
    .popular-post-content h4 a:hover {
      color: var(--blog-accent);
    }
  
    .popular-post-content .post-meta {
      margin-bottom: 0;
      font-size: 0.8rem;
    }
  
    /* Tags Widget */
    .tags-list {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
  
    .tags-list a {
      display: inline-block;
      padding: 8px 16px;
      background-color: rgba(255, 255, 255, 0.05);
      color: var(--blog-text-secondary);
      border-radius: 20px;
      font-size: 0.8rem;
      transition: var(--blog-transition);
    }
  
    .tags-list a:hover {
      background-color: var(--blog-accent);
      color: var(--white);
      transform: translateY(-3px);
    }
  
    /* Newsletter Widget */
    .newsletter-widget p {
      color: var(--blog-text-secondary);
      margin-bottom: 20px;
      font-size: 0.95rem;
      line-height: 1.7;
    }
  
    .newsletter-form {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
  
    .newsletter-form input {
      padding: 15px 20px;
      /* background-color: var(--dark-color); */
      border: 1px solid var(--blog-border);
      border-radius: 30px;
      color: var(--white);
      font-size: 0.9rem;
      transition: var(--blog-transition);
    }
  
    .newsletter-form input:focus {
      border-color: var(--blog-accent);
      box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
      outline: none;
    }
  
    .newsletter-form .btn {
      width: 100%;
      border-radius: 30px;
    }
  
    /* Author Widget */
    .author-widget {
      text-align: center;
    }
  
    .author-spotlight {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .author-image {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      overflow: hidden;
      margin-bottom: 15px;
      border: 3px solid var(--blog-accent);
      padding: 3px;
    }
  
    .author-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
    }
  
    .author-spotlight h4 {
      font-size: 1.2rem;
      margin-bottom: 5px;
      color: var(--white);
    }
  
    .author-role {
      color: var(--blog-accent);
      font-size: 0.9rem;
      margin-bottom: 15px;
    }
  
    .author-bio {
      color: var(--blog-text-secondary);
      font-size: 0.9rem;
      line-height: 1.7;
      margin-bottom: 15px;
    }
  
    .author-social {
      display: flex;
      justify-content: center;
      gap: 15px;
    }
  
    .author-social a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      background-color: rgba(255, 255, 255, 0.05);
      border-radius: 50%;
      color: var(--blog-text-secondary);
      transition: var(--blog-transition);
    }
  
    .author-social a:hover {
      background-color: var(--blog-accent);
      color: var(--white);
      transform: translateY(-3px);
    }
  
    /* Subscribe Section */
    .subscribe-section {
      padding: 100px 0;
      background-color: var(--medium-dark);
      position: relative;
      overflow: hidden;
    }
  
    .subscribe-section::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(45deg, rgba(108, 99, 255, 0.1), transparent);
      z-index: 0;
    }
  
    .subscribe-content {
      position: relative;
      z-index: 1;
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
    }
  
    .subscribe-text h2 {
      font-family: var(--font-secondary);
      font-size: 2.5rem;
      font-weight: 600;
      margin-bottom: 20px;
      color: var(--white);
    }
  
    .subscribe-text p {
      font-size: 1.1rem;
      color: var(--blog-text-secondary);
      margin-bottom: 30px;
    }
  
    .subscribe-form .form-group {
      display: flex;
      max-width: 600px;
      margin: 0 auto 15px;
    }
  
    .subscribe-form input {
      flex: 1;
      padding: 15px 20px;
      background-color: var(--dark-color);
      border: 1px solid var(--blog-border);
      border-radius: 30px 0 0 30px;
      color: var(--white);
      font-size: 1rem;
    }
  
    .subscribe-form button {
      padding: 15px 30px;
      border-radius: 0 30px 30px 0;
      font-size: 1rem;
    }
  
    .form-consent {
      display: flex;
      justify-content: center;
      margin-top: 15px;
    }
  
    .form-consent label {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--blog-text-secondary);
      font-size: 0.8rem;
    }
  
    .form-consent input {
      width: 16px;
      height: 16px;
    }

    
  
    /* Responsive Styles for Blog Page */
    @media (max-width: 1200px) {
      .blog-hero-content h1 {
        font-size: 3.5rem;
      }
  
      .post-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      }
    }
  
    @media (max-width: 992px) {
      .blog-grid {
        grid-template-columns: 1fr;
      }
  
      .blog-hero-content h1 {
        font-size: 3rem;
      }
  
      .featured-post .post-image {
        height: 400px;
      }
  
      .blog-sidebar {
        margin-top: 30px;
      }
    }
  
    @media (max-width: 768px) {
      .blog-hero {
        padding: 150px 0 80px;
      }
  
      .blog-hero-content h1 {
        font-size: 2.5rem;
      }
  
      .blog-hero-content p {
        font-size: 1rem;
      }
  
      .featured-post .post-image {
        height: 300px;
      }
  
      .featured-post .post-title {
        font-size: 1.8rem;
      }
  
      .post-grid {
        grid-template-columns: 1fr;
      }
  
      .post-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
      }
  
      .subscribe-text h2 {
        font-size: 2rem;
      }
  
      .subscribe-form .form-group {
        flex-direction: column;
        gap: 15px;
      }
  
      .subscribe-form input,
      .subscribe-form button {
        width: 100%;
        border-radius: 30px;
      }
    }
  
    @media (max-width: 576px) {
      .blog-hero-content h1 {
        font-size: 2rem;
      }
  
      .featured-post .post-image {
        height: 250px;
      }
  
      .featured-post .post-content {
        padding: 20px;
      }
  
      .featured-post .post-title {
        font-size: 1.5rem;
      }
  
      .post-meta {
        flex-direction: column;
        gap: 10px;
      }
  
      .blog-post .post-content {
        padding: 20px;
      }
  
      .blog-post .post-title {
        font-size: 1.3rem;
      }
  
  
      .sidebar-widget {
        padding: 20px;
      }
  
      .subscribe-text h2 {
        font-size: 1.8rem;
      }
    }
  
  
    grid-template-columns: 2fr 1fr;
    gap: 50px;
  }
  
  .footer-about > img{

    height: 5rem;
    border-radius: 7px;
}
  
  
  /* Blog Main Content */
  .blog-main {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }
  
  /* Featured Post */
  .featured-post {
    background-color: var(--light-dark);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .featured-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(108, 99, 255, 0.2);
  }
  
  .featured-post .post-image {
    height: 400px;
    position: relative;
  }
  
  .featured-post .post-image img {
    display: flex;
    width: 302px;
    
    margin-left: 20px;
  }
  
  .post-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 1;
  }
  
  .featured-post .post-content {
    padding: 30px;
  }
  
  .post-title {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .post-title a {
    color: var(--white);
    /* transition: var(--transition); */
  }
  
  .post-title a:hover {
    color: var(--primary-color);
  }
  
  .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--gray-color);
    font-size: 0.9rem;
  }
  
  .post-meta span {
    display: flex;
    align-items: center;
  }
  
  .post-meta i {
    margin-right: 5px;
    color: var(--primary-color);
  }
  
  .post-excerpt {
    margin-bottom: 20px;
    color: var(--gray-color);
    line-height: 1.7;
  }
  
  .read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
  }
  
  .read-more i {
    margin-left: 5px;
    transition: var(--transition);
  }
  
  .read-more:hover {
    color: var(--primary-light);
  }
  
  .read-more:hover i {
    transform: translateX(5px);
  }
  
  /* Regular Posts */
  .regular-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .blog-post {
    background-color: var(--light-dark);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .blog-post:hover {
    transform: translateY(-5px);
    /* box-shadow: var(--shadow); */
    border-color: rgba(108, 99, 255, 0.2);
  }
  
  .blog-post .post-image {
    height: 200px;
    position: relative;
  }
  
  .blog-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .blog-post .post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  
  .blog-post .post-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .blog-post .post-excerpt {
    margin-bottom: 15px;
    font-size: 0.95rem;
    flex-grow: 1;
  }
  
  /* Pagination */
  .pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
  }
  
  .pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-dark);
    color: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
  }
  
  .pagination a.active,
  .pagination a:hover {
    background-color: var(--primary-color);
  }
  
  .pagination a.next {
    width: auto;
    padding: 0 15px;
  }
  
  /* Blog Sidebar */
  .blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  
  .sidebar-widget {
    background-color: var(--light-dark);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .widget-title {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    display: inline-block;
  }
  
  .widget-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
  }
  
  /* Search Widget */
  .search-form {
    display: flex;
    position: relative;
  }
  
  
  
  .search-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
  }
  
  .search-form button:hover {
    background-color: var(--primary-dark);
  }
  
  /* Categories Widget */
  .categories-list li {
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
  }
  
  .categories-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .categories-list a {
    display: flex;
    justify-content: space-between;
    color: var(--gray-color);
    transition: var(--transition);
  }
  
  .categories-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
  }
  
  .categories-list span {
    color: var(--primary-color);
    font-size: 0.8rem;
  }
  
  /* Popular Posts Widget */
  .popular-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .popular-post {
    display: flex;
    gap: 15px;
  }
  
  .popular-post-image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
  }
  
  .popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .popular-post-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
  }
  
  .popular-post-content h4 a {
    color: var(--white);
    transition: var(--transition);
  }
  
  .popular-post-content h4 a:hover {
    color: var(--primary-color);
  }
  
  .popular-post-content .post-date {
    font-size: 0.8rem;
    color: var(--gray-color);
  }
  
  /* Tags Widget */
  .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .tags-list a {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--dark-color);
    color: var(--gray-color);
    border-radius: 20px;
    font-size: 0.8rem;
    transition: var(--transition);
  }
  
  .tags-list a:hover {
    background-color: var(--primary-color);
    color: var(--white);
  }
  
  /* Newsletter Widget */
  .newsletter-widget p {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-size: 0.95rem;
  }
  
  .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .newsletter-form input {
    padding: 12px 15px;
    /* background-color: var(--dark-color); */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--white);
    font-size: 0.9rem;
  }
  
  .newsletter-form .btn {
    width: 100%;
  }
  
  /* Responsive Blog Styles */
  @media (max-width: 992px) {
    .blog-grid {
      grid-template-columns: 1fr;
    }
  
    .regular-posts {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .featured-post .post-image {
      height: 300px;
    }
  
    .post-meta {
      flex-direction: column;
      gap: 10px;
    }
  }
  
  @media (max-width: 576px) {
    .featured-post .post-image {
      height: 200px;
    }
  
    .featured-post .post-content {
      padding: 20px;
    }
  
    .featured-post .post-title {
      font-size: 1.5rem;
    }
  
    .regular-posts {
      grid-template-columns: 1fr;
    }
  }

  .logo img {
    height: 80px;
    width: 230px;
  }


  .navbar > .container {
/* 
    padding-top: 1rem; */
    text-align: center;
  }


  .blog-hero-content{

    text-align: center;
    padding-top: 1rem;
  }




  




/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background-color: white;
  border-radius: 16px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.popup-content{

  margin: auto;
  position: relative;
  top: 3rem;

}

.popup-overlay.active .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.popup-close:hover {
  background-color: #e2e8f0;
}

.popup-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.popup-body {
  padding: 30px;
}

.popup-tag {
  display: inline-block;
  background-color: #f5f7fa;
  color: #2d3748;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.popup-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 20px;
  line-height: 1.2;
}

.popup-meta {
  display: flex;
  align-items: center;
  color: #718096;
  font-size: 14px;
  margin-bottom: 24px;
}

.popup-date {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.popup-read-time {
  display: flex;
  align-items: center;
}

.popup-description {
  color: #4a5568;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.popup-content-details p {
  margin-bottom: 20px;
  color: #4a5568;
  font-size: 16px;
  line-height: 1.8;
}

.popup-content-details h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1a202c;
  margin: 30px 0 15px;
}


/* Responsive adjustments */
@media (max-width: 768px) {
 
  
  .popup-title {
      font-size: 24px;
  }
  
  .popup-body {
      padding: 20px;
  }
}