@import url('https://use.typekit.net/hji1dmf.css');



/* main.css */

/* CSS Variables */
:root {
  --nav-dark: #003B5C;
  --accent:   #99d6ea;
  --text:     #003B5C;
  --light-bg: #f4f7f9;
  --red:      #ef3340;
  --font:     "futura-pt", sans-serif;
  --spacer:   2rem;
  --gutter:   4rem;
  --bp-md:    768px;
  --bp-lg:    1200px;
  --section-w: 85%;
}

/* Universal settings to prevent overflow */
html, body, div, header, nav, main, section, article, aside, footer {
  max-width: 100%;
}

/* Reset & Base */
*, *::before, *::after { 
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  margin: 0;
  padding: 0;
  font-family: "futura-pt", sans-serif;;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  width: 100%;
  max-width: 100vw;
}

/* Explicitly set all text elements to use Futura by default */
h1, h2, h3, h4, h5, h6, p, span, div, a, li, td, th {
  font-family: "futura-pt", sans-serif;
}

main {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Ensure no horizontal scrollbars */
}

h2 {
  font-weight: 500;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Full-width Banner */
.banner-header {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.banner-header .banner-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Hide mobile hero text on desktop */
.mobile-hero-text {
  display: none !important;
}

/* Base styles for mobile hero text (always available) */
.mobile-hero-title {
  font-family: 'Black Arcade Script', cursive;
  font-size: 2.6rem;
  color: #003B5C;
  margin: 0 0 1rem 0;
  text-shadow: none;
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-align: left;
}

.mobile-hero-subtitle {
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 1.8rem 0;
  color: #003B5C;
  padding-top: 1rem;
  border-left: 4px solid #99d6ea;
  padding-left: 1rem;
  padding-top: 0.5rem;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-align: left;
}

.mobile-hero-features {
  font-size: 1.15rem;
  color: #003B5C;
  margin: 0;
  line-height: 1.5;
  font-weight: 300;
  opacity: 0.85;
  text-align: left;
}

/* Top Text (intro) */
.top-text-wrapper {
  width: var(--section-w);
  margin: 0 auto var(--gutter);
  padding-top: var(--spacer);
}
.top-text-wrapper p {
  font-size: 1.75rem;
  text-align: left;
}

/* Featured Models Section */
.custom-featured {
  
  width: var(--section-w);
  margin: 0 auto;
}
#products-featured .headline-section {
  margin-bottom: var(--gutter);
  text-align: center;
}
#products-featured .product-hero-title {
  font-size: 3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
#products-featured .product-hero-subtitle {
  font-size: 1.75rem;
  margin-top: .5rem;
}
#products-featured .inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gutter);
  margin: 0 auto;
  justify-items: center;
}

#products-featured .product-hero-title {
  position: relative;
  display: inline-block;   /* shrink to text width for centered underline */
}

p.product-hero-subtitle {
  text-align: center;
}



#products-featured .product-hero-title::after {
  content: "";
  display: block;
  width: 80px;             /* same width as your difference underline */
  height: 4px;             /* same thickness */
  background: var(--red);
  margin: 0.75rem auto 0;  /* space above, centered */
}


.inner-item {
  background: #fff;
  border-radius: 8px;
  padding: calc(var(--spacer) * 1.5);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform .3s, box-shadow .3s;
  max-width: 350px;
  text-align: center; /* Keep center alignment for images and buttons */
}

/* Left-align all text content while keeping images/buttons centered */
.inner-item .btn-small {
  text-align: center; /* Keep button text centered */
  min-height: 3rem; /* Ensure consistent height for alignment */
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

/* Centered container for specs */
.specs-container {
  display: flex;
  justify-content: center; /* center the container */
  margin: 1rem 0 0;       /* space above list */
}

.inner-item ul {
  width: auto;            /* auto width to fit content */
  margin: 0;              /* remove margin since container handles it */
  padding-left: 1.25rem;  /* indent bullets */
  text-align: left;       /* left-align list text */
  list-style-type: disc;  /* default bullet style */
}

/* Space out each bullet line */
.inner-item ul li {
  margin-bottom: 0.5rem;
}

.inner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.inner-item .img-wrap img {
 width: 250px;    /* up from 150px */
  height: auto;
  object-fit: contain;
  transition: transform .2s;
}
.inner-item .img-wrap img:hover {
  transform: scale(1.1);
}

/* Center the image wrapper and force images to a larger width */
.inner-item .img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-small {
  display: block;
  margin-top: var(--spacer);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #003B5C;
  font-weight: 600;
  text-align: center;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.3s ease;
}

.btn-small:hover {
  color: #99d6ea;
}

/* Icon Grid */
.icon-grid-container {
  
  margin: 6rem 6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6rem;
}

.icon-grid-item {
      display: flex;
      max-width: 120px;
    flex-direction: column;
    align-self: center;
}


/* Certs Grid */

section.grid-section {
    width: var(--section-w);
    margin: 0 auto;
    margin-top: 4rem;
}

.grid-headline-section {
    margin-bottom: var(--gutter);
    text-align: center;
}

.icon-grid-container
 {
    /* margin: 6rem 6rem; */
    display: flex
;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6rem;
    margin-bottom: 8rem;
}

.icon-grid-item {
    display: flex;
    max-width: 120px;
    flex-direction: column;
    align-items: center;
    min-height: 140px;
    text-align: center;
}

.icon-grid-item img {
    flex-shrink: 0;
    margin-bottom: auto;
}

.icon-grid-item .cert-note {
    margin-top: auto;
    padding-top: 8px;
    font-size: 13px !important;
    color: #666 !important;
    font-style: italic !important;
    opacity: 0.8 !important;
    line-height: 1.2;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

h2.product-hero-title {
  text-align: center;
      font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Difference Section */
.difference-section {
  background: var(--light-bg);
  padding: 2rem;
  width: var(--section-w);
  margin: 50px auto;
  margin-bottom: 6rem;
}
.difference-title {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 100px;
  position: relative;
}

img.difference-icon {
    display: block;
    max-width: 100%;
    margin: auto;
}


.difference-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--red);
  margin: var(--spacer) auto 0;
}
.difference-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: calc(var(--gutter) * 1.5);
  justify-items: center;
}
.difference-item {
  background: #fff;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform .3s, box-shadow .3s;
  max-width: 380px;
}
.difference-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.difference-icon {
  width: 150px;
  height: auto;
  margin-bottom: 1.5rem;
}
.difference-item h3 {
  font-size: 1.5rem;
  margin-bottom: .75rem;
  text-align: center;
  min-height: 4rem; /* Ensure consistent height for alignment */
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
}
/* Centered container for difference text */
.difference-item .text-container {
  display: flex;
  justify-content: center; /* center the container */
}

.difference-item p {
  font-size: 1.25rem;
  opacity: 1;
  line-height: 1.5;
  text-align: left; /* keep text left-aligned */
  width: auto; /* auto width to fit content */
  margin: 0; /* remove default margin */
}



/* Scroll-to-Top */
.scroll-to-top-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.scroll-to-top-btn.active {
  display: flex;
}

/* Responsive Mobile Styles */
@media screen and (max-width: 768px) {
  
  /* Adjust body for fixed mobile navigation */
  body {
    padding-top: 80px;
  }
  
  /* Adjust main container widths for mobile */
  .custom-featured,
  .grid-section,
  .top-text-wrapper {
    width: 95%;
    padding: 0 1rem;
  }
  
  /* Banner Header - Replace with text on mobile */
  .banner-header {
    margin-top: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbfd 100%);
    padding: 2.5rem 1.25rem 2.5rem;
    text-align: left;
    color: #003B5C;
    position: relative;
    overflow: hidden;
  }
  
  .banner-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(153, 214, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(153, 214, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
  }
  
  .banner-header .banner-image {
    display: none !important;
  }
  
  /* Show Mobile Hero Text on mobile */
  .mobile-hero-text {
    display: block !important;
    position: relative;
    z-index: 1;
  }
  
  /* Top Text - Better mobile alignment and spacing */
  .top-text-wrapper {
    margin-bottom: 2.5rem;
    padding: 1.5rem 1.25rem 1rem;
    text-align: left;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .top-text-wrapper p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
    margin: 0;
    padding: 0;
    max-width: none;
  }
  
  /* Featured Products Section */
  #products-featured .headline-section {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  #products-featured .product-hero-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
    line-height: 1.2;
  }
  
  #products-featured .product-hero-subtitle {
    font-size: 1.1rem;
    margin-top: 0.5rem;
  }
  
  /* Product Grid - Stack on mobile */
  #products-featured .inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin: 0;
    justify-items: center;
    padding: 0 1rem 2rem;
  }
  
  .inner-item {
    padding: 2rem 1.5rem;
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 59, 92, 0.08);
    border: 1px solid rgba(153, 214, 234, 0.2);
    transition: all 0.3s ease;
    background: #fff;
  }
  
  /* Add hover effect for mobile cards */
  .inner-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 59, 92, 0.12);
    border-color: rgba(153, 214, 234, 0.4);
  }

  .inner-item .img-wrap {
    text-align: center;
    margin: 0 auto 1.5rem;
  }
  
  .inner-item .img-wrap img {
    width: 200px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
  }
  
  .btn-small {
    font-size: 1.1rem;
    margin: 1rem auto 0;
    padding: 0;
    display: block;
    width: fit-content;
    background: none;
    color: #003B5C;
    border: none;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    text-align: center;
  }

  .btn-small:hover {
    color: #99d6ea;
  }
  
  /* Specifications list - better mobile formatting */
  .specs-container {
    margin: 1rem 0 0;
    display: flex;
    justify-content: center;
  }
  
  .inner-item ul {
    padding-left: 1.2rem;
    font-size: 0.95rem;
    text-align: left;
    width: auto;
    margin: 0;
    background: rgba(153, 214, 234, 0.05);
    border-radius: 6px;
    padding: 1rem 1.2rem;
  }
  
  .inner-item ul li {
    margin-bottom: 0.4rem;
    position: relative;
  }
  
  .inner-item ul li::before {
    content: "•";
    color: #99d6ea;
    font-weight: bold;
    position: absolute;
    left: -1rem;
  }
  
  /* Certifications Section */
  section.grid-section {
    margin-top: 3rem;
    width: 95%;
    text-align: center;
    background: rgba(244, 247, 249, 0.7);
    padding: 2.5rem 1rem;
    border-radius: 16px;
    margin-bottom: 3rem;
  }
  
  .grid-headline-section {
    text-align: center;
  }
  
  .grid-headline-section h2 {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }
  
  /* Icon Grid - Reduce spacing and size for mobile */
  .icon-grid-container {
    gap: 1.5rem;
    margin: 2rem auto;
    margin-bottom: 3rem;
    padding: 0 1rem;
    justify-content: center;
    max-width: 100%;
  }
  
  .icon-grid-item {
    max-width: 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 120px;
  }
  
  .icon-grid-item img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    flex-shrink: 0;
  }
  
  .icon-grid-item .cert-note {
    margin-top: auto;
    padding-top: 8px;
    font-size: 11px !important;
    color: #666 !important;
    font-style: italic !important;
    opacity: 0.8 !important;
    line-height: 1.2;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Premium Choice Difference Section */
  .difference-section {
    width: 100%;
    padding: 3rem 1rem;
    margin: 2rem 0;
    margin-bottom: 3rem;
    text-align: center;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(244, 247, 249, 0.3) 0%, rgba(255, 255, 255, 0.8) 100%);
  }
  
  .difference-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-align: center;
  }
  
  .difference-items {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .difference-item {
    padding: 2rem 1.5rem;
    max-width: 320px;
    width: calc(100% - 2rem);
    text-align: center;
    margin: 0 auto;
    box-sizing: border-box;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 59, 92, 0.06);
    border: 1px solid rgba(153, 214, 234, 0.15);
    transition: all 0.3s ease;
  }

  .difference-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 59, 92, 0.1);
    border-color: rgba(153, 214, 234, 0.3);
  }
  
  .difference-icon {
    width: 100px;
    margin: 0 auto 1rem;
    display: block;
  }
  
  .difference-item h3 {
    font-size: 1.2rem;
    min-height: auto;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-align: center;
  }
  
  .difference-item .text-container {
    display: block;
    text-align: center;
  }
  
  .difference-item p {
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
    margin: 0 auto;
    max-width: 280px;
  }
}

/* Very Small Mobile (480px and below) */
@media screen and (max-width: 480px) {
  
  /* Even smaller text for very small screens */
  .top-text-wrapper {
    padding: 1.25rem 1rem 1rem;
    width: 95%;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .top-text-wrapper p {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  #products-featured .product-hero-title {
    font-size: 1.5rem;
  }
  
  #products-featured .product-hero-subtitle {
    font-size: 1rem;
  }
  
  .difference-title {
    font-size: 1.5rem;
  }
  
  .grid-headline-section h2 {
    font-size: 1.5rem;
  }
  
  /* Adjust mobile hero text for very small screens */
  .mobile-hero-title {
    font-size: 2.1rem;
    margin-bottom: 0.8rem;
  }
  
  .mobile-hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-top: 0.4rem;
    padding-left: 1rem;
  }
  
  .mobile-hero-features {
    font-size: 1.05rem;
  }
  
  .banner-header {
    padding: 5rem 1.25rem 2rem;
  }
  
  /* Tighter spacing */
  .inner-item {
    padding: 1.5rem 1rem;
  }
  
  .difference-item {
    padding: 1.5rem 1rem;
  }
  
  .icon-grid-container {
    gap: 1.5rem;
    margin: 1.5rem 0.5rem;
  }
  
  .icon-grid-item {
    max-width: 60px;
    min-height: 100px;
  }
  
  .icon-grid-item .cert-note {
    font-size: 10px !important;
    padding-top: 6px;
    min-height: 18px;
  }
 
}

/* Desktop/Tablet Media Query - Ensure banner image shows and hero text is hidden */
@media screen and (min-width: 769px) {
  .banner-header .banner-image {
    display: block !important;
  }
  
  .mobile-hero-text {
    display: none !important;
  }
  
  .banner-header {
    background: none !important;
    padding: 0 !important;
    color: inherit !important;
  }
}
