:root {
  --primary: #168fd0;
  --secondary: #e32920;
  --dark-blue: #002b5c;
  scroll-behavior: auto;
}

body,
input,
select,
textarea,
button,
.btn {
  font-family: 16px/1.75em "Roboto", serif;
  font-style: normal;
  font-variant-ligatures: normal;
  font-variant-caps: normal;
  font-variant-numeric: normal;
  font-weight: normal;
  font-stretch: normal;
  font-size: 16px;
  line-height: 1.75em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Barlow", serif;
  font-weight: 600;
  font-style: normal;
  color: var(--second-color);
  margin-top: 0;
}

h1,
.h1 {
  font-size: 63px;
}

h2,
.h2 {
  /* font-size: 50px; */
  font-size: 40px;
}

h3,
.h3 {
  font-size: 40px;
}

h4,
.h4 {
  font-size: 30px;
}

h5,
.h5 {
  font-size: 25px;
}

p {
  /* font-size: 18px; */
  font-size: 19px;
  color: var(--text-color);
}

p.intro-text {
  font-size: 20px;
}

a {
  text-decoration: none;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 25px 0;
  text-transform: capitalize;
}

.sub-header {
  font-size: 16px;
  font-weight: bold;
  color: #ffdf20;
  position: relative;
  width: fit-content;
}
/* .sub-header::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -50px;
  width: 40px;
  height: 2px;
  background-color: white;
} */

.header-span {
  color: var(--primary);
  font-weight: bold;
  font-size: 18px;
}

h2 span {
  font-weight: 400;
}

.header-section {
  text-align: center;
  margin-bottom: 32px;
}

.btn-main {
  background-color: var(--main-color);
  color: #fff;
  transition: var(--transtion-time);
  border-radius: 20px;
  padding: 10px 20px;
}

.section-headline {
  text-align: center;
}

.btn-main:hover {
  background-color: var(--second-color);
  color: var(--main-color);
}

.form-group {
  margin-block: 10px;
}

.top-bar {
  background-color: #1c398e;
  color: white;
  font-size: 14px;
  padding: 8px 0;
}

.top-bar .btn-primary {
  padding: 12px 25px;
}

.top-bar-details {
  display: flex;
}

.top-bar-details p {
  margin-bottom: 0;
  margin-right: 15px;
  font-size: 14px;
}

.first-p {
  padding-right: 15px;
  border-right: solid 2px #fff;
}

.navbar .container {
  align-items: center;
}

.navbar-nav li a {
  font-weight: bold;
}

.call-icon-wrapper {
  background-color: var(--secondary);
  width: 50px;
  height: 50px;
  display: flex;
  /*box-shadow: 0px 10px 21px 0px rgba(231, 54.00000000000015, 34, 0.28);*/
  margin-right: 15px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.call-icon-wrapper i {
  color: #fff;
  font-size: 20px;
}

@media all and (min-width:992px) {
    ul.navbar-nav {
        gap: 40px;
    }
}
.nav-link:focus,
.nav-link:hover {
  color: var(--primary);
}

.navbar-expand-lg .navbar-nav {
  margin-top: 0;
}

.navbar-brand img {
  /* max-height:50px; */
  max-width: 120PX;
}

.emergency-phone {
  color: var(--secondary);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content:center;
}

.emergency-phone span {
    font-size: 28px;
}

.emergency-phone span small {
    font-size: 14px;
    color: #1c398e;
    line-height:1;
}

.header {
  /* background: linear-gradient(rgba(3, 18, 35, 0.58), rgba(3, 18, 35, 0.58)),
    url("../img/hero_area.webp"); */
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 1, 25, 0.5)),
    url("../img/hero_area.webp");
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  color: white;
}

.request-form {
  background-color: var(--primary);
  padding: 30px;
  border-radius: 10px;
}

.btn-primary,
.btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
  border-radius: 0;
  padding: 14px 25px 14px 25px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 23px;
  letter-spacing: 0.3px;
  border-style: none;
}

.btn-secondary {
  background-color: var(--primary);
  border-color: var(--primary);
  transition: all 0.3s;
}

.btn-secondary:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-primary:hover {
  background-color: #c31a1f;
  border-color: #c31a1f;
}
.btn-primary:active {
  background-color: #c31a1f !important;
  border-color: #c31a1f !important;
}
.stats-number {
  color: var(--secondary);
  font-size: 2.5rem;
  font-weight: bold;
  display: block;
}

/* about-us */
.about-us {
  padding: 100px 0;
}

.working-area,
.happy-customer,
.years-experience,
.customer-satisfaction {
  background-image: url("../img/about-icons/about_icon_1.webp");
  background-position: 40% 0;
  padding: 20px 0;
  background-repeat: no-repeat;
}

.happy-customer {
  background-image: url("../img/about-icons/about_icon_2.webp");
}

.years-experience {
  background-image: url("../img/about-icons/about_icon_3.webp");
}

.customer-satisfaction {
  background-image: url("../img/about-icons/about_icon_4.webp");
}

.working-area p,
.customer-satisfaction p,
.years-experience p,
.happy-customer p {
  margin-top: 20px;
}

.about-us .contact-btn {
  text-decoration: underline;
  color: var(--primary);
  font-weight: bold;
  transition: all 0.3s;
}

.about-us .contact-btn:hover {
  color: var(--secondary);
}

/* services */
.services {
  /* padding: 100px 0;
    background-color: #F8F9FA; */
  padding: 100px 0;
  background-image: url(../img/testimonial_bg.png);
  background-position: center center;
  background-size: cover;
}

.card-body {
  /* padding: 40px 20px; */
  padding: 40px 25px 16px;
}

.services .card-body h5,
.services .card-body p {
    color: rgb(33, 37, 41) !important;
}

.services .card-body p {
    font-size:18px;
    margin-bottom:10px;
}

.service-card {
  border: none;
  transition: all 0.3s;
  border: solid 2px #e9e9e9;
}

.service-card:hover {
  background-color: var(--secondary);
  color: #fff;
}

.service-card:hover h5 {
    color:#fff !important; 
}

.service-card:hover p {
    color:#fefefe !important;
}

.read-more-btn {
  color: var(--secondary);
  /* color: var(--primary); */
  transition: all 0.3s;
  font-weight: 500;
  font-size: 19px;
}

.service-card:hover .read-more-btn {
  color: #fff;
}

.service-card img.card-img-top {
    height: 320px;
    object-fit: cover;
}

.service-icon {
  background-color: var(--secondary);
  border: solid 1px var(--secondary);
  color: white;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-radius: 50%; */
  position: absolute;
  top: 55%;
  left: 20px;
  transition: all 0.3s;
}

.service-icon i {
  font-size: 25px;
}

.service-card:hover .service-icon {
  background-color: #fff;
  color: var(--secondary);
}

/* ************ */
.section-title {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* gallery */
.gallery {
  padding: 100px 0;
  position: relative;
}

.layer-bg {
  position: absolute;
  right: 40px;
  top: 60px;
}

.team-member {
  margin-bottom: 2rem;
}

.team-member-img {
  position: relative;
  overflow: hidden;
}

.team-member:hover .layer {
  top: 0;
}

.layer {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 30%,
    rgba(0, 0, 0, 0.8) 70%
  );
  transition: all 0.3s;
}

.layer i {
  font-size: 25px;
  color: #fff;
}

.team-member img {
  width: 100%;
  border-radius: 8px;
}

.team-member h4 {
  margin: 0;
  font-size: 1.6rem;
}

.team-member .role {
  color: #666666;
  font-size: 0.9rem;
  margin-bottom: 0;
  position: relative;
  padding-left: 15px;
}

.team-member .role::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--secondary);
}

/* testimonials */
.testimonials {
  padding: 100px 0;
  background-image: url("../img/testimonial_bg.png");
  background-position: center center;
  background-size: cover;
}

.testimonial-card{
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card p{
height: 160px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    /* -webkit-line-clamp: inherit !important; */
    overflow: auto !important;
    padding-right: 10px;
    scrollbar-color: #8d8d8d #e0e0e0;
    scrollbar-width: thin;
}
.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.testimonial-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 1rem;
}

.star-rating {
  color: #ffd700;
  margin-bottom: 1rem;
  font-size: 24px;
}

.google-icon {
  width: 40px;
}

/* steps */
.steps {
  padding: 100px 0;
  background-image: url("../img/how_it_work_shape.png");
  background-repeat: no-repeat;
  background-position: center;
}

.service-step .icon {
  margin-bottom: 30px;
}

.steps .container {
  width: 1200px;
}

.service-step h4 {
  position: relative;
  margin-bottom: 15px;
  transition: all 0.3s;
}

.service-step h4.step-one::after,
.service-step h4.step-three::after,
.service-step h4.step-four::after,
.service-step h4.step-two::after {
  content: "01";
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  font-weight: 900;
  font-size: 80px;
  color: #b5cae8;
  opacity: 0.3;
  z-index: -1;
}

.service-step h4.step-two::after {
  content: "02";
}

.service-step h4.step-three::after {
  content: "03";
}

.service-step h4.step-four::after {
  content: "04";
}

.service-step {
  text-align: center;
  position: relative;
}

.service-step:hover .icon {
  background-color: #074db1;
}

.service-step:hover h4 {
  color: #074db1;
}

.service-step .icon {
  width: 85px;
  height: 85px;
  background: #b8d0f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 40px;
  color: white;
  font-size: 2rem;
  transition: all 0.3s;
}

.service-step::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: #b8d0f7;
  z-index: -1;
}

.service-step:last-child::after {
  display: none;
}

/* why-us */
.why-us {
  /* padding: 100px 0;
    background-image: url("../img/testimonial_bg.png");
    background-position: center center;
    background-size: cover; */
  padding: 100px 0;
  background-color: #f8f9fa;
}

.map-section {
  position: relative;
  /* height: 400px; */
  border: solid 5px white;
}

.map-section::after {
  content: "";
  position: absolute;
  right: -60px;
  top: 50%;
  width: 50px;
  height: 150px;
  transform: translateY(-50%);
  background-image: url("../img/about_shape_2.png");
}

.emergency-call {
  background: var(--secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.emergency-call i {
  margin-right: 0.5rem;
}

.btn-direction {
  background: var(--secondary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  position: absolute;
  bottom: -35px;
  right: -20px;
}

.section-title {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card .date-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  text-align: center;
  line-height: 1.2;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card .content {
  padding: 1.5rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.blog-card .read-more {
  color: var(--secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* Brand Carousel */
.brand-logo {
  height: 60px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.3s;
}

.brand-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Footer */
.footer {
  /* background-image: url("../img/footer_bg.png"); */
  background-position: center center;
  background-size: cover;
  background-color: #334155;
  color: white;
  /* padding: 4rem 0 0;
   */
  padding: 40px 0 0;
}

.footer-logo {
  /* max-width: 200px; */
  max-width: 120px;
  margin-bottom: 1.5rem;
}

.footer h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.working-hours {
  color: rgba(255, 255, 255, 0.8);
}

.working-hours .day {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.social-links {
  margin-top: 2rem;
}

.social-links a {
  color: white;
  margin-right: 1rem;
  font-size: 1.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 15px;
  padding: 1.5rem 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

/* contact form */

.section-title {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.main-title {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.main-title strong {
  display: block;
  font-weight: 700;
}

.form-control {
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: none;
}

textarea.form-control {
  min-height: 150px;
}

.btn-send {
  background-color: var(--secondary);
  color: white;
  padding: 1rem 2rem;
  border: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-send:hover {
  background-color: #c31a1f;
}

.image-container {
  background-image: url("../img/contact_image.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .image-container {
    min-height: 300px;
    margin-bottom: 2rem;
  }
}

#quote {
  padding: 100px 0;
  background-color: white;
  position: relative;
  z-index: 999;
}

.quote-header h5 {
  color: var(--lime-green);
}

.quote-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--second-color);
}

#quote form {
  margin-top: 25px;
}

#quote form .form-label {
  color: var(--header-black);
}

#quote .request-quote-form {
  border: 5px solid #f1f5f6;
}

.form-privacy {
  margin-bottom: 0;
  font-size: 14px;
  margin-bottom: 15px;
  color: #34405a;
}

.request-quote-form h5 {
  margin: 0;
  padding: 18px 0;
  text-align: center;
  background-color: #f1f5f6;
  font-size: 22px;
  color: var(--header-black);
}

.request-quote-form form {
  padding: 20px;
}

#quote form input:focus,
#quote form textarea:focus {
  background-color: white;
  box-shadow: none;
  border-color: var(--second-color);
}

#quote .btn-submit {
  margin-top: 8px;
  padding: 15px;
  width: 100%;
  color: white;
  background-color: var(--main-color);
  transition: all 0.3s;
}

#quote .btn-submit:hover {
  background-color: var(--second-color);
}

label.error {
  font-size: 15px;
  color: var(--secondary);
  margin: 0;
  font-weight: 600;
  text-shadow: none;
  line-height: 17px;
  padding-left: 5px;
  text-align: left;
  display: block;
  font-weight: normal;
  margin-top: 3px;
}

.form-label span {
  color: var(--secondary);
}

#quote #contact_form_1 .form-label span.optional {
  color: black;
  font-size: 15px;
}

.contact-form {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.contact-info {
  background-color: #a4c639;
  color: #fff;
  padding: 40px;
}

.contact-info h2 {
  color: #fff;
  margin-bottom: 30px;
}

.contact-info p {
  color: var(--header-black);
}

.form-control {
  border: 1px solid #ddd;
  border-radius: 5px;
}

.btn-send {
  background-color: #a4c639;
  color: #fff;
  border: none;
  padding: 10px 0;
}

.btn-send:hover {
  background-color: #8baa2f;
}

/* footer {
  background-color: #e8e8e8;
  padding: 60px 0;
} */

#copyright {
  text-align: center;
  color: #fff;
  background-color: var(--second-color);
}

.copyright-wrapper {
  padding: 12px 0;
}

#copyright p {
  margin-bottom: 0;
  font-size: 14px;
  color: white;
}

#back-to-top {
  position: fixed;
  bottom: 45px;
  right: 10px;
  z-index: 999;
  cursor: pointer;
  border: 0;
  border-radius: 2px;
  text-decoration: none;
  -webkit-transition: all 0.5s;
  -ms-transition: all 0.5s;
  transition: all 0.3s;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  right: 4px;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--primary);
  font-weight: bold;
}

#back-to-top.show {
  bottom: 60px;
}

#back-to-top:hover {
  color: var(--secondary);
}

@media (max-width: 575px) {
  h1,
  .h1 {
    /* font-size: 44px; */
    font-size: 39px;
    margin-bottom: 20px;
  }
  .nav-phone {
    position: fixed;
    bottom: 13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 15px;
    width: 60%;
    text-align: center;
    border-radius: 56px;
    background-color: var(--primary);
    visibility: visible;
    color: white;
    z-index: 998;
    font-size: 22px;
  }

  .navbar {
    margin-top: 50px;
  }

  .request-form {
    margin-top: 50px;
  }

  .about-content {
    margin-top: 50px;
  }

  .about-content h2 {
    font-size: 32px;
  }

  .header-section h2 {
    font-size: 32px;
  }

  .service-icon {
    top: 56%;
  }

  .layer-bg {
    display: none;
  }

  .steps {
    background-image: linear-gradient(rgb(250, 250, 250), rgb(250, 250, 250));
    /* background-color: #fff; */
  }
  .steps .container {
    width: fit-content;
  }

  .why-us-header h2 {
    font-size: 32px;
  }
  .why-us .btn-secondary {
    margin-bottom: 15px;
  }
  .map-section::after {
    display: none;
  }
  .map-section {
    height: auto;
  }
  .btn-direction {
    bottom: -25px;
  }
  .contact-header h2 {
    font-size: 32px;
  }
  .owl-nav button.owl-prev,
.owl-nav button.owl-next {
display: none;
}
}

#brands {
  margin-top: 60px;
}
#brands .header-section h2 {
  margin-bottom: 40px;
  font-size: 40px;
  font-weight: bold;
}

#brands .brand-img {
  text-align: center;
  padding: 30px;
}
.brand-img {
  min-height: 110px;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #e6e6e6;
}

#brands .brand-img img {
  display: inline-block;
  max-height: 80px;
  width: auto;
}

/* Owl Carousel Nav */
.owl-nav {
  position: absolute;
  top: 30%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none; /* allow buttons to be clicked without affecting layout */
}

.owl-nav button.owl-prev,
.owl-nav button.owl-next {
  background: transparent;
  border: none;
  font-size: 42px !important;
  color: black !important;
  pointer-events: all; /* enable interaction */
}

.owl-nav button.owl-prev {
  margin-left: -20px;
}

.owl-nav button.owl-next {
  margin-right: -20px;
}

.owl-carousel .owl-dots.disabled,
.owl-carousel .owl-nav.disabled {
  display: block;
}
@media (min-width: 1400px) {
  #services .container-fluid {
    max-width: 1460px;
  }
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 25px 0;
  text-transform: capitalize;
}

ul.intro-list,
ul.list {
  list-style-type: none;
  padding: 0;
  margin: 30px 0 35px;
  text-transform: capitalize;
}

ul.intro-list li,
ul.list li {
  position: relative;
  padding-left: 34px;
  margin: 6px 0;
  font-size: 18px;
  color: #2c2d32;
}

ul.intro-list li:before,
ul.list li:before {
  font-family: "fontello";
  content: "\e98f";
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 22px;
}
#header .list li {
  color: #fff;
  font-size: 18px;
}
.service-icon img {
  transition: filter 0.3s ease;
      max-width: 40px;

}
.service-card:hover .service-icon img {
  filter: brightness(0) saturate(100%) invert(15%) sepia(88%) saturate(6130%)
    hue-rotate(349deg) brightness(94%) contrast(103%);
}
