/**
* Template Name: Laura
* Template URL: https://bootstrapmade.com/laura-free-creative-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/

/* Fonts */

/* Defination of fonts */

@font-face {
  font-family: "B-Nazanin";
  src: url("../fonts/BNAZANIN.woff2")format("woff2"), url("../fonts/BNAZANIN.woff")format("woff"), url("../fonts/BNAZANIN.ttf")format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Vazir";
  src: url("../fonts/Vazirmatn.woff2")format("woff2"), url("../fonts/Vazirmatn.ttf")format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --default-font: "Vazir", Tahoma, sans-serif;
  --heading-font: "B-Nazanin", "Vazir";
}

/* 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: #222222;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0088cc;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --accent-hover: #9ce3fc;
  /* The accent hover is used when you hover over an element that has an accent color.  */
  --surface-color: #f8f9fa;
  /* 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: #ffffff;
  /* The default color of the main navmenu links */
  --nav-hover-color: #0088cc;
  /* 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-color: #444444;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0088cc;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --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);
}

.rtl {
  direction: rtl;
}

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 1.25rem 0;
  transition: all 0.5s;
  z-index: 997;
}

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

.header .logo img {
  max-height: 2.25rem;
  margin-right: 0.5rem;
  margin-top: -0.3125rem;
  border-radius: 0.3125rem;
}

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

.header .header-social-links {
  padding-right: 1rem;
}

.header .header-social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding-left: 0.375rem;
  display: inline-block;
  transition: 0.3s;
  font-size: 1em;
}

.header .header-social-links .telegram:hover {
  color: #0088cc;
  transition: color 0.4s;
}

.header .header-social-links .gmail:hover {
  color: #D14836;
  transition: color 0.4s;
}

.header .header-social-links .github:hover {
  color: #181717;
  transition: color 0.4s;
}

.header .header-social-links a i {
  line-height: 0px;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .header-social-links {
    order: 2;
  }

  .header .navmenu {
    order: 3;
  }
}

@media (min-width: 1201px) {
  .header .logo {
    order: 1;
  }

  .header .navmenu {
    order: 2;
  }

  .header .header-social-links {
    order: 3;
  }
}

@media (max-width: 395px) {
  .header .logo img {
    display: none;
  }

  .header .logo .sitename {
    font-size: 1.5625em;
  }

  .header .header-social-links {
    display: flex;
  }
}

.scrolled .header {
  box-shadow: 0px 0 1.125rem rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(0, 0, 0, 0.8);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
    direction: rtl;
  }

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

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 1.125rem 1rem;
    font-size: 0.875em;
    text-transform: uppercase;
    font-family: var(--default-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
}

/* Navmenu - Mobile */
@media (max-width: 1200px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 1.75em;
    line-height: 0;
    margin-right: 0.625rem;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 3.75rem 1.25rem 1.25rem 1.25rem;
    padding: 0.625rem 0;
    margin: 0;
    border-radius: 0.375rem;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 1.875rem rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 0.625rem 1.25rem;
    font-family: var(--default-font);
    font-size: 1em;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 2em;
    top: 0.9375rem;
    right: 0.9375rem;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
    direction: rtl;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 0.875em;
  text-align: center;
  padding: 1.875rem 0;
  position: relative;
}

.footer h3 {
  font-size: 2.25em;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 1rem 0;
}

.footer p {
  font-size: 1em;
  padding: 0;
  margin-bottom: 2.8125rem; 
}

.footer .social-links {
  margin: 0 0 1.875rem 0;
}

.footer .social-links a {
  font-size: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 0.25rem;
  border-radius: 50%;
  text-align: center;
  width: 2.25rem;
  height: 2.25rem;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

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

/*--------------------------------------------------------------
# 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: 3.75rem;
  height: 3.75rem;
  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: 1rem;
  bottom: -1rem;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 3.125rem;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 1.5em;
  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;
  bottom: 1rem;
}

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

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

@media (max-width: 1199px) {
  section, .section {
    scroll-margin-top: 3.75rem;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding: 1.875rem 0;
  margin-bottom: 1.875rem;
  position: relative;
}

.section-title h2 {
  font-size: 2em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.section-title span {
  font-family: var(--heading-font);
  position: absolute;
  top: 0.25rem;
  color: color-mix(in srgb, var(--heading-color), transparent 95%);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 3.25em;
  text-transform: uppercase;
  line-height: 1;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 1.75em;
    margin-bottom: 1rem;
  }

  .section-title span {
    font-size: 2.375em;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 7.5rem 0 3.75rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 2.25em;
  font-weight: 700;
  line-height: 3.5rem;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0.625rem 0 0 0;
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 1px;
}

.hero .btn-scroll {
  transition: 0.4s;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  display: block;
  margin-top: 1.875rem;
  animation: btn-up-down 1s ease-in-out infinite alternate-reverse both;
}

.hero .btn-scroll i {
  font-size: 3em;
}

.hero .btn-scroll:hover {
  color: var(--accent-color);
}

@media (max-width: 620px) {
  .hero h2 {
    font-size: 1.875em;
    line-height: 2.25rem;
  }
}

@keyframes btn-up-down {
  0% {
    transform: translateY(0.3125rem);
  }

  100% {
    transform: translateY(-0.3125rem);
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about img {
  border-radius: 0.75rem;
}

.about .content h2 {
  font-weight: 700;
  font-size: 1.5em;
}

.about .content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.875rem;
}

.about .content ul li {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about .content ul i {
  font-size: 1em;
  margin-left: 0.375rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.about .content ul strong {
  margin-left: 0.375rem;
  color: #222;
  white-space: nowrap;
  flex-shrink: 0;
}

.about .content ul span {
  color: #444;
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
  .about .content ul {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# Career Section
--------------------------------------------------------------*/
.career .nav-pills {
  padding: 0;
}

.career .nav-link {
  border: 0;
  color: #1e1e1e;
  border-radius: 0;
  transition: 0.3s;
}

.career .nav-link .active {
  color: #fff;
  background-color: var(--accent-color);
}

.career .nav-link:hover {
  color: var(--accent-color);
  background: var(--accent-hover);
}

.career .tab-content {
  padding-right: 1.125rem;
}

.career .career-title {
  font-size: 1.625em;
  font-weight: 700;
  margin-bottom: 1.5625rem;
  color: var(--heading-color);
}

.career .career-paragraph {
  margin-top: -0.125rem;
}

@media (max-width: 767.5px) {
  .career .nav-pills {
    padding: 0;
    display: flex;
    margin-bottom: 1.875rem;
    justify-content: center;
    flex-direction: row !important;
  }

  .career .nav-item {
    flex: 1;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .row {
  justify-content: center;
}

.services .col-md-4 {
  flex: 0 0 30%;
  max-width: 30%;
}

.services .service-item {
  padding: 2.5rem 1.5625rem;
  background-color: var(--surface-color);
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, .08);
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}

.services .service-item:hover {
  transform: translateY(-0.375rem);
  box-shadow: 0 1rem 2.1875rem rgba(0,0,0,0.15);
}

.services .service-icon {
  margin-bottom: 1.2rem;
  text-align: center;
}

.services .service-item .circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  color: #fff;
  font-size: 2.25em;
  transition: all 0.3s ease;
  margin: 0 auto;
  padding-top: 0.75rem;
}

.services .circle-telegram { 
  background: #0088cc; 
}

.services .circle-web { 
  background: #28a745; 
}

.services .circle-code { 
  background: #ffc107; 
}

.services .service-item:hover .circle-telegram { 
  box-shadow: 0 0 1rem #00aaff; 
}

.services .service-item:hover .circle-web { 
  box-shadow: 0 0 1rem #34c759; 
}

.services .service-item:hover .circle-code { 
  box-shadow: 0 0 1rem #ffcd39; 
}

.services .service-content .mt-3 {
  gap: 0.625rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.services .service-content h4 {
  font-size: 1.1875em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
}

.services .service-content p {
  font-size: 0.875em;
  line-height: 1.375rem;
  color: #555;
  text-align: center;
  margin-bottom: 0.625rem;
}

.btn-accent {
  display: inline-block;
  padding: .45rem 1rem;
  border-radius: 0.375rem;
  background: var(--accent-color);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--accent-color);
  transition: all .3s ease;
}

.btn-accent:hover {
  border: 1px solid var(--contrast-color);
  background: var(--accent-hover);
  color: var(--accent-color);
  transform: translateY(-0.125rem);
}

.btn-link {
  padding-top: 0.5rem;
  padding-right: 0.25rem;
  text-decoration: none !important;
  font-size: 0.875em;
}

.btn-link:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.services .service-content .btn-accent,
.services .service-content .btn-link {
  flex: 0 1 auto;
}

@media (max-width: 992px) {
  .services .col-md-4 {
    flex: 0 0 45%;
    max-width: 45%;
    margin-bottom: 1.875rem;
  }
}

@media (max-width: 768px) {
  .services .col-md-4 {
    flex: 0 0 100%; 
    max-width: 80%;
  }
}

@media (max-width: 420px) {
  .services .service-content .btn-link {
    padding-right: 0;
    padding-top: 0.625rem;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  display: flex;
  justify-content: center;
}

.contact .info-item i {
  font-size: 2.25em;
  color: var(--accent-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.25rem;
  transition: all 0.3s ease-in-out;
}

.contact .info-item h3 {
  font-size: 1.5em;
  font-weight: 700;
  margin: 1.25rem 0;
}

.contact .info-item p {
  padding: 0;
  direction: ltr;
  margin-bottom: 0;
  font-size: 0.875em;
}

.contact .alert {
  display: none;
}

.contact .php-email-form {
  box-shadow: 0px 0px 1.25rem rgba(0, 0, 0, 0.1);
  padding: 1.875rem;
  margin-top: 1.875rem;
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 1.25rem;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 0.875em;
  padding: 0.625rem 1rem;
  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] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 0.625rem 1.875rem;
  transition: 0.4s;
  border-radius: 3.125rem;
}

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