
html {
  scroll-behavior: smooth;
}


.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #22c55e;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.4);
  z-index: 999;
}

.whatsapp-float span {
  font-size: 1.1rem;
}

.whatsapp-float:hover {
  opacity: 0.9;
}


/* ============ RESET & GLOBAL ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Make any anchor target stop below the sticky header */
[id] {
  scroll-margin-top: 120px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #111827;
  background: #f3f4f6;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============ TOP UTILITY BAR (like ILO) ============ */
.top-bar {
  background: #0b3b91; /* Manoo blue */
  color: #e5e7eb;
  font-size: 0.78rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-left,
.top-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.top-link {
  opacity: 0.9;
  cursor: pointer;
}

.top-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ============ MAIN HEADER & NAV ============ */
header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  gap: 1.5rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Logo image */
.logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  line-height: 1.2;
}

.logo-text span:first-child {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo-text span:last-child {
  font-size: 0.78rem;
  color: #4b5563;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links > li {
  position: relative;
  font-size: 0.9rem;
}

.nav-links > li > a,
.nav-links > li > button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  color: #111827;
  padding: 0.25rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
}

/* Default hover */
.nav-links > li > a:hover,
.nav-links > li > button:hover {
  color: #0b3b91;
}

/* Active nav link (selected/current section) */
.nav-links a.active {
  color: #0b3b91;           /* Manoo blue */
  font-weight: 600;
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #0b3b91;
  border-radius: 999px;
}

.nav-links > li > button::after {
  content: "▾";
  font-size: 0.7rem;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  border-radius: 4px;
  padding: 0.5rem 0;
  display: none;
  z-index: 100;
}

.dropdown li a {
  display: block;
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  color: #111827;
}

.dropdown li a:hover {
  background: #f3f4f6;
  color: #0b3b91;
}

/* Show dropdown on hover (desktop) */
@media (min-width: 769px) {
  .nav-links > li:hover > .dropdown {
    display: block;
  }
}

/* Search */
.nav-search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-search input {
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  width: 150px;
}

.nav-search button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: #4b5563;
}

.nav-search button:hover {
  color: #0b3b91;
}

/* Mobile toggles */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #111827;
  display: block;
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(
      to right,
      rgba(15, 23, 42, 0.75),
      rgba(15, 23, 42, 0.2)
    ),
    url("https://images.pexels.com/photos/257700/pexels-photo-257700.jpeg?auto=compress&cs=tinysrgb&w=1600")
      center/cover no-repeat;
  color: #ffffff;
  padding: 2.5rem 0 2.8rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 0.6rem;
}

.hero-title {
  font-size: clamp(1.9rem, 2.4vw + 1.4rem, 2.6rem);
  line-height: 1.1;
  margin-bottom: 0.9rem;
  max-width: 22ch;
}

.hero-title span {
  color: #fbbf24;
}

.hero-text {
  font-size: 0.97rem;
  max-width: 45ch;
  color: #e5e7eb;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn-primary {
  border-radius: 999px;
  background: #fbbf24;
  color: #111827;
  border: none;
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary:hover {
  background: #facc15;
}

.btn-outline {
  border-radius: 999px;
  background: transparent;
  border: 1px solid #e5e7eb;
  color: #e5e7eb;
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.3);
}

.hero-side-card {
  background: rgba(15, 23, 42, 0.8);
  border-radius: 12px;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(156, 163, 175, 0.5);
}

.hero-side-card h3 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.hero-side-card p {
  font-size: 0.87rem;
  color: #e5e7eb;
  margin-bottom: 0.8rem;
}

.hero-stat {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.hero-stat span:first-child {
  color: #d1d5db;
}

/* ============ TILES SECTION ============ */
.tiles-section {
  background: #f9fafb;
  padding: 2.3rem 0 2.4rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.section-header h2 {
  font-size: 1.2rem;
}

.section-header a {
  font-size: 0.85rem;
  color: #0b3b91;
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tile {
  background: #ffffff;
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  border-color: #cbd5f5;
}

.tile h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #0b3b91;
}

.tile p {
  font-size: 0.85rem;
  color: #4b5563;
}

.tile span {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #6b7280;
}

/* ============ SECTION HIGHLIGHT (active content) ============ */
/* This is applied to the big section (e.g. #about, #contact, #safety-compliance) */
.section-highlight {
  border-left: 4px solid #0b3b91;  /* Manoo blue */
  background: #eef3ff;             /* very light blue, text still dark & readable */
}

/* For hero (dark background), keep text white, just add a subtle Manoo glow */
.hero.section-highlight {
  border-left: none;
  box-shadow: 0 0 0 3px rgba(11, 59, 145, 0.6) inset;
}

/* ============ NEWS & RESOURCES ROW ============ */
.content-row {
  padding: 0 0 2.6rem;
  background: #ffffff;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: flex-start;
}

.content-block h2 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.content-block p {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 0.8rem;
}

.news-list {
  display: grid;
  gap: 0.9rem;
}

.news-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
}

.news-thumb {
  background: #e5e7eb;
  border-radius: 6px;
  height: 60px;
}

.news-meta {
  font-size: 0.78rem;
  color: #6b7280;
  margin-bottom: 0.1rem;
}

.news-title {
  font-size: 0.9rem;
  color: #0b3b91;
}

.news-title:hover {
  text-decoration: underline;
}

.side-panel {
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 1rem 1.1rem;
}

.side-panel h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.side-panel ul li {
  font-size: 0.86rem;
  margin-bottom: 0.4rem;
}

.side-panel ul li a {
  color: #0b3b91;
}

.side-panel ul li a:hover {
  text-decoration: underline;
}

/* ============ QUICK LINKS STRIP ============ */
.strip-links {
  background: #0b3b91;
  color: #e5e7eb;
  padding: 1.4rem 0;
}

.strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.strip-inner h2 {
  font-size: 1.05rem;
  font-weight: 500;
}

.strip-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.strip-chip {
  border-radius: 999px;
  border: 1px solid rgba(229, 231, 235, 0.6);
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.strip-chip:hover {
  background: rgba(15, 23, 42, 0.2);
}

/* ============ FOOTER ============ */
footer {
  background: #111827;
  color: #9ca3af;
  padding: 2.2rem 0 1.3rem;
  font-size: 0.82rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-bottom: 1.6rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-text span:first-child {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.footer-logo-text span:last-child {
  font-size: 0.78rem;
  color: #d1d5db;
}

.footer-col h4 {
  color: #e5e7eb;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer-col ul li {
  margin-bottom: 0.3rem;
}

.footer-col ul li a {
  color: #9ca3af;
}

.footer-col ul li a:hover {
  color: #e5e7eb;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-bottom a {
  color: #9ca3af;
  margin-left: 0.6rem;
}

.footer-bottom a:hover {
  color: #e5e7eb;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .tiles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-inner,
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links,
  .nav-search {
    display: none;
  }

  .nav-links.open,
  .nav-search.open {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem 0.4rem;
    gap: 0.6rem;
    border-bottom: 1px solid #e5e7eb;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border-radius: 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 0.2rem;
  }

  .dropdown.hidden-mobile {
    display: none;
  }

  .nav-search {
    position: absolute;
    top: calc(100% + 160px);
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 2rem;
  }

  .tiles-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
