:root{--em-primary-color: #E13516;}

/**
* Global
*/
* {
  margin: 0px;
  padding: 0px;
}

body {
  font-family: "Poppins", serif;
}

h1, 
h2, 
h3,
h4, 
h5, 
h6 {
  font-family: Arial Rounded MT bold;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  padding-left: 0px;
  padding-right: 0px;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1200px;
  }
}

/**
* Typography
*/
.color-primary {
  color: var(--em-primary-color)!important;
}

/**
* Buttons
*/
.btn-em-primary {
  background-color: var(--em-primary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 500;
  cursor: pointer;
}

/**
* inputs
*/
.form-control {
  border-radius: 8px;
}

/**
* Alerts
*/
.alert {
  border-radius: 12px;
}
.alert-danger {
  background-color: #cc3014;
  color: #fff;
}
.alert-success {
  background-color: #32a56f;
  color: #fff;
}

/**
* Cards
*/
.card {
  border-radius: 16px;
}

/**
* sections
*/
.section-spad {
  padding: 80px 0px;
}
.section-description {
  color: #747474;
}

/**
* Pagination
*/
.page-item.active .page-link {
  background-color: var(--em-primary-color);
  border-color: var(--em-primary-color);
}

/**
* Header
*/
.navbar-expand-lg .navbar-nav .nav-link {
  margin-right: .5rem;
  margin-left: .5rem;
  font-weight: 500;
}
.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show>.nav-link {
  color: var(--em-primary-color);
}
nav .form-select {
  padding: 10px 40px 10px 10px;
  border-radius: 8px;
}

/**
* Slide
*/
.section-slide-title h2 {
  font-weight: 600;
  font-size: 40px;
}
.section-slide-description {
  font-size: 18px;
}

/**
* Services
*/
.section-services-card {
  text-align: center;
  border: 1px solid var(--em-primary-color);
  padding: 22px 10px;
  border-radius: 20px;
  margin: 0px 10px;
}

@media (max-width: 768px) {
  .section-services-card {
    margin: 0px 0px;
  }
}

/**
* Testimonials
*/
.section-tetimonials {
  margin-bottom: 220px;
}
.section-tetimonials .section-tetimonials-content {
  width: 60%;
  margin: auto;
  position: relative;
  padding: 10px 40px;
  color: #747474;
}
.section-testimonials-quote-left {
  position: absolute;
  top: 0;
  left: 0;
}
.section-testimonials-quote-right {
  position: absolute;
  bottom: 0;
  right: 0;
}
.section-tetimonials .carousel-indicators {
  bottom: -50px;
  text-align: center;
  margin-right: 0px;
  margin-left: 0px;
}
.section-tetimonials .carousel-indicators [data-bs-target] {
  text-indent: unset;
  width: 200px;
  transition: .4s;
}
.section-tetimonials .carousel-indicators img {
  border-radius: 50px;
}
.section-tetimonials .carousel-indicators [data-bs-target].active {
  transform: scale(1.2);
}
.section-tetimonials .carousel-indicators [data-bs-target].active .section-testimonials-user-name {
  color: var(--em-primary-color);
}

@media screen and (max-width: 768px) {
  .section-tetimonials .carousel-indicators img {
    width: 40px;
    height: 40px;
  }
  .section-tetimonials img.testimonial-star {
    width: 14px;
    height: 14px;
  }
  .section-tetimonials h6 {
    font-size: 14px;
  }
  .section-tetimonials .section-tetimonials-content {
    width: 90%;
  }
}

/**
* Protfolio
*/
.section-protfolio .carousel-inner {
  border-radius: 40px;
  overflow: hidden;
}
.section-protfolio .carousel-indicators {
  bottom: -50px;
}
.section-protfolio .carousel-indicators [data-bs-target] {
  background-color: #C9C9C9;
  height: 10px;
  width: 22px;
}
.section-protfolio .carousel-indicators [data-bs-target].active {
  background-color: var(--em-primary-color);
  width: 50px;
}
.section-protfolio .carousel-control-next {
  right: -120px;
  color: #54585A;
  opacity: unset;
  font-size: 26px;
}
.section-protfolio .carousel-control-next i {
  background-color: #f1f1f1;
  padding: 18px 22px;
  border-radius: 50px;
}
.section-protfolio .carousel-control-prev {
  left: -120px;
  color: #54585A;
  opacity: unset;
  font-size: 26px;
}
.section-protfolio .carousel-control-prev i {
  background-color: #f1f1f1;
  padding: 18px 22px;
  border-radius: 50px;
}

@media screen and (max-width: 768px) {
  #carouselPortfolioIndicators .carousel-item img {
    height: 200px;
  }
  .section-protfolio .carousel-control-next {
    display: none;
  }
  .section-protfolio .carousel-control-prev {
    display: none;
  }
}

/**
* Why
*/
.why-card {
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px 0px #f0eeee;
}
.section-why-easymedia-title span {
  position: relative;
}
.section-why-easymedia-title span::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 120px;
  height: 4px;
  background-color: var(--em-primary-color);
}

/**
* Clients
*/
.section-clients-title span {
  position: relative;
}
.section-clients-title span::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 120px;
  height: 4px;
  background-color: var(--em-primary-color);
}

/**
* Contact
*/
.section-contact input, .section-contact textarea {
  border: 2px solid var(--em-primary-color);
  resize: none;
}

.section-contact button {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.4) 0%, /* White opacity at the top */
    var(--em-primary-color) 10%
  );
  color: #fff;
  border: none;
  font-size: 18px;
  padding: 16px 80px;
  border-radius: 8px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

/**
* Blog
*/
.section-blog-title span {
  position: relative;
}
.section-blog-title span::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--em-primary-color);
}
.section-blog-post {
  box-shadow: 0px 0px 10px 0px #f0eeee;
  border-radius: 20px;
  overflow: hidden;
}
.section-blog-post-content {
  padding: 20px;
}
.section-blog-post-content h5 {
  color: var(--em-primary-color);
}
.section-blog-post-content span {
  color: #747474;
}
.section-blog-post-content p {
  color: #747474;
  font-size: 14px;
}
.section-blog-post-content a {
  color: var(--em-primary-color);
}

/**
* FAQ
*/
.section-faq-element {
  border-top: 4px solid #D7DEF0;
  padding: 20px 4px;
  cursor: pointer;
}
.section-faq-element:last-child {
  border-bottom: 4px solid #D7DEF0;
}
.section-faq-element i {
  font-size: 18px;
}
.section-faq-element p {
  color: #747474;
}

/**
* Footer
*/
footer {
  background-color: var(--em-primary-color);
  color: #fff;
}

footer .footer-description {
  font-size: 20px;
  font-weight: 300;
}

footer .footer-newsletter-form {
  border: 1px solid #fff;
  border-radius: 8px;
  padding: 8px;
}

footer .footer-newsletter-form input {
  background-color: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 18px;
  width: 100%;
}

footer .footer-newsletter-form input::placeholder {
  color: #ddd;
}

footer .footer-newsletter-form button {
  background-color: #fff;
  color: var(--em-primary-color);
  border: none;
  border-radius: 6px;
  padding: 4px;
  width: 100%;
}

footer .footer-links-title {
  position: relative;
}

footer .footer-links-title::after {
  content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #fff;
}

footer .footer-links li {
  margin-bottom: 12px;
  font-size: 18px;
}

footer .footer-contact-item {
  font-size: 18px;
}

/**
* About.Slide
*/
.section-about-slide h2 {
  margin-top: 40px;
  line-height: 50px;
  position: relative;
}
.section-about-slide h2::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100px;
  height: 4px;
  background-color: var(--em-primary-color);
}
.section-about-slide p {
  color: #718096;
  line-height: 34px;
}
.section-about-slide span {
  color: var(--em-primary-color);
}

@media screen and (max-width: 768px) {
  .section-about-slide img {
    width: 100%;
  }
  .section-about-numbers-card {
    margin-top: 40px;
    position: relative!important;
    width: 100%!important;
    right: unset!important;
    left: unset!important;
    top: unset!important;
  }
  .section-about-numbers-card img {
    position: absolute!important;
    right: 10px!important;
    left: unset!important;
    top: 30%!important;
    bottom: unset!important;
  }
}

/**
* About.Numbers
*/
.section-about-numbers-title h2 {
  margin-top: 40px;
  font-weight: 600;
  color: var(--em-primary-color);
}
.section-about-numbers-card {
  box-shadow: 0px 2px 10px 2px #f0eeee;
  padding: 30px;
  width: 60%;
  position: relative;
  background-color: #fff;
  border-radius: 10px;
}
.section-about-numbers-card h2 {
  font-size: 50px;
}
.section-about-numbers-card p {
  font-size: 18px;
  position: relative;
}
.section-about-numbers-card p::before {
  content: '';
  position: absolute;
  top: 0;
  left: -14px;
  width: 6px;
  height: 26px;
  background-color: var(--em-primary-color);
}
.section-about-numbers-card:first-child {
  z-index: 10;
}
.section-about-numbers-card:first-child img {
  position: absolute;
  left: -30px;
  top: -30px;
}
.section-about-numbers-card:nth-child(2) {
  position: absolute;
  right: 0px;
  top: 120px;
  z-index: 9;
}
.section-about-numbers-card:nth-child(2) img {
  position: absolute;
  right: 0px;
  top: -50px;
}
.section-about-numbers-card:last-child {
  position: absolute;
  top: 240px;
  right: 150px;
  z-index: 8;
}
.section-about-numbers-card:last-child img {
  position: absolute;
  right: -30px;
  bottom: -30px;
}
@media screen and (max-width: 768px) {
  .section-about-platforms {
    margin-top: unset!important;
  }
}

/**
* About.Platforms
*/
.section-about-platforms {
  margin-top: 80px;
}
.section-about-platforms-card {
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0px 0px 10px 0px #f0eeee;
  display: flex;
  align-items: center;
  justify-content: center;
}

/**
* Blog.slide
*/
.section-blog-slide .section-description {
  font-size: 18px;
}
.section-post-content img {
  max-height: 500px;
  border-radius: 40px;
}
.section-post-content span {
  color: #747474;
}
.section-post-content h1 {
  color: var(--em-primary-color);
}
.section-post-content p {
  color: #747474;
  font-size: 18px;
}

/**
* Contact.contacts
*/
.section-contact-contacts {
  background-color: #f9f9f9;
}
.section-contact-contacts h2 {
  position: relative;
  margin-bottom: 90px;
}
.section-contact-contacts h2::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 120px;
  height: 4px;
  background-color: var(--em-primary-color);
}
.section-contact-contacts-card {
  position: relative;
  box-shadow: 0px 0px 10px 0px #f0eeee;
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
}
.section-contact-contacts-card-icon {
  position: absolute;
  top: -35px;
  left: 0;
  width: 100%;
  text-align: center;
}
.section-contact-contacts-card i {
  background-color: #263238;
  color: #fff;
  padding: 20px;
  font-size: 28px;
  border-radius: 50px;
  min-width: 68px;
}

/**
* Auth
*/
.section-auth .section-auth-password-link {
  font-size: 14px;
  color: var(--bs-danger);
}
.section-auth .section-auth-register-link {
  color: var(--em-primary-color)
}

/**
* Profile
*/
.profile-sidebar-card ul li {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}
.profile-sidebar-card ul li.active {
  background-color: var(--em-primary-color);
}
.profile-sidebar-card ul li.active a {
  color: #fff;
}
.profile-sidebar-card ul li a {
  color: #747474;
}

@media screen and (max-width: 768px) {
  .user-orders-section .col-md-3, 
  .user-orders-section .col-md-2 {
    text-align: start!important;
    font-size: 12px;
  }

}