/* ============================================================
   1. CSS Custom Properties
   ============================================================ */
:root {
  --color-primary:       #f06d0c;   /* CTAs, header, buttons, headings */
  --color-primary-dark:  #c5580a;   /* hover state for primary */
  --color-primary-light: #f58634;   /* body links, secondary accents */
  --color-solar:         #f39c12;   /* solar report accent */
  --color-solar-accent:  #0097a7;   /* solar pricing border/header */
  --color-roof:          #8fb801;   /* roof schematic report accent */
  --color-dark:          #2e2e2e;
  --color-dark-mid:      #4a4a4a;
  --color-footer-bg:     #312f31;
  --color-footer-text:   #b9b9b9;
  --color-body-bg:       #fff;
  --color-body-text:     #333;
  --color-section-bg:    #f0f0f0;
  --color-highlight-bg:  #eae9e9;
  --font-family-base:    'Roboto', sans-serif;
}

/* ============================================================
   2. Base / Reset
   ============================================================ */
html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: var(--font-family-base);
  font-size: 16px;
  color: var(--color-body-text);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-family-base);
  font-weight: 300;
  padding: 10px 0;
  margin: 0;
  color: var(--color-primary);
}

h1 span {
  display: block;
  font-size: .6em;
  color: var(--color-dark-mid);
  padding: 2px 0;
}

/* ============================================================
   3. Layout
   ============================================================ */
.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.flexGlow {
  flex-grow: 1;
}

.container {
  width: 75%;
}

/* ============================================================
   4. Header
   ============================================================ */
.common-header {
  background-color: var(--color-primary);
  border-bottom: 3px solid #666;
  padding: 5px 0;
}

.top-contact {
  font-family: var(--font-family-base);
  color: #fff;
  padding: 0;
  text-align: right;
  font-weight: 700;
  font-size: 16px;
  margin: 0;
}

.top-contact:hover {
  background: inherit;
  text-decoration: underline;
}

.show {
  font-size: 1.1rem;
  color: var(--color-primary);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  padding: 10px 0;
  width: 120px;
}

.header-menus {
  background-color: var(--color-section-bg) !important;
}

.navbar {
  padding-right: 10px;
}

.navbar-nav {
  font-family: var(--font-family-base);
}

.nav-link-menu {
  font-size: 0.875rem;
  text-decoration: none;
  color: #444;
  padding: 5px 16px 10px 0;
  margin: 0;
}

.nav-link-menu:hover {
  text-decoration: none;
  color: var(--color-primary);
  padding: 5px 16px 10px 0;
  margin: 0;
}

.navbar-nav .order-now .nav-link {
  font-size: 1.2rem;
}

.order-now-menu {
  font-size: 18px;
  margin-bottom: 0;
}

.navbar-nav .nav-link.active {
  color: var(--color-primary) !important;
}

.navbar-toggler {
  background-color: var(--color-primary) !important;
  border-color: #afafaf;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  background-size: contain;
}

/* ============================================================
   5. Footer
   ============================================================ */
.footer {
  background-color: var(--color-footer-bg);
  border-top: 4px solid var(--color-primary);
  padding: 30px 0;
  font-size: smaller;
}

.copyright-link {
  color: var(--color-primary);
  padding: 0;
}

footer,
footer a,
footer a:visited {
  color: var(--color-footer-text);
}

.site-link a {
  display: block;
  padding-bottom: 5px;
  color: var(--color-footer-text) !important;
  text-decoration: none;
}

.site-link a:hover {
  color: var(--color-primary) !important;
}

/* footCont — explicit class for footer anchor links */
.footCont {
  display: block;
  padding-bottom: 5px;
  color: var(--color-footer-text) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footCont:hover {
  color: var(--color-primary) !important;
}

.verified-link {
  text-align: right;
  padding-bottom: 5px;
  gap: 5px;
}

.verified-link::before,
.verified-link::after {
  content: none !important;
}

.verified-link a {
  text-decoration: none;
}

.support-link {
  text-align: right;
  padding-bottom: 5px;
  color: var(--color-footer-text);
}

.support-link a {
  text-align: right;
  padding-bottom: 5px;
  color: var(--color-footer-text);
  text-decoration: none;
}

.powered-by {
  text-align: right !important;
}

.facebook-link,
.linkedin-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  padding-bottom: 0 !important;
}

/* ============================================================
   6. Homepage Sections
   ============================================================ */
.video-image {
  content: url("/img/video-cb23982de05d02acfbc006c77a1717e9.png");
}

.video-image:hover {
  content: url("/img/video-hover-25a037c36cbc2795a9416ef1faf132be.png");
}

.start-here {
  background-image: url(/img/ro-home-4c41d2172562930a00cc3d9dea732327.jpg);
  background-position: top;
  background-size: cover;
  padding: 1px 0;
}

.start {
  color: #fff;
  min-width: 280px;
  padding: 40px 0;
  margin: 20px 0;
}

.start h1 {
  color: #fff;
  margin-bottom: 5px;
  font-size: 42px;
  font-weight: 700;
  text-shadow: 0 1px 6px #000;
}

.start-here h1 span {
  color: #fff;
}

.start h1 span {
  display: block;
  font-size: 26px;
  padding-top: 5px;
  font-weight: 700;
}

.start .order-now {
  background-color: var(--color-primary);
  padding: 3px 8px 8px;
  color: #fff;
  font-size: 28px;
  text-decoration: none;
}

.start .order-now:hover {
  background-color: var(--color-dark);
}

.tag-line {
  background-color: var(--color-highlight-bg);
  margin-bottom: 20px;
  text-align: center;
}

.tag-line h2 {
  color: var(--color-primary);
  padding: 40px;
  font-weight: 700;
  font-size: 36px;
}

.tag-line h2 b {
  font-size: 40px;
  color: var(--color-dark);
}

.reports,
.reports:visited {
  padding: 20px;
  display: block;
  color: #fff;
  position: relative;
  margin-bottom: 10px;
}

.reports-blue {
  background-color: var(--color-roof);
  text-decoration: none;
}

.reports-blue:hover {
  background-color: var(--color-dark-mid);
  color: #fff;
}

.reports-orange {
  background-color: var(--color-primary);
  text-decoration: none;
}

.reports-orange:hover {
  background-color: var(--color-dark-mid);
  color: #fff;
}

.reports b {
  display: block;
}

.reports img {
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.reports-more,
.reports-more:visited {
  display: block;
  padding: 20px 0;
  color: var(--color-primary-light);
  text-decoration: none;
}

.reports-more:hover {
  color: #777;
  text-decoration: none;
}

.quick-links {
  padding: 10px 0;
}

.quick-links a,
.quick-links a:visited {
  display: inline-block;
  font-family: var(--font-family-base);
  font-weight: 400;
  font-size: 28px;
  color: var(--color-primary);
  padding: 5px 0 5px 40px;
  background-image: url(/img/arrow-link-3556b712da8316ff959ae074200c62db.png);
  background-repeat: no-repeat;
  background-position: 0 8px;
  text-decoration: none;
}

.quick-links p {
  display: block;
  padding-left: 40px;
}

.quick-links p a.download {
  color: var(--color-primary-light);
  font-size: 14px;
  padding: 0;
  background: none;
}

.quick-links img {
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.quick-links.sml a {
  font-size: 16px;
  padding: 12px 0 8px 40px;
}

.orange-links {
  color: var(--color-primary-light);
  text-decoration: none;
}

.help-line {
  background-color: var(--color-dark);
  padding: 20px 0;
  color: #fff;
  margin: 40px 0;
  text-align: center;
}

.help-line h3 {
  color: #fff;
  font-size: 28px;
  line-height: 1.4em;
  padding: 10px 0;
}

.help-line h3 span {
  font-weight: 700;
  font-size: 28px;
  display: inline-block;
  color: var(--color-primary);
}

.why-rooforders {
  background-color: var(--color-primary);
  padding: 30px 20px;
  color: #fff;
  margin-bottom: 40px;
}

.why-rooforders h3 {
  color: #fff;
  font-size: 42px;
}

.why-rooforders h3 span {
  display: block;
  font-size: 26px;
}

.why-rooforders p {
  padding: 30px 0;
}

.why-rooforders a {
  display: inline-block;
  /* padding: 20px 0 20px 64px; */
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  position: relative;
}

/* .why-rooforders a::before {
  content: "\2192";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5em;
  color: #fff;
} */

.faqs,
.videos {
  margin-bottom: 0;
}

.faqs h3,
.videos h3 {
  font-size: 32px;
  color: #222;
  padding-top: 30px;
}

.faqs h3 span,
.videos h3 span {
  font-size: 22px;
  color: var(--color-primary);
  display: block;
}

.faqs p {
  padding: 10px 0;
}

.faqs p b {
  color: var(--color-primary);
  display: block;
  padding-bottom: 0;
  font-size: 14px;
  font-weight: 700;
}

.faqs p a,
.faqs p a:visited {
  display: block;
  color: var(--color-primary);
  text-align: right;
  margin-top: 10px;
}

.faqs p a:hover {
  display: block;
  color: #222;
}

.clients {
  background-color: var(--color-highlight-bg);
  padding: 10px 0;
  text-align: center;
}

.clients h3 {
  color: #333;
  font-size: 32px;
  display: inline-block;
  padding: 40px 80px 0 40px;
  font-weight: 300;
}

.carousel {
  margin-bottom: 10px;
  position: relative;
}

.carousel-item {
  background: linear-gradient(160deg, #272727 0%, #1c1c1c 100%);
}

.carousel-caption {
  position: relative !important;
  z-index: 3;
  left: auto;
  right: auto;
  text-align: center;
  padding: 20px 40px;
  margin: 10px 60px;
  color: #ddd;
  height: 260px;
  overflow: hidden;
  pointer-events: none;
}

.carousel-caption a {
  pointer-events: auto;
}

.carousel-caption img {
  max-height: 40px;
  width: auto;
  margin-bottom: 6px;
}

.carousel-caption h5 {
  margin-bottom: 8px;
  padding: 4px 0;
}

.carousel-title-color {
  color: var(--color-primary-light);
}

.twoline {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5em;
  white-space: normal;
  margin-bottom: 8px;
}

.read-more {
  text-decoration: none !important;
  color: var(--color-primary-light);
}

.read-more:hover {
  color: #aaa;
}

@media (max-width: 768px) {
  .carousel-caption {
    margin: 10px 20px;
    padding: 15px;
    height: auto;
  }
}

/* ============================================================
   7. Inner Page Sections
   ============================================================ */
.internal-head-dark {
  border-top: 1px solid #ccc;
  padding: 20px 0 10px;
}

.internal-head-dark h1 span {
  display: block;
  font-size: .6em;
  color: var(--color-dark-mid);
  padding: 2px 0;
}

.esxstart {
  font-size: 28px;
  color: #fff;
  min-width: 280px;
}

.esxstart .order-now {
  background-color: var(--color-primary);
  color: #fff;
  font-size: 28px;
  padding: 3px 8px 8px;
  text-decoration: none;
}

.esxstart .order-now:hover {
  background-color: var(--color-dark);
}

.esxstart .order-now img {
  padding: 5px 5px 5px 10px;
  margin-bottom: 5px;
}

.titleEsx {
  font-size: 15px;
}

/* Regular content list (bullet points) */
.listing {
  padding-left: 20px;
  margin-bottom: 10px;
}

.listing li {
  padding: 3px 0;
}

.listing-ul {
  padding: 10px 0;
  overflow: hidden;
  list-style: none;
}

.listing-ul li {
  padding-left: 0;
  margin-bottom: 10px;
}

.img-responsive {
  min-width: 100%;
  max-width: 100%;
}

.heading {
  font-weight: 300;
  color: var(--color-primary);
  padding: 10px 0;
  font-size: 36px;
}

.subheading {
  font-weight: 300;
  color: var(--color-primary);
  padding: 10px 0;
}

.hr-left {
  border-left: 1px dotted #888;
  padding-left: 20px;
  padding-bottom: 50px;
  margin-bottom: 20px;
}

.esx {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* ============================================================
   8. Pricing Page
   ============================================================ */
#roofReport,
#solarReport {
  font-size: 36px;
}

div.price-subhead {
  margin-bottom: 20px;
  border-bottom: 5px solid #ccc;
  padding-bottom: 5px;
  background-color: #efefef;
  margin-top: 10px;
  border-top: 1px solid var(--color-dark-mid);
  min-height: 1px;
}

span.price-head,
span.price-subhead {
  color: #fff;
  font-size: 20px;
  display: flex;
  font-family: var(--font-family-base);
  padding: 0 20px 0 0;
  margin-bottom: 20px;
}

.subhead-text {
  padding-top: 10px;
}

span.price-head {
  background-color: var(--color-dark-mid);
}

span.price-head b,
span.price-subhead b {
  display: inline-block;
  width: 70px;
  color: #fff;
  padding: 10px;
  text-align: center;
  margin-right: 10px;
  background-color: var(--color-dark-mid);
}

span.price-head b {
  background-color: var(--color-primary);
}

div.price-subhead p {
  display: block;
  padding-left: 30px;
  padding-right: 20px;
  font-weight: 400;
  color: #555;
  font-size: 14px;
}

div.price-subhead ul {
  padding: inherit;
  margin-left: 45px;
}

div.price-subhead ul li {
  padding: 5px 40px 5px 5px;
  color: #222;
}

div.price-subhead-solar {
  background-color: var(--color-solar);
  border-bottom: 5px solid var(--color-solar-accent);
  border-top: 1px solid var(--color-solar-accent);
}

span.price-subhead {
  background-color: var(--color-solar-accent);
}

/* ============================================================
   9. Blog / Articles
   ============================================================ */
.read-more {
  text-decoration: none !important;
  color: var(--color-primary);
}

.read-more:hover {
  text-decoration: none;
  color: #777;
}

.page-item.active .page-link,
.pagination>.active>button:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: #ffffff;
}

.pagination>li>button {
  color: var(--color-primary-light);
}

.pagination>li>button:hover {
  color: var(--color-primary-dark);
}

.post-title {
  color: #333333;
}

.post-title:hover {
  color: var(--color-primary-light);
}

.blog-read-more {
  color: var(--color-primary-light);
  text-decoration: none;
}

.blog-read-more:hover {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.blog-date {
  color: var(--color-primary);
  font-size: smaller;
}

/* ============================================================
   10. Privacy Policy
   ============================================================ */
.last-updated-date {
  display: block;
  font-size: 0.5em !important;
  color: var(--color-dark-mid);
  padding: 2px 0;
}

.privacy-policy-introduction {
  background-color: var(--color-highlight-bg);
  margin-bottom: 20px;
  text-align: left;
}

.clickable-links {
  color: var(--color-body-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.clickable-links:hover {
  color: var(--color-primary);
}

/* ============================================================
   11. Contact / iframe
   ============================================================ */
.iframe-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.contact-iframe {
  width: 100%;
  height: 705px;
}

/* ============================================================
   12. Security Compliance
   ============================================================ */
.logos {
  position: relative;
  top: -10px;
  text-align: center;
}

.image-logo {
  margin-right: 20px;
}

.veriskimg {
  width: 20vh;
  height: auto;
}

.image-small {
  width: 50px;
  height: 50px;
}

.text-justify-soc {
  text-align: justify;
}

.faqs-links {
  color: inherit;
}

.faqs-links:hover {
  color: var(--color-primary);
}

.soc {
  text-decoration: underline;
}

.iso {
  text-decoration: underline;
}

.arr {
  width: 35px;
  height: 30px;
}

/* ============================================================
   13. Dev Ribbon
   ============================================================ */
.corner-ribbon {
  color: #fff;
  display: block;
  font-weight: 400;
  margin: 1px 0;
  padding: 10px 50px;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 0 5px #444;
  pointer-events: none;
  background-color: rgba(170, 0, 0, 0.5);
  left: -3.5em;
  transform: rotate(-45deg);
  overflow: hidden;
  position: fixed;
  top: 35px;
  white-space: nowrap;
  width: 15em;
  z-index: 9999;
  opacity: 0.75;
}

/* ============================================================
   Shared Utilities
   ============================================================ */

/* Blog listing cards */
.blog-page { width: 100%; }
.blog-card-flex { display: flex; }
.blog-card-content { flex: 2 1 0%; }
.blog-card-header { display: flex; justify-content: space-between; }

/* FAQ indentation */
.faq-list { margin-left: 39px; }

/* Suppress arrow pseudo-element for image/thumbnail links inside .quick-links */
.quick-links a.no-arrow { padding-left: 0; }
.quick-links a.no-arrow::before { content: none; }

/* Horizontal flex rule divider */
.flex-divider { flex: 1 1 0%; height: 1px; background-color: var(--color-dark); }

/* Page bottom spacer (e.g. short-content pages like mission-statement) */
.section-spacer { margin-top: 200px; }
.ques-faqs {
  text-decoration: none;
}

.ques-faqs:hover {
  text-decoration: none;
  color: var(--color-primary);
}

.help-title {
  display: block;
  width: 100%;
  font-weight: 700;
}

.font-size {
  font-size: 24px;
  color: var(--color-primary-light);
  font-weight: 900;
}

.table {
  border: .5px solid #959494;
  border-collapse: collapse;
  text-align: center;
  width: 50%;
}

.table td,
.table th {
  border: .5px solid #959494;
  padding: 0;
  vertical-align: inherit;
}

.tablecolor {
  background-color: #f6e386;
}

.tablecolor1 {
  background-color: #b3d8f6;
}

.tablecolor2 {
  background-color: #bdf9ba;
}

/* Carousel captions */
.twoline {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 7.5em;
  line-height: 1.5em;
  white-space: normal;
}

.carousel-title-color {
  color: var(--color-primary);
}

hr.solid {
  border-top: 3px solid var(--color-primary);
}

/* ============================================================
   14. Responsive Breakpoints
   ============================================================ */

/* Tablet and below */
@media (max-width: 768px) {
  .container {
    width: 100%;
  }

  .container, .row, .col {
    padding-left: 10px;
    padding-right: 10px;
  }

  .carousel-caption {
    font-size: 14px;
    margin: 10px 20px;
    padding: 20px 20px 20px 20px;
  }

  .carousel-item img {
    object-fit: contain;
  }

  .start .order-now {
    font-size: 15px;
  }

  .reports {
    font-size: 20px;
  }

  .start h1 {
    font-size: 30px;
  }

  .start h1 span {
    font-size: 15px;
  }

  .tag-line h2 {
    font-size: 25px;
    padding: 40px;
  }

  .tag-line h2 b {
    font-size: 25px;
  }

  .help-line h3 {
    font-size: 20px;
  }

  .help-line h3 span {
    font-size: 20px;
  }
}

/* Very small phones */
@media (max-width: 480px) {
  p, span, li, a, div {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }

  .start h1 {
    font-size: 30px;
  }

  .start h1 span {
    font-size: 15px;
  }

  .tag-line h2 {
    font-size: 25px;
    padding: 40px;
  }

  .tag-line h2 b {
    font-size: 25px;
  }

  .help-line h3 {
    font-size: 20px;
  }

  .help-line h3 span {
    font-size: 20px;
  }

  .carousel-control-next,
  .carousel-control-prev {
    position: absolute;
    top: 0;
    bottom: 0;
  }

  .clients {
    height: auto;
  }
}

/* Roof report — service button responsive */
@media (max-width: 1280px) {
  .internal-head-dark .row {
    flex-direction: column !important;
    text-align: left;
  }

  .internal-head-dark .col-md-9,
  .internal-head-dark .col-md-3 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .internal-head-dark .heading {
    margin-bottom: 15px;
    text-align: left;
  }

  .internal-head-dark .esxstart {
    text-align: left;
    margin-bottom: 15px;
  }

  .internal-head-dark .esxstart a.order-now {
    display: inline-block;
    width: auto;
    padding: 5px 10px;
  }
}

/* Pricing — mobile */
@media (max-width: 767px) {
  span.price-subhead {
    font-size: 15px;
  }

  span.price-head {
    font-size: 15px;
  }

  .heading {
    font-size: 30px;
  }
}
