/*
*
* Theme : SMMSUN V2 - Blog Page Styles
* Theme Author : Yunus
* Theme Designed By: Fexpink Limited
*
*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --title-font: "Nohemi", sans-serif;
  --text-font: "Poppins", sans-serif;
  --primary-color: #0099ff;
  --primary-hover: #1b7eac;
  --primary-gradient: linear-gradient(180deg, #09f 0%, #007ed1 100%);
  --black-title: #12171e;
  --black-p: #707070;
  --white: #ffffff;
  --footer-bg: #001324;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fcfcfc;
  font-family: var(--text-font);
  font-size: 18px;
  color: var(--black-p);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--title-font);
  color: #000;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.text-black {
  color: var(--black-title);
}

.link {
  color: var(--primary-color) !important;
  text-decoration: none;
  transition: 0.5s ease;
}

.link:hover {
  color: var(--primary-hover) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

/* ===== Container ===== */
.container {
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* ===== Buttons ===== */
.btn {
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--white);
}

.btn-nav {
  font-size: 18px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--primary-gradient);
  color: var(--white);
  border: none;
  transition: 0.5s ease-in-out;
}

.btn-nav:hover {
  color: var(--white);
  transform: scale(1.02);
}

/* ===== Header ===== */
header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar {
  padding: 3px 0px;
}

.navbar .navbar-brand .nav-logo {
  max-width: 220px;
}

.nav-item .nav-link {
  color: var(--black-p);
  font-weight: 400;
  cursor: pointer;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
  color: var(--black-title);
}

.navbar-toggler {
  border: none;
  padding: 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-toggler-icon::before {
  content: '\f0c9';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 24px;
  color: var(--black-title);
}

/* ===== Blog Page ===== */
#blog__wrap {
  margin-bottom: 50px;
  padding: 60px 0;
}

.blog__card {
  border-radius: 10px;
  border-color: #eaeaea;
  box-shadow: 0 0 10px #f1f1f1;
  background: var(--white);
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

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

.blog__card .card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog__card .card-body {
  padding: 20px;
}

.blog__card .card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--black-title);
  line-height: 1.2;
  letter-spacing: 1px;
  margin-bottom: 10px;
  transition: 0.3s ease;
}

.blog__card:hover .card-title {
  color: var(--primary-color);
}

.blog__card .card-text {
  font-family: var(--text-font) !important;
  font-size: 14px !important;
  color: var(--black-p);
  line-height: 1.6;
  margin-bottom: 15px;
}

.blog__card .card-text > * {
  font-family: var(--text-font) !important;
  font-size: 14px !important;
  color: var(--black-p);
}

.blog__card .blog-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: var(--black-p);
  margin-bottom: 15px;
}

.blog__card .blog-meta i {
  margin-right: 5px;
}

.btn-sm {
  padding: 10px 10px;
  height: auto;
  min-width: 130px;
  font-size: 16px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 8px;
}

.btn-sm:hover {
  background: var(--primary-hover);
  color: var(--white);
}

/* ===== Blog Sidebar ===== */
.blog-sidebar {
  background: var(--white);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 0 10px #f1f1f1;
}

.blog-sidebar h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--black-title);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.blog-sidebar .category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar .category-list li {
  margin-bottom: 10px;
}

.blog-sidebar .category-list li a {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  background: #f8f9fa;
  border-radius: 8px;
  color: var(--black-p);
  transition: 0.3s ease;
}

.blog-sidebar .category-list li a:hover {
  background: var(--primary-color);
  color: var(--white);
}

.blog-sidebar .recent-posts .recent-post-item {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.blog-sidebar .recent-posts .recent-post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.blog-sidebar .recent-posts .recent-post-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.blog-sidebar .recent-posts .recent-post-item h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--black-title);
  line-height: 1.4;
  margin-bottom: 5px;
}

.blog-sidebar .recent-posts .recent-post-item span {
  font-size: 12px;
  color: var(--black-p);
}

/* ===== Blog Search ===== */
.blog-search {
  display: flex;
  gap: 10px;
}

.blog-search .form-control {
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 14px;
}

.blog-search .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: none;
}

.blog-search .btn {
  background: var(--primary-color);
  color: var(--white);
  border-radius: 8px;
  padding: 10px 20px;
}

.blog-search .btn:hover {
  background: var(--primary-hover);
}

/* ===== Blog Tags ===== */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-tags a {
  padding: 8px 15px;
  background: #f8f9fa;
  border-radius: 20px;
  font-size: 13px;
  color: var(--black-p);
  transition: 0.3s ease;
}

.blog-tags a:hover {
  background: var(--primary-color);
  color: var(--white);
}



/* ===== Responsive ===== */
@media (max-width: 991px) {
  .blog-sidebar {
    margin-top: 30px;
  }
  
  footer {
    padding: 50px 0 20px;
  }
  
  .footer_link_wrap,
  .footer_main_info {
    margin-bottom: 30px;
  }
  
  footer {
    text-align: center;
  }
  
  .social_media_links {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  #blog__wrap {
    padding: 40px 0;
  }
  
  .blog__card .card-img-top {
    height: 180px;
  }
  
  .blog__card .card-title {
    font-size: 18px;
  }
  
  .blog__card .blog-meta {
    flex-direction: column;
    gap: 5px;
  }
  
  .navbar .navbar-brand .nav-logo {
    width: 170px;
  }
  
  .btn-nav {
    font-size: 14px;
    padding: 8px 15px;
  }
}

@media (max-width: 575px) {
  .blog__card .card-img-top {
    height: 150px;
  }
  
  .blog-search {
    flex-direction: column;
  }
  
  .blog-tags {
    justify-content: center;
  }
  
  .blog-sidebar .recent-posts .recent-post-item {
    flex-direction: column;
  }
  
  .blog-sidebar .recent-posts .recent-post-item img {
    width: 100%;
    height: 150px;
  }
}

.footer_menu li {
    margin-bottom: -15px;
}

/* Horizontal Social Bar */
.social-bar {
    display: flex;
    justify-content: center; 
    gap: 5px;
    margin: 20px 0; 
}

.social-sidebar {
  display: flex;
  gap: 10px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%; /* Circle */
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Colors for each social media */
.social-icon.facebook { background: #1877f2; }
.social-icon.instagram { background: #e1306c; }
.social-icon.x { background: #1da1f2; }
.social-icon.youtube { background: #ff0000; }
.social-icon.linkedin { background: #0077b5; }
.social-icon.pinterest { background: #bd081c; }
.social-icon.telegram { background: #0088cc; }

/* Hover effect */
.social-icon:hover {
    transform: scale(1.2);
    opacity: 0.85;
}

.navbar-brand {
  width: 200px;
}

