/* General Styles */
:root {
    --primary-color: #FDF0E9; /* Ivory */
    --secondary-color: #F5C6D8; /* Blush Pink */
    --accent-color: #333333; /* Soft Black */
    --text-color: #333333; /* Soft Gray */
    --header-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --body-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --highlight: #F5C6D8;
    --card-bg: #fff;
    --card-shadow: 0 6px 36px rgba(245, 198, 216, 0.16), 0 1.5px 8px rgba(51,51,51,0.04);
    --radius: 1.2rem;
    --category-bg: #fbe7ef;
    --category-text: #b04a7d;
    --top-card-bg: #f8e2ed;
    --top-card-border: #e6b7ce;
    --dark:#330808;
    --action:#b04a7d;
    --background:#f1eee9;

}


.logo img {
      height: 70px;
}
.btn-action{
  background-color: var(--category-bg)!important;
  color: var(--dark)!important;
}
.btn-redirect{
  color: #fff !important;
  background-color: var(--dark)!important;
}

/* Blog Page Layout */
.blog-page {
  padding-bottom: 3rem;
}
.blog-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}
.blog-title {
  color: var(--dark);
      font-family: var(--header-font);
    font-size: 1.5rem;
}
.blog-title a{
    color: var(--dark)!important;

}
.blog-subtitle {
  color: var(--text-color);
  font-size: 1rem;
  margin-bottom: 2rem;
}
.blog-search-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.blog-search-filter input,
.blog-search-filter select {
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgb(172, 171, 171);
  font-size: 1rem;
  background: #fff;
 
  color: var(--action);
  outline: none;
}

.section-title {
  font-family: var(--header-font);
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1.2rem;
  text-align: left;
}

/* Blog Cards */
.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.blog-card, .top-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.blog-card:hover, .top-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 40px rgba(51,51,51,0.10), 0 2px 10px rgba(245,198,216,0.08);
}
.blog-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
.blog-card-content {
  padding: 1.2rem 1.4rem 1.4rem 1.4rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}
.blog-date {
  font-size: 0.95rem;
  color: #a08e9b;
}
.blog-category {
  background: var(--category-bg);
  color: var(--category-text);
  font-size: 0.9rem;
  padding: 0.2rem 0.7rem;
  border-radius: 1rem;
  margin-right: 0.3rem;
  font-weight: 500;
}
.blog-excerpt {
  color: var(--text-color);
  font-size: 1.08rem;
  margin: 0.6rem 0 1rem 0;
}
.read-more {
  color: var(--dark);
  border-radius: 2rem;
  font-size: 1rem;
  text-decoration: none;
  align-self: flex-start;
}
.read-more:hover {
  color: var(--category-text);
}

/* Top Posts */
.top-posts-section {
  margin-bottom: 2.5rem;
}
.top-posts {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-start;
      width: 90%;
    margin: 0 auto;
}
.top-card {
  /* border: 2px solid var(--top-card-border); */
  background: var(--top-card-bg);
  max-width: 400px;
  min-width: 320px;
}

/* Post Page Layout */
.post-page {
  background: var(--background);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 80vh;
  padding-bottom: 3rem;
}
.post-content h2{
  font-family: var(--header-font);
  font-size: 1.8rem;
  font-weight: 700;
    letter-spacing: 0.4px;
}
code{
  background-color:  #e6e1e182
!important ;
}
.post-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  width: 100%;
  margin: 2rem auto;
  padding: 2.5rem 2rem ;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.post-featured-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.post-header {
  text-align: center;
  margin-bottom: 2.2rem;
  width: 110%;
}
.post-title {
  font-family: var(--header-font);
  font-size: 2.0rem;
  color: var(--accent-color);
  margin: 0.5rem;
  font-weight: 700; letter-spacing: 0.4px;
}
.post-meta {
  margin-bottom: 0.7rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.post-content h2{
  font-size: 1.8rem;
}

.post-category {
  background: var(--category-bg);
  color: var(--category-text);
  font-size: 12px;
  padding: 0.2rem 0.8rem;
  border-radius: 1rem;
  margin-right: 0.2rem;
  font-weight: 500;
}
.post-content {
  width: 100%;
  color: var(--text-color);
  font-size: 1.13rem;
  line-height: 1.8;
  margin-top: 1.2rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .blog-posts, .top-posts {
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 1.5rem;
  }
  .post-card {
    padding: 1.2rem 0.5rem;
  }
}
@media (max-width: 600px) {
  .blog-hero, .blog-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .post-title {
    font-size: 1.2rem;
  }
}

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

html ,body {
   margin: 0;
  padding: 0;
  overflow-x: hidden;  
  max-width: 100vw; 
    font-family: var(--body-font);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2 {
    font-family: var(--header-font);
    color: var(--accent-color);
}

a {
    text-decoration: none!important;
    color: var(--accent-color);
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #f1eee9!important;
    z-index: 1000;
    padding: 1rem 5%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--header-font);
    font-size: 1.5rem;
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--secondary-color);
}




.services {
  padding: 60px 20px;
  background-color: var(--background);
  font-family: 'Segoe UI', sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.row {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.service-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 24px;
  flex: 1 1 calc(20% - 1rem);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 250px;
}
.service-card i{
  font-size: 16px;
  color: var(--dark);
  background-color: var(--background);
  padding: 20px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background-color: var(--category-bg);
}

.service-title {
  display: block;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
  /* font-size: 0.95rem;
  color: #333; */
  line-height: 1.5;
   max-width: 700px;
  margin: 0 auto 2rem;
    color: #6B7280 ;
  font-size: 16px!important;
}
.service-icon {
  font-size: 1.3rem;
  color: #FF6600;
  margin-bottom: 12px;
  display: inline-block;
}
.space{
      height: 150px;
    background: #f8f7f2;
}
.white-wave{
  margin-top: -235px;
}
.about{
  padding: 60px 20px;
}
.about-container{
 display: flex;
    width: 850px;
    justify-content: space-between;
    margin: 0 auto;
}
.about-img{
  width: 50%;

}
.about-img img{
  width: 380px;
}
.about-desc{
    width: 50%;
}
.blog-intro{
  text-align: end;
   width: 80%;
   margin: 5% auto;
}
 p{
  color: var(--text);
}
.scroll-down {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  padding-bottom: 2rem;
}

.scroll-hint {
  text-align: center;
  animation: fadeIn 2s ease-in;
}

.scroll-hint img {
  width: 200px;
    height: auto;
    margin-bottom: 0.1rem;
}

.scroll-hint p {
  font-size: 0.7rem;
  color: #666;
  font-style: italic;
}
.accent{
  color: var(--category-text);
}


/* O
.nly remove bullets for nav lists */
nav li {
list-style: none;
}


.hero{
   background-color: #f1eee9!important;

}
body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--dark);
  transition: var(--transition);
}
.intro{
  display: flex;
  justify-content: space-between

}
.intro-text{
  text-align: start;
}
.circle-container{
  align-items: end;
    width: 400px;
  height: 280px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);

}
.circle-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.circle-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

.blob1 {
  z-index: 1;
  transform: scale(1.2) translate(15px, -5px);
  -webkit-transform: scale(1.2) translate(15px, -5px);
  -moz-transform: scale(1.2) translate(15px, -5px);
  -ms-transform: scale(1.2) translate(15px, -5px);
  -o-transform: scale(1.2) translate(15px, -5px);
}

.blob2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  transform: scale(1.1) translate(-5px, -10px);
  -webkit-transform: scale(1.1) translate(-5px, -10px);
  -moz-transform: scale(1.1) translate(-5px, -10px);
  -ms-transform: scale(1.1) translate(-5px, -10px);
  -o-transform: scale(1.1) translate(-5px, -10px);
}


.profile {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(1.1); /* centers + enlarges */
  z-index: 3;
      width: 289px;/* smaller than blob so it pops */
  border-radius: 20px; /* optional for soft corners */
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.2); */
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: orangered;
}





/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  background-color: #f8f7f2;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}


.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0px;
 /* font-family: "Ancizar Serif", serif; */
  font-optical-sizing: auto;
  letter-spacing: .1px;
  font-weight: 700;
  font-size:16px;
  color: black;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-weight: 400;
  color: #330808;
  position: relative;
  letter-spacing: 1px;
  text-transform: uppercase;
}


.nav-links a:hover {
  color: var(--category-text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--dark)!important;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 2rem;
    color: #6B7280 ;
  font-size: 16px!important;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--rounded);
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--action);
  color: white;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Blog Section */
/* .section {
  padding: 4rem 0;
} */

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: white;
  border-radius: var(--rounded-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.blog-card-content {
  padding: 1.5rem;
}

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

.blog-card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background-color: var(--light-gray);
  border-radius: var(--rounded);
  font-size: 0.75rem;
  color: var(--dark);
}

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

.blog-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.blog-card-excerpt {
  color: var(--gray);
  margin-bottom: 1rem;
}

.read-more {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background-color: white;
  border-radius: var(--rounded-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.portfolio-card-content {
  padding: 1.5rem;
}

.portfolio-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.portfolio-card-desc {
  color: var(--gray);
  margin-bottom: 1rem;
}

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

/* Blog Post */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.blog-post-header {
  margin-bottom: 2rem;
  text-align: center;
}

.blog-post-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.blog-post-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gray);
}

.blog-post-tags {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.blog-post-content {
  line-height: 1.7;
}

.blog-post-content h2 {
  font-size: 1.75rem;
  margin: 2rem 0 1rem;
  line-height: 1.3;
}

.blog-post-content h3 {
  font-size: 1.5rem;
  margin: 1.75rem 0 1rem;
}

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

.blog-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--rounded);
  margin: 1.5rem 0;
}

.blog-post-content pre {
  background-color: #f6f8fa;
  border-radius: var(--rounded);
  padding: 1rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.blog-post-content code {
  font-family: var(--font-mono);
  background-color: #f6f8fa;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.9rem;
}

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

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

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

/* Footer */
footer {
  background-color: var(--accent-color);
  color: white;
  padding: 3rem 0;
  margin-top: -20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-col h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.footer-col p {
  margin-bottom: 1rem;
  color: #adb5bd;
}

.footer-links {
  list-style: none;
  padding: 0!important;
}

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

.footer-links a {
  color: #adb5bd;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 0.5rem;
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #adb5bd;
  font-size: 0.875rem;
}

/* Dark mode toggle */
.dark-mode-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  border: none;
  transition: var(--transition);
  
}

.dark-mode-toggle:hover {
  transform: scale(1.1);
}

/* Dark mode styles */
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

body.dark-mode header {
  background-color: #1e1e1e;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
}

body.dark-mode .logo,
body.dark-mode .nav-links a,
body.dark-mode .blog-card-title,
body.dark-mode .portfolio-card-title,
body.dark-mode .blog-post-title {
  color: #f5f5f5;
}

body.dark-mode .blog-card,
body.dark-mode .portfolio-card {
  background-color: #1e1e1e;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
}

body.dark-mode .blog-post-content pre {
  background-color: #2d2d2d;
}

body.dark-mode .blog-post-content code {
  background-color: #2d2d2d;
}

body.dark-mode .tag {
  background-color: #333;
  color: #f5f5f5;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100%;
    right: 0;
    width: 50%;
    padding: 1rem;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 999;

    /* Start hidden and off-screen */
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  }

  .nav-links.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .blog-post-title {
    font-size: 2rem;
  }

  body.dark-mode .nav-links {
    background-color: #1e1e1e;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

/* Loading state */
.loading {
  text-align: center;
  padding: 2rem;
  color: var(--gray);
}

:root {
  --clr-gray-light: #d7dfe2;
  --clr-gray-med: #616b74;
  --clr-gray-dark: #414b56;
  --clr-link: #4d97b2;
  --clr-popular: #ef257a;
  --clr-technology: #651fff;
  --clr-psychology: #e85808;
}

* {
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
}

body {
  margin: 2rem;
  color: var(--clr-gray-dark);
}

.wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start;
}



.card {
  flex: 1 1 30%;
  max-width: 30%;
  box-shadow: 0px 2px 20px var(--clr-gray-light);
  background: white;
  border-radius: 0.5rem;
  transition: 250ms all ease-in-out;
  cursor: pointer;
  margin-bottom: 2rem;
  border: none!important;
}




.card:hover {
  transform: scale(1.05);
  box-shadow: 0px 2px 40px var(--clr-gray-light);
}

.banner-img {
  object-fit: cover;
  height: 14rem;
  width: 100%;
}

.category-tag {
  font-size: 0.8rem;
  font-weight: bold;
  color: white;
  background: red;
  padding: 0.5rem 1.3rem 0.5rem 1rem;
  text-transform: uppercase;
  position: absolute;
  z-index: 1;
  top: 1rem;
  border-radius: 0 2rem 2rem 0;
}

.popular {
  background: var(--clr-popular);
}

.technology {
  background: var(--clr-technology);
}

.psychology {
  background: var(--clr-psychology);
}

.card-body {
  margin: 20px 10px;
  text-align: left;
  border: none!important;
}

.blog-hashtag {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
}

.blog-title {
  line-height: 1.5rem;
  margin: 1rem 0 0.5rem;
}

.blog-description {
  color: var(--clr-gray-med);
  font-size: 0.9rem;
}

.card-profile {
  display: flex;
  margin-top: 2rem;
  align-items: center;
}

.profile-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}

.card-profile-info {
  margin-left: 1rem;
}

.profile-name {
  font-size: 1rem;
}

.profile-followers {
  color: var(--clr-gray-med);
  font-size: 0.9rem;
}
/* Responsive tweak for mobile screens */
@media (max-width: 768px) {
  .wrapper {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 90%; /* Optional: keep it from touching the edges */
  }
}
