@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/******************************************
/* CSS
/*******************************************/

:root {
  /* Color Palette */
  --primary-color: #003366;
  --primary-dark: #002244;
  --secondary-color: #007a7a;
  --secondary-light: #e6f4f4;
  --accent-color: #0ea5a0;
  --text-dark: #1e2d3d;
  --text-mid: #4a5e70;
  --bg-light: #eef6f6;
  --bg-white: #ffffff;
  --hero-gradient: linear-gradient(135deg, #003366 0%, #006e6e 100%);

  --font-main: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Box Model Hack */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/******************************************
/* LAYOUT
/*******************************************/

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  min-height:100vh;
}

main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

main > section {
  padding: 60px 0;
}

h1, h2, h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

p {
  margin-bottom: 20px;
}

hr {
  border: 0;
  height: 1px;
  background: #e0e0e0;
  margin: 30px 0;
}


/******************************************
/* ADDITIONAL STYLES
/*******************************************/

header {
  background-color: var(--bg-light);
  border-bottom: 3px solid var(--primary-color);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

header nav ul {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 2px;
}

.logo p {
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-bottom: 0;
  font-style: italic;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  padding: 8px 12px;
  transition: all 0.3s ease;
}

nav a:hover, nav a.active {
  color: var(--bg-white);
  background-color: var(--primary-color);
  border-radius: 4px;
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
  }
}

@media screen and (min-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 40px;
  }
}

/******************************************
/* ABOUT PAGE
/*******************************************/

.profile-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 30px;
}

.profile-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border: 1px solid #e0e0e0;
}

.bio-text h3 {
  font-size: 1.75rem;
  margin-bottom: 5px;
}

.bio-text h4 {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bio-text ul {
  list-style-type: square;
  margin-left: 20px;
  margin-top: 10px;
}

.bio-text li {
  margin-bottom: 8px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .profile-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .profile-image {
    flex: 0 0 250px;
  }
}

/******************************************
/* SERVICES PAGE
/*******************************************/

#services-intro {
  /* all layout and color handled by .page-intro */
}

#services-intro h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

#services-intro p {
  font-size: 1.15rem;
  line-height: 1.6;
}

main > hr {
  border: 0;
  height: 1px;
  background: #e0e0e0;
  margin: 2rem auto;
}

#treatment-areas, #diagnostic-process {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

#treatment-areas h3, #diagnostic-process h3 {
  font-size: 1.75rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

#treatment-areas > p, #diagnostic-process > p {
  color: #666666;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

#treatment-areas ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

#treatment-areas li {
  background-color: #ffffff;
  border: 1px solid #eef2f5;
  border-top: 4px solid var(--primary-color);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#treatment-areas li strong {
  display: block;
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

#diagnostic-process ol {
  list-style: none;
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

#diagnostic-process li {
  counter-increment: journey-counter;
  position: relative;
  padding-left: 3.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444444;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}

#diagnostic-process li::before {
  content: counter(journey-counter);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #eef2f5;
  color: var(--primary-color);
  font-weight: bold;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/******************************************
/* CONTACT PAGE
/*******************************************/

#contact-info {
  /* all layout and color handled by .page-intro */
}

#contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

#contact-info p {
  font-size: 1.1rem;
  line-height: 1.6;
}

#contact-form-section {
  max-width: 100%;
  margin: 3rem 0 4rem 0;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f5;
}

#contact-form-section form {
  max-width: 650px;
  margin: 0 auto;
}

#contact-form-section h3 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #eef2f5;
  padding-bottom: 0.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333333;
  margin-bottom: 0.5rem;
}

.form-group input, .form-group select, .form-group textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #ccd6dd;
  border-radius: 4px;
  background-color: #fafbfc;
  color: #333333;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
  background-color: #ffffff;
}

.form-group textarea {
  resize: vertical;
}

#contact-form-section button[type="submit"] {
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

#contact-form-section button[type="submit"]:hover {
  background-color: var(--secondary-color);
}

#contact-form-section button[type="submit"]:active {
  transform: scale(0.98);
}

/******************************************
/* FOOTER STYLE
/*******************************************/

footer {
  background-color: #1a2a3a;
  color: #ffffff;
  padding: 2rem 1rem;
  text-align: center;
  margin-top: auto;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/******************************************
/* BUTTON STYLES
/*******************************************/

.btn-primary, .btn-secondary, .btn-accent {
  display: inline-block;
  width: 100%;
  padding: 14px 20px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: #002244;
  border-color: #002244;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.btn-accent {
  background-color: var(--secondary-color);
  color: var(--bg-white);
}

.btn-accent:hover {
  background-color: #006666;
  border-color: #006666;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
}

@media (min-width: 480px) {
  .btn-primary, .btn-secondary, .btn-accent {
    width: auto;
  }

  .cta-buttons {
    flex-direction: row;
    align-items: center;
  }
}

/******************************************
/* HERO SECTION
/*******************************************/

#hero {
  background: var(--hero-gradient);
  border-radius: 12px;
  padding: 70px 50px !important;
  margin-bottom: 0;
}

#hero .hero-content h2 {
  color: #ffffff;
  font-size: 2.4rem;
  line-height: 1.25;
  margin-bottom: 18px;
}

#hero .hero-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  max-width: 640px;
  margin-bottom: 0;
}

#hero .btn-primary {
  background-color: #ffffff;
  color: var(--primary-color);
  border-color: #ffffff;
}

#hero .btn-primary:hover {
  background-color: var(--secondary-light);
  border-color: var(--secondary-light);
  color: var(--primary-dark);
}

#hero .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

#hero .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

@media (max-width: 600px) {
  #hero {
    padding: 50px 24px !important;
  }
  #hero .hero-content h2 {
    font-size: 1.8rem;
  }
}

/******************************************
/* KLARA PORTAL SECTION
/*******************************************/

#klara-portal {
  background-color: var(--secondary-light);
  border-radius: 12px;
  padding: 50px 40px !important;
}

.notice-box h3 {
  color: var(--primary-color);
  font-size: 1.6rem;
}

.notice-box .portal-features ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.notice-box .portal-features li {
  padding: 10px 0 10px 16px;
  border-left: 3px solid var(--accent-color);
  margin-bottom: 10px;
  background-color: rgba(255,255,255,0.6);
  padding-left: 16px;
  border-radius: 0 6px 6px 0;
}

.notice-subtext {
  font-size: 0.92rem;
  color: var(--text-mid);
  font-style: italic;
}

/******************************************
/* SERVICES PREVIEW CARDS
/*******************************************/

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.service-card {
  background-color: var(--bg-white);
  border: 1px solid #ddeaea;
  border-top: 4px solid var(--accent-color);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 51, 102, 0.12);
}

.service-card h3 {
  color: var(--primary-color);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.center-link {
  margin-top: 32px;
  text-align: center;
}

.view-all {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.view-all:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/******************************************
/* QUICK INFO (LOCATION + HOURS)
/*******************************************/

.info-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.info-block {
  background-color: var(--bg-light);
  border-radius: 10px;
  padding: 28px 24px;
  border-left: 4px solid var(--primary-color);
}

.info-block h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.info-block address {
  font-style: normal;
  color: var(--text-mid);
  line-height: 1.8;
}

.info-block ul {
  list-style: none;
  padding: 0;
  color: var(--text-mid);
  line-height: 2;
}



.pollen-section {
  background-color: var(--bg-light);
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.pollen-container h2 {
  text-align: center;
  margin-bottom: 5px;
}

.pollen-location {
  text-align: center;
  color: #666;
  margin-bottom: 25px;
  font-weight: 600;
}

.pollen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.pollen-card {
  background-color: var(--bg-white);
  padding: 20px;
  border-radius: 6px;
  text-align: center;
  border-top: 4px solid var(--secondary-color);
}

.pollen-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.pollen-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.pollen-updated {
  text-align: center;
  font-size: 0.85rem;
  color: #999;
  margin-top: 20px;
}
/******************************************
/* INNER PAGE SHARED STYLES
/*******************************************/

/* Tinted intro banner used at top of each inner page */
.page-intro {
  background: var(--hero-gradient);
  border-radius: 12px;
  padding: 60px 50px !important;
  margin-bottom: 0;
}

.page-intro h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.page-intro p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 680px;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .page-intro {
    padding: 40px 24px !important;
  }
  .page-intro h2 {
    font-size: 1.7rem;
  }
}

/* Alternating tinted section background */
.tinted-section {
  background-color: var(--bg-light);
  border-radius: 12px;
  padding: 40px 36px !important;
}

/******************************************
/* ABOUT PAGE — AFFILIATIONS BLOCK
/*******************************************/

.affiliations-block {
  margin-top: 28px;
  background-color: var(--secondary-light);
  border-left: 4px solid var(--accent-color);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
}

.affiliations-label {
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.affiliations-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.affiliations-block li {
  color: var(--text-mid);
  font-weight: 500;
  padding: 4px 0;
}

.affiliations-block li::before {
  content: "→ ";
  color: var(--accent-color);
  font-weight: 700;
}

/******************************************
/* ALLERGY SHOT HOURS TABLE
/*******************************************/

.shot-hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 0.92rem;
}

.shot-hours-table th {
  text-align: left;
  color: var(--secondary-color);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0 8px 8px 0;
  border-bottom: 1px solid #d0e4e4;
}

.shot-hours-table td {
  padding: 7px 8px 7px 0;
  color: var(--text-mid);
  border-bottom: 1px solid #eef2f5;
  vertical-align: middle;
}

.shot-hours-table tbody tr:last-child td {
  border-bottom: none;
}

.shot-hours-table td:first-child {
  color: var(--primary-color);
  min-width: 44px;
}

.shot-hours-note {
  font-size: 0.82rem;
  color: var(--secondary-color);
  font-style: italic;
  margin-top: 12px;
  margin-bottom: 0;
}

/* Prevent shot hours table cells from wrapping */
.shot-hours-table td,
.shot-hours-table th {
  white-space: nowrap;
}

.shot-hours-table {
  font-size: 0.85rem;
}

/* Prevent practice hours list from wrapping mid-value */
.info-block ul li {
  white-space: nowrap;
  font-size: 0.92rem;
}

/* Give shot hours card more breathing room in the grid */
#quick-info .info-block:last-child {
  min-width: 300px;
}

@media (max-width: 960px) {
  #quick-info .info-block ul li {
    white-space: normal;
  }
  .shot-hours-table td,
  .shot-hours-table th {
    white-space: normal;
  }
}

.shot-closed {
  color: #aab8c0;
  font-weight: 600;
  text-align: center;
}

/******************************************
/* REVIEWS — HOMEPAGE PREVIEW STRIP
/*******************************************/

#reviews-preview {
  padding: 60px 0 !important;
}

.reviews-preview-header {
  text-align: center;
  margin-bottom: 36px;
}

.reviews-preview-header h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.reviews-subheading {
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.reviews-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

/******************************************
/* REVIEWS — SHARED CARD STYLES
/*******************************************/

.review-card {
  background-color: var(--bg-white);
  border: 1px solid #ddeaea;
  border-top: 4px solid var(--accent-color);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-quote {
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.65;
  font-size: 0.97rem;
  flex-grow: 1;
  margin: 0;
  border: none;
  padding: 0;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.review-author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.review-source {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.review-source--google {
  background-color: #e8f0fe;
  color: #1a56c4;
}

.review-source--yelp {
  background-color: #fff0ee;
  color: #c41a1a;
}

/******************************************
/* REVIEWS PAGE — AGGREGATE BANNER
/*******************************************/

.aggregate-banner {
  background-color: var(--secondary-light);
  border-radius: 10px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 8px;
}

.aggregate-stars {
  color: #f5a623;
  font-size: 1.5rem;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 4px;
}

.aggregate-label {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.05rem;
}

.aggregate-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-source {
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-source:hover {
  opacity: 0.85;
}

.btn-source--google {
  background-color: #e8f0fe;
  color: #1a56c4;
  border: 1px solid #c0d3f8;
}

.btn-source--yelp {
  background-color: #fff0ee;
  color: #c41a1a;
  border: 1px solid #f8c0c0;
}

/******************************************
/* REVIEWS PAGE — FULL GRID
/*******************************************/

.reviews-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.review-card--full .review-quote {
  font-size: 0.95rem;
}

/******************************************
/* REVIEWS PAGE — CTA SECTION
/*******************************************/

.reviews-cta-box {
  background: var(--hero-gradient);
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
  margin-top: 16px;
}

.reviews-cta-box h3 {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.reviews-cta-box p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  margin-bottom: 24px;
}

.reviews-cta-box .btn-primary {
  background-color: #ffffff;
  color: var(--primary-color);
  border-color: #ffffff;
}

.reviews-cta-box .btn-primary:hover {
  background-color: var(--secondary-light);
  border-color: var(--secondary-light);
}

.reviews-cta-box .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.reviews-cta-box .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Remove dark background from review card footer */
.review-footer {
  background: none;
  padding: 0;
  border-top: 1px solid #eef2f5;
  padding-top: 14px;
}

/* Center CTA buttons in reviews section */
.reviews-cta-box .cta-buttons {
  justify-content: center;
}

/* Give reviews preview section a tinted background to contrast with services cards above */
#reviews-preview {
  background-color: var(--secondary-light);
  border-radius: 12px;
  margin-top: 0;
}

/* Gap between hero and klara portal */
#hero {
  margin-bottom: 32px;
}

/******************************************
/* REVIEW SLIDER
/*******************************************/

#reviews-preview {
  padding: 60px 40px !important;
}

.slider-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.slider-track-container {
  overflow: hidden;
  flex: 1;
}

.slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}

@media (max-width: 899px) {
  .slider-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 559px) {
  .slider-card {
    flex: 0 0 100%;
  }
  #reviews-preview {
    padding: 40px 20px !important;
  }
}

/* Hover shadow on cards */
.review-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 51, 102, 0.14);
}

/* Prev / Next arrow buttons */
.slider-btn {
  background: var(--bg-white);
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.slider-btn:hover {
  background: var(--accent-color);
  color: #ffffff;
}

/* Dot indicators */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #c8dede;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.slider-dot.active {
  background: var(--accent-color);
  transform: scale(1.25);
}

/* Space between reviews and pollen sections */
#reviews-preview {
  margin-bottom: 0;
}

#pollen-report {
  margin-top: 40px;
}

/******************************************
/* POLLEN SECTION REDESIGN
/*******************************************/

/* Override old pollen section styles */
.pollen-section {
  background: var(--hero-gradient) !important;
  border-radius: 12px;
  padding: 48px 40px !important;
  box-shadow: none;
}

.pollen-container h2 {
  color: #ffffff !important;
  font-size: 1.8rem;
}

.pollen-location {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.95rem;
}

.pollen-card {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-top: none !important;
  border-radius: 10px !important;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.pollen-card:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-3px);
}

.pollen-card h3 {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.pollen-value {
  color: #ffffff !important;
  font-size: 1.8rem;
}

.pollen-updated {
  color: rgba(255, 255, 255, 0.55) !important;
}

/* Pollen level color coding on gradient background */
.pollen-low { color: #7eefc8 !important; }
.pollen-medium { color: #ffe07a !important; }
.pollen-high { color: #ff9a7a !important; }
.pollen-none { color: rgba(255,255,255,0.6) !important; }

/******************************************
/* MOBILE RESPONSIVE FIXES
/*******************************************/

/* Prevent ALL horizontal overflow globally */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

*, *::before, *::after {
  max-width: 100%;
}

/* ---- HEADER ---- */
@media (max-width: 767px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 16px !important;
    gap: 12px;
  }

  .site-logo {
    max-width: 200px;
    height: auto;
  }

  header nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  nav a {
    font-size: 0.88rem;
    padding: 6px 10px;
  }
}

/* ---- MAIN CONTAINER ---- */
@media (max-width: 767px) {
  main {
    padding: 0 16px;
    margin: 20px auto;
  }

  main > section {
    padding: 40px 0;
  }
}

/* ---- HERO ---- */
@media (max-width: 767px) {
  #hero {
    padding: 40px 24px !important;
  }

  #hero .hero-content h2 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  #hero .hero-content p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons a {
    width: 100%;
    text-align: center;
  }
}

/* ---- KLARA PORTAL ---- */
@media (max-width: 767px) {
  #klara-portal {
    padding: 32px 20px !important;
  }
}

/* ---- PAGE INTRO BANNER (inner pages) ---- */
@media (max-width: 767px) {
  .page-intro {
    padding: 40px 24px !important;
  }

  .page-intro h2 {
    font-size: 1.6rem;
  }
}

/* ---- SERVICE CARDS ---- */
@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- REVIEW SLIDER ---- */
@media (max-width: 767px) {
  #reviews-preview {
    padding: 40px 16px !important;
  }

  .slider-wrapper {
    gap: 6px;
  }

  .slider-btn {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .slider-card {
    flex: 0 0 100% !important;
    min-width: 0;
  }

  .slider-track-container {
    min-width: 0;
    width: 0;
    flex: 1;
  }
}

/* ---- POLLEN SECTION ---- */
@media (max-width: 767px) {
  .pollen-section {
    padding: 36px 20px !important;
  }

  .pollen-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ---- QUICK INFO (location/hours/shots) ---- */
@media (max-width: 767px) {
  .info-split {
    grid-template-columns: 1fr;
  }

  .info-block {
    min-width: 0 !important;
  }

  .shot-hours-table {
    font-size: 0.82rem;
  }

  .shot-hours-table td,
  .shot-hours-table th {
    white-space: normal;
    padding-right: 6px;
  }
}

/* ---- REVIEWS AGGREGATE BANNER (reviews page) ---- */
@media (max-width: 767px) {
  .aggregate-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }

  .reviews-full-grid {
    grid-template-columns: 1fr;
  }

  .reviews-cta-box {
    padding: 36px 24px;
  }

  .reviews-cta-box .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .reviews-cta-box .cta-buttons a {
    width: 100%;
    text-align: center;
  }
}

/* ---- TINTED SECTION (services page) ---- */
@media (max-width: 767px) {
  .tinted-section {
    padding: 28px 20px !important;
  }
}

/* ---- CONTACT FORM ---- */
@media (max-width: 767px) {
  #contact-form-section {
    padding: 24px 16px;
  }
}

/* ---- FOOTER ---- */
@media (max-width: 767px) {
  footer {
    padding: 1.5rem 1rem;
    font-size: 0.85rem;
  }
}