/*---Footer Styles-----*/
.footerContent {
  margin: auto 0;
  text-align: center; 
}

.socialIcons {
display: flex; /* Use flexbox for alignment */
justify-content: center; /* Center align the icons */
gap: 15px; /* Ensures consistent spacing between icons */
}

.icon {
width: 30px;
height: 30px;
transition: transform 0.3s, filter 0.3s; /* Added smooth filter transition */
}

.icon:hover {
transform: scale(1.1); /* Slight zoom effect */
filter: brightness(1.2); /* Lightens the icons on hover for better feedback */
}

/* Modal styles */
.popup {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
background-color: white;
padding: 20px;
border-radius: 10px;
margin: 15% auto;
width: 60%;
text-align: center;
position: relative;
}

.close-btn {
width: auto;
min-height: 44px;
background: #ffffff;
color: #1f2f4d;
border: 1px solid #bcc9dc;
padding: 10px 20px;
font-size: 16px;
font-weight: 700;
cursor: pointer;
border-radius: 999px;
margin-top: 20px;
}

.close-btn:hover {
background-color: #edf4ff;
border-color: #92abd1;
color: #1f2f4d;
}

#platform-name {
font-weight: bold;
color: #007bff;
}

/* Modal styles */
.popup {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
background-color: white;
padding: 20px;
border-radius: 10px;
margin: 15% auto;
width: 60%;
text-align: center;
position: relative;
color: #1a1a2e;
}

.close-btn {
width: auto;
min-height: 44px;
background: #ffffff;
color: #1f2f4d;
border: 1px solid #bcc9dc;
padding: 10px 20px;
font-size: 16px;
font-weight: 700;
cursor: pointer;
border-radius: 999px;
margin-top: 20px;
}

.close-btn:hover {
background-color: #edf4ff;
border-color: #92abd1;
color: #1f2f4d;
}

#platform-name {
font-weight: bold;
color: #007bff;
}

/* Contact Buttons */
.contact-btn {
display: inline-block;
background-color: lightslategray;
color: white;
text-decoration: none;
padding: 1px 10px;
font-size: 16px;
border-radius: 5px;
transition: background-color 0.3s ease;
cursor: auto;
}

.contact-btn:hover {
background-color: lightgray;
}

.contact-btn2 {
display: inline-block;
background-color: #007bff;
color: white;
text-decoration: none;
padding: 1px 10px;
font-size: 16px;
border-radius: 5px;
transition: background-color 0.3s ease;
cursor: auto;
}

.contact-btn2:hover {
background-color: #0056b3;

}
/* End Contact Buttons */


/* Sleek Privacy & Cookies */
.privacy-popup {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
background: transparent;
  color: #333;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  font-size: 12px;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  display: none;
}

.privacy-popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.privacy-popup-content p {
  margin: 0;
  line-height: 1.5;
}

.privacy-popup-content a {
  color: #0078d4;
  text-decoration: none;
  font-weight: 500;
}

.privacy-popup-content a:hover {
  text-decoration: underline;
}

.privacy-popup-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.privacy-btn {
  padding: 4px 10px;
  font-size: 12px;
  border: none;
  border-radius: 4px;
  background-color: #e0e0e0;
  color: #222;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.privacy-btn:hover {
  background-color: #ccc;
}

.privacy-btn.secondary {
  background-color: #f9f9f9;
  color: #555;
}

/* Ad-compliance override: keep support messages non-blocking on ad pages. */
.popup {
  right: 16px;
  bottom: 16px;
  left: auto;
  top: auto;
  width: min(360px, calc(100vw - 32px));
  height: auto;
  padding: 0;
  background: transparent;
  z-index: 50;
  pointer-events: none;
}

.popup-content {
  width: 100%;
  max-width: 360px;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
}

.privacy-popup {
  left: auto;
  right: 16px;
  width: min(420px, calc(100vw - 32px));
  background: rgba(255, 255, 255, 0.96);
  z-index: 40;
}

@media (max-width: 600px) {
  .popup,
  .privacy-popup {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 12px;
  }

  .popup-content {
    max-width: none;
  }
}

/* Published-site shell */
body {
  background:
    radial-gradient(circle at top, rgba(114, 168, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #f4f7fb 0%, #eef3f8 100%);
  color: #1f2937;
}

.mainTitle {
  display: block;
  width: fit-content;
  margin: 12px auto 6px;
}

.tabmenu {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.tabmenu li {
  flex: 0 1 auto;
}

.tabmenu a {
  min-width: 96px;
  padding: 10px 14px;
  border: 1px solid #a9bee9;
  border-radius: 999px;
  background: #eef4ff;
  color: #2850a5;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
  text-decoration: none;
}

.tabmenu a:hover,
.tabmenu a.active {
  background: #dbe8ff;
  border-color: #a9bee9;
  color: #2850a5;
  box-shadow: none;
}

@media (max-width: 600px) {
  .tabmenu {
    width: calc(100% - 16px);
    gap: 4px;
    padding: 6px;
  }

  .tabmenu li {
    flex: 1 1 auto;
  }

  .tabmenu a {
    min-width: 88px;
    padding: 9px 12px;
    font-size: 12px;
  }
}

.privacy-popup {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: auto;
  width: min(420px, calc(100vw - 24px));
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
  z-index: 60;
  display: none;
}

.privacy-popup-content {
  display: grid;
  gap: 10px;
  text-align: left;
}

.privacy-popup-content p {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  color: #334155;
}

.privacy-popup-content a {
  color: #1d4ed8;
  font-weight: 600;
}

.privacy-popup-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.privacy-btn {
  width: auto;
  min-width: 96px;
  padding: 10px 14px;
  font-size: 13px;
  border: 1px solid #c7d7ef;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f3f7fd);
  color: #22304f;
}

.privacy-btn:hover {
  background: linear-gradient(135deg, #1e3a8a, #3670ff);
  color: #fff;
}

.privacy-btn.secondary {
  background: #eef2f7;
}

@media (max-width: 600px) {
  .privacy-popup {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 12px;
  }
}

/* HVACChecks unified tab menu override */
.tabmenu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border-radius: 8px;
  padding: 4px;
  margin: 0;
  list-style: none;
  gap: 4px;
  background: transparent;
  box-shadow: none;
}

.tabmenu li {
  flex: 1 1 auto;
  text-align: center;
}

.tabmenu a {
  display: block;
  padding: 8px 14px;
  color: #2850a5;
  background-color: #eef4ff;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  box-shadow: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  border: 1px solid #a9bee9;
}

.tabmenu a:hover,
.tabmenu a.active {
  background-color: #dbe8ff;
  color: #2850a5;
  box-shadow: none;
}

@media (max-width: 600px) {
  .tabmenu {
    justify-content: space-around;
    padding: 3px;
    gap: 3px;
  }

  .tabmenu a {
    font-size: 14px;
    padding: 7px 12px;
    border-radius: 5px;
  }
}
