/* Fonts */
:root {
  --default-font: "Raleway", sans-serif, "Open Sans", sans-serif;
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Raleway", sans-serif;
}

/* Global Colors - Unified Tech Color Scheme */
:root {
  --background-color: #ffffff;
  /* Clean white background */
  --default-color: #4a5568;
  /* Professional dark gray for text */
  --heading-color: #2d3748;
  /* Darker gray for headings */
  --accent-color: #6366f1;
  /* Primary tech purple */
  --accent-secondary: #8b5cf6;
  /* Secondary purple */
  --accent-tertiary: #3b82f6;
  /* Tech blue for variety */
  --contrast-color: #ffffff;
  /* White for contrast */
  --success-color: #10b981;
  /* Green for success states */
  --warning-color: #f59e0b;
  /* Amber for warnings */
  --error-color: #ef4444;
  /* Red for errors */
}

/* Background variations */
:root {
  --bg-light: #f8fafc;
  /* Very light gray */
  --bg-section: #f1f5f9;
  /* Light section background */
  --bg-card: #ffffff;
  /* Card background */
  --bg-hover: rgba(99, 102, 241, 0.05);
  /* Subtle hover background */
}

/* Text variations */
:root {
  --text-primary: #1e293b;
  /* Primary text */
  --text-secondary: #64748b;
  /* Secondary text */
  --text-muted: #94a3b8;
  /* Muted text */
  --text-light: #cbd5e1;
  /* Light text */
}

/* Nav Menu Colors - Updated for tech theme */
:root {
  --nav-color: #475569;
  --nav-hover-color: #6366f1;
  /* Primary tech purple */
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #475569;
  --nav-dropdown-hover-color: #6366f1;
}

/* Template Custom Colors */
:root {
  --alt-background-color: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
  --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

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

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
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: var(--accent-secondary);
  text-decoration: none;
}

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: #ffffff;
  --default-color: var(--text-primary);
  --heading-color: var(--text-primary);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 8px 0;
  transition: all 0.5s;
  z-index: 997;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.1);
}

#header .logo {
  font-size: 32px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#header .logo a {
  color: var(--accent-color);
}

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

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(99, 102, 241, 0.15);
}

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

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

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

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

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: var(--gradient-primary);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

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

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

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 12px;
    z-index: 99;
    box-shadow: 0px 10px 40px rgba(99, 102, 241, 0.15);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

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

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--accent-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

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

  .navmenu ul {
    display: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 12px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0px 10px 40px rgba(99, 102, 241, 0.15);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: rgba(99, 102, 241, 0.1);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

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

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--bg-light);
    transition: all 0.5s ease-in-out;
    border-radius: 8px;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(99, 102, 241, 0.05);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(99, 102, 241, 0.03);
  }

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

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

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

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

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  background: var(--bg-section);
  padding: 30px 0;
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
}

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

.footer .social-links {
  margin-top: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-size: 16px;
  color: var(--accent-color);
  margin: 0 5px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--contrast-color);
  background: var(--gradient-primary);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.footer .credits {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
}

.footer .credits a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# 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-secondary) 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: var(--gradient-primary);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

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

.scroll-top:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

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

/*--------------------------------------------------------------
# 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 {
  --background-color: var(--bg-light);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

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

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

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

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: var(--text-muted);
}

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

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-color);
  font-size: 14px;
  margin-bottom: 5px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 12px 40px;
  background: var(--gradient-primary);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.portfolio-details .portfolio-description {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: var(--bg-light);
  margin-bottom: 50px;
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 4px solid var(--accent-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
  color: var(--heading-color);
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: var(--accent-color);
  font-size: 26px;
  line-height: 0;
  opacity: 0.5;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
  color: var(--text-secondary);
}

.portfolio-details .portfolio-details-slider .smaller-image {
  width: 40%;
  height: 40%;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details {
  background: var(--background-color);
}

.service-details .services-list {
  padding: 20px 30px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  margin-bottom: 20px;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(99, 102, 241, 0.08);
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 12px 0 12px 15px;
  border-left: 3px solid rgba(99, 102, 241, 0.2);
  margin: 15px 0;
  color: var(--text-secondary);
  transition: 0.3s;
  border-radius: 0 8px 8px 0;
  font-weight: 500;
}

.service-details .services-list a.active {
  color: var(--accent-color);
  font-weight: 700;
  border-color: var(--accent-color);
  background: rgba(99, 102, 241, 0.05);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: rgba(99, 102, 241, 0.05);
  transform: translateX(5px);
}

.service-details .services-img {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--heading-color);
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.service-details p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

.service-details ul li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  color: var(--text-secondary);
}

.service-details ul i {
  font-size: 20px;
  margin-right: 12px;
  color: var(--accent-color);
  background: rgba(99, 102, 241, 0.1);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*--------------------------------------------------------------
# Badges Section
--------------------------------------------------------------*/
.badges-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.badges-section .section-title h2 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badges-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 100px;
}

.badge-item {
  width: 150px;
  height: 150px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--bg-card);
  padding: 15px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.badge-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
}

.badge-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.1);
}

.badge-item a {
  display: block;
  width: 100%;
  height: 100%;
}

/*--------------------------------------------------------------
# Responsive Design Improvements
--------------------------------------------------------------*/
@media (max-width: 1199px) {
  .portfolio-header {
    flex-direction: column;
    text-align: center;
  }

  .profile-image-container {
    width: 150px;
    height: 150px;
  }

  .profile-image {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 991px) {
  .skills-section {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  
  .skill-grid {
    grid-template-columns: 1fr !important; /* Принудительно одна колонка */
    gap: 15px;
  }
  
  .skills-card {
    padding: 25px 20px;
    margin-bottom: 20px;
  }
  
  .skill-item {
    height: 50px;
    padding-left: 15px;
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .figma-skills-container {
    flex-direction: column !important;
    gap: 10px;
    align-items: stretch;
  }
  
  .figma-skill {
    width: 100% !important;
    justify-content: center;
    margin-bottom: 8px;
  }
}

@media (max-width: 768px) {
  .portfolio-header {
    flex-direction: column;
    text-align: center;
  }
  
  .profile-image-container {
    width: 150px;
    height: 150px;
  }
  
  .profile-image {
    width: 150px;
    height: 150px;
  }
}

/*--------------------------------------------------------------
# Additional Modern Enhancements
--------------------------------------------------------------*/

/* Gradient text utility class */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass morphism utility */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Pulse animation for important elements */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Floating animation for decorative elements */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.float {
  animation: float 3s ease-in-out infinite;
}

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

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

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

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

/* Selection color */
::selection {
  background: rgba(99, 102, 241, 0.2);
  color: var(--text-primary);
}

::-moz-selection {
  background: rgba(99, 102, 241, 0.2);
  color: var(--text-primary);
}

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  --background-color: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  width: 100%;
  min-height: calc(120vh - 92px);
  position: relative;
  padding: 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  inset: 0;
  z-index: 2;
}

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

.hero h2 {
  color: #fff;
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 36px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p span {
  letter-spacing: 1px;
  background: linear-gradient(45deg, #ffffff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

  .hero p {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# About Section - Portfolio Header
--------------------------------------------------------------*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-top: 40px;
}

.portfolio-header {
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0px 10px 40px rgba(99, 102, 241, 0.1);
  margin-bottom: 30px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.profile-image-container {
  position: relative;
  width: 200px;
  height: 200px;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0px 10px 30px rgba(99, 102, 241, 0.2);
}

.profile-image-border {
  position: absolute;
  top: -10px;
  right: -10px;
  bottom: -10px;
  left: -10px;
  border: 2px dashed var(--accent-color);
  border-radius: 25px;
  z-index: -1;
  animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {

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

  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

.profile-info {
  flex: 1;
}

.name {
  font-size: 32px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}

.title {
  font-size: 16px;
  font-weight: 500;
  color: var(--accent-color);
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.contact-details {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 12px;
  background: var(--bg-hover);
  border-radius: 8px;
}

.bio {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.7;
}

.skills-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.skills-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}

.skills-card h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skills-card h2:before {
  content: '';
  display: block;
  width: 8px;
  height: 25px;
  background: var(--gradient-primary);
  border-radius: 4px;
}

.skill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.skill-item {
  position: relative;
  height: 40px;
  padding-left: 15px;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: 8px;
  background: var(--bg-light);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.skill-item:hover {
  transform: translateX(5px);
}

.skill-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0.05) 100%);
  z-index: 0;
  border-radius: 8px;
  width: var(--width, 90%);
  animation: fillBar 1.5s ease-out forwards;
}

.skill-name {
  position: relative;
  z-index: 1;
}

.about-section {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.about-section h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-section h2:before {
  content: '';
  display: block;
  width: 8px;
  height: 25px;
  background: var(--gradient-primary);
  border-radius: 4px;
}

.about-content {
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-content p {
  margin-bottom: 15px;
}

.figma-skills {
  margin-top: 30px;
}

.figma-heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.figma-heading:before {
  content: '';
  display: block;
  width: 4px;
  height: 18px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.figma-skills-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.figma-skill {
  background: var(--bg-light);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.figma-skill:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
}

.figma-skill:before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
}

/* Animation for progress bars */
@keyframes fillBar {
  from {
    width: 0;
  }

  to {
    width: var(--width);
  }
}

/*-------------------------------------------------------
# Tool Section
------------------------------------------------------*/
.tools {
  padding: 60px 0;
  overflow: hidden;
  background: var(--bg-light);
}

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

.tools .section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tools .section-title h2::before {
  content: '';
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: rgba(99, 102, 241, 0.2);
  bottom: 1px;
  left: calc(50% - 60px);
}

.tools .section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

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

.tools-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.tools-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.tool-item {
  flex: 1;
  text-align: center;
  background: var(--bg-card);
  padding: 25px 20px;
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.1);
  position: relative;
  overflow: hidden;
}

.tool-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tool-item:hover:before {
  transform: scaleX(1);
}

.tool-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
  border-color: var(--accent-color);
}

.tool-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.tool-item:hover img {
  filter: grayscale(0%);
}

.tool-item h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.tool-item p {
  margin: 5px 0 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tools-row {
    flex-direction: column;
  }
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume {
  background: var(--background-color);
}

.resume .resume-title {
  font-size: 26px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 20px;
  color: var(--heading-color);
  position: relative;
  padding-left: 0;
}

/* Убираем все дополнительные подчеркивания у заголовков внутри резюме */
.resume .resume-title:before {
  display: none;
}

.resume .resume-item {
  padding: 20px;
  margin-bottom: 20px;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(99, 102, 241, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-left: none;
  /* Убираем цветную левую границу */
}

.resume .resume-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.resume .resume-item h4 {
  line-height: 18px;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 14px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-color);
  padding: 4px 12px;
  display: inline-block;
  font-weight: 500;
  margin-bottom: 10px;
  border-radius: 15px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
  color: var(--text-secondary);
}

.resume .resume-item:last-child {
  padding-bottom: 20px;
}

.resume .resume-item::before {
  display: none;
  /* Убираем все кружочки и левые элементы */
}

/* Исправляем подчеркивание для основного заголовка RESUME */
.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  border-radius: 2px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  background: var(--bg-light);
}

.services .service-item {
  box-shadow: 0px 10px 40px rgba(99, 102, 241, 0.1);
  padding: 40px 30px;
  transition: all ease-in-out 0.3s;
  border-radius: 18px;
  border-bottom: 5px solid var(--accent-color);
  height: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(99, 102, 241, 0.1);
  position: relative;
  overflow: hidden;
}

.services .service-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.services .service-item:hover:before {
  transform: scaleX(1);
}

.services .service-item .icon {
  color: var(--contrast-color);
  background: var(--gradient-primary);
  margin: 0;
  width: 64px;
  height: 64px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: ease-in-out 0.3s;
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
  color: var(--heading-color);
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  color: var(--text-secondary);
}

@media (min-width: 1365px) {
  .services .service-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0px 20px 60px rgba(99, 102, 241, 0.2);
  }

  .services .service-item:hover h3 {
    color: var(--accent-color);
  }

  .services .service-item:hover .icon {
    background: var(--gradient-secondary);
    transform: scale(1.1);
  }
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
  --default-color: #ffffff;
  --background-color: var(--gradient-primary);
  position: relative;
  padding: 120px 0;
}

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

.stats:before {
  content: "";
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(139, 92, 246, 0.8) 100%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

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

.stats .stats-item {
  padding: 30px;
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.stats .stats-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stats .stats-item span {
  font-size: 48px;
  display: block;
  color: var(--default-color);
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/*--------------------------------------------------------------
# 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: 16px;
  font-weight: 600;
  margin: 0 10px;
  line-height: 1;
  text-transform: uppercase;
  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-item {
  position: relative;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  padding: 15px;
  border-radius: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

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

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 20px;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing {
  background: var(--bg-light);
}

.pricing .pricing-item {
  border-bottom: 1px dashed rgba(99, 102, 241, 0.3);
  width: 100%;
  height: 100%;
  padding: 0 0 15px 0;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(99, 102, 241, 0.08);
  transition: transform 0.3s ease;
}

.pricing .pricing-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.pricing .pricing-item h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
}

.pricing .pricing-item h4 {
  margin: 0;
  font-size: 16px;
  color: var(--accent-color);
  font-weight: 600;
}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.faq {
  background: var(--background-color);
}

.faq .content h3 {
  font-weight: 600;
  font-size: 34px;
  color: var(--heading-color);
}

.faq .content p {
  font-size: 15px;
  color: var(--text-secondary);
}

.faq .faq-container .faq-item {
  position: relative;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px rgba(99, 102, 241, 0.1);
  overflow: hidden;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
}

.faq .faq-container .faq-item:hover {
  box-shadow: 0px 10px 35px rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}

.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;
  color: var(--heading-color);
}

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

.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;
  color: var(--text-secondary);
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
  color: var(--accent-color);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.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);
  background: var(--accent-color);
  color: white;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  --default-color: #ffffff;
  --background-color: var(--gradient-primary);
  --heading-color: #ffffff;
  padding: 80px 0;
  position: relative;
}

.testimonials:before {
  content: "";
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(139, 92, 246, 0.9) 100%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

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

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

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  margin: 0 auto;
}

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

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin: 0 0 15px 0;
  color: rgba(255, 255, 255, 0.8);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: rgba(255, 255, 255, 0.6);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
  color: rgba(255, 255, 255, 0.9);
}

.testimonials .swiper-wrapper {
  height: auto;
}

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 0.7;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  opacity: 1;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  background: var(--bg-light);
}

.contact .info-wrap {
  box-shadow: 0px 10px 40px rgba(99, 102, 241, 0.1);
  padding: 30px;
  margin-bottom: 64px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.contact .info-item i {
  font-size: 20px;
  color: var(--contrast-color);
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  background: var(--gradient-primary);
  margin-right: 15px;
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.contact .info-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 2px 0;
  color: var(--heading-color);
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.contact .info-item:hover i {
  background: var(--gradient-secondary);
  transform: scale(1.1);
}

.contact .php-email-form {
  box-shadow: 0px 10px 40px rgba(99, 102, 241, 0.1);
  padding: 30px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

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

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

.contact .php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: var(--success-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 8px;
}

.contact .php-email-form .loading {
  display: none;
  background: var(--bg-light);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  border-radius: 8px;
}

.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 var(--accent-color);
  border-top-color: transparent;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 12px 15px;
  box-shadow: none;
  border-radius: 8px;
  color: var(--text-primary);
  background-color: var(--bg-light);
  border: 2px solid rgba(99, 102, 241, 0.1);
  transition: border-color 0.3s ease;
}

.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);
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--gradient-primary);
  border: 0;
  padding: 12px 30px;
  transition: 0.4s;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

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

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

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details {
  background: var(--background-color);
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
  border-radius: 12px;
}

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.9);
  background: var(--gradient-primary);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background: var(--gradient-secondary);
  transform: scale(1.1);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

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

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: rgba(99, 102, 241, 0.3);
  opacity: 1;
}

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

.portfolio-details .portfolio-info {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--heading-color);
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;}
