@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Inter:wght@400;500;600;700&display=swap");

.af-site {
  --navy: #132c38;
  --deep-navy: #0c202a;
  --orange: #db4a0b;
  --rust: #a63408;
  --ink: #172930;
  --muted: #495b62;
  --line: #dbe3e6;
  --surface: #f1f5f6;
  --heading: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --body: Inter, "Segoe UI", sans-serif;
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.7 var(--body);
}

.af-site *, .af-site *::before, .af-site *::after { box-sizing: border-box; }
.af-site h1, .af-site h2, .af-site h3, .af-site h4 {
  color: inherit;
  font: 700 1.85rem/1.12 var(--heading);
  letter-spacing: .005em;
  margin: 0 0 .75rem;
}
.af-site h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.af-site h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); }
.af-site a { color: var(--rust); }
.af-site a:hover { color: var(--navy); }
.af-site :focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.af-site img { max-width: 100%; }

.af-skip {
  position: fixed;
  top: .5rem;
  left: 1rem;
  z-index: 1200;
  transform: translateY(-150%);
  padding: .6rem 1rem;
  background: white;
}
.af-skip:focus { transform: none; }

.af-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-top: 4px solid var(--orange);
  border-bottom: 1px solid var(--line);
}
.af-nav-wrap {
  position: relative;
  width: min(100% - 3rem, 75rem);
  margin: auto;
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.af-brand { display: block; flex: none; }
.af-brand img { display: block; width: 8rem; height: auto; }
.af-nav { display: flex; align-items: center; gap: clamp(.75rem, 2.7vw, 2.5rem); }
.af-nav > a, .af-nav summary, .af-menu-button {
  font: 650 .95rem/1.4 var(--body);
  color: var(--navy);
  padding: .65rem .25rem;
}
.af-nav [aria-current="page"]:not(.af-contact-link) { color: var(--rust); text-decoration: underline; text-underline-offset: .35em; }
.af-nav .af-contact-link, .af-menu-button {
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
  border-radius: .35rem;
  padding: .65rem 1rem;
}
.af-nav .af-contact-link:hover, .af-menu-button:hover { background: var(--deep-navy); color: #fff; }
.af-nav summary { cursor: pointer; list-style: none; }
.af-nav summary::-webkit-details-marker { display: none; }
.af-nav summary::after {
  content: "";
  display: inline-block;
  width: .45rem;
  height: .45rem;
  margin: 0 .2rem .2rem .65rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.af-nav details[open] > summary::after { transform: rotate(225deg); margin-bottom: 0; }
.af-mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) 3fr;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  box-shadow: 0 1rem 2.5rem #0c202a29;
  max-height: min(75vh, 35rem);
  overflow: auto;
  overscroll-behavior: contain;
}
.af-mega-intro { padding: 1.5rem; background: var(--surface); }
.af-mega-intro p { color: var(--navy); font: 700 2rem/1 var(--heading); }
.af-mega-intro a { font-weight: 600; text-decoration: underline; text-underline-offset: .25em; }
.af-mega-categories { padding: .75rem 1.5rem; }
.af-category + .af-category { border-top: 1px solid var(--line); }
.af-category summary { padding: .75rem 0; }
.af-category ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem 1rem; margin: 0 0 .85rem; padding: 0; list-style: none; }
.af-category a { display: block; padding: .3rem 0; color: var(--muted); font-size: .92rem; }
.af-category a:hover { color: var(--rust); text-decoration: underline; }
.af-menu-button[hidden] { display: none; }

.af-hero, .af-page-banner, .af-site .page-h {
  background: var(--navy);
  background-image: linear-gradient(115deg, var(--deep-navy), var(--navy));
  color: #fff;
}
.af-hero-inner {
  width: min(100% - 3rem, 75rem);
  margin: auto;
  min-height: clamp(29rem, 42vw, 36rem);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 5rem);
}
.af-hero h1 { max-width: 11ch; margin-bottom: 1.25rem; text-wrap: balance; }
.af-hero-copy > p { color: #dce6e9; max-width: 41ch; }
.af-hero-copy .af-eyebrow { color: #ffad83; font-size: .875rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.af-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.65rem; }
.af-site .af-button, .af-site .main-button {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: .35rem;
  background: var(--orange);
  color: var(--deep-navy);
  font: 700 .95rem/1.4 var(--body);
  padding: .8rem 1.15rem;
  text-align: center;
  text-transform: none;
}
.af-site .af-button:hover, .af-site .main-button:hover { background: #fb7438; color: var(--deep-navy); }
.af-site .af-button-outline { border-color: #88a0a9; background: transparent; color: #fff; }
.af-site .af-button-outline:hover { background: #fff; }
.af-hero-media {
  min-width: 0;
  padding: .45rem;
  background: #ffffff17;
  border: 1px solid #ffffff43;
  border-right: 4px solid var(--orange);
  border-radius: .5rem;
}
.af-hero .site-slider, .af-hero .flexslider { height: auto; margin: 0; overflow: hidden; background: none; border: 0; }
.af-hero .slides img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.af-hero .slides .overlay { display: none; }
.af-hero .flexslider .flex-direction-nav a { color: #fff; }
.af-hero .flex-direction-nav a:focus-visible { opacity: 1; }

.af-page-banner, .af-site .page-h { height: auto; margin: 0; padding: clamp(2.25rem, 6vw, 5rem) 0; }
.af-site .page-h h1, .af-site .page-h h3, .af-page-banner h1 { color: #fff; margin: 0; text-transform: none; }
.af-site .page-h h3 { font-size: clamp(2.6rem, 5vw, 4rem); }
.af-site .page-h .text-center { text-align: left; }
.af-site main { overflow-wrap: anywhere; }
.af-site main > :is(.first-section, .second-section, .third-section, .fourth-section, .fifth-section, .sixth-section, .contact, .products) {
  background: #fff !important;
  margin: 0 !important;
  height: auto !important;
  padding: clamp(2.3rem, 5vw, 4.5rem) 0 !important;
}
.af-site main > :is(.second-section, .fourth-section, .sixth-section) { background: var(--surface) !important; }
.af-site main :is(.first-section, .third-section, .fifth-section) > .container > .row { display: flex; flex-wrap: wrap; align-items: center; row-gap: 1.5rem; }
.af-site main :is(.first-section, .third-section, .fifth-section) > .container > .row::before,
.af-site main :is(.first-section, .third-section, .fifth-section) > .container > .row::after { display: none; }
.af-site main .image-holder { margin: 0 !important; text-align: center; }
.af-site main .image-holder img { width: auto; max-width: 100%; height: auto; max-height: 35rem; object-fit: contain; margin-inline: auto; border-radius: .45rem; }
.af-site main .first-section .image-holder { padding: clamp(.8rem, 2vw, 1.5rem); background: var(--surface); border: 1px solid var(--line); border-radius: .65rem; }
.af-site main p { font-size: 1rem !important; text-align: start !important; }
.af-site main .af-eyebrow { font-size: .875rem !important; }
.af-site main strong { color: inherit; }
.af-site main :is(h1, h2, h3, h4)[style] { color: inherit !important; margin-inline: 0 !important; }
.af-home #our-products { scroll-margin-top: 6rem; }
.af-site .second-section .praduct_txt { margin-bottom: 1.5rem; }

.af-site .af-card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  margin: 0 0 1rem;
}
.af-site .af-card-row::before, .af-site .af-card-row::after { display: none; }
.af-site .af-card-row > div {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 1.05rem;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: #fff;
}
.af-site .af-card-row > div:hover { border-color: #d18d71; }
.af-site .af-card-row h2 { font-size: 1.7rem; margin-top: .9rem; }
.af-site .af-card-row img {
  width: 100%;
  height: clamp(8rem, 14vw, 12rem);
  margin: 0;
  padding: .55rem;
  object-fit: contain;
  background: var(--surface);
  border-radius: .3rem;
}
.af-site .af-card-row a { color: var(--rust) !important; }
.af-site .af-card-row a:has(h2) { color: var(--ink) !important; }
.af-site .af-card-row a:hover { text-decoration: underline; }
.af-site .af-card-row p { font-weight: 400 !important; }
.af-tool-links { margin: .3rem 0 0; padding-left: 1.1rem; font-size: .9rem; }

.af-site main .table { display: block; overflow-x: auto; background: #fff; color: var(--ink) !important; border: 1px solid var(--line); font-weight: 400 !important; }
.af-site main .table th { background: var(--navy); color: #fff; min-width: 7rem; }
.af-site main .table :is(th, td) { padding: .75rem; border-color: var(--line); }
.af-site main .table tr:nth-child(even) td { background: var(--surface); }

.af-site .contact > .container > .row { display: flex; flex-wrap: wrap; align-items: stretch; row-gap: 1.5rem; }
.af-site .contact > .container > .row::before, .af-site .contact > .container > .row::after { display: none; }
.af-site .map-holder { height: 100%; min-height: 24rem; }
.af-site .map-holder iframe { width: 100%; min-height: 24rem; height: 100%; border-radius: .55rem; }
.af-site .contact form { display: flow-root; margin: 0 1rem; padding: 1.35rem .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: .55rem; }
.af-site .contact fieldset { margin-bottom: .75rem; }
.af-site .contact fieldset :is(input, textarea) { color: var(--ink); background: #fff; border: 1px solid #a7b8bf; border-radius: .3rem; font: inherit; }
.af-site .contact fieldset :is(input, textarea):focus { border: 1px solid var(--orange); }
.af-site .contact fieldset textarea { resize: vertical; }

.af-footer { background: var(--deep-navy); color: #dbe6ea; border-top: 4px solid var(--orange); padding: clamp(2rem, 5vw, 4rem) 0; }
.af-footer > .container > .row { display: grid; grid-template-columns: .8fr 1.25fr 1fr; align-items: start; row-gap: 1.75rem; }
.af-footer > .container > .row::before, .af-footer > .container > .row::after { display: none; }
.af-footer > .container > .row > div { float: none; width: auto; margin: 0 !important; min-width: 0; text-align: left; }
.af-footer h2 { font-size: 1.8rem; color: #fff; }
.af-footer p { margin-bottom: .5rem; overflow-wrap: anywhere; }
.af-footer b { font-weight: 500; }
.af-footer br + br { display: none; }
.af-footer a, .af-footer a:hover { color: #ffad83; }
.af-footer-brand { display: inline-block; margin: 0 0 .7rem; padding: .3rem .6rem; background: #fff; border-radius: .35rem; }
.af-footer-brand img { display: block; width: 8rem; height: auto; }
.af-footer iframe { max-width: 100%; border-radius: .35rem; }
.af-whatsapp { position: fixed; z-index: 900; right: 1rem; bottom: 1rem; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 .2rem .8rem #0c202a35; background: #fff; }
.af-whatsapp img { display: block; }
.af-site #back-to-top { right: 1rem; bottom: 4.25rem; padding: .35rem .75rem; border: 1px solid #fff; border-radius: .35rem; background: var(--navy); color: #fff; }

@media (max-width: 991px) {
  .af-site main :is(.first-section, .third-section, .fifth-section, .contact) > .container > .row > div { width: 100%; }
  .af-hero h1 { font-size: clamp(2.5rem, 7vw, 4.2rem); }
}

@media (max-width: 700px) {
  .af-nav-wrap, .af-hero-inner { width: calc(100% - 2rem); }
  .af-nav-wrap { min-height: 4.5rem; flex-wrap: wrap; gap: 0; }
  .af-brand img { width: 6.5rem; }
  .af-nav { width: 100%; flex-wrap: wrap; gap: .5rem; }
  .af-products-menu { position: relative; }
  .af-nav:not(.af-nav-enhanced) .af-mega-menu { position: static; }
  .af-nav-enhanced {
    position: absolute;
    top: 100%;
    left: 0;
    display: grid;
    padding: .8rem;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 .6rem 1.5rem #0c202a29;
    max-height: calc(100dvh - 5rem);
    overflow: auto;
  }
  .af-nav-enhanced:not(.is-open) { display: none; }
  .af-nav-enhanced > a, .af-nav-enhanced .af-products-menu > summary { padding: .65rem .75rem; }
  .af-mega-menu { position: static; display: block; box-shadow: none; max-height: none; overflow: visible; }
  .af-mega-intro, .af-mega-categories { padding: .6rem .8rem; }
  .af-mega-intro p { display: none; }
  .af-category ul { grid-template-columns: 1fr; }
  .af-hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .af-hero h1 { max-width: 16ch; }
  .af-footer > .container > .row { grid-template-columns: 1fr; }
}

@keyframes af-enter {
  from {
    opacity: 0;
    transform: translateY(.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .af-hero-copy { animation: af-enter 420ms ease-out both; }
  .af-hero-media { animation: af-enter 500ms ease-out 110ms both; }
  .af-site .page-h :is(h1, h3), .af-page-banner h1 { animation: af-enter 350ms ease-out both; }

  .af-site .af-card-row > div {
    transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out;
  }
  .af-site :is(.af-button, .main-button, .af-contact-link) {
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .af-site .af-card-row > div:hover {
      transform: translateY(-.25rem);
      box-shadow: 0 .75rem 1.5rem #0c202a17;
    }
    .af-site :is(.af-button, .main-button, .af-contact-link):hover { transform: translateY(-.125rem); }
  }

  .af-site .af-card-row > div:has(:focus-visible) {
    border-color: #d18d71;
    box-shadow: 0 .75rem 1.5rem #0c202a17;
  }
}

@media (prefers-reduced-motion: reduce) {
  .af-site *, .af-site *::before, .af-site *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Keep the existing section content readable on the new light surfaces. */
.af-site main > :is(.first-section, .second-section, .third-section, .fourth-section, .fifth-section, .sixth-section, .contact, .products) { color: var(--ink); }
.af-site main .third-section :is(h2, ol li, ol li p) { color: inherit; }
.af-site main .third-section .col-md-6 { margin-bottom: 0; }
.af-site main .second-section .container .praduct_txt h2 { max-width: 45ch; }
.af-site main > .filter { margin: 0; padding: 1.25rem 0; background: var(--surface); }
.af-site .filter ul li { color: var(--navy); }
.af-site .filter ul li.active { color: var(--rust); }
.af-site .products .thumb-p .overlay-p { background: #132c38cb; }
.af-site main > .af-enquiry { background: var(--navy) !important; color: #fff; }
.af-enquiry .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-inline: 15px; }
.af-enquiry .row::before, .af-enquiry .row::after { display: none; }
.af-site .af-enquiry h2 { margin: 0; text-transform: none; }
.af-site .af-button:not(.af-button-outline), .af-site .main-button { background: #fa7237; }
.af-site .af-button:not(.af-button-outline):hover, .af-site .main-button:hover { background: #ff9869; }
.af-site .contact fieldset input { min-height: 2.85rem; }
.af-site .contact .col-md-5 { order: -1; }

@media (min-width: 1200px) {
  .af-home #our-products .af-card-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .af-site .container { padding-inline: 1rem; }
}

.af-capabilities {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  width: min(100% - 3rem, 75rem);
  margin: 0 auto;
  padding: 1rem 0;
  list-style: none;
  color: var(--navy);
  font-weight: 600;
  font-size: .9rem;
}
.af-capabilities li { border-inline-start: 2px solid var(--orange); padding-inline-start: .65rem; }

.af-hero [data-manual-gallery] .flex-direction-nav {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  height: auto;
  margin: 0;
  padding: .5rem .2rem .15rem;
}
.af-hero [data-manual-gallery] .flex-direction-nav a {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: .35rem .4rem;
  opacity: 1;
  color: #fff;
  font-size: .875rem;
  text-indent: 0;
  text-shadow: none;
}
.af-hero [data-manual-gallery] .flex-direction-nav a::before { display: none; }
.af-hero [data-manual-gallery] .flex-direction-nav a:hover { color: #ffad83; }

#quote { scroll-margin-top: 6rem; }
.af-site .contact .af-quote-form { padding: clamp(1rem, 3vw, 1.75rem); }
.af-quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.af-quote-wide { grid-column: 1 / -1; }
.af-quote-form label { display: block; font-size: .9rem; }
.af-quote-form :is(input, textarea) {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  padding: .5rem .65rem;
  border: 1px solid #a7b8bf;
  border-radius: .3rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.af-quote-form textarea { resize: vertical; }
.af-direct-contact { margin-bottom: 1rem; }
.af-direct-contact ul { padding: 0; margin: 0; list-style: none; }
.af-direct-contact a { font-weight: 600; }
.af-direct-contact + .map-holder { height: auto; }

@media (max-width: 480px) {
  .af-quote-fields { grid-template-columns: 1fr; }
}
