/*-----------------------------------------------------------------------------------

    Template Name: Simple
    Author: UIdeck
    Author URI: uideck.com
    Version: 1.0

-----------------------------------------------------------------------------------

    CSS INDEX
    ===================

    01. Theme default CSS
	02. Header
    03. Hero
	04. Footer

-----------------------------------------------------------------------------------*/
/*===========================
    01.COMMON css 
===========================*/
@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800");
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: normal;
  font-style: normal;
  color: #5A5872;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

a:focus,
input:focus,
textarea:focus,
button:focus {
  text-decoration: none;
  outline: none;
}

a:focus,
a:hover {
  text-decoration: none;
}

i,
span,
a {
  display: inline-block;
  text-decoration: none;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #2B2A3D;
  margin: 0px;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 22px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

ul, ol {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

p {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: #5A5872;
  margin: 0px;
}

.bg_cover {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

/*===== All Button Style =====*/
.main-btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 0;
  padding: 0 40px;
  font-size: 16px;
  height: 55px;
  line-height: 55px;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  z-index: 5;
  transition: all 0.4s ease-out 0s;
  background-color: #E84E4E;
}

.main-btn:hover {
  background-color: #ff6b6b;
  color: #fff;
}

/*===== All Section Title Style =====*/
.section_title {
  text-align: left;
  max-width: 580px;
  margin-left: 15px;
  padding-left: 15px;
}

.section_title .title {
  font-size: 40px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .section_title .title {
    font-size: 26px;
  }
}

.section_title p {
  margin-top: 15px;
  font-size: 18px;
  color: #9e9db3;
}

.section_title.section_title_2 .title,
.section_title.section_title_2 p {
  color: #fff;
}

/* Update alignments for features and other sections */
.single_features {
  text-align: left;
}

.portfolio_content,
.pricing_area .section_title,
.team_area .section_title,
.blog_area .section_title,
.contact_area .section_title {
  text-align: left;
}

.single_pricing {
  text-align: left;
}

.single_team .team_content {
  text-align: left;
}

/* Testimonial section can stay centered for better design */
.testimonial_area .single_testimonial {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  height: 100%;
}

/*===== All Preloader Style =====*/
.preloader {
  /* Body Overlay */
  position: fixed;
  top: 0;
  left: 0;
  display: table;
  height: 100%;
  width: 100%;
  /* Change Background Color */
  background: #fff;
  z-index: 99999;
}

.preloader .loader {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.preloader .loader .ytp-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  margin-left: -32px;
  z-index: 18;
  pointer-events: none;
}

.preloader .loader .ytp-spinner .ytp-spinner-container {
  pointer-events: none;
  position: absolute;
  width: 100%;
  padding-bottom: 100%;
  top: 50%;
  left: 50%;
  margin-top: -50%;
  margin-left: -50%;
  animation: ytp-spinner-linspin 1568.2353ms linear infinite;
}

.preloader .loader .ytp-spinner .ytp-spinner-container .ytp-spinner-rotator {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: ytp-spinner-easespin 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}

.preloader .loader .ytp-spinner .ytp-spinner-container .ytp-spinner-rotator .ytp-spinner-left {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
  right: 50%;
}

.preloader .loader .ytp-spinner .ytp-spinner-container .ytp-spinner-rotator .ytp-spinner-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  left: 50%;
}

.preloader .loader .ytp-spinner-circle {
  box-sizing: border-box;
  position: absolute;
  width: 200%;
  height: 100%;
  border-style: solid;
  /* Spinner Color */
  border-color: #E84E4E #E84E4E #F9F9F9;
  border-radius: 50%;
  border-width: 6px;
}

.preloader .loader .ytp-spinner-left .ytp-spinner-circle {
  left: 0;
  right: -100%;
  border-right-color: #F9F9F9;
  animation: ytp-spinner-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}

.preloader .loader .ytp-spinner-right .ytp-spinner-circle {
  left: -100%;
  right: 0;
  border-left-color: #F9F9F9;
  animation: ytp-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}

/* Preloader Animations */

@keyframes ytp-spinner-linspin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ytp-spinner-easespin {
  12.5% {
    transform: rotate(135deg);
  }
  25% {
    transform: rotate(270deg);
  }
  37.5% {
    transform: rotate(405deg);
  }
  50% {
    transform: rotate(540deg);
  }
  62.5% {
    transform: rotate(675deg);
  }
  75% {
    transform: rotate(810deg);
  }
  87.5% {
    transform: rotate(945deg);
  }
  to {
    transform: rotate(1080deg);
  }
}

@keyframes ytp-spinner-left-spin {
  0% {
    transform: rotate(130deg);
  }
  50% {
    transform: rotate(-5deg);
  }
  to {
    transform: rotate(130deg);
  }
}

@keyframes ytp-right-spin {
  0% {
    transform: rotate(-130deg);
  }
  50% {
    transform: rotate(5deg);
  }
  to {
    transform: rotate(-130deg);
  }
}

/*===========================
     02.HEADER css 
===========================*/
/*===== NAVBAR =====*/
.header_navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.3s ease-out 0s;
}

.sticky {
  position: fixed;
  z-index: 99;
  background-color: #fff;
  box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-out 0s;
}

.sticky .navbar {
  padding: 15px 0;
}

.navbar {
  padding: 20px 0;
  border-radius: 5px;
  position: relative;
  transition: all 0.3s ease-out 0s;
}

.navbar-brand {
  padding: 0;
}

.navbar-brand img {
  width: 150px;
}

@media (max-width: 767px) {
  .navbar-brand img {
    width: 130px;
  }
}

.navbar-toggler {
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler .toggler-icon {
  width: 30px;
  height: 2px;
  background-color: #fff;
  display: block;
  margin: 5px 0;
  position: relative;
  transition: all 0.3s ease-out 0s;
}

.navbar-toggler.active .toggler-icon:nth-of-type(1) {
  transform: rotate(45deg);
  top: 7px;
}

.navbar-toggler.active .toggler-icon:nth-of-type(2) {
  opacity: 0;
}

.navbar-toggler.active .toggler-icon:nth-of-type(3) {
  transform: rotate(135deg);
  top: -7px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 9;
    box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.1);
    padding: 5px 12px;
  }
}

@media (max-width: 767px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 9;
    box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.1);
    padding: 5px 12px;
  }
}

.navbar-nav .nav-item {
  position: relative;
  margin-left: 40px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .navbar-nav .nav-item {
    margin-left: 30px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .navbar-nav .nav-item {
    margin: 0;
  }
}

@media (max-width: 767px) {
  .navbar-nav .nav-item {
    margin: 0;
  }
}

.navbar-nav .nav-item a {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  transition: all 0.3s ease-out 0s;
  padding: 10px 0;
  position: relative;
}

.navbar-nav .nav-item a::before {
  position: absolute;
  content: '';
  bottom: 0px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease-out 0s;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .navbar-nav .nav-item a::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .navbar-nav .nav-item a::before {
    display: none;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .navbar-nav .nav-item a {
    display: block;
    padding: 4px 0;
    color: #222;
  }
}

@media (max-width: 767px) {
  .navbar-nav .nav-item a {
    display: block;
    padding: 4px 0;
    color: #222;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .navbar-nav .nav-item a.active, .navbar-nav .nav-item a:hover {
    color: #E84E4E;
  }
}

@media (max-width: 767px) {
  .navbar-nav .nav-item a.active, .navbar-nav .nav-item a:hover {
    color: #E84E4E;
  }
}

.navbar-nav .nav-item a.active::before, .navbar-nav .nav-item a:hover::before {
  width: 100%;
}

.navbar-nav .nav-item:hover .sub-menu {
  top: 100%;
  opacity: 1;
  visibility: visible;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .navbar-nav .nav-item:hover .sub-menu {
    top: 0;
  }
}

@media (max-width: 767px) {
  .navbar-nav .nav-item:hover .sub-menu {
    top: 0;
  }
}

.navbar-nav .nav-item .sub-menu {
  width: 200px;
  background-color: #fff;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 110%;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-out 0s;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .navbar-nav .nav-item .sub-menu {
    position: relative;
    width: 100%;
    top: 0;
    display: none;
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 767px) {
  .navbar-nav .nav-item .sub-menu {
    position: relative;
    width: 100%;
    top: 0;
    display: none;
    opacity: 1;
    visibility: visible;
  }
}

.navbar-nav .nav-item .sub-menu li {
  display: block;
}

.navbar-nav .nav-item .sub-menu li a {
  display: block;
  padding: 8px 20px;
  color: #222;
}

.navbar-nav .nav-item .sub-menu li a.active, .navbar-nav .nav-item .sub-menu li a:hover {
  padding-left: 25px;
  color: #E84E4E;
}

.navbar-nav .sub-nav-toggler {
  display: none;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .navbar-nav .sub-nav-toggler {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    color: #222;
    font-size: 18px;
    border: 0;
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 767px) {
  .navbar-nav .sub-nav-toggler {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    color: #222;
    font-size: 18px;
    border: 0;
    width: 30px;
    height: 30px;
  }
}

.navbar-nav .sub-nav-toggler span {
  width: 8px;
  height: 8px;
  border-left: 1px solid #222;
  border-bottom: 1px solid #222;
  transform: rotate(-45deg);
  position: relative;
  top: -5px;
}

.sticky .navbar-toggler .toggler-icon {
  background-color: #222;
}

.sticky .navbar-nav .nav-item a {
  color: #222;
}

.sticky .navbar-nav .nav-item a::before {
  background-color: #E84E4E;
}

.sticky .navbar-nav .nav-item a.active, .sticky .navbar-nav .nav-item a:hover {
  color: #E84E4E;
}

/*===== hero =====*/
.single_hero {
  height: 750px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

@media only screen and (min-width: 1400px) {
  .single_hero {
    height: 950px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .single_hero {
    height: 700px;
  }
}

@media (max-width: 767px) {
  .single_hero {
    height: 650px;
  }
}

.single_hero::before {
  position: absolute;
  content: '';
  background-color: rgba(43, 42, 61, 0.7);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -1;
}

.hero_content {
    padding-top: 0px;
    text-align: left;
    margin-left: 15px;
    padding-left: 15px;
}

.hero_content .small-title {
    font-size: 14px;
    font-weight: 600;
    color: #E84E4E;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.hero_content .hero_title {
    font-size: 60px;
    line-height: 1.2;
    color: #fff;
    margin-top: 15px;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero_content p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    max-width: 580px;
}@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .hero_content .hero_title {
    font-size: 44px;
    line-height: 65px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hero_content .hero_title {
    font-size: 40px;
    line-height: 60px;
  }
}

@media (max-width: 767px) {
  .hero_content .hero_title {
    font-size: 24px;
    line-height: 38px;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .hero_content .hero_title {
    font-size: 40px;
    line-height: 60px;
  }
}

.hero_content .hero_title span {
  display: contents;
  color: #E84E4E;
}

.hero_content p {
  font-size: 16px;
  color: #fff;
  margin-top: 30px;
}

@media (max-width: 767px) {
  .hero_content p {
    font-size: 16px;
  }
}

.hero_content .main-btn {
  margin-top: 45px;
}

/*===========================
      03.FEATURES css 
===========================*/
.single_features i {
  font-size: 60px;
  line-height: 60px;
  color: #E84E4E;
  transition: all 0.3s ease-out 0s;
}

@media (max-width: 767px) {
  .single_features i {
    font-size: 40px;
    line-height: 45px;
  }
}

.single_features .features_title {
  color: #E84E4E;
  margin-top: 15px;
  font-size: 24px;
  font-weight: 600;
  transition: all 0.3s ease-out 0s;
}

@media (max-width: 767px) {
  .single_features .features_title {
    font-size: 24px;
  }
}

.single_features p {
  margin-top: 15px;
}

.single_features:hover i {
  color: #E84E4E;
}

/*===========================
      04.ABOUT css 
===========================*/
.about_area {
  background-color: #F9F9F9;
  position: relative;
}

.about_image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .about_image {
    width: 100%;
    height: 500px;
    position: relative;
  }
}

@media (max-width: 767px) {
  .about_image {
    width: 100%;
    height: 400px;
    position: relative;
  }
}

.about_image .image_content {
  width: 185px;
  height: 185px;
  background-color: #E84E4E;
  display: table;
  text-align: center;
  position: relative;
  left: -92px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .about_image .image_content {
    width: 135px;
    height: 135px;
    left: -78px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .about_image .image_content {
    left: 0;
  }
}

@media (max-width: 767px) {
  .about_image .image_content {
    left: 0;
    width: 135px;
    height: 135px;
  }
}

.about_image .image_content .experience {
  font-size: 24px;
  color: #fff;
  font-weight: 500;
  display: table-cell;
  vertical-align: middle;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .about_image .image_content .experience {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .about_image .image_content .experience {
    font-size: 18px;
  }
}

.about_image .image_content .experience span {
  font-size: 44px;
  font-weight: 700;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .about_image .image_content .experience span {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .about_image .image_content .experience span {
    font-size: 36px;
  }
}

.about_content {
  padding-right: 50px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .about_content {
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .about_content {
    padding-right: 0;
  }
}

.about_content .main-btn {
  margin-top: 30px;
}

/*===========================
      05.PORTFOLIO css 
===========================*/
.single_portfolio {
  position: relative;
  width: 33.3333%;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .single_portfolio {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .single_portfolio {
    width: 100%;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .single_portfolio {
    width: 50%;
  }
}

.single_portfolio img {
  width: 100%;
}

.single_portfolio::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.5) 70%);
  opacity: 1;
}

.single_portfolio .portfolio_content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 0 15px;
}

.single_portfolio .portfolio_content .meta li {
  display: inline-block;
  margin: 0 5px;
  opacity: 1;
  transform: translateX(0);
}

.single_portfolio .portfolio_content .meta li a {
  width: 35px;
  height: 35px;
  line-height: 33px;
  text-align: center;
  font-size: 16px;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
}

.single_portfolio .portfolio_content .meta li a:hover {
  background-color: #fff;
  color: #E84E4E;
}

.single_portfolio .portfolio_content .meta li:first-child {
  transform: translateX(-100%);
}

.single_portfolio .portfolio_content .meta li:last-child {
  transform: translateX(100%);
}

.single_portfolio .portfolio_content .portfolio_title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .single_portfolio .portfolio_content .portfolio_title {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .single_portfolio .portfolio_content .portfolio_title {
    font-size: 20px;
  }
}

/*===========================
      06.PRICING css 
===========================*/
.pricing_area {
  background-color: #F9F9F9;
}

.single_pricing {
  background-color: #fff;
  padding: 60px 50px;
}

@media (max-width: 767px) {
  .single_pricing {
    padding: 40px 30px;
  }
}

.single_pricing .pricing_title {
  font-size: 24px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .single_pricing .pricing_title {
    font-size: 20px;
  }
}

.single_pricing .price {
  color: #E84E4E;
  font-size: 44px;
  margin-top: 25px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .single_pricing .price {
    font-size: 38px;
  }
}

.single_pricing .pricing_list li {
  margin-top: 15px;
  font-size: 16px;
  font-weight: 300;
}

.single_pricing .mian-btn {
  height: 45px;
  border: 1px solid #5A5872;
  line-height: 43px;
  text-align: center;
  padding: 0 25px;
  color: #E84E4E;
  transition: all 0.3s ease-out 0s;
  margin-top: 30px;
}

.single_pricing .mian-btn:hover {
  background-color: rgba(90, 88, 114, 0.2);
}

.single_pricing.active {
  background-color: #E84E4E;
}

.single_pricing.active .pricing_title {
  color: #fff;
}

.single_pricing.active .price {
  color: #fff;
}

.single_pricing.active .pricing_list li {
  color: #fff;
}

.single_pricing.active .mian-btn {
  background-color: #fff;
  border-color: #fff;
}

/*===========================
        07.TEAM css 
===========================*/
.single_team {
  position: relative;
}

.single_team img {
  width: 100%;
}

.single_team .team_content {
  position: absolute;
  background-color: #fff;
  left: 0;
  bottom: 0;
  width: 85%;
  padding: 25px;
  padding-right: 60px;
}

.single_team .team_content .team_name a {
  font-size: 20px;
  font-weight: 500;
  color: #2B2A3D;
  transition: all 0.3s ease-out 0s;
}

.single_team .team_content .team_name a:hover {
  color: #E84E4E;
}

.single_team .team_content p {
  margin-top: 5px;
}

.single_team .team_content .social {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.single_team .team_content .social li {
  margin: 3px 0;
}

.single_team .team_content .social li a {
  color: #5A5872;
  font-size: 16px;
  transition: all 0.3s ease-out 0s;
}

.single_team .team_content .social li a:hover {
  color: #E84E4E;
}

/*===========================
     08.TESTIMONIAL css 
===========================*/
.testimonial_area {
  position: relative;
}

.testimonial_area::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(43, 42, 61, 0.9);
}

.testimonial_active_wrapper {
  position: relative;
  padding-bottom: 60px;
}

.testimonial_active_wrapper .tns-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  margin-top: 35px;
}

.testimonial_active_wrapper .tns-nav button {
  margin: 0 5px;
  width: 18px;
  height: 5px;
  background-color: transparent;
  border-radius: 50px;
  font-size: 0;
  transition: all 0.3s ease-out 0s;
  border: 0;
  background-color: #ECECEC;
}

.testimonial_active_wrapper .tns-nav button.tns-nav-active {
  background-color: #E84E4E;
}

.testimonial_area .single_testimonial {
  text-align: center;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  height: 100%;
  position: relative;
  z-index: 1;
}

.single_testimonial .author_name {
  font-size: 20px;
  font-weight: 600;
  color: #2B2A3D;
  margin-top: 25px;
}

.single_testimonial span {
  font-size: 14px;
  color: #5A5872;
}

.single_testimonial p {
  color: #5A5872;
  margin-top: 15px;
}

/*===========================
    09.BLOG css 
===========================*/

/* Общие */
.single_blog .blog_image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.single_blog .blog_content{ margin-top:25px; }

.single_blog .blog_content .blog_title a{
  font-size:24px;
  font-weight:600;
  color:#2B2A3D;
  transition:all .3s ease-out;
}
.single_blog .blog_content .blog_title a:hover{ color:#E84E4E; }

@media (max-width:767px){
  .single_blog .blog_content .blog_title a{ font-size:20px; }
}

.single_blog .blog_content p{ margin-top:15px; }

.single_blog .blog_content .more{
  font-size:16px;
  font-weight:500;
  color:#5A5872;
  margin-top:15px;
  transition:all .3s ease-out;
}
.single_blog .blog_content .more:hover{ color:#E84E4E; }

/* ===== Крупная карточка (слева / featured) ===== */
.single_blog:not(.blog_2) .blog_image{
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:12px;
}
.single_blog:not(.blog_2) .blog_content{ margin-top:20px; }

/* ===== Малые карточки (справа / список) ===== */
.single_blog.blog_2{
  display:flex;
  gap:14px;
  align-items:flex-start;
}

/* Фиксируем превью: единый размер у всех карточек */
.single_blog.blog_2 .blog_image{
  position:relative;
  flex:0 0 160px;         /* ширина превью на десктопе */
  height:160px;           /* высота превью на десктопе */
  overflow:hidden;
  border-radius:10px;
}

/* Градиент для читабельности текста поверх фото (необязательно, но полезно) */
.single_blog.blog_2 .blog_image::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
  pointer-events:none;
}

/* Кнопка "Read more" в пределах картинки, у нижнего края */
.single_blog.blog_2 .blog_image .more{
  position:absolute;
  right:10px; bottom:10px;
  margin-top:0;
  color:#fff;
  background:rgba(0,0,0,.45);
  backdrop-filter:saturate(120%) blur(2px);
  padding:6px 10px;
  border-radius:8px;
  font-size:14px;
}
.single_blog.blog_2 .blog_image .more:hover{
  background:rgba(232,78,78,.9);
  color:#fff;
}

/* Контент справа от картинки — без кнопки */
.single_blog.blog_2 .blog_content{
  margin-top:0;
  padding-left:20px;
  display:flex;
  flex-direction:column;
}

/* Обрезаем заголовок и анонс до 2 строк — карточки не "прыгают" */
.single_blog.blog_2 .blog_content .blog_title a{
  font-size:20px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.single_blog.blog_2 .blog_content p{
  margin-top:10px;
  color:#6b6b78;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Адаптив: на мобилке картинка сверху, единый размер больше, кнопка остаётся в картинке */
@media (max-width:767px){
  .single_blog.blog_2{ flex-direction:column; }
  .single_blog.blog_2 .blog_image{
    width:100%;
    flex:0 0 auto;
    height:200px;        /* можно 180–220 по вкусу */
    border-radius:12px;
  }
  .single_blog.blog_2 .blog_content{
    padding-left:0;
    padding-top:14px;
  }
}

/* Для маленьких планшетов можно вернуть компоновку в ряд, если нужно */
@media (min-width:576px) and (max-width:767px){
  .single_blog.blog_2{ flex-direction:row; }
  .single_blog.blog_2 .blog_image{
    flex:0 0 150px;
    height:150px;
  }
  .single_blog.blog_2 .blog_content{
    padding-left:20px; padding-top:0;
  }
}

/*===========================
    10.CONTACT css 
===========================*/
.contact_area {
  position: relative;
  z-index: 5;
}

.contact_area::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(43, 42, 61, 0.9);
  z-index: -1;
}

p.form-message.success, p.form-message.error {
  font-size: 16px;
  color: #2B2A3D;
  background: #F9F9F9;
  padding: 10px 15px;
  margin-top: 30px;
  background-color: #fff;
  margin-left: 15px;
}

p.form-message.success.form-message.error, p.form-message.error.form-message.error {
  color: #f00;
}

.single_form {
  margin-top: 30px;
}

.single_form input,
.single_form textarea {
  width: 100%;
  height: 55px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 0 25px;
  font-size: 16px;
  color: #fff;
  background: none;
  transition: all 0.3s ease-out 0s;
}

.single_form input:focus,
.single_form textarea:focus {
  border-color: #fff;
}

.single_form textarea {
  height: 170px;
  resize: none;
  padding-top: 15px;
}

/*===========================
    11.FOOTER css 
===========================*/
.footer_area {
  background-color: #E84E4E;
  padding-top: 15px;
  padding-bottom: 30px;
}

.footer_menu ul li {
  display: inline-block;
  padding-top: 5px;
}

.footer_menu ul li + li {
  margin-left: 30px;
}

@media (max-width: 767px) {
  .footer_menu ul li + li {
    margin-left: 15px;
  }
}

.footer_menu ul li a {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease-out 0s;
}

.footer_menu ul li a:hover {
  color: #fff;
}

.credit {
  font-size: 16px;
  color: #fff;
  padding-top: 15px;
}

.credit a {
  color: #fff;
}

.footer_social ul li {
  display: inline-block;
}

.footer_social ul li + li {
  margin-left: 30px;
}

.footer_social ul li a {
  font-size: 26px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease-out 0s;
}

.footer_social ul li a:hover {
  color: #fff;
}

@media (max-width: 767px) {
  .footer_social ul li a {
    font-size: 20px;
  }
}

/*===== BACK TO TOP =====*/
.back-to-top {
  font-size: 20px;
  color: #E84E4E;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 5px;
  background-color: #E84E4E;
  text-align: center;
  z-index: 99;
  transition: all 0.3s ease-out 0s;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  display: none;
}
/* Брендовый тост вместо bootstrap alert */
.brand-toast{
  background: var(--brand);      /* твой красный */
  color:#E84E4E;
  border-radius:12px;
  padding:16px 20px;
  line-height:1.5;
  font-weight:500;
  text-align:center;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
}
.brand-toast i{ font-size:22px }
.brand-toast--error{ background:#3d3d4f } /* или другой цвет для ошибок */