* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

:root {
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-tertiary: #1c2128;
  --bg-card: #1a1f2e;
  /* --accent-primary: #8b5cf6; */
  --accent-primary: #9c84ef;
  --accent-secondary: #6366f1;
  --accent-hover: #a78bfa;
  --text-primary: #ffffff;
  --text-secondary: #a8b3cf;
  --text-muted: #6b7280;
  --border-color: rgba(139, 92, 246, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.05);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.locked {
  overflow-y: hidden;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(20px);
  padding: 1.2rem 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 0.8rem 0;
  background: rgba(13, 17, 23, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

nav .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: -0.5px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.logo img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--accent-primary);
  color: white !important;
  padding: 0.7rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-dropdown {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-color);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-color);
}

.lang-btn svg {
  transition: transform 0.3s ease;
}

.lang-dropdown:hover .lang-btn svg {
  transform: rotate(180deg);
}



.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: rgb(58, 58, 58, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.5rem;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.lang-dropdown:hover .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.lang-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
}

.lang-menu a.active {
  background: var(--accent-color);
  color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3.5px);
}

/* Mobile Menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 17, 23, 0.38);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  z-index: 999;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

.mobile-nav.active {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.mobile-nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  width: 100%;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-links a:hover {
  color: var(--accent-primary);
}

.mobile-nav-cta {
  background: var(--accent-primary);
  color: white !important;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
  display: block;
  border-bottom: none !important;
}

.mobile-lang-switcher {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 1rem 0;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  justify-content: start;
}

.mobile-lang-switcher a {
  padding: 0.5rem 1rem !important;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-bottom: none !important;
  font-size: 0.9rem;
}

.mobile-lang-switcher a.active {
  background: var(--accent-primary);
  color: white;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 10rem 3rem 6rem;
  background: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
  top: -300px;
  right: 10%;
  animation: float 10s ease-in-out infinite;
}

@keyframes float {

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

  50% {
    transform: translateY(-30px) scale(1.1);
  }
}

.hero-content {
  max-width: 1400px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  color: var(--accent-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  line-height: 1.1;
  letter-spacing: -2px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-weight: 400;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.05);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.hero-feature span {
  font-size: 1.2rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.45);
}

.btn-secondary {
  background: rgba(139, 92, 246, 0.08);
  color: var(--accent-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--accent-primary);
  transform: translateY(-3px);
}

/* Section Styles */
section {
  padding: 4rem 0rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.section-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
}

.section-title .gradient-text {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.2rem;
  font-weight: 400;
}

/* Services Carousel Container */

#services,
#technologies,
#process {
  scroll-margin-top: 25px;
}

#contact {
  scroll-margin-top: 100px;
}

.services-carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.servicesSwiper {
  padding: 2rem 28px 4rem;
  overflow: hidden;
}

.servicesSwiper .swiper-slide {
  height: auto;
  display: flex;
}

.swiper-pagination {
  overflow: visible !important;
  width: 100% !important;
}

.swiper-pagination-bullet {
  transition: all 0.4s ease !important;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-color);
  box-shadow: 0 24px 48px rgba(139, 92, 246, 0.15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--accent-primary);
  transform: scale(1.1);
}

.service-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-top: 1.5rem;
}

.service-features li {
  color: var(--text-secondary);
  padding: 0.4rem 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li::before {
  content: '•';
  color: var(--accent-primary);
  font-size: 1.2rem;
}

/* Tech Stack Section */
#tech {
  background: var(--bg-secondary);
  border-radius: 24px;
  margin: 4rem 3rem;
  padding: 6rem 3rem;
}

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

.tech-category {
  background: var(--bg-tertiary);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
}

.tech-category h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.tech-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.tech-item:last-child {
  border-bottom: none;
}

.tech-name {
  color: var(--text-primary);
  font-weight: 500;
}

.tech-level {
  font-size: 0.8rem;
  color: var(--accent-primary);
  font-weight: 600;
}

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

.tech-stat h4 {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.tech-stat p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Process Section */
.process-timeline {
  position: relative;
  margin-top: 4rem;
}

/* Process Carousel Container */
.process-carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.processSwiper {
  padding: 2rem 28px 4rem;
  overflow: hidden;
}

.processSwiper .swiper-slide {
  height: auto;
  display: flex;
}

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

.process-step {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.process-step:hover {
  border-color: var(--border-color);
  transform: translateY(-5px);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 2rem;
  width: 40px;
  height: 40px;
  background: var(--accent-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.process-step h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.process-step p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.process-list {
  list-style: none;
  margin-top: 1rem;
}

.process-list li {
  color: var(--text-secondary);
  padding: 0.3rem 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.process-list li::before {
  content: '→';
  color: var(--accent-primary);
}

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 4rem;
}

.why-content h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

.why-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.why-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.why-feature::before {
  content: '✓';
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 1.2rem;
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.why-stat {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.why-stat h4 {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.why-stat p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.1));
  border-radius: 24px;
  padding: 5rem 3rem;
  text-align: center;
  margin: 4rem 3rem;
  border: 1px solid var(--border-color);
}

.cta-section h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.cta-feature::before {
  content: '✓';
  color: var(--accent-primary);
  font-weight: 700;
}

/* Contact Section */
#contact {
  background: var(--bg-secondary);
  border-radius: 24px;
  padding: 5rem 3rem;
  margin: 4rem 3rem;
  max-width: 100%;
}

#contact .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 100%;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1rem;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.35);
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-section h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-item {
  background: var(--bg-tertiary);
  padding: 1.8rem;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item:hover {
  border-color: var(--border-color);
  transform: translateX(8px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.contact-details p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.contact-details a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--accent-hover);
}

/* Footer */
footer {
  background: var(--bg-secondary);
  padding: 4rem 3rem 2rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-3px);
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--text-primary);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: opacity 0.4s ease;
  animation: bounce 2s infinite;
}

@keyframes bounce {

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

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

/* Mobile-only vertical bounce to avoid horizontal translate on small screens */
@keyframes bounce-mobile {

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

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

/* Responsive */
/* Responsive Design */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .servicesSwiper,
  .projectsSwiper,
  .processSwiper {
    padding: 2rem 24px 4rem !important;
  }

  .cta-features {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Projects - Tablet */
  .project-image {
    padding-bottom: 70%;
    /* Slightly taller for tablets */
  }

  .project-title {
    font-size: 1.35rem;
  }

  .project-description {
    font-size: 0.925rem;
  }
}

@media (max-width: 768px) {

  .servicesSwiper,
  .projectsSwiper,
  .processSwiper {
    padding: 2rem 18px 4rem !important;
  }

  /* Navigation */
  nav .container {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .logo {
    font-size: 1.3rem;
  }

  /* Hero Section */
  .hero {
    padding: 7rem 1.5rem 4rem;
    min-height: 100vh;
    flex-direction: column;
  }

  .hero h1 {
    font-size: 2.5rem;
    letter-spacing: -1px;
    line-height: 1.2;
  }

  .hero .subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-badge {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-feature {
    font-size: 0.9rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .scroll-indicator {
    position: relative;
    font-size: 0.85rem;
    left: auto;
    transform: none;
    align-self: center;
    margin-top: 2rem;
    bottom: 0;
    animation: bounce-mobile 2s infinite;
  }

  /* Sections */
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

  #contact {
    padding: 4rem 1.5rem;
    margin: 2rem 1.5rem;
  }

  /* Services Carousel */
  .services-carousel-container {
    padding: 0 1rem;
  }

  .servicesSwiper {
    padding: 2rem 0 4rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 2rem;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  /* Process Carousel */
  .process-carousel-container {
    padding: 0 1rem;
  }

  .processSwiper {
    padding: 2rem 0 4rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step {
    padding: 2rem;
  }

  .process-step h3 {
    font-size: 1.2rem;
  }

  /* Tech Stack */
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tech-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Why Choose Us */
  .why-content h2 {
    font-size: 2rem;
  }

  .why-features {
    grid-template-columns: 1fr;
  }

  .why-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* CTA Section */
  .cta-section {
    padding: 4rem 2rem;
    margin: 0 1.5rem;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-features {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  /* Contact Section */
  .contact-form h3,
  .contact-info-section h3 {
    font-size: 1.4rem;
  }

  .contact-item {
    padding: 1.5rem;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }


}

/* Extra Small Devices */
@media (max-width: 480px) {

  .servicesSwiper,
  .projectsSwiper,
  .processSwiper {
    padding: 1rem 0 3rem !important;
  }

  #services,
  #technologies,
  #process {
    scroll-margin-top: 75px !important;
  }

  #projects .section-header {
    padding: 0 1rem;
  }

  /* Hero */
  .hero {
    min-height: auto;
    /* padding: 6rem 1rem 3rem; */
    padding: 100px 1rem 25px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero .subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  #projects,
  #technologies {
    padding: 35px 0 !important;
  }

  #technologies,
  #process,
  #why-us {
    padding: 35px 1rem !important;
  }

  #why-us .why-grid {
    margin-top: 0 !important;
  }

  .why-features {
    gap: 5px !important;
    margin-bottom: 0 !important;
  }

  .why-feature {
    padding: 0.5rem !important;
  }

  footer {
    padding: 2rem !important;
  }

  .footer-content {
    margin-bottom: 2rem;
    gap: 1.5rem;
  }

  .section-header {
    margin-bottom: 2rem !important;
  }

  .tech-grid {
    margin-top: 2rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
  }

  .hero-feature svg {
    width: 18px;
    height: 18px;
  }

  .hero-feature span {
    font-size: 0.85rem;
  }

  .hero-features {
    margin-bottom: 2rem;
  }

  .scroll-indicator {
    display: none;
  }

  /* Sections */
  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  section {
    padding: 3rem 1rem;
  }

  #contact {
    padding: 3rem 1rem;
    margin: 1.5rem 1rem;
  }

  /* Buttons */
  .btn {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Service Cards */
  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }

  .service-icon svg {
    width: 24px;
    height: 24px;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .service-features li {
    font-size: 0.85rem;
  }

  /* Projects Section - Extra Small */
  #projects {
    padding: 3rem 0;
  }

  .projects-carousel-container {
    padding: 0 1rem;
  }

  .projectsSwiper {
    padding: 1rem 0 2.5rem;
  }

  .project-card {
    border-radius: 12px;
  }

  .project-image {
    padding-bottom: 75%;
    /* 4:3 for mobile */
  }

  .project-content {
    padding: 1.25rem;
  }

  .project-category {
    font-size: 0.7rem;
    padding: 0.25rem 0.7rem;
    margin-bottom: 0.75rem;
  }

  .project-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .project-description {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .project-cta {
    font-size: 0.85rem;
  }

  .project-link {
    font-size: 0.95rem;
    padding: 0.7rem 1.25rem;
  }

  /* Process Cards */
  .process-step {
    padding: 1.5rem;
  }

  .step-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }

  .step-icon svg {
    width: 24px;
    height: 24px;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .process-step h3 {
    font-size: 1.1rem;
  }

  .process-step p {
    font-size: 0.9rem;
  }

  .process-list li {
    font-size: 0.85rem;
  }

  /* Tech Stack */
  .tech-item {
    font-size: 0.9rem;
  }

  .tech-stat h4 {
    font-size: 2rem;
  }

  .tech-stat p {
    font-size: 0.85rem;
  }

  /* Why Choose Us */
  .why-content h2 {
    font-size: 1.75rem;
  }

  .why-content p {
    font-size: 0.95rem;
  }

  .why-feature {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }

  .why-stat h4 {
    font-size: 2rem;
  }

  .why-stat p {
    font-size: 0.85rem;
  }

  .why-stats {
    grid-template-columns: 1fr;
  }

  /* CTA Section */
  .cta-section {
    padding: 3rem 1.5rem;
    margin: 0 1rem;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }

  .cta-section p {
    font-size: 0.95rem;
  }

  .cta-feature {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }

  /* Contact */
  .contact-form h3,
  .contact-info-section h3 {
    font-size: 1.2rem;
  }

  .contact-item {
    padding: 1.2rem;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
  }

  .contact-icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-details h4 {
    font-size: 1rem;
  }

  .contact-details p {
    font-size: 0.85rem;
  }

  input,
  textarea {
    font-size: 0.95rem;
  }

  .submit-btn {
    font-size: 0.95rem;
    padding: 0.9rem;
  }

  /* Projects Section */
  #projects {
    padding: 4rem 0;
  }

  .projects-carousel-container {
    padding: 0 1.5rem;
  }

  .projectsSwiper {
    padding: 1.5rem 0 3rem;
  }

  .project-card {
    border-radius: 16px;
  }

  .project-image {
    padding-bottom: 75%;
    /* 4:3 aspect ratio for mobile */
  }

  .project-content {
    padding: 1.5rem;
  }

  .project-title {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .project-description {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .project-category {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
  }

  .project-link {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  /* Footer */
  .footer-brand h3 {
    font-size: 1.5rem;
  }

  .footer-brand p {
    font-size: 0.9rem;
  }

  .footer-links h4 {
    font-size: 1rem;
  }

  .footer-links li a {
    font-size: 0.9rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }

  .footer-bottom {
    font-size: 0.85rem;
  }

  /* Swiper Buttons - Hide on mobile */
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  /* Swiper Pagination */
  .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  .swiper-pagination-bullet-active {
    width: 24px;
  }

  /* Carousels */
  .services-carousel-container,
  .process-carousel-container {
    padding: 0;
  }

  #services {
    padding: 25px 1rem;
  }
}

/* Very Small Devices */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }

  .service-card,
  .process-step {
    padding: 1.2rem;
  }

  .tech-stats,
  .why-stats {
    grid-template-columns: 1fr;
  }
}

/* Swiper Custom Styles */
.swiper-button-next,
.swiper-button-prev {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--accent-primary) !important;
  transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--accent-primary);
  color: white !important;
  border-color: var(--accent-primary);
  transform: scale(1.1);
}

.swiper-pagination {
  bottom: 0 !important;
  padding: 0 1rem;
}

.swiper-pagination-bullet {
  background: var(--border-color);
  opacity: 1;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--accent-primary);
  width: 30px;
  border-radius: 5px;
}

.swiper-pagination-bullet:hover {
  background: var(--accent-secondary);
}

/* Projects Section */
#projects {
  padding: 6rem 0;
  overflow: hidden;
}

.projects-carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.projectsSwiper {
  padding: 2rem 28px 4rem;
  overflow: hidden;
  max-width: 100%;
}

.projectsSwiper .swiper-slide {
  height: auto;
  display: flex;
  max-width: 100%;
  /* overflow: hidden; */
}

.project-card {
  background: var(--bg-card);
  border-radius: 20px;
  /* overflow: hidden; */
  border: 1px solid var(--border-subtle);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 100%;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-color);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.project-image {
  position: relative;
  width: 100%;
  border-radius: 20px 20px 0 0;
  height: 0;
  padding-bottom: 66.67%;
  /* 3:2 aspect ratio */
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
  flex-shrink: 0;
}

.project-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-tertiary);
}

.project-image img[src=""],
.project-image img:not([src]) {
  opacity: 0;
}

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(99, 102, 241, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay a,
.project-link {
  color: inherit !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.project-overlay a:hover,
.project-link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  color: inherit !important;
  text-decoration: none !important;
}

.project-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-category {
  display: inline-block;
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-primary);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  line-height: 1.4;
  letter-spacing: -0.5px;
}

.project-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  flex: 1;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.project-content a,
.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: fit-content;
  position: relative;
  padding: 0.5rem 0;
}

.project-content a::after,
.project-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.project-content a:hover::after,
.project-cta:hover::after {
  width: 100%;
}

.project-content a:hover,
.project-cta:hover {
  color: var(--accent-primary) !important;
  text-decoration: none !important;
  transform: translateX(5px);
}

.project-content a:visited,
.project-cta:visited {
  color: inherit !important;
}

.project-content a svg,
.project-cta svg {
  transition: transform 0.3s ease;
  stroke: var(--accent-primary);
}

.project-content a:hover svg,
.project-cta:hover svg {
  transform: translateX(5px);
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

.fade-in {
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}