html, body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 999;
}
  
.site-logo {
  height: 40px; /* Adjust size as needed */
  width: auto;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
}

/* .logo-text {
  margin-left: 8px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
} */

.logo a {
  text-decoration: none;
  color: inherit;
}
  
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  position: relative;
}
  
.nav-link {
    color: black;
    text-decoration: none;
    font-weight: 600;
    position: relative;
}
  
.nav-link:hover {
    color: #fe0099;
}
  
.nav-underline {
    position: absolute;
    bottom: -6px;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #fe0099;
    transition: 0.4s;
}
  
nav.navbar {
    position: fixed;
    top: 0;
    width: 95%;
    background-color: white;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
  
nav.sticky {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
  
nav.hide-nav {
    transform: translateY(-100%);
}  


/* Nav Profile Avatar */
.profile-link img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #58a6ff;
  margin-top: -5px;
}

.profile-link a {
  font-weight: 600;
  text-decoration: none;
  user-select: none;
  color: #fe0099;
}

.profile-link a.logged-in {
  color: #fff;
}
 
/* HAmburger menu style */
/* Hamburger Icon Styles */
/* Hamburger base style */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  width: 30px;
  height: 24px;
  justify-content: center;
}

/* The three bars */
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: black;
  border-radius: 2px;
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55),
              opacity 0.3s ease-in-out;
  transform-origin: center;
}



/* Animate on toggle */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6.3px, 6.3px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6.3px, -6.3px);
}

/* Mobile Styles */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .navbar {
    padding: 20px 10px;
  }

  .nav-links {
    position: fixed;
    top: 0px;
    right: -100%;
    flex-direction: column;
    align-items: flex-start;
    background: white;
    width: 200px;
    height: calc(100vh - 70px);
    padding: 80px 20px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex !important;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-underline {
    display: none;
  }
}


/* Hero */
.blog-hero {
    height: 45vh;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    background-color: #b8c0ca;
    overflow: hidden;
    background-image: url('media/images/hrwason_blog_hero_bg.png'); /* Replace with your actual image path */
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    color: #000; /* Black text */
}

.blog-hero h1 {
  color: #fff;
  text-align: center;
  margin-top: 8rem;
  font-size: 3.5rem;
}

.blog-hero p {
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .blog-hero {
    height: 55vh; /* Adjusts height for smaller screens */
  }
}

.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
  z-index: 0;
}

.blog-hero > * {
  position: relative;
  z-index: 1;
}

/* Editor's Pick */

.editor-picks {
  background-color: #a8e6cf; 
  padding: 60px 20px;
}

#editors-picks {
  transition: opacity 0.4s ease;
}

#editors-picks.loading {
  opacity: 0.3;
}

#editors-picks.loaded {
  opacity: 1;
}

.editor-picks .section-title {
  text-align: center;
  font-size: 2rem;
  color: #111827;
  margin-bottom: 40px;
}

.picks-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.pick-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.pick-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

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

.pick-card-content {
  padding: 20px;
}

.pick-card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #111827;
}

.pick-card-content p {
  font-size: 0.95rem;
  color: #4b5563;
}

.pick-card-content a {
  display: inline-block;
  margin-top: 10px;
  color: #fe0099;
  font-weight: 600;
  text-decoration: none;
}

.pick-card-content a:hover {
  color: #33495d;
}

/* Search bar */

.search-bar {
  position: relative;
  max-width: 600px;
  margin: 1.5rem auto;
  display: flex;
  align-items: center;
}

.search-bar .search-icon {
  position: absolute;
  left: 14px;
  font-size: 1.1rem;
  color: #888;
}

#blog-search {
  width: 100%;
  padding: 12px 40px 12px 40px;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  outline: none;
}

#clear-search {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #000;
  cursor: pointer;
  display: none;
}

#clear-search:hover {
  color: #333;
}


/* Blog Listing Container */
#blog-listing {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  opacity: 1;
  transition: opacity 0.4s ease;
}

#blog-listing.fade-out {
  opacity: 0;
}

#blog-listing.fade-in {
  opacity: 1;
}

/* Individual Blog Post Card */
.blog-post-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(254,0,153,0.3); /* pink shadow on hover */
}

/* Featured Image */
.post-thumbnail {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 4px solid #fe0099; /* pink border */
}

/* Post Content */
.post-content {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Post Title */
.post-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #111827; /* dark grey/black */
  margin: 0;
}

/* Post Date */
.post-date {
  font-size: 0.9rem;
  color: #4b5563; /* medium grey */
  font-style: italic;
  margin-bottom: 8px;
}

/* Post Excerpt */
.post-excerpt {
  font-size: 1rem;
  line-height: 1.5;
  color: #33495d; /* dark blue-grey */
}

/* Read More Link */
.read-more {
  align-self: flex-start;
  margin-top: auto;
  font-weight: 600;
  font-size: 1rem;
  color: #fe0099; /* pink */
  text-decoration: none;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #33495d; /* dark blue on hover */
  text-decoration: underline;
}

/* Responsive: Two columns on wider screens */
@media (min-width: 768px) {
  #blog-listing {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Responsive: Three columns on wide desktops */
@media (min-width: 1200px) {
  #blog-listing {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Pagination */
.pagination {
  max-width: 960px;
  margin: 40px auto 80px;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pagination button {
  background-color: #fff;
  border: 2px solid #fe0099;
  color: #fe0099;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 44px;
  text-align: center;
}

.pagination button:hover:not(:disabled) {
  background-color: #fe0099;
  color: #fff;
}

.pagination button:disabled {
  border-color: #a8e6cf;
  color: #a8e6cf;
  cursor: default;
}

/* category */

.category-section {
  max-width: 960px;
  margin: 40px auto 20px;
  padding: 0 20px;
  text-align: center;
}

.category-section h3 {
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.category-button {
  padding: 8px 18px;
  background-color: #fff;
  border: 2px solid #33495d;
  border-radius: 20px;
  color: #33495d;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
}

.category-button:hover,
.category-button.active {
  background-color: #fe0099;  /* Pink highlight */
  color: #fff;
  border-color: #fe0099;
}

/* Insights */

.insight-section {
  background: linear-gradient(120deg, #77e3ca, #ecfdf5);
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
}

.insight-box {
  max-width: 700px;
  margin: auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 200, 150, 0.15);
  font-size: 1.2rem;
  color: #000;
  position: relative;
  overflow: hidden;
}

#insight-text {
  font-weight: 600;
  letter-spacing: 0.3px;
  min-height: 60px;
}

/* Optional glowing animation */
.insight-box::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at center, #a8e6cf 100%, transparent 70%);
  animation: glow 5s ease-in-out infinite;
  z-index: 0;
}

@keyframes glow {
  0%, 100% { transform: rotate(0deg); opacity: 0.3; }
  50% { transform: rotate(180deg); opacity: 0.6; }
}


/* Footer */
.footer {
    background-color: #33495d;
    color: #ffffff;
    padding: 60px 40px 20px;
    font-family: 'Montserrat', sans-serif;
}

.site-footer-logo {
  height: 40px; /* Adjust size as needed */
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
  
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}
  
.footer h2, .footer h3 {
    margin-bottom: 10px;
}
  
.footer a {
    color: #b8c0ca;
    text-decoration: none;
    transition: color 0.3s;
}
  
.footer a:hover {
    color: #fe0099;
}
  
.footer-nav ul {
    list-style: none;
    padding: 0;
}
  
.footer-nav li {
    margin-bottom: 8px;
}
  
.footer-social a {
    margin-right: 12px;
    display: inline-block;
}
  
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #75ba75;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #b8c0ca;
}


.footer-newsletter-full {
  background-color: #33495d; /* match footer */
  padding: 40px 20px;
}

.footer-newsletter-full .container {
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
  text-align: left;
  padding: 0 20px;
}

.footer-newsletter-full h3 {
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.footer-newsletter-full p {
  color: #b8c0ca;
  margin-bottom: 20px;
  max-width: 500px;
}

.footer-newsletter {
    flex: 1 1 100%;
    max-width: 200px;
}
  
.footer-newsletter h3 {
    margin-bottom: 10px;
    color: #ffffff;
}
  
.footer-newsletter p {
    font-size: 0.9rem;
    color: black;
    margin-bottom: 15px;
}
  
.klaviyo-form-T8AbCd {
    max-width: 100%;
    color: black;
}

/* Klaviyo form text black color maintain */
.klaviyo-form-T8AbCd h3,
.klaviyo-form-T8AbCd h2,
.klaviyo-form-T8AbCd p,
.klaviyo-form-T8AbCd label {
  color: black !important;
}


/* Floating Button */
#suggestion-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

#suggestion-float button {
  background-color: #00c78c;
  color: white;
  padding: 12px 16px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

#suggestion-float button:hover {
  background-color: #00b07d;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.4);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: fadeIn 0.4s ease;
}

.modal-content textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: vertical;
}

.modal-content button {
  background-color: #00c78c;
  color: white;
  padding: 10px 16px;
  border: none;
  margin-top: 12px;
  border-radius: 6px;
  cursor: pointer;
}

.modal-content button:hover {
  background-color: #00b07d;
}

.close-modal {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 20px;
  cursor: pointer;
}

#suggestion-feedback {
  margin-top: 10px;
  color: #00c78c;
  font-weight: bold;
}

.hidden {
  display: none;
}

@keyframes fadeIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


/* About The HrWason Blogs */
/* Hero Section */
.hero-section {
  padding: 6rem 1rem 13rem;
  height: 45vh;
  background-image: url(media/images/about-hero.png);
  color: black;
  text-align: center;
}

.hero-section h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 6rem;
}

.hero-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Why this Blog */
.why-this-blog {
  padding: 4rem 1rem;
  background: #fff;
}

.why-this-blog h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.why-this-blog p {
  max-width: 800px;
  margin: 0 auto 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #334155;
}

/* Topics we cover */
.topics-we-cover {
  padding: 4rem 1rem;
  background: #a8e6cf;
}

.topics-we-cover h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.topics-we-cover ul {
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.topics-we-cover li {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

/* Audience Section */
.audience-section {
  padding: 4rem 1rem;
  background: #fff;
  text-align: center;
}

.audience-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.audience-section p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}

/* Navigation Guide */
.navigation-guide {
  padding: 4rem 1rem;
  background: #a8e6cf;
}

.navigation-guide h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.navigation-guide ul {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.navigation-guide li {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Stay Conected */ 
.stay-connected {
  padding: 4rem 1rem;
  background: #fff;
  text-align: center;
}

.stay-connected h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.stay-connected p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

.stay-connected .button {
  padding: 0.75rem 1.5rem;
  background: #0ea5e9;
  color: white;
  border: none;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.stay-connected .button:hover {
  background: #fe0099;
}

/* TimeLine Section */
.timeline-section {
  padding: 4rem 1rem;
  background: #a8e6cf;
}

.timeline-section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2rem;
  border-left: 4px solid #0ea5e9;
}

.timeline-item {
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.2rem;
  top: 0;
  width: 1rem;
  height: 1rem;
  background-color: #0ea5e9;
  border-radius: 50%;
  opacity: 1;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.timeline-content h3 {
  font-size: 1.2rem;
  color: #0369a1;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.95rem;
  color: #334155;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}


/* Contact Page */

.hero-contact {
  height: 30vh;
  text-align: center;
  padding: 100px;
  position: relative;
  background-color: #b8c0ca;
  overflow: hidden;
  background-image: url('/media/images/contact-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  bottom: -30px;
}

.hero2-contact {
  padding: 60px 20px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  opacity: 1;
  transform: translateY(50px);
  background-color: #a8e6cf;
  margin-bottom: 5rem;
}

.hero-contact-title {
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto;
  color: black;
  margin-bottom: 1.5rem;
}

.hero-contact-subtitle {
  font-size: 1rem;
  color: black;
  font-weight: 400;
  line-height: 1.5;
  max-width: 500px;
  margin: 0 auto 2rem auto;
}


/* CONTACT MAIN */
.contact-section {
  padding: 60px 20px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  opacity: 1;
  transform: translateY(50px);
  background-color: #a8e6cf;
  margin-bottom: 5rem;
}

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

.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.contact-form button {
  padding: 12px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #333;
}

.contact-section h2 {
  font-size: 2rem;
  color: #111827;
  margin-bottom: 15px;
}

.contact-section p {
  font-size: 1rem;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.map-wrapper {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
}

/* Show animation when visible */
.contact-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.social-links a {
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  color: black;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #fe0099;
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 10px;
  margin-top: 20px;
}


/* Series Grid */
.series-grid-section h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.series-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  padding: 20px;
  transition: transform 0.2s ease;
}

.series-card:hover {
  transform: translateY(-4px);
}

.series-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.series-card .tags span {
  background: #fe0099;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  margin-right: 8px;
  display: inline-block;
}

.btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background: #fe0099;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

.btn-book {
  display: inline-block;
  padding: 12px 24px;
  background-color: #0078d7;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  margin-top: 1rem;
}

.btn-book:hover {
  background-color: #005fa3;
}

/* Themed Sections */
.series-section {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 60px 20px;
}

.series-section h2 {
  margin-bottom: 15px;
}

.series-section ul {
  list-style: none;
  padding-left: 0;
}

.series-section ul li a {
  color: #333;
  text-decoration: none;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.series-section ul li a:hover {
  color: #fe0099;
}

/* Coming Soon */
.coming-soon ul {
  list-style-type: "📌 ";
  padding-left: 20px;
  font-size: 1rem;
}