/**
* Template Name: Techie (Enhanced)
* Template URL: https://bootstrapmade.com/techie-free-skin-bootstrap-3/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
* Enhancements: Modern animations, SEO, accessibility, performance
*/

/*--------------------------------------------------------------
# CSS Custom Properties
--------------------------------------------------------------*/
:root {
  --primary: #5846f9;
  --primary-dark: #7b27d8;
  --primary-light: #8577fb;
  --primary-gradient: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  --primary-gradient-reverse: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  --hero-gradient: linear-gradient(135deg, rgba(86, 58, 250, 0.92) 0%, rgba(116, 15, 214, 0.92) 100%);
  --dark: #2c4964;
  --text: #444444;
  --text-light: #848484;
  --bg-light: #f9f8ff;
  --white: #fff;
  --shadow-sm: 0 2px 15px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --radius: 5px;
  --radius-lg: 12px;
  --transition: all 0.3s ease-in-out;
  --transition-slow: all 0.5s ease-in-out;
  --font-primary: "Open Sans", sans-serif;
  --font-heading: "Poppins", sans-serif;
  --font-alt: "Roboto", sans-serif;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

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

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

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/*--------------------------------------------------------------
# Scrollbar
--------------------------------------------------------------*/
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader:before {
  content: "";
  width: 60px;
  height: 60px;
  border: 4px solid var(--primary);
  border-top-color: #e7e4fe;
  border-radius: 50%;
  animation: animate-preloader 0.8s linear infinite;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

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

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

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 25px;
  z-index: 996;
  background: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.back-to-top i {
  font-size: 28px;
  color: var(--white);
  line-height: 0;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: var(--transition-slow);
  z-index: 997;
  padding: 20px 0;
  /* backdrop-filter: blur(0px); */
}

#header.header-scrolled {
  background: rgba(24, 6, 185, 0.9);
  padding: 10px 0;
  /* backdrop-filter: blur(0px); */
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#header .logo {
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--white);
}

#header .logo strong {
  color: orange;
}

#header .logo span {
  color: dodgerblue;
  font-weight: 500;
  transition: var(--transition);
}

#header .logo:hover span {
  color: var(--white);
}

#header .logo img {
  max-height: 50px;
  transition: var(--transition);
}

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

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

.navbar li {
  position: relative;
}

.navbar>ul>li {
  padding: 10px 0 10px 24px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  transition: 0.3s;
  position: relative;
}

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

.navbar>ul>li>a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--white);
  visibility: hidden;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
  visibility: visible;
  width: 100%;
}

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

.mobile-nav-toggle {
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
  background: none;
  border: none;
  padding: 0;
}

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

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(28, 47, 65, 0.95);
  transition: 0.3s;
  z-index: 999;
  backdrop-filter: blur(5px);
}

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

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: var(--white);
  overflow-y: auto;
  transition: 0.3s;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.navbar-mobile>ul>li {
  padding: 0;
}

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

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  min-height: 100vh;
  background: var(--hero-gradient), url("../img/hero-bg.jpg") center center no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

#hero .container,
#hero .container-fluid {
  padding-top: 84px;
  position: relative;
  z-index: 2;
}

#hero .hero-title {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

#hero .hero-brand strong {
  color: orange;
}

#hero .hero-brand span {
  color: dodgerblue;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  margin: 15px 0 0 0;
  font-size: 22px;
  font-weight: 400;
  min-height: 40px;
}

.typed-cursor {
  animation: blink 0.7s infinite;
  color: var(--white);
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

.hero-cta {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

#hero .btn-get-started {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  transition: var(--transition);
  color: var(--white);
  background: var(--primary);
  border: 2px solid var(--primary);
}

#hero .btn-get-started:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 70, 249, 0.4);
}

#hero .btn-learn-more {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 24px;
  border-radius: 50px;
  transition: var(--transition);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

#hero .btn-learn-more:hover {
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

#hero .animated {
  animation: up-down 2.5s ease-in-out infinite alternate-reverse both;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

@keyframes up-down {
  0% {
    transform: translateY(15px);
  }

  100% {
    transform: translateY(-15px);
  }
}

/* Hero Particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: float-particle 6s infinite;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 5%;
  animation-delay: 1s;
  width: 8px;
  height: 8px;
}

.particle:nth-child(3) {
  top: 30%;
  right: 20%;
  animation-delay: 2s;
}

.particle:nth-child(4) {
  top: 70%;
  right: 10%;
  animation-delay: 3s;
  width: 10px;
  height: 10px;
}

.particle:nth-child(5) {
  bottom: 20%;
  left: 50%;
  animation-delay: 4s;
}

.particle:nth-child(6) {
  top: 10%;
  right: 40%;
  animation-delay: 5s;
}

@keyframes float-particle {

  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }

  50% {
    transform: translateY(-80px) scale(1.5);
    opacity: 0.8;
  }
}

@media (min-width: 1200px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 991px) {
  #hero {
    text-align: center;
  }

  #hero .container,
  #hero .container-fluid {
    padding-top: 68px;
  }

  #hero .animated {
    animation: none;
  }

  #hero .hero-img {
    text-align: center;
  }

  #hero .hero-img img {
    width: 50%;
  }

  .hero-cta {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  #hero .hero-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  #hero .hero-img img {
    width: 60%;
  }
}

@media (max-width: 575px) {
  #hero .hero-img img {
    width: 80%;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  #hero .btn-get-started,
  #hero .btn-learn-more {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 575px),
(max-height: 600px) {
  #hero {
    min-height: auto;
    padding: 100px 0 60px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 80px 0;
  overflow: hidden;
}

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

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

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-gradient);
  bottom: 0;
  left: calc(50% - 30px);
  border-radius: 2px;
}

.section-title-light {
  color: var(--white);
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  padding-bottom: 20px;
}

.section-title p {
  margin-bottom: 0;
  color: var(--text-light);
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about {
  padding: 100px 0;
}

.about .content h2 {
  font-weight: 600;
  font-size: 32px;
  color: var(--dark);
}

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

.about .content ul li {
  padding-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.about .content ul i {
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.about .content .read-more {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 50px 12px 28px;
  border-radius: 50px;
  transition: var(--transition);
  color: var(--white);
  background: var(--primary-gradient);
  position: relative;
}

.about .content .read-more:hover {
  background: var(--primary-gradient-reverse);
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(88, 70, 249, 0.3);
}

.about .content .read-more i {
  font-size: 22px;
  transition: var(--transition);
}

.about .content .read-more:hover i {
  transform: translateX(5px);
}

/*--------------------------------------------------------------
# Client Logos (Counts)
--------------------------------------------------------------*/
.counts {
  background: linear-gradient(90deg, rgba(88, 70, 249, 0.85) 0%, rgba(123, 39, 216, 0.85) 100%), url("../img/counts-bg.png") center center no-repeat;
  background-size: cover;
  padding: 60px 0;
}

.client-carousel {
  overflow: hidden;
  position: relative;
}

.client-track {
  display: flex;
  animation: scroll-clients 18s linear infinite;
  gap: 20px;
}

.client-slide {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 50%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  transition: var(--transition);
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.client-logo:hover {
  transform: scale(1.1);
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

@keyframes scroll-clients {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.client-carousel:hover .client-track {
  animation-play-state: paused;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  padding: 50px 25px;
  transition: var(--transition);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.services .icon-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.services .icon-box:hover::before {
  transform: scaleX(1);
}

.services .icon-box:hover {
  border-color: #f0f0f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-8px);
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
}

.service-img {
  height: 100px;
  width: auto;
  transition: var(--transition);
  object-fit: contain;
}

.services .icon-box:hover .service-img {
  transform: scale(1.1) rotate(-3deg);
}

.services .icon-box h4 {
  font-weight: 600;
  margin: 15px 0;
  font-size: 20px;
}

.services .icon-box h4 a {
  color: var(--dark);
  transition: var(--transition);
}

.services .icon-box:hover h4 a {
  color: var(--primary);
}

.services .icon-box p {
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 0;
  color: var(--text-light);
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features .icon-box {
  padding: 15px 20px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.features .icon-box:hover {
  background: var(--bg-light);
  transform: translateX(8px);
}

.features .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 10px 60px;
  color: var(--dark);
}

.features .icon-box i {
  font-size: 48px;
  float: left;
  color: var(--primary);
  transition: var(--transition);
}

.features .icon-box:hover i {
  transform: scale(1.15);
}

.features .icon-box p {
  font-size: 15px;
  color: var(--text-light);
  margin-left: 60px;
}

.features .image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.features .image img {
  transition: var(--transition);
}

.features .image:hover img {
  transform: scale(1.02);
}

/*--------------------------------------------------------------
# Testimonials / Add-On
--------------------------------------------------------------*/
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
  padding: 10px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 4px solid var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  transition: var(--transition);
}

.testimonials .testimonial-item:hover .testimonial-img {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.testimonials .testimonial-item .bx.testimonial-img {
  background: var(--primary-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

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

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #b1a9fc;
  font-size: 26px;
}

.testimonials .testimonial-item p {
  margin: 0 15px;
  padding: 25px 25px 60px;
  background: var(--white);
  position: relative;
  border-radius: var(--radius-lg);
  z-index: 1;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.testimonials .testimonial-item:hover p {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--white);
  opacity: 1;
  border: 2px solid var(--primary);
  transition: var(--transition);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--primary);
  transform: scale(1.2);
}

@media (max-width: 767px) {
  .testimonials {
    margin: 30px 10px;
  }
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .box {
  padding: 30px 20px;
  background: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  border: 1px solid transparent;
}

.pricing .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-color: #f0f0f0;
}

.pricing .box.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 40px rgba(88, 70, 249, 0.15);
}

.pricing .box.featured:hover {
  box-shadow: 0 20px 60px rgba(88, 70, 249, 0.2);
}

.pricing h3 {
  font-weight: 600;
  margin: -30px -20px 20px -20px;
  padding: 25px 15px;
  font-size: 16px;
  color: var(--dark);
  background: #f8f8f8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing .featured h3 {
  color: var(--white);
  background: var(--primary-gradient);
}

.pricing h4 {
  font-size: 42px;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-alt);
  margin-bottom: 20px;
}

.pricing h4 sup {
  font-size: 24px;
  top: -0.3em;
}

.pricing h4 span {
  color: #bababa;
  font-size: 16px;
  font-weight: 400;
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: var(--text);
  text-align: center;
  line-height: 1.8;
  font-size: 14px;
}

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

.pricing .btn-wrap {
  margin: 20px -20px -30px -20px;
  padding: 20px 15px;
  background: #f8f8f8;
  text-align: center;
}

.pricing .btn-buy {
  background: var(--primary-gradient);
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-alt);
  font-weight: 600;
  transition: var(--transition);
}

.pricing .btn-buy:hover {
  background: var(--primary-gradient-reverse);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 70, 249, 0.3);
  color: var(--white);
}

.pricing .advanced {
  width: 200px;
  position: absolute;
  top: 20px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 13px;
  padding: 5px 0;
  background: var(--primary-gradient);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/
.faq {
  background: var(--primary-gradient);
}

.faq .section-title h2,
.faq .section-title p {
  color: var(--white);
}

.faq .section-title h2::after {
  background: rgba(255, 255, 255, 0.6);
}

.faq .faq-list {
  padding: 0 100px;
}

.faq-item {
  margin-bottom: 15px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.faq-item details {
  padding: 25px 30px;
  cursor: pointer;
}

.faq-item details summary {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-alt);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-item details summary::-webkit-details-marker {
  display: none;
}

.faq-item details summary .icon-help {
  font-size: 24px;
  color: var(--primary-light);
  flex-shrink: 0;
}

.faq-item details summary span {
  flex: 1;
}

.faq-item details summary .icon-show,
.faq-item details summary .icon-close {
  font-size: 20px;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item details:not([open]) summary .icon-show {
  display: inline-block;
}

.faq-item details:not([open]) summary .icon-close {
  display: none;
}

.faq-item details[open] summary .icon-show {
  display: none;
}

.faq-item details[open] summary .icon-close {
  display: inline-block;
  color: var(--primary);
}

.faq-item details[open] summary {
  color: var(--primary);
}

.faq-item details p {
  margin: 15px 0 0 36px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  color: var(--text);
  line-height: 1.7;
}

@media (max-width: 1200px) {
  .faq .faq-list {
    padding: 0;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: var(--text);
  text-align: center;
  box-shadow: 0 5px 30px rgba(214, 215, 216, 0.5);
  padding: 30px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.contact .info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(214, 215, 216, 0.6);
}

.contact .info-box i {
  font-size: 36px;
  color: var(--primary);
  border-radius: 50%;
  padding: 10px;
  transition: var(--transition);
}

.contact .info-box:hover i {
  transform: scale(1.15);
}

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

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

.contact .php-email-form {
  box-shadow: 0 5px 30px rgba(214, 215, 216, 0.5);
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
}

.contact .php-email-form .error-message {
  display: none;
  color: var(--white);
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
  border-radius: var(--radius);
}

.contact .php-email-form .sent-message {
  display: none;
  color: var(--white);
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  border-radius: var(--radius);
}

.contact .php-email-form .loading {
  display: none;
  background: var(--white);
  text-align: center;
  padding: 15px;
  border-radius: var(--radius);
}

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

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: var(--radius);
  box-shadow: none;
  font-size: 14px;
  border: 2px solid #e8e8e8;
  transition: var(--transition);
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(88, 70, 249, 0.1);
}

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

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

.contact .php-email-form button[type=submit] {
  background: var(--primary-gradient);
  border: 0;
  padding: 14px 36px;
  color: var(--white);
  transition: var(--transition);
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--primary-gradient-reverse);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 70, 249, 0.3);
}

.contact .php-email-form .invalid-feedback {
  display: none;
  font-size: 13px;
  color: #ed3c0d;
  margin-top: 5px;
}

.contact .php-email-form .was-validated .form-control:invalid~.invalid-feedback,
.contact .php-email-form .form-control.is-invalid~.invalid-feedback {
  display: block;
}

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

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

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: var(--white);
  font-size: 14px;
  background: var(--hero-gradient), url("../img/hero-bg.jpg") center center no-repeat;
  background-size: cover;
  position: relative;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  position: relative;
}

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

#footer .footer-top .footer-contact h3 {
  font-size: 26px;
  margin: 0 0 30px 0;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.9);
}

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

#footer .footer-top h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-light);
}

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

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

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

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

#footer .footer-top .footer-links ul a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: var(--white);
  padding-left: 5px;
}

#footer .footer-newsletter {
  font-size: 15px;
}

#footer .footer-newsletter form {
  margin-top: 20px;
  background: var(--white);
  padding: 6px 10px;
  position: relative;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  overflow: hidden;
}

#footer .footer-newsletter form input[type=email] {
  border: 0;
  padding: 8px 12px;
  flex: 1;
  min-width: 0;
  font-size: 14px;
}

#footer .footer-newsletter form input[type=email]:focus {
  outline: none;
}

#footer .footer-newsletter form input[type=submit] {
  border: 0;
  background: var(--primary-dark);
  color: var(--white);
  padding: 10px 24px;
  transition: var(--transition);
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

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

#footer .copyright-wrap {
  border-top: 1px solid rgba(133, 119, 251, 0.3);
}

#footer .social-links a {
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  line-height: 1;
  padding: 8px;
  margin-right: 4px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: var(--transition);
}

#footer .social-links a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Motion animation base states
--------------------------------------------------------------*/
.motion-safe * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Motion enhanced hover lift */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.17, 0.55, 0.55, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(88, 70, 249, 0.15);
}

/*--------------------------------------------------------------
# Enhanced responsive breakpoints
--------------------------------------------------------------*/
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .about {
    padding: 60px 0;
  }

  .about .content h2 {
    font-size: 24px;
  }

  .pricing .box {
    margin-bottom: 20px;
  }

  .faq-item details {
    padding: 20px;
  }

  .client-slide {
    flex: 0 0 150px;
  }

  .client-logo {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 576px) {
  .hero-cta {
    flex-direction: column;
  }

  .hero-cta a {
    width: 100%;
    text-align: center;
  }

  .pricing .box.featured {
    transform: none !important;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}