:root {
  --purple: #7c3aed;
  --pink: #ec4899;
  --black: #111;
  --gray: #6b7280;
  --border: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', Arial, sans-serif;
}

body {
  background: #ffffff;
  color: var(--black);
  line-height: 1.6;
}

/* =========================
   NAVBAR
========================= */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 55px;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

nav ul a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
  transition: 0.3s ease;
  position: relative;
}

nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #5B1166;
  transition: 0.3s ease;
}

nav ul a:hover::after,
nav ul a.active::after {
  width: 100%;
}

nav ul a:hover,
nav ul a.active {
  color: #5B1166;
}

/* =========================
   BUTTONS
========================= */
.primary-btn,
.nav-btn {
  background: #5B1166;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s ease;
  display: inline-block;
}

.primary-btn:hover,
.nav-btn:hover {
  background: #430c4b;
  transform: translateY(-2px);
}

/* =========================
   HAMBURGER MENU
========================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: #5B1166;
  border-radius: 3px;
}

/* =========================
   MOBILE NAV
========================= */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav ul {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 20px;
    padding: 20px 8%;
    display: none;
    border-bottom: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  }

  nav ul.active {
    display: flex;
  }

  .nav-btn {
    display: none;
  }
}

/* =========================
   BLOG HEADER
========================= */
.blog-header {
  text-align: center;
  padding: 120px 20px 40px;
}

.blog-header h1 {
  font-size: 40px;
  font-weight: 700;
}

.blog-header p {
  color: var(--gray);
  margin-top: 8px;
}

/* =========================
   SEARCH BOX
========================= */
.search-box {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.search-box input {
  width: 320px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
}

.search-box input:focus {
  border-color: var(--purple);
}

/* =========================
   BLOG GRID
========================= */
.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  padding: 40px 6% 60px;
}

/* =========================
   BLOG CARD (FIXED)
========================= */
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.blog-card h2 {
  font-size: 18px;
  margin-top: 12px;
  padding: 0 16px;
}

.blog-card p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 16px;
  padding: 0 16px;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.15);
}

/* =========================
   CTA SECTION
========================= */
.cta-section {
  text-align: center;
  padding: 60px 20px;
}

.cta-box {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  padding: 50px 20px;
  border-radius: 12px;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #111;
  color: white;
  padding: 50px 6% 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin: 6px 0;
}

.footer a:hover {
  color: var(--purple);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #222;
  color: #aaa;
  font-size: 13px;
}

/* =========================
   WHATSAPP BUTTON
========================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 14px;
  border-radius: 50%;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* =========================
   BLOG POST PAGE
========================= */
.blog-post {
  max-width: 900px;
  margin: 90px auto;
  padding: 0 20px;
}

.blog-post h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.blog-post p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 20px;
  color: #333;
}

.hero-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 30px;
}

.blog-post figure {
  margin: 30px 0;
}

.blog-post figure img {
  width: 100%;
  border-radius: 12px;
}

.blog-post figcaption {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-top: 8px;
}

/* =========================
   PODCAST
========================= */
.podcast-section {
  margin-top: 40px;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 12px;
  text-align: center;
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 768px) {
  .blog-header h1 {
    font-size: 28px;
  }

  .blog-container {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .hero-image {
    height: 260px;
  }

  .search-box input {
    width: 90%;
  }
}