/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

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

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        /*position: absolute;*/
        width: 100%;
        /*top: 0;*/
        /*left: 0;*/
        /*border-bottom: 1px solid rgba(255 255 255 / 46%);*/
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(9 30 62 / 58%);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}

/* service */

.srv-animated-grid {
  padding: 15px 20px;
  text-align: center;
}

.srv-animated-grid h2 {
  font-size: 36px;
  color: #2563eb;
  font-weight: 700;
  margin-bottom: 10px;
  display: inline-block;
  position: relative;
}

.srv-animated-grid h2::after {
  content: '';
  position: absolute;
  width: 0;
  height: 4px;
  left: 0;
  bottom: -8px;
  background-color: #2563eb;
  transition: width 0.4s ease;
  border-radius: 2px;
}

.srv-animated-grid h2:hover::after {
  width: 100%;
}

.srv-animated-grid p.subtitle {
  color: #555;
  font-size: 16px;
  margin-bottom: 50px;
}

.srv-card {
  background: #fff;
  box-shadow: -2px 2px 4px 4px #8080805c;;
  border-radius: 20px;
  padding: 30px 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.srv-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(37,99,235,0.2);
}

/* Animated Icons */
.srv-card .srv-icon {
  font-size: 42px;
  width: 70px;
  height: 70px;
  line-height: 70px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1);}
  50% { transform: scale(1.2);}
  100% { transform: scale(1);}
}

.srv-card:hover .srv-icon {
  animation: spin 1s linear infinite;
  box-shadow: 0 0 20px #2563eb66;
}

@keyframes spin {
  0% { transform: rotate(0deg) scale(1.2);}
  100% { transform: rotate(360deg) scale(1.2);}
}

.srv-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111;
  transition: color 0.3s ease;
}

.srv-card:hover .srv-title {
  color: #2563eb;
}

.srv-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* about */
.image-container {
  overflow: hidden;
}
.image-container img {
  transition: transform 0.5s ease;
}
.image-container:hover img {
  transform: scale(1.1); /* Zoom in */
  /* transform: scale(0.9);  Zoom out (use this instead if you prefer zoom out) */
}

/* Arrow Button */
.srv-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.srv-btn:hover {
  transform: scale(1.3) rotate(15deg);
  box-shadow: 0 0 15px #2563eb66;
}


/* bathroom */
.bathroom-section {
      background: #f9f6f5;
      padding: 60px 0;
    }
    .bathroom-card {
      background: #fff;
      border-radius: 12px;
      padding: 30px 20px;
      text-align: center;
      box-shadow: 0 4px 15px rgba(0,0,0,0.08);
      transition: transform 0.3s ease;
    }
    .bathroom-card:hover {
      transform: translateY(-8px);
    }
    .bathroom-icon {
      font-size: 40px;
      color: #007bff;
      margin-bottom: 15px;
      animation: bathroomPulse 2s infinite;
    }
    @keyframes bathroomPulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.2); color: #d9d614; }
      100% { transform: scale(1); }
    }
    .bathroom-card h5 {
      font-weight: 600;
      margin-bottom: 10px;
    }
    .bathroom-card p {
      color: #555;
      font-size: 15px;
    }


    /* Bathroom Hero Section */
.bathroom-hero {
  background: url(../img/bt2.jpg) center center/cover no-repeat;
  min-height: 100vh;
  position: relative;
  color: #fff;
}
.roof-hero {
  background: url(../img/roof-bn2.webp) center center/cover no-repeat;
  min-height: 100vh;
  position: relative;
  color: #fff;
}
.solar-hero {
  background: url(../img/solar9.jpg) center center/cover no-repeat;
  min-height: 100vh;
  position: relative;
  color: #fff;
}
.window-hero {
  background: url(../img/win6.jpg) center center/cover no-repeat;
  min-height: 100vh;
  position: relative;
  color: #fff;
}
.home-hero {
  background: url(../img/home5.webp) center center/cover no-repeat;
  min-height: 100vh;
  position: relative;
  color: #fff;
}
.gutter-hero {
  background: url(../img/g2.webp) center center/cover no-repeat;
  min-height: 100vh;
  position: relative;
  color: #fff;
}

.bathroom-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* dark overlay */
}

.bathroom-hero .container {
  position: relative;
  z-index: 2;
}

.bathroom-subheading {
  font-size: 14px;
  letter-spacing: 3px;
  color: #f4a321;
  font-weight: 600;
  margin-bottom: 15px;
}

.bathroom-heading {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
  color: white!important;
}

.bathroom-btn {
  background: #fff;
  color: #000;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.bathroom-btn:hover {
  background: #f4a321;
  color: #fff;
}
* Section Title */
.bathroom-title {
  font-size: 28px;
  font-weight: 700;
  color: #222;
}

/* Card Style */
.bathroom-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.bathroom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Icon Style */
.bathroom-icon {
  font-size: 40px;
  color: #f4a321;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.bathroom-card:hover .bathroom-icon {
  transform: scale(1.2) rotate(5deg);
}

/* Text Style */
.bathroom-card-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}

.bathroom-card-text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}



/* Parallax Section */
.bathroom-offer-section {
  position: relative;
  background: url(../img/small-bathroom-with-modern-style-ai-generated.jpg) center center/cover fixed no-repeat;
  color: #fff;
  padding: 80px 0;
  z-index: 1;
}

.roof-offer-section {
  position: relative;
  background: url(../img/chinise-building.webp) center center/cover fixed no-repeat;
  color: #fff;
  padding: 80px 0;
  z-index: 1;
}

.bathroom-offer-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: -1;
}


.home-offer-section {
  position: relative;
  background: url(../img/home4.webp) center center/cover fixed no-repeat;
  color: #fff;
  padding: 80px 0;
  z-index: 1;
}
.solar-offer-section {
  position: relative;
  background: url(../img/solar9.jpg) center center/cover fixed no-repeat;
  color: #fff;
  padding: 80px 0;
  z-index: 1;
}
.gutter-offer-section {
  position: relative;
  background: url(../img/g3.webp) center center/cover fixed no-repeat;
  color: #fff;
  padding: 80px 0;
  z-index: 1;
}


/* Title */
.bathroom-offer-tag {
  display: inline-block;
  background: #f4a321;
  color: #000;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: 5px;
  font-size: 14px;
  margin-bottom: 15px;
}

.bathroom-offer-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.bathroom-offer-subtitle {
  font-size: 16px;
  color: #ddd;
  max-width: 700px;
  margin: auto;
}

/* Card Style */
.bathroom-offer-card {
  background: #fff;
  color: #333;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.bathroom-offer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

/* Card Image */
.bathroom-offer-img img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 3px solid #f4a321;
}

/* Card Text */
.bathroom-offer-card-title {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
}

.bathroom-offer-discount {
  font-size: 20px;
  font-weight: 700;
  color: #f4a321;
  margin-top: 15px;
}
.bathroom-section {
      background: #f9f6f5;
      padding: 60px 0;
    }
    .bathroom-card {
      background: #fff;
      border-radius: 12px;
      padding: 30px 20px;
      text-align: center;
      box-shadow: 0 4px 15px rgba(0,0,0,0.08);
      transition: transform 0.3s ease;
    }
    .bathroom-card:hover {
      transform: translateY(-8px);
    }
    .bathroom-icon {
      font-size: 40px;
      color: #007bff;
      margin-bottom: 15px;
      animation: bathroomPulse 2s infinite;
    }
    @keyframes bathroomPulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.2); color: #0056b3; }
      100% { transform: scale(1); }
    }
    .bathroom-card h5 {
      font-weight: 600;
      margin-bottom: 10px;
    }
    .bathroom-card p {
      color: #555;
      font-size: 15px;
    }

/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}




/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 26px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9 30 62 / 49%)), url(../img/bann2.webp) center center no-repeat;
    background-size: cover;
}

.contact-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(20 8 14 / 52%)), url(../img/contact-bn.webp) center center no-repeat;
    background-size: cover;
}
.bathroom-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9 30 62 / 49%)), url(../img/bath-bann.webp) center center no-repeat;
    background-size: cover;
}
.roofing-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9 30 62 / 49%)), url(../img/roofing.webp) center center no-repeat;
    background-size: cover;
}
.window-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9 30 62 / 49%)), url(../img/win-banner.webp) center center no-repeat;
    background-size: cover;
}
.homewarn-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9 30 62 / 49%)), url(../img/home-warn.webp) center center no-repeat;
    background-size: cover;
}

.solar-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9 30 62 / 49%)), url(../img/solar3.webp) center center no-repeat;
    background-size: cover;
}

.contact-modern-form {
  background: #fff;
  transition: all 0.4s ease;
box-shadow: -1px 0px 6px 1px #8080802b;}

.contact-modern-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(37,99,235,0.2);
}

/* Inputs */
.modern-input {
  border-radius: 10px;
  border: 1px solid #dee2e6;
  padding: 15px 20px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.modern-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 8px rgba(37,99,235,0.3);
  outline: none;
  background: #fff;
}

/* Button */
.modern-btn {
  border-radius: 10px;
  transition: all 0.3s ease;
  background: #2563eb;
  border: none;
}

.modern-btn:hover {
  background: #1e4fc1;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(37,99,235,0.3);
}

/* Placeholder text */
.modern-input::placeholder {
  color: #6c757d;
}
.contact-card {
  background: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}
.contact-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: all 0.4s ease;
}
.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}


.whatsapp-btn {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  font-size: 28px;
  border-radius: 50%;
  padding: 15px;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.2);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
