/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  display: flex;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  overflow-x: clip;
  color: var(--text-medium);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #fafafa;
}

:root {
  --primary-color: #fa7001;
  --primary-color-dark: #e26400;
  --natural-color: #ffffff;
  --text-dark: #1a1a1a;
  --text-medium: #333333;
  --text-light: #555555;
  --text-muted: #777777;
  --bg-cream: #fff8f3;
  --bg-black: #110f0e;
  --radius-md: 14px;
  --radius-lg: 20px;
  --container-pad: 7%;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

section {
  scroll-margin-top: 80px;
}

.heronav {
  scroll-margin-top: 0;
}

.blog-post {
  scroll-margin-top: 80px;
}


/* ============================================================
   NAVBAR
   ============================================================ */

.page-link.active {
  color: var(--primary-color);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
    to bottom,
    rgb(17, 15, 14),
    rgba(40, 38, 36, 0.6) 100%
  );
  padding: 14px 7%;
  box-shadow: 0px 2px 4px rgba(8, 8, 8, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

nav .links {
  display: flex;
  gap: clamp(16px, 3vw, 40px);
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.25s ease;
}

nav .links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

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

nav #contactUs {
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

nav #contactUs:hover {
  background-color: var(--primary-color-dark);
  transform: translateY(-2px);
  box-shadow: 0px 4px 10px rgba(250, 112, 1, 0.4);
}

nav img {
  width: 35px;
  display: block;
  transition: transform 0.3s ease;
}

nav a:first-child:hover img {
  transform: scale(1.08);
}

.navActions {
  display: flex;
  align-items: center;
  gap: 16px;
}

nav #menuToggle {
  display: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

nav #menuToggle:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}


/* ============================================================
   MOBILE MENU
   ============================================================ */

.mobileMenu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(78vw, 300px);
  background: var(--bg-black);
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 32px 30px 60px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  z-index: 200;
}

.mobileMenu.open {
  transform: translateX(0);
}

.mobileMenu a {
  text-decoration: none;
  color: white;
  font-size: 1.05rem;
  cursor: pointer;
}

#menuClose {
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 10px;
}

.menuOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 150;
}

.menuOverlay.open {
  opacity: 1;
  pointer-events: auto;
}


/* ============================================================
   BLOG HERO
   ============================================================ */

.heronav {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.88), rgba(17, 15, 14, 0.75)),
    url("../src/image/Blog.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 450px;
  width: 100%;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  color: var(--natural-color);
  font-size: clamp(1.5rem, 3vw, 2rem); /* Smooth responsive scaling */
  font-weight: 600; /* Semi-bold like the Offer page */
   padding-top:50px
}

.hero span {
  display: grid;
  place-items: center;
  min-width: 80px; /* Changed from fixed width to min-width for better responsiveness */
  background-color: var(--primary-color);
  border-radius: 10px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hero:hover span {
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 6px 16px rgba(250, 112, 1, 0.4);
}


/* ============================================================
   BLOG POST - MODERN REDESIGN
   ============================================================ */

.blog-post {
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  padding-bottom: 100px;
  padding-inline: 7%;
  justify-content: center;
  align-items: center;
  background-color: #fafafa;
}


/* ============================================================
   BLOG HEADER - MODERN LAYOUT
   ============================================================ */

.blog-header {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 50px;
}

.blog-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.blog-title-section {
  flex: 1;
  min-width: 280px;
}

.ourArticles {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.ourArticles::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 4px;
  width: 60px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 2px;
}

.blog-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.5;
}

/* Search Bar */
.search-container {
  position: relative;
  flex-shrink: 0;
}

.search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 2px solid #e5e5e5;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  background: white;
  transition: all 0.3s ease;
  outline: none;
}

.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(250, 112, 1, 0.15);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
  pointer-events: none;
}


/* ============================================================
   CATEGORY BUTTONS - MODERN PILL STYLE
   ============================================================ */

.blogCategories {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.category-btn {
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 50px;
  background: white;
  border: 2px solid #e5e5e5;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-medium);
  transition: all 0.3s ease;
}

.category-btn i {
  font-size: 12px;
}

.category-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(250, 112, 1, 0.15);
}

.category-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  font-weight: 600;
}


/* ============================================================
   BLOG ARTICLES GRID
   ============================================================ */

.blogArticles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  justify-items: center;
  width: 100%;
  max-width: 1200px;
  gap: 30px;
}


/* ============================================================
   ARTICLE CARDS - UNIFORM HEIGHT
   ============================================================ */

.blogArticles div {
  min-height: 370px;
  padding: 20px;
  border: 2px solid #f0f0f0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 360px;
  transition: all 0.35s ease;
  overflow: hidden;
  cursor: pointer;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.blogArticles div:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

/* 2:1 Aspect Ratio Image Container */
.blogArticles div span:first-child {
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  background-color: #f5f5f5;
  flex-shrink: 0;
}

.blogArticles div span:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  transition: transform 0.5s var(--ease);
}

.blogArticles div:hover span:first-child img {
  transform: scale(1.05);
}

/* Title - Max 2 lines */
.blogArticles div span:nth-child(2) {
  font-size: 18px;
  font-weight: 600;
  margin-top: 18px;
  color: var(--text-dark);
  line-height: 1.4;
  
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.blogArticles div:hover span:nth-child(2) {
  color: var(--primary-color);
}

/* Excerpt - Max 3 lines */
.blogArticles div span:nth-child(3) {
  color: var(--text-light);
  font-size: 13px;
  margin-top: 10px;
  line-height: 1.5;
  
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* Meta Info (Author/Date) - Pushed to bottom */
.blogArticles div span:nth-child(4) {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-start;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.blogArticles div span:nth-child(4) p:nth-child(1) {
  font-weight: 700;
  font-size: 12px;
  color: var(--text-dark);
}

.blogArticles div span:nth-child(4) p:nth-child(3) {
  font-weight: 400;
  font-size: 12px;
  color: var(--text-muted);
}


/* ============================================================
   NO RESULTS MESSAGE
   ============================================================ */

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.no-results i {
  font-size: 48px;
  margin-bottom: 20px;
  color: #ddd;
}

.no-results h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.no-results p {
  font-size: 14px;
}


/* ============================================================
   SEE MORE
   ============================================================ */

.blogArticles div.overLimit {
  display: none;
}

.seeMoreWrap {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.seeMoreBtn {
  display: none;
  padding: 14px 32px;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  background-color: transparent;
  color: var(--primary-color);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.seeMoreBtn.visible {
  display: inline-flex;
}

.seeMoreBtn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(250, 112, 1, 0.3);
}

.seeMoreBtn:active {
  transform: scale(0.96);
}


/* ============================================================
   FILTER TRANSITIONS
   ============================================================ */

.blogArticles div.hiding {
  opacity: 0;
  scale: 0.85;
  pointer-events: none;
}

.blogArticles div.hidden {
  display: none;
}

.blogArticles div.entering {
  opacity: 0;
  scale: 0.85;
}

.blogArticles div.entering.show-in {
  opacity: 1;
  scale: 1;
}


/* ============================================================
   SUBSCRIBE
   ============================================================ */

.subscribe {
  background-color: var(--bg-black);
  padding: 0 var(--container-pad) 0;
  position: relative;
  z-index: 2;
}

.subscribeBox {
  background-color: var(--primary-color);
  border-radius: 16px;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  margin-top: -70px;
  margin-bottom: -70px;
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
}

.subscribeHeading {
  color: var(--natural-color);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.35;
  max-width: 360px;
}

.subscribeForm {
  display: flex;
  align-items: center;
  background-color: var(--natural-color);
  border-radius: 40px;
  padding: 5px 5px 5px 22px;
  gap: 10px;
  flex: 1 1 360px;
  /* max-width: 460px; */
}

.subscribeForm input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
  color: var(--text-dark);
  min-width: 0;
}

.subscribeForm input::placeholder {
  color: var(--text-muted);
}

.subscribeForm button {
  background-color: var(--primary-color-dark);
  color: var(--natural-color);
  border: none;
  border-radius: 40px;
  padding: 11px 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s ease;
}

.subscribeForm button:hover {
  background-color: #b35700;
}


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background-color: var(--bg-black);
  width: 100%;
  padding: 100px var(--container-pad) 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.footerTop {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 24px;
  padding-bottom: 20px;
}

.footerBrand img {
  width: 46px;
}

.footerApps {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.footerApps a {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--natural-color);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  transition: background-color 0.25s ease;
}

.footerApps a:hover {
  background-color: var(--primary-color);
}

.footerCol {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footerHeading {
  color: #b35700;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.footerCol a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  transition: color 0.25s ease;
  width: fit-content;
}

.footerCol a:hover {
  color: var(--primary-color);
}

.footerSocial p {
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin-top: -2px;
}

.footerSocialIcons {
  display: flex;
  gap: 10px;
  margin-top: 2px;
}

.footerSocialIcons a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--natural-color);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  transition: background-color 0.25s ease;
}

.footerSocialIcons a:hover {
  background-color: var(--primary-color);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px var(--container-pad);
  margin-inline: calc(var(--container-pad) * -1);
  display: flex;
  justify-content: center;
}

.copyright p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}


/* ============================================================
   BLOG POST CONTENT - LINK & ELEMENT FIXES
   ============================================================
   This section fixes the issue where links added in blog posts
   appear at the top instead of where they were placed.
   It overrides any inline styles or editor-generated classes
   that might be forcing links to jump to the top.
*/

/* Target the container where your full blog post content is rendered */
.blog-content,
.post-content,
.article-body,
article,
.blog-post-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--text-medium);
}

/* FORCE all links inside the blog content to display normally */
.blog-content a,
.post-content a,
.article-body a,
article a,
.blog-post-content a {
  position: static !important;
  float: none !important;
  display: inline !important;
  vertical-align: baseline !important;
  margin: 0 !important;
  padding: 0 !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  color: var(--primary-color) !important;
  text-decoration: underline;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.blog-content a:hover,
.post-content a:hover,
.article-body a:hover,
article a:hover,
.blog-post-content a:hover {
  color: var(--primary-color-dark) !important;
}

/* Fix any weird wrapper divs that rich text editors might accidentally add */
.blog-content p,
.post-content p,
.article-body p,
article p,
.blog-post-content p {
  margin-bottom: 1.5rem;
  position: static !important;
}

/* Fix images inside blog content */
.blog-content img,
.post-content img,
.article-body img,
article img,
.blog-post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  position: static !important;
  float: none !important;
  margin: 1rem 0;
}

/* Fix headings inside blog content */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6,
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6,
article h1,
article h2,
article h3,
article h4,
article h5,
article h6,
.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
  position: static !important;
  float: none !important;
  margin: 1.5rem 0 0.75rem 0;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.3;
}

/* Fix lists inside blog content */
.blog-content ul,
.blog-content ol,
.post-content ul,
.post-content ol,
.article-body ul,
.article-body ol,
article ul,
article ol,
.blog-post-content ul,
.blog-post-content ol {
  position: static !important;
  float: none !important;
  margin: 1rem 0;
  padding-left: 2rem;
}

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

/* Fix blockquotes inside blog content */
.blog-content blockquote,
.post-content blockquote,
.article-body blockquote,
article blockquote,
.blog-post-content blockquote {
  position: static !important;
  float: none !important;
  border-left: 4px solid var(--primary-color);
  padding: 0.5rem 1rem;
  margin: 1rem 0;
  background-color: #f9f9f9;
  font-style: italic;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  nav { padding: 10px 5%; }
  nav .links { display: none; }
  nav #menuToggle { display: block; color: white; font-size: 1.2rem; cursor: pointer; }
  nav #contactUs { padding: 6px 12px; font-size: 0.72rem; }
  nav img { width: 26px; }
  .navActions { display: flex; align-items: center; gap: 10px; }
  /* REMOVED: .hero font-size override (clamp handles this smoothly now) */
  .blog-post { padding-bottom: 80px; }
  .blogArticles { gap: 25px; }
  .footerBrand { display: none; }
    .footer .footerTop { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 14px; row-gap: 0; padding-bottom: 30px; }
    .footerCol, .footerSocial { min-width: 0; }
    .footerSocialIcons { flex-wrap: wrap; gap: 8px; }
    .search-input { width: 280px; }
}

@media (max-width: 899px) {
  .blog-post { padding-top: 60px; padding-bottom: 70px; }
  .blogArticles { grid-template-columns: repeat(2, 1fr); }
  
  .blog-header-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .search-input { width: 100%; }
}

@media (max-width: 767px) {
  nav { padding: 10px 5%; }
  nav .links { display: none; }
  nav img { width: 44px; } /* was 26px — bigger logo on mobile */
  nav #contactUs { padding: 12px 16px; font-size: 0.82rem; } /* was 6px 12px / 0.72rem — bigger, narrower-width button */
  nav #menuToggle { display: block; font-size: 1.45rem; } /* was 1.2rem — bigger hamburger icon */
  .navActions { gap: 10px; }
  .heronav { height: 320px; }
  
  /* UPDATED HERO RESPONSIVE STYLES */
  .hero {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }
  .hero span {
    min-width: 65px;
  }

  .blog-post { padding-inline: 5%; padding-top: 40px; padding-bottom: 50px; }
  .ourArticles { font-size: 26px; }
  .blog-subtitle { font-size: 14px; }
  .blogCategories { gap: 10px; }
  .category-btn { padding: 8px 16px; font-size: 13px; }
  .blogArticles { gap: 20px; }
  .blogArticles div { 
    width: 100%; 
    max-width: 100%; 
  }

  .subscribe { padding: 0 5% 30px; }
  .subscribeBox { flex-direction: column; align-items: stretch; text-align: left; padding: 24px; gap: 20px; margin-top: -20px; margin-bottom: -20px; }
  .subscribeHeading { font-size: 1.1rem; max-width: none; }
  .subscribeForm { max-width: 100%; flex: 1 1 auto; padding: 3px 3px 3px 14px; }
  .subscribeForm input { font-size: 0.75rem; }
  .subscribeForm button { padding: 8px 14px; font-size: 0.68rem; }
  .footer { padding-top: 40px; padding-inline: 5%; }
  .footerBrand { display: none; }
    .footer .footerTop { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 14px; row-gap: 0; padding-bottom: 30px; }
  .footerHeading { font-size: 0.8rem; }
  .footerCol { gap: 8px; min-width: 0; }
  .footerCol a { font-size: 0.72rem; overflow-wrap: break-word; }
  .footerSocial { min-width: 0; }
  .footerSocial p { font-size: 0.72rem; display: block; }
  .footerSocialIcons { flex-wrap: wrap; gap: 8px; max-width: 100%; }
  .footerSocialIcons a { flex-shrink: 0; }
  .copyright { padding: 18px 5%; }
}

@media (max-width: 575px) {
  .heronav { height: 260px; }
  .blog-post { padding-inline: 4%; }
  .ourArticles { font-size: 24px; }
  .blogCategories { gap: 8px; }
  .blogArticles { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 480px) {
  nav img { width: 30px; } /* was 22px — slightly bigger logo on small phones */
  .navActions { gap: 8px; }
  nav #contactUs { padding: 8px 12px; font-size: 0.7rem; } /* was 5px 9px / 0.65rem — bigger, narrower-width button */
  nav #menuToggle { font-size: 1.25rem; } /* was 1.1rem — bigger hamburger icon */
  
  /* UPDATED HERO RESPONSIVE STYLES FOR SMALL PHONES */
  .hero {
    font-size: 1.3rem;
  }
  .hero span {
    min-width: 55px;
  }

  .blog-header-content { gap: 15px; }
  .ourArticles { font-size: 22px; }
  .blog-subtitle { font-size: 13px; }
}

@media (max-width: 424px) {
  .heronav { height: 220px; }
  .blogCategories { gap: 6px; }
  .category-btn { padding: 6px 12px; font-size: 12px; }
  .blogArticles div { padding: 16px; }
  .blogArticles div span:nth-child(2) { font-size: 16px; }
  .blogArticles div span:nth-child(3) { font-size: 12px; }
}

/* REMOVED the old @media (max-width: 319px) block entirely, as the 480px rules now handle the smallest screens perfectly */

@media (min-width:768px) {
  .heronav{
    background-attachment: fixed;
  }
}