/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Inter",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #384f4b; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #1bbca3; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #444444;  /* The default color of the main navmenu links */
  --nav-hover-color: #1bbca3; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #1bbca3; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f2f5f4;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #0e1a18;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #203b37;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

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

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading2 {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading2:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading2 3s linear infinite;
}

@keyframes php-email-form-loading2 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

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

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

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

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

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

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

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

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 120px 0 60px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 74px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
}

.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  display: inline-block;
}

.section-title h2:before {
  margin: 0 15px 10px 0;
}

.section-title h2:after {
  margin: 0 0 10px 15px;
}

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 0;  
}

.hero .carousel {
  width: 100%;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  background-color: var(--background-color);
  position: relative;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero .carousel-item:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .carousel-item::before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

.hero .carousel-container {
  position: absolute;
  inset: 120px 64px 64px 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 3;
}

.hero h2 {
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
  animation: fadeInDown 1s both;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 30px;
  }
}

.hero p {
  animation: fadeInDown 1s both 0.2s;
}

@media (min-width: 1024px) {

  .hero h2,
  .hero p {
    max-width: 60%;
  }
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  animation: fadeInUp 1s both 0.4s;
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  width: 10%;
  transition: 0.3s;
  opacity: 0.5;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

@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;
}

.hero .carousel-indicators {
  list-style: none;
}

.hero .carousel-indicators li {
  cursor: pointer;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

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

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

.about .content ul i {
  font-size: 1.25rem;
  margin-right: 4px;
  color: var(--accent-color);
}

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

.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .content .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), black 20%);
  padding-right: 19px;
}

.about .content .read-more:hover i {
  margin-left: 10px;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item i {
  color: var(--accent-color);
  display: block;
  font-size: 44px;
  float: left;
  line-height: 0;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  margin-left: 60px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  padding: 50px 30px;
  transition: all 0.3s ease-in-out;
  height: 100%;
  position: relative;
  z-index: 1;
}

.services .service-item:before {
  content: "";
  position: absolute;
  background: var(--accent-color);
  inset: 100% 0 0 0;
  transition: all 0.3s;
  z-index: -1;
}

.services .service-item .icon {
  margin-bottom: 10px;
}

.services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: ease-in-out 0.3s;
}

.services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  transition: ease-in-out 0.3s;
}

.services .service-item:hover h4 a,
.services .service-item:hover .icon i,
.services .service-item:hover p {
  color: var(--contrast-color);
}

.services .service-item:hover:before {
  background: var(--accent-color);
  inset: 0;
  border-radius: 0px;
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 80px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--default-color);
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--accent-color);
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# More Services Section
--------------------------------------------------------------*/
.more-services .card {
  background-color: var(--surface-color);
  color: var(--default-color);
  padding: 30px;
  box-shadow: 0px 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: 0.3s;
  height: 100%;
  border: 0;
}

.more-services .card img {
  padding: 0;
  transition: 0.5s;
  transform: scale(1.1);
}

.more-services .card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 18px;
}

.more-services .card:hover {
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.more-services .card:hover img {
  transform: scale(1);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

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

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team {
  --default-color: #ffffff;
}

.team .member {
  text-align: center;
  position: relative;
  height: 100%;
}

.team .member .member-info {
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: 0;
  transition: 0.2s;
}

.team .member .member-info-content {
  margin-top: -50px;
  transition: margin 0.2s;
}

.team .member:hover .member-info {
  background: rgba(0, 0, 0, 0.6);
  opacity: 1;
  transition: 0.4s;
}

.team .member:hover .member-info-content {
  margin-top: 0;
  transition: margin 0.4s;
}

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

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  margin-top: 15px;
}

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

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

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


/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.faq .content p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 30px;
}

.contact .info-item i {
  font-size: 38px;
  line-height: 0;
  color: var(--accent-color);
}

.contact .info-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

.contact .info-item p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 30px;
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.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: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

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

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.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;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

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

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/* استایل برای لوگو */
.logo-img {
  
  border-radius: 50%; /* این باعث می‌شود تصویر دایره‌ای شود */
  object-fit: cover; /* تضمین می‌کند تصویر به درستی در دایره قرار می گیرد */
}

.logo-img:hover {
  transform: scale(1.1); /* بزرگ شدن لوگو هنگام hover */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); /* سایه دور لوگو */
}

/* استایل پیشرفته سایدبار */
.horizontal-sidebar {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--surface-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  z-index: 996;
  transition: height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  direction: rtl;
}

.horizontal-sidebar.active {
  height: 60px;
}

.sidebar-content {
  padding: 0 5%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.sidebar-nav {
  display: flex;
  width: 100%;
  max-width: 800px;
  justify-content: space-around;
  gap: 15px;
}

.sidebar-nav a {
  color: var(--heading-color);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.4s;
  padding: 10px 15px;
  position: relative;
  opacity: 0;
  transform: translateY(-20px);
  direction: rtl;
}

.horizontal-sidebar.active .sidebar-nav a {
  opacity: 1;
  transform: translateY(0);
}

.sidebar-nav a:hover {
  color: var(--accent-color);
}

.sidebar-nav a i {
  font-size: 18px;
  transition: all 0.3s;
  color: var(--accent-color);
}

.sidebar-nav a:hover i {
  transform: scale(1.2);
}

.sidebar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: all 0.3s;
  transform: translateX(50%);
}

.sidebar-nav a:hover::after {
  width: 100%;
}

/* استایل پیشرفته و خاص دکمه همبرگر */
.sidebar-toggler {
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 997;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.toggler-line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--heading-color); /* رنگ مشکی در حالت عادی */
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

/* خط وسط بزرگتر */
.toggler-line-middle {
  width: 80%;
  align-self: flex-end;
}

.sidebar-toggler.active .toggler-line {
  background: var(--accent-color); /* رنگ سبز در حالت فعال */
}

/* تبدیل به ضربدر متقارن */
.sidebar-toggler.active .toggler-line-top {
  transform: translateY(10px) rotate(45deg);
  width: 100%;
}

.sidebar-toggler.active .toggler-line-middle {
  opacity: 0;
  transform: scaleX(0);
}

.sidebar-toggler.active .toggler-line-bottom {
  transform: translateY(-10px) rotate(-45deg);
  width: 100%;
}

/* رسپانسیو برای دستگاه‌های مختلف */
@media (max-width: 768px) {
  .sidebar-nav {
    gap: 5px;
  }
  
  .sidebar-nav a {
    font-size: 13px;
    padding: 8px 10px;
    gap: 5px;
  }
  
  .sidebar-nav a i {
    font-size: 16px;
  }
  
  .horizontal-sidebar.active {
    height: 55px;
  }
}

@media (max-width: 480px) {
  .sidebar-nav {
    gap: 0;
  }
  
  .sidebar-nav a {
    font-size: 12px;
    padding: 6px 8px;
    gap: 4px;
  }
  
  .sidebar-nav a i {
    font-size: 14px;
  }
}

/* استایل عنوان */
.education-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  margin-bottom: 25px;
}

.education-title i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

/* استایل کانتینر لیست */
.education-list-container {
  direction: rtl;
  text-align: right;
  margin: 30px 0;
}

.education-list-container h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.education-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.education-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  text-align: right;
  font-size: 0.95rem;
  transform: translateZ(0);
  will-change: transform;
}

.education-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-3px) translateZ(0);  
  outline: 2px solid rgba(var(--accent-color-rgb), 0.2);
}

/* استایل دکمه */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.cta-btn i {
  transition: transform 0.3s ease;
}

.cta-btn:hover i {
  transform: translateX(-5px);
}

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
  .education-items {
    grid-template-columns: 1fr;
  }
  
  .education-item {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

/* استایل‌های پایه - فقط برای همین بخش */
.secondary-emerald .about-features-list {
  list-style: none;
  padding: 0;
}

.secondary-emerald .about-features-list li {
  padding: 12px 0;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* خطوط جداکننده */
.secondary-emerald .about-features-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-color), transparent);
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* آیکون‌ها */
.secondary-emerald .about-features-list li .bi-check-circle {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-top: 3px;
  transition: color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* متن‌ها */
.secondary-emerald .about-features-list li span {
  transition: color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* تغییرات هنگام هاور - کاملاً روان */
.secondary-emerald:hover .about-features-list li .bi-check-circle,
.secondary-emerald:hover .about-features-list li span {
  color: white !important;
}

.secondary-emerald:hover .about-features-list li:not(:last-child)::after {
  background: linear-gradient(to right, transparent, white, transparent) !important;
}

.btn-get-started {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-get-started i {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.btn-get-started:hover i {
  transform: translateX(3px);
}

/* برای تراز بهتر متن فارسی */
.btn-get-started[href*="bot"] {
  direction: ltr;
  padding: 8px 20px 8px 15px;
}

/* افکت hover مخصوص ربات */
.btn-get-started[href*="bot"]:hover i {
  animation: bounce 0.5s;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* More Services Section Styles */
.miner-card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
  background: var(--surface-color);
}

.miner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: none !important;
}

.spec-title {
  color: var(--accent-color);
  font-weight: 600;
}

.miner-full-specs {
  transition: height 0.35s ease;
}

/* دکمه CTA */
.cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  margin: 10px 0 0;
  border: 2px solid var(--accent-color);
  color: var(--contrast-color);
  background: var(--accent-color);
  cursor: pointer;
  transition: background 0.2s;
}

.cta-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

/* مدیریت متن دکمه */
.hide-text {
  display: none;
}
[aria-expanded="true"] .show-text {
  display: none;
}
[aria-expanded="true"] .hide-text {
  display: inline;
}

/* آیکون دکمه */
.icon {
  transition: transform 0.35s ease;
}
[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

/* متن توضیحات */
.conclusion {
  margin-top: 15px;
  line-height: 1.7;
}
.conclusion strong {
  display: block;
  margin-bottom: 8px;
  color: var(--heading-color);
}

/* انیمیشن روان */
.collapse:not(.show) {
  display: none;
}
.collapsing {
  transition: height 0.35s ease;
  overflow: hidden;
}

.cta-btn .btn-text {
  display: inline-block !important;
}
[aria-expanded="true"] .btn-text {
  content: "بستن جزئیات" !important;
}

/* تضمین نمایش متن دکمه */
.cta-btn span {
  opacity: 1 !important;
  display: inline-block !important;
}

/* استایل‌های ضروری برای More Services Section */
.miner-card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
  background: var(--surface-color);
}

.miner-full-specs {
  transition: height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: height;
}

.collapsing {
  transition: height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 50px;
  margin: 10px 0 0;
  border: 2px solid var(--accent-color);
  color: var(--contrast-color);
  background: var(--accent-color);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
}

.cta-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.cta-btn .icon {
  margin-right: 8px;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cta-btn[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

/* ==================== استایل‌های جدید برای بخش More Services ==================== */
/* این کد را به انتهای فایل CSS خود اضافه کنید */

/* کلاس‌های رنگی برای بج‌ها */
.bg-success-badge {
  background-color: #1bbca3 !important;
  color: white !important;
}

.bg-primary-badge {
  background-color: #0d6efd !important;
  color: white !important;
}

.bg-info-badge {
  background-color: #0dcaf0 !important;
  color: white !important;
}

/* استایل‌های داینامیک کارت‌ها */
.miner-card[data-badge-color="success"] {
  --accent-color: #1bbca3;
  --accent-color-rgb: 27, 188, 163;
}

.miner-card[data-badge-color="primary"] {
  --accent-color: #0d6efd;
  --accent-color-rgb: 13, 110, 253;
}

.miner-card[data-badge-color="info"] {
  --accent-color: #0dcaf0;
  --accent-color-rgb: 13, 202, 240;
}

/* استایل نقل قول */
.miner-quote {
  position: relative;
  border-left: 4px solid var(--accent-color);
  background: rgba(var(--accent-color-rgb), 0.05);
  margin: 1.5rem 0;
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  direction: rtl;
  text-align: right;
}

.miner-quote .bi-quote {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 2rem;
  color: rgba(var(--accent-color-rgb), 0.1);
}

.miner-quote strong {
  display: block;
  color: var(--accent-color);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.miner-quote p {
  margin: 0;
  line-height: 1.7;
  color: var(--default-color);
}

/* عناوین مشخصات فنی */
.spec-title {
  color: var(--accent-color);
  font-weight: 600;
}

/* دکمه‌ها */
.cta-btn {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: rgba(var(--accent-color-rgb), 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.2);
}

/* انیمیشن */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* رسپانسیو */
@media (max-width: 768px) {
  .miner-quote {
    padding: 1rem;
  }
  
  .miner-quote .bi-quote {
    font-size: 1.5rem;
    top: 10px;
    left: 10px;
  }
}

.social {
  display: flex;
  gap: 12px;
}

.social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social a:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* رنگ‌های اختصاصی هر شبکه اجتماعی */
.bi-telegram { color: #0088cc; }
.bi-twitter-x { color: #000000; }
.bi-facebook { color: #1877f2; }
.bi-instagram { 
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bi-linkedin { color: #0a66c2; }

/* افکت hover برای هر آیکون */
.social a:hover .bi-telegram { color: #00a8e8; }
.social a:hover .bi-twitter-x { color: #1da1f2; }
.social a:hover .bi-facebook { color: #4285f4; }
.social a:hover .bi-linkedin { color: #0077b5; }

.php-email-form input,
.php-email-form textarea {
    text-align: right !important;
    direction: rtl !important;
    font-family: 'Tahoma', 'Arial', sans-serif;
}

.php-email-form input::placeholder,
.php-email-form textarea::placeholder {
    text-align: right;
    direction: rtl;
}

/* برای اطمینان از نمایش یکسان در موبایل و تبلت */
@media (max-width: 992px) {
  .footer-links,
  .footer-contact {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
  }
}

/* تنظیمات مخصوص موبایل های خیلی کوچک */
@media (max-width: 576px) {
  .footer-links,
  .footer-contact {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.btn-get-started[href*="chat"] .bi-people-fill {
  color: #FFEE58;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-get-started[href*="chat"]:hover .bi-people-fill {
  color: #FFC400;
  transform: scale(1.15) rotate(5deg);  
}

/* فقط برای این صفحه خاص */
body.portfolio-details-page .page-title .heading {
  padding-top: 0 !important;
  border-top: none !important;
}

body.portfolio-details-page .breadcrumbs {
  margin-top: 70px !important;
  padding: 15px 0 !important;
}

.portfolio-details-page .page-title {
  padding-bottom: 0 !important;
}

.portfolio-details-page #portfolio-details {
  padding-top: 0 !important;
  margin-top: -40px !important;
}

/*--------------------------------------------------------------
# Education Call To Action - مخصوص 16 بخش ویدیویی
--------------------------------------------------------------*/
.edu-cta-section.section {
  margin-top: 10px;
  margin-bottom: 40px;
  margin-left: 0px;
  margin-right: 10px;
  padding: 0;
}

.edu-cta-section {
  background-color: transparent;
  margin-bottom: 10px; /* کاهش از 30px به 10px */
}

.edu-cta-section .container {
  padding-top: 30px; /* کاهش از 80px به 30px */
  padding-bottom: 30px; /* کاهش از 80px به 30px */
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  clip-path: inset(0 round 15px);
}

.edu-cta-section .container img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 15px;
}

.edu-cta-section .container:before {
  content: "";
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.edu-cta-section .container .content {
  position: relative;
  z-index: 3;
}

.edu-cta-title {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.edu-cta-text {
  color: #ffffff;
  margin-bottom: 20px;
}

.edu-play-btn {
  width: 94px;
  height: 94px;
  margin-bottom: 20px;
  background: radial-gradient(#1bbca3 50%, rgba(27, 188, 163, 0.4) 52%);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

/* انیمیشن بهینه‌شده با شتاب GPU */
@keyframes edu-pulsate-btn {
  0% { transform: scale(0.8); opacity: 0.7; }
  50% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.2); opacity: 0; }
}

.edu-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation: edu-pulsate-btn 1.5s infinite ease-out;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(27, 188, 163, 0.2);
  top: -15%;
  left: -15%;
  background: transparent;
  transform: translateZ(0); /* شتاب GPU */
  backface-visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity; /* بهینه‌سازی رندر */
}

/* حالت غیرفعال هنگام اسکرول */
body.no-smooth-scroll .edu-play-btn:before {
  animation: none !important;
  opacity: 0;
}

.edu-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #ffffff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.edu-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #ffffff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.edu-play-btn:hover:after {
  border-left: 15px solid #1bbca3;
  transform: scale(20);
}

@keyframes edu-pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/* راه حل قطعی و کاملاً ایمن - فقط برای صفحه آموزشی */
body.portfolio-details-page #portfolio-details .col-lg-4 section[id^="edu-video-"] {
  margin-bottom: 0 !important;
  position: relative;
  top: -30px !important;
}

body.portfolio-details-page #portfolio-details .col-lg-4 section[id^="edu-video-"] + section[id^="edu-video-"] {
  margin-top: -60px !important;
}

/* نسخه موبایل */
@media (max-width: 992px) {
  body.portfolio-details-page #portfolio-details .col-lg-4 section[id^="edu-video-"] + section[id^="edu-video-"] {
    margin-top: -60px !important;
  }
}

body:not(.portfolio-details-page) .exchange-buttons { display: none !important; }
/* استایل دکمه‌های صرافی */
  .exchange-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    direction: rtl;
  }
  
  .exchange-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    color: white !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
  }
  
  .exchange-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
  }
  
  .exchange-btn i {
    margin-left: 8px;
    font-size: 1.2rem;
  }
  
  /* رسپانسیو برای موبایل */
  @media (max-width: 768px) {
    .exchange-buttons {
      grid-template-columns: 1fr;
    }
  }
  
/* استایل‌های اختصاصی بخش Exchanges */
.exchange-container {
  border-radius: 15px;
  padding: 20px;
  direction: rtl;
  text-align: center;
  background-color: var(--surface-color);
  max-width: 100%;
  margin: 0 auto;
}

.exchange-title {
  text-align: center;
  border: none;
  margin: 0 0 15px 0;
  padding: 0;
  line-height: 1.4;
  color: var(--heading-color);
  font-size: 1.2rem;
}

.exchange-description {
  margin-bottom: 20px;
  font-size: 0.95rem;
  text-align: center;
}

.exchange-buttons {
  margin: 20px auto;
  max-width: 100%;
}

.exchange-buttons .row {
  justify-content: center;
}

.exchange-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  color: white !important;
  text-decoration: none !important;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  width: 100%;
  min-height: 50px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.exchange-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.15);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.exchange-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.exchange-btn i {
  margin-left: 8px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.exchange-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.exchange-btn:hover i {
  transform: rotate(10deg) scale(1.1);
}

/* رنگ‌های دکمه‌ها */
.nobitex-btn { background: linear-gradient(135deg, #6e48aa 0%, #9d50bb 100%); }
.bitpin-btn { background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%); }
.tabdeal-btn { background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%); }
.abantether-btn { background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%); }
.bit24-btn { background: linear-gradient(135deg, #f46b45 0%, #eea849 100%); }
.wallex-btn { background: linear-gradient(135deg, #7b4397 0%, #dc2430 100%); }

.exchange-recommendation {
  margin: 25px auto;
  padding: 15px;
  background-color: rgba(27, 188, 163, 0.1);
  border-radius: 8px;
  border-right: 3px solid var(--accent-color);
  text-align: center;
  max-width: 100%;
}

.recommendation-title {
  color: var(--accent-color);
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.recommendation-text {
  font-size: 0.9rem;
  margin-bottom: 0;
  text-align: center;
}

.education-download-section {
  margin-top: 25px;
}

.education-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  color: white !important;
  width: 100%;
  min-height: 50px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.education-download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.15);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.education-download-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.education-download-btn i {
  margin-left: 8px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.education-download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.education-download-btn:hover i {
  transform: translateY(-2px) scale(1.1);
}

.education-nobitex-btn {
  background: linear-gradient(135deg, #6e48aa 0%, #9d50bb 100%);
}

.education-bitpin-btn {
  background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
}

/* رسپانسیو برای دستگاه‌های مختلف */
@media (max-width: 768px) {
  .exchange-container {
    padding: 15px;
  }
  
  .exchange-title {
    font-size: 1.1rem;
  }
  
  .recommendation-title {
    font-size: 1rem;
  }
  
  .exchange-buttons .row > [class*="col-"] {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 576px) {
  .exchange-title {
    font-size: 1rem;
  }
  
  .exchange-btn, 
  .education-download-btn {
    min-height: 45px;
  }
}

/* استایل‌های اختصاصی بخش Exchanges */
.exchange-container {
  border-radius: 15px;
  padding: 20px;
  direction: rtl;
  text-align: center;
  background-color: var(--surface-color);
  width: 100%;
}

.exchange-title {
  text-align: center;
  border: none;
  margin: 0 0 15px 0;
  padding: 0;
  line-height: 1.4;
  color: var(--heading-color);
  font-size: 1.2rem;
}

.exchange-description {
  margin-bottom: 20px;
  font-size: 0.95rem;
  text-align: center;
}

.exchange-buttons {
  width: 100%;
  margin: 20px 0;
}

.exchange-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.exchange-btn-container {
  width: calc(50% - 8px);
  min-width: 250px;
  max-width: 280px;
}

.exchange-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  color: white !important;
  text-decoration: none !important;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 100%;
  min-height: 50px;
}

.exchange-btn i {
  margin-left: 8px;
  font-size: 1.2rem;
}

/* رنگ‌های دکمه‌ها */
.nobitex-btn { background: linear-gradient(135deg, #6e48aa 0%, #9d50bb 100%); }
.bitpin-btn { background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%); }
.tabdeal-btn { background: linear-gradient(135deg, #f46b45 0%, #eea849 100%); }
.wallex-btn { background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%); }

.exchange-recommendation {
  margin: 25px 0;
  padding: 15px;
  background-color: rgba(27, 188, 163, 0.1);
  border-radius: 8px;
  border-right: 3px solid var(--accent-color);
  text-align: center;
}

.recommendation-title {
  color: var(--accent-color);
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.recommendation-text {
  font-size: 0.9rem;
  margin-bottom: 0;
  text-align: center;
}

.education-download-section {
  margin-top: 25px;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.education-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  color: white !important;
  min-width: 250px;
  max-width: 280px;
  width: calc(50% - 8px);
  min-height: 50px;
}

.education-nobitex-btn {
  background: linear-gradient(135deg, #6e48aa 0%, #9d50bb 100%);
}

.education-bitpin-btn {
  background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
}

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
  .exchange-btn-container,
  .education-download-btn {
    width: 100%;
    max-width: 350px;
  }
  
  .exchange-grid,
  .download-buttons {
    gap: 12px;
  }
}

/* Hero Section */
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0 60px 0;
  display: flex;
  align-items: center;
  background: url(../img/hero-bg.png) top center no-repeat;
  background-size: cover;
}



.hero .hero-img img {
  max-width: 100%;
  height: auto;
}

/* رسپانسیو */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  .hero p {
    font-size: 18px;
  }
}

/* فقط برای صفحه فرعی آموزش */
body.portfolio-details-page #hero {
  padding-top: 0 !important;
  margin-top: -1px !important;
}

body.portfolio-details-page #hero .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.portfolio-details-page .hero-img {
  margin-top: 0 !important;
}

body.portfolio-details-page .hero-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* استایل های اختصاصی صفحه فرعی آموزش */
body.portfolio-details-page #hero {
  padding-top: 10px !important;
  margin-top: 0;
  overflow: hidden;
  position: relative;
}

body.portfolio-details-page .hero-img {
  margin-top: 0;
  padding-top: 0;
}

body.portfolio-details-page .hero-img img {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
  display: block;
  width: 100%;
  height: auto;
}

/* انیمیشن جدید */
@keyframes up-down {
  0% { transform: translateY(10px); }
  100% { transform: translateY(-10px); }
}

/* جهت راست به چپ */
.secondary-service-item {
  direction: rtl;
  text-align: right;
}

/* استایل اصلی */
.secondary-service-item {
  padding: 40px 30px;
  height: 100%;
  border-radius: 12px;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-bottom: 4px solid;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.secondary-service-item .secondary-icon {
  font-size: 42px;
  padding: 25px;
  border-radius: 50%;
  margin-bottom: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.secondary-service-item h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.secondary-service-item p {
  margin-bottom: 25px;
  color: #555;
  line-height: 1.8;
  transition: all 0.3s ease;
}

.secondary-read-more {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: inherit;
  transition: all 0.3s ease;
}

.secondary-read-more i {
  margin-left: 8px;
  transition: all 0.3s ease;
}

/* رنگ‌های منحصر به فرد و خیره کننده - نسخه بهینه شده برای خوانایی */
.secondary-magenta { border-color: #e84393; }
.secondary-magenta .secondary-icon { color: #e84393; background: rgba(232, 67, 147, 0.1); }
.secondary-magenta .secondary-read-more { color: #e84393; }
.secondary-magenta:hover { background: #d6308f; color: white; }

.secondary-cyan { border-color: #00cec9; }
.secondary-cyan .secondary-icon { color: #00cec9; background: rgba(0, 206, 201, 0.1); }
.secondary-cyan .secondary-read-more { color: #00cec9; }
.secondary-cyan:hover { background: #00a8a3; color: white; }

.secondary-purple { border-color: #6c5ce7; }
.secondary-purple .secondary-icon { color: #6c5ce7; background: rgba(108, 92, 231, 0.1); }
.secondary-purple .secondary-read-more { color: #6c5ce7; }
.secondary-purple:hover { background: #5a4bd6; color: white; }

.secondary-gold { border-color: #fdcb6e; }
.secondary-gold .secondary-icon { color: #fdcb6e; background: rgba(253, 203, 110, 0.1); }
.secondary-gold .secondary-read-more { color: #fdcb6e; }
.secondary-gold:hover { background: #fcb236; color: white; }

.secondary-coral { border-color: #ff7675; }
.secondary-coral .secondary-icon { color: #ff7675; background: rgba(255, 118, 117, 0.1); }
.secondary-coral .secondary-read-more { color: #ff7675; }
.secondary-coral:hover { background: #ff5252; color: white; }

.secondary-emerald { border-color: #00b894; }
.secondary-emerald .secondary-icon { color: #00b894; background: rgba(0, 184, 148, 0.1); }
.secondary-emerald .secondary-read-more { color: #00b894; }
.secondary-emerald:hover { background: #00997a; color: white; }

.secondary-lavender { border-color: #a29bfe; }
.secondary-lavender .secondary-icon { color: #a29bfe; background: rgba(162, 155, 254, 0.1); }
.secondary-lavender .secondary-read-more { color: #a29bfe; }
.secondary-lavender:hover { background: #8c83fd; color: white; }

.secondary-sky { border-color: #74b9ff; }
.secondary-sky .secondary-icon { color: #74b9ff; background: rgba(116, 185, 255, 0.1); }
.secondary-sky .secondary-read-more { color: #74b9ff; }
.secondary-sky:hover { background: #4da8ff; color: white; }

.secondary-rose { border-color: #fd79a8; }
.secondary-rose .secondary-icon { color: #fd79a8; background: rgba(253, 121, 168, 0.1); }
.secondary-rose .secondary-read-more { color: #fd79a8; }
.secondary-rose:hover { background: #fc5d97; color: white; }

.secondary-peach { border-color: #fab1a0; }
.secondary-peach .secondary-icon { color: #fab1a0; background: rgba(250, 177, 160, 0.1); }
.secondary-peach .secondary-read-more { color: #fab1a0; }
.secondary-peach:hover { background: #f99f8a; color: white; }

/* انیمیشن hover شناور شدن */
.secondary-service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% { transform: translateY(-10px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(-10px); }
}

.secondary-service-item:hover h3,
.secondary-service-item:hover p,
.secondary-service-item:hover .secondary-read-more,
.secondary-service-item:hover .secondary-read-more i {
  color: #fff !important;
}

.secondary-service-item:hover .secondary-icon {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  transform: scale(1.1) rotate(5deg);
}

/* Reset و پایه‌ای */
.hero-section {
  padding: 40px 0;
  direction: rtl;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ساختار اصلی */
.hero-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-image-col {
  flex: 1 1 45%;
  min-width: 300px;
}

.hero-content-col {
  flex: 1 1 45%;
  min-width: 300px;
}

/* استایل تصویر */
.hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block;
}

/* استایل متن */
.hero-title {
  color: #1bbca3;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

/* رسپانسیو برای تبلت */
@media (max-width: 992px) {
  .hero-wrapper {
    gap: 30px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
}

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
  .hero-content-col {
    text-align: center;
    order: 2;
  }
}
  
  .hero-image-col,
  .hero-content-col {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  .hero-image-col {
    order: 1;
  }
  
  .hero-content-col {
    order: 2;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-description {
    font-size: 1rem;
    text-align: justify;
  }  
}

/* ====================== */
/* PROFESSIONAL HERO TEXT STYLES */
/* ====================== */

.hero-title {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: #00a67c; /* سبز چشم‌نواز و حرفه‌ای */
  text-shadow: 0 2px 4px rgba(0, 166, 124, 0.1);
  animation: floatText 4s ease-in-out infinite;
  will-change: transform;
  padding: 0 15px;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 230, 170, 0.4) 20%,
    rgba(0, 230, 170, 0.8) 50%,
    rgba(0, 230, 170, 0.4) 80%,
    transparent 100%);
  border-radius: 2px;
  border-radius: 2px;
  transform-origin: left;
  transition: transform 0.3s ease-out;
}

/* انیمیشن شناورسازی حرفه‌ای */
@keyframes floatText {
  0%, 100% { 
    transform: translateY(0) rotate(0.2deg);
    text-shadow: 0 2px 4px rgba(0, 166, 124, 0.1);
  }
  50% { 
    transform: translateY(-5px) rotate(-0.2deg);
    text-shadow: 0 5px 10px rgba(0, 166, 124, 0.15);
  }
}

/* افکت hover ظریف */
.hero-content-col:hover .hero-title::after {
  transform: scaleX(1.1);
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(0, 255, 190, 0.5) 20%,
    rgba(0, 255, 190, 0.9) 50%,
    rgba(0, 255, 190, 0.5) 80%,
    transparent 100%);
}

/* تنظیمات موبایل */
@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    animation: floatTextMobile 4s ease-in-out infinite;
  }
  
  @keyframes floatTextMobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
  }
  
  .hero-title::after {
    bottom: -4px;
    height: 1.5px;
  }
}

.hero-description {
  color: #4a5568;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.8;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  border-left: 2px solid rgba(0, 255, 170, 0.3);
}

.hero-description {
    text-align: justify;
    font-size: clamp(0.9rem, 3vw, 1rem);
    padding: 1rem;
  }
}


/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}
