/* ======= Basic style ======= */
html,
body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  font-smoothing: antialiased;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  list-style: none;
  word-wrap: break-word;
}

body {
  font-family: "jost", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75em;
  color: #555;
  overflow-x: hidden;
}

p {
  font-family: "Jost", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75em;
  color: #555;
  margin-bottom: 5px;
}

h1 {
  font-size: 60px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 36px;
}

h4 {
  font-size: 30px;
}

h5 {
  font-size: 24px;
}

h6 {
  font-size: 21px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  line-height: 1.5em;
  margin: 0 0 15px 0;
  color: #000;
}

img {
  width: 100%;
  height: auto;
}

img {
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  color: #f4f4f4;
}

span,
a,
a:hover {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}
li {
  font-size: 17px;
}

b {
  font-weight: 400;
  color: #555;
}

/* text field */
input[type="password"]:focus,
input[type="email"]:focus,
input[type="text"]:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus,
textarea:focus {
  outline: none;
}

input[type="password"],
input[type="email"],
input[type="text"],
input[type="file"],
textarea {
  max-width: 100%;
  margin-bottom: 10px;
  /* padding: 15px 0; */
  height: auto;
  background-color: #fff;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-width: 0 0 1px;
  border-style: solid;
  display: block;
  width: 100%;
  line-height: 1.5em;
  font-size: 16px;
  font-weight: 400;
  color: #555;
  background-image: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  border-color: ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

input:focus,
textarea:focus {
  border-bottom-width: 1px;
  border-color: #c6321b;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button {
  text-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  line-height: 1.75em;
  -webkit-transition: background-color 0.15s ease-out;
  transition: background-color 0.15s ease-out;
  background: #fff;
  border: none;
}

input[type="submit"]:hover {
  background-color: #f4f4f4;
  color: #555;
  border: none;
}

select {
  padding: 10px;
  border-radius: 5px;
}

table,
th,
tr,
td {
  border: 1px solid #f4f4f4;
}

th,
tr,
td {
  padding: 10px;
}

input[type="radio"],
input[type="checkbox"] {
  display: inline;
}

/* placeholder */
::-webkit-input-placeholder {
  color: #555;
  font-size: 16px;
  font-weight: 400;
}

/* Top head style start */
.top-head {
  background: #143f84;
  height: 60px;
  line-height: 60px;
  position: relative;
  z-index: 1;
}
.top-head::before {
  position: absolute;
  height: 60px;
  width: 56%;
  background: #de5b01;
  content: "";
  top: 0;
  left: 0;
  z-index: -1;
}
.top-head::after {
  position: absolute;
  height: 60px;
  width: 20px;
  background: #de5b01;
  content: "";
  top: 0;
  left: 55%;
  z-index: -1;
  transform: skew(-10deg);
}

.top-head .top-area {
  display: flex;
}
.top-head .top-area li {
  display: flex;
}
.top-head .top-area li:first-child {
  padding-right: 30px;
}
.top-head .top-area li:last-child {
  padding-left: 30px;
}

.top-head .top-area li a,
.top-head .top-area li p {
  padding-left: 7px;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-family: "Jost", sans-serif;
  font-weight: 500;
}
.top-head .top-area li p {
  padding-top: 14px;
}

.top-head .top-area li i {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 13px;
  font-size: 17px;
  width: 34px;
  height: 34px;
  color: #de5b01;
}
.top-head .social-media,
.top-head .social-media li {
  display: flex;
  justify-content: end;
}
.top-head .social-media li {
  margin-left: 15px;
}

.top-head .social-media li a i {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-radius: 50%;
  margin-top: 10px;
  font-size: 19px;
}

.top-head .social-media li.yt a i {
  background: #d20f0f;
}
.top-head .social-media a {
  text-decoration: none;
}
/* Top Head style end */
/* Nav section style start */
.logo {
  position: relative;
  z-index: 99;
  display: none;
}
.logo img {
  width: 80%;
  padding-left: 12px;
  margin-top: 20px;
}
.logo::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 190px;
  height: 150px;
  background: #fff;
  border-radius: 0 0 80px 80px;
  box-shadow: 0 0 10px #0000003b;
  z-index: -1;
  display: none;
}
.nav-section .navbar ul li a {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 500;
  color: #000;
  font-family: "Jost", sans-serif;
}
.nav-section .navbar ul li ul li a {
  color: #061075;
}
.nav-section .navbar ul li {
  padding-right: 10px;
}
.nav-section .navbar ul li a.main-btn {
  margin-top: 0;
  font-size: 14px;
  padding: 10px 20px;
  background: #032f5e;
  color: #fff;
}

.nav-section .navbar .dropdown .dropdown-menu li {
  border-bottom: 1px solid #e5e3e3;
  padding: 5px 0;
  transition: 0.5s;
}
.dropdown-item:focus,
.dropdown-item:hover {
  background: #061075 !important;
  color: #fff !important;
}
.navbar-brand {
  width: 200px;
}
.navbar-brand img {
  width: 100%;
}

.nav-section .navbar .dropdown .dropdown-menu li:last-child {
  border: none;
}

.nav-section .navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .show > .nav-link {
  color: #143f84;
  font-weight: bold;
}
.nav-section .navbar form p {
  width: 100%;
  margin-bottom: 0;
  padding-top: 5px;
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 500;
  color: #f25c27;
}
.nav-section .navbar form .form-select {
  width: 50%;
  margin-left: 20px;
  background-image: url(../img/dw.png) !important;
}

.nav-section-scrolled {
  position: fixed !important;
  width: 100%;
  top: 0;
  transition: 0.5s;
  z-index: 999;
  box-shadow: 0 0.5rem 0.6rem #00000028;
}

.nav-section main {
  position: relative;
}

.nav-section {
  background: #fff;
  position: relative;
  z-index: 9999;
  height: auto;
  padding: 5px 0;
}

.nav-section .navbar {
  padding: 0;
  height: 100px;
  /* background: #143f84; */
  border-radius: 5px;
  padding: 0 13px;
  /* overflow: hidden; */
}
.navbar-expand-lg .navbar-nav {
  margin-top: 10px;
}

.nav-section-scrolled .navbar .navbar-brand {
  display: block;
}
.nav-section-scrolled .navbar .navbar-brand img {
  width: 90%;
}

/* nav close style start */

.nav-open {
  height: 56px !important;
  position: relative;
  width: 70px !important;
}
.nav-open .inner,
.nav-open .inner::before,
.nav-open .inner::after {
  background-color: white;
  content: "";
  display: block;
  height: 6px;
  width: 34px;
  transition: all 0.5s ease;
}
.nav-open .inner {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
.nav-open .inner::before {
  margin-top: -9px;
  position: absolute;
}
.nav-open .inner::after {
  margin-top: 9px;
  position: absolute;
}

.nav-open.nav-close .inner {
  background-color: transparent;
  left: 60%;
}
.nav-open.nav-close .inner::before,
.nav-open.nav-close .inner::after {
  transform: rotate(45deg);
  transform-origin: 0 50%;
  width: 27px;
}
.nav-open.nav-close .inner::after {
  transform: rotate(-45deg);
}

/*==Sticky Header Start==*/
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 0 0 10px 10px;
  border-bottom: 1px solid #e7240f;
}

.toggle-button {
  position: fixed;
  top: 0;
  right: 0;
  width: 70px;
  height: 70px;
  background-color: #c30201;
  text-align: center;
  border: none;
  outline: none;
  display: none;
  z-index: 110;
}

.toggle-button span {
  width: 100%;
  height: 3px;
  background: #ffffff;
  display: block;
  margin: 0 auto 6px auto;
  position: relative;
  top: 0;
  opacity: 1;
  transition: 0.3s;
}

.toggle-button span:last-child {
  margin-bottom: 0;
}

.toggle-menu .toggle-button {
  background-color: #c30201;
}

.toggle-menu .toggle-button span {
  background-color: #ffffff;
}

.toggle-menu .toggle-button span:nth-child(1) {
  transform: rotate(45deg);
  position: relative;
  top: 9px;
}

.toggle-menu .toggle-button span:nth-child(2) {
  opacity: 0;
}

.toggle-menu .toggle-button span:nth-child(3) {
  transform: rotate(-45deg);
  position: relative;
  top: -9px;
}

.nav-scroll {
  background: #fff;
  padding: 0 0 0 0;
  position: fixed;
  top: -100px;
  left: 0;
  width: 100%;
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
  -webkit-transform: translateY(100px);
  transform: translateY(100px);
  -webkit-box-shadow: 0px 10px 30px rgb(0 0 0 / 7%);
  box-shadow: 0px 10px 30px rgb(0 0 0 / 7%);
  height: auto;
  border-radius: 0 !important;
}
.nav-scroll .navbar-brand img {
  width: 38%;
}

.nav-scroll .icon-bar {
  color: #fff;
}

.nav-scroll .navbar-nav .nav-link {
  color: #000;
}

.nav-scroll .navbar-nav .logo {
  padding: 15px 0;
  color: #000;
}

.nav-scroll .logo {
  width: 180px;
}

.nav-scroll .logo-img {
  margin-bottom: 0px;
}

.nav-scroll .logo-wrapper .logo h2 {
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 0px;
  display: block;
  width: 100%;
  position: relative;
  color: #fff;
  line-height: 1.25em;
  letter-spacing: 5px;
  display: none;
}

.nav-scroll .logo-wrapper .logo span {
  display: block;
  font-size: 13px;
  color: #555;
  font-weight: 400;
  letter-spacing: 3px;
  display: block;
  margin-top: 3px;
  line-height: 1.2em;
  text-transform: uppercase;
  margin-left: 5px;
  display: none !important;
}

.nav-scroll .logo-wrapper {
  padding: 15px 70px 15px 150px;
  background: #000;
}
.sub-menu {
  position: absolute;
  left: 100%;
  top: -5px;
}
.main-navigation ul.menu {
  display: flex;
  justify-content: end;
}

/* Nav section style end */

/* banner style start */
.banner-sec {
  margin-top: -50px;
  position: relative;
}
.banner-sec .owl-carousel {
  display: block !important;
  height: 600px;
  position: relative;
  overflow: hidden;
}

.banner-sec .owl-carousel .item {
  position: relative;
}
.banner-sec .owl-carousel .item .content-area .caption {
  margin-top: 30px;
}
.banner-sec .owl-carousel .item .content-area .caption h1 span {
  color: #de5b01;
  display: block;
}
.banner-sec .owl-carousel .item .content-area .caption h4 {
  font-size: 24px;
  color: #de5b01;
}
.banner-sec .owl-carousel .item .content-area .caption h1 {
  font-size: 50px;
  color: #fff;
  line-height: 55px;
}
.banner-sec .owl-carousel .owl-nav button.owl-prev {
  top: 50%;
  left: 2%;
}
.banner-sec .owl-carousel .owl-nav button.owl-next {
  top: 50%;
  right: 2%;
}

.banner-sec .owl-carousel .item .content-area {
  position: absolute;
  top: 14%;
  left: 50%;
  z-index: 9;
  transform: translateX(-50%);
  width: 84%;
}
.banner-sec .owl-carousel .item::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: #0000008c;
}

.banner-sec .banner-btn-area .call-btn {
  background: #143f84;
  color: #fff;
  padding: 12px 27px;
}
.banner-sec .banner-btn-area .call-btn:before {
  background: #de5b01;
}
.banner-btn-area .main-btn {
  margin-left: 0;
}
.banner-btn {
  text-transform: uppercase;
  padding: 12px 27px;
  border: 2px solid #fff;
}

.banner-sec .owl-carousel .carousel-caption {
  position: absolute;
  right: 12% !important;
  top: 14%;
  left: 12% !important;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  color: #fff;
  text-align: left !important;
  z-index: 99999;
}

.banner-sec .banner-count {
  position: absolute;
  right: 100px;
  bottom: 0;
  background: #de5b01;
  width: 32%;
  z-index: 99;
  padding: 15px;
  border-radius: 10px 10px 0 0;
  border: 7px solid #fff;
}
.banner-count .count-area .count-icon {
  width: 70px;
  height: 70px;
  text-align: center;
  margin: auto;
  padding: 16px;
  background: #fff;
  border-radius: 50%;
}
.banner-count .count-area .count-icon img {
  filter: brightness(0) saturate(100%) invert(12%) sepia(69%) saturate(3558%)
    hue-rotate(226deg) brightness(99%) contrast(97%);
}
.banner-count .count-area .count-number h3 {
  font-weight: 800;
  margin-bottom: 0;
  padding-top: 10px;
  text-align: center;
  color: #000000;
}
.banner-count .count-area .count-number p {
  color: #fff;
  text-align: center;
}
/* banner style end */

/* usp style start */
.usp-sec {
  padding: 80px 0;
  background: #ffffff;
}
.usp-sec .usp-box {
  background: #de5b01;
  padding: 20px;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}
.usp-sec .usp-box::after {
  position: absolute;
  content: "";
  left: 0;
  top: -7px;
  background: url(../img/ul1.png) no-repeat;
  z-index: -1;
  width: 158px;
  height: 230px;
  background-size: contain;
  filter: brightness(0) saturate(100%) invert(20%) sepia(71%) saturate(1880%)
    hue-rotate(207deg) brightness(97%) contrast(95%);
}

.usp-sec .usp-box .usp-icon {
  width: 85px;
  height: 60px;
  border-radius: 6px;
  padding-top: 49px;
  position: relative;
}
.usp-sec .usp-box .usp-icon::after {
  position: absolute;
  content: "";
  bottom: -145px;
  width: 0px;
  left: 89px;
  height: 0px;
  border-style: solid;
  border-width: 7px 20px 4px 0px;
  border-color: #022575 transparent transparent transparent;
  transform: rotate(0deg);
  z-index: -1;
}
.usp-sec .usp-box .usp-icon::before {
  position: absolute;
  content: "";
  top: -27px;
  width: 0px;
  left: 87px;
  height: 0px;
  border-style: solid;
  border-width: 8px 0 0 23px;
  border-color: transparent transparent transparent #022575;
  transform: rotate(0deg);
  z-index: -1;
}

.usp-sec .usp-box .usp-cont {
  padding-left: 14px;
}
.usp-sec .usp-box .usp-cont h3 {
  font-size: 26px;
}
.usp-sec .usp-box .usp-cont h3,
.usp-sec .usp-box .usp-cont p {
  color: #fff;
  margin-bottom: 0;
}
.usp-sec .usp-box .usp-cont p {
  line-height: 23px;
  font-size: 16px;
}
.usp-sec .usp-box .usp-icon img {
  filter: brightness(0) saturate(100%) invert(98%) sepia(3%) saturate(818%)
    hue-rotate(270deg) brightness(116%) contrast(100%);
}

/* usp style end */

/* choose style start */
.choose-us {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.choose-us::before {
  position: absolute;
  content: "";
  right: 0;
  top: 0;
  width: 370px;
  height: 100%;
  background: url(../img/particles.png) no-repeat 0 0;
  z-index: -1;
  background-size: contain;
  background-position: right;
}

.choose-us::after {
  position: absolute;
  content: "";
  top: 40%;
  left: 45px;
  width: 538px;
  height: 600px;
  background: url(../img/map-dot.png) no-repeat;
  background-size: contain;
  z-index: -1;
}
.choose-us h3 {
  font-size: 46px;
}
.choose-us h3 span {
  color: #143f84;
  /* font-size: 46px; */
}
.choose-us .choose-box {
  /* background: #143f84; */
  border-radius: 6px;
  padding: 30px;
  display: flex;
}
.choose-us .choose-img {
  border-left: 7px solid #de5b01;
  border-right: 0;
  padding: 40px;
  position: relative;
}
.choose-us .choose-img:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 6px;
  content: "";
  background: #de5b01;
}
.choose-us .choose-img:before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 6px;
  content: "";
  background: #de5b01;
}
.choose-us .choose-box .choose-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}
.choose-us .choose-box .choose-icon img {
  filter: brightness(0) saturate(100%) invert(36%) sepia(44%) saturate(4055%)
    hue-rotate(14deg) brightness(99%) contrast(102%);
}
.choose-us .choose-box .choose-content {
  margin-left: 22px;
}
.choose-us .choose-box h4 {
  padding-top: 10px;
  color: #000000;
  font-size: 20px;
}

/* choose style end */
/* residential sec style start */

.residential-sec {
  background: #143f84;
  position: relative;
  padding: 50px 0 0 0;
}
.residential-sec:after {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  width: 50%;
  height: 100%;
  background: url("https://iprodesigns.com/Roofrightnew/wp-content/uploads/2025/09/imgaddb.png")
    no-repeat 100% 0 !important;
  background-size: cover !important;
}
.residential-sec .contact-btn:before {
  background: #fff;
}
.residential-sec .contact-btn:hover {
  color: #000;
}
.residential-sec h1,
.residential-sec p {
  color: #fff;
}
.residential-sec h3 {
  font-size: 36px;
  color: #ffffff;
  line-height: 42px;
}
.residential-sec .residential-cont {
  padding: 20px;
}
/* Roof design style start */

.roofdesign-sec {
  padding: 40px 0;
}
.roofdesign-sec h3 {
  font-size: 46px;
}
.roofdesign-sec .layout-img {
  width: 400px;
  height: 400px;
}
.roofdesign-sec .content-area {
  margin-top: 48px;
}

/* service style start */
.service-sec {
  padding: 60px 0;
  position: relative;
  background: linear-gradient(15deg, #0a448a, #040910),
    url(../img/service_bg.jpg) no-repeat;
  background-size: cover;
}

.service-sec .plus-img {
  position: absolute;
  top: 10px;
  left: 0;
  z-index: -1;
  opacity: 0.4;
}
.service-sec .belcha-img {
  position: absolute;
  top: 50px;
  right: 0px;
  z-index: -1;
  opacity: 0.4;
}
.service-sec .house-img {
  position: absolute;
  bottom: 50px;
  right: 0;
  z-index: -1;
  opacity: 0.1;
}
.service-sec .service-head {
  margin-bottom: 20px;
  margin-bottom: 40px;
}
.service-sec .service-head h6 {
  color: #ffffff;
}
.service-sec .service-head h3 {
  font-size: 46px;
  font-weight: 700;
  color: #fff;
}
.service-sec .service-item {
  box-shadow: 0 0.7rem 1.3rem rgba(0, 0, 0, 0.22);
  margin-bottom: 30px;
  background: #fff;
  transition: 0.5s;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}
.service-sec .service-item:hover::after {
  right: -90px;
  top: -160px;
}

.service-sec .service-item .service-content p {
  margin-bottom: 0;
}
.service-sec .service-item .service-img {
  width: 100%;
  height: 295px;
  overflow: hidden;
  transition: 0.9s;
  position: relative;
}
.service-sec .service-item .service-img:before {
  position: absolute;
  content: "";
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 74px;
  background: url(../img/wave.png) no-repeat 50% 0;
  background-size: contain;
}

.service-sec .service-item .service-content h4 {
  margin-top: 37px;
}

.service-sec .service-item .service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-sec .service-item .service-content {
  padding: 0 30px;
  position: relative;
  text-align: center;
}
.service-sec .service-item .service-content .service_icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -106px;
  width: 90px;
  height: 90px;
  padding: 15px;
  background: #fff;
  border-radius: 50%;
  border: 3px solid #143f84;
}
/* .service-sec .service-item .service-content .service_icon img {
  filter: brightness(0) saturate(100%) invert(20%) sepia(71%) saturate(1880%) hue-rotate(207deg) brightness(97%) contrast(95%);
} */
.service-sec .service-item .service-btn {
  text-align: center;
}

.service-sec .service-item .service-btn a {
  margin-top: 10px;
}

.service-sec .service-item .service-content h3 {
  color: #fff;
  font-weight: 600;
  /*text-align: center;*/
  background: #105081;
  padding: 10px 10px 10px 22px;
  width: 80%;
  /*margin: auto;*/
  font-size: 27px;
  margin-top: 0;
  position: relative;
  z-index: 1;
  /*border-radius: 0 20px 20px 0;*/
}
.service-sec .service-item .service-content h3::before {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 0 0 53px 47px;
  border-color: transparent transparent #fff transparent;
}

.service-sec .service-item .service-content .service-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #f5f5f5;
  padding: 17px;
  margin: auto;
}
.service-sec .service-item .service-content p {
  line-height: 25px;
}

/* service style end */

/* call us style */
.call-us {
  padding: 50px 0;
  background: linear-gradient(#051c41cf, #031a41),
    url(https://safecareroofingandbuilding.com/wp-content/uploads/2025/08/roof-bg.jpg)
      no-repeat 0 0;
  background-size: cover;
}
.call-us h6 {
  color: #de5b01;
  font-size: 18px;
}
.call-us .call-us-btn .main-btn.callarea-btn {
  background: #de5b01;
}
.call-us .call-us-btn .main-btn.call-btn {
  background: #143f84;
}

.call-us .main-btn.callarea-btn:before {
  background: #143f84;
}
.call-us .main-btn.call-btn:before {
  background: #de5b01;
}

.call-us h3 {
  color: #fff;
  margin-bottom: 10px;
  margin-top: 30px;
  font-size: 46px;
}
.call-us p {
  color: #fff;
}
.call-us .main-btn {
  border: 2px solid #fff;
}

/* about style start */

.about {
  padding: 80px 0;
  position: relative;
  z-index: 1;
  background: #f7f7f7;
}

.main-abt {
  position: relative;
}
.main-abt:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: url(../img/dot.png) no-repeat;
}

.abt_left {
  width: 400px !important;
  position: relative;
  height: 477px;
  overflow: hidden;
  top: 113px;
  border: 4px solid #fff;
}
.abt_left img,
.abt_left1 img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.abt_left1 {
  width: 300px;
  position: absolute;
  height: 396px;
  top: 0;
  right: 47px;
  border-radius: 10px;
  overflow: hidden;
}

.abt_left1 {
  border: 4px solid #fff;
}

.year_exp {
  width: 200px !important;
  height: 191px !important;
  display: block !important;
  background: #de5b01;
  text-align: center;
  color: #fff;
  padding-top: 17px;
  border-radius: 0 0 20px 0;
  position: absolute;
  right: 48px;
  top: 83%;
  z-index: -1;
}
.year_exp h3 {
  font-size: 68px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}
.year_exp p {
  color: #fff;
  line-height: 20px;
}

.about::before {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 600px;
  height: 100%;
  content: "";
  background: url(../img/house.png) no-repeat;
  background-size: cover;
  z-index: -1;
}
.about::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 300px 0 0 300px;
  border-color: transparent transparent transparent #000000;
  z-index: -1;
}

.about .about-img {
  position: relative;
  z-index: 1;
}
.about .about-img::before {
  position: absolute;
  content: "";
  top: -50px;
  right: -10px;
  width: 300px;
  height: 415px;
  background: url(../img/dot.png) no-repeat;
  z-index: -1;
  opacity: 0.2;
}
.about .know-btn {
  background: #de5b01;
}

.about .know-btn::before {
  background: #143f84;
}

.about .about-img .count-area .count-cont h2 span {
  color: #ffffff;
}
.about-first-img {
  height: 517px;
  width: 400px;
  /* margin-left: auto; */
  margin: auto;
}

.about .about-first-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.about .about-content ul li span {
  background: #143f84;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  margin-right: 20px;
}
.about .about-content ul li span img {
  filter: brightness(100%);
}

.about .about-content h6 {
  color: #143f84;
}
.about .count-area {
  position: absolute;
  bottom: 77px;
  right: 2px;
  width: 164px;
  height: 160px;
  background: #143f84;
  border-radius: 20px;
  border: 5px solid #fff;
}
.about .count-area .count-icon {
  width: 80px;
  height: 80px;
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 18px;
  border-radius: 50%;
}
.about-list {
  padding: 40px 0 40px 100px !important;
  position: relative;
}
.about-list-icon {
  position: absolute;
  left: -32px;
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #de5b01;
  padding: 17px;
  border: 3px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about:before {
  position: absolute;
  content: "";
  top: 55%;
  right: 0;
  width: 49%;
  height: 286px;
  background: #143f84;
  border-radius: 93px 0 0 100px;
}
.about-list li {
  /* display: flex; */
  margin-bottom: 15px;
  color: #fff;
}
.about-list li h4,
.about-list li p {
  color: #fff;
}
.about-list li i {
  padding-top: 5px;
  padding-right: 20px;
  color: #143f84;
}
.about .count-area .count-cont {
  margin: auto;
  /* margin-top: 30px; */
}

.about .count-area .count-cont p {
  color: #090909;
  font-size: 17px;
  text-align: center;
  font-weight: 600;
}
.about .count-area h2 {
  color: #fff;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 0;
  padding-top: 37px;
}
h6.head {
  font-size: 20px;
  font-weight: 600;
}
h6.head span {
  position: relative;
  padding-left: 43px;
}
h6.head span:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 17px;
  height: 17px;
  background: #de5b01;
  border-radius: 3px;
}
h6.head span:before {
  position: absolute;
  content: "";
  top: 6px;
  left: 9px;
  width: 17px;
  height: 17px;
  border: 2px solid #de5b01;
  border-radius: 3px;
}

.about .about-content h3 {
  font-size: 46px;
  font-weight: 700;
  color: #000000;
}
.about .about-content h3 span {
  color: #143f84;
}
/* about style end */

/* Main button  */
.main-btn {
  text-decoration: none;
  padding: 12px 30px;
  background: #de5b01;
  border-radius: 7px;
  color: #ffffff;
  font-size: 17px;
  margin-top: 0;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: 1s;
  z-index: 1;
  /* margin-left: 24px; */
  margin-bottom: 10px;
}
.main-btn.book-btn {
  margin-left: 20px;
  background: #000;
}
.main-btn.book-btn::after,
.main-btn.book-btn::before {
  background: #f25c27;
}

.main-btn:hover:after {
  bottom: 70px;
}
.main-btn::before {
  position: absolute;
  content: "";
  bottom: -104px;
  left: -248px;
  width: 232px;
  height: 200px;
  border-radius: 50%;
  background: #143f84;
  transition: 0.8s;
  /* transition-delay: 0.6s; */
  z-index: -1;
}
.main-btn:hover:before {
  left: -20px;
}
.main-btn:hover {
  color: #ffffff;
}

/* main button style end */

/* project-sec style start */
.project-sec {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(#143f84, #0a2755),
    url("https://safecareroofingandbuilding.com/wp-content/uploads/2025/08/pro-bg.jpg")
      no-repeat;
  background-size: cover;
  z-index: 1;
}
.project-sec.inner-page {
  background: #fff;
}
.project-sec.inner-page:after {
  display: none;
}
.project-sec h6 span {
  color: #fff;
}

.project-sec::after {
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
  background: #0000007b;
  top: 0;
  left: 0;
  z-index: -1;
}
.project-sec .project-content h6 {
  font-size: 20px;
  color: #143f84;
  font-weight: 700;
}
.project-sec .project-content h3 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 40px;
}
.project-sec .main-btn.pro-btn {
  background: #143f84;
  color: #ffffff;
  margin-top: 20px;
}
.project-sec .main-btn.pro-btn:hover {
  color: #ffffff;
}
.project-sec .main-btn.pro-btn:before {
  background: #f25c27;
}

/* For gallery style start */

#gallery .img-wrapper {
  position: relative;
  margin-top: 15px;
  transition: 0.5s;
  z-index: 1;
  margin-bottom: 6px;
  transition: 0.5s;
  height: 300px;
  overflow: hidden;
  border-radius: 6px;
}

#gallery .img-wrapper:hover:before {
  top: 0;
  left: 0;
  transition: 0.5s;
}
#gallery .img-wrapper a {
  display: contents;
}

#gallery .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#gallery .img-wrapper:hover .img-overlay {
  opacity: 1;
}

#gallery .img-wrapper .img-overlay {
  background: #de5a019e;
  width: 90%;
  height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.5s;
}
#gallery .img-overlay i {
  color: #fff;
  font-size: 3em;
}

#overlay {
  background: rgb(0 0 0 / 91%);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#overlay img {
  margin: 0;
  width: 80%;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
  padding: 5%;
}
@media screen and (min-width: 768px) {
  #overlay img {
    width: 60%;
  }
}
@media screen and (min-width: 1200px) {
  #overlay img {
    width: 50%;
  }
}

/* project-sec style end */

/* testimonial style start */
.testimonials {
  padding: 80px 0;
  /* background: #0096c8; */
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.testimonials .client-box {
  width: 100%;
  height: auto;
  background: #143f84;
  padding: 30px;
  border-radius: 20px;
}
.testimonials .client-box .contact-btn:before {
  background: #fff;
}
.testimonials .client-box .contact-btn:hover {
  color: #de5b01;
}
.testimonials .client-box h6,
.testimonials .client-box h3,
.testimonials .client-box p {
  color: #fff;
}
.testimonials h3 {
  font-size: 20px;
}
.testimonials .star {
  display: flex;
}
.testimonials .star li {
  display: flex;
  padding-right: 4px;
}
.testimonials .star li i {
  color: #eb9d02;
}

.testimonials h3 span {
  color: #df170d;
}
.testimonials .mini-head {
  margin-bottom: 0;
}

.testimonials .para p {
  color: #000;
}
.testi-head h1 {
  color: #000;
  font-size: 46px;
  font-weight: 700;
  text-align: center;
}
.testi-head h6 {
  color: #143f84;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

/* testimonials */
.testimonials h5 {
  font-size: 24px;
  margin-bottom: 7px;
}
.testimonials .item .client-desk p.star-para {
  padding-left: 70px;
  color: #000;
  font-size: 17px;
  margin-bottom: 0;
  position: relative;
  top: -10px;
  left: 26px;
}
.testimonials .item .quote img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(66%) saturate(2093%)
    hue-rotate(190deg) brightness(91%) contrast(108%);
}

.testimonials .item .client-desk .google {
  padding-top: 10px;
}

.testimonials .item .client-desk .cont h6 {
  margin-bottom: 0;
  text-align: center;
  color: #fcb900;
  font-weight: 700;
  line-height: 30px !important;
}
.testimonials .item .client-desk .cont h6 span {
  color: #6b6b6b;
}

.testimonials .item .client-desk .star i {
  color: #ffc107;
}
.testimonials-box .head-box h6 {
  position: relative;
  font-weight: 400;
  color: #555;
  font-size: 19px;
  margin-bottom: 0px;
  padding-left: 50px;
}

.testimonials .item {
  width: 86%;
  height: auto;
  padding: 10px 0 0;
  border-radius: 6px;
  margin: auto;
  position: relative;
}

.testimonials .item .quote {
  position: absolute;
  top: 6px;
  right: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  opacity: 0.1;
}

.testimonials .owl-carousel .owl-nav button.owl-next,
.testimonials .owl-carousel .owl-nav button.owl-prev {
  transition: 0.5s;
}
.testimonials .owl-carousel .owl-nav button.owl-next:hover,
.testimonials .owl-carousel .owl-nav button.owl-prev:hover {
  background: #061075 !important;
}
.testimonials .owl-next span.ti-angle-right,
.testimonials .owl-prev span.ti-angle-left {
  filter: brightness(0) saturate(100%) invert(7%) sepia(80%) saturate(5627%)
    hue-rotate(234deg) brightness(96%) contrast(99%);
}

.testimonials .owl-next:hover span.ti-angle-right,
.testimonials .owl-prev:hover span.ti-angle-left {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%)
    hue-rotate(245deg) brightness(107%) contrast(104%);
}

.testimonials .owl-carousel .owl-stage-outer {
  padding: 50px 0;
}
.testimonials .item .client-desk .client-area p {
  color: #151515;
  font-size: 19px;
}
.testimonials .owl-theme .owl-nav.disabled + .owl-dots {
  display: none;
}

.view-para {
  text-decoration: underline !important;
  color: #287ff9;
}

.testimonials-box .head-box h6:after {
  content: "";
  width: 40px;
  height: 1px;
  background: #c6321b;
  position: absolute;
  left: 0;
  top: 50%;
}

.testimonials-box .head-box h4 {
  font-size: 27px;
  color: #000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding-bottom: 15px;
}

.testimonials-box .head-box h4 span {
  color: #000;
}

.testimonials .item {
  position: relative;
}

.testimonials .item p.v-border {
  margin-bottom: 20px;
  margin: auto;
}

.testimonials .item p {
  color: #fff;
  margin-bottom: 0;
}

.testimonials-box ul {
  display: flex;
  padding-top: 22px;
}

.testimonials-box ul li i {
  color: #ffd000;
}

.owl-next > span.ti-angle-right {
  position: absolute !important;
  line-height: 0;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: url(../../assets/img/chevron-right.png) no-repeat !important;
}

.owl-prev > span.ti-angle-left {
  position: absolute !important;
  line-height: 0;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: url(../../assets/img/chevron-left.png) no-repeat !important;
}

.owl-carousel .owl-nav .owl-next i.norc-small-right,
.owl-carousel .owl-nav .owl-prev i.norc-small-left {
  -webkit-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  -o-transform: rotate(225deg);
  transform: rotate(225deg);
}

.testimonials .item .info {
  text-align: left;
  padding: 10px 0 0 0px;
}

.testimonials .item .info .author-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-top: -68px;
}
.client-area {
  background: #fff;
}

.testimonials .item .client-desk .info h6 {
  font-size: 16px;
  margin-bottom: 0px;
  color: #143f84;
  line-height: 1em;
  font-weight: 700;
}
.testimonials .item .client-desk .name h6 {
  margin-top: 20px;
}

.testimonials .item .info span {
  font-size: 14px;
  color: #fff;
  margin-right: 5px;
  line-height: 1em;
}

.testimonials .item .info .rate {
  float: right;
}

.owl-carousel {
  z-index: unset !important;
}

.owl-carousel .owl-nav.disabled {
  display: block !important;
}
.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
  position: absolute;
  top: 40px;
  top: 93%;
  width: 60px;
  height: 60px;
  background: #ffffff !important;
  border-radius: 50%;
  box-shadow: 0 0.5rem 1.1rem #00000068;
}
.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  right: 40%;
}
.owl-carousel .owl-nav button.owl-prev {
  position: absolute;
  left: 40%;
}
.owl-carousel .owl-nav button.owl-next span {
  font-size: 60px;
  position: relative;
  z-index: 1;
  color: #fff;
}

.owl-carousel .owl-nav button.owl-prev span {
  font-size: 60px;
  color: #fff;
}

.form-control:focus {
  color: #212529;
  background-color: #fff !important;
  /* border-color: transparent !important; */
  border: 2px solid #143f84 !important;
  outline: 0;
  box-shadow: none !important;
  transition: 0.5s;
}
.contact-head h1 {
  font-size: 46px;
  font-weight: 700;
}

/* emergency-area style start */
.emergency-area {
  padding: 10px 0;
  background: #de5b01;
}

.emergency-area .emergency-button a {
  background: #a60801;
}
.emergency-area .main-btn {
  padding: 10px 16px;
  font-size: 14px;
}

.emergency-area form {
  position: relative;
  z-index: 1;
  margin-top: 10px;
}
.emergency-cont h4 {
  margin-top: 20px;
  text-align: left;
}
.emergency-area input {
  float: right;
  height: 56px;
  background-color: #fff;
  transition: 0.5s;
  border-radius: 5px;
  border: 1px solid #e6e6e6;
  padding: 7px 20px;
  display: block;
  width: 100%;
  color: #141840;
  font-weight: 300;
  font-size: 15px;
  position: relative;
  z-index: 1;
}
.emergency-area button {
  position: absolute;
  z-index: 1;
  top: 0px;
  right: 0;
  padding: 13.4px 30px;
  font-weight: 500;
  font-size: 19px;
  border-radius: 0 5px 5px 0;
  border: 0;
  background: #143f84;
  color: #ffffff;
  height: 56px;
}
.subscribe-contact-info {
  display: flex;
  justify-content: left;
  margin-top: 38px;
}
.subscribe-contact-info .subscribe-icon i {
  width: 70px;
  height: 70px;
  line-height: 70px;
  background: #143f84;
  color: #ffffff;
  font-size: 29px;
  border-radius: 50%;
  text-align: center;
}
.subscribe-contact {
  padding-left: 22px;
  margin-top: -20px;
}
.subscribe-contact a {
  text-decoration: none;
  color: #fff;
  font-size: 34px;
}
.subscribe-contact a:hover {
  color: #fff;
}

span.subscribe-text {
  font-size: 17px;
  color: #fff;
  display: block;
  text-align: left;
  font-weight: 800;
}
h2.subscribe-phone-number {
  font-size: 26px;
  color: #fff;
  margin-top: 6px;
}

.footer {
  padding: 60px 0;
  background: #0f2b58;
  position: relative;
  z-index: 1;
}
.footer::before {
  position: absolute;
  content: "";
  right: 0;
  bottom: 0;
  width: 290px;
  height: 290px;
  background: url(https://safecareroofingandbuilding.com/wp-content/uploads/2025/08/craftsmen.png)
    no-repeat;
  z-index: -1;
  opacity: 0.08;
  display: none;
}

.footer .footer_logo_area p {
  color: #fff;
  font-size: 18px;
  padding-top: 7px;
}
.footer-logo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #fff;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}
.contact-slide {
  background: #050935;
}

.right-area {
  padding: 36px;
}
.footer-contact-sec {
  background: #050935;
  display: flex;
  justify-content: space-around;
  margin-top: 5%;
}
.footer-contact-sec li {
  display: flex;
}
.footer-contact-sec li i {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #081447;
  background: #fff;
  border-radius: 50%;
  margin-right: 20px;
  margin-top: 7px;
}
.footer-contact-sec li a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.footer-contact-sec li p {
  color: #fff;
  font-weight: 700;
}
.wideget-area h3 {
  border-bottom: 3px solid #de5b01;
  display: inline-block;
  color: #fff;
  padding-bottom: 4px;
  text-transform: uppercase;
  font-size: 23px;
}
.wideget-area ul {
  padding-top: 7px;
}
ul.footer-menu li {
  position: relative;
  transition: 0.8s;
}
ul.footer-menu li:hover {
  padding-left: 10px;
}
ul.footer-menu li:hover:before {
  opacity: 1;
}
ul.footer-menu li::before {
  position: absolute;
  content: "\f054";
  left: 0;
  top: 1px;
  color: #de5b01;
  font-size: 16px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  opacity: 0;
  transition: 0.5s;
}
.wideget-area ul li a {
  text-decoration: none;
  color: #fff;
  padding-bottom: 10px;
  font-family: "Jost", sans-serif;
  font-size: 18px;
  position: relative;
  transition: 0.5s;
}
.wideget-area ul li a:hover {
  transform: translateX(10px);
}

.wideget-contact-area ul li i {
  color: #de5b01;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-right: 20px;
  margin-bottom: 30px;
  padding-top: 6px;
  width: 18px;
}
.wideget-contact-area ul li p {
  /* font-weight: 600; */
  padding-top: 3px;
}
.wideget-contact-area ul li.facebook i {
  background: linear-gradient(15deg, #0c56b7, #1877f2);
}
.wideget-contact-area ul li.insta i {
  background: linear-gradient(15deg, #fed917, #ef1d8e, #9100db);
}
.wideget-contact-area h3 {
  border-bottom: 3px solid #de5b01;
  display: inline-block;
  color: #fff;
  padding-bottom: 4px;
  font-size: 23px;
  text-transform: uppercase;
}
.wideget-contact-area ul {
  padding-top: 7px;
}
.wideget-contact-area ul li p {
  color: #fff;
  font-size: 18px;
}
.wideget-contact-area ul li {
  display: flex;
}
.wideget-contact-area a {
  text-decoration: none;
  color: #fff;
  font-family: "Jost", sans-serif;
  font-size: 18px;
}
.wideget-contact-area a:hover {
  color: #fff;
}
/* footer style end */
/* footer-bottom style start */

.footer-bottom {
  padding: 10px 0;
  background: #071e43;
}
.footer-bottom p {
  padding-top: 10px;
  font-size: 18px;
  margin-bottom: 0;
}
.footer-bottom a {
  color: #e55a29;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #e55a29;
}

.call_float {
  position: fixed;
  right: 20px;
  bottom: 50px;
  z-index: 9999;
}
.call_float a {
  text-decoration: none;
}
.call_float a i {
  width: 50px;
  height: 50px;
  background: #fcb900;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 20px;
  transition: 0.5s;
}

/* navbar responsive */

@media (max-width: 991px) {
  .menu {
    position: fixed;
    top: 68px;
    right: -100%;
    display: block;
    padding: 25px 25px;
    /* text-align: center; */
    width: 100%;
    height: 100vh;
    background: #0b3372;
    transition: 0.5s ease;
    z-index: 999;
  }

  .nav-section .navbar .navbar-nav .nav-link {
    padding: 0;
  }

  .menu.active {
    right: 0;
    padding-left: 20px;
    transition: 0.5s ease;
  }

  nav ul li a {
    font-size: 35px;
    line-height: 3em;
  }
  nav ul li a:hover {
    color: #1a112f;
  }
  ul .active-btn {
    background: none;
  }

  .toggle {
    width: 40px;
    height: 40px;
    background: url("https://i.postimg.cc/mkFvyH7n/menu.png"), #143f84;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px;
    cursor: pointer;
    transition: 0.5s ease;
  }

  .toggle.active {
    background: url("https://iprodesigns.com/Roofrightnew/wp-content/uploads/2025/09/close.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px;
    cursor: pointer;
    transition: 0.5s ease;
  }

  nav {
    padding: 10px 70px;
  }
  /* section {
    padding: 64px 70px;
  } */
  .home-text h1 {
    font-size: 2.5rem;
  }
  .email-box {
    width: 370px;
  }
  .home-img {
    width: 350px;
    height: 400px;
  }
}

@media (max-width: 810px) {
  /* section {
    padding: 60px 40px;
  } */
  nav {
    padding: 7px 40px;
  }
  .home-text h1 {
    font-size: 2rem;
  }
  .home-text p {
    max-width: 320px;
  }
  .email-box {
    width: 304px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .nav-section-scrolled .menu {
    top: 126px !important;
  }
  .top-head .top-area li a {
    color: #fff;
  }
}

@media (max-width: 991px) {
  .menu {
    top: 270px;
  }
  #home {
    flex-direction: column-reverse;
  }
  .email-box {
    margin-bottom: 2rem;
  }
  .services-content {
    grid-template-columns: 1fr;
  }
  .team-content {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .team-box {
    margin: 15px;
  }
  .clients-content {
    grid-template-columns: 1fr;
  }
  .nav-section-scrolled .menu {
    top: 60px !important;
  }
}

@media (max-width: 516px) {
  #home {
    justify-content: center;
  }
  .home-img {
    display: none;
  }
  nav ul li a {
    font-size: 20px;
  }
  .heading h1 {
    font-size: 1.2rem;
  }

  .team-content {
    grid-template-columns: 1fr;
  }

  .copyright {
    padding: 12px 50px;
    justify-content: center;
    flex-direction: column-reverse;
    text-align: center;
  }
}
/* contact page */
.home_map {
  background: #143f84;
  padding: 20px 10px;
}

.home_map ul {
  font-size: 14px;
  color: #fff;
  padding: 0;
}

.home_map ul li {
  padding: 0 0 10px;
  display: inline-block;
  width: 100%;
}

.home_map ul li i {
  vertical-align: middle;
  margin: 6px 0px 0px 0;
  float: left;
  width: 40px;
  height: 40px;
  font-size: 20px;
  border: 1px solid #fff;
  padding: 10px 10px;
  border-radius: 50%;
  text-align: center;
}

.home_map ul li span {
  float: left;
  width: 84%;
  padding: 0 10px;
  vertical-align: middle;
}

.home_map ul li span h4 {
  margin: 0 0 5px;
  font-size: 17px;
  color: #fe7618;
}

.home_map ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 13px;
}
.homeform_wrap form span.wpcf7-form-control-wrap {
  width: 100%;
  display: block;
}
.homeform_wrap form .form-control {
  width: 100%;
  height: 46px;
  border: 1px solid #b5b5b5;
  border-radius: 0;
  margin-bottom: 10px;
  font-size: 18px;
  color: #505050;
}
.homeform_wrap form textarea.form-control {
  height: auto;
}
.form_submit {
  background: #0b1f40 !important;
  border-radius: 6px;
  width: 196px;
  height: 48px;
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.5s;
  display: block;
  line-height: 48px;
  font-weight: 600;
  border: none;
  margin-top: 15px auto;
}
.work-img {
  float: right;
  width: 40%;
  margin: 0 0 15px 20px;
}
/* inner page */
.msg_area,
.servicessingelpage {
  padding: 70px 0;
}
.servicessingelpage ul li {
  position: relative;
}
.servicessingelpage ul li:before {
  content: "\f00c";
  color: #143f84;
  font-family: "Font Awesome 6 Free";
  font-weight: bold;
  position: absolute;
  left: -30px;
}

.inner_banner_caption {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%);
  width: 100%;
  padding: 0 10px;
}

.inner_banner {
  position: relative;
  z-index: 1;
  margin-top: 0px;
  background: url("https://safecareroofingandbuilding.com/wp-content/uploads/2025/08/ridge-tiles.jpg")
    no-repeat;
  background-size: cover;
  background-position: 50% 30%;
}

.inner_banner img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.inner_banner:before {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.inner_banner h1 {
  font-size: 36px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  color: #fff;
}
.contact-page .contact-form input[type="submit"] {
  background: #fe7618;
  padding: 14px 30px;
  color: #fff;
  border-radius: 6px;
  transition: 0.5s;
}

/* @media (max-width: 360px) {
  section {
    padding: 60px 6px;
  }
  .email-box {
    width: 270px;
  }
  .home-text h1 {
    font-size: 1.8rem;
  }
} */

.msg_area,
.servicessingelpage a {
  color: #de5b01;
}

.menu {
  top: 140px !important;
}
