/* === FONT DECLARATIONS === */
@font-face {
  font-family: "Gochi Hand";
  src:
    url("/assets/fonts/GochiHand-Regular.woff2") format("woff2"),
    url("/assets/fonts/GochiHand-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src:
    url("/assets/fonts/Poppins-Regular.woff2") format("woff2"),
    url("/assets/fonts/Poppins-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-bold-webfont.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* === GLOBAL STRUCTURE === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/*
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

*/

/*

.front-page-body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  min-height: 600px;
}

@media (max-width: 600px) {
  .front-page-body {
    min-height: 400px;
  }
}
*/

.hero {
  position: relative;
  height: 100vh;
  background-image: url(/assets/images/attic-studio.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 0 5vw; /* Adds horizontal padding for small screens */
}

.hero-content-index {
  margin: 0;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  width: 100%;
  max-width: clamp(700px, 80vw, 1300px);
  text-align: center;
  z-index: 1;
}

.title-index {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: -1px;
  font-size: clamp(2em, 4vw, 3em);
  line-height: 1.1;
  margin-bottom: 20px;
}

.subtitle-index {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: clamp(1.2em, 2.5vw, 1.6em);
  line-height: 1.1;
}

/* Optional: fine-tune for very small screens */
/* Small devices (phones) */
@media (max-width: 480px) {
  .hero-content-index {
    padding: 30px 15px;
    border-radius: 20px;
  }

  .title-index {
    font-size: clamp(1.8em, 9vw, 3em);
  }

  .subtitle-index {
    font-size: clamp(1.2em, 7vw, 2.5em);
  }
}

/* Medium devices (tablets) */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-content-index {
    padding: 40px 20px;
    width: 90%;
  }

  .title-index {
    font-size: clamp(2em, 7vw, 3.5em);
  }

  .subtitle-index {
    font-size: clamp(1.5em, 6vw, 3em);
  }
}

/* Large devices (desktops) */
@media (min-width: 1200px) {
  .hero-content-index {
    max-width: 800px;
  }

  .title-index {
    font-size: clamp(2.5em, 6vw, 4em);
  }

  .subtitle-index {
    font-size: clamp(2em, 4vw, 2.5em);
  }
}

/* Landscape orientation on small devices (smartphones) */
@media screen and (max-height: 480px) and (orientation: landscape) {
  .hero {
    justify-content: flex-start; /* Push content down from top */
    padding-top: 120px; /* Adjust for header height */
  }

  .hero-content-index {
    width: 80%;
    padding: 20px 10px;
    margin-top: 20px;
    border-radius: 15px;
  }

  .title-index {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 0.5em;
  }

  .subtitle-index {
    font-size: clamp(1.2em, 4vw, 1.5em);
    margin-top: 0;
  }
}

/* === SEARCH BAR (CRITICAL) === */
/*
.search-bar {
  display: flex;
  border: 2px solid #ccc;
  border-radius: 30px;
  overflow: hidden;
}

.search-bar input {
  padding: 10px;
  border: none;
  outline: none;
  width: 100%;
  font-size: 16px;
}

.search-bar button {
  padding: 10px 20px;
  background-color: darkred;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  border-radius: 1px 30px 30px 1px;
}

.hero-content .search-bar {
  width: 35%;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
}
*/
.front-sections-headings {
  padding-top: 50px;
  padding-left: 50px;
  padding-right: 50px;
}

.categories-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-left: 50px;
  padding-right: 50px;
  margin-bottom: 90px;
  margin-top: 10px;
  min-height: 160px;
}

.categories-item {
  flex: 1 1 calc(16.66% - 20px);
  max-width: calc(16.66% - 20px);
  box-sizing: border-box;
  position: relative;
  text-align: center;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  min-height: calc(100px + 5px);
}

.categories-item img {
  aspect-ratio: 3 / 2;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  aspect-ratio: 3 / 2;
}

.categories-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-bottom: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
}

.categories-heading {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
  color: #333;
}

.categories-excerpt {
  font-size: 1rem;
  color: #666;
  margin: 10px 0 0;
}

.post-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding: 0 20px;
  margin-bottom: 90px;
  padding-left: 50px;
  padding-right: 50px;
  margin-top: 10px;
  min-height: calc(340px + 60px);
}

.post-item {
  flex: 1 1 calc(33.333% - 13.333px);
  max-width: calc(33.333% - 13.333px);
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 10px;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  aspect-ratio: 4 / 3; /* Ensures consistent height based on width */
}

.post-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.post-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 0 0 10px 10px;
  color: white;
}

.post-heading {
  font-size: 25px;
  font-weight: normal;
  margin: 0 0 10px;
}

.post-excerpt {
  font-size: 1rem;
  margin: 0;
}

@media (min-width: 601px) and (max-width: 1024px) {
  .post-container {
    padding-left: 30px;
    padding-right: 30px;
    gap: 20px;
  }

  .post-item {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .post-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
  }

  .post-info {
    padding: 12px;
  }

  .post-heading {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .post-excerpt {
    font-size: 1rem;
  }

  .post-category {
    font-size: 0.85rem;
    padding: 4px 8px;
  }
}

@media (max-width: 600px) {
  .post-item {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .post-item img {
    width: 100%;

    object-fit: cover;
  }

  .post-info {
    padding: 10px;
  }

  .post-heading {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .post-excerpt {
    font-size: 0.85rem;
  }

  .post-category {
    font-size: 0.75rem;
    padding: 3px 6px;
  }
}

@media (max-width: 480px) {
  .post-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 0 50px;
  margin-bottom: 90px;
  margin-top: 10px;
}

.grid-item {
  overflow: hidden;
  text-align: center;
  border-radius: 10px;
}

.grid-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.grid-info {
  margin-top: 15px;
}

.grid-heading {
  font-size: 20px;
  font-weight: normal;
  margin: 0;
  color: #333;
}

.grid-excerpt {
  font-size: 1rem;
  color: #666;
  margin-top: 10px;
}

.featured-index-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 50px;
  margin-top: 10px;
  margin-bottom: 150px;
  overflow: visible;
  min-height: 400px;
}

.featured-index-item {
  position: relative;
  flex: 1 1 calc(20% - 20px);
  max-width: calc(20% - 20px);
  border-radius: 10px !important;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 1;
  height: calc((100vw - 120px) / 5 * 0.75);
}

.featured-index-item img {
  aspect-ratio: 4/3;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.featured-index-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  max-height: 100%;
  transform: scale(0.95);
  border-radius: inherit;
}

.featured-index-title {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: clamp(18px, 5vw, 26px);
  font-weight: normal;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  max-width: 100%;
  line-height: 1.2;
}

.featured-index-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.featured-index-link img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.follow-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 15px;
}

.social-link {
  font-size: 25px;
  color: darkolivegreen;
}

.contact-container {
  margin-top: 100px;
}

.contact-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 50vh;
  width: 100%;
  margin-bottom: 100px;
}

.contact-email {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
}

.contact-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  font-size: 30px;
}

body {
  background-color: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.post-title-fullwidth {
  font-size: 70px;
  text-align: center;
  margin-top: 150px;
  margin-bottom: 100px;
  color: #333;
  width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.blog-subtitle {
  margin-bottom: 50px;
  font-size: 40px;
  font-weight: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.blog-post {
  flex: 14 1 0;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.post-meta {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content p {
  overflow-wrap: break-word;
  word-break: break-word;
}

.post-content h2 {
  font-size: 35px;
  padding-top: 40px;
  padding-bottom: 20px;
}

.post-content h3 {
  font-size: 25px;
  padding-top: 30px;
  padding-bottom: 20px;
}

.post-content h4 {
  font-size: 20px;
  padding-top: 30px;
  padding-bottom: 20px;
}

.post-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
  margin-left: 0;
  padding-left: 1rem;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.post-content ul li {
  margin-bottom: 0.75em;
}

.post-cta {
  background-color: lightgrey;
  padding: 1em;
  border-radius: 6px;
  margin-top: 2em;
}

.post-cta h2,
.post-cta p {
  color: darkred;
}

.post-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 10px;
  margin-bottom: 20px;
  height: auto;
  object-fit: cover;
}

/* PAGES — CRITICAL CSS */
.main-container {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 80px;
  font-size: 20px;
  min-height: 600px;
}

@media (max-width: 600px) {
  .main-container {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 18px;
  }
}

.title-fullwidth,
.title-fullwidth-pages {
  font-size: 70px;
  text-align: center;
  color: #333;
  width: 100%;
  margin-bottom: 30px;
}

.title-fullwidth {
  margin-top: 80px;
}

.title-fullwidth-pages {
  margin-top: 150px;
}

@media (max-width: 600px) {
  .title-fullwidth-pages {
    font-size: 50px;
    margin-top: 100px;
  }
}

.pages-subtitle {
  margin-bottom: 0px;
  font-size: 40px;
  font-weight: normal;
  text-align: center;
}

body {
  font-family: Arial, sans-serif;
}

.about-intro {
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

.about-tagline {
  text-align: center;
  font-weight: 400;
  color: #3a3a3a;
  padding: 20px 20px;
  margin: 0.8rem auto 2rem auto;
  max-width: 650px;
  line-height: 1.55;
  letter-spacing: 0.2px;

  /* Stronger centre, fading edges */
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(
      to right,
      transparent,
      #b5b5b5 25%,
      darkred 50%,
      #b5b5b5 75%,
      transparent
    )
    1;
}

.provide-label {
  text-align: center;
  font-style: italic;
  font-size: 15px;
  color: #555;
  margin: 0.8rem 0 0.4rem 0;
  margin-top: 40px;
}

.services-tagline {
  /* identical to .about-tagline */
  text-align: center;
  font-weight: 400;
  color: #3a3a3a;
  padding: 20px 20px;
  margin: 0.8rem auto 2rem auto;
  max-width: 750px;
  line-height: 1.55;
  letter-spacing: 0.2px;

  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(
      to right,
      transparent,
      #b5b5b5 25%,
      darkred 50%,
      #b5b5b5 75%,
      transparent
    )
    1;
}

.about-why {
  font-style: italic;
  margin-top: 1.8rem;
  margin-bottom: 2.2rem;
  font-size: 0.95em;
  letter-spacing: 0.3px;
  color: #555;
}

.why-work-with-me {
  margin-top: 70px;
  padding: 50px 40px;
  background: linear-gradient(
    135deg,
    rgba(225, 225, 225, 0.4) 0%,
    rgba(255, 255, 255, 0.85) 60%
  );
  border-radius: 18px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(178, 34, 34, 0.15); /* subtle dark red border */
  position: relative;
}

.why-work-with-me::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(
    circle at top left,
    rgba(178, 34, 34, 0.08),
    /* soft dark red glow */ transparent 70%
  );
  pointer-events: none;
}

.why-work-with-me h3 {
  font-size: 26px;
  margin-bottom: 25px;
  color: #b22222; /* dark red heading */
  text-align: center;
  letter-spacing: 0.5px;
}

.services-why {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------- */
/* SERVICES GRID (unused) */
/* ---------------------- */
.services-container {
  display: none;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 20px;
  margin: 60px 0 20px;
}

.services-link {
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 1 1 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
}

.services-item {
  position: relative;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  z-index: 1;
}

.services-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.services-title {
  background-color: rgba(255, 255, 255, 0.8);
  color: black;
  font-size: 22px;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 5px;
}

/* ---------------------- */
/* TABS                   */
/* ---------------------- */
.tab-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 8px;
  padding-bottom: 5px;
}

.tab {
  padding: 10px 15px;
  cursor: pointer;
  border: 1px solid #ccc;
  border-bottom: none;
  background: #f9f9f9;
  border-radius: 30px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.tab:hover {
  background: #eee;
}

.tab.active {
  background: #fff;
  font-weight: bold;
  border-top: 2px solid darkred;
  color: darkred;
}

/* ---------------------- */
/* TAB CONTENT            */
/* ---------------------- */
.tab-content {
  border: 1px solid #ccc;
  padding: 20px;
  display: none;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  font-size: 1em;
  line-height: 1.6;
}

.tab-content.active {
  display: block;
}

.tab-content h2,
.tab-content h3 {
  font-size: 1.2em;
  margin-top: 15px;
  margin-bottom: 5px;
  color: #333;
}

.tab-content p {
  margin-bottom: 15px;
}

/* ---------------------- */
/* TABLES                 */
/* ---------------------- */
.tab-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
}

.tab-content th,
.tab-content td {
  border: 1px solid #ccc;
  padding: 10px;
}

.tab-content thead tr {
  background-color: darkgoldenrod;
  color: #fff;
}

.tab-content tbody td:first-child {
  background-color: #f2f2f2;
  font-weight: 500;
  text-align: left;
}

/* Make tables scrollable on mobile */
@media (max-width: 600px) {
  .tab-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .tab-content th,
  .tab-content td {
    padding: 8px;
    font-size: 0.9em;
  }
}

/* ---------------------- */
/* RESPONSIVE ADJUSTMENTS */
/* ---------------------- */
@media (max-width: 768px) {
  .services-link {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .services-title {
    font-size: 20px;
  }

  .tab {
    font-size: 0.9em;
    padding: 8px 12px;
  }

  .tab-content {
    font-size: 0.95em;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  h2.title-fullwidth-pages {
    font-size: 1.3em;
    text-align: center;
  }

  .tab-container {
    justify-content: flex-start;
  }

  .tab {
    font-size: 0.85em;
    padding: 6px 10px;
  }

  .tab-content h2,
  .tab-content h3 {
    font-size: 1.05em;
  }

  .tab-content p {
    font-size: 0.9em;
  }
}

/* Notes */
.note {
  font-size: 0.9em;
  font-style: italic;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-responsive table {
  width: 100%;
  min-width: 600px; /* prevents squishing */
}

/* CATEGORIES — CRITICAL CSS */
.hero-category-tech,
.hero-category-podcast,
.hero-category-travels,
.hero-category-digital,
.hero-category-mindset,
.hero-category-stories {
  display: flex;
  align-items: center; /* Vertically center */
  justify-content: center; /* Horizontally center */
  flex-direction: column; /* Stack content vertically */
  padding-top: 100px;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  box-sizing: border-box;
  aspect-ratio: 16 / 9;
}

.hero-category-tech::before,
.hero-category-podcast::before,
.hero-category-travels::before,
.hero-category-digital::before,
.hero-category-mindset::before,
.hero-category-stories::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: -1px;
  font-size: clamp(2.5em, 8vw, 4em);
}

.subtitle {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: clamp(2.5em, 5vw, 3.125em);
}

.hero-content {
  margin: 0;
  padding: 50px 20px 50px;
  background-color: rgba(252, 252, 252, 0.1);
  border-radius: 30px;
  max-width: 90%;
  width: 70%;
  text-align: center;
  z-index: 1;
}
/*
.search-bar {
  display: flex;
  border: 2px solid #ccc;
  border-radius: 30px;
  overflow: hidden;
}

.search-bar input {
  padding: 10px;
  border: none;
  outline: none;
  width: 100%;
  font-size: 16px;
}

.search-bar button {
  padding: 10px 20px;
  background-color: darkred;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  border-radius: 1px 30px 30px 1px;
}
*/
.hero-category-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000000;
  text-align: center;
  z-index: 3;
  line-height: 1.5;
  max-width: 90%;
  width: 70%;
  padding-top: 50px;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.8);
  padding-bottom: 80px;
}

.hero-category-content h1,
.hero-category-content p {
  margin: 0;
}

.hero-category-content h1 {
  margin-bottom: 5px;
}

.hero-category-content p {
  margin-top: 5px;
}

section {
  padding-top: 80px;
  padding-bottom: 80px;
  z-index: -1;
}

@media (max-width: 768px) {
  .hero-category-tech,
  .hero-category-podcast,
  .hero-category-travels,
  .hero-category-digital,
  .hero-category-mindset,
  .hero-category-stories {
    aspect-ratio: auto; /* Remove fixed aspect ratio */
    min-height: 80vh;
    text-align: center;
  }

  .hero-content {
    width: 90%;
    max-width: 500px;
    z-index: 1;
  }

  .hero-content .title {
    font-size: 3rem;
  }

  .hero-content .subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .arrow-container {
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .hero-category-tech,
  .hero-category-podcast,
  .hero-category-travels,
  .hero-category-digital,
  .hero-category-mindset,
  .hero-category-stories {
    min-height: 70vh;
  }

  .hero-content {
    width: 95%;
    max-width: 400px;
  }

  .hero-content .title {
    font-size: 2.5rem;
  }

  .hero-content .subtitle {
    font-size: 1rem;
  }

  .arrow-container {
    margin-top: 15px;
  }
}

/* CRITICAL CSS */

/* POST-CARD CONTAINER */
.post-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
  padding: 0 50px;
  margin-bottom: 40px;
  margin-top: 20px;
}

.post-card-item {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  box-sizing: border-box;
  position: relative;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  background-color: rgba(199, 199, 199, 0.6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.post-card-item img {
  width: 100%;
  height: 180px;
  display: block;
  border-radius: 10px 10px 0 0;
  object-fit: cover;
}

.post-card-info {
  padding: 5px;
}

.post-card-heading {
  font-size: 1.1rem;
  font-weight: normal;
  color: rgb(0, 0, 32);
  margin: 0;
}

.post-card-heading a {
  color: darkblue;
  text-decoration: underline;

  font-weight: normal;
}

.post-card-excerpt {
  font-size: 0.95rem;
  color: #444444;
  margin-top: 8px;
}

.post-card-meta {
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: #444444;
}

/* GRID CONTAINER (FEATURED POSTS) */
.featured-posts {
  padding-top: 30px;
  padding-bottom: 90px;
}

.fe-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 50px 5vw;
  margin-bottom: 100px;
  box-sizing: border-box;
  width: 100%;
}

.fe-grid-item {
  overflow: hidden;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
  background-color: white;
}

.fe-grid-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;

  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
}

.fe-grid-info {
  margin-top: 15px;
}

.fe-grid-heading {
  font-size: 20px;
  font-weight: normal;
  margin: 0;
  color: #333;
  padding: 0px 20px 20px 20px;
}

.fe-grid-excerpt {
  font-size: 1rem;
  color: #666;
  margin-top: 10px;
  padding: 0px 20px 20px 20px;
}

/* SUBSCRIBE — CRITICAL CSS */
.subscription-widget {
  text-align: center;
  margin: 100px 0;
}

.subscription-divider {
  background-color: rgba(225, 225, 225, 0.4);

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  padding-top: 70px;
  padding-bottom: 70px;
  overflow: hidden;
  margin: 100px 0;
}

.subscription-widget h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.subscription-widget form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.subscription-widget input[type="email"] {
  padding: 10px;
  font-size: 1rem;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border: 1px solid #ccc;
  width: 310px;
}

.subscription-widget button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: darkred;
  color: white;
  border: 1px solid #ccc;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  cursor: pointer;
}

/* SUBSCRIBE FORM — CRITICAL CSS */
.subscribe-form-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.subscribe-form-container {
  background-color: white;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 2px 2px 8px 2px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
}

.subscribe-form-container h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.subscribe-form label {
  font-size: 1rem;
  color: #333;
  margin-bottom: 5px;
}

.subscribe-form input,
.subscribe-form textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  width: 100%;
}

.subscribe-form input:focus,
.subscribe-form textarea:focus {
  border-color: #2e2e2e;
}

.subscribe-form button {
  padding: 12px 20px;
  font-size: 1rem;
  color: white;
  background-color: darkred;
  border: none;
  border-radius: 6px;
  cursor: pointer;

  width: 100%;
}

/* CONTACT PAGE — CRITICAL CSS */
.main-container-contact {
  padding-top: 80px;
  padding-bottom: 100px;
  min-height: 600px;
}

/* CONTACT FORM — CRITICAL CSS */
.contact-form-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.contact-form-container {
  background-color: white;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 2px 2px 8px 2px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
}

.contact-form-container h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-size: 1rem;
  color: #333;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2e2e2e;
}

.contact-form button {
  padding: 12px 20px;
  font-size: 1rem;
  color: white;
  background-color: darkred;
  border: none;
  border-radius: 6px;
  cursor: pointer;

  width: 100%;
}

.whatsapp-button {
  display: inline-block;
  background-color: darkred;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: normal;
  font-size: 20px;
  font-family: "Gochi Hand", cursive;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  text-align: center;
}

.whatsapp-button:hover {
  background-color: #a00000; /* slightly lighter red on hover */
  color: white;
}

/* CRITICAL CSS */
.donate-button,
.hire-me-button,
.podcast-button {
  margin-top: 30px;
  padding: 10px 20px;
  font-size: 20px;
  background-color: darkred;
  color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  cursor: pointer;
  font-family: "Gochi Hand", "Poppins", sans-serif;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.podcast-link {
  text-align: center;
}

.podcast-button {
  display: block;
  margin: 0 auto;
  margin-top: 20px;
}

.paypal-categories {
  position: relative;
  display: block;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 100px;
  padding-bottom: 100px;
}

.right-aligned {
  display: block;
  text-align: right !important;
}

.category-post-content {
  margin-top: 0;
}

.hidden {
  display: none;
}

.no-posts {
  text-align: center;
  color: darkgreen;
  margin-top: 80px;
  margin-bottom: 80px;
}

/* CRITICAL CSS */
.styled-text::first-letter {
  font-size: 2em;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
}

.paragraph-divider {
  background-color: rgba(225, 225, 225, 0.4);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 70px 20px;
  margin-top: 100px;
  margin-bottom: 100px;
  overflow: hidden;
}

.inner-content {
  max-width: 800px;
  margin: 0 auto;
}

.letter-container {
  background-color: #f9f9f9;
  padding: 60px 20px;
  margin: 100px 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.letter-inner {
  max-width: 700px;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  background: #fff;
  padding: 50px;
  border: 1px solid #ddd;
}

.letter-greeting {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.letter-signoff {
  margin: 0 auto;
  font-style: italic;
}

/* PRICING — CRITICAL CSS */
.pricing-section {
  padding: 50px 30px;
  max-width: 800px;
  margin: auto;
  font-family: "Poppins", sans-serif;
  color: #333;
}

.light-bg {
  background-color: #f9f9f9;
  padding: 3rem 3rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  width: 100%;
}

.pricing-section h2,
.pricing-section h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.5rem;
  overflow-x: auto;
  display: block;
}

.pricing-table th,
.pricing-table td {
  border: 1px solid #ccc;
  padding: 1.25rem;
  text-align: left;
  vertical-align: top;
}

.pricing-table th {
  background-color: #efefef;
}

.add-ons,
.revisions {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.discovery-call {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: darkred;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: normal;
  margin-top: 1rem;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;
}

.cta-button:hover {
  color: black;
  background-color: #25d366;
  border-radius: 30px;
  /* keep the same padding so it doesn’t shrink */
  padding: 0.85rem 1.75rem;
  /* optional: add a subtle scale effect instead of shrink */
  transform: scale(1.05);
  border: 1px solid black;
}

.secondary-tabs {
  margin-top: 10px; /* space between rows */
  border-top: 2px solid #ccc; /* optional divider line */
  padding-top: 20px;
}

.payment-terms {
  font-size: 13px !important;
  color: #555;
  margin-top: 1rem;
}

/* ARROW DOWN — CRITICAL */
.arrow-container {
  text-align: center;
  margin-top: 50px;
  font-family: "Gochi Hand", "Poppins", sans-serif;
  color: darkred;
}

.arrow-down {
  width: 0;
  height: 0;
  margin: 10px auto;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid darkred;
}

#arrow-categories {
  background: #f0f0f0;
  padding: 50px;
}

.donate-link {
  padding-bottom: 70px;
}

.podcast-player {
  max-width: 600px;
  background: #fff;
  border: 1px solid #c31212;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
  background-color: darkgoldenrod;
}

h2 {
  margin-top: 0;
  font-size: 1.5em;
}
audio {
  width: 100%;
  margin-top: 15px;
}
.controls {
  margin-top: 10px;
  text-align: center;
}
.controls button {
  margin-right: 10px;
  padding: 8px 12px;
  border: none;
  border-radius: 7px;
  background: darkgoldenrod;
  color: #fff;
  cursor: pointer;
}
.controls button:hover {
  background: darkred;
}

section.demo-container {
  background-color: lightgray;

  min-width: 300px;
  max-width: 600px;
  padding: 20px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}
.text-outside-box {
  text-align: center;
}
.pdf-book {
  display: block;
  margin-top: 10px;
  color: #c00000;
}
.pdf-book:hover {
  text-decoration: none;
  color: blue;
}
.source-code-toggle {
  display: block;
  margin-top: 10px;
  color: #c00000;
}
.source-code-toggle:hover {
  text-decoration: none;
  color: blue;
}

.muted a {
  color: darken(mistyrose, 10%);
  text-decoration: none;
}

.visible {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin-top: 30px;
}

.book-switch {
  width: auto;
  display: inline-block;
  position: relative;
  margin: 30px 0px 20px 0px;
}

.well {
  background: white;
  height: 28px;
  width: 65px;
  position: absolute;
  right: 50px;
  top: -3px;
  border-radius: 30px;
  box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.3);
  border: 1px solid lightgray;
  cursor: pointer;
}

#toggle {
  opacity: 0;
  border: 1px solid lightgray; /* Ensure valid border */
  border-radius: 0;
  outline: none;
  appearance: none;

  height: 50px; /* more vertical space */
  line-height: 50px;
  width: 140px;
  background: transparent;
  position: absolute;
  right: 0px;
  top: 3px;
  cursor: pointer;
  z-index: 100;
  color: transparent;

  &:after {
    content: "";
    background-color: transparent;
    height: 40px;
    width: 90px;
    position: absolute;
    left: 30px;
    top: -5px;
  }

  ~ div.book:before {
    content: "\1F534";
    position: absolute;
    right: 80px;
    top: -10px;
    font-size: 30px;
    z-index: 1;
    color: #a52a2a; /* Replace 'primary' with a valid color */
    transition: all 0.25s ease-out;
  }

  &:checked {
    right: 0px;

    &:after {
      left: -80px;
    }

    ~ div.book:before {
      content: "\1F7E2";
      top: -10px;
      right: 41px;
    }

    ~ div.visible {
      opacity: 1;
      max-height: 900px;
      overflow: visible;
    }
  }

  ~ label {
    &:before {
      content: "no";
      position: absolute;
      color: #a52a2a; /* Replace 'primary' with a valid color */
      left: -30px;
      top: 0px;
      font-size: 14px;
    }

    &:after {
      content: "yes";
      position: absolute;
      color: gray; /* Replace 'muted' with a valid color */
      left: 83px;
      top: 0px;
      font-size: 14px;

      white-space: nowrap; /* keeps "Yes" on one line */
      width: auto; /* ensures enough space */
      display: inline-block; /* prevents vertical stacking */
    }
  }

  &:checked ~ label {
    &:before {
      color: gray; /* Replace 'muted' with a valid color */
    }

    &:after {
      color: #a52a2a; /* Replace 'primary' with a valid color */
    }
  }
}
