/* ==========================================================================
   1. ROOT VARIABLES & GLOBAL STYLES
   ========================================================================== */
:root {
  --navy: #172b3a;
  --navy2: #0d2538;
  --orange: #ff7200;
  --ink: #17324b;
  --muted: #5e6c78;
  --line: #d5dee5;
  --paper: #fff;
  --soft: #f1f4f6;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3, p {
  margin-top: 0;
}

.container {
  width: min(1200px, 94%);
  margin-inline: auto;
}

/* ==========================================================================
   2. HEADER & BRANDING
   ========================================================================== */
.topbar {
  background: var(--paper);
}

.topbar-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-style: italic;
  line-height: .92;
  color: #1d2e3b;
  letter-spacing: -1px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border: 3px solid var(--orange);
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #243847;
  font-size: 11px;
  font-style: normal;
  flex-shrink: 0;
}

.brand-name {
  font-size: clamp(25px, 3vw, 37px);
}

.brand-name span {
  display: block;
  color: var(--orange);
  font-size: .48em;
  letter-spacing: 1px;
  text-align: right;
  margin-top: 4px;
}

.site-logo {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-brand .site-logo {
  width: 220px;
}

.contact-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icon {
  font-size: 23px;
  color: var(--navy2);
}

.contact-item address {
  font-style: normal;
  font-weight: 500;
  line-height: 1.35;
}

/* ==========================================================================
   3. NAVIGATION & DROPDOWNS
   ========================================================================== */
.nav-inner a.active {
  color: #38bdf8;            /* Highlight color for the current page */
  font-weight: 600;
  border-bottom: 2px solid #38bdf8; /* Bottom border to indicate active tab */
  border-radius: 4px 4px 0 0;
}

nav,
.nav-inner {
  position: relative;
  z-index: 1000;
}

nav {
  background: var(--navy);
  color: #fff;
}

.nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 6vw, 70px);
  min-height: 42px;
}

nav a {
  font-size: 14px;
  padding: 11px 0;
  white-space: nowrap;
}



nav a:hover {
  color: #ff8a2a;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-arrow {
  font-size: 16px;
  transition: transform 0.25s ease;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 270px;
  max-height: 420px;
  overflow-y: auto;
  background: var(--paper);
  border-top: 3px solid #ff8a00;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  border-radius: 0 0 6px 6px;
  z-index: 9999;
  padding: 6px 0;
}

.dropdown-menu a {
  display: block;
  padding: 11px 18px;
  color: #17365d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: #17365d;
  color: #ffffff;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* ==========================================================================
   4. HERO CAROUSEL / SLIDER
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  max-width: 1900px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-viewport {
  width: 100%;
  overflow: hidden;
}

.hero-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 100%;
}

.hero-slide {
  min-width: 100%;
  position: relative;
  box-sizing: border-box;
}

.hero-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.hero-slide .slide-link {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background 0.3s;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.hero-arrow.prev {
  left: 15px;
}

.hero-arrow.next {
  right: 15px;
}

.hero-dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.hero-dot.active,
.hero-dot[aria-current="true"] {
  background: #ffffff;
  transform: scale(1.2);
}

/* ==========================================================================
   5. SECTIONS & PRODUCTS
   ========================================================================== */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 14px 0 12px;
  text-align: center;
}

.section-title::before,
.section-title::after {
  content: "";
  height: 1px;
  background: var(--orange);
  width: min(26%, 260px);
}

.section-title h1 {
  font-size: clamp(22px, 2.3vw, 30px);
  margin: 0;
  font-weight: 800;
  color: #17364f;
}

.products {
  padding: 0 0 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px;
  background: #272e49;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
  transform: translateY(-4px);
}

.product-link {
  display: block;
  width: 100%;
  color: inherit;
}

.product-link img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: contain;
  margin: 0 auto;
}

.product-link h2 {
  margin: 14px 0 10px;
  font-size: 18px;
  line-height: 1.4;
  color: #112f4a;
  background: #fff;
}

.product-link:hover h2 {
  color: #f58220;
}

.inquiry-btn {
  display: inline-block;
  margin-top: auto;
  padding: 10px 22px;
  background: #f58220;
  color: #fff;
  border: 2px solid #f58220;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.inquiry-btn:hover {
  background: #fff;
  color: #f58220;
}

/* ==========================================================================
   6. ENQUIRY SECTION & FORM
   ========================================================================== */
.enquiry {
  background: linear-gradient(110deg, #edf1f4, #f7f8f9);
  padding: 22px 0 18px;
}

.enquiry-layout {
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: 32px;
  align-items: center;
}

.enquiry-copy h2 {
  font-size: clamp(24px, 2.5vw, 32px);
  margin-bottom: 10px;
  color: #14334d;
}

.accent-line {
  width: 86px;
  height: 3px;
  background: var(--orange);
  margin: 0 0 16px;
}

.enquiry-copy p {
  font-size: 14px;
  max-width: 340px;
  margin-bottom: 0;
}

.enquiry-form {
  background: #f8d8d8;
  border-radius: 5px;
  padding: 16px 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
}

.field.full {
  grid-column: 1 / -1;
}

input, select, textarea {
  font: inherit;
  font-size: 13px;
  border: 1px solid #cbd7e0;
  border-radius: 3px;
  padding: 9px 10px;
  width: 100%;
  background: var(--paper);
  color: #23384b;
  min-height: 35px;
}

textarea {
  min-height: 58px;
  resize: vertical;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid #ff720044;
  border-color: var(--orange);
}

.submit {
  border: 0;
  border-radius: 4px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  padding: 11px 20px;
  cursor: pointer;
  min-width: 165px;
}

.submit:hover {
  background: #e96300;
}

.form-status {
  font-size: 13px;
  color: #1c6a43;
  margin: 0;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
footer {
  background: linear-gradient(115deg, #152936, #0e2333);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .85fr 1.2fr 1.1fr;
  gap: 28px;
  padding: 24px 0 18px;
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
}

.footer-col {
  border-left: 1px solid #71808b;
  padding-left: 26px;
}

.footer-col h2 {
  font-size: 15px;
  margin: 0 0 8px;
}

.footer-col a,
.footer-col p {
  font-size: 12px;
  display: block;
  margin: 4px 0;
}

.footer-col a::before {
  content: "›";
  color: var(--orange);
  font-weight: 900;
  margin-right: 8px;
}

.footer-col.contact p {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.footer-col.contact p::before {
  content: "";
  display: none;
}

.footer-col.contact strong {
  color: var(--orange);
  font-size: 16px;
  min-width: 18px;
}

.copyright {
  background: var(--orange);
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 11px 12px;
}

/* ==========================================================================
   8. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .topbar-inner {
    min-height: 74px;
  }
  .contact-strip {
    gap: 10px;
    font-size: 12px;
  }
  .contact-item {
    gap: 5px;
  }
  .nav-inner {
    gap: clamp(14px, 4vw, 30px);
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 3%;
  }
  .hero-slide {
    flex-basis: 50%;
  }
  .hero-slide img {
    height: 250px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .enquiry-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .enquiry-copy p {
    max-width: 600px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .footer-col:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    flex-wrap: wrap;
  }
  .nav-dropdown {
    flex-direction: column;
    align-items: stretch;
  }
  .dropdown-menu {
    position: static;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: none;
    border-radius: 0;
    border-top: 2px solid #ff8a00;
  }
  .dropdown-menu a {
    padding: 10px 20px;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-card {
    padding: 10px;
  }
  .product-link img {
    height: 140px;
  }
  .product-link h2 {
    font-size: 15px;
  }
  .inquiry-btn {
    padding: 9px 12px;
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .topbar-inner {
    align-items: flex-start;
    padding: 12px 0;
    flex-direction: column;
    gap: 10px;
  }
  .brand-mark {
    width: 44px;
    height: 44px;
  }
  .brand-name {