/* DigitalCraft Studio - Modern Light Theme */

/* Reset & Variables */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #ffffff;
  --bg-secondary: #f8fafc;
  --text: #1e293b;
  --text-light: #64748b;
  --accent: #ea580c;
  --accent-light: #fed7aa;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --gradient-primary: linear-gradient(135deg, var(--accent), #f97316);
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(90%, 1200px);
  margin-inline: auto;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  color: var(--text);
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s ease;
}

.hamburger-icon {
  position: relative;
}

.hamburger-icon::before {
  content: '';
  position: absolute;
  top: -6px;
}

.hamburger-icon::after {
  content: '';
  position: absolute;
  bottom: -6px;
}

#hamburger[aria-expanded="true"] .hamburger-icon {
  background: transparent;
}

#hamburger[aria-expanded="true"] .hamburger-icon::before {
  transform: rotate(45deg) translate(5px, 5px);
}

#hamburger[aria-expanded="true"] .hamburger-icon::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem 0;
    gap: 1.5rem;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu a {
    font-size: 1.25rem;
    padding: 0;
  }

  .nav-menu a::after {
    display: none;
  }
}

/* Sections */
section {
  padding: 5rem 0;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1.5rem;
  background: #0a0a0a;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(234, 88, 12, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
  animation: heroGradientShift 12s ease-in-out infinite;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(234, 88, 12, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(251, 146, 60, 0.04) 0%, transparent 40%);
  animation: heroGradientPulse 8s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes heroGradientShift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, -2%) rotate(1deg); }
  66% { transform: translate(-1%, 1%) rotate(-0.5deg); }
}

@keyframes heroGradientPulse {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.15) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
  z-index: 1;
}

.hero:hover .hero-glow {
  opacity: 1;
}

.hero-content {
  max-width: 800px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

.hero-content .hero-p {
  color: #94a3b8;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content .btn-hero {
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2.5rem);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
}

.dynamic-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-align: center;
  min-height: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.static-part {
  color: var(--text);
  display: block;
  text-align: center;
  width: 100%;
}

/* Enhanced typewriter effect - smoother */
.dynamic-part {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  text-align: center;
  width: 100%;
  min-height: 1.2em;
  position: relative;
  transition: all 0.1s ease;
}

.dynamic-part::after {
  content: "|";
  color: var(--accent);
  margin-left: 4px;
  opacity: 1;
  animation: smoothBlink 1.2s ease-in-out infinite;
  -webkit-text-fill-color: var(--accent);
  background: none;
}

@keyframes smoothBlink {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0.3; }
  100% { opacity: 1; }
}

.hero-p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-hero {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Benefits Section - Problem/Solution Layout */
.benefits-section {
  background: var(--bg-secondary);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.benefits-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-light) 0%, transparent 70%);
  opacity: 0.1;
  z-index: 1;
}

.benefits-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.benefits-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.benefit-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, var(--accent-light), transparent);
  transform: rotate(45deg);
  transition: transform 0.6s ease;
  opacity: 0;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.benefit-card:hover::before {
  opacity: 0.1;
  transform: rotate(45deg) translate(50%, 50%);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.benefit-card p {
  color: var(--text-light);
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.benefit-card p strong {
  color: var(--text);
  font-weight: 600;
}

/* Modern Services Section */
.services-modern {
  background: var(--white);
  padding: 6rem 0;
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-top: 1rem;
}

.services-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
}

.service-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s ease;
  cursor: pointer;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.6s ease;
  z-index: 1;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.service-item:hover::before {
  width: 100%;
}

.service-item:hover .service-content {
  color: white;
}

.service-item:hover .service-number {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.service-item:hover .service-icon {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.service-item:hover .service-tech span {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.service-number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--white);
  transition: all 0.4s ease;
  z-index: 2;
}

.service-content {
  position: relative;
  z-index: 2;
  transition: color 0.4s ease;
}

.service-icon {
  width: 80px;
  height: 80px;
  border: 2px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  background: var(--bg-secondary);
  transition: all 0.4s ease;
}

.service-icon svg {
  width: 36px;
  height: 36px;
  color: var(--accent);
  transition: color 0.4s ease;
}

.service-item:hover .service-icon svg {
  color: white;
}

.service-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
  transition: color 0.4s ease;
}

.service-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
  transition: color 0.4s ease;
}

.service-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-tech span {
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.4s ease;
}

/* Responsive adjustments for benefits and services */
@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .benefit-card {
    padding: 2rem;
  }
  
  .services-grid-modern {
    grid-template-columns: 1fr;
  }
  
  .service-item {
    padding: 2rem;
  }
  
  .benefits-section,
  .services-modern {
    padding: 4rem 0;
  }
}

/* Stats Section - Fixed layout */
.stats-section {
  background: var(--bg-secondary);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: statsFadeIn 0.8s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

@keyframes statsFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
  font-size: 1rem;
}

/* Services Section */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  height: 300px;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.service-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.card-front {
  background: var(--white);
  border: 1px solid var(--border);
}

.card-back {
  background: var(--accent);
  color: white;
  transform: rotateY(180deg);
}

.card-front h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.card-front p {
  color: var(--text-light);
  font-size: 1rem;
}

.card-back p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Devices Section */
.devices-section {
  background: var(--bg-secondary);
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.device-column {
  text-align: center;
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.device-image {
  margin-bottom: 1.5rem;
}

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

.device-column h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.device-column p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Projects Section */
.projects {
  background: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.project-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-tech span {
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.project-status {
  margin-bottom: 1rem;
}

.status-badge {
  background: #fef3c7;
  color: #92400e;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.btn-project {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-project:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* About Section */
.about {
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.7;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Workflow Section */
.workflow {
  background: var(--white);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  counter-reset: step-counter;
}

.steps li {
  counter-increment: step-counter;
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  position: relative;
  border-top: 4px solid var(--accent);
}

.steps li::before {
  content: counter(step-counter);
  position: absolute;
  top: -15px;
  left: 1.5rem;
  background: var(--accent);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.steps h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.steps p {
  color: var(--text-light);
  line-height: 1.6;
}

/* FAQ Section */
.faq {
  background: var(--bg-secondary);
}

.faq-items {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Testimonials Carousel - Fixed */
.testimonials-section {
  background: var(--white);
  padding: 6rem 0;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.testimonials-header h3 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.testimonials-header p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.nav-btn {
  background: var(--accent);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  transform: scale(1.1);
  background: #d97706;
}

.nav-btn:disabled {
  background: var(--border);
  cursor: not-allowed;
  transform: none;
}

/* Carousel Container */
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  background: var(--bg-secondary);
  padding: 3rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.stars {
  margin-bottom: 2rem;
  color: #fbbf24;
  font-size: 1.2rem;
}

.testimonial-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-style: italic;
  font-size: 1.1rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-light);
}

.client-name {
  font-weight: 600;
  color: var(--text);
  font-size: 1.1rem;
}

.client-role {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Contact Section - Enhanced Form Styling */
.contact {
  background: var(--bg-secondary);
  padding: 6rem 0;
}

.contact h2 {
  text-align: center;
  margin-bottom: 3rem;
}

#contactForm {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* Form styles */
.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg-secondary);
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.15);
}

.form-group label {
  position: absolute;
  left: 1.5rem;
  top: 1.2rem;
  color: var(--text-light);
  pointer-events: none;
  transition: all 0.3s ease;
  background: var(--bg-secondary);
  padding: 0 0.5rem;
  font-weight: 500;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  transform: translateY(-2.5rem) scale(0.9);
  color: var(--accent);
  background: var(--white);
}

.btn-submit {
  width: 100%;
  padding: 1.2rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Footer */
.footer {
  background: var(--text);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-info h3,
.footer-contact h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-info p,
.footer-contact p {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  color: #999;
}

/* Form styles remain the same but with updated colors */
.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--text-light);
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  transform: translateY(-2rem) scale(0.875);
  background: var(--white);
  padding: 0 0.5rem;
  color: var(--accent);
}

/* Responsive Design */
@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 6rem 1.25rem 3rem;
    min-height: 100svh;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  .hero-content .hero-p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .hero-content .btn-hero {
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .devices-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .testimonials-slider {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    width: 95%;
  }
  
  .header {
    padding: 1rem;
  }
  
  .dynamic-title {
    font-size: 2rem;
  }
  
  .hero-p {
    font-size: 1rem;
  }
}
/* Enhanced performance and Instagram-ready features */
.social-proof-section,
.instagram-feed {
  background: var(--white);
  padding: 4rem 0;
}

.instagram-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 400px;
  margin: 2rem auto;
}

.loading { opacity: 0.7; pointer-events: none; }
.fade-in { animation: fadeIn 0.6s ease forwards; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #d97706;
  transform: translateY(-2px);
}

.social-links svg {
  color: white;
}

/* === NEW TESTIMONIALS SECTION === */
.testimonials-new {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-item {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.testimonial-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.quote-icon {
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 1rem;
  font-style: italic;
}

.rating {
  display: flex;
  gap: 0.25rem;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.client-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}

.client-details h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
}

.client-details span {
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 0.25rem;
  display: block;
}


/* === NEW FAQ SECTION === */
.faq-new {
  padding: 5rem 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item-new {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item-new:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.1);
}

.faq-question-new {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.3s ease;
}

.faq-question-new:hover {
  background: rgba(248, 250, 252, 0.8);
}

.faq-question-new.active {
  background: #fef3f2;
  border-bottom: 1px solid #fecaca;
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--accent);
}

.faq-question-new.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer-new {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer-new.open {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px;
}

.faq-answer-new p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-item {
    padding: 1.5rem;
  }
  
  .client-info {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .faq-question-new {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .faq-answer-new.open {
    padding: 0 1rem 1rem;
  }
}


/* === WHATSAPP STICKY BUTTON === */
.whatsapp-sticky {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-sticky.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.whatsapp-sticky:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-sticky:active {
  transform: scale(0.95);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #1e293b;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid #1e293b;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.whatsapp-sticky:hover .whatsapp-tooltip {
  opacity: 1;
}

@media (max-width: 768px) {
  .whatsapp-sticky {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 55px;
    height: 55px;
  }
  .whatsapp-tooltip {
    display: none;
  }
  #heroCanvas {
    display: none;
  }
  .hero-glow {
    display: none;
  }
}


/* === HEADER ACTIONS & LANG SWITCH === */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text);
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.lang-switch:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(234, 88, 12, 0.05);
}

/* === HERO BUTTONS === */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn-hero-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  background: transparent;
  color: #f8fafc;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid rgba(248, 250, 252, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2.5rem);
}

.btn-hero-secondary:hover {
  background: rgba(248, 250, 252, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  .btn-hero-secondary {
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
  }
  .lang-switch {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
}
