/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
  --color-bg-dark: #050a10;
  --color-text-light: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.7);
  --color-primary-blue: #29c6f6;
  --color-hero-highlight: #29c6f6;

  /* --- CHANGED: Converted to RGBA for glass effect --- */
  --color-search-bg: rgba(23, 42, 49, 0.6); /* Semi-transparent teal */
  --color-pill-bg: rgba(28, 34, 38, 0.6); /* Semi-transparent dark grey */

  --font-family-inter: "Inter", Arial, sans-serif !important;
}

@font-face {
  font-family: 'Bounded';
  src: url("/hc/theming_assets/01KF1CJFSMKP15CG1ZG93DXSEG") format('truetype');
  /* Since this is a Variable font, we must allow the full weight range 
     instead of locking it to 700. This allows you to use 800, 400, etc. */
  font-weight: 100 900;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family-inter);
  background-color: #f9f9f9;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* =========================================
   3. HERO SECTION STYLES
   ========================================= */
.hero-section {
  background-color: var(--color-bg-dark);

  /* NOTE: Background Image moved to HTML inline style to use {{asset}} helper */
  
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  /* --- Reduced padding significantly to pull content up --- */
  padding-top: 120px;     
  padding-bottom: 80px; 
  
  /* --- Ensures hero takes roughly 65-70% of screen height, leaving room to peek below --- */
  min-height: 65vh; 
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically centers content if screen is tall */

  text-align: center;
  color: white;
}

.hero-section__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero-section__heading {
  /* --- bounded font --- */
  font-family: 'Bounded', sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  
  /* --- Reduced margin to tighten gap --- */
  margin-bottom: 16px; 
  
  letter-spacing: -1px;
}

.hero-section__highlight {
  color: var(--color-hero-highlight);
}

.hero-section__description {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  
  /* --- CHANGED: Reduced margin to tighten gap --- */
  margin-bottom: 32px; /* Was 50px */
  
  font-weight: 400;
  opacity: 0.8;
}

/* =========================================
   FUNCTIONAL ZENDESK SEARCH STYLING
   (Replaces mock-search-bar)
   ========================================= */

.hero-section__search-area {
  max-width: 640px;
  margin: 0 auto 30px;
}

/* Target the search container */
.hero-section__search-area .search-full,
.hero-section__search-area .search {
  background: var(--color-search-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  display: flex;
  align-items: center;
  width: 100%;
}

/* Hide the label */
.hero-section__search-area .search label {
  display: none;
}

/* Style the search icon (if Zendesk provides one) */
.hero-section__search-area .search svg,
.hero-section__search-area .search-icon {
  margin-right: 12px;
  opacity: 0.9;
  color: white;
  stroke: white;
  fill: none;
  width: 28px;
  height: 28px;
}

/* Style the input field */
.hero-section__search-area .search input[type="search"],
.hero-section__search-area .search input[type="text"] {
  background: transparent !important;
  border: none !important;
  color: white !important;
  flex: 1;
  padding: 10px 0 !important;
  font-size: 18px !important;
  outline: none !important;
  box-shadow: none !important;
}

.hero-section__search-area .search input::placeholder {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Style the search button */
.hero-section__search-area .search button[type="submit"],
.hero-section__search-area .search .search-submit {
  background: white !important;
  color: black !important;
  border: none !important;
  padding: 14px 36px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  cursor: pointer;
  transition: opacity 0.2s;
  box-shadow: none !important;
}

.hero-section__search-area .search button[type="submit"]:hover,
.hero-section__search-area .search .search-submit:hover {
  opacity: 0.9;
}

/* Style instant search results dropdown */
.hero-section__search-area .search-results,
.hero-section__search-area .search .search-results-list {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 16px !important;
  margin-top: 12px !important;
  padding: 8px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
  max-width: 640px;
}

/* Results header */
.hero-section__search-area .search-results-list h3,
.hero-section__search-area .search-results h3 {
  color: #0a1419 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px 8px !important;
  margin: 0 !important;
  opacity: 0.6;
}

/* Individual result items */
.hero-section__search-area .search-results a,
.hero-section__search-area .search-results-list li a {
  color: #0a1419 !important;
  padding: 12px 16px !important;
  display: block !important;
  border-radius: 10px !important;
  transition: all 0.2s !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  margin: 2px 0 !important;
}

.hero-section__search-area .search-results a:hover,
.hero-section__search-area .search-results-list li a:hover {
  background: var(--color-primary-blue) !important;
  color: white !important;
  transform: translateX(4px);
}

/* Highlight matched text */
.hero-section__search-area .search-results mark,
.hero-section__search-area .search-results strong {
  background: transparent !important;
  color: var(--color-primary-blue) !important;
  font-weight: 600 !important;
}

.hero-section__search-area .search-results a:hover mark,
.hero-section__search-area .search-results a:hover strong {
  color: white !important;
}

/* =========================================
   FREQUENT TOPICS (Glass Pills)
   ========================================= */

.frequent-topics {
  margin-top: 0;
}
.frequent-topics__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap !important;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

/* Updated Topic Chips (Glass Pills) */
.frequent-topics__link {
  background-color: var(--color-pill-bg);

  /* --- CHANGED: Added blur and border for glass effect --- */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);

  color: rgba(255, 255, 255, 0.9);
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-block;
}

.frequent-topics__link:hover {
  /* Slightly lighter background on hover to enhance glass feel */
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  transform: translateY(-1px);
}

/* =========================================
   4. LIVE CHAT SECTION STYLES
   ========================================= */
.live-chat-section {
  background: #ffffff;
  padding: 100px 24px;
}

.live-chat__container {
  max-width: 1200px;
  margin: 0 auto;
}

.live-chat__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.live-chat__image img {
  width: 100%;
  border-radius: 16px;
}

.live-chat__info {
  max-width: 520px;
}

.live-chat__title {
  font-size: 48px;
  font-weight: 700;
  color: #0a1419;
  margin: 0 0 24px;
  line-height: 1.2;
}

.live-chat__description {
  font-size: 18px;
  color: #4a5568;
  margin: 0 0 20px;
  line-height: 1.6;
}

.live-chat__hours {
  font-size: 16px;
  color: #718096;
  margin: 0 0 32px;
  line-height: 1.6;
}

.live-chat__cta {
  background: #0a1419;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}

.live-chat__cta:hover {
  background: var(--color-primary-blue);
  transform: translateY(-2px);
}

/* =========================================
   5. RESPONSIVE QUERIES
   ========================================= */
@media (max-width: 768px) {
  .hero-section {
    /* --- Mobile padding for smaller screens --- */
    padding-top: 100px; 
    padding-bottom: 60px;
    min-height: auto; /* Allow content to dictate height on mobile */
  }

  .hero-section__heading {
    font-size: 2.25rem;
    line-height: 1.1;
  }

  .hero-section__description {
    font-size: 1rem;
    padding: 0 10px;
    margin-bottom: 30px;
  }

  /* --- FUNCTIONAL SEARCH BAR FIX --- */
  .hero-section__search-area {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .hero-section__search-area .search-full,
  .hero-section__search-area .search {
    flex-direction: row;
    padding: 4px 4px 4px 16px;
  }

  .hero-section__search-area .search svg,
  .hero-section__search-area .search-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
  }

  .hero-section__search-area .search input[type="search"],
  .hero-section__search-area .search input[type="text"] {
    font-size: 16px !important;
    text-align: left;
    margin-bottom: 0;
  }

  .hero-section__search-area .search button[type="submit"],
  .hero-section__search-area .search .search-submit {
    width: auto !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
  }

  /* --- PILLS ADJUSTMENT --- */
  .frequent-topics__list {
    gap: 10px;
  }

  .frequent-topics__link {
    padding: 10px 16px;
    font-size: 13px;
  }

  /* --- LIVE CHAT REORDER --- */
  .live-chat-section {
    padding: 60px 24px;
  }

  .live-chat__content {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .live-chat__info {
    order: 1;
    text-align: center;
  }

  .live-chat__image {
    order: 2;
    margin-top: 0;
  }

  .live-chat__title {
    font-size: 32px;
  }

  .live-chat__cta {
    width: 100%;
  }
}