
:root {
  --navy: #0b1730;
  --navy-light: #142746;
  --gold: #d4af37;
  --gold-light: #f1d778;

  --white: #ffffff;
  --background: #F7F4EB;
  --text: #202b3c;
  --muted: #667085;
  --border: #E5DFD1;

  --shadow: 0 12px 35px rgba(11, 23, 48, 0.08);
  
  --font-body: 16px;
  --font-small: 14px;
  --font-label: 12px;
  --font-nav: 13px;
  --font-h1: clamp(38px, 4.5vw, 56px);
  --font-h2: clamp(28px, 3vw, 38px);
  --font-h3: 19px;

}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

.navbar {
  width: min(1200px, 94%);
  min-height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.brand-text strong {
  color: var(--white);
  font-size: 17px;
  letter-spacing: 1px;
  line-height: 1.3;
}

.brand-text small {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.5;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 19px;
}

.nav-links a {
  color: #edf1f7;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--gold-light);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-outline {
  border-color: var(--gold);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.12);
}

/* HERO */



.hero {
  padding: 95px 0;
  color: var(--white);
  background:
    linear-gradient(
      90deg,
      rgba(8, 24, 49, 0.92) 0%,
      rgba(8, 24, 49, 0.72) 55%,
      rgba(8, 24, 49, 0.55) 100%
    ),
    url("./images/research-library.png") center / cover no-repeat;
}


.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 55px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #a98513;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero .eyebrow,
.quote-grid .eyebrow {
  color: var(--gold-light);
}

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(30px, 3.5vw, 35px);
  line-height: 1.15;
  letter-spacing: -1px;
  
}

.hero h1 span {
  color: var(--gold-light);
}

.hero-description {
  max-width: 630px;
  margin-bottom: 27px;
  color: #dce4ef;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-note {
  margin-top: 22px;
  color: #c5d0df;
  font-size: 13px;
}

.hero-card {
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-card h2 {
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: 24px;
  line-height: 1.4;
}

.hero-card ul {
  padding-left: 20px;
  color: #e0e7f0;
}

.hero-card li {
  margin-bottom: 10px;
}

/* SECTIONS */

.section {
  padding: 80px 0;
}

.section-light {
  background: var(--background);
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 13px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
}

.section-heading p {
  color: var(--muted);
}

/* SERVICES */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-number {
  width: 43px;
  height: 43px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fbf5df;
  color: #80620c;
  font-size: 14px;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.4;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
}

/* ARTICLES */

.article-tools {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 14px;
  margin-bottom: 28px;
}

.article-tools input,
.article-tools select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d5dbe5;
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
}

.article-tools input:focus,
.article-tools select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}

.article-card {
  min-width: 0;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--white);
  box-shadow: 0 4px 15px rgba(11, 23, 48, 0.035);
}

.article-card[hidden],
.no-articles[hidden] {
  display: none !important;
}

.article-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #fbf5df;
  color: #765b0d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.article-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.45;
}

.article-body p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.article-body details {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.article-body summary {
  color: #8a6a0b;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.article-body details[open] summary {
  margin-bottom: 12px;
}

.article-body details p {
  line-height: 1.8;
}

.no-articles {
  margin-top: 22px;
  padding: 22px;
  border: 1px dashed #c7ced9;
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.article-disclaimer {
  margin-top: 28px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: #fbf8ee;
  color: #5e5a4c;
  font-size: 13px;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 45px;
}

.about-grid h2 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 39px);
  line-height: 1.25;
}

.about-grid p {
  margin-bottom: 15px;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #98730b;
  font-weight: 800;
}

.about-panel {
  padding: 30px;
  border: 1px solid #e8dfbd;
  border-radius: 10px;
  background: #fbf8ee;
}

.about-panel h3 {
  margin-bottom: 15px;
  color: var(--navy);
  font-size: 22px;
}

.about-panel p {
  margin-bottom: 13px;
}

/* PROCESS: FIXED STEP LABEL AND NUMBER */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.process-card {
  min-width: 0;
  padding: 25px 22px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--white);
}

/* STEP is separate from the number, so the text cannot overlap. */
.step-label {
  display: block;
  margin: 0 0 7px;
  color: #96730d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.4;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  margin: 0 0 18px;
  padding: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  flex-shrink: 0;
}

.process-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.4;
}

.process-card p {
  color: var(--muted);
  font-size: 14px;
}

/* QUOTE FORM */

.quote-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 42px;
  padding: 42px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
}

.quote-grid h2 {
  margin-bottom: 17px;
  font-size: clamp(28px, 4vw, 39px);
  line-height: 1.25;
}

.quote-grid > div > p {
  margin-bottom: 16px;
  color: #d0d9e7;
}

.quote-form {
  display: grid;
  gap: 16px;
}

.quote-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid #d5dbe5;
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
}

.quote-form textarea {
  min-height: 125px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.quote-form button {
  width: 100%;
  border: none;
}

.form-note {
  color: #c3cede;
  font-size: 12px;
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.contact-card {
  padding: 26px 20px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--white);
  text-align: center;
}

.contact-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 19px;
}

.contact-card p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.contact-card a {
  color: #80620c;
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* FOOTER */

.footer {
  padding: 32px 0;
  background: #071020;
  color: #c7d0df;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-content > p {
  font-size: 12px;
}

.footer-note {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid #273249;
  color: #9ba8bb;
  font-size: 12px;
}

/* ACCESSIBILITY */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* TABLET */

@media (max-width: 1000px) {
  .navbar {
    padding: 15px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-card {
    max-width: 650px;
  }

  .services-grid,
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .container {
    width: 91%;
  }

  .navbar {
    width: 91%;
    gap: 15px;
  }

  .brand {
    gap: 10px;
  }

  .logo {
    width: 44px;
    height: 44px;
    font-size: 12px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text small {
    font-size: 9px;
    letter-spacing: 0.7px;
  }

  .nav-links {
    gap: 10px 15px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-card {
    padding: 24px;
  }

  .services-grid,
  .articles-grid,
  .about-grid,
  .process-grid,
  .contact-grid,
  .article-tools {
    grid-template-columns: 1fr;
  }

  .service-card,
  .article-card,
  .process-card {
    padding: 23px;
  }

  .quote-grid {
    gap: 25px;
    padding: 24px 18px;
  }

  .about-panel {
    padding: 24px;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* WHATSAPP HEADER CONTACT */

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 13px;
  border: 1px solid #25D366;
  border-radius: 6px;
  background: #25D366;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
}

.whatsapp-icon {
  display: block;
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}

/* Make room for the WhatsApp link on smaller screens */
@media (max-width: 1000px) {
  .header-whatsapp {
    align-self: flex-start;
  }
}

@media (max-width: 400px) {
  .header-whatsapp {
    padding: 9px 11px;
    font-size: 12px;
  }
}

/* CONTACT ICONS */

.contact-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f3f5f8;
}

.contact-icon svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.whatsapp-color {
  color: #20b85a;
  background: #e8f9ef;
}

.phone-color {
  color: #b18b18;
  background: #fbf5df;
}

.email-color {
  color: #183b70;
  background: #eaf0fa;
}

.contact-card {
  overflow-wrap: anywhere;
}

.contact-card a {
  display: inline-block;
  margin-top: 4px;
}

/* FLOATING WHATSAPP BUTTON */

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 62px;
  height: 62px;
  border-radius: 50%;

  background: #25D366;
  color: #ffffff;

  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.floating-whatsapp svg {
  display: block;
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.floating-whatsapp:hover {
  background: #1da851;
  transform: scale(1.08);
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.3);
}

.floating-whatsapp:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* Smaller screens */
@media (max-width: 600px) {
  .floating-whatsapp {
    right: 16px;
    bottom: 18px;
    width: 56px;
    height: 56px;
  }

  .floating-whatsapp svg {
    width: 30px;
    height: 30px;
  }
}

/* ==========================================
   ZAM INTERACTIONS: HOVER, TOUCH & FOCUS
   ========================================== */

/* Smooth interaction defaults */
a,
button,
.btn,
.service-card,
.article-card,
.process-card,
.contact-card,
.about-panel,
.floating-whatsapp,
.header-whatsapp {
  -webkit-tap-highlight-color: transparent;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: no-preference) {
  a,
  button,
  .btn,
  .service-card,
  .article-card,
  .process-card,
  .contact-card,
  .about-panel,
  .floating-whatsapp,
  .header-whatsapp {
    transition:
      transform 220ms ease,
      box-shadow 220ms ease,
      border-color 220ms ease,
      background-color 220ms ease,
      color 220ms ease,
      opacity 220ms ease;
  }
}

/* Buttons */
.btn {
  position: relative;
  transform: translateY(0);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-gold:hover {
  background-color: var(--gold-light);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.25);
}

.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* Service cards */
.service-card {
  position: relative;
  overflow: hidden;
  border-color: var(--border);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.service-number {
  transition:
    transform 220ms ease,
    background-color 220ms ease;
}

.service-card:active {
  transform: scale(0.99);
}

/* Article cards */
.article-card {
  border-color: var(--border);
}

.article-card .article-tag {
  transition:
    background-color 220ms ease,
    color 220ms ease;
}

.article-body summary {
  padding: 5px 0;
  transition: color 180ms ease;
}

.article-body summary:active {
  color: var(--navy);
}

/* Process cards */
.process-card {
  border-color: var(--border);
}

.step-number {
  transition:
    background-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

/* Contact cards */
.contact-card {
  overflow: hidden;
}

.contact-card a {
  overflow-wrap: anywhere;
  transition: color 180ms ease;
}

/* Navigation links */
.nav-links a {
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

/* Form fields */
.quote-form input,
.quote-form select,
.quote-form textarea,
.article-tools input,
.article-tools select {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus,
.article-tools input:focus,
.article-tools select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
  outline: none;
}

/* Floating WhatsApp */
.floating-whatsapp {
  transform: translateY(0);
}

.floating-whatsapp:active {
  transform: scale(0.94);
}

/* Header WhatsApp button */
.header-whatsapp:active {
  transform: scale(0.97);
}

/* Keyboard accessibility */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* Mouse / trackpad: hover effects only on devices that support hover */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 14px 32px rgba(11, 23, 48, 0.11);
  }

  .service-card:hover::before {
    transform: scaleX(1);
  }

  .service-card:hover .service-number {
    transform: translateY(-2px);
    background-color: var(--gold);
  }

  .article-card:hover {
    transform: translateY(-5px);
    border-color: #d8c37c;
    box-shadow: 0 12px 28px rgba(11, 23, 48, 0.09);
  }

  .article-card:hover .article-tag {
    background-color: var(--gold);
    color: var(--navy);
  }

  .process-card:hover {
    transform: translateY(-4px);
    border-color: #d8c37c;
    box-shadow: 0 10px 25px rgba(11, 23, 48, 0.07);
  }

  .process-card:hover .step-number {
    background-color: var(--gold);
    color: var(--navy);
    transform: scale(1.06);
  }

  .contact-card:hover {
    transform: translateY(-4px);
    border-color: #d8c37c;
    box-shadow: 0 10px 25px rgba(11, 23, 48, 0.07);
  }

  .contact-card a:hover {
    color: #5f4706;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .nav-links a:hover::after {
    transform: scaleX(1);
  }

  .floating-whatsapp:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  }

  .header-whatsapp:hover {
    transform: translateY(-2px);
  }
}

/* Touchscreens: no sticky hover states */
@media (hover: none), (pointer: coarse) {
  .service-card:hover,
  .article-card:hover,
  .process-card:hover,
  .contact-card:hover {
    transform: none;
  }

  .service-card:active,
  .article-card:active,
  .process-card:active,
  .contact-card:active {
    transform: scale(0.99);
    border-color: var(--gold);
  }

  .btn,
  .floating-whatsapp,
  .header-whatsapp {
    touch-action: manipulation;
  }

  .btn:active {
    opacity: 0.85;
  }
}

/* Reduced motion: accessibility preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================
   ZAM: COMPLETE MOUSE HOVER FIX
   ========================================== */

/* Smooth effects for common interactive elements */
@media (hover: hover) and (pointer: fine) {

  /* All links */
  a:not(.brand):not(.logo) {
    transition:
      color 0.22s ease,
      background-color 0.22s ease,
      border-color 0.22s ease,
      box-shadow 0.22s ease,
      transform 0.22s ease;
  }

  /* Hero panel */
  .hero-card:hover {
    border-color: var(--gold);
    background-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
    transform: translateY(-4px);
  }

  /* About panel */
  .about-panel:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
  }

  /* Process cards */
  .process-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
  }

  /* Service number badges */
  .service-card:hover .service-number {
    background-color: var(--gold);
    color: var(--navy);
    transform: scale(1.06);
  }

  /* Article category badges */
  .article-card:hover .article-tag {
    background-color: var(--gold);
    color: var(--navy);
  }

  /* Clickable contact details */
  .contact-card a:hover {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  /* Email and phone links */
  a[href^="mailto:"]:hover,
  a[href^="tel:"]:hover {
    color: var(--gold);
  }

  /* All buttons */
  button:hover,
  .btn:hover {
    filter: brightness(1.04);
  }

  /* Article expand links */
  .article-body summary:hover {
    color: #a17a08;
  }

  /* Form dropdowns and search fields */
  input:hover,
  select:hover,
  textarea:hover {
    border-color: #b9a04d;
  }

  /* Footer links */
  .footer a:hover {
    color: var(--white);
  }

  /* Brand link */
  .brand:hover .logo {
    background-color: var(--gold);
    color: var(--navy);
  }

  /* Section eyebrow labels */
  .eyebrow {
    transition: color 0.22s ease;
  }
}

/* Ensure hover styles never remain stuck on touchscreens */
@media (hover: none), (pointer: coarse) {
  .hero-card:hover,
  .about-panel:hover,
  .process-card:hover {
    transform: none;
  }
}

/* Keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* =====================================
   ZAM: HERO, SERVICES & ARTICLES HOVER
   ===================================== */

@media (hover: hover) and (pointer: fine) {

  /* HOW WE CAN HELP - hero panel */
  .hero-card {
    transition:
      transform 0.3s ease,
      border-color 0.3s ease,
      box-shadow 0.3s ease,
      background-color 0.3s ease;
  }

  .hero-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    background-color: rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  }

  .hero-card li {
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .hero-card li:hover {
    color: var(--gold-light);
    transform: translateX(5px);
  }

  /* RESEARCH & ACADEMIC SUPPORT - service cards */
  .service-card {
    transition:
      transform 0.28s ease,
      border-color 0.28s ease,
      box-shadow 0.28s ease;
  }

  .service-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold);
    box-shadow: 0 16px 34px rgba(11, 23, 48, 0.12);
  }

  .service-card .service-number {
    transition:
      background-color 0.25s ease,
      color 0.25s ease,
      transform 0.25s ease;
  }

  .service-card:hover .service-number {
    background-color: var(--gold);
    color: var(--navy);
    transform: scale(1.08);
  }

  .service-card h3 {
    transition: color 0.25s ease;
  }

  .service-card:hover h3 {
    color: #8a6a0b;
  }

  /* ARTICLES & JOURNALS - article cards */
  .article-card {
    transition:
      transform 0.28s ease,
      border-color 0.28s ease,
      box-shadow 0.28s ease;
  }

  .article-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 15px 32px rgba(11, 23, 48, 0.10);
  }

  .article-card h3 {
    transition: color 0.25s ease;
  }

  .article-card:hover h3 {
    color: #8a6a0b;
  }

  .article-card .article-tag {
    transition:
      background-color 0.25s ease,
      color 0.25s ease;
  }

  .article-card:hover .article-tag {
    background-color: var(--gold);
    color: var(--navy);
  }

  .article-body summary {
    transition: color 0.2s ease;
  }

  .article-body summary:hover {
    color: #a17a08;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* Section headings */
  .section-heading h2 {
    transition: color 0.25s ease;
  }

  .section-heading:hover h2 {
    color: #8a6a0b;
  }
}

/* Touchscreen devices: no sticky hover states */
@media (hover: none), (pointer: coarse) {
  .hero-card:hover,
  .service-card:hover,
  .article-card:hover {
    transform: none;
  }
}

/* =========================================
   ZAM: MOUSE POINTER & HOVER FIX
   ========================================= */

/* Show the hand cursor on clickable elements */
a,
button,
.btn,
summary,
select,
input[type="submit"],
input[type="button"],
input[type="checkbox"],
input[type="radio"],
label[for],
[role="button"] {
  cursor: pointer;
}

/* Text fields use the text-selection cursor */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
textarea {
  cursor: text;
}

/* Make all interactive links respond visibly */
a {
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

a:hover {
  text-decoration-thickness: 2px;
}

/* Navigation links */
.nav-links a:hover {
  color: var(--gold-light);
  cursor: pointer;
}

/* Buttons */
.btn:hover,
button:hover {
  cursor: pointer;
  filter: brightness(1.08);
}

/* Service cards */
.service-card:hover {
  cursor: pointer;
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(11, 23, 48, 0.12);
}

/* Article cards */
.article-card:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(11, 23, 48, 0.10);
}

/* Process cards */
.process-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(11, 23, 48, 0.09);
}

/* Contact cards */
.contact-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(11, 23, 48, 0.09);
}

/* Article expand/collapse controls */
.article-body summary {
  cursor: pointer;
}

.article-body summary:hover {
  color: #9a740b;
}

/* Form fields */
input:hover,
select:hover,
textarea:hover {
  border-color: #b99a35;
}

/* Contact links */
.contact-card a:hover,
.footer a:hover {
  color: var(--gold);
}

/* WhatsApp buttons */
.floating-whatsapp,
.header-whatsapp {
  cursor: pointer;
}

.floating-whatsapp:hover,
.header-whatsapp:hover {
  filter: brightness(0.94);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Hero panel */
.hero-card:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

/* About panel */
.about-panel:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

/* Keep hover changes on mouse-capable devices */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover,
  .article-card:hover,
  .process-card:hover,
  .contact-card:hover,
  .hero-card:hover,
  .about-panel:hover {
    transform: translateY(-4px);
  }
}

/* Keyboard accessibility */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Touch devices should not retain hover states */
@media (hover: none), (pointer: coarse) {
  .service-card:hover,
  .article-card:hover,
  .process-card:hover,
  .contact-card:hover,
  .hero-card:hover,
  .about-panel:hover {
    transform: none;
  }
}

/* WARM IVORY WEBSITE BACKGROUND */

body {
  background-color: #F7F4EB;
}

.section {
  background-color: #F7F4EB;
}

.section-light {
  background-color: #EEE8D9;
}

/* Keep cards clean against the warmer background */
.service-card,
.article-card,
.process-card,
.contact-card {
  background-color: #FFFFFF;
}

/* Subtle champagne background for the About panel */
.about-panel {
  background-color: #EEE8D9;
  border-color: #DED2B5;
}

/* Keep forms readable */
.article-tools input,
.article-tools select {
  background-color: #FFFFFF;
}

/* Hero eyebrow text */
.hero-content > .eyebrow {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 1px;
}

@media (max-width: 600px) {
  .hero-content > .eyebrow {
    font-size: 28px;
    line-height: 1.3;
  }
}

/* Increase navigation font size only */

header nav a {
    font-size: 1.05rem;
    font-weight: 700;
}

/* =========================================
   ZAM WEBSITE - MOBILE RESPONSIVENESS
========================================= */

/* Prevent unwanted horizontal scrolling */
html {
    width: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

img,
video,
iframe {
    max-width: 100%;
}

/* Tablet screens */
@media (max-width: 900px) {
    header,
    header.header {
        padding: 16px 4%;
        gap: 16px;
    }

    header nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 14px;
    }

    header nav a {
        font-size: 1rem;
    }

    section {
        scroll-margin-top: 20px;
    }
}

/* Mobile phones */
@media (max-width: 600px) {

    /* Header and navigation */
    header,
    header.header {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 18px 5%;
    }

    header .brand {
        max-width: 100%;
    }

    header nav {
        display: flex;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 8px 16px;
    }

    header nav a {
        display: inline-block;
        max-width: 100%;
        padding: 5px 0;
        font-size: 1rem;
        line-height: 1.5;
        white-space: normal;
    }

    header .header-cta {
        align-self: flex-start;
        max-width: 100%;
    }

    /* Main sections and content */
    main {
        width: 100%;
        max-width: 100%;
    }

    section {
        max-width: 100%;
    }

    .hero {
        padding: 55px 6%;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .hero p,
    .intro {
        font-size: 1rem;
        line-height: 1.75;
    }

    /* Content containers */
    .container,
    .content,
    .section-inner,
    .library-container {
        width: 90%;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    /* Service, article and resource cards */
    .services-grid,
    .service-grid,
    .articles-grid,
    .article-grid,
    .resource-grid,
    .projects-grid,
    .free-pdf-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px;
    }

    .service-card,
    .article-card,
    .resource-card,
    .free-pdf-card {
        min-width: 0;
        width: 100%;
        padding: 22px;
        overflow-wrap: anywhere;
    }

    /* Forms and search fields */
    form,
    .quote-form {
        width: 100%;
        max-width: 100%;
    }

    input,
    select,
    textarea {
        max-width: 100%;
        min-width: 0;
    }

    form input,
    form select,
    form textarea {
        width: 100%;
    }

    /* Buttons */
    button,
    .button,
    .btn,
    .pdf-download {
        max-width: 100%;
    }

    /* Contact and footer */
    .contact-grid,
    .contact-content {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    footer {
        padding: 25px 5%;
        overflow-wrap: anywhere;
    }

    /* Floating WhatsApp button */
    .floating-whatsapp,
    .whatsapp-float {
        right: 14px !important;
        bottom: 14px !important;
        z-index: 9999;
    }
}

/* Small phones */
@media (max-width: 380px) {
    header nav {
        gap: 6px 12px;
    }

    header nav a {
        font-size: 0.94rem;
    }

    .hero {
        padding: 42px 5%;
    }

    .service-card,
    .article-card,
    .resource-card,
    .free-pdf-card {
        padding: 18px;
    }
}

/* MOBILE HAMBURGER MENU */

.menu-toggle {
    display: none;
    padding: 9px 13px;
    color: #e5c779;
    background: transparent;
    border: 1px solid #c9a34a;
    border-radius: 7px;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 768px) {
    header.header {
        position: relative;
        align-items: flex-start;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: flex-end;
    }

    header nav#mainNav {
        display: none !important;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        padding: 12px 0;
    }

    header nav#mainNav.is-open {
        display: flex !important;
    }

    header nav#mainNav a {
        display: block;
        width: 100%;
        padding: 11px 14px;
        border-radius: 6px;
        font-size: 1rem;
        text-align: left;
    }

    header nav#mainNav a:hover {
        background: rgba(201, 163, 74, 0.15);
    }
}

/* ZAM MOBILE MENU - COMPACT CLOSED STATE */

@media (max-width: 768px) {
    header.header {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 22px 7%;
    }

    header.header .brand {
        max-width: calc(100% - 70px);
    }

    header.header .menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 52px;
        width: 52px;
        height: 48px;
        margin-left: auto;
    }

    header.header nav#mainNav {
        display: none !important;
        flex: 0 0 100%;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding-top: 12px;
        border-top: 1px solid rgba(201, 163, 74, 0.3);
    }

    header.header nav#mainNav.is-open {
        display: flex !important;
    }

    header.header nav#mainNav a {
        display: block;
        width: 100%;
        padding: 12px 10px;
        font-size: 1rem;
        border-radius: 6px;
    }

    header.header nav#mainNav a:hover {
        background: rgba(201, 163, 74, 0.12);
    }

    header.header .header-cta {
        margin-top: 4px;
    }
}

/* ZAM MOBILE NAVIGATION - FINAL OVERRIDE */

@media screen and (max-width: 768px) {

    header.header {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    header.header .brand {
        max-width: calc(100% - 70px) !important;
    }

    header.header #menuToggle,
    header.header .menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 52px !important;
        height: 48px !important;
        flex: 0 0 52px !important;
        margin-left: auto !important;
        cursor: pointer !important;
    }

    /* Hide navigation links until the menu is opened */
    header.header nav#mainNav {
        display: none !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        flex: 0 0 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
        padding: 12px 0 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        transform: none !important;
        background: transparent !important;
        box-sizing: border-box !important;
    }

    /* Only show links when hamburger is clicked */
    header.header nav#mainNav.is-open {
        display: flex !important;
    }

    header.header nav#mainNav a {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 10px !important;
        white-space: normal !important;
    }
}

/* FIX ZAM MOBILE HAMBURGER NAVIGATION */

@media (max-width: 768px) {
    header.header {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative !important;
    }

    header.header .menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 52px !important;
        height: 48px !important;
        margin-left: auto !important;
        color: #e5c779 !important;
        background: transparent !important;
        border: 1px solid #c9a34a !important;
        border-radius: 8px !important;
        font-size: 1.7rem !important;
        cursor: pointer !important;
    }

    header.header nav.navbar {
        display: none !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 5px !important;
        padding-top: 15px !important;
        margin: 0 !important;
        position: static !important;
        background: transparent !important;
    }

    header.header nav.navbar.is-open {
        display: flex !important;
    }

    header.header nav.navbar a {
        display: block !important;
        width: 100% !important;
        padding: 12px 10px !important;
        box-sizing: border-box !important;
        text-align: left !important;
        white-space: normal !important;
    }
}

/* Keep the hamburger hidden on desktop */
@media (min-width: 769px) {
    header.header .menu-toggle {
        display: none !important;
    }

    header.header nav.navbar {
        display: flex !important;
    }
}

/* =====================================
   ZAM HEADER SPACING FIX
===================================== */

header.header {
    min-height: 0 !important;
    height: auto !important;
    padding: 22px 4% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    box-sizing: border-box !important;
}

header.header .brand {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

header.header nav.navbar {
    flex: 0 1 auto !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 6px 12px !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

header.header nav.navbar a {
    padding: 8px 6px !important;
    font-size: 0.95rem !important;
    white-space: nowrap !important;
}

/* Hide hamburger on desktop */
header.header .menu-toggle {
    display: none !important;
}

/* MOBILE HEADER */
@media (max-width: 768px) {
    header.header {
        padding: 20px 5% !important;
        flex-wrap: wrap !important;
        gap: 16px !important;
    }

    header.header .brand {
        max-width: calc(100% - 65px) !important;
    }

    header.header .menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 48px !important;
        width: 48px !important;
        height: 46px !important;
        margin-left: auto !important;
    }

    header.header nav.navbar {
        display: none !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
        padding-top: 12px !important;
    }

    header.header nav.navbar.is-open {
        display: flex !important;
    }

    header.header nav.navbar a {
        width: 100% !important;
        white-space: normal !important;
        padding: 11px 8px !important;
    }
}

/* Align ZAM branding left and navigation right */

header.header {
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    padding-left: 24px;
    padding-right: 40px;
}

header.header .brand {
    margin-right: auto;
    flex-shrink: 0;
}

/* FIX: ZAM BRAND FAR LEFT, NAVIGATION RIGHT */

header.header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 20px 24px !important;
    box-sizing: border-box !important;
}

header.header > .brand,
header.header > a.brand {
    margin: 0 auto 0 0 !important;
    flex: 0 0 auto !important;
    position: static !important;
    left: auto !important;
    transform: none !important;
}

header.header > nav.navbar {
    margin-left: auto !important;
    flex: 0 1 auto !important;
}

/* Keep mobile header layout separate */
@media (max-width: 768px) {
    header.header {
        padding: 20px 5% !important;
    }
}

/* FIX MOBILE HEADER SPACING */

@media (max-width: 768px) {
    header.header {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 52px !important;
        align-items: center !important;
        column-gap: 12px !important;
        row-gap: 12px !important;
        padding: 22px 18px !important;
        min-height: 0 !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    header.header .brand {
        grid-column: 1;
        grid-row: 1;
        min-width: 0 !important;
        margin: 0 !important;
    }

    header.header .menu-toggle {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        width: 52px !important;
        height: 48px !important;
        margin: 0 !important;
    }

    header.header nav.navbar {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    header.header nav.navbar:not(.is-open) {
        display: none !important;
    }

    header.header nav.navbar.is-open {
        display: block !important;
    }

    header.header nav.navbar .nav-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
    }

    header.header nav.navbar .nav-links a {
        display: block !important;
        padding: 11px 8px !important;
    }
}

/* REDUCE HERO TEXT SIZE ON MOBILE */

@media (max-width: 768px) {
    .hero h1 {
        font-size: clamp(1.65rem, 5.5vw, 2.2rem) !important;
        line-height: 1.25 !important;
        letter-spacing: 0.5px !important;
    }

    .hero h2 {
        font-size: clamp(1.45rem, 4.8vw, 2rem) !important;
        line-height: 1.35 !important;
        letter-spacing: -0.3px !important;
    }

    .hero p {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }
}

/* Extra-small phones */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.55rem !important;
    }

    .hero h2 {
        font-size: 1.35rem !important;
    }
}

/* FINER HERO FONT SIZES FOR MOBILE */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.55rem !important;
        line-height: 1.3 !important;
        letter-spacing: 0.3px !important;
    }

    .hero h2 {
        font-size: 1.3rem !important;
        line-height: 1.4 !important;
        letter-spacing: -0.2px !important;
    }

    .hero p {
        font-size: 0.92rem !important;
        line-height: 1.65 !important;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.4rem !important;
    }

    .hero h2 {
        font-size: 1.2rem !important;
    }
}

/* DESKTOP HERO TEXT SIZE */

@media (min-width: 769px) {
    .hero h1 {
        font-size: 18px !important;
        line-height: 1.4 !important;
        letter-spacing: 0.5px;
    }

    .hero h2 {
        font-size: 18px !important;
        line-height: 1.5 !important;
        letter-spacing: 0;
    }

    .hero p {
        font-size: 16px !important;
        line-height: 1.7 !important;
    }
}

/* FIX EXCESS SPACE ABOVE THE HERO CONTENT */

.hero {
    margin-top: 0 !important;
    padding-top: 30px !important;
}

/* Desktop */
@media (min-width: 769px) {
    .hero {
        padding-top: 30px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        padding-top: 25px !important;
    }
}

/* COMPACT HERO SECTION ON PHONES */

@media (max-width: 768px) {
    .hero {
        padding: 20px 18px !important;
        margin-top: 0 !important;
        min-height: auto !important;
        gap: 12px !important;
    }

    .hero h1 {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
        letter-spacing: 0.2px !important;
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }

    .hero h2 {
        font-size: 1.15rem !important;
        line-height: 1.4 !important;
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }

    .hero p {
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
        margin-top: 8px !important;
        margin-bottom: 12px !important;
    }

    .hero .button,
    .hero .btn {
        padding: 11px 16px !important;
        font-size: 0.88rem !important;
    }
}

/* Extra-small phones */
@media (max-width: 380px) {
    .hero {
        padding: 16px 14px !important;
    }

    .hero h1 {
        font-size: 1.15rem !important;
    }

    .hero h2 {
        font-size: 1.05rem !important;
    }
}

/* COMPACT HERO SECTION ON PHONES */

@media (max-width: 768px) {
    .hero {
        padding: 20px 18px !important;
        margin-top: 0 !important;
        min-height: auto !important;
        gap: 12px !important;
    }

    .hero h1 {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
        letter-spacing: 0.2px !important;
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }

    .hero h2 {
        font-size: 1.15rem !important;
        line-height: 1.4 !important;
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }

    .hero p {
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
        margin-top: 8px !important;
        margin-bottom: 12px !important;
    }

    .hero .button,
    .hero .btn {
        padding: 11px 16px !important;
        font-size: 0.88rem !important;
    }
}

/* Extra-small phones */
@media (max-width: 380px) {
    .hero {
        padding: 16px 14px !important;
    }

    .hero h1 {
        font-size: 1.15rem !important;
    }

    .hero h2 {
        font-size: 1.05rem !important;
    }
}

/* =====================================
   ZAM CLIENT TESTIMONIALS
===================================== */

.testimonials {
    padding: 80px 6%;
    background: #f8f5ed;
}

.testimonials-heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.testimonials-heading .eyebrow {
    margin-bottom: 12px;
    color: #a17c2d;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.testimonials-heading h2 {
    margin: 0 0 16px;
    color: #10243a;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.25;
}

.testimonials-heading > p:last-child {
    color: #647184;
    font-size: 1rem;
    line-height: 1.8;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    position: relative;
    padding: 30px 25px;
    background: #fffdf8;
    border: 1px solid #e8dfcc;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(16, 36, 58, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: #c9a34a;
    box-shadow: 0 16px 34px rgba(16, 36, 58, 0.11);
}

.testimonial-stars {
    margin-bottom: 18px;
    color: #c9a34a;
    font-size: 1.1rem;
    letter-spacing: 3px;
}

.testimonial-card blockquote {
    margin: 0 0 25px;
    color: #35445a;
    font-size: 0.97rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid #eee5d4;
}

.testimonial-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: #e5c779;
    background: #10243a;
    border-radius: 50%;
    font-weight: 800;
}

.testimonial-author h3 {
    margin: 0 0 5px;
    color: #10243a;
    font-size: 0.95rem;
}

.testimonial-author p {
    margin: 0;
    color: #718096;
    font-size: 0.82rem;
}

/* Tablet */
@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 600px) {
    .testimonials {
        padding: 50px 5%;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }
}
.service-image {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}
.brand-logo {
    width: 65px;
    height: 55px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* ZAM BRAND - REFINED HEADER */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo {
    width: 100px;
    height: 72px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.brand:hover .brand-logo {
    transform: scale(1.04);
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.brand-text strong {
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1.4px;
    line-height: 1.2;
}

.brand-text small {
    color: #E5B536;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 65px;
        height: 55px;
    }

    .brand-text strong {
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .brand-text small {
        font-size: 8px;
        letter-spacing: 0.5px;
    }
}
.brand-logo {
    width: 100px;
    height: 72px;
    object-fit: contain;
    background: transparent;
    mix-blend-mode: screen;
}

/* Circular container for the ZAM logo */
.brand-logo {
    width: 76px;
    height: 76px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;

    /* Circular shape */
    border-radius: 50%;

    /* Gold border and navy background */
    border: 2px solid #D9A928;
    background-color: #FFFFFF;

    /* Space between the logo and border */
    padding: 5px;
    box-sizing: border-box;
}

/* Align logo and brand text */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

/* Mobile sizing */
@media (max-width: 600px) {
    .brand-logo {
        width: 60px;
        height: 60px;
        padding: 4px;
    }

    .brand {
        gap: 10px;
    }
}
/* Donate link in homepage navigation */
.donate-nav-link {
    color: #ffffff !important;
    background: #15803d;
    padding: 9px 16px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.donate-nav-link:hover {
    background: #166534;
}
/* Hero action buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Donate button */
.donate-hero-button {
    display: inline-block;
    padding: 15px 24px;
    background-color: #15803d;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid #22a447;
    transition: background-color 0.3s ease;
}

.donate-hero-button:hover {
    background-color: #166534;
}

/* Mobile layout */
@media (max-width: 480px) {
    .hero-buttons {
        gap: 10px;
    }

    .donate-hero-button {
        padding: 13px 18px;
    }
}