@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700;800&family=Montserrat:wght@400;500;600;700&family=Tajawal:wght@300;400;500;700&family=Cairo:wght@300;400;600;700&display=swap");

/**
* Template Name: MA Holding
* Visual Identity: MA Guidelines v1.0
* Brand Colors:
*   MA Teal  #008F85  (Primary)
*   MA Blue  #395a88  (Corporate Support)
*   MA Grey  #8C8C8C  (Neutral)
*   White    #FFFFFF  (Background)
* Typography:
*   EN: Avenir Next (fallback: Nunito Sans / Montserrat)
*   AR: DIN Next LT Arabic (fallback: Tajawal / Cairo)
*/

/*--------------------------------------------------------------
# Brand Tokens
--------------------------------------------------------------*/
:root {
  --ma-teal: #008F85;
  --ma-teal-dark: #007a72;
  --ma-teal-light: #e6f5f4;
  --ma-blue: #395a88;
  --ma-blue-dark: #2c476b;
  --ma-grey: #8C8C8C;
  --ma-grey-light: #f4f4f4;
  --ma-white: #ffffff;
  --ma-black: #1a1a1a;

  --ma-font-en: "Avenir Next", "Nunito Sans", "Montserrat", "Open Sans", sans-serif;
  --ma-font-ar: "DIN Next LT Arabic", "Tajawal", "Cairo", "Open Sans", sans-serif;
  --ma-font-heading: "Avenir Next", "Montserrat", "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: var(--ma-font-en);
  color: var(--ma-blue);
  background: var(--ma-white);
  line-height: 1.6;
}

html[dir="rtl"] body,
body[dir="rtl"] {
  font-family: var(--ma-font-ar);
}

a {
  color: var(--ma-teal);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--ma-teal-dark);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ma-font-heading);
  color: var(--ma-blue);
  font-weight: 700;
  letter-spacing: 0.2px;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] h4,
body[dir="rtl"] h5,
body[dir="rtl"] h6 {
  font-family: var(--ma-font-ar);
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--ma-teal);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: var(--ma-blue);
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: var(--ma-blue);
  padding: 10px 0;
  font-size: 14px;
}

#topbar .contact-info i {
  font-style: normal;
  color: var(--ma-teal);
}

#topbar .contact-info i a,
#topbar .contact-info i span {
  padding-left: 5px;
  color: #fff;
}

#topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

#topbar .contact-info i a:hover {
  color: var(--ma-teal);
}

#topbar .social-links a {
  color: #dcdcdc;
  line-height: 0;
  transition: 0.3s;
  margin-left: 10px;
}

#topbar .social-links a:hover {
  color: #fff;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 120px;
  transition: all 0.5s;
  z-index: 997;
  background: #fff;
  box-shadow: 0px 0px 20px 0px rgba(57, 90, 136, 0.08);
  border-bottom: 1px solid var(--ma-grey-light);
}

#header .logo h1 {
  font-size: 26px;
  padding: 0 0 0 8px;
  margin: 11px 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--ma-font-heading);
  border-left: 8px solid var(--ma-teal);
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: var(--ma-blue);
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 100px;
}

.scrolled-offset {
  margin-top: 70px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: var(--ma-font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--ma-blue);
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--ma-teal);
}

.navbar .getstarted,
.navbar .getstarted:focus {
  background: var(--ma-teal);
  padding: 8px 20px;
  margin-left: 30px;
  border-radius: 4px;
  color: #fff;
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
  color: #fff;
  background: var(--ma-blue);
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 24px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(57, 90, 136, 0.15);
  transition: 0.3s;
  border-top: 3px solid var(--ma-teal);
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  color: var(--ma-blue);
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: var(--ma-teal);
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul { left: -90%; }
  .navbar .dropdown .dropdown:hover > ul { left: -100%; }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  color: var(--ma-blue);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle { display: block; }
  .navbar ul { display: none; }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(57, 90, 136, 0.95);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: var(--ma-blue);
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: var(--ma-teal);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(57, 90, 136, 0.15);
}

.navbar-mobile .dropdown ul li { min-width: 200px; }
.navbar-mobile .dropdown ul a { padding: 10px 20px; }
.navbar-mobile .dropdown ul a i { font-size: 12px; }

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
  color: var(--ma-teal);
}

.navbar-mobile .dropdown > .dropdown-active { display: block; }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 90vh;
  background-color: var(--ma-blue);
  overflow: hidden;
  padding: 0;
  position: relative;
  margin-bottom: 40px;
  z-index: 1;
}

#hero .carousel-item {
  width: 100%;
  height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero .carousel-item::before {
  content: "";
  position: absolute;
  top: 0; right: 0; left: 0; bottom: 0;
}

#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0; top: 0; left: 0; right: 0;
  padding-bottom: 120px;
}

#hero .carousel-content { text-align: center; }

#hero h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
}

#hero h2 span { color: var(--ma-teal); }

#hero p {
  width: 80%;
  animation-delay: 0.4s;
  margin: 0 auto 30px auto;
  color: #fff;
  font-weight: 500;
}

#hero .carousel-inner .carousel-item { transition-property: opacity; }

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end { opacity: unset; }

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {
  opacity: unset;
  transition: 0.5s;
}

#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  left: 0;
  transform: translate3d(0, 0, 0);
}

#hero .carousel-control-prev,
#hero .carousel-control-next { width: 10%; }

#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  background: none;
  font-size: 48px;
  line-height: 1;
  width: auto;
  height: auto;
  color: var(--ma-blue);
  background-color: #fff;
}

#hero .carousel-indicators li {
  cursor: pointer;
  background: var(--ma-teal);
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  margin-bottom: 180px;
  opacity: 0.3;
}

#hero .carousel-indicators li.active { opacity: 1; }

#hero .btn-get-started,
.btn-get-started {
  font-family: var(--ma-font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  transition: 0.5s;
  line-height: 1;
  margin: 10px;
  color: #fff;
  animation-delay: 0.8s;
  border: 2px solid var(--ma-teal);
  background: var(--ma-teal);
}

#hero .btn-get-started:hover,
.btn-get-started:hover {
  background: #fff;
  color: var(--ma-teal);
  text-decoration: none;
}

@media (max-height: 768px), (max-width: 1200px) {
  #hero { margin-bottom: 60px; }
  #hero .carousel-container { padding-bottom: 0; }
  #hero .carousel-indicators li { margin-bottom: 0; }
}

@media (max-width: 768px) {
  #hero { height: 90vh; }
  #hero .carousel-item { height: 90vh; }
}

@media (min-width: 1024px) {
  #hero .carousel-control-prev,
  #hero .carousel-control-next { width: 5%; }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section { padding: 40px 0 40px 0; }

.section-bg { background-color: var(--ma-grey-light); }

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  font-family: var(--ma-font-heading);
  color: var(--ma-blue);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--ma-teal);
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p { margin-bottom: 0; }

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 100px 0 100px 0;
  background: var(--ma-blue);
  border-bottom: 1px solid var(--ma-blue-dark);
  margin-bottom: 40px;
  background-position: center center;
  background-size: cover;
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 5px 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li + li { padding-left: 10px; }

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: var(--ma-teal);
  content: "/";
}

/*--------------------------------------------------------------
# Featured
--------------------------------------------------------------*/
.featured {
  position: relative;
  z-index: 2;
}

.featured .icon-box {
  padding: 20px 25px;
  box-shadow: 0px 2px 15px rgba(57, 90, 136, 0.08);
  border-radius: 10px;
  background: #fff;
  transition: all ease-in-out 0.3s;
  height: 100%;
  border: 1px solid var(--ma-grey-light);
}

.featured .icon-box i {
  color: var(--ma-teal);
  font-size: 42px;
  margin-bottom: 15px;
  display: block;
  line-height: 0;
}

.featured .icon-box h3 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.featured .icon-box h3 a {
  color: var(--ma-blue);
  transition: 0.3s;
}

.featured .icon-box p {
  color: var(--ma-grey);
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.featured .icon-box:hover {
  background: var(--ma-teal);
  border-color: var(--ma-teal);
  transform: translateY(-5px);
}

.featured .icon-box:hover i,
.featured .icon-box:hover h3 a,
.featured .icon-box:hover p {
  color: #fff;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: var(--ma-blue);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li { padding-bottom: 10px; }

.about .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--ma-teal);
}

.about .content p:last-child { margin-bottom: 0; }

/*--------------------------------------------------------------
# Our Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  border: 1px solid var(--ma-grey-light);
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  box-shadow: 0px 0px 12px 0px rgba(57, 90, 136, 0.08);
}

.services .icon-box .icon {
  width: 64px;
  height: 64px;
  transition: all 0.3s ease-out 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.services .icon-box .icon i {
  color: #fff;
  font-size: 28px;
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 25px;
}

.services .icon-box h4 a { color: var(--ma-blue); }

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  color: var(--ma-grey);
}

.services .icon-box:hover {
  background: var(--ma-teal);
  border-color: var(--ma-teal);
}

.services .icon-box:hover .icon i { color: var(--ma-teal); }
.services .icon-box:hover .icon::before { background: var(--ma-teal-dark); }
.services .icon-box:hover h4 a,
.services .icon-box:hover p { color: #fff; }

/*--------------------------------------------------------------
# Our Clients
--------------------------------------------------------------*/
.team .swiper-wrapper { margin-top: 20px; }

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid var(--ma-teal);
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--ma-teal);
}

.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts .count-box {
  box-shadow: -10px -5px 40px 0 rgba(57, 90, 136, 0.08);
  padding: 30px;
  width: 100%;
  background: #fff;
  border-top: 3px solid var(--ma-teal);
}

.counts .count-box i {
  display: block;
  font-size: 30px;
  color: var(--ma-teal);
  float: left;
  line-height: 0;
}

.counts .count-box span {
  font-size: 42px;
  line-height: 24px;
  display: block;
  font-weight: 700;
  color: var(--ma-blue);
  margin-left: 50px;
}

.counts .count-box p {
  padding: 30px 0 0 0;
  margin: 0;
  font-family: var(--ma-font-heading);
  font-size: 14px;
  color: var(--ma-grey);
}

.counts .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: var(--ma-teal);
  font-size: 15px;
  font-family: var(--ma-font-heading);
  transition: ease-in-out 0.3s;
}

.counts .count-box a:hover { color: var(--ma-blue); }

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider { overflow: hidden; }

.testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 40px;
  box-shadow: 0px 2px 12px rgba(57, 90, 136, 0.08);
  position: relative;
  background: #fff;
  border-left: 4px solid var(--ma-teal);
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid #fff;
  float: left;
  margin: 0 10px 0 0;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: var(--ma-blue);
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: var(--ma-grey);
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: var(--ma-teal-light);
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px 0 0 0;
  padding: 0;
  color: var(--ma-grey);
}

/*--------------------------------------------------------------
# Our Skills
--------------------------------------------------------------*/
.skills .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: var(--ma-blue);
  font-family: var(--ma-font-heading);
  margin-bottom: 20px;
}

.skills .content ul { list-style: none; padding: 0; }
.skills .content ul li { padding-bottom: 10px; }

.skills .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--ma-teal);
}

.skills .content p:last-child { margin-bottom: 0; }

.skills .progress {
  height: 62px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--ma-font-heading);
  color: var(--ma-blue);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap { background: #e0e0e0; }

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--ma-teal);
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item { margin-bottom: 30px; }

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
  background: var(--ma-grey-light);
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 12px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: var(--ma-blue);
  margin: 0 4px 8px 4px;
  transition: all ease-in-out 0.3s;
  border-radius: 50px;
  background: #fff;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  background: var(--ma-teal);
  color: #fff;
}

.portfolio #portfolio-flters li:last-child { margin-right: 0; }

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(57, 90, 136, 0.6);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(0, 143, 133, 0.75);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info::before {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  top: 35px;
  left: 35px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info::after {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 35px;
  right: 35px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

.portfolio .portfolio-wrap .portfolio-links { text-align: center; z-index: 4; }

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover { color: var(--ma-teal-light); }

.portfolio .portfolio-wrap:hover::before {
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info { opacity: 1; }
.portfolio .portfolio-wrap:hover .portfolio-info::before { top: 15px; left: 15px; }
.portfolio .portfolio-wrap:hover .portfolio-info::after { bottom: 15px; right: 15px; }

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details { padding-top: 40px; }
.portfolio-details .portfolio-details-slider img { width: 100%; }

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid var(--ma-teal);
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--ma-teal);
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(57, 90, 136, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ma-grey-light);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li { margin-top: 10px; }
.portfolio-details .portfolio-description { padding-top: 30px; }

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p { padding: 0; }

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .row { padding-top: 40px; }

.pricing .box {
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0px 0px 30px rgba(57, 90, 136, 0.08);
  background: #fff;
  text-align: center;
  border-top: 3px solid var(--ma-teal);
}

.pricing h3 {
  font-weight: 300;
  margin-bottom: 15px;
  font-size: 28px;
}

.pricing h4 {
  font-size: 46px;
  color: var(--ma-teal);
  font-weight: 400;
  font-family: var(--ma-font-en);
  margin-bottom: 25px;
}

.pricing h4 span {
  color: var(--ma-grey);
  font-size: 18px;
  display: block;
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: var(--ma-grey);
  text-align: left;
  line-height: 20px;
}

.pricing ul li { padding-bottom: 12px; }

.pricing ul i {
  color: var(--ma-teal);
  font-size: 18px;
  padding-right: 4px;
}

.pricing ul .na { color: #ccc; }
.pricing ul .na i { color: #ccc; }
.pricing ul .na span { text-decoration: line-through; }

.pricing .buy-btn {
  background: var(--ma-blue);
  display: inline-block;
  padding: 8px 30px;
  border-radius: 20px;
  color: #fff;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--ma-font-heading);
  transition: 0.3s;
}

.pricing .buy-btn:hover { background: var(--ma-teal); }

.pricing .featured { z-index: 10; margin: -30px -5px 0 -5px; }
.pricing .featured .buy-btn { background: var(--ma-teal); }
.pricing .featured .buy-btn:hover { background: var(--ma-teal-dark); }

@media (max-width: 992px) {
  .pricing .box { max-width: 60%; margin: 0 auto 30px auto; }
}

@media (max-width: 767px) {
  .pricing .box { max-width: 80%; margin: 0 auto 30px auto; }
}

@media (max-width: 420px) {
  .pricing .box { max-width: 100%; margin: 0 auto 30px auto; }
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team .member {
  text-align: center;
  margin-bottom: 50px;
  box-shadow: 0px 0px 12px 0px rgba(57, 90, 136, 0.08);
  padding: 30px 20px;
  background: #fff;
  border-bottom: 3px solid var(--ma-teal);
}

.team .member img {
  max-width: 60%;
  border-radius: 50%;
  margin: 0 0 30px 0;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
  color: var(--ma-blue);
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 14px;
  color: var(--ma-grey);
}

.team .member a { padding-top: 10px; font-size: 14px; }
.team .member .social { margin-top: 15px; }

.team .member .social a {
  color: var(--ma-grey);
  transition: 0.3s;
}

.team .member .social a:hover { color: var(--ma-teal); }

.team .member .social i { font-size: 18px; margin: 0 2px; }

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: var(--ma-blue);
  text-align: center;
  box-shadow: 0 0 30px rgba(57, 90, 136, 0.08);
  padding: 20px 0 30px 0;
  border-top: 3px solid var(--ma-teal);
}

.contact .info-box i {
  font-size: 32px;
  color: var(--ma-teal);
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted var(--ma-teal-light);
}

.contact .info-box h3 {
  font-size: 20px;
  color: var(--ma-blue);
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  color: var(--ma-grey);
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(57, 90, 136, 0.08);
  padding: 30px;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br { margin-top: 25px; }

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: var(--ma-teal);
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--ma-teal);
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--ma-teal);
}

.contact .php-email-form input { padding: 10px 15px; }
.contact .php-email-form textarea { padding: 12px 15px; }

.contact .php-email-form button[type=submit] {
  background: var(--ma-teal);
  border: 0;
  border-radius: 50px;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--ma-blue);
}

@keyframes animate-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
.blog { padding: 40px 0 20px 0; }

.blog .entry {
  padding: 30px;
  margin-bottom: 60px;
  box-shadow: 0 4px 16px rgba(57, 90, 136, 0.08);
}

.blog .entry .entry-img {
  max-height: 440px;
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog .entry .entry-title {
  font-size: 28px;
  font-weight: bold;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog .entry .entry-title a {
  color: var(--ma-blue);
  transition: 0.3s;
}

.blog .entry .entry-title a:hover { color: var(--ma-teal); }

.blog .entry .entry-meta {
  margin-bottom: 15px;
  color: var(--ma-grey);
}

.blog .entry .entry-meta ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog .entry .entry-meta ul li + li { padding-left: 20px; }

.blog .entry .entry-meta i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
}

.blog .entry .entry-meta a {
  color: var(--ma-grey);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog .entry .entry-content p { line-height: 24px; }

.blog .entry .entry-content .read-more {
  -moz-text-align-last: right;
  text-align-last: right;
}

.blog .entry .entry-content .read-more a {
  display: inline-block;
  background: var(--ma-teal);
  color: #fff;
  padding: 6px 20px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 4px;
}

.blog .entry .entry-content .read-more a:hover { background: var(--ma-blue); }

.blog .entry .entry-content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog .entry .entry-content blockquote {
  overflow: hidden;
  background-color: var(--ma-grey-light);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog .entry .entry-content blockquote p {
  color: var(--ma-blue);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog .entry .entry-content blockquote::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--ma-teal);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog .entry .entry-footer {
  padding-top: 10px;
  border-top: 1px solid var(--ma-grey-light);
}

.blog .entry .entry-footer i { color: var(--ma-grey); display: inline; }

.blog .entry .entry-footer a {
  color: var(--ma-blue);
  transition: 0.3s;
}

.blog .entry .entry-footer a:hover { color: var(--ma-teal); }

.blog .entry .entry-footer .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog .entry .entry-footer .cats li { display: inline-block; }

.blog .entry .entry-footer .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog .entry .entry-footer .tags li { display: inline-block; }

.blog .entry .entry-footer .tags li + li::before {
  padding-right: 6px;
  color: var(--ma-grey);
  content: ",";
}

.blog .entry .entry-footer .share { font-size: 16px; }
.blog .entry .entry-footer .share i { padding-left: 5px; }
.blog .entry-single { margin-bottom: 30px; }

.blog .blog-author {
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(57, 90, 136, 0.08);
}

.blog .blog-author img { width: 120px; margin-right: 20px; }

.blog .blog-author h4 {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 0px;
  padding: 0;
  color: var(--ma-blue);
}

.blog .blog-author .social-links { margin: 0 10px 10px 0; }

.blog .blog-author .social-links a {
  color: rgba(57, 90, 136, 0.5);
  margin-right: 5px;
}

.blog .blog-author p { font-style: italic; color: var(--ma-grey); }
.blog .blog-comments { margin-bottom: 30px; }
.blog .blog-comments .comments-count { font-weight: bold; }

.blog .blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog .blog-comments .comment .comment-img { margin-right: 14px; }
.blog .blog-comments .comment .comment-img img { width: 60px; }

.blog .blog-comments .comment h5 { font-size: 16px; margin-bottom: 2px; }

.blog .blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--ma-blue);
  transition: 0.3s;
}

.blog .blog-comments .comment h5 a:hover { color: var(--ma-teal); }

.blog .blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: var(--ma-teal);
}

.blog .blog-comments .comment h5 .reply i { font-size: 20px; }

.blog .blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: var(--ma-grey);
  margin-bottom: 5px;
}

.blog .blog-comments .comment.comment-reply { padding-left: 40px; }

.blog .blog-comments .reply-form {
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(57, 90, 136, 0.08);
}

.blog .blog-comments .reply-form h4 { font-weight: bold; font-size: 22px; }
.blog .blog-comments .reply-form p { font-size: 14px; }

.blog .blog-comments .reply-form input {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .blog-comments .reply-form input:focus {
  box-shadow: none;
  border-color: var(--ma-teal);
}

.blog .blog-comments .reply-form textarea {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .blog-comments .reply-form textarea:focus {
  box-shadow: none;
  border-color: var(--ma-teal);
}

.blog .blog-comments .reply-form .form-group { margin-bottom: 25px; }

.blog .blog-comments .reply-form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--ma-teal);
}

.blog .blog-comments .reply-form .btn-primary:hover {
  background-color: var(--ma-blue);
}

.blog .blog-pagination { color: var(--ma-grey); }

.blog .blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog .blog-pagination li { margin: 0 5px; transition: 0.3s; }

.blog .blog-pagination li a {
  color: var(--ma-blue);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog .blog-pagination li.active,
.blog .blog-pagination li:hover { background: var(--ma-teal); }

.blog .blog-pagination li.active a,
.blog .blog-pagination li:hover a { color: #fff; }

.blog .sidebar {
  padding: 30px;
  margin: 0 0 60px 20px;
  box-shadow: 0 4px 16px rgba(57, 90, 136, 0.08);
}

.blog .sidebar .sidebar-title {
  font-size: 20px;
  font-weight: 700;
  padding: 0 0 0 0;
  margin: 0 0 15px 0;
  color: var(--ma-blue);
  position: relative;
}

.blog .sidebar .sidebar-item { margin-bottom: 30px; }

.blog .sidebar .search-form form {
  background: #fff;
  border: 1px solid var(--ma-grey-light);
  padding: 3px 10px;
  position: relative;
}

.blog .sidebar .search-form form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
}

.blog .sidebar .search-form form button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  background: var(--ma-teal);
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.blog .sidebar .search-form form button i { line-height: 0; }
.blog .sidebar .search-form form button:hover { background: var(--ma-blue); }

.blog .sidebar .categories ul { list-style: none; padding: 0; }
.blog .sidebar .categories ul li + li { padding-top: 10px; }

.blog .sidebar .categories ul a {
  color: var(--ma-blue);
  transition: 0.3s;
}

.blog .sidebar .categories ul a:hover { color: var(--ma-teal); }

.blog .sidebar .categories ul a span {
  padding-left: 5px;
  color: var(--ma-grey);
  font-size: 14px;
}

.blog .sidebar .recent-posts .post-item + .post-item { margin-top: 15px; }

.blog .sidebar .recent-posts img { width: 80px; float: left; }

.blog .sidebar .recent-posts h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
}

.blog .sidebar .recent-posts h4 a {
  color: var(--ma-blue);
  transition: 0.3s;
}

.blog .sidebar .recent-posts h4 a:hover { color: var(--ma-teal); }

.blog .sidebar .recent-posts time {
  display: block;
  margin-left: 95px;
  font-style: italic;
  font-size: 14px;
  color: var(--ma-grey);
}

.blog .sidebar .tags { margin-bottom: -10px; }
.blog .sidebar .tags ul { list-style: none; padding: 0; }
.blog .sidebar .tags ul li { display: inline-block; }

.blog .sidebar .tags ul a {
  color: var(--ma-grey);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid var(--ma-grey-light);
  display: inline-block;
  transition: 0.3s;
}

.blog .sidebar .tags ul a:hover {
  color: #fff;
  border: 1px solid var(--ma-teal);
  background: var(--ma-teal);
}

.blog .sidebar .tags ul a span {
  padding-left: 5px;
  color: var(--ma-grey-light);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--ma-blue);
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-newsletter {
  padding: 50px 0;
  background: var(--ma-blue-dark);
}

#footer .footer-newsletter h4 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
  color: #fff;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 50px;
}

#footer .footer-newsletter form input[type=email] {
  border: 0;
  padding: 8px;
  width: calc(100% - 140px);
}

#footer .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 30px;
  margin: 3px;
  background: var(--ma-teal);
  color: #fff;
  transition: 0.3s;
  border-radius: 50px;
}

#footer .footer-newsletter form input[type=submit]:hover {
  background: var(--ma-teal-dark);
}

#footer .footer-top {
  background: var(--ma-blue);
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info { margin-bottom: 30px; }

#footer .footer-top .footer-info h3 {
  font-size: 18px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
  color: #fff;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: var(--ma-font-en);
  color: #e6e6e6;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: var(--ma-teal);
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 30px;
  height: 2px;
  background: var(--ma-teal);
  bottom: 0;
  left: 0;
}

html[dir="rtl"] #footer .footer-top h4::after,
body[dir="rtl"] #footer .footer-top h4::after {
  left: auto;
  right: 0;
}

#footer .footer-top .footer-links { margin-bottom: 30px; }

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: var(--ma-teal);
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child { padding-top: 0; }

#footer .footer-top .footer-links ul a {
  color: #e6e6e6;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover { color: var(--ma-teal); }

#footer .footer-top .footer-contact { margin-bottom: 30px; }
#footer .footer-top .footer-contact p { line-height: 26px; color: #e6e6e6; }
#footer .footer-top .footer-contact strong { color: #fff; }

#footer .copyright {
  text-align: center;
  padding-top: 30px;
  color: #e6e6e6;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #e6e6e6;
}

#footer .credits a { color: var(--ma-teal); }
#footer .credits a:hover { color: #fff; }

/*--------------------------------------------------------------
# RTL Overrides
--------------------------------------------------------------*/
html[dir="rtl"] .navbar a,
body[dir="rtl"] .navbar a {
  padding: 10px 30px 10px 0;
}

html[dir="rtl"] .back-to-top,
body[dir="rtl"] .back-to-top {
  right: auto;
  left: 15px;
}

html[dir="rtl"] #topbar .social-links a,
body[dir="rtl"] #topbar .social-links a {
  margin-left: 0;
  margin-right: 10px;
}

html[dir="rtl"] .featured .icon-box,
body[dir="rtl"] .featured .icon-box {
  text-align: right;
}

html[dir="rtl"] .pricing ul,
body[dir="rtl"] .pricing ul {
  text-align: right;
}

html[dir="rtl"] .blog .entry .entry-content .read-more,
body[dir="rtl"] .blog .entry .entry-content .read-more {
  text-align: left;
}