/********** Monowraps Style.css (Cleaned + Optimized) **********/

:root {
  --accent: #CC6600;
  --primary-dark: #000;
  --secondary-dark: #1a1a1a;
}

/*** Back-to-Top Button ***/
.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}
#spinner.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
}

/*** Buttons ***/
.btn {
  font-weight: 600;
  transition: 0.5s;
  border-radius: 50px;
}
.btn-square { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }

.btn-square, .btn-sm-square, .btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  transition: all 0.3s ease;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: none;
}

/*** Navbar ***/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  transition: 0.5s;
}
.navbar .navbar-nav .nav-link {
  margin-right: 25px;
  padding: 10px 0;
  color: #fff;
  font-size: 17px;
  text-transform: uppercase;
  transition: 0.5s;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--accent);
  font-weight: 600;
}

/* Dropdown caret icon */
.navbar .dropdown-toggle::after {
  display: inline-block;
  content: '\25BE'; /* ▼ downwards triangle */
  margin-left: 0.3rem;
  font-size: 0.7em;
  transition: transform 0.3s ease;
  vertical-align: middle;
}
.navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.navbar-btn-wrapper {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}
.navbar .btn.btn-primary {
  align-self: center;
}

/*** Mobile Navbar ***/
@media (max-width: 991.98px) {
  body { padding-top: 80px; }

  #mainNavbar .navbar-collapse {
    background-color: var(--primary-dark);
  }
  #mainNavbar .navbar-nav {
    flex-direction: column;
    margin-top: 20px;
    border-top: 1px solid #ddd;
    align-items: flex-start;
  }
  #mainNavbar .navbar-nav > .nav-item {
    width: 100%;
    padding: 10px 0;
  }
  #mainNavbar .navbar-btn-wrapper {
    width: 100%;
    justify-content: center;
    margin: 10px 0 0 0;
  }
  #mainNavbar .navbar-collapse .dropdown-menu {
    background-color: var(--primary-dark);
  }
  #mainNavbar .navbar-collapse .dropdown-item {
    color: #fff;
    transition: background-color 0.3s, color 0.3s;
  }
  #mainNavbar .navbar-collapse .dropdown-item:hover {
    background-color: var(--secondary-dark);
    color: #00AEEF;
  }
}

/*** Header / Carousel ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 100px;
  background: rgba(0,0,0,0.7);
  z-index: 1;
}
.carousel-control-prev,
.carousel-control-next { width: 10%; }
.carousel-control-prev-icon,
.carousel-control-next-icon { width: 3rem; height: 3rem; }

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 550px;
  }
  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  padding-top: 200px;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../img/carousel-1.jpg) center top no-repeat;
  background-size: cover;
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: #fff;
}

/*** Title Sections ***/
.title {
	margin-bottom: 2rem;
	text-align: left;
}
.title-left, .title-center, .title-right {
  display: inline-block;
  text-transform: uppercase;
  overflow: hidden;
}
.title-center { text-align: left; }
.title-right { text-align: right; }
.title h5 {
  position: relative;
  display: inline-block;
  font-size: 18px;
  font-weight: 300;
}
.title-left h5::after,
.title-center h5::after,
.title-center h5::before,
.title-right h5::before {
  position: absolute;
  content: "";
  width: 500%;
  height: 0;
  top: 9px;
  border-bottom: 1px solid #fff;
}
.title-left h5::after,
.title-center h5::after { left: calc(100% + 15px); }
.title-right h5::before,
.title-center h5::before { right: calc(100% + 15px); }
.title h1 { border-bottom: 1px solid #fff; }

/*** Service Items ***/
.service-item {
	position: relative;
	margin-top: 2.5rem;
	overflow: hidden;
	background-image: url(img/roof-wrap-Install.png);
}
.service-item .service-img {
  position: relative;
  display: inline-block;
}
.service-item .service-img::before {
  position: absolute;
  content: "";
  width: calc(100% - 12rem);
  height: calc(100% - 12rem);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 3rem solid rgba(0,0,0,0.5);
  border-radius: 300px;
  z-index: 1;
}
.service-item-left {
  border-radius: 500px 0 0 500px;
  background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}
.service-item-right {
  border-radius: 0 500px 500px 0;
  background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}
@media (max-width: 767.98px) {
  .service-item-left, .service-item-right {
    border-radius: 500px 500px 0 0;
    background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
    text-align: center;
  }
}

/*** Before/After Gallery Overlay ***/
.before-after .portfolio-item {
	position: relative;
	overflow: hidden;
	background-image: url(img/roof-wrap-before.png);
}
.before-after .portfolio-item::before,
.before-after .portfolio-item::after {
  position: absolute;
  content: "";
  width: 50%;
  height: 100%;
  top: 0;
  background: rgba(0,0,0,0.75);
  transition: width 0.6s ease !important;
  z-index: 1;
}
.before-after .portfolio-item::before { left: 0; transform-origin: left; }
.before-after .portfolio-item::after { right: 0; transform-origin: right; }
.before-after .portfolio-item:hover::before,
.before-after .portfolio-item:hover::after { width: 0 !important; }
.before-after .portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
  opacity: 1;
}

/*** FAQ Accordion ***/
.faq-section .accordion-button {
  padding: 1rem 1.1rem;
  font-weight: 600;
  color: #222;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-section .accordion-button:not(.collapsed) {
  background-color: #e9ecef;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
}
.faq-section .accordion-button:focus { outline: none; box-shadow: none; }
.faq-section .accordion-button:hover { color: var(--accent); }
.faq-section .accordion-body {
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  background-color: #fff;
  padding: 1rem 1.25rem;
  color: #222 !important;
}

/*** Footer ***/
@keyframes footerAnimatedBg {
  0% { background-position: 0 0; }
  100% { background-position: -1000px 0; }
}
.footer {
  background-image: url(../img/footer-bg.png);
  background-position: 0 0;
  background-repeat: repeat-x;
  animation: footerAnimatedBg 50s linear infinite;
}

/*** Location List ***/
.city-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.city-list li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.05rem;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUpCheck 0.6s ease forwards;
}
.city-list li:nth-child(1) { animation-delay: 0.12s; }
.city-list li:nth-child(2) { animation-delay: 0.24s; }
.city-list li:nth-child(3) { animation-delay: 0.36s; }
.city-list li:nth-child(4) { animation-delay: 0.48s; }
.city-list li:nth-child(5) { animation-delay: 0.60s; }
.city-list li:nth-child(6) { animation-delay: 0.72s; }
.city-list li:nth-child(7) { animation-delay: 0.84s; }

.city-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scale(0.7);
  background-color: #ff6600;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: left;
  justify-content: center;
  font-size: 12px;
  opacity: 0;
  animation: popIn 0.45s ease forwards;
}

/* Animations */
@keyframes fadeInUpCheck {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
  0% { opacity: 0; transform: translateY(-50%) scale(0.35); }
  100% { opacity: 1; transform: translateY(-50%) scale(1); }
}

/* ===== Sticky Footer Layout Fix ===== */
html, body {
  height: 100%;
  margin: 0;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 80px; /* adjust to your navbar height */
}
.main-content {
  flex: 1;
}
.footer {
  margin-top: auto;
}

<style>
/* ===== Paragraph Alignment ===== */

/* Left-align paragraphs in main content sections */
main .title p {
    text-align: left;
    margin-bottom: 1rem; /* keeps spacing consistent */
}

/* Left-align paragraphs inside accordion/frequently asked questions */
main .accordion-body p {
    text-align: left;
    margin-bottom: 1rem;
}

/* Keep headings centered */
main .title h1,
main .title h5 {
    text-align: center;
}

/* Optional: ensure footer sticks to bottom on short pages */
body.d-flex.flex-column.min-vh-100 {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main.flex-grow-1 {
    flex: 1 0 auto;
}

</style>

.hero-section .title-center h1,
.hero-section .title-center p {
    color: #ffffff; /* forces white text */
    z-index: 2; /* make sure it’s above the scrolling background */
    position: relative;
}

#formResponse .alert {
    margin-top: 15px;
}

/* --- Fix Testimonial Alignment Issues --- */
.testimonial-item {
  text-align: center !important;
}

.testimonial-item p {
  text-align: center !important;
  margin: 0 auto;
  max-width: 700px;
}

.owl-carousel .owl-dots img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  border: 3px solid #ff6600; /* accent border */
  transition: all 0.3s ease;
}

.owl-carousel .owl-dot.active img {
  opacity: 1;
  transform: scale(1.05);
  border-color: #fff;
}

.owl-carousel .owl-dot img {
  opacity: 0.7;
}

.owl-carousel .owl-dot:hover img {
  opacity: 1;
}

/* --- Fix testimonial dots (avatars) alignment and spacing --- */
.owl-carousel .owl-dots {
  text-align: center !important;
  margin-top: 20px;
}

.owl-carousel .owl-dot {
  display: inline-block;
  margin: 0 8px;
}

.owl-carousel .owl-dot img {
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ff6600;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.owl-carousel .owl-dot.active img,
.owl-carousel .owl-dot:hover img {
  opacity: 1;
  transform: scale(1.05);
  border-color: #fff;
}

/* --- Ghost / Monochrome inactive testimonial icons --- */
.owl-carousel .owl-dot img {
  filter: grayscale(100%);
  opacity: 0.4;
  transition: all 0.4s ease;
  border-color: #666;
}

.owl-carousel .owl-dot.active img,
.owl-carousel .owl-dot:hover img {
  filter: grayscale(0%);
  opacity: 1;
  border-color: #ff6600;
  transform: scale(1.05);
}

.testimonial-item {
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    max-width: 90%;
}

.testimonial-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Font adjustments for small screens */
@media (max-width: 576px) {
    .testimonial-item .fs-5 {
        font-size: 0.95rem;
    }
    .testimonial-item h5 {
        font-size: 1rem;
    }
}

/* Owl Carousel dot thumbnails */
.owl-carousel .owl-dot img {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* circular dots */
    object-fit: cover;
}

/* Smaller dots on mobile */
@media (max-width: 576px) {
    .owl-carousel .owl-dot img {
        width: 30px;
        height: 30px;
    }
}

/* Optional: active dot highlight */
.owl-carousel .owl-dot.active img {
    border: 2px solid #ff6600; /* brand color highlight */
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* pushes footer to bottom */
}

footer {
    width: 100%;
}
