:root {
  --font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --color-primary: #006d77;
  --color-secondary: #ffb703;
  --color-dark: #0d1b2a;
  --color-muted: #6c7a89;
  --bg-light: #f7f9fb;
  --bg-section: #ffffff;
  --max-width: 1180px;
  --shadow-card: 0 24px 60px rgba(15, 42, 66, 0.08);
  --transition: all 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--color-dark);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

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

.hero {
  min-height: 100vh;
  background: linear-gradient(105deg, rgba(13, 27, 42, 0.65), rgba(0, 109, 119, 0.6));
  color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0 40px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.hero.loaded {
  opacity: 1;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px 0;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
  flex: 0 1 360px;
  min-width: 280px;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.brand-mark.has-logo {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 18px rgba(15, 42, 66, 0.16);
  border: 1px solid rgba(13, 27, 42, 0.06);
}

.brand-mark-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  display: none;
  padding: 4px;
  box-sizing: border-box;
  background: transparent;
}

.brand-mark.has-logo .brand-mark-image {
  display: block;
}

.brand-mark.has-logo .brand-initial {
  opacity: 0;
}

.brand-initial {
  transition: opacity 0.2s ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.2;
  color: #fff;
  text-align: left;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.25;
  word-break: break-word;
}

.brand-tagline {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: none;
  color: rgba(255, 255, 255, 0.9);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 0 0 auto;
  padding: 0;
  flex: 1 1 340px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.98rem;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--color-secondary);
}

.nav-links .highlight {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 999px;
}

.hero-content {
  max-width: var(--max-width);
  margin: auto;
  padding-bottom: 80px;
  text-align: left;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 4vw, 4rem);
  margin-bottom: 20px;
  line-height: 1.2;
}

.subtitle {
  max-width: 620px;
  font-size: 1.05rem;
}

.eyebrow {
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 12px;
  font-size: 0.85rem;
}

/* Inline styles applied via JavaScript with !important will override the above CSS rules */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn.primary {
  background: var(--color-secondary);
  color: #1b263b;
}

.btn.primary:hover {
  background: #ff9f1c;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn.whatsapp {
  background: #25d366;
  color: #04261a;
}

.btn.whatsapp:hover {
  background: #1ebe5d;
}

.section {
  padding: 120px 40px;
}

.section:nth-of-type(even) {
  background: var(--bg-section);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0;
}

.about-grid,
.values-grid,
.why-grid,
.sustainability-grid,
.promise-grid,
.product-grid,
.contact-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

.about-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.about-card,
.sustainability-card,
.product-card,
.contact-card,
.enquiry-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-card:hover,
.sustainability-card:hover,
.product-card:hover,
.contact-card:hover,
.enquiry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 70px rgba(13, 27, 42, 0.12);
}

.card-body {
  padding: 24px 28px 32px;
  font-size: 0.98rem;
}

.values-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.value-card {
  padding: 32px;
  background: linear-gradient(145deg, #ffffff, #eef4f9);
  border-radius: 20px;
  border: 1px solid rgba(13, 27, 42, 0.05);
  box-shadow: 0 10px 25px rgba(13, 27, 42, 0.08);
}

.value-card h3 {
  margin-top: 0;
}

.value-card ul {
  padding-left: 20px;
  margin: 16px 0 0;
}

.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.why-card {
  padding: 28px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 20px 32px rgba(13, 27, 42, 0.08);
}

.process-timeline {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 32px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.step-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-secondary);
  background: rgba(255, 183, 3, 0.16);
  padding: 14px 18px;
  border-radius: 12px;
}

.sustainability-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.promise-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.promise-card {
  padding: 32px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 20px 48px rgba(15, 42, 66, 0.12);
}

.product-tabs {
  max-width: var(--max-width);
  margin: 0 auto 32px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.tab-button {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-button.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 109, 119, 0.3);
}

.tab-button:hover {
  transform: translateY(-2px);
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.product-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 8px;
}

.contact-card a {
  color: var(--color-primary);
  font-weight: 600;
}

.contact-form {
  background: linear-gradient(155deg, #ffffff, rgba(0, 109, 119, 0.08));
  border-radius: 20px;
  padding: 32px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow-card);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 500;
  color: var(--color-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .form-note {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin: 0;
}

.enquiry {
  padding: 100px 0;
}

.enquiry-card {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 40px;
  padding: 32px 40px;
}

.enquiry-card img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.enquiry-footnote {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer {
  background: var(--color-dark);
  color: #e6edf5;
  padding: 60px 40px;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.footer h3,
.footer h4 {
  margin-top: 0;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
  color: #c5d4e3;
}

.footer a {
  color: #fff;
  font-weight: 500;
}

.footer-note {
  text-align: center;
  margin: 0;
  font-size: 0.85rem;
  color: #95a8c0;
}

.hidden {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .navbar {
    padding: 24px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    height: 100vh;
    background: rgba(13, 27, 42, 0.96);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1.4rem;
  }

  .hero {
    padding: 0 24px;
  }

  .section {
    padding: 90px 24px;
  }
}

@media (max-width: 640px) {
  .hero-content {
    text-align: left;
    padding-bottom: 60px;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-step {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .enquiry-card {
    padding: 28px;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #ffffff;
  overflow: hidden;
}

.whatsapp-float:hover {
  background: #1ebe5d;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.whatsapp-float-text {
  display: none;
  margin-left: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-float-text {
  display: inline-block;
}

.whatsapp-float:hover {
  width: auto;
  padding: 0 20px;
  border-radius: 30px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-float:hover {
    width: 56px;
    padding: 0;
  }

  .whatsapp-float:hover .whatsapp-float-text {
    display: none;
  }
}

