/*!
Theme Name: Eneryx Co.
Theme URI: https://ir.linkedin.com/in/farzinmaghsoudi
Author: Farzin Maghsoudi
Author URI: https://ir.linkedin.com/in/farzinmaghsoudi
Description: This responsive theme designed for Eneryx Co.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: Eneryx-Co.com
Tags: Responsive, Bootstrap 5
*/
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
@font-face {
  font-family: Vazirmatn;
  src: url('fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  background: #f5f5f5;
  font-family: "Vazirmatn", sans-serif;
  font-size: 1rem;
}

a {
  color: #cc0000;
  transition: 0.5s;
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  color: #ff0000;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  color: #cc0000;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #cc0000;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #ff0000;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* Prelaoder */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid #cc0000;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/**
* WhatsApp Chat button
*/
.whatsapp {
  position: fixed;
  visibility: hidden;
  bottom: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transition: all 0.3s ease;
  z-index: 995;
}
.whatsapp.active {
  visibility: visible;
  opacity: 1;
}

p.whatsapptext {
  margin: 0;
  margin-bottom: 8px;
  text-align: center;
  background-color: #ff0000;
  border-radius: 15px 5px 15px 5px;
  padding: 7px 7px 5px 7px;
  font-weight: bold;
  line-height: 1.2rem;
  font-size: 1rem;
  position: relative;
  word-wrap: break-word;
  max-width: 200px;
  color: #fff;
}
.whatsappclose {
  height: 28px;
  width: 28px;
}
.whatsappclose i {
  padding: 0;
  background: #ff0000;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
  border-radius: 50px;
  line-height: 0;
}
button.whatsappclose-button:hover {
  color: #000000;
}

/**
* Shadow
**/
.my-card-shadow {
    box-shadow: 1px 5px 15px #bebebe, -5px -5px 15px #ffffff;
    transition: box-shadow 0.5s ease;
}
.my-card-shadow:hover {
  box-shadow: 1px 11px 22px #bebebe, -5px -5px 22px #ffffff;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  background: rgb(255, 255, 255);
  height: 113px;
}

#header.header-transparent {
  border-bottom: none;
  background: linear-gradient(to bottom, rgb(0 0 0 / 60%) 0%, rgb(0 0 0 / 0%) 100%);
}

#header.header-scrolled {
  background: rgba(6, 6, 6, 0.75);
  border-radius: 0px 0px 30px 30px;
  -webkit-border-radius: 0px 0px 30px 30px;
  -moz-border-radius: 0px 0px 30px 30px;
  backdrop-filter: blur(9.1px);
  -webkit-backdrop-filter: blur(9.1px);
  border: 1px solid rgba(6, 6, 6, 0.23);
  height: 77px;
  box-shadow: 0px 0px 9px 1px rgba(0,0,0,0.3);
  -webkit-box-shadow: 0px 0px 9px 1px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 0px 9px 1px rgba(0,0,0,0.3);
  border-bottom: 1px solid #ff0000;
}

@media (max-width: 380px) {
 #header.header-scrolled {
  height: 90px;
  }
}

#header .logo {
  /*font-size: 34px;
  margin: 0;
  padding: 0;
  font-family: "Vazirmatn", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;*/
  padding-left: 10px;
}
@media (max-width: 350px) {
  #header .logo {
    padding: 0px;
  }  
}

/*#header .logo a {
  color: #39a7ff;
}*/

#header .logo img {
  max-height: 92px;
  max-width: 300px;
}
@media (max-width: 729px) {
  #header .logo img {
    max-width: 200px;
  }
}
/*@media (max-width: 992px) {
  #header .logo {
    font-size: 28px;
  }
}*/

#header.header-scrolled .logo img {
  display: none;
}

/* Scrolled Logo */

#header #logo-scrolled {
  padding-left: 10px;
	display: none;
}

#header.header-scrolled #logo-scrolled {
  display: block;
}

#header #logo-scrolled img {
  max-height: 57px;
}

/* Header Search */

.searchbar {
  height: 25px;
  border-radius: 30px;
  padding: 0px;
  border: 1px solid #e3e3e3;
  position: fixed;
  top: 7px;
  left: 120px;
  display: flex;
  }

  @media (max-width: 560px) {
    .searchbar {
      width: 150px;
    }  
  }
  
  @media (max-width: 500px) {
    .searchbar {
      width: 100px;
    }  
  }
  
  @media (max-width: 458px) {
    .searchbar {
      display: none;
    }
  }
  
#header.header-scrolled .searchbar {
  background: rgba(251, 250, 249, 0.38);
}

  .search_input {
  color: #8f8f8f;
  border: 0;
  outline: 0;
  background: rgba(251, 250, 249, 0.38);
  width: 100%;
  padding: 0 10px;
  caret-color: #cc0000;
  transition: width 0.4s linear;
  font-size: 13px;
  }

#header.header-scrolled .search_input {
  width: 100%;
}

  .search_icon {
  height: 17px;
  width: 17px;
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color:#c3c3c3;
  padding: 15px 12px;
  font-size: 17px;
  }

/* Header LANG */

.lang {
  color: #848387;
  height: 30px;
  width: 90px;
  padding: 0px;
  position: fixed;
  top: 7px;
  left: 7px;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
  }

.lang a {
  width: 38px;
  display: inline-block;
  border-top: 2px solid rgba(0, 168, 255, 0.087);
  border-left: 0px solid rgba(0, 168, 255, 0.087);
  border-right: 0px solid rgba(0, 168, 255, 0.087);
  border-bottom: 2px solid rgba(0, 168, 255, 0.087);
  border-radius: 10px 10px 10px 10px;
  }

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Nav Meu Container */

/* Nav Meu Container WHEN USE MEGA MENU*/

#header-menu-container {
  margin: 10px 15px 0px 0px;
}

#header.header-scrolled #header-menu-container {
  margin: 35px 0px 0px 0px;
}

@media (max-width: 380px) {

  #header-menu-container {
    margin: 65px 15px 0px 0px;
   }

  #header.header-scrolled #header-menu-container {
    margin: 65px 0px 0px 0px;
    }  
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  padding: 0;
  margin: 0;
  background: rgb(255, 253, 253);
  overflow: hidden;
  position: relative;
}

/* @media (max-height: 500px) {
  #hero {
    height: 150vh;
  }
} */

#hero .carousel,
#hero .carousel-inner,
#hero .carousel-item,
#hero .carousel-item::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#hero .carousel-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero .carousel-item img {
  min-width: 100%;
  max-width: 100%;
  min-height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Whole Header Overlay*/
/*#hero .carousel-item::before {
  content: "";
  background-color: rgba(0, 166, 232, 0.520);
  width: 57%;
/* SKEW */ /*
transform-origin: left bottom;
-ms-transform: skew(-15deg, 0deg);
-webkit-transform: skew(-15deg, 0deg);
transform: skew(-15deg, 0deg);
}*/

#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  flex-direction: column;
  top: 50%;
  right: 50px;
  padding: 10px 10px 10px 40px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
/*  width: 60%;*/
}

@media (max-width: 375px) {
  #hero .carousel-container {
/*    border-radius: unset; */
    padding: 10px;
  }
}

#hero .container {
  text-align: start;
}

#hero .title {
  color: #fff;
  margin-bottom: 0px;
  font-size: 2.1rem;
  font-weight: 700;
}

@media (max-width: 768px) {
#hero .title {
    font-size: 1.5rem;
  }
}
#hero .description {
  width: 100%;
  /*margin: 0 auto 30px auto;*/
  color: #fff;
  text-align: justify;
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  #hero .description {
    width: 100%;
  }
}

#hero .carousel-fade {
  overflow: hidden;
}

#hero .carousel-fade .carousel-inner .carousel-item {
  transition-property: opacity;
}

#hero .carousel-fade .carousel-inner .carousel-item,
#hero .carousel-fade .carousel-inner .active.carousel-item-start,
#hero .carousel-fade .carousel-inner .active.carousel-item-end {
  opacity: 0;
}

#hero .carousel-fade .carousel-inner .active,
#hero .carousel-fade .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-fade .carousel-inner .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transition: 0.5s;
}

#hero .carousel-fade .carousel-inner .carousel-item-next,
#hero .carousel-fade .carousel-inner .carousel-item-prev,
#hero .carousel-fade .carousel-inner .active.carousel-item-start,
#hero .carousel-fade .carousel-inner .active.carousel-item-end {
  left: 0;
  transform: translate3d(0, 0, 0);
}

#hero .carousel-control-prev,
#hero .carousel-control-next {
  width: 10%;
}

@media (min-width: 1024px) {

  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    width: 5%;
  }
}

#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  background: none;
  font-size: 32px;
  line-height: 1;
}

/* move indicators to end side of slide */
#hero .carousel-indicators {
  justify-content: flex-end;
  margin-left: 5%;
}
/* end */

#hero .carousel-indicators li {
  cursor: pointer;
  list-style: none;
  /* change indicators to dots */
  border-radius: 100%;
  width: 20px;
  height: 20px;
  /* end */
}

#hero .btn-get-started {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border-radius: 0.375rem;
  border: 1px solid;
  transition: 0.5s;
  margin: 10px;
  color: #fff;
  background: none;
}

#hero .btn-get-started:hover {
  background: #fff;
  color: #cc0000;
}

/*--------------------------------------------------------------
# pages-hero Section
--------------------------------------------------------------*/
#pages-hero {
  width: 100%;
  height: 400px;
  padding: 0;
  margin: 0;
  background: rgb(255, 253, 253);
  overflow: hidden;
  position: relative;
}

#pages-hero .carousel,
#pages-hero .carousel-inner,
#pages-hero .carousel-item,
#pages-hero .carousel-item::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#pages-hero .carousel-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#pages-hero .carousel-item img {
  min-width: 100%;
  max-width: 100%;
  min-height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
}


#pages-hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  flex-direction: column;
  bottom: 2rem;
  padding: 10px 10px 10px 40px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
  right: 50px;
  /*  width: 60%; */
}

@media (max-width: 375px) {
  #pages-hero .carousel-container {
    border-radius: unset;
    padding: 10px;
  }
}

#pages-hero .container {
  text-align: start;
}

#pages-hero .title {
  color: #fff;
  margin-bottom: 5px;
  font-size: 2.1rem;
  font-weight: 700;
}

@media (max-width: 768px) {
#pages-hero .title {
    font-size: 1.5rem;
  }
}

#pages-hero .description {
  width: 100%;
  /*margin: 0 auto 30px auto;*/
  color: #fff;
  text-align: justify;
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  #pages-hero .description {
    width: 100%;
  }
}

#pages-hero .carousel-fade {
  overflow: hidden;
}

#pages-hero .carousel-fade .carousel-inner .carousel-item {
  transition-property: opacity;
}

#pages-hero .carousel-fade .carousel-inner .carousel-item,
#pages-hero .carousel-fade .carousel-inner .active.carousel-item-start,
#pages-hero .carousel-fade .carousel-inner .active.carousel-item-end {
  opacity: 0;
}

#pages-hero .carousel-fade .carousel-inner .active,
#pages-hero .carousel-fade .carousel-inner .carousel-item-next.carousel-item-start,
#pages-hero .carousel-fade .carousel-inner .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transition: 0.5s;
}

#pages-hero .carousel-fade .carousel-inner .carousel-item-next,
#pages-hero .carousel-fade .carousel-inner .carousel-item-prev,
#pages-hero .carousel-fade .carousel-inner .active.carousel-item-start,
#pages-hero .carousel-fade .carousel-inner .active.carousel-item-end {
  left: 0;
  transform: translate3d(0, 0, 0);
}

#pages-hero .carousel-control-prev,
#pages-hero .carousel-control-next {
  width: 10%;
}

@media (min-width: 1024px) {

  #pages-hero .carousel-control-prev,
  #pages-hero .carousel-control-next {
    width: 5%;
  }
}

#pages-hero .carousel-control-next-icon,
#pages-hero .carousel-control-prev-icon {
  background: none;
  font-size: 32px;
  line-height: 1;
}

/* move indicators to end side of slide */
#pages-hero .carousel-indicators {
  justify-content: flex-end;
  margin-left: 5%;
}
/* end */

#pages-hero .carousel-indicators li {
  cursor: pointer;
  list-style: none;
  /* change indicators to dots */
  border-radius: 100%;
  width: 20px;
  height: 20px;
  /* end */
}

#pages-hero .btn-get-started {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border: 1px solid;
  border-radius: 0.375rem;
  transition: 0.5s;
  margin: 10px;
  color: #fff;
  background: none;
}

#pages-hero .btn-get-started:hover {
  background: #fff;
  color: #cc0000;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section {
  overflow: hidden;
  padding: 0px 0 40px 0;
}

/* Sections Header
--------------------------------*/
.section-header h1, h2, h3 {
  font-size: 2rem;
  color: #cc0000;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
 .section-header h1, h2, h3 {
    font-size: 1.5rem;
    }
}
  
.section-header h1::before {
  content: "";
  position: absolute;
  display: block;
  width: 245px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 123px);
}

.section-header h1::after {
  content: "";
  position: absolute;
  display: block;
  width: 130px;
  height: 3px;
  background: #cc0000;
  bottom: 0;
  left: calc(50% - 63px);
}
.section-header h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 245px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 123px);
}

.section-header h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 130px;
  height: 3px;
  background: #cc0000;
  bottom: 0;
  left: calc(50% - 63px);
}
.section-header h3::before {
  content: "";
  position: absolute;
  display: block;
  width: 245px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 123px);
}

.section-header h3::after {
  content: "";
  position: absolute;
  display: block;
  width: 130px;
  height: 3px;
  background: #cc0000;
  bottom: 0;
  left: calc(50% - 63px);
}

.section-header p {
  text-align: justify;
  padding-bottom: 30px;
  color: #cc0000;
  font-size: 1.1rem;
  font-weight: 300;
}


/* Section with background
--------------------------------*/
.section-has-bg-img {
  /*  background: url("../img/facts-bg.jpg") center top no-repeat fixed;
    background-size: cover;*/
    padding: 0px;
    position: relative;
  }
  
  .section-has-bg-img::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.034);
    z-index: 9;
  }
  
  .section-has-bg-img .container {
    position: relative;
    z-index: 10;
  }
  .section-has-bg-img .text-container {
    margin: 60px 0px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0px 0px 9px 1px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0px 0px 9px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 9px 1px rgba(0,0,0,0.3);
  }
  .section-has-bg-img .text-container p {
    margin: 0;
  }
  .section-has-bg-img .text-container .read-more {
    -moz-text-align-last: center;
    text-align-last: center;
    margin-top: 10px;
  }
  
  .section-has-bg-img .text-container .read-more a {
    display: inline-block;
    background: #cc0000;
    color: #fff;
    padding: 6px 30px 8px 30px;
    transition: 0.3s;
    font-size: 0.9rem;
    font-weight: 900;
    border-radius: 50px;
    border: 2px solid #95e1ff;
  }
  
  .section-has-bg-img .text-container .read-more a:hover {
    background: #c2ecfd;
  }
  
  .section-has-bg-img .section-float-img {
    text-align: center;
  }

  
/* Pages
--------------------------------*/
.page h1 {
  font-size: 2rem;
  text-align: justify;
  color: #cc0000;
  font-weight: 700;
  padding-bottom: 30px;
  }
  
.page p {
  text-align: justify;
}

.page h2 {
  font-size: 1.8rem;
  color: #cc0000;
  font-weight: 700;
  padding-bottom: 0px;
  }

.page h3 {
font-size: 1.6rem;
color: #cc0000;
font-weight: 500;
padding-bottom: 15px;
}
.page h4 {
  font-size: 1.3rem;
  color: #cc0000;
  font-weight: 300;
  padding-bottom: 0px;
  }
.page dl, ol, ul, li {
  list-style: disc;
}

.page .list-items-with-h  {
  margin-bottom: 1rem;
}
.page .list-items-with-h  h3::before,
.list-items-with-h  h4::before {
  content: "✓";
  margin-left: 0.5em; 
}
.page .list-items-with-h  h3,
.list-items-with-h  h4 {
  text-align: start;
  margin-left: 8px; /* در سایت فارسی، این فاصله بین H3 و P قرار می‌گیرد */
  font-size: 1.3rem;
  font-weight: 900;
  display: inline; /* در یک خط با p */
}
/* قرار دادن p در یک خط با h3 و h4 */
.page .list-items-with-h  p {
  display: inline;
}

/* About Us Section
--------------------------------*/
#about {
  /*background: url("../img/about-bg.jpg") center top no-repeat fixed;
  background-size: cover;*/
  padding: 0;
  position: relative;
  margin-top: 50px;
}

#about::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  z-index: 9;
}

#about .container {
  position: relative;
  z-index: 10;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0px 0px 9px 1px rgba(0,0,0,0.3);
  -webkit-box-shadow: 0px 0px 9px 1px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 0px 9px 1px rgba(0,0,0,0.3);
}
#about p {
  text-align: justify;
}

/* Timeline Section
--------------------------------*/
/* The actual timeline (the vertical ruler) */
.main-timeline {
  position: relative;
}

/* The actual timeline (the vertical ruler) */
.main-timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  /*background-color: #cc0000;*/
  background-image: linear-gradient(0deg, #cc0000, #e3f7ff);
  top: 0;
  bottom: 0;
  right: 50%;
  margin-right: -3px;
}

/* Container around content */
.timeline {
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.timeline::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  left: -13px;
  background-color: #ffffff;
  border: 5px solid #67d4ff;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the right */
.right {
  padding: 0px 0px 20px 40px;
  right: 0;
}

/* Place the container to the left */
.left {
  padding: 0px 40px 20px 0px;
  right: 50%;
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  position: absolute;
  top: 18px;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
  /* FOR RTL */
  transform: rotate(180deg);
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  position: absolute;
  top: 18px;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
  /* FOR RTL */
  transform: rotate(180deg);
}

/* Fix the circle for containers on the left side */
.left::after {
  right: -12px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  /* Place the timelime to the right */
  .main-timeline::after {
    right: 31px;
  }

  /* Full-width containers */
  .timeline {
    width: 100%;
    padding-right: 70px;
    padding-left: 25px;
  }

  /* Make sure that all arrows are pointing rightwards */
  .timeline::before {
    right: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
    /* FOR RTL */
    transform: rotate(180deg);
  }

  /* Make sure all circles are at the same spot */
  .right::after,
  .left::after {
    right: 18px;
  }

  .right::before {
    left: auto;
  }

  /* Make all left containers behave like the right ones */
  .left {
    right: 0%;
  }
}

.gradient-custom {
  /* fallback for old browsers */
  background: #a1c4fd;

  /* Chrome 10-25, Safari 5.1-6 */
  background: -webkit-linear-gradient(to left, rgba(161,196,253,0.5), rgba(194,233,251,0.5));

  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  background: linear-gradient(to left, rgba(161,196,253,0.5), rgba(194,233,251,0.5))
}

/* Quick Access Section
--------------------------------*/
#quick_access {
  padding: 60px 0;
}

#quick_access .card {
  border-top: 2px solid #ff0000;
  border-bottom: 2px solid #ff0000;
}

#quick_access .card:hover {
  border-top: 4px solid #c2ecfd;
  border-bottom: 4px solid #c2ecfd;
}


/* Energy Products Section
--------------------------------*/
#energy-products {
  padding: 60px 0 0 0;
}
#energy-products .my-card-img-overlay-bg {
    width: 100%;
    height: 100vh;     /* ارتفاع برابر با 100 درصد ارتفاع پنجره */
    object-fit: cover; /* برای حفظ نسبت تصویر و پر کردن فضا */
    display: block;    /* حذف فاصله‌های اضافه */
}

/* Add shadow to objects in the transparent images */
.shadow-to-transparent-img {
filter: drop-shadow(0 4px 50px rgba(0, 0, 0, 1)) drop-shadow(0 2px 5px rgba(0, 0, 0, 1));
}

/* Add reflection to objects in the images */
.reflection-to-img {
  -webkit-box-reflect: below 0px linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.4));}

/* Energy Services Section

--------------------------------*/

#energy-services {
  padding: 60px 0;
}
#energy-services .card .card-img-top {
  width: 100%;
  /*ham andaze kardane ertefa ax ha*/
  height: 15rem; /* or use viewport units like 15vw */
  object-fit: cover;
}
.solar-panel-card {
  position: relative; /* برای لایه‌های داخلی */
  background-color:#041424b0; /* رنگ پایه سرمه‌ای تیره */
  border: 1px solid #072038; /* حاشیه تیره */
  overflow: hidden;
  transition: box-shadow 0.5s ease;
}

/* لایه خطوط جداکننده شیشه‌ها */
.solar-panel-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 30px 30px; /* اندازه هر "شیشه" */
  pointer-events: none;
  z-index: 1;
}

/* لایه براق شیشه‌ای */
.solar-panel-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.33), rgba(0,0,0,0));
  pointer-events: none;
  z-index: 2;
}

/* محتوای کارت روی لایه‌های پس‌زمینه */
.solar-panel-card .card-body {
  position: relative;
  z-index: 3;
}
.solar-panel-card .card-img-top {
  box-shadow: 5px 5px 15px #bebebecf, -5px -5px 15px #ffffffab;
}

.solar-panel-card .card-body .card-text a {
 color: #ffffff;
}


/* News Section in Home and Posts index Page and Search Result Page
--------------------------------*/
#news .card {
  border-top: 2px solid #ff0000;
  border-bottom: 2px solid #ff0000;
}

#news .card:hover {
    border-top: 4px solid #c2ecfd;
    border-bottom: 4px solid #c2ecfd;
}

#news .card h3, h4 {
  text-align: start;
}

#news .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#news .card i {
  color: #ff0000;
}
/* Certificates Section
--------------------------------*/
#certificates {
  padding: 60px 0;
}

#certificates .card {
  background: rgba(6, 6, 6, 0.75);
  border: 1px solid #ff0000;
  backdrop-filter: blur(9.1px);
  -webkit-backdrop-filter: blur(9.1px);
}

#certificates .card .card-img-top {
  width: 18.75rem;
  height: 18.75rem; /* or use viewport units like 15vw */
  opacity: 1;
  transition: 0.3s;
}
#certificates .card:hover .card-img-top {
  opacity: 0.7;
}

#certificates .swiper-pagination {
  margin-top: 30px;
  position: relative;
}

#certificates .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #cc0000;
}

#certificates .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #cc0000;
}
/*--- set the swiper slider arrows outside of content ---*/
#certificates .swiper-button-next {
  margin-top: 0px;
  position: absolute;
  top: 40%;
  /*right: -40px; FOR LTR*/
  width: 25px;
  height: 25px;
  /* FOR RTL ARROWS */
  right: 100%;
  -ms-transform: rotate(180deg); /* IE 9 */
  transform: rotate(180deg);
  /* END RTL ARROWS */
  /* ADD circle border around arrow */
  border: 1px solid #cc0000;
  border-radius: 100%;
  padding: 25px;
  /* END */
}
#certificates .swiper-button-prev {
  position: absolute;
  top: 40%;
  /*left: -40px; FOR LTR*/
  width: 25px;
  height: 25px;
  margin-top: 0px;
  /* FOR RTL ARROWS */
  left: 100%;
  -ms-transform: rotate(180deg); /* IE 9 */
  transform: rotate(180deg);
  /* END RTL ARROWS */
  /* ADD circle border around arrow */
  border: 1px solid #cc0000;
  border-radius: 100%;
  padding: 25px;
  /* END */
}

/* Clients Section
--------------------------------*/
#clients {
  padding: 60px 0;
}
#clients .card {
  border: 1px solid #ff0000;
  border-radius: unset;
}

#clients .card:hover {
  border: 1px solid #c2ecfd;
}

#clients .card .card-img-top {
  border-radius: unset;
}

#clients img {
  opacity: 1;
  transition: 0.3s;
}

#clients .card:hover img {
  opacity: 0.7;
}

#clients .swiper-pagination {
  margin-top: 30px;
  position: relative;
}

#clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #cc0000;
}

#clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #cc0000;
}

/* Featured Section
--------------------------------*/
#featured {
  padding: 60px 0;
}

#featured .card {
  background: rgba(6, 6, 6, 0.75);
  border: 1px solid #ff0000;
  backdrop-filter: blur(9.1px);
  -webkit-backdrop-filter: blur(9.1px);
}

#featured .card .card-img-top {
  border: 1px solid #ff0000;
  width: 100%;
  /*ham andaze kardane ertefa ax ha*/
  height: 12.5rem; /* or use viewport units like 15vw */
  object-fit: cover;
}

#featured .card .card-img-top:hover {
  border: 1px solid #c2ecfd;
}


#featured .swiper-pagination {
  margin-top: 30px;
  position: relative;
}

#featured .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #cc0000;
}

#featured .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #cc0000;
}
/*--- set the swiper slider arrows outside of content ---*/
#featured .swiper-button-next {
  margin-top: 0px;
  position: absolute;
  top: 55%;
  /*right: -40px; FOR LTR*/
  width: 25px;
  height: 25px;
  /* FOR RTL ARROWS */
  right: 100%;
  -ms-transform: rotate(180deg); /* IE 9 */
  transform: rotate(180deg);
  /* END RTL ARROWS */
  /* ADD circle border around arrow */
  border: 1px solid #cc0000;
  border-radius: 100%;
  padding: 25px;
  /* END */
}

#featured .swiper-button-prev {
  position: absolute;
  top: 55%;
  /*left: -40px; FOR LTR*/
  width: 25px;
  height: 25px;
  margin-top: 0px;
  /* FOR RTL ARROWS */
  left: 100%;
  -ms-transform: rotate(180deg); /* IE 9 */
  transform: rotate(180deg);
  /* END RTL ARROWS */
  /* ADD circle border around arrow */
  border: 1px solid #cc0000;
  border-radius: 100%;
  padding: 25px;
  /* END */
}

/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
.blog {
  padding: 0px 0 20px 0;
}

.blog .entry {
  padding: 30px;
  margin-bottom: 60px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}

.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: #333333;
  transition: 0.3s;
}

.blog .entry .entry-title a:hover {
  color: #cc0000;
}

.blog .entry .entry-meta {
  margin-bottom: 15px;
  color: #ff0000;
}

.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-left: 8px;
  line-height: 0;
}

.blog .entry .entry-meta a {
  color: #a1a8ac;
  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: #fff;
  color: #333333;
  padding: 6px 30px 8px 30px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 50px;
  border: 2px solid #cc0000;
}

.blog .entry .entry-content .read-more a:hover {
  background: #cc0000;
  color: #fff;
}

.blog .entry .entry-content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog .entry .entry-content blockquote {
  overflow: hidden;
  background-color: #fafafa;
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog .entry .entry-content blockquote p {
  color: #a1a8ac;
  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: #cc0000;
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog .entry .entry-footer {
  padding-top: 10px;
  border-top: 1px solid #e6e6e6;
}

.blog .entry .entry-footer i {
  color: #ff0000;
  display: inline;
}

.blog .entry .entry-footer a {
  color: #a1a8ac;
  transition: 0.3s;
}

.blog .entry .entry-footer a:hover {
  color: #cc0000;
}

.blog .entry .entry-footer .cats {
  list-style: none;
  display: inline;
  padding: 0 0 0 20px;
  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-left: 6px;
  color: #6c757d;
  content: ",";
}

.blog .entry .entry-footer .share {
  font-size: 16px;
}

.blog .entry .entry-footer .share i {
  padding-right: 5px;
}

.blog .entry-single {
  margin-bottom: 30px;
}

.blog .blog-author {
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.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: #333333;
}

.blog .blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog .blog-author .social-links a {
  color: rgba(51, 51, 51, 0.4);
  margin-right: 5px;
  transition: 0.3s;
}

.blog .blog-author .social-links a:hover {
  color: #cc0000;
}

.blog .blog-author p {
  font-style: italic;
  color: #a1a8ac;
}

.blog .blog-pagination {
  color: #cc0000;
}

.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: #cc0000;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  font-weight: bold;
}

.blog .blog-pagination li.active,
.blog .blog-pagination li:hover {
  background: #cc0000;
  border-radius: 50px;
}

.blog .blog-pagination li.active a,
.blog .blog-pagination li:hover a {
  color: #fff;
}

.blog .sidebar {
  padding: 15px;
  margin: 0 0 60px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}

.blog .sidebar .sidebar-title {
  font-size: 20px;
  font-weight: 700;
  padding: 0 0 0 0;
  margin: 0 0 15px 0;
  color: #cc0000;
  position: relative;
}

.blog .sidebar .sidebar-item {
  margin-bottom: 30px;
}

.blog .sidebar .search-form form {
  background: #fff;
  border: 1px solid #ddd;
  padding: 3px 10px;
  position: relative;
  border-radius: 50px;
}

.blog .sidebar .search-form form input {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 70px);
  box-shadow: none;
}

.blog .sidebar .search-form form input:focus {
  box-shadow: none;
}

.blog .sidebar .search-form form button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 30px;
  margin: -1px;
  background: #cc0000;
  color: #fff;
  transition: 0.3s;
  line-height: 0;
  border-radius: 50px;
}

.blog .sidebar .search-form form button i {
  line-height: 0;
}

.blog .sidebar .search-form form button:hover {
  background: #ff0000;
}

.blog .sidebar .categories ul {
  list-style: none;
  padding: 0;
  margin: 15px;
}

.blog .sidebar .categories ul li+li {
  padding-top: 10px;
}

.blog .sidebar .categories ul a {
  color: #cc0000;
  transition: 0.3s;
}

.blog .sidebar .categories ul a:hover {
  color: #ff0000;
}

.blog .sidebar .categories ul a span {
  padding-right: 5px;
  color: #b3b3b3;
  font-size: 14px;
}

.blog .sidebar .recent-posts .post-item+.post-item {
  margin-top: 15px;
}

.blog .sidebar .recent-posts img {
  display: flex;
  justify-content: start;
  width: 80px;
 height: 80px;
}

.blog .sidebar .recent-posts h4 {
  font-size: 15px;
  margin-right: 95px;
  font-weight: bold;
  margin-top: -6.5rem;
}

.blog .sidebar .recent-posts h4 a {
  color: #333333;
  transition: 0.3s;
}

.blog .sidebar .recent-posts h4 a:hover {
  color: #ff0000;
}

.blog .sidebar .recent-posts time {
  display: block;
  margin-right: 95px;
  font-style: italic;
  font-size: 14px;
  color: #b3b3b3;
}

.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: #333333;
  font-size: 14px;
  padding: 6px 20px;
  margin: 0 6px 8px 0;
  border: 1px solid #cc0000;
  display: inline-block;
  border-radius: 50px;
  transition: 0.3s;
}

.blog .sidebar .tags ul a:hover {
  color: #fff;
  background: #cc0000;
}

.blog .sidebar .tags ul a span {
  padding-left: 5px;
  color: white;
  font-size: 14px;
}



/*--------------------------------------------------------------

# Footer
--------------------------------------------------------------*/
#footer {
  background: #060606;
  padding: 0 0 40px 0;
  color: #ffffff;
  margin-top: 60px;
}

#footer .footer-top {
  background: #0a2837;
  padding: 60px 0 30px 0;
  margin: 0 10px 20px 10px;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 19px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 10px;
  line-height: 1;
  font-family: "Vazirmatn", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
}

#footer .footer-top .footer-info p {
  font-size: 19px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Vazirmatn", sans-serif;
  color: #ffffff;
}

#footer .footer-top .social-links a {
  display: inline-block;
  background: transparent;
  color: #a1a8ac;
  line-height: 1;
  margin: 4px;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #a1a8ac;
  border-radius: 50px;
  padding: 20px;
}

#footer .footer-top .social-links a i {
  line-height: 0;
  font-size: 20px;
}

#footer .footer-top .footer-contact .social-links a:hover {
  background: #cc0000;
  color: #ffffff;
}

#footer .footer-top h5 {
  font-size: 1.0625rem;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 20px;
}

#footer .footer-top h5::before,
#footer .footer-top h5::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 10px;
  height: 2px;
}

#footer .footer-top h5::before {
  left: 0;
  background: #555;
}

#footer .footer-top h5::after {
  background: #cc0000;
  width: 60px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links p {
  text-align: justify;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 8px;
  color: #ddd;
}

#footer .footer-top .footer-links ul li {
  list-style: none;
  border-bottom: 1px solid #333;
  padding: 10px 0;
}

#footer .footer-top .internal-links ul li::before {
	content: "\f284";
	font-family: "bootstrap-icons";
	padding-left: 8px;
    color: #ddd;
    font-size: 13px;
}

#footer .footer-top .external-links ul li::before {
	content: "\f470";
	font-family: "bootstrap-icons";
	padding-left: 8px;
    color: #ddd;
    font-size: 15px;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #a1a8ac;
}

#footer .footer-top .footer-links ul a:hover {
  color: #ffffff;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact a:hover {
  color: #ffffff;
}

#footer .footer-top .footer-contact a {
color: #a1a8ac;
}

#footer .footer-top .footer-contact p {
  line-height: 26px;
}

#footer .copyright {
  text-align: center;
}

#footer .credits {
  text-align: center;
  color: #a1a8ac;
}

#footer .credits a {
  color: #05dbf3;
}


/* Share Pages
--------------------------------*/

.post__share {
  margin-top: 33px; 
}

.post__share span {
    color: #959595;
    font-weight: 400;
}

.post__share_social_buttons li + li {
  margin-right: 10px; 
}

.post__share_social_buttons li a:hover i {
  background: #DCFFFF;
  border: 1px solid #cc0000;
  color: #cc0000;
}
.post__share_social_buttons li a i {
  background: #ff0000;
  border: 1px solid #FFFFFF;
  color: #fff;
  display: inline-block;
  font-size: 17px;
  height: 35px;
  line-height: 27px;
  text-align: center;
  transition: all 0.5s ease 0s;
  width: 35px;
  border-radius: 50%;
  padding-top: 6px;
}

 .post__share_social_buttons li {
  list-style: none;
  margin: unset;
}

/**
 * WordPress Pagination in Bootstrap 4 Style – Function 
 *
 */
 .page-link {
  position: relative;
  display: block;
  padding: .5rem .75rem;
  margin-left: 5px;
margin-right: 5px;
  line-height: 1.25;
  color: #cc0000;
height: 38px;
  background-color: #fff;
  border: 1px dotted #6E8091;
}
.page-link:hover {
  z-index: 2;
  color: #cc0000;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}
.page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: #cc0000;
  border-color: #FFFFFF;
}

@media screen and (max-width: 575px) {
.boots-pag .page-link {
  font-size: .7rem;
  padding: .3rem .45rem;
}
}

/**

 Bootstrap Card Settings
*/

.card .card-body .card-text {
  text-align: justify;
  }
  
  
/**
* Change Contact Form 7 submit btn style
*
*/
.wpcf7-submit {
  background: #cc0000;
  color: #fff;
  padding: 6px 30px 8px 30px;
  transition: 0.3s;
  font-size: 0.9rem;
  font-weight: 900;
  border-radius: 0.37rem;
  border: 1px solid #ffffff;
}

.wpcf7-submit:hover {
  background: #f27c08;
}


/**
* Change Contact Form 7 TEXTAREA to width 100% (shayad faghat vase in site lazem bashe)
*
*/
.wpcf7 label, output {
  width: 100% !important;
  }
  
  .wpcf7 input[type="text"], input[type="email"], input[type="tel"]
  {
  width: 100%;
  }
  /* Move Contact Form inputs to side by side */
  .form-row {
    display: flex;
  }
  .form-group p {
    margin: 10px;
  }
  
  
/**
* Change BOOTSTRAP text-primary color
*/
:root {
  --bs-primary-rgb: 204, 0, 0;


/**
* Change SWIPER NAVIGATION ARROWS SIZE AND COLOR 
*/
  --swiper-navigation-size:20px;
  --swiper-theme-color:#ff0000;
}