/* Variables using CSS custom properties */
:root {
  --primary-color: #6e42e5;
  --secondary-color: #3b9ae2;
  --accent-color: #f44c7f;
  --dark-bg: #0a0b14;
  --darker-bg: #060713;
  --card-bg: #12131e;
  --text-color: #e6e7ee;
  --text-muted: #8a8ea0;
  --border-radius: 8px;
  --transition-speed: 0.4s;
}

/* Global Styles */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  background-color: var(--dark-bg);
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 35vh;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.10) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1100;
}

/* Scroll offset for fixed header */
section {
  scroll-margin-top: 80px;
}

.kfg-website {
  font-family: 'Poppins', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-color);
  overflow-x: hidden;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Animation Classes */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-up {
  transform: translateY(30px);
}

.fade-in {
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(110, 66, 229, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 13px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

/* Navigation - Fixed positioning and alignment issues */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(10, 11, 20, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  border-bottom: none;
}

/* Text Logo */
.main-nav .logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1001;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}

.main-nav .logo .logo-img-wrapper {
  height: 65px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.main-nav .logo .logo-img {
  height: 260px;
  width: auto;
  display: block;
}

.main-nav .logo .logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: -0.5px;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
}

.main-nav .logo:hover .logo-text {
  background: linear-gradient(135deg, #764ba2, #667eea);
  -webkit-background-clip: text;
  background-clip: text;
  transform: scale(1.05);
}

.main-nav .logo .logo-highlight {
  background: linear-gradient(135deg, #ff6b6b, #feca57);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.main-nav .logo:hover .logo-highlight {
  background: linear-gradient(135deg, #feca57, #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
}

/* KFG Attribution */
.kfg-attribution {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.8;
}

.kfg-text {
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}

.kfg-attribution a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.kfg-attribution a:hover {
  transform: scale(1.1);
}

.kfg-logo {
  height: 12px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.main-nav .logo:hover .kfg-attribution {
  opacity: 1;
}

.main-nav .logo:hover .kfg-logo {
  opacity: 1;
}

/* Nav links improvements - fixed visibility issues */
.main-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav .nav-links .nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 5px 0;
  cursor: pointer;
  transition: color 0.3s;
  white-space: nowrap; /* Prevent text wrapping */
}

.main-nav .nav-links .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: width 0.3s;
}

.main-nav .nav-links .nav-link:hover {
  color: white;
}

.main-nav .nav-links .nav-link:hover::after {
  width: 100%;
}

.main-nav .nav-links .nav-link.cta-link {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(110, 66, 229, 0.3);
}

.main-nav .nav-links .nav-link.cta-link::after {
  display: none;
}

.main-nav .nav-links .nav-link.cta-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(110, 66, 229, 0.5);
}

/* Language Selector Styles */
.language-selector {
  position: relative;
  margin-left: 20px;
  z-index: 1002;
}

.current-language {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  min-width: 80px;
  justify-content: center;
}

.current-language:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.current-language .flag-icon {
  font-size: 16px;
}

.current-language .language-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
}

.current-language i {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.language-selector.show .current-language i {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: rgba(18, 19, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  min-width: 140px;
  overflow: hidden;
}

.language-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background: rgba(110, 66, 229, 0.1);
}

.language-option .flag-icon {
  font-size: 16px;
}

.language-option span:last-child {
  font-size: 14px;
  color: var(--text-color);
  font-weight: 500;
}

/* Improved mobile menu toggle */
.main-nav .mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001; /* Ensure toggle stays above mobile menu */
}

.main-nav .mobile-menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/* Mobile improvements */
@media (max-width: 768px) {
  
  .main-nav {
    padding: 12px 5%;
  }
  
  .main-nav .logo .logo-text {
    font-size: 1.2rem;
  }

  .main-nav .logo .logo-img-wrapper {
    height: 50px;
    overflow: visible;
    max-width: 60vw;
  }

  .main-nav .logo .logo-img {
    height: auto;
    max-height: 50px;
    max-width: 100%;
    object-fit: contain;
  }

  .kfg-attribution {
    margin-top: 3px;
    font-size: 0.65rem;
    gap: 3px;
  }

  .kfg-logo {
    height: 10px;
  }
  
  /* Language selector mobile styles */
  .language-selector {
    margin-left: 15px;
    margin-right: 10px;
  }
  
  .current-language {
    padding: 6px 10px;
    min-width: 70px;
  }
  
  .current-language .flag-icon {
    font-size: 14px;
  }
  
  .current-language .language-text {
    font-size: 12px;
  }
  
  .language-dropdown {
    right: -10px;
    min-width: 120px;
  }
  
  .language-option {
    padding: 10px 14px;
  }
  
  .language-option .flag-icon {
    font-size: 14px;
  }
  
  .language-option span:last-child {
    font-size: 13px;
  }
  
  /* Improved mobile menu toggle */
  .main-nav .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
    cursor: pointer;
    z-index: 1002;
  }
  
  /* Fixed positioning of mobile dropdown menu */
  .main-nav .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(6, 7, 19, 0.98);
    display: none;
    flex-direction: column;
    justify-content: flex-start; /* Start from top */
    align-items: center;
    padding-top: 80px; /* Space below header */
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto; /* Allow scrolling if needed */
  }
  
  /* Show mobile menu properly */
  .main-nav .nav-links.show-mobile {
    display: flex;
    opacity: 1;
  }
  
  /* Improve menu item spacing and visibility */
  .main-nav .nav-links .nav-link {
    font-size: 20px;
    padding: 15px 0;
    margin: 5px 0;
    width: 80%; /* Make links wider for better tappability */
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Last item doesn't need border */
  .main-nav .nav-links .nav-link:last-child {
    border-bottom: none;
  }
  
  /* Make CTA button stand out */
  .main-nav .nav-links .nav-link.cta-link {
    margin-top: 20px;
    padding: 15px 30px;
    border: none;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  }
}

/* Small screen adjustments */
@media (max-width: 576px) {
  .main-nav {
    padding: 12px 5%;
  }
  
  .main-nav .logo .logo-text {
    font-size: 1.1rem;
  }

  .main-nav .logo .logo-img-wrapper {
    height: 42px;
    max-width: 55vw;
  }

  .main-nav .logo .logo-img {
    max-height: 42px;
  }

  .kfg-attribution {
    margin-top: 2px;
    font-size: 0.6rem;
    gap: 2px;
  }

  .kfg-logo {
    height: 9px;
  }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 80px 5% 50px;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
  background-color: var(--dark-bg);
}

.hero-section .stars-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
              radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
              radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
              radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
              radial-gradient(circle at 90% 50%, rgba(255, 255, 255, 0.2) 1px, transparent 2px),
              var(--darker-bg);
  background-size: 100px 100px, 150px 150px, 100px 100px, 200px 200px, 300px 300px;
  opacity: 0.2;
  z-index: -1;
}

.hero-section .hero-content {
  max-width: 900px;
}

.hero-section .hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero-section .hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section .hero-content .typewriter-text {
  position: relative;
  display: block;
}

.hero-section .hero-content .typewriter-text::after {
  content: '|';
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-section .hero-content .cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

@media (max-width: 568px) {
  .hero-section .hero-content .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

.hero-section .scroll-indicator {
  margin-top: 60px;
  z-index: 10;
  display: flex;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-section .scroll-indicator .mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-section .scroll-indicator .mouse .wheel {
  width: 6px;
  height: 10px;
  background-color: white;
  border-radius: 3px;
  animation: wheel 1.5s infinite;
}

@keyframes wheel {
  0% { transform: translateY(-10px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

.hero-section .scroll-indicator .arrow-down {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
  margin-top: 10px;
  animation: arrow 1.5s infinite;
}

@keyframes arrow {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2.2rem;
  }
}

/* Portfolio Section */
.portfolio-section {
  padding: 100px 5%;
  background-color: var(--darker-bg);
}

@media (max-width: 768px) {
  .portfolio-section {
    padding: 70px 5%;
  }
}

.portfolio-section .video-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 60px;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.portfolio-section .video-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .portfolio-section .video-container {
    height: 300px;
  }
}

.portfolio-section .video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-section .video-container .video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.portfolio-section .video-container .video-overlay h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .portfolio-section .video-container .video-overlay h3 {
    font-size: 1.5rem;
  }
}

.portfolio-section .video-container .video-overlay .play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.portfolio-section .video-container .video-overlay .play-btn:hover {
  transform: scale(1.1);
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.portfolio-section .video-container .video-overlay .play-btn i {
  font-size: 30px;
  color: white;
}

.portfolio-section .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.portfolio-section .portfolio-grid .portfolio-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.portfolio-section .portfolio-grid .portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.portfolio-section .portfolio-grid .portfolio-item .portfolio-image {
  width: 350px;
  height: 250px;
  overflow: hidden;
}

.portfolio-section .portfolio-grid .portfolio-item .portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-section .portfolio-grid .portfolio-item .portfolio-image .portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 20, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.portfolio-section .portfolio-grid .portfolio-item .portfolio-image:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-section .portfolio-grid .portfolio-item .portfolio-image .portfolio-overlay h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.portfolio-section .portfolio-grid .portfolio-item .portfolio-image .portfolio-overlay p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Pulsanti portfolio migliorati */
.portfolio-item .more-details-btn {
  background: rgba(110, 66, 229, 0.2);
  border: 2px solid var(--primary-color);
  color: white;
  padding: 18px 22px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 0.5px;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
}

.portfolio-item .more-details-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: all 0.5s ease;
  z-index: -1;
}

.portfolio-item .more-details-btn:hover {
  box-shadow: 0 10px 20px rgba(110, 66, 229, 0.4);
  color: white;
}

.portfolio-item .more-details-btn:hover::before {
  left: 0;
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* About Us Section */
.about-section {
  padding: 100px 5%;
}

@media (max-width: 768px) {
  .about-section {
    padding: 70px 5%;
  }
}

.about-section .about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-section .team-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 20px;
  gap: 25px;
  margin-bottom: 60px;
  position: relative;
  max-width: calc(100% - 40px);
  margin-left: auto;
  margin-right: auto;
  
  /* Prevent horizontal scrolling on wheel - key property */
  overscroll-behavior-x: none;
}

/* Ensure team member cards display correctly */
.about-section .team-grid .team-member {
  flex: 0 0 320px;
  scroll-snap-align: start;
  margin-right: 0;
  margin-bottom: 10px;
  z-index: 5; /* Make sure cards appear above gradients */
  position: relative;
}

@media (max-width: 992px) {
  .about-section .team-grid .team-member {
    flex: 0 0 300px;
  }
}

@media (max-width: 768px) {
  .about-section .team-grid .team-member {
    flex: 0 0 280px;
  }
}

@media (max-width: 576px) {
  .about-section .team-grid .team-member {
    flex: 0 0 260px;
  }
}

.about-section .team-grid .team-member {
  background: rgba(18, 19, 30, 0.6);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(110, 66, 229, 0.1);
}

.about-section .team-grid .team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.about-section .team-grid .team-member .member-info {
  padding: 0 20px 25px;
}

.about-section .team-grid .team-member .member-info .member-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(110, 66, 229, 0.2);
  min-height: 60px;
}

.about-section .team-grid .team-member .member-info .member-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
  line-height: 1.2;
  color: var(--text-color);
  max-width: 75%;
}

.about-section .team-grid .team-member .member-info h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.about-section .team-grid .team-member .member-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-section .team-grid .team-member .member-info p strong {
  color: white;
  font-weight: 600;
}

.about-section .team-grid .team-member .member-info ul {
  margin-left: 5px;
  padding-left: 15px;
  margin-bottom: 20px;
}

.about-section .team-grid .team-member .member-info ul li {
  margin-bottom: 10px;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.about-section .team-grid .team-member .member-info ul li strong {
  color: white;
  font-weight: 600;
}

.about-section .values-container .values-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-section .values-container .values-header h2 {
  font-size: 2.5rem;
}

.about-section .values-container .values-header h3 {
  font-size: 2rem;
}

.about-section .values-container .values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-content: center;
  margin: 0 auto;
}

.about-section .values-container .values-grid .value-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.about-section .values-container .values-grid .value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.about-section .values-container .values-grid .value-card .value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(45deg, rgba(110, 66, 229, 0.1), rgba(59, 154, 226, 0.1));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
}

.about-section .values-container .values-grid .value-card .value-icon i {
  font-size: 28px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-section .values-container .values-grid .value-card h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.about-section .values-container .values-grid .value-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}


/* Contact Section */
.contact-section {
  padding: 100px 5%;
  background-color: var(--darker-bg);
}

.contact-section .contact-container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Aggiusta padding interno senza disallineamento */
.contact-section .contact-info {
  padding: 25px 20px 25px 20px;
  box-sizing: border-box; /* Assicura che il padding sia incluso nelle dimensioni */
  width: calc(100% - 40px); /* Compensa il padding laterale */
  margin-left: auto;
  margin-right: auto;
}

/* Aumenta spaziatura interna delle card */
.contact-section .contact-info .info-card {
  margin: -15px 10px; /* Margine laterale per distanziarle dai bordi */
}

/* Migliora background del contenitore */
.contact-section .contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
  margin-bottom: 20px;
  grid-column: 1 / -1;
  background: linear-gradient(145deg, 
    rgba(25, 26, 36, 0.6), 
    rgba(15, 16, 22, 0.4)
  );
  border-radius: var(--border-radius);
  padding: 25px 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Ombra sottile */
}

/* Leggero effetto hover per le card */
.contact-section .contact-info .info-card:hover {
  background: rgba(255, 255, 255, 0.02); /* Leggera illuminazione al passaggio */
}

/* Adatta dimensioni card per rispettare padding ridotto */
.contact-section .contact-info .info-card {
  padding: 20px 15px;
}

/* Adatta padding dei metodi di contatto */
.contact-methods {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0; /* Rimuove eventuali padding */
}

/* Card uniformi con dimensioni fisse */
.contact-section .contact-info .info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border-radius: var(--border-radius);
  padding: 15px;
  height: 160px;
  border: none;
  box-shadow: none;
  transition: transform 0.3s ease;
}

/* Fix per le icone e l'effetto hover */
.contact-section .contact-info .info-icon {
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: transparent; /* Rimuove background dal contenitore esterno */
  box-shadow: none; /* Rimuove ombra dal contenitore esterno */
}

/* Effetti avanzati per le icone */
.contact-section .contact-info .info-icon .icon-circle {
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, rgba(110, 66, 229, 0.15), rgba(59, 154, 226, 0.1));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

/* Effetto brillantezza al passaggio */
.contact-section .contact-info .info-icon .icon-circle::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  top: -50%;
  left: -50%;
  opacity: 0;
  transition: all 0.6s ease;
  transform: scale(0);
  filter: blur(5px);
}

/* Hover più elegante e moderno */
.contact-section .contact-info .info-card:hover .info-icon .icon-circle {
  transform: translateY(-5px);
  box-shadow: 
    0 10px 25px rgba(110, 66, 229, 0.25),
    0 0 15px rgba(110, 66, 229, 0.15);
  background: linear-gradient(145deg, 
    rgba(110, 66, 229, 0.25), 
    rgba(59, 154, 226, 0.15),
    rgba(110, 66, 229, 0.20)
  );
}

/* Attivazione effetto brillantezza */
.contact-section .contact-info .info-card:hover .info-icon .icon-circle::after {
  opacity: 0.4;
  transform: scale(3);
  top: -20%;
  left: -20%;
}

/* Effetto pulsazione elegante per l'icona */
@keyframes gentle-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.contact-section .contact-info .info-card:hover .info-icon i {
  animation: gentle-pulse 1.5s infinite ease-in-out;
  text-shadow: 0 0 10px rgba(110, 66, 229, 0.5);
}

.contact-section .contact-info .info-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.contact-section .contact-info .info-content h4 {
  font-size: 16px;
  margin-bottom: 5px;
  color: white;
}

.contact-section .contact-info .info-content p {
  color: var(--text-muted);
  line-height: 1.4;
  font-size: 0.85rem;
  text-align: center;
}

/* Layout responsive ottimizzato */
@media (max-width: 992px) {
  .contact-section .contact-info {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 15px;
  }
  
  .contact-section .contact-info .info-card {
    height: 150px;
  }
}

@media (max-width: 576px) {
  .contact-section .contact-info {
    grid-template-columns: 1fr;
  }
  
}

/* Position map on the right side */
.map-container {
  grid-column: 2 / 3;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: auto;
  min-height: 350px;
  max-height: 400px;
  margin-top: 20px;
  align-self: start;
}

.contact-method-card {
  background: linear-gradient(145deg, var(--card-bg), rgba(18, 19, 30, 0.7));
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  min-height: 350px;
  justify-content: flex-start;
}

.contact-method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.contact-method-card .method-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(45deg, rgba(110, 66, 229, 0.1), rgba(59, 154, 226, 0.1));
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.contact-method-card .method-icon i {
  font-size: 30px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-method-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.contact-method-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.contact-method-card .method-button {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-top: auto;
  align-self: center;
}

.contact-method-card .method-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(110, 66, 229, 0.3);
}

/* Add underline to text only on hover */
.contact-method-card .method-button:hover span {
  text-decoration: underline;
}

/* Add span around button text in HTML */
.contact-method-card .method-button i {
  font-size: 16px;
}

/* Update specific method buttons to maintain consistency */
.contact-method-card.whatsapp .method-button,
.contact-method-card.phone .method-button,
.contact-card.email .method-button {
  text-decoration: none;
}

.contact-method-card.whatsapp .method-button:hover,
.contact-method-card.phone .method-button:hover,
.contact-method-card.email .method-button:hover {
  text-decoration: none;
}

.contact-method-card.whatsapp .method-icon {
  background: linear-gradient(45deg, rgba(37, 211, 102, 0.1), rgba(37, 211, 102, 0.2));
}

.contact-method-card.whatsapp .method-icon i {
  background: linear-gradient(90deg, #25d366, #128c7e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-method-card.whatsapp .method-button {
  background: linear-gradient(45deg, #25d366, #128c7e);
}

.contact-method-card.phone .method-icon {
  background: linear-gradient(45deg, rgba(59, 154, 226, 0.1), rgba(59, 154, 226, 0.2));
}

.contact-method-card.phone .method-icon i {
  background: linear-gradient(90deg, #3b9ae2, #2a7bbf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-method-card.phone .method-button {
  background: linear-gradient(45deg, #3b9ae2, #2a7bbf);
}

.contact-method-card.email .method-icon {
  background: linear-gradient(45deg, rgba(110, 66, 229, 0.1), rgba(110, 66, 229, 0.2));
}

.contact-method-card.email .method-icon i {
  background: linear-gradient(90deg, var(--primary-color), #8a65f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-method-card.email .method-button {
  background: linear-gradient(45deg, var(--primary-color), #8a65f0);
  font-size: 13px;
}

/* Responsive design for contact methods */
@media (max-width: 992px) {
  .contact-methods {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .contact-methods {
    grid-template-columns: 1fr;
  }
  
  .contact-method-card {
    padding: 25px;
  }
  
  .contact-method-card .method-icon {
    width: 60px;
    height: 60px;
  }
}

/* Enhanced Map Container */
.map-container {
  grid-column: 1 / -1;
  height: 320px;
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  transform: perspective(1000px) rotateX(3deg);
  transition: all 0.5s ease;
}

.map-container:hover {
  transform: perspective(1000px) rotateX(0deg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(0.9) contrast(1.2);
  transition: all 0.5s ease;
}

.map-container:hover iframe {
  filter: grayscale(0.5) invert(0.9) contrast(1.2);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, 
    rgba(110, 66, 229, 0.15), 
    rgba(59, 154, 226, 0.1),
    rgba(18, 19, 30, 0.2)
  );
  pointer-events: none;
  border-radius: var(--border-radius);
}

.map-container::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 5%;
  width: 90%;
  height: 20px;
  background: var(--primary-color);
  filter: blur(20px);
  opacity: 0.3;
  border-radius: 50%;
  z-index: -1;
  transition: all 0.5s ease;
}

.map-container:hover::after {
  opacity: 0.5;
  filter: blur(15px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .contact-section .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-section .contact-info {
    grid-column: 1 / -1;
  }
  
  .map-container {
    grid-column: 1 / -1;
    margin-top: 15px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .contact-section .contact-info {
    grid-column: 1 / -1;
  }
  
  .map-container {
    height: 250px;
  }
}

/* Footer avanzato con animazioni */
.site-footer {
  padding: 60px 5% 30px;
  background-color: var(--darker-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Effetto nebuloso nel background */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(110, 66, 229, 0.05), transparent 60%),
              radial-gradient(circle at bottom left, rgba(59, 154, 226, 0.05), transparent 60%);
  pointer-events: none;
}

/* Tech Stack Showcase */
.tech-stack-showcase {
  margin-bottom: 40px;
}

.tech-stack-title {
  text-align: center;
  margin-bottom: 25px;
}

.tech-stack-title h3 {
  font-size: 1.8rem;
  margin: 0;
}

/* Carosello dei loghi tecnologici */
.tech-stack-carousel {
  overflow: visible;
  position: relative;
  padding: 15px 0 10px;
  margin: 0 -5%;
  width: 110%;
}

.tech-logos {
  display: flex;
  animation: infiniteScroll 30s linear infinite;
  width: max-content;
}

/* Raddoppia i loghi nel DOM per un loop continuo */
.tech-logos::after {
  content: "";
  display: block;
  width: 20px; /* Spazio tra le due serie di loghi */
}

/* Nuova animazione per loop infinito */
@keyframes infiniteScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 10px)); } /* Scorre esattamente metà dei loghi + lo spazio */
}

/* Aumenta la durata dell'animazione per renderla più fluida */
.tech-logo {
  width: 70px;
  height: 70px;
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  color: var(--text-muted);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
  animation: float 3s ease-in-out infinite;
}

/* Effetto glow sul hover */
.tech-logo::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(110, 66, 229, 0.4), transparent 70%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transform: scale(0);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: blur(10px);
}

/* Effetto hover avanzato */
.tech-logo:hover {
  color: white;
  transform: scale(1.4) rotate(360deg);
  text-shadow: 0 0 20px rgba(110, 66, 229, 0.8);
}

.tech-logo:hover::before {
  opacity: 1;
  transform: scale(1.5);
}

/* Tooltip posizionato ancora più in alto */
.tech-logo::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -16px; /* Ridotto da -22px per posizionarlo più in alto */
  left: 50%;
  transform: translateX(-50%) scale(0);
  padding: 3px 7px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 10px;
  font-size: 8px;
  font-weight: 400;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  white-space: nowrap;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.tech-logo:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  bottom: -12px; /* Ridotto da -18px per mostrare il tooltip ancora più vicino all'icona */
}

/* Background scintillante per l'icona hover */
@keyframes sparkle {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.tech-logo:hover i {
  background: linear-gradient(90deg, #f5576c, #f093fb, #4facfe, #00f2fe, #6e42e5);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sparkle 3s ease infinite;
  font-weight: bold;
}

/* Divisore */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 30px 0;
}

/* Contenuto del footer */
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}


/* Parte inferiore del footer */
.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
}

.footer-copyright p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-copyright a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-copyright a:hover {
  color: var(--primary-color);
}

.footer-company-details {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 520px;
}

.footer-company-details p {
  margin: 0.35em 0;
}

/* Responsive */
@media (max-width: 768px) {
  .tech-stack-title h3 {
    font-size: 1.5rem;
  }
  
  .footer-info {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Style for the step images */
.step-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Specific sizing for hero section image */
.hero-section .step-image {
  max-width: 500px;
  margin-bottom: 30px;
}

/* Specific sizing for section header images */
.section-header .step-image {
  max-width: 600px;
  margin: 30px auto;
  display: block;
}

/* Media queries for step images on smaller screens */
@media (max-width: 768px) {
  .step-image {
    max-width: 90%;
  }
  
  .hero-section .step-image {
    max-width: 90%;
  }
  
  .section-header .step-image {
    max-width: 90%;
  }
}

.contact-section .contact-container .contact-form-container .contact-form .form-group textarea {
  resize: none;
  height: 120px;
}

/* Media queries for the values grid */
@media (max-width: 992px) {
  .about-section .values-container .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .about-section .values-container .values-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }
}

/* Stili forzati per il portfolio grid */
#portfolio-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .hero-section .hero-content h1 {
    font-size: 2.8rem; /* Riduci la dimensione del testo per mobile */
    line-height: 1.2;
  }
  
  .hero-section .hero-content h1 .gradient-text {
    font-size: 2.8rem; /* Leggermente più grande del testo normale */
    line-height: 1.2;
  }
}

/* Stile per foto profilo circolari */
.team-member .member-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 20px auto 20px;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  background: transparent;
  padding: 0;
}

.team-member .member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Mantiene le proporzioni riempiendo il cerchio */
  border-radius: 50%;
  transition: transform 0.5s ease;
}

.team-member:hover .member-photo img {
  transform: scale(1.1); /* Leggero zoom sull'hover */
}

/* Migliora anche l'effetto dell'icona LinkedIn */
.team-member .member-header .linkedin-icon {
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.team-member .member-header .linkedin-icon:hover {
  color: #0077B5; /* Colore ufficiale di LinkedIn */
  transform: translateY(-3px);
}

/* Team navigation arrows - Fixed viewport positioning with preserved styling */
.team-nav-arrows {
  position: fixed; /* Change to fixed for viewport positioning */
  width: 100%;
  height: 100vh; /* Full viewport height */
  top: 0; /* Position at the top of the viewport */
  left: 0;
  z-index: 50; /* Higher z-index to appear above content */
  pointer-events: none;
  display: none; /* Hidden by default, shown via JS when team section is in view */
}

/* Keep all the existing arrow styling unchanged */
.team-arrow {
  position: absolute;
  top: 50%; /* Center in the fixed container */
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(10, 11, 20, 0.85);
  border: 1px solid rgba(110, 66, 229, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  pointer-events: auto;
  opacity: 0.9;
  animation: pulse-arrow 2s infinite ease-in-out;
}

/* Keep all the hover styles */
.team-arrow:hover {
  background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
  box-shadow: 0 8px 20px rgba(110, 66, 229, 0.5);
  animation: none;
}

/* Keep icon styling */
.team-arrow i {
  color: white;
  font-size: 20px;
}

/* Keep positioning */
.team-arrow.left {
  left: 20px;
}

.team-arrow.right {
  right: 20px;
}

/* Don't hide arrows by default */
.team-nav-arrows {
  opacity: 1;
}

/* Add pulsing animation to make arrows more noticeable */
@keyframes pulse-arrow {
  0% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.05); }
  100% { transform: translateY(-50%) scale(1); }
}

.team-arrow {
  animation: pulse-arrow 2s infinite ease-in-out;
}

.team-arrow:hover {
  animation: none;
}

/* Media query for smaller screens - with much more space */
@media (max-width: 768px) {
  .team-nav-arrows {
    margin-top: -210px;
    margin-bottom: 310px; /* Increased from 290px */
  }
  
  .team-arrow {
    width: 40px;
    height: 40px;
  }
  
  .team-arrow.left {
    left: 15px;
  }
  
  .team-arrow.right {
    right: 15px;
  }
}

@media (max-width: 576px) {
  .team-nav-arrows {
    margin-top: -190px;
    margin-bottom: 290px; /* Increased from 270px */
  }
  
  .team-arrow {
    width: 38px;
    height: 38px;
  }
  
  .team-arrow.left {
    left: 10px;
  }
  
  .team-arrow.right {
    right: 10px;
  }
}

/* For very large screens, move arrows even closer to center */
@media (min-width: 1400px) {
  .team-arrow.left {
    left: 5%;
  }
  
  .team-arrow.right {
    right: 5%;
  }
}

/* What We Do Section */
.what-we-do {
  padding: 100px 5%;
  background-color: var(--darker-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 60px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background: var(--card-bg);
  padding: 35px;
  border-radius: 20px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px 0;
  font-size: 30px;
  color: white;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--text-color);
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card-img-wrapper {
  position: relative;
  display: block;
}

.service-card-img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.service-card-img-expand {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  border-radius: 7px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  opacity: 0.75;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.service-card-img-wrapper:hover .service-card-img-expand {
  opacity: 1;
  background: rgba(102, 126, 234, 0.85);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  cursor: default;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
}

#lightbox-video {
  display: none;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  cursor: default;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox.video-mode #lightbox-img { display: none; }
.lightbox.video-mode #lightbox-video { display: block; }

.step-card-video-wrapper {
  position: relative;
  display: block;
}

.step-card-video-expand {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  border-radius: 7px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  opacity: 0.75;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.step-card-video-wrapper:hover .step-card-video-expand {
  opacity: 1;
  background: rgba(102, 126, 234, 0.85);
}

/* Service Features List */
.service-features {
  margin-top: 20px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.5;
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 16px;
}

/* Live Examples Section */
.examples-section {
  padding: 100px 0;
  color: white;
}

.examples-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
  padding: 0 5%;
}

.example-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.example-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.example-video {
  position: relative;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.example-video:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.example-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

.video-placeholder {
  text-align: center;
  color: white;
}

.video-placeholder i {
  font-size: 48px;
  margin-bottom: 10px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.video-placeholder:hover i {
  opacity: 1;
  transform: scale(1.1);
}

.video-placeholder span {
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.example-content {
  padding: 30px;
}

.example-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: white;
}

.example-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: white;
  font-weight: 600;
}

.example-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 80px 0 60px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 1.1rem;
    margin: 20px 0 30px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
    max-width: none;
    padding: 0 10px;
  }
  
  .service-card {
    padding: 25px 20px;
    text-align: left;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin: 0 0 15px 0;
  }
  
  .service-card h3 {
    font-size: 20px;
  }
  
  .features-list li {
    font-size: 13px;
    padding: 6px 0;
    padding-left: 20px;
  }
  
  .features-list li::before {
    font-size: 14px;
  }
  
  /* Examples Section Mobile */
  .examples-section {
    padding: 60px 0;
  }
  
  .examples-container {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }
  
  .example-card {
    margin: 0 10px;
  }
  
  .example-video {
    height: 180px;
  }
  
  .video-placeholder i {
    font-size: 40px;
  }
  
  .video-placeholder span {
    font-size: 14px;
  }
  
  .example-content {
    padding: 25px 20px;
  }
  
  .example-card h3 {
    font-size: 20px;
  }
  
  .example-card p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .team-grid {
    padding: 0 10px;
  }
  
  .team-member {
    min-width: 260px !important;
    width: 260px !important;
    max-width: 260px !important;
  }
  
  .contact-form {
    padding: 40px 20px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-row {
    flex-direction: column;
  }
  
  .form-row .form-group {
    margin-right: 0;
  }
}

/* How It Works Section */
.how-it-works-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0a0b14 0%, #060713 50%, #12131e 100%);
  position: relative;
  overflow: hidden;
}

.how-it-works-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.how-it-works-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(102, 126, 234, 0.05) 40%,
    rgba(102, 126, 234, 0.1) 45%,
    rgba(118, 75, 162, 0.1) 50%,
    rgba(102, 126, 234, 0.1) 55%,
    rgba(102, 126, 234, 0.05) 60%,
    transparent 70%
  );
  animation: metallicReflection 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes metallicReflection {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
    opacity: 0;
  }
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 80px;
  padding: 0 5%;
  position: relative;
  z-index: 2;
}

.step-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 50px 30px 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: visible;
  margin-top: 25px;
}

.step-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.step-card::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 10%;
  width: 80%;
  height: 20px;
  background: rgba(169, 169, 169, 0.2);
  border-radius: 50%;
  filter: blur(15px);
  transition: all 0.4s ease;
}

.step-card:hover::after {
  bottom: -15px;
  filter: blur(20px);
  background: rgba(128, 128, 128, 0.3);
}

.step-number {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 
    0 6px 20px rgba(102, 126, 234, 0.4),
    0 2px 8px rgba(118, 75, 162, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.step-card:hover .step-number {
  transform: scale(1.1);
  box-shadow: 
    0 8px 25px rgba(102, 126, 234, 0.5),
    0 4px 12px rgba(118, 75, 162, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.step-content {
  margin-top: 20px;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 35px;
  color: #696969;
  border: 2px solid rgba(169, 169, 169, 0.2);
  box-shadow: 
    0 4px 15px rgba(169, 169, 169, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.step-card:hover .step-icon {
  color: #808080;
  box-shadow: 
    0 6px 20px rgba(169, 169, 169, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: scale(1.05);
}

.step-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--text-color);
  font-weight: 600;
}

.step-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 20px;
}

.step-card-video {
  width: 100%;
  height: auto;
  min-height: 180px;
  border-radius: 10px;
  display: block;
  background: rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Pricing Section */
.pricing-info {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  padding: 0 5%;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 600px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #a9a9a9, #808080, #696969);
  box-shadow: 0 3px 10px rgba(169, 169, 169, 0.4);
}

.pricing-card::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 5%;
  width: 90%;
  height: 25px;
  background: rgba(169, 169, 169, 0.2);
  border-radius: 50%;
  filter: blur(20px);
  transition: all 0.4s ease;
}

.pricing-card:hover::after {
  bottom: -20px;
  filter: blur(25px);
  background: rgba(128, 128, 128, 0.3);
}

.pricing-header {
  margin-bottom: 40px;
}

.pricing-header h3 {
  font-size: 28px;
  color: var(--text-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.pricing-header p {
  color: var(--text-muted);
  font-size: 16px;
}

.pricing-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.price-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin-bottom: 15px;
}

.currency {
  font-size: 24px;
  color: var(--text-muted);
  font-weight: 600;
}

.amount {
  font-size: 48px;
  color: var(--text-color);
  font-weight: 700;
  line-height: 1;
}

.period {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 500;
}

.price-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.price-divider {
  font-size: 32px;
  color: var(--text-muted);
  font-weight: 700;
  margin: 0 20px;
}

.pricing-cta {
  margin-top: 30px;
}

.pricing-cta .btn-primary {
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 
    0 8px 25px rgba(102, 126, 234, 0.3),
    0 4px 15px rgba(169, 169, 169, 0.2);
}

.pricing-cta .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 12px 30px rgba(102, 126, 234, 0.4),
    0 6px 20px rgba(169, 169, 169, 0.3);
}

/* New Pricing Packages Layout */
.pricing-info {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-info .pricing-header {
  text-align: center;
  margin-bottom: 50px;
  width: 100%;
  clear: both;
}

.pricing-info .pricing-header h3 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-info .pricing-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Pricing Sections Layout (single column so one section spans full width and stays centered) */
.pricing-sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  width: 100%;
  max-width: 1400px;
  margin: 30px auto 0;
}

.pricing-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.pricing-packages {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 1100px;
}

/* Override base .pricing-card { width: 100% } so two cards can sit in a row */
.pricing-packages .pricing-card {
  flex: 1 1 calc(50% - 15px);
  width: auto;
  min-width: 260px;
  max-width: 500px;
  position: relative;
  box-sizing: border-box;
}

.pricing-packages .pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--primary-color);
}

.pricing-packages .pricing-card.featured::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
}

.pricing-packages .pricing-card .pricing-header h4 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text-color);
}

.pricing-packages .pricing-card .pricing-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.pricing-packages .pricing-card .savings {
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .pricing-info {
    padding: 0 25px;
  }
  
  .pricing-packages {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
  }
  
  .pricing-packages .pricing-card {
    flex: none;
    min-width: 0;
    max-width: 100%;
    width: calc(100% - 20px);
    margin: 0 10px;
    box-sizing: border-box;
  }
  
  .pricing-packages .pricing-card.featured {
    transform: none;
    order: -1;
    margin-bottom: 20px;
  }
  
  .pricing-info .pricing-header h3 {
    font-size: 2rem;
  }
}

/* Mobile Responsive for How It Works */
@media (max-width: 768px) {
  .how-it-works-section {
    padding: 60px 0;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 60px;
    padding: 0 5%;
    position: relative;
    z-index: 2;
  }
  
  .step-card {
    padding: 40px 20px 30px;
    margin-top: 30px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 18px;
    top: -20px;
    right: 15px;
    box-shadow: 
      0 4px 15px rgba(102, 126, 234, 0.4),
      0 2px 6px rgba(118, 75, 162, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  }
  
  .step-icon {
    width: 70px;
    height: 70px;
    font-size: 30px;
  }
  
  .step-card h3 {
    font-size: 20px;
  }
  
  .step-card p {
    font-size: 14px;
  }
  
  .pricing-info {
    margin-top: 60px;
    position: relative;
    z-index: 2;
  }
  
  .pricing-card {
    padding: 40px 25px;
  }
  
  .pricing-header h3 {
    font-size: 24px;
  }
  
  .pricing-details {
    flex-direction: column;
    gap: 20px;
  }
  
  .price-divider {
    transform: rotate(90deg);
    margin: 10px 0;
  }
  
  .amount {
    font-size: 40px;
  }
  
  .pricing-cta .btn-primary {
    padding: 14px 30px;
    font-size: 16px;
  }
}

/* Additional Examples Section */
.additional-examples {
  margin-top: 80px;
  padding: 0 5%;
}

.section-subheader {
  text-align: center;
  margin-bottom: 50px;
}

.section-subheader h3 {
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-subheader p {
  font-size: 18px;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.additional-examples-scroll {
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(169, 169, 169, 0.3) transparent;
}

.additional-examples-scroll::-webkit-scrollbar {
  height: 8px;
}

.additional-examples-scroll::-webkit-scrollbar-track {
  background: rgba(169, 169, 169, 0.1);
  border-radius: 10px;
}

.additional-examples-scroll::-webkit-scrollbar-thumb {
  background: rgba(169, 169, 169, 0.3);
  border-radius: 10px;
}

.additional-examples-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(169, 169, 169, 0.5);
}

.additional-examples-container {
  display: flex;
  gap: 25px;
  padding: 10px;
  min-width: fit-content;
}

.additional-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px 25px;
  min-width: 280px;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.additional-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #a9a9a9, #808080);
}

.additional-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.additional-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.additional-icon i {
  font-size: 24px;
  color: white;
}

.additional-card:hover .additional-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.additional-card h4 {
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 12px;
  font-weight: 600;
}

.additional-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Integration Capabilities Section */
.integration-capabilities {
  margin-top: 80px;
  padding: 60px 5%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  position: relative;
  overflow: hidden;
}

.integration-capabilities::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(169, 169, 169, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(128, 128, 128, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.integration-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.integration-header h3 {
  font-size: 32px;
  color: var(--text-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.integration-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  position: relative;
  z-index: 2;
}

.integration-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 20px 25px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.integration-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(102, 126, 234, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

.integration-item i {
  font-size: 24px;
  color: #667eea;
  width: 30px;
  text-align: center;
}

.integration-item span {
  font-size: 16px;
  color: var(--text-color);
  font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .additional-examples {
    margin-top: 60px;
    padding: 0 3%;
  }
  
  .section-subheader h3 {
    font-size: 26px;
  }
  
  .section-subheader p {
    font-size: 16px;
  }
  
  .additional-examples-container {
    gap: 20px;
  }
  
  .additional-card {
    min-width: 250px;
    max-width: 280px;
    padding: 25px 20px;
  }
  
  .additional-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }
  
  .additional-icon i {
    font-size: 20px;
  }
  
  .additional-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .additional-card p {
    font-size: 13px;
  }
  
  .integration-capabilities {
    margin-top: 60px;
    padding: 40px 3%;
    border-radius: 20px;
  }
  
  .integration-header h3 {
    font-size: 26px;
  }
  
  .integration-header p {
    font-size: 16px;
  }
  
  .integration-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .integration-item {
    padding: 15px 20px;
    gap: 12px;
  }
  
  .integration-item i {
    font-size: 20px;
  }
  
  .integration-item span {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .additional-examples {
    margin-top: 50px;
    padding: 0 2%;
  }
  
  .section-subheader h3 {
    font-size: 22px;
  }
  
  .section-subheader p {
    font-size: 14px;
  }
  
  .additional-card {
    min-width: 220px;
    max-width: 250px;
    padding: 20px 15px;
  }
  
  .integration-capabilities {
    margin-top: 50px;
    padding: 30px 2%;
    border-radius: 15px;
  }
  
  .integration-header h3 {
    font-size: 22px;
  }
  
  .integration-header p {
    font-size: 14px;
  }
}

/* Smooth scroll enhancement for horizontal scrolling */
.additional-examples-scroll {
  scroll-behavior: smooth;
}

/* Touch scrolling for mobile */
@media (max-width: 768px) {
  .additional-examples-scroll {
    -webkit-overflow-scrolling: touch;
    padding: 15px 0;
  }
  
  .additional-examples-container {
    padding: 5px;
  }
}

/* Additional responsive styles for smaller screens */
@media (max-width: 576px) {
  .pricing-info {
    padding: 0 20px;
    width: calc(100% - 40px); /* Ensure full width accounts for padding */
  }
  
  .pricing-packages {
    width: 100%;
    max-width: 100%;
    padding: 0 5px;
  }
  
  .pricing-packages .pricing-card {
    padding: 30px 20px;
    width: calc(100% - 30px); /* Account for padding */
    margin: 0 15px;
    box-sizing: border-box;
  }
  
  .price-amount .amount {
    font-size: 42px;
  }
  
  .price-amount .currency {
    font-size: 20px;
  }
  
  .pricing-info .pricing-header h3 {
    font-size: 1.8rem;
  }
  
  .pricing-info .pricing-header p {
    font-size: 1rem;
  }
}

/* Mobile responsive for new pricing sections */
@media (max-width: 768px) {
  .pricing-sections {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-card {
    transform: none !important;
  }

  .pricing-card.featured {
    transform: none !important;
    border: 1px solid var(--primary-color);
  }
}


/* ===== Features grid (4 cards) ===== */
.services-grid-features {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1200px;
  gap: 30px;
}


/* ===== Secondary feature (inbound mention) ===== */
.secondary-feature {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 900px;
  margin: 60px auto 0;
  padding: 28px 32px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.secondary-feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(110, 66, 229, 0.2), rgba(59, 154, 226, 0.2));
  border: 1px solid rgba(110, 66, 229, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 22px;
}

.secondary-feature-text h4 {
  margin: 0 0 6px 0;
  font-size: 18px;
  color: var(--text-color);
  font-weight: 600;
}

.secondary-feature-text p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 14px;
}

@media (max-width: 600px) {
  .secondary-feature {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
}


/* ===== Testimonials Section ===== */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--darker-bg);
  position: relative;
}

.testimonials-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.testimonial-card {
  position: relative;
  background: var(--card-bg);
  padding: 40px 32px 32px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(110, 66, 229, 0.3);
}

.testimonial-quote-icon {
  position: absolute;
  top: -18px;
  left: 28px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(110, 66, 229, 0.4);
}

.testimonial-quote {
  flex: 1;
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 28px 0;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.testimonial-author-info h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color);
}

.testimonial-author-info p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.testimonial-company {
  font-size: 13px;
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: 2px;
}

.testimonial-company:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 70px 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 40px;
  }

  .testimonial-card {
    padding: 36px 24px 24px;
  }
}


/* =============================================
   WHY AI SECTION
   ============================================= */

.why-ai-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, var(--dark-bg) 0%, #0d0e1a 50%, var(--dark-bg) 100%);
  position: relative;
  overflow: hidden;
}

.why-ai-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Stats grid */
.why-ai-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 60px 0;
}

.stat-card {
  background: linear-gradient(135deg, rgba(110, 66, 229, 0.12), rgba(59, 154, 226, 0.08));
  border: 1px solid rgba(110, 66, 229, 0.25);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(110, 66, 229, 0.2);
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Comparison table */
.comparison-wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin: 0 0 60px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-column {
  padding: 40px 36px;
}

.comparison-column.traditional {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-column.ai-side {
  background: linear-gradient(135deg, rgba(110, 66, 229, 0.1), rgba(59, 154, 226, 0.06));
}

.comparison-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(110, 66, 229, 0.15);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-color);
  padding: 0 20px;
  writing-mode: vertical-lr;
  letter-spacing: 4px;
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-header i {
  font-size: 1.6rem;
}

.traditional-header i {
  color: var(--text-muted);
}

.ai-header i {
  color: var(--primary-color);
}

.comparison-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.traditional-header h3 {
  color: var(--text-muted);
}

.ai-header h3 {
  color: var(--text-color);
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.comparison-list li i {
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 0.85rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-list li.con i {
  color: #f44c7f;
  background: rgba(244, 76, 127, 0.12);
}

.comparison-list li.pro i {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
}

.comparison-list li.con span {
  color: var(--text-muted);
}

.comparison-list li.pro span {
  color: var(--text-color);
}

/* Bottom CTA */
.why-ai-cta {
  text-align: center;
  padding: 50px 24px;
  background: linear-gradient(135deg, rgba(110, 66, 229, 0.08), rgba(59, 154, 226, 0.05));
  border: 1px solid rgba(110, 66, 229, 0.2);
  border-radius: 20px;
}

.why-ai-cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .why-ai-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-ai-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 2.4rem;
  }

  .comparison-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .comparison-vs {
    writing-mode: horizontal-tb;
    padding: 14px;
    letter-spacing: 2px;
    font-size: 1.1rem;
  }

  .comparison-column {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .why-ai-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number {
    font-size: 2rem;
  }
}


/* =============================================
   AI CALLS SECTION
   ============================================= */

.ai-calls-section {
  padding: 100px 20px;
  background: var(--dark-bg);
  position: relative;
}

.ai-calls-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.ai-calls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.ai-calls-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 40px;
}

.ai-calls-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 40px;
}

/* Call card */
.call-card {
  background: linear-gradient(145deg, var(--card-bg), rgba(18, 19, 30, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.call-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(59, 154, 226, 0.12);
  border-color: rgba(59, 154, 226, 0.25);
}

.call-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.call-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(110, 66, 229, 0.2), rgba(59, 154, 226, 0.15));
  border: 1px solid rgba(110, 66, 229, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.call-card-icon i {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.call-card-meta {
  flex: 1;
}

.call-card-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.3;
}

.call-card-description {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Custom audio player */
.call-player {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.call-player-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.call-play-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.call-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(110, 66, 229, 0.4);
}

.call-play-btn i {
  color: white;
  font-size: 0.95rem;
  margin-left: 2px;
}

.call-play-btn.playing i {
  margin-left: 0;
}

.call-progress-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.call-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.call-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
  transition: width 0.1s linear;
  pointer-events: none;
}

.call-progress-bar:hover .call-progress-fill {
  filter: brightness(1.2);
}

.call-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .ai-calls-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

