html {
  scroll-padding-top: 150px; /* adjust to your header height */
}
body {
    background: #FFFFFF !important;
    color: #505050 !important;
    font-family: Poppins !important;
    font-size: 16px !important;
    line-height: 26px;
    font-weight: 400;
}
h1 {
    color: #303745;
    font-family: Poppins;
    font-size: 48px;
    font-weight: 600;
    line-height: 60px;
}

h2 {
    color: #505050 !important;
    font-family: Poppins !important;
    font-size: 16px !important;
    line-height: 26px;
    font-weight: 400;
}

h3 {
    color: #303745 ;
    font-family: Poppins;
    font-size: 24px;
    line-height: 34px;
}

h4 {
    color: #303745;
    font-family: Poppins;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

h5 {
    color: #303745;
    font-family: Poppins;
    font-size: 17px;
    font-weight: 400;
    line-height: 27px;
}

h6 {
    color: #303745 ;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}
img.pdf-icon {
    width:auto;
    margin-right:10px;
    margin-top:-4px;
}
img.pdf-icon + a {
    color: #b4131c;
    text-decoration:none;
}
.bg-primary, .sg-bg-primary {
  background-color: #b4131c !important;
}
.text-primary{
  color: #b4131c !important;
}
.btn-primary, .sg-btn-primary {
    text-transform: uppercase;
    background: #b4131c !important;
    padding: 10px 20px;
    display: inline-block;
    font-weight: 400;
    vertical-align: middle;
    -webkit-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    color: #ffffff;
    transition: all 0.15s ease-in-out;
    border-radius: 0;
    position: relative;
    text-align: center;
    text-decoration: none !important;
    border-color: #b4131c !important;
}
.btn-primary:hover, .sg-btn-primary:hover {
    background-color:#fff !important;
    color:#b4131c !important;
    border:1px solid #b4131c;
    padding:10px 20px;
}
.section-title {
  color: #303745;
  font-family: Poppins !important;
  font-size: 36px;
  font-weight: 600 !important;
  line-height: 46px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.overly-border:before, .overly-border:after {
  position: absolute;
  top: 50px;
  right: 50px;
  bottom: 50px;
  left: 50px;
  content: '';
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  z-index: 1;
}
.overly-border:before {
    border-top: 5px solid #b4131c;
  border-bottom: 5px solid #b4131c;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
}
.overly-border:after {
    border-right: 5px solid #b4131c;
    border-left: 5px solid #b4131c;
    -webkit-transform: scale(1, 0);
    transform: scale(1, 0);
}
.img-box:hover .overly-border:before, .img-box:hover .overly-border:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
section.sg-content, section.sg-faq, section.sg-blog {
  padding: 50px 0px !important;
}
/* top bar css start */
.top-bar .top-links li {
  margin: 5px 15px;
}

.top-bar .top-links li:last-child {
  margin-right: 0px;
}

.top-bar .top-links li a {
  color: #fff;
  text-decoration: none;
  font-family: Poppins !important;
}

.top-bar .top-links li a:hover {
  color: #fff;
  text-decoration: none;
}
.top-bar #site_search_field {
    padding:2px 10px !important;
}
.top-bar .site_search_submit {
  width: 30px;
  border: none;
  background: url('https://cdn.staging.oregon.platform-os.com/instances/12310/assets/images/search-icon.png?updated=1745574677954') no-repeat center;
  position: absolute;
  top: 0px;
  right: 8px;
  bottom: 0px;
  cursor: pointer;
  outline:none;
  border:none;
  box-shadow: none;
}
/* top bar css end */
/*header css start*/
.sg-masthead .navbar .navbar-nav .nav-link {
    font-family: Poppins !important;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1.5px;
    transition: all 0.3s ease 0s;
    text-decoration: none !important;
    position:relative;
}
.sg-masthead .navbar .navbar-nav .nav-link:hover {
    color:#b4131c !important;
}
.sg-masthead .navbar-nav .nav-item:last-child .nav-link {
    background-color:#b4131c;
    color:#fff !important;
    padding:10px 20px;
    margin-left:10px;
}
.sg-masthead .navbar .nav-item .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #b4131c; 
  transition: width 0.4s ease;
}
.navbar .nav-item .nav-link:hover::after {
  width: 80%;
  margin-left:10%;
}
.sg-masthead .dropdown:hover .dropdown-menu {
  display:block !important;  
}
.sg-masthead .dropdown-menu .nav-link {
  color:#212529!important
}
.sg-masthead .dropdown-item.active, .dropdown-item:active {
    color: #fff !important;
    text-decoration: none;
    background-color: #b4131c;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: #fff !important;
    background-color: #b4131c !important;
}
.sg-masthead .navbar .navbar-nav .dropdown-item:focus .nav-link, .sg-masthead .navbar .navbar-nav .dropdown-item:hover .nav-link{
  color: #fff !important;
}
.sg-masthead .dropdown-toggle::after{
  border:0px !important;
}
header {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}
header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}
/*header css end */
/*homepage slider css start*/
.swiper-button-next, .swiper-button-prev{
  color: #b4131c !important;
}
.swiper-pagination-bullet-active{
  background-color: #b4131c !important;
}
/*homepage slider css end*/
/*homepage services section css start*/
.hp-services-section .col-lg-4:nth-child(odd) {
  background-color: #f0f0f0;
  padding:30px;
  text-align:center;
}
.hp-services-section .col-lg-4:nth-child(even) {
  background-color: #e7e7e7;
  padding:30px;
  text-align:center;
}
.hp-services-section h3{
  margin:20px 0px;
}
.hp-services-section h3 a{
  color:#303745;
  text-decoration:none;
  font-size: 20px !important;
  line-height: 32px !important;
  font-weight: 500;
} 
.hp-services-section h3 a:hover {
    color:#b4131c;
}
section.sg-content.hp-services-section img {
  max-width: 100px;
}
/*homepage services section css end */
/* Testimonial section css start */
.testimonial-item {
    border: 1px solid #eee;
    padding: 18px;
    transition: 0.3s all ease;
    position: relative;
    padding-top: 50px !important;
    z-index: 11;
}

.testimonial-item img {
    margin-bottom: 12px;
    position: absolute;
    height: 90px;
    width: 90px !important;
    top: -45px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background: #e2e2e2;
    padding: 5px;
    -webkit-transition: 0.3s ease all;
    transition: 0.3s ease all;
    border-radius: 50%;
}
.testimonial-author {
    background: #f5f5f5;
    padding:15px 20px 18px;
    text-align:center;
}
.testimonial-item:hover .testimonial-author {
    background-color:#b4131c;
    color:#fff;
}
.testimonial-item:hover {
    border:1px solid #b4131c !important
}
.testimonial-item:hover img{
    background-color:#b4131c;
}
.testimonial-slider .owl-stage {
    padding-top:50px;
}
/* Testimonial section css end */
/*Homepage portfolio section css start*/
.portfolio .filter-button {
  background-color: #fff;
  color: #b4131c;
  border:2px solid #b4131c;
  margin: 5px;
}
.portfolio .filter-button.sg-btn.active{
  background-color:#b4131c;
  color:#fff;
  border: 2px solid #b4131c;
}
section.portfolio-section .portfolio-block .img-box img{
     transition:1.3s all ease;
}
section.portfolio-section .portfolio-block .img-box:hover img{
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}
section.portfolio-section .portfolio-block .overlay-box{
  opacity:0;
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.5);
  display:flex;
  align-items:center;
  justify-content:center;
}
section.portfolio-section .portfolio-block .img-box:hover .overlay-box{
  opacity:1;
}
section.portfolio-section .portfolio-block .overlay-box h4 {
    color:#fff
}
/*Homepage portfolio section css end*/
/*clients slider css start*/
.clients-area .client-item {
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
    background: #fff;
    margin: 5px;
}
.clients-area .client-item img {
    filter: grayscale(100%);
    opacity: 0.5;
    width: auto !important;
    margin: auto !important;
}
.clients-area .client-item img:hover {
  filter:none;
  opacity:1;
}
.owl-dots {
  margin-top: 25px !important;
}
/*clients slider css end*/
/*homepage slider css start*/
.hp-blogs-section .blog-content {
    position: relative;
    padding: 20px;
    width: calc(100% - 40px);
    margin-top: -30px;
    background: #f9f9f9;
    margin-left: auto;
    margin-right: auto;
}
.hp-blogs-section .blog-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 4px;
}
.hp-blogs-section .blog-title a {
    color:#303745;
    transition: all 0.3s ease 0s;
    text-decoration: none !important;
    outline: none !important;
}
.hp-blogs-section .blog-title a:hover {
    color: #b4131c;
}
.hp-blogs-section .blog-date {
    font-size: 13px;
    color: #999;
}
.hp-blogs-section .blog-item .blog-desc {
    font-size:14px
}
/*homepage slider css end */
/*Internal pages page title bar css start*/
section.page-title-section {
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-image:url('https://cdn.staging.oregon.platform-os.com/instances/12361/assets/images/page-title-bar-img.jpg?updated=1746014877364');
}
section.page-title-section:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
}
section.page-title-section .container{
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
    width: 100%;
}
/*Internal pages page title bar css end*/
/*faq css start*/
.sg-faq.sg-faq-01a .accordion .sg-card .sg-card-header .sg-btn-link {
    color: #505050 !important;
    padding: 30px;
}
.sg-faq .sg-card {
  border-radius: 0px !important;
}
.sg-faq .sg-card .card-header + div {
    border-top:1px solid #ddd
}
/*faq css end*/
/*blog detail view css start */
.sg-blog-details-02 h1 {
    font-size:36px;
}
.sg-blog-details-02 blockquote {
	background: #f6f6f6;
	border: 1px solid #ededed;
	border-left: 5px solid #b4131c;
	font-size: 14px;
	font-style: italic;
	line-height: 26px;
	margin: 40px 0 40px 40px;
	padding: 30px 45px;
  text-align: left;
}
/*blog detail view css end*/
/*contact form css start*/
 #phone-error-msg.error {
    color: #fff;                     /* white text */
    background-color: #dc3545;     /* red background */
    font-size: 14px;
    padding: 6px 7px;
    border-radius: 4px;
    margin-top: 15px;
  }
.sg-form textarea {
  min-height: 100px;
}
.contact-right-sidebar .footer-contact-us a {
    color: #505050;
}
.contact-right-sidebar .footer-contact-us a:hover {
    color: #b4131c;
}
.radio-container {
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
}
.radio-container .radio {
    width:100%;
    display:flex;
    align-items:center;
}
.radio-container .radio input {
    width:15px !important;
    margin-right:5px;
    margin-top:-2px;
}
.radio-container .radio label {
    margin-bottom:0;
    font-weight:normal;
}
/*contact form css end*/
/*search result page css start*/
.site_search_results_1 ul, .sitemap-section ul {
   padding: 0;
   max-width: 800px;
   margin: auto
}

.site_search_results_1 li, .sitemap-section li {
   list-style: none;
   border: 1px solid #ddd;
   padding: 10px 20px;
   margin-bottom: 15px;
}

.site_search_results_1 li:before, .sitemap-section li:before {
   content: "\f054";
   font-family: "Font Awesome 5 Free";
   font-weight: 900;
   display: inline-block;
   width: 1.3em;
   font-size: 10px !important;
}

.site_search_results_1 li a, .sitemap-section li a {
   color: #505050;
   text-decoration: none;
}

.site_search_results_1 li:hover a, .sitemap-section li:hover a {
   color: #b4131c;
   text-decoration: none;
   cursor: pointer;
}
.model_pagination {
    text-align:center;
    margin:10px 0px 30px 0px
}
.model_pagination a {
    background-color:#fff;
    color:#b4131c;
    display: inline-block;
    width:30px;
    height:30px;
    text-align:center;
    text-decoration:none;
    line-height:30px;
    border: 1px solid #b4131c;
}
.model_pagination a.inactive {
    background-color:#b4131c;
    color:#fff;
    border: 1px solid #b4131c;
}
/*search result page css start end*/
/*footer css start*/
footer.main-footer {
    background-color:#373C44
}
.main-footer .footer-links ul {
    column-count:2;
}
.main-footer .footer-links li {
    margin-bottom:15px;
    margin-bottom:10px;
    list-style:none;
}
.main-footer .footer-links li a {
    text-decoration:none;
}
.main-footer p, .main-footer a, .main-footer li{
    font-size:14px;
    color: #fff !important;
}
.main-footer .footer-links li a:hover, .copy-right a:hover {
    color:#fff !important;
}
.main-footer h4{
    position:relative;
}
.main-footer h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 1px;
    width: 50px;
    background-color: #b4131c !important;
}
.main-footer .footer-links li:before {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
    width: 1.3em;
    font-size:10px !important;
}
.copy-right a, .copy-right p {
    font-size:14px;
    color: #fff !important;
    text-decoration: none;
}
#topBtn {
  display: none; 
  position: fixed; 
  bottom: 50px; 
  right: 30px; 
  z-index: 99; 
  border: 2px solid #fff !important; 
  outline: none; 
  background-color: #b4131c;
  color: white; 
  cursor: pointer; 
  padding: 0px; 
  font-size: 18px; 
  width:40px;
  height:40px;
  border-radius:50%;
  justify-content: center;
  align-items: center;
}

#topBtn:hover {
  background-color: #555; 
  border: 2px solid #b4131c !important; 
}
/*footer css end*/
/* Media queries css start */
@media screen and (max-width:1199px){
  .navbar-nav .nav-item:last-child .nav-link {
    margin-left: 0px;
  }
}

@media screen and (max-width:640px) {
  .contact-form {
    padding: 20px 10px !important;
    max-width: 100%;
  }
}
/* Media queries css end */