/* ------------------------------------------------------------
* Template Name    : Aivista - Artificial Intelligence and Technology HTML Template
* Author           : WebFolio
* Version          : 1.0
------------------------------------------------------------ */

/* ----------------------------------------
+ Basic Styles
---------------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

:root {
  --main-color: #31ba81;
  --main-color-rgb: 49, 186, 129;
  --bg-color: #fff;
  --card-bg-color: #fff;
  --border-color: rgba(0, 0, 0, 0.2);
  --text-color-rgb: 0, 0, 0;
  --main-font: "Poppins", sans-serif;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  overflow-x: hidden;
}
body {
  overflow-x: hidden;
  color: #000;
  background-color: var(--bg-color);
  font-family: var(--main-font);
  transition: all 0.3s ease-in-out;
}
body.dark {
  color: #fff;
  --bg-color: #081624;
  --card-bg-color: #162539;
  --border-color: #0000;
  --text-color-rgb: 255, 255, 255;
}

a {
  text-decoration: none;
  color: inherit;
}
p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(var(--text-color-rgb), 0.7);
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
ul li {
  font-size: 15px;
}

section {
  margin-bottom: 80px;
}
section .sec-title h3 {
  font-size: 18px;
  font-weight: 700;
  width: fit-content;
  color: var(--main-color);
  text-transform: uppercase;
  position: relative;
  left: 50px;
}
section .sec-title.text-center h3 {
  margin: auto;
  left: 0;
}
section .sec-title h3::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -50px;
  width: 40px;
  height: 2px;
  background-color: var(--main-color);
}
section .sec-title h2 {
  font-size: 44px;
  font-weight: 700;
}
section .sec-title h2 span {
  color: var(--main-color);
}
button {
  border: none;
  outline: none;
  background-color: inherit;
  color: inherit;
}

.image {
  user-select: none;
}

.bg-img {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

/* Button */
.button {
  display: flex;
  align-items: center;
  gap: 10px;
  outline: none;
  padding: 12px 26px;
  color: #fff;
  background-color: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  user-select: none;
  transition: color 0.3s ease-in-out;
  z-index: 0;
}
.button .fill {
  display: block;
  position: absolute;
  background-color: var(--bg-color);
  border-radius: 50%;
  z-index: -1;

  animation: ripple-effect-reverse 0.499s;
  animation-fill-mode: forwards;
}
.button .fill.active {
  animation: ripple-effect 0.5s;
  animation-fill-mode: forwards;
}

@keyframes ripple-effect {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(2.5);
  }
}
@keyframes ripple-effect-reverse {
  0% {
    transform: scale(2.5);
  }

  100% {
    transform: scale(0);
  }
}

a.button {
  width: fit-content;
}
.button i {
  transition: transform 0.3s ease-in-out;
}
.button:hover {
  color: var(--main-color);
}
.button:hover i {
  transform: translateX(5px);
}

.button.secondary {
  color: var(--main-color);
  background-color: var(--bg-color);
}
.button.secondary:hover {
  color: #fff;
}
.button.secondary .fill {
  background-color: var(--main-color);
}

.button.white {
  background-color: #fff;
}
.button.white:hover {
  color: var(--main-color);
}
.button.white .fill {
  background-color: var(--main-color);
}

/* Logo */
.logo {
  width: 140px;
  display: flex;
  user-select: none;
}
.logo img {
  width: 100%;
}
.logo-white {
  display: none;
}

/* Flaticon */
.flaticon {
  display: block;
  line-height: 3rem;
  font-size: 3rem;
  color: var(--main-color);
}

/* Input */
.form-control::placeholder {
  color: #73767e;
}
.form-control {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  box-shadow: none !important;
  border-radius: 5px;
  padding: 10px 16px;
  color: var(--text-color-rgb);
}
.form-control:focus {
  color: var(--text-color-rgb);
  border-color: var(--main-color);
  background: var(--card-bg-color);
}

/* Scroll Top */
.scroll-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  height: 40px;
  width: 40px;
  cursor: pointer;
  border-radius: 50%;
  background-color: transparent;
  box-shadow: inset 0 0 0 2px rgba(var(--main-color-rgb), 0.2);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: all 0.3s ease-in-out;
}
.scroll-top i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: var(--main-color);
  transition: color 0.3s ease-in-out;
}
.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top svg path {
  fill: none;
  stroke: var(--main-color);
  stroke-width: 4;
  box-sizing: border-box;
  transition: stroke 0.3s ease-in-out;
}
.scroll-top:hover {
  background-color: var(--main-color);
}
.scroll-top:hover i {
  color: #fff;
}
.scroll-top:hover svg path {
  stroke: #fff;
}

/* Search Popup */
.search-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-110%);
  transform-origin: left center;
  transition: transform 400ms ease 400ms, visibility 400ms ease 400ms;
  visibility: hidden;
}
.search-popup.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: transform 400ms ease 0ms, visibility 400ms ease 0ms;
}
.search-popup .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--main-color);
  opacity: 0.9;
  cursor: pointer;
}
.search-popup .content {
  width: 100%;
  max-width: 560px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-130%);
  transition: opacity 400ms ease 0ms, visibility 400ms ease 0ms, transform 400ms ease 0ms;
}
.search-popup.active .content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 400ms ease 400ms, visibility 400ms ease 400ms, transform 400ms ease 400ms;
}
.search-popup .content form {
  display: flex;
}
.search-popup .content form input {
  color: inherit;
  padding: 14px 16px;
  border: 0;
  border-radius: 5px 0 0 5px;
}
.search-popup .content button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  border-radius: 0 5px 5px 0;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
.search-popup .content button i {
  font-size: 20px;
  color: var(--main-color);
  transition: all 0.3s ease-in-out;
}
.search-popup .content button:hover {
  background-color: var(--card-bg-color);
}

/* Custom Cursor */
.cursor {
  position: fixed;
  top: -100px;
  left: -100px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
}
.cursor-outer {
  width: 30px;
  height: 30px;
  border: 1px solid var(--main-color);
  transition: opacity 0.5s ease-in-out;
}
.cursor-outer.active {
  opacity: 0;
}
.cursor-inner {
  width: 6px;
  height: 6px;
  background-color: var(--main-color);
  transition: width 0.5s ease-in-out, height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.cursor-inner.active {
  width: 50px;
  height: 50px;
  opacity: 0.5;
}

/* Slider Arrow */
.slick-arrow::before {
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  font-family: var(--fa-style-family, "Font Awesome 6 Free");
  font-weight: var(--fa-style, 900);
  transition: 0.3s ease-in-out;
}
.slick-prev::before {
  content: "\f053";
}
.slick-next::before {
  content: "\f054";
}
.slick-loading .slick-list {
  background: none;
}

/* Play Button */
.play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  color: #fff;
  background-color: var(--main-color);
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease-in-out;
}
.play-btn::before,
.play-btn::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background: rgba(var(--main-color-rgb), 1);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: pulse-anim 1s ease-in-out infinite;
}
.play-btn::after {
  background: rgba(var(--main-color-rgb), 0.4);
}
.play-btn::before {
  background: rgba(var(--main-color-rgb), 0.6);
  animation-delay: -0.5s;
}
.play-btn:hover {
  color: var(--main-color);
  background-color: #fff;
}

@keyframes pulse-anim {
  0% {
    transform: scale(1, 1);
    opacity: 1;
  }
  100% {
    transform: scale(1.8, 1.8);
    opacity: 0;
  }
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #081624;
  z-index: 1000;
}
.loader {
  width: 55px;
  aspect-ratio: 1;
  --g1: conic-gradient(from 90deg at 3px 3px, #0000 90deg, #fff 0);
  --g2: conic-gradient(from -90deg at 22px 22px, #0000 90deg, #fff 0);
  background: var(--g1), var(--g1), var(--g1), var(--g2), var(--g2), var(--g2);
  background-size: 25px 25px;
  background-repeat: no-repeat;
  animation: loader-anim 1.5s infinite;
}
@keyframes loader-anim {
  0% {
    background-position: 0 0, 0 100%, 100% 100%;
  }
  25% {
    background-position: 100% 0, 0 100%, 100% 100%;
  }
  50% {
    background-position: 100% 0, 0 0, 100% 100%;
  }
  75% {
    background-position: 100% 0, 0 0, 0 100%;
  }
  100% {
    background-position: 100% 100%, 0 0, 0 100%;
  }
}

/* Scroll Bar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background-color: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background-color: rgba(var(--main-color-rgb), 0.75);
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--main-color);
}

.hidden {
  display: none !important;
}

/* ----------------------------------------
+ Header Area
---------------------------------------- */

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  z-index: 10;
  user-select: none;
  color: #fff;
}
header.sticky {
  position: fixed;
  background-color: var(--bg-color);
  box-shadow: 0 -6px 10px 5px rgba(0, 0, 0, 0.5);
  animation: slideDown 0.35s ease-out;
  color: #000;
}
.dark header.sticky {
  color: #fff;
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
header .container {
  height: 100%;
  display: grid;
  place-items: center;
}
header nav {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
header .logo-black,
header.sticky .logo-white {
  display: none;
}
header .logo-white,
header.sticky .logo-black {
  display: block;
}
body.dark .logo-black {
  display: none;
}
body.dark .logo-white {
  display: block;
}

header .nav-list {
  height: 100%;
  font-size: 16px;
  font-weight: 500;
}
header .main-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  margin-bottom: 0;
}
header .nav-link {
  display: flex;
  align-items: center;
  gap: 2px;
}
header .nav-link i {
  font-size: 12px;
}
header .main-menu > .nav-item {
  margin: 0 14px;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

header .main-menu > .nav-item:hover .sub-menu {
  transform: scaleY(1);
}

header .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  width: max-content;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.3s ease-in-out;
}
header .sub-menu .nav-item {
  padding: 8px 16px;
  color: #000;
  background-color: var(--bg-color);
  transition: padding 0.3s ease-in-out;
}
.dark header .sub-menu .nav-item {
  color: #fff;
}
header .sub-menu .nav-item .nav-link {
  transition: none;
}
header .sub-menu .nav-item:hover {
  background-color: var(--main-color);
  color: #fff;
  transition: 0.1s;
}

header .nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
header .theme-switcher,
header .menu-toggler,
header .search-toggler {
  cursor: pointer;
}
header .theme-switcher i,
header .menu-toggler i,
header .search-toggler i {
  display: flex;
  align-items: center;
  justify-content: center;
}
header .menu-toggler {
  display: none;
}
header .menu-toggler,
header .search-toggler {
  padding: 0 4px;
}
header .menu-toggler i,
header .search-toggler i {
  font-size: 22px;
}

header .theme-switcher {
  width: 40px;
  height: 40px;
  outline: none;
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}
header .theme-switcher i {
  width: 100%;
  height: 100%;
  font-size: 20px;
  color: #fff;
  background-color: var(--main-color);
  transition: all 0.3s ease-in-out;
}
header .theme-switcher:hover i {
  color: var(--main-color);
  background-color: #fff;
}

/* ----------------------------------------
+ Breadcumb Section
---------------------------------------- */

.breadcumb {
  background-image: url(../img/breadcumb_bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  padding-top: 160px;
  padding-bottom: 160px;
  z-index: 0;
}
.breadcumb::after {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  background-color: #000;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}
.breadcumb .container {
  text-align: center;
  color: #fff;
}
.breadcumb h2 {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 20px;
}
.breadcumb ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.breadcumb ul li {
  font-size: 16px;
}

/* ----------------------------------------
+ LetsTalk Section
---------------------------------------- */

section:nth-last-of-type(2) {
  margin-bottom: 0;
}

.letstalk {
  background-image: url(../img/letstalk_bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  padding: 120px 0;
  text-align: center;
  z-index: 0;
  margin-bottom: 0;
  margin-top: 160px;
  color: #fff;
}
.letstalk::after {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  background-color: #000;
  opacity: 0.6;
  z-index: -1;
  pointer-events: none;
}
.letstalk h2 {
  font-size: 44px;
  font-weight: 600;
}
.letstalk h5 {
  margin: 30px 0;
}
.letstalk .button {
  margin: 0 auto;
}

/* ----------------------------------------
+ Footer Area
---------------------------------------- */

section:last-of-type {
  margin-bottom: 0;
}
footer {
  color: #fff;
  background-color: rgb(8, 12, 26);
}
footer p {
  color: rgba(255, 255, 255, 0.7);
}
footer .widgets {
  padding: 80px 0;
}
footer .widget h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}
footer .logo {
  margin-bottom: 20px;
}
footer .social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
footer .social-links i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  color: #fff;
  background-color: var(--main-color);
  transition: all 0.3s ease-in-out;
}
footer .social-links i:hover {
  color: var(--main-color);
  background-color: #fff;
}

footer .links li {
  margin-bottom: 10px;
}
footer .links li a {
  transition: color 0.3s ease-in-out;
}
footer .links li a::before {
  content: "\f061";
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  font-family: var(--fa-style-family, "Font Awesome 6 Free");
  font-weight: var(--fa-style, 900);
  margin-right: 6px;
  transition: margin 0.3s ease-in-out;
}
footer .links li a:hover {
  color: var(--main-color);
}
footer .links li a:hover::before {
  margin-right: 10px;
}

footer .info li {
  margin-bottom: 10px;
  cursor: default;
}
footer .info li a {
  transition: color 0.3s ease-in-out;
  pointer-events: none;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
}
footer .info li a:hover {
  color: rgba(255, 255, 255, 0.7);
}
footer .info li i {
  margin-right: 6px;
}
footer .form-control {
  padding: 6px 10px;
  font-size: 14px;
}
body.light footer .form-control,
body.light footer .form-control:focus {
  color: #000;
}
footer .button {
  margin-top: 10px;
  padding: 6px 10px;
  font-size: 14px;
}
footer .button:hover i {
  transform: translate(0);
}

footer .copyright {
  padding: 20px 0;
  border-top: 1px solid #fff2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer .copyright p {
  margin: 0;
}
footer .copyright ul {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 20px;
}

/* ----------------------------------------
+ Hero Section
---------------------------------------- */

.hero {
  min-height: 100vh;
  height: 100vh;
  color: #fff;
  background-color: #000;
}
.hero .slide {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}
.hero .slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, #0a0a3200 0%, #141432cc 70%);
  z-index: 2;
}
.hero .container {
  min-height: 100vh;
  padding: 160px auto;
  position: relative;
  z-index: 10;
}
.hero .row {
  height: 100%;
}
.hero h1 {
  font-size: 68px;
  font-weight: 700;
  line-height: 1.3;
}
.hero h1 span {
  color: var(--main-color);
}
.hero p {
  margin: 20px 0;
  color: #fff;
  margin: 30px 0;
}
.hero .sec-content {
  transform: translateX(20px);
  transition: all 0.3s, transform 0.6s ease-out 0.8s, opacity 0.6s ease-out 0.8s;
  opacity: 0;
}
.slick-active .sec-content {
  transform: none;
  opacity: 1;
}

/* ----------------------------------------
+ Service Section
---------------------------------------- */

.services .sec-content {
  margin-top: 20px;
}
.service-card-outer {
  width: 100%;
}
.services .row > .col-6:last-child .service-card-outer {
  position: relative;
  bottom: 20px;
}
.service-card {
  padding: 30px 20px;
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--main-color);
  transform: scale(0);
  z-index: -1;
  transition: transform 0.3s ease-in-out;
}
.service-card:hover::before {
  transform: scale(3);
}
.service-card > * {
  transition: color 0.3s ease-in-out !important;
}
.service-card:hover > * {
  color: #fff;
}
.service-card h3 {
  font-size: 22px;
  font-weight: 600;
}
.service-card a {
  font-weight: 600;
  color: var(--main-color);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease-in-out !important;
}
.service-card a:hover {
  gap: 20px;
}

.services .sec-content .button {
  margin-top: 40px;
}

/* ----------------------------------------
+ About Section
---------------------------------------- */

.about .sec-content {
  margin-top: 20px;
  padding: 0 15px;
}
.about .sec-title {
  margin-bottom: 30px;
}
.about .list-items {
  margin: 20px 0;
}
.about ul li {
  margin-bottom: 10px;
}
.about ul li::before {
  content: "\f058";
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  font-family: var(--fa-style-family, "Font Awesome 6 Free");
  font-weight: var(--fa-style, 900);

  color: var(--main-color);
  margin-right: 6px;
}
.about .info-items .item {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.about .info-items .item .flaticon {
  font-size: 40px;
  flex-shrink: 0;
}
.about .info-items .item h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}
.about .info-items .item-content {
  flex: 1;
}
.about .button {
  margin-top: 40px;
}

/* ----------------------------------------
+ Clients Section
---------------------------------------- */

.clients .container {
  border-radius: 5px;
}
.clients .bg-img {
  mix-blend-mode: lighten;
}
body.dark .clients .bg-img {
  mix-blend-mode: darken;
}
.clients .item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  min-height: 180px;
  margin: 4px;
  background-color: rgba(var(--main-color-rgb), 1);
}
.clients .item img {
  width: 100%;
}

/* ----------------------------------------
+ Projects Section
---------------------------------------- */

.projects .sec-content {
  margin-top: 60px;
}
.project-card {
  cursor: default;
  padding: 5px;
}
.project-card-inner {
  position: relative;
  overflow: hidden;
}
.project-card .image {
  overflow: hidden;
}
.project-card .image img {
  width: 100%;
  transition: transform 0.3s ease-in-out;
}
.project-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, #fff0 60%);
  transition: opacity 0.3s ease-in-out;
}
.project-card .text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  color: #fff;
}
.project-card .text h5 {
  font-size: 16px;
}
.project-card .text h3 {
  font-size: 24px;
  font-weight: 600;
}
.project-card .text i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  border-radius: 50%;
}

.project-card .detail {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(0deg, #000a 0%, #fff0 150%);
  transform: translateY(20%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.project-card .detail * {
  transition: all 0.3s ease-in-out;
}

.project-card-inner:hover .detail {
  transform: translateY(0);
  opacity: 1;
}
.project-card-inner:hover .overlay {
  opacity: 0;
}
.project-card-inner:hover img {
  transform: scale(1.1);
}
.project-card-inner:hover .detail p {
  color: rgba(255, 255, 255, 0.7);
}
.project-card .detail i:hover {
  background-color: #fff;
  color: var(--main-color);
}

/* ----------------------------------------
+ Counters Section
---------------------------------------- */

.counters {
  position: relative;
  padding-top: 160px;
  padding-bottom: 320px;
  margin-bottom: 0;
  color: #fff;
}
.counters .bg-img::after {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  background-color: #000;
  opacity: 0.7;
}
.counters .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #fff5;
}
.counters .item:last-child {
  border: 0;
}
.counters .item h2 {
  font-size: 60px;
  font-weight: 600;
}
.counters .item h6 {
  font-size: 20px;
}

/* ----------------------------------------
+ Testimonial Section
---------------------------------------- */

.testimonial {
  margin-top: -160px;
}
.testimonial-card {
  padding: 5px;
}
.testimonial-card-inner {
  border: 1px solid var(--border-color);
  background-color: var(--card-bg-color);
  padding: 20px;
  border-radius: 5px;
  position: relative;
  text-align: center;
}
.testimonial-card .image {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto;
}
.testimonial-card .image img {
  width: 100%;
  border-radius: 50%;
}
.testimonial-card .content {
  margin-top: 30px;
}
.testimonial-card p {
  padding: 0 50px;
  line-height: 2;
  font-style: italic;
}
.testimonial-card h3 {
  font-size: 22px;
  font-weight: 600;
}
.testimonial-card h6 {
  font-size: 14px;
  font-weight: 500;
  color: rgba(var(--text-color-rgb), 0.7);
}
.testimonial-card .stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: fit-content;
  margin: auto;
  margin-bottom: 20px;
  color: #0005;
  position: relative;
  font-size: 14px;
}
body.dark .testimonial-card .stars {
  color: #fff5;
}
.testimonial-card .stars .filled {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 5px;
  color: #ffb300;
}

/* ----------------------------------------
+ Pricing Section
---------------------------------------- */

.pricing .sec-content {
  margin-top: 40px;
}
.pricing-card {
  padding: 30px;
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 5px;
}
.pricing-card.featured {
  color: #fff;
  background-color: var(--main-color);
  scale: 1.05;
}
.pricing-card.featured p {
  color: inherit;
}
.pricing-card h4 {
  font-size: 22px;
  font-weight: 500;
}
.pricing-card h2 {
  display: flex;
  align-items: center;
  font-size: 40px;
  font-weight: 600;
}
.pricing-card h2 span {
  font-size: 20px;
  font-weight: 500;
}
.pricing-card ul li {
  margin-bottom: 10px;
}
.pricing-card ul li::before {
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  font-family: var(--fa-style-family, "Font Awesome 6 Free");
  font-weight: var(--fa-style, 900);
  margin-right: 6px;
  color: var(--main-color);
}
.pricing-card ul li.tick::before {
  content: "\f00c";
}
.pricing-card ul li.cross::before {
  content: "\f00d";
}
.pricing-card.featured ul li::before {
  color: #fff;
}
.pricing-card .button {
  margin-top: 30px;
  --bg-color: var(--card-bg-color);
}
.pricing-card.featured .button {
  color: var(--main-color);
  border-color: #fff;
}
.pricing-card.featured .button::before,
.pricing-card.featured .button::after {
  background-color: #fff;
}
.pricing-card.featured .button:hover {
  color: #fff;
}

/* ----------------------------------------
+ Team Section
---------------------------------------- */

.team .sec-content {
  margin-top: 40px;
}
.team-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  text-align: center;
  overflow: hidden;
}
.team-card-inner {
  position: relative;
  overflow: hidden;
}
.team-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--main-color);
  background: linear-gradient(90deg, #fff0 -400%, var(--main-color) 100%);
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1;
}
.team-card .shape {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  transition-delay: 0.15s;
}
.team-card .shape::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 150%;
  height: 150%;
  background-color: var(--main-color);
  rotate: 45deg;
}
.team-card:hover .overlay {
  transform: translate(0);
}
.team-card:hover .shape {
  transform: translateY(0);
}

.team-card .social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.team-card .social-links i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
}

.team-card .image {
  border-radius: 50%;
}
.team-card .image img {
  width: 100%;
}

.team-card .name {
  padding: 16px;
}
.team-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}
.team-card h6 {
  font-size: 16px;
  font-weight: 500;
  color: rgba(var(--text-color-rgb), 0.7);
}

/* ----------------------------------------
+ Blog Section
---------------------------------------- */

.blog {
  margin-top: 40px;
  margin-bottom: 150px;
}
.blog .sec-content {
  margin-top: 30px;
}
.blog-card {
  border-radius: 5px;
  overflow: hidden;
  background-color: var(--card-bg-color);
  height: 100%;
  display: flex;
  flex-direction: column;
  max-height: 320px;
}
.blog-card .text {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card .text h6 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(var(--text-color-rgb), 0.7);
}
.blog-card .text h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin: 6px 0;
  min-height: 42px;
  display: flex;
  align-items: flex-start;
}
.blog-card .text a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--main-color);
  margin-top: 15px;
  user-select: none;
  transition: gap 0.3s ease-in-out;
}
.blog-card .text a:hover {
  gap: 20px;
}
.blog-card .text .info {
  display: flex;
  align-items: center;
  column-gap: 12px;
  flex-wrap: wrap;
  text-wrap: nowrap;
  margin-top: 10px;
  font-size: 12px;
}

.blog-card .image {
  max-height: 140px;
  overflow: hidden;
}

.blog-card .image img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

/* ----------------------------------------
+ BlogDetail Section
---------------------------------------- */

.blog-detail .detail-sect .detail-wrapper .thumbnail {
  margin-bottom: 20px;
}
.blog-detail .detail-sect .detail-wrapper .thumbnail img {
  width: 100%;
}
.blog-detail .detail-sect .detail-wrapper h3 {
  font-size: 32px;
  font-weight: 600;
}
.blog-detail .detail-sect .detail-wrapper ul {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 20px 0;
}
.blog-detail .detail-sect .detail-wrapper .navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
}

.blog-detail .detail-sect .comment-wrapper {
  margin-top: 60px;
}
.blog-detail .detail-sect .comment-wrapper h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 40px;
}

.blog-detail .sidebar-sect h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 40px;
}
.blog-detail .sidebar-sect h4:first-child {
  margin-top: 0;
}
.blog-detail .sidebar-sect .post {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.blog-detail .sidebar-sect .post img {
  width: 100px;
}
.blog-detail .sidebar-sect .post h5 {
  font-size: 18px;
  font-weight: 600;
}
.blog-detail .sidebar-sect .post h6 {
  font-size: 14px;
  font-weight: 400;
  color: rgba(var(--text-color-rgb), 0.7);
}
.blog-detail .sidebar-sect .tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.blog-detail .sidebar-sect .tags a {
  display: inline-block;
  border: 1px solid rgba(var(--text-color-rgb), 1);
  padding: 4px 10px;
  border-radius: 5px;
}
.blog-detail .sidebar-sect .categories li {
  margin-bottom: 10px;
}
.blog-detail .sidebar-sect .categories a {
  opacity: 0.7;
  transition: 0.3s;
}
.blog-detail .sidebar-sect .categories a:hover {
  opacity: 1;
}

/* ----------------------------------------
+ Contact Section
---------------------------------------- */

.contact .sec-content {
  margin-top: 30px;
}
.contact .info-items {
  margin-top: 30px;
}
.contact .info-items li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.contact .info-items li i {
  font-size: 24px;
}
.contact .info-items li h6 {
  font-size: 16px;
  margin-bottom: 0;
  color: rgba(var(--text-color-rgb), 0.7);
}
.contact .form-message.success {
  color: #0f0;
}
.contact .form-message.error {
  color: #f00;
}

/* ----------------------------------------
+ 404
---------------------------------------- */

.notfound {
  text-align: center;
}
.notfound h1 {
  font-size: 10em;
  font-weight: 700;
  color: var(--main-color);
}
.notfound h3 {
  font-size: 34px;
  font-weight: 600;
}
.notfound .button {
  margin: 0 auto;
  margin-top: 30px;
}

/* ----------------------------------------
+ Responsive
---------------------------------------- */

@media (max-width: 1024px) {
  header .nav-list {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    background-color: #0009;
    transition: opacity 0.5s ease-in-out 0s;
  }
  header.active .nav-list {
    opacity: 1;
    visibility: visible;
  }
  header .main-menu {
    position: absolute;
    top: 0;
    left: -100%;
    padding: 20px 30px;
    flex-direction: column;
    align-items: start;
    justify-content: unset;
    overflow: auto;
    overflow-x: hidden;
    color: #000;
    background-color: var(--bg-color);
    transition: all 0.5s ease-in-out 0s;
  }
  .dark header .main-menu {
    color: #fff;
  }
  header.active .nav-list .main-menu {
    left: 0;
  }
  header .main-menu > .nav-item {
    width: 200px;
    height: unset;
    padding: 10px 0;
    flex-direction: column;
    align-items: unset;
  }
  header .nav-item.has-sub-menu > a::after {
    left: 100%;
  }
  header .sub-menu {
    margin-top: 10px;
    position: static;
    display: none;
    visibility: visible;
    opacity: 1;
    border: none;
    box-shadow: none;
    padding: 0;
    transform: translateY(0);
  }
  header .sub-menu .nav-item {
    padding: 6px 0;
    padding-left: 10px;
  }
  header .sub-menu .nav-item:hover {
    background-color: var(--bg-color);
    color: var(--main-color);
    padding-left: 20px;
  }
  header .menu-toggler {
    display: block;
  }
}
/* LetsTalk Section */
@media (max-width: 992px) {
  .letstalk h2 {
    font-size: 38px;
  }
}
@media (max-width: 576px) {
  .letstalk h2 {
    font-size: 34px;
  }
}
/* Sec Titles */
@media (max-width: 992px) {
  section .sec-title h2 {
    font-size: 38px;
  }
}
@media (max-width: 576px) {
  section .sec-title h2 {
    font-size: 34px;
  }
}
/* Hero Section */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 52px;
  }
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 44px;
  }
}
@media (max-width: 576px) {
  .hero h1 {
    font-size: 38px;
  }
}
/* Counters */
@media (max-width: 768px) {
  .counters .item {
    border: 0;
  }
}
/* Footer */
@media (max-width: 768px) {
  footer .copyright {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  /* Additional mobile optimizations */
  .service-card {
    margin-bottom: 20px;
  }
  
  .project-card {
    margin-bottom: 20px;
  }
  
  .blog-card {
    margin-bottom: 20px;
  }
  
  .pricing-card {
    margin-bottom: 20px;
  }
  
  .hero .sec-content {
    text-align: center;
  }
  
  .about .sec-content {
    text-align: center;
  }
  
  .contact .sec-content {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  section .sec-title h2 {
    font-size: 28px;
    line-height: 1.3;
  }
  
  .service-card h3 {
    font-size: 18px;
  }
  
  .blog-card .text h3 {
    font-size: 16px;
  }
  
  .pricing-card h4 {
    font-size: 18px;
  }
  
  .contact .form-control {
    font-size: 14px;
  }
}

/* Cookie Consent Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  color: #fff;
  padding: 20px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--main-color);
}

.cookie-text p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.cookie-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background-color: var(--main-color);
  color: #fff;
}

.cookie-btn.accept:hover {
  background-color: #28a06e;
}

.cookie-btn.reject {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-link {
  color: var(--main-color);
  text-decoration: underline;
  font-size: 14px;
  transition: color 0.3s ease;
}

.cookie-link:hover {
  color: #28a06e;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-btn {
    width: 100%;
  }
}

/* Додаткові стилі для сторінок з довгим контентом */
.about.legal-page {
  margin-bottom: 120px;
  padding-bottom: 40px;
}

.about.legal-page .sec-content {
  max-width: 100%;
}

.about.legal-page .sec-content h4 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
  color: var(--main-color);
}

.about.legal-page .sec-content h4:first-child {
  margin-top: 0;
}

.about.legal-page .sec-content p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.about.legal-page .sec-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.about.legal-page .sec-content ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 15px;
}

.about.legal-page .sec-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--main-color);
  font-weight: bold;
}
