:root {
  --bg: #FEF3EB;
  --surface: #FFFFFF;
  --surface-strong: #FEF3EB;
  --text: #675F59;
  --heading: #4A4642;
  --accent: #E87121;
  --border: #E8DBD0;
  --footer: #3B2E25;
  --footer-line: rgba(255, 255, 255, 0.15);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #FFFFFF;
  background: linear-gradient(to bottom, #FFF1E5 0%, #FFFFFF 15%, #FFFFFF 85%, #FFF1E5 100%);
  color: var(--text);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

/* Cooking Section (Product Page) */
.cooking-section {
  text-align: center;
  padding: 60px 20px 100px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cooking-section p {
  color: var(--text);
  font-size: 1rem;
  margin-top: 15px;
  max-width: 500px;
}

.cooking-lottie {
  display: block;
  width: 500px;
  /* Big on desktop */
  height: 500px;
  max-width: 100%;
  /* Safety scale */
  margin: 0 auto;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  overflow-x: clip;
  /* changed from hidden so sticky can work if needed */
}

.container {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 32px;
}

.navbar {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  padding: 20px 0 10px;
  gap: 18px;
  position: relative;
  width: 100%;
}

.brand-mark {
  width: 60px;
  /* reduced logo size to stop it from making nav too tall */
  justify-self: start;
}

.brand-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: #2C2420;
  flex: 1;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown trigger button */
.dropdown-toggle {
  background: none;
  border: none;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #2C2420;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.dropdown-toggle:hover,
.dropdown.active .dropdown-toggle {
  color: var(--accent);
}

.dropdown-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-arrow,
.dropdown.is-active .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
  min-width: 160px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  padding: 8px 20px;
  color: #2C2420;
  font-size: 13px;
  text-align: left;
  transition: background-color 0.2s, color 0.2s;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background-color: var(--surface-strong);
  color: var(--accent);
}

.menu-toggle,
.reach-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: 0.2s ease;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #2C2420;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.reach-btn,
.ghost-btn {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
}

.reach-btn {
  padding: 10px 24px;
  background: transparent;
}

.ghost-btn {
  padding: 10px 24px;
  color: #6D6259;
  border-color: #BCA896;
}

.reach-btn:hover,
.ghost-btn:hover,
.reach-btn.active-btn {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 30px 0 60px;
  min-height: 480px;
  text-align: left;
}

.hero-copy {
  width: 60%;
  z-index: 2;
  padding-top: 80px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

h1,
h2,
h3,
h4 {
  color: var(--heading);
  font-weight: 500;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 4.5vw, 3rem);
  line-height: 1.25;
  /* margin-bottom: 24px; */
}

.accent {
  color: var(--accent);
}

.hero-copy p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  /* max-width: 440px; */
  text-align: center;
  padding-top: 25px;
}

.hero-illustration {
  position: absolute;
  left: -80px;
  top: 10%;
  width: 75%;
  z-index: 1;
}

.hero-illustration img,
.section-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Sections */
.section {
  padding: 40px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.split.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.split-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.discover-copy p,
.where-copy p,
.brands-copy p {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text);
}

.where-copy {
  text-align: center;
}

.where-copy h2 {
  display: inline-block;
  text-align: center;
}

.copy-stack {
  text-align: left;
  margin-top: 32px;
}

.copy-stack h4 {
  font-size: 1.1rem;
  color: #2F2926;
  margin-bottom: 8px;
}

.copy-stack p {
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.section-action {
  margin-top: 20px;
}

.section-visual {
  width: 100%;
}

.thought-visual {
  max-width: 420px;
  margin: 0 auto;
}

.brand-visual {
  max-width: 400px;
  justify-self: end;
}

/* Brands */
.brands {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  padding-top: 40px;
}

.brands-copy {
  min-width: 0;
  /* Prevents CSS Grid blowout */
}

.brands-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 16px;
}

.logo-marquee-wrapper {
  margin: 40px auto 0;
  width: 400px;
  max-width: 100%;
  /* purely responsive for mobile */
  overflow: hidden;
  position: relative;
  /* "Horizontal line" bounding where they hide */
  border-right: 2px solid var(--accent);
}

.logo-row {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-brands 8s linear infinite;
}

@keyframes scroll-brands {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-400px);
  }

  /* 4 * (80 + 20) = 400px shifted */
}

.logo-box {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: #E8E5E1;
  color: #666;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}

/* Services */
.growth-heading {
  text-align: center;
  padding: 40px 0 25px;
}

.growth-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.25;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 65px;
  padding-bottom: 50px;
  margin-top: 40px;
}

.service-card {
  background: var(--surface-strong);
  border-radius: 20px;
  border: 1px solid rgba(232, 113, 33, 0.1);
  box-shadow: 0 10px 30px rgba(232, 113, 33, 0.05);
  /* soft tinted shadow */
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(232, 113, 33, 0.1);
}

.service-figure {
  background: #FFFFFF;
  /* Stark white box for image */
  border-radius: 20px 20px 0 0;
  /* Arch shape - only top rounded */
  padding: 16px 16px 0;
  /* Remove bottom padding to let image sit on line natively */
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 40px);
  /* indent 20px from each side */
  margin: -40px auto 0;
  /* pop out the top by 40px */
  position: relative;
  box-shadow: 0 4px 20px rgba(189, 123, 76, 0.325);
}

.service-figure::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #E8DDD1;
  /* exact bottom line */
  z-index: 1;
  /* rests behind image overlap */
}

.service-figure img {
  max-height: 115%;
  width: auto;
  position: relative;
  z-index: 2;
  /* transform: translateY(12px); */
}

.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 38px 20px 24px;
}

.service-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #2F2926;
}

.service-body p {
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.6;
  flex: 1;
}

.service-body .ghost-btn {
  align-self: center;
  margin-top: auto;
  border-radius: 999px;
  font-size: 0.85rem;
  padding: 8px 24px;
}

/* Service Details Page (services.php) */
.service-details {
  padding: 10px 0 20px;
}

.service-unit {
  margin-bottom: 90px;
  scroll-margin-top: 100px;
}

.service-unit:last-child {
  margin-bottom: 60px;
}

.service-main {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 10px;
}

.service-main.reverse {
  flex-direction: row-reverse;
}

.service-media,
.service-info {
  flex: 1;
}

.service-media img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  object-fit: contain;
}

.service-info h2 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  margin-bottom: 24px;
  line-height: 1.25;
}

.service-info p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.service-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  padding: 0 20px;
}

.feature-item h4 {
  font-size: 1.15rem;
  color: #2F2926;
  margin-bottom: 16px;
  font-weight: 600;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}

/* About Page (about.php) */
.about-hero {
  text-align: center;
  padding: 0px 0 80px;
}

.about-title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: #3B4B52;
  /* Slate dark teal */
  /* margin-bottom: 40px; */
  position: relative;
  display: inline-block;
  font-weight: 700;
}

.about-hero-img img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 40px;
}

.about-intro {
  max-width: 900px;
  margin: 0 auto;
}

.about-intro p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* About Split Cards */
.about-card-section {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.acs-left {
  flex: 1;
  padding-right: 40px;
}

.acs-right {
  flex: 1;
  padding-top: 25px;
  /* align accurately with heading line */
}

.lined-heading {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  display: flex;
  align-items: center;
  white-space: nowrap;
  /* margin-bottom: 40px; */
}

.lined-heading::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--accent);
  margin-left: 20px;
  margin-right: -40px;
  /* extends line to touch exactly the right card */
}

.acs-media img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.acs-card {
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 50px 40px;
  background: transparent;
}

.acs-card p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

/* About Core Section */
.about-core {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 40px;
  margin-bottom: 80px;
  align-items: stretch;
}

.core-divider {
  width: 2px;
  height: 100%;
  background: var(--accent);
  opacity: 0.15;
}

.core-box {
  text-align: center;
  padding: 0 30px;
}

.core-icon {
  font-size: 2.2rem;
  color: var(--heading);
  margin-bottom: 20px;
}

.core-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.core-box p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Career Page (career.php) */
.career-hero {
  text-align: center;
  /* padding: 20px 0 80px; */
}

.career-hero-img img {
  width: 100%;
  max-width: 600px;
  /* Big hero image width */
  margin: 0 auto 30px;
}

.career-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--heading);
  margin-bottom: 30px;
  font-weight: 500;
}

.career-intro {
  max-width: 800px;
  margin: 0 auto;
}

.career-intro p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.career-features-section {
  padding-bottom: 120px;
}

.section-header-lined {
  text-align: center;
  margin-bottom: 60px;
}

.section-header-lined h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  display: inline-block;
  padding-bottom: 20px;
  position: relative;
  margin: 0;
}

.section-header-lined h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -80px;
  /* Line stretches far outside text */
  right: -80px;
  height: 2px;
  background: var(--text);
  opacity: 0.35;
}

.career-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.career-feature-box h4 {
  font-size: 1.25rem;
  color: #2F2926;
  margin-bottom: 16px;
  line-height: 1.4;
}

.career-feature-box p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}

/* Contact Page (contact.php) */
.contact-hero {
  text-align: center;
  /* padding: 40px 0 60px; */
}

.contact-hero-img img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 30px;
}

.contact-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 20px;
}

.contact-intro {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 100px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.contact-card h4 {
  font-size: 1.25rem;
  color: var(--heading);
  margin-bottom: 20px;
}

.card-icon {
  font-size: 2.2rem;
  color: var(--heading);
  margin-bottom: 20px;
}

.contact-card p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-section {
  padding-bottom: 100px;
}

.faq-main-title {
  text-align: center;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 60px;
  color: var(--text);
}

.faq-main-title .accent {
  color: var(--accent);
}

.faq-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 20px 0;
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--heading);
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  background: #0B0E14;
  /* Black circle */
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.faq-item[open] summary i {
  transform: rotate(180deg);
}

.faq-content {
  padding-top: 20px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-media img {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background: var(--footer);
  color: #FFF9F4;
  padding: 60px 0 30px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
  gap: 30px;
}

.footer h4 {
  color: #FFF;
  font-size: 1.05rem;
  margin-bottom: 18px;
  font-weight: 500;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: rgba(255, 249, 244, 0.8);
  cursor: pointer;
  transition: color 0.2s;
}

.footer li:hover {
  color: var(--accent);
}

.footer-brand {
  justify-self: end;
  text-align: center;
}

.footer-logo {
  width: 80px;
  height: auto;
  margin: 0 auto 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  transition: 0.2s;
}

.socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--footer-line);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 249, 244, 0.6);
}

/* Responsive */
@media (max-width: 960px) {
  .container {
    padding: 0 24px;
  }

  /* Fixed Navigation on Mobile */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 24px;
    z-index: 999;
    background: #FFF1E5;
    /* match top gradient color for sticky nav */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    grid-template-columns: 60px auto;
  }

  .page-shell {
    padding-top: 55px;
    /* Offset for fixed nav */
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    top: 55px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 24px 30px;
    background: #FFF1E5;
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    z-index: 998;
  }

  .nav-panel.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    width: 100%;
  }

  .nav-links>a,
  .dropdown-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #2C2420;
    padding: 8px 0;
    width: 100%;
    text-align: center;
    border: none;
    background: none;
    font-family: inherit;
    font-weight: 500;
  }

  /* Mobile Dropdown styles */
  .dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 4px 0 0 !important;
    width: 100% !important;
    display: none;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .dropdown.is-active .dropdown-menu {
    display: flex !important;
  }

  .dropdown-menu a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
    padding: 8px 0 !important;
    font-size: 13px !important;
    color: #675F59 !important;
    font-weight: 400 !important;
  }

  .reach-btn {
    width: 100%;
  }

  .hero {
    flex-direction: column;
    padding: 20px 0 20px;
    align-items: center;
    min-height: auto;
  }

  .cooking-lottie {
    width: 350px;
    height: 350px;
  }

  .hero-copy {
    width: 100%;
    text-align: center;
    padding-top: 0;
    margin-bottom: 20px;
  }

  .hero-copy p {
    margin: 0 auto;
  }

  .hero-illustration {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: 500px;
    margin-top: 30px;
  }

  .split,
  .split.reverse,
  .brands {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 0;
    /* Removing native gap to control spacing correctly via margins */
  }

  .discover-copy,
  .where-copy,
  .brands-copy {
    display: contents;
    /* Unwraps the text div so children share layout order with image */
  }

  /* All general text and bottom items */
  .discover-copy>*,
  .where-copy>*,
  .brands-copy>* {
    order: 3;
    /* Paragraphs already maintain their 16px bottom margin globally */
  }

  /* Headings jump to the very top */
  .discover-copy h2,
  .where-copy h2,
  .brands-copy h2 {
    order: 1;
    margin-bottom: 30px;
  }

  /* Visuals sandwich in the middle */
  .section-visual {
    order: 2;
    margin-bottom: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    /* 2x2 cute cube layout */
    gap: 30px;
  }

  .copy-stack {
    text-align: center;
  }

  .brand-visual,
  .footer-brand {
    justify-self: center;
  }

  /* .logo-row logic inherited from desktop animated track to keep layout stable */

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 75px;
    margin-top: 50px;
  }

  /* Services Detail Page Mobile */
  .service-main {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    margin-bottom: 50px;
  }

  .service-main.reverse {
    flex-direction: column;
  }

  .service-features {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-unit {
    margin-bottom: 90px;
  }

  /* About Detail Page Mobile */
  .about-card-section {
    flex-direction: column;
    margin-bottom: 60px;
  }

  .acs-left {
    padding-right: 0;
    width: 100%;
    margin-bottom: 30px;
  }

  .acs-right {
    padding-top: 0;
    width: 100%;
  }

  .lined-heading::after {
    display: none;
    /* remove bridge line on mobile */
  }

  .about-core {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .core-divider {
    display: none;
  }

  /* Career Detail Page Mobile */
  .career-features {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  /* Contact Page Mobile */
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .faq-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 640px) {
  h1 {
    padding-top: 40px;
    font-size: 1.7rem;
  }

  .split-title,
  .brands-copy h2,
  .growth-heading h2 {
    font-size: 2rem;
  }

  /* Shrink wide line on tiny phones to avoid horizontal scrolling */
  .section-header-lined h2::after {
    left: 0;
    right: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
    row-gap: 65px;
  }

  .footer-grid {
    text-align: left;
    /* Keep left aligned for 2x2 grid readability */
    gap: 20px;
  }

  .socials {
    justify-content: center;
  }
}

/* Scroll Animation System */
body.js-enabled .reveal-left,
body.js-enabled .reveal-right,
body.js-enabled .reveal-up {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

body.js-enabled .reveal-left {
  transform: translateX(-50px);
}

body.js-enabled .reveal-right {
  transform: translateX(50px);
}

body.js-enabled .reveal-up {
  transform: translateY(40px);
}

body.js-enabled .reveal-left.active,
body.js-enabled .reveal-right.active,
body.js-enabled .reveal-up.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* Legal Section Styling */
.legal-section {
  padding: 80px 0 100px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.legal-date {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 50px;
  font-style: italic;
}

.legal-content h3 {
  font-size: 1.3rem;
  color: var(--heading);
  margin: 35px 0 15px;
  font-weight: 600;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
}

.legal-content ul {
  margin: 0 0 20px 20px;
  list-style-type: disc;
}

.legal-content li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 8px;
}

/* Contact Page Clickable Cards & Active Links */
.contact-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.contact-card-link .contact-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-card-link:hover .contact-card {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(232, 113, 33, 0.12);
  border-color: var(--accent);
}

.contact-card-link:hover .contact-link {
  color: var(--accent);
}

.contact-link {
  color: inherit;
  transition: color 0.2s ease;
  font-weight: 500;
}

/* Floating WhatsApp Button with Glowing Background Pulse */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: whatsapp-glow-bg 2s infinite;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  animation-play-state: paused;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
  display: inline-block;
}

@keyframes whatsapp-glow-bg {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5), 0 4px 15px rgba(0, 0, 0, 0.15);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0), 0 4px 15px rgba(0, 0, 0, 0.15);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 15px rgba(0, 0, 0, 0.15);
  }
}

/* Adjust position on small screens */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 26px;
  }
}

/* ==========================================
   PRODUCT DETAILS CATALOG STYLING
   ========================================== */
.product-hero {
  text-align: center;
  padding: 60px 0 40px;
}

.product-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 16px;
}

.product-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
}

.product-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 50px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(232, 113, 33, 0.2);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding-bottom: 80px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(232, 113, 33, 0.08);
  border-color: var(--accent);
}

.product-icon {
  width: 60px;
  height: 60px;
  background: var(--surface-strong);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 24px;
}

.product-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: inline-block;
}

.product-card h3 {
  font-size: 1.5rem;
  color: var(--heading);
  margin-bottom: 12px;
}

.product-tagline {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 0;
}

.product-features-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex-grow: 1;
}

.product-features li {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-features li i {
  color: #25D366;
  font-size: 14px;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.product-btn-primary {
  flex: 1;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-btn-primary:hover {
  background: #d45f17;
  border-color: #d45f17;
  box-shadow: 0 4px 12px rgba(232, 113, 33, 0.15);
}

.product-btn-secondary {
  flex: 1;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-btn-secondary:hover {
  background: var(--surface-strong);
}

/* Spec accordion in card */
.product-spec-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  font-size: 12px;
  color: var(--text);
  border-top: 1px dashed var(--border);
  margin-top: 15px;
  padding-top: 0;
}

.product-spec-drawer.open {
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
  padding-top: 15px;
  margin-bottom: 15px;
}

.product-spec-list {
  list-style: none;
  padding: 0;
}

.product-spec-list li {
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.product-spec-list li span:first-child {
  font-weight: 500;
  color: var(--heading);
}

/* ==========================================
   ZOHO/TCS STYLE DYNAMIC BLOGS STYLING
   ========================================== */
.blogs-hero {
  text-align: center;
  padding: 60px 0 40px;
}

.blogs-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 16px;
}

.blogs-intro {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

/* Public Blogs search & filter */
.blogs-search-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.blogs-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.blog-cat-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-cat-btn:hover,
.blog-cat-btn.active {
  background: var(--heading);
  color: #fff;
  border-color: var(--heading);
}

.blog-search-box {
  position: relative;
  width: 100%;
  max-width: 300px;
}

.blog-search-box input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--heading);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 113, 33, 0.1);
}

.blog-search-box i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 14px;
}

/* Featured Blog Post Layout */
.featured-blog-section {
  margin-bottom: 60px;
}

.featured-blog-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(232, 113, 33, 0.08);
}

.featured-blog-img {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 350px;
  overflow: hidden;
}

.featured-blog-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  transition: transform 0.3s ease;
}

.featured-blog-card:hover .featured-blog-img img {
  transform: scale(1.03);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.featured-blog-body {
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-blog-body h2 {
  font-size: 1.8rem;
  color: var(--heading);
  line-height: 1.3;
  margin: 15px 0;
  font-weight: 700;
  transition: color 0.2s ease;
}

.featured-blog-card:hover .featured-blog-body h2 {
  color: var(--accent);
}

.featured-blog-body p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 25px;
}

.blog-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.blog-author-avatar {
  width: 32px;
  height: 32px;
  background: var(--surface-strong);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  border: 1px solid var(--border);
}

/* Regular Public Blog Cards Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 80px;
  margin-top: 20px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(232, 113, 33, 0.12);
  border-color: var(--accent);
}

.blog-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Premium Category-specific Badge Colors */
.blog-badge[data-category="Technology"],
.featured-badge[data-category="Technology"],
.blog-detail-cat[data-category="Technology"] {
  background: #E1F0FF !important;
  color: #0066CC !important;
}
.blog-badge[data-category="Design"],
.featured-badge[data-category="Design"],
.blog-detail-cat[data-category="Design"] {
  background: #F3E8FF !important;
  color: #7E22CE !important;
}
.blog-badge[data-category="Marketing"],
.featured-badge[data-category="Marketing"],
.blog-detail-cat[data-category="Marketing"] {
  background: #DCFCE7 !important;
  color: #15803D !important;
}
.blog-badge[data-category="Business"],
.featured-badge[data-category="Business"],
.blog-detail-cat[data-category="Business"] {
  background: #FEF3C7 !important;
  color: #D97706 !important;
}

.blog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  color: #999;
  margin-bottom: 12px;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-body h3 {
  color: var(--accent);
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.blog-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
  align-self: flex-start;
  margin-top: auto;
}

.blog-link:hover {
  gap: 10px;
}

/* ==========================================
   BLOG DETAILS PAGE STYLING
   ========================================== */
.blog-detail-container {
  max-width: 800px;
  margin: 40px auto 80px;
}

.blog-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 30px;
  transition: gap 0.2s ease;
}

.blog-detail-back:hover {
  gap: 12px;
}

.blog-detail-header {
  margin-bottom: 35px;
}

.blog-detail-cat {
  display: inline-block;
  background: var(--surface-strong);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.blog-detail-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.25;
  margin-bottom: 20px;
}

.blog-detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: #888;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}

.blog-detail-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-detail-banner {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}

.blog-detail-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
}

.blog-detail-content p {
  margin-bottom: 24px;
}

.blog-detail-content h2,
.blog-detail-content h3 {
  color: var(--heading);
  margin: 40px 0 16px;
  font-weight: 600;
  line-height: 1.3;
}

.blog-detail-content h2 {
  font-size: 1.5rem;
}

.blog-detail-content h3 {
  font-size: 1.25rem;
}

.blog-detail-content ul,
.blog-detail-content ol {
  margin: 0 0 24px 24px;
}

.blog-detail-content li {
  margin-bottom: 10px;
}

.blog-detail-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 10px 0 10px 20px;
  margin: 30px 0;
  font-style: italic;
  color: var(--heading);
  background: var(--surface-strong);
  border-radius: 0 12px 12px 0;
}

/* Related articles section */
.related-blogs-section {
  border-top: 1px solid var(--border);
  padding-top: 60px;
  margin-top: 60px;
}

.related-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 30px;
}

/* ==========================================
   BLOG ADMIN DASHBOARD STYLING
   ========================================== */
.admin-login-wrapper {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 45px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(232, 113, 33, 0.08);
}

.admin-login-header {
  text-align: center;
  margin-bottom: 35px;
}

.admin-login-header img {
  width: 50px;
  margin: 0 auto 15px;
}

.admin-login-header h1 {
  font-size: 1.6rem;
  color: var(--heading);
  font-weight: 600;
}

.admin-login-header p {
  font-size: 0.9rem;
  color: var(--text);
  margin-top: 5px;
}

.admin-form-group {
  margin-bottom: 20px;
  position: relative;
}

.admin-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 8px;
}

.admin-form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--heading);
  outline: none;
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 113, 33, 0.1);
}

.admin-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.admin-btn:hover {
  background: #d45f17;
}

.admin-error-msg {
  background: #FDF2F2;
  color: #EC5959;
  border: 1px solid #FBD5D5;
  padding: 12px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-success-msg {
  background: #F3FAF4;
  color: #30A46C;
  border: 1px solid #D1EAD8;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Dashboard Structure */
.admin-container {
  padding: 40px 0 80px;
}

.admin-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  margin-bottom: 35px;
  flex-wrap: wrap;
  gap: 15px;
}

.admin-nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-nav-left h1 {
  font-size: 1.5rem;
  color: var(--heading);
}

.admin-nav-left span {
  background: var(--surface-strong);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.admin-nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-btn-logout {
  background: transparent;
  color: #EC5959;
  border: 1px solid #EC5959;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn-logout:hover {
  background: #FDF2F2;
}

.admin-btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn-primary:hover {
  background: #d45f17;
  border-color: #d45f17;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.admin-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.admin-stat-card h4 {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.admin-stat-card p {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--heading);
}

.admin-table-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 35px;
}

.admin-table-wrapper {
  overflow-x: auto;
  width: 100%;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  background: var(--surface-strong);
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  border-bottom: 1px solid var(--border);
}

.admin-table td {
  padding: 16px 24px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-blog-thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
  display: block;
}

.admin-table-title {
  font-weight: 600;
  color: var(--heading);
  display: block;
  margin-bottom: 4px;
}

.admin-table-cat {
  display: inline-block;
  background: var(--surface-strong);
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.admin-actions {
  display: flex;
  gap: 12px;
}

.admin-act-edit {
  color: var(--accent);
  font-weight: 500;
  font-size: 13px;
}

.admin-act-edit:hover {
  text-decoration: underline;
}

.admin-act-delete {
  color: #EC5959;
  font-weight: 500;
  font-size: 13px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.admin-act-delete:hover {
  text-decoration: underline;
}

/* Form Styles for Admin CRUD */
.admin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 35px;
  box-shadow: var(--shadow);
}

.admin-card-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-card-header h2 {
  font-size: 1.3rem;
  color: var(--heading);
}

.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.admin-form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.admin-btn-cancel {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn-cancel:hover {
  background: var(--surface-strong);
}

.admin-btn-submit {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn-submit:hover {
  background: #d45f17;
  border-color: #d45f17;
}

/* ==========================================
   RESPONSIVE LAYOUTS FOR NEW UPGRADES
   ========================================== */
@media (max-width: 960px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-blog-card {
    grid-template-columns: 1fr;
  }

  .featured-blog-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: auto;
  }

  .featured-blog-body {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .admin-navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding-top: 15px;
  }

  .admin-nav-right {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .product-actions {
    flex-direction: column;
  }

  .admin-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .blogs-search-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .blogs-categories {
    justify-content: flex-start;
  }

  .blog-search-box {
    max-width: none;
  }

  .blog-detail-banner {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}