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

:root {
  --color-navy:        #112E5A;
  --color-navy-dark:   #0b2038;
  --color-navy-mid:    #16386c;
  --color-navy-light:  #1c4a85;
  --color-purple:      #3C1B63;
  --color-teal:        #00A5C4;
  --color-teal-soft:   #7DC3C8;
  --color-white:       #ffffff;
  --color-offwhite:    #F3F3F3;
  --color-gray-light:  #D7D7D9;
  --color-gray-mid:    #797979;
  --color-text:        #2B2B2B;
  --color-overlay:     rgba(17, 46, 90, 0.65);
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-text);
  background: var(--color-white);
}

img { max-width: 100%; display: block; }

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

ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-teal);
  text-align: center;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy);
  text-align: center;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-block;
  background: var(--color-purple);
  color: #fff;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--color-teal); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 3px solid var(--color-teal);
  border-radius: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--color-teal); color: #fff; }

/* ===================== UTILITY BAR ===================== */
#utility-bar { background: #ffffff; border-bottom: 1px solid var(--color-gray-light); }
.utility-bar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
}
.utility-left a {
  color: var(--color-navy);
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.85;
}
.utility-left a:hover { opacity: 1; }
.utility-left, .utility-right { display: flex; align-items: center; gap: 12px; }
.utility-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 20px;
  transition: opacity 0.2s;
}
.utility-btn:hover { opacity: 0.85; }
.utility-btn--navy { background: var(--color-navy); }
.utility-btn--purple { background: var(--color-purple); }
.utility-btn--teal { background: var(--color-teal); }

/* ===================== MAIN NAV ===================== */
#main-nav {
  background: var(--color-navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
#main-nav.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo img { height: 40px; }
.nav-logo-text {
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-teal); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-search-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}
#hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}
#mobile-nav-drawer {
  display: none;
  background: var(--color-navy-mid);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
#mobile-nav-drawer.open { max-height: 480px; opacity: 1; }
#mobile-nav-drawer a {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0 24px;
  height: 48px;
  line-height: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
}
#mobile-nav-drawer a:hover { background: var(--color-navy-light); }

/* ===================== HERO ===================== */
#hero {
  position: relative;
  min-height: 600px;
  height: 100vh;
  max-height: 820px;
  background-color: var(--color-navy);
  padding-top: 140px;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.hero-title {
  color: #fff;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-subtext {
  color: #fff;
  opacity: 0.9;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-products {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 32px;
  padding-bottom: 32px;
  pointer-events: none;
}
.hero-product-tile {
  text-align: center;
  max-width: 220px;
}
.hero-product-tile--center { max-width: 260px; }
.hero-product-img {
  max-height: 220px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.35));
}
.hero-product-tile--center .hero-product-img { max-height: 260px; }
.hero-product-label {
  color: var(--color-gray-mid);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 8px;
}
/* ===================== HERO SHAPE DIVIDER ===================== */
.hero-shape-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  background: #fff;
  clip-path: polygon(50% 60%, 0% 0%, 0% 100%, 100% 100%, 100% 0%);
  z-index: 1;
}

/* ===================== INTRO ===================== */
#intro { position: relative; background: var(--color-offwhite); padding: 100px 0 80px; }
.intro-shape-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: #fff;
  clip-path: polygon(0% 0%, 100% 0%, 100% 45%, 50% 100%, 0% 45%);
}
.intro-inner { max-width: 760px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.intro-body { font-size: 1rem; line-height: 1.8; color: var(--color-gray-mid); margin-bottom: 28px; }

/* ===================== PRODUCT CATEGORIES ===================== */
#products { background: var(--color-offwhite); padding: 60px 0 80px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  padding: 24px;
  border: 1px solid var(--color-gray-light);
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover { box-shadow: 0 8px 24px rgba(17,46,90,0.12); transform: translateY(-4px); }
.product-card img { height: 160px; width: 100%; object-fit: cover; margin: 0 auto 20px; background: var(--color-offwhite); }
.product-card h3 { color: var(--color-navy); font-size: 1.1rem; margin-bottom: 10px; }
.product-card p { font-size: 0.88rem; line-height: 1.6; color: var(--color-gray-mid); margin-bottom: 16px; }
.card-link { color: var(--color-teal); font-weight: 700; font-size: 0.85rem; }
.card-link:hover { color: var(--color-navy); }

/* ===================== FILTERS PROMO ===================== */
#filters { background: #fff; padding: 80px 0; }
.filters-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.filters-image, .filters-text { flex: 1; }
.filters-image img { background: var(--color-offwhite); border-radius: 4px; }

/* ===================== APPLICATIONS ===================== */
#applications { background: var(--color-offwhite); padding: 80px 0; }
.applications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.application-item {
  background: #fff;
  padding: 28px 12px;
  border: 1px solid var(--color-gray-light);
  transition: box-shadow 0.2s, transform 0.2s;
}
.application-item:hover { box-shadow: 0 8px 24px rgba(17,46,90,0.12); transform: translateY(-4px); }
.application-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.application-item p { font-size: 0.85rem; font-weight: 600; color: var(--color-navy); margin-bottom: 8px; }

/* ===================== CARBON BANNER ===================== */
#carbon-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--color-navy);
  padding: 100px 0;
}
.carbon-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,46,90,0.55), rgba(60,27,99,0.75));
}
.carbon-inner { position: relative; z-index: 2; text-align: center; max-width: 640px; margin: 0 auto; }
.carbon-title { color: #fff; font-weight: 800; font-size: 2.4rem; margin-bottom: 16px; }
.carbon-body { color: #fff; opacity: 0.92; font-size: 1rem; line-height: 1.7; margin-bottom: 28px; }

/* ===================== WAYS TO PURCHASE ===================== */
#ways-to-purchase { background: #fff; padding: 80px 0; text-align: center; }
.ways-to-purchase-note { font-size: 0.9rem; color: var(--color-gray-mid); margin-bottom: 12px; }
.ways-to-purchase-note a { color: var(--color-teal); font-weight: 700; }
.purchase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.purchase-card {
  background: var(--color-offwhite);
  padding: 28px;
  border-top: 3px solid var(--color-teal);
}
.purchase-card h3 { color: var(--color-navy); font-size: 1.05rem; margin-bottom: 12px; }
.purchase-card p { font-size: 0.88rem; line-height: 1.6; color: var(--color-gray-mid); }

/* ===================== TESTIMONIALS ===================== */
#testimonials { background: var(--color-offwhite); padding: 80px 24px; }
.testimonials-wrapper {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  min-height: 180px;
}
.testimonial-card { display: none; }
.testimonial-card.active { display: block; }
.testimonial-quote {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--color-text);
}
.testimonial-author { font-weight: 700; margin-top: 18px; color: var(--color-navy); }
.testimonial-context { font-size: 0.85rem; color: var(--color-gray-mid); margin-top: 4px; }
.testimonial-nav { display: flex; justify-content: center; gap: 16px; margin-top: 28px; }
.testimonial-nav button {
  background: none;
  border: 1px solid var(--color-gray-light);
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--color-navy);
  transition: background 0.2s;
}
.testimonial-nav button:hover { background: var(--color-gray-light); }

/* ===================== CTA BANNER ===================== */
#cta-banner { background: var(--color-navy); padding: 64px 0; }
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-banner-inner h2 { color: #fff; font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.cta-banner-inner p { color: #fff; opacity: 0.85; font-size: 0.9rem; }
.cta-banner-inner p a { color: var(--color-teal-soft); font-weight: 700; }

/* ===================== FOOTER ===================== */
#footer { background: var(--color-navy-dark); color: #fff; padding: 60px 0 0; }
.footer-upper {
  display: flex;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col { flex: 1; }
.footer-col--about { flex: 1.4; }
.footer-logo { margin-bottom: 16px; }
.footer-about { font-size: 0.85rem; line-height: 1.7; opacity: 0.75; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--color-teal); }
.footer-col-heading {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255,255,255,0.15);
}
.footer-col ul li { line-height: 2.2; }
.footer-contact li { line-height: 1.6; margin-bottom: 12px; font-size: 0.85rem; opacity: 0.75; }
.footer-col ul a { font-size: 0.85rem; opacity: 0.75; transition: opacity 0.2s; }
.footer-col ul a:hover { opacity: 1; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-lower { padding: 20px 0; }
.footer-lower-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright { font-size: 0.78rem; opacity: 0.6; }
.footer-links a { font-size: 0.78rem; opacity: 0.6; margin-left: 16px; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .applications-grid { grid-template-columns: repeat(2, 1fr); }
  .filters-inner { flex-direction: column; }
  .purchase-grid { grid-template-columns: 1fr; }
  .footer-upper { flex-wrap: wrap; }
  .footer-col { flex: 0 0 calc(50% - 20px); }
  .footer-col--about { flex: 0 0 100%; }
}

@media (max-width: 768px) {
  .utility-bar-row .utility-left { display: none; }
  .nav-links { display: none; }
  #hamburger-btn { display: block; }
  #mobile-nav-drawer { display: block; }

  #hero { min-height: 520px; padding-top: 100px; }
  .hero-title { font-size: 2rem; }
  .hero-products { display: none; }
  .hero-shape-divider { height: 60px; }

  .cta-banner-inner { flex-direction: column; text-align: center; }
  .footer-lower-inner { flex-direction: column; text-align: center; }
  .footer-links a { margin: 0 8px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .applications-grid { grid-template-columns: 1fr; }
  .footer-col { flex: 0 0 100%; }
  .testimonial-quote { font-size: 0.95rem; }
}
