:root {
  --primary-bg: #ffffff;
  --secondary-bg: #f8f9fa;
  --accent-color: #53ed95;
  --text-primary: #0a0a0a;
  --text-secondary: #6b7280;
  --border-color: #e5e7eb;
  --card-bg: #ffffff;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

.serif-font {
  font-family: "Instrument Serif", serif;
}

/* Navigation */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-color);
  border-radius: 50%;
}

.nav-link {
  color: var(--text-secondary) !important;
  margin: 0 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary) !important;
}

.btn-primary-custom {
  background-color: var(--accent-color);
  color: var(--text-primary);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(83, 237, 149, 0.3);
  background-color: var(--accent-color);
  color: var(--text-primary);
}

.btn-outline-custom {
  border: 2px solid var(--text-primary);
  color: var(--text-primary);
  background: transparent;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: var(--text-primary);
  color: var(--primary-bg);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 2rem;
  position: relative;
  overflow: hidden;
  background: var(--primary-bg);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(83, 237, 149, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.badge-partner {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--text-primary);
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-buttons {
  animation: fadeInUp 0.6s ease 0.6s both;
}

/* Portfolio Showcase Wrapper inside Hero */
.portfolio-showcase-wrapper {
  width: 100%;
  margin-top: 5rem;
  position: relative;
}

/* Portfolio Showcase Slider */
.portfolio-showcase-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 100%;
  background: linear-gradient(to right, var(--primary-bg), transparent);
  z-index: 2;
  pointer-events: none;
}

.portfolio-showcase-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 100%;
  background: linear-gradient(to left, var(--primary-bg), transparent);
  z-index: 2;
  pointer-events: none;
}

.portfolio-slider-container {
  width: 100%;
  overflow: hidden;
}

.portfolio-slider {
  display: flex;
  gap: 2rem;
  transition: transform 0.05s linear;
  will-change: transform;
}

.portfolio-slide {
  flex-shrink: 0;
  height: 500px;
  width: auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  background: var(--card-bg);
  transition: all 0.4s ease;
  box-shadow: var(--shadow-md);
}

.portfolio-slide.mobile-screen {
  height: 500px;
  width: auto;
}

.portfolio-slide:hover {
  border-color: var(--accent-color);
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(83, 237, 149, 0.2);
}

.portfolio-image {
  width: auto;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(1) contrast(1);
  transition: all 0.4s ease;
}

.portfolio-slide:hover .portfolio-image {
  filter: brightness(1.05) contrast(1.05);
  transform: scale(1.05);
}

/* Add overlay gradient for better text readability if needed */
.portfolio-slide::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-slide:hover::after {
  opacity: 1;
}

/* Stats Section */
.stats-section {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  margin: 4rem 0;
  box-shadow: var(--shadow-sm);
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Trusted Brands Slider Section */
.trusted-brands-section {
  padding: 4rem 0;
  background: var(--primary-bg);
  overflow: hidden;
}

.brands-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0;
}

.brands-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 2rem;
}

.brands-slider-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(to right, var(--primary-bg), transparent);
  z-index: 2;
  pointer-events: none;
}

.brands-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(to left, var(--primary-bg), transparent);
  z-index: 2;
  pointer-events: none;
}

.brands-slider {
  display: flex;
  gap: 4rem;
  animation: slideLogos 30s linear infinite;
  will-change: transform;
}

.brands-slider:hover {
  animation-play-state: paused;
}

.brand-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-width: 120px;
}

.brand-logo {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.5);
  transition: filter 0.3s ease;
  opacity: 0.6;
}

.brand-item:hover .brand-logo {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

@keyframes slideLogos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Process Section */
.process-section {
  padding: 6rem 0;
}

.section-label {
  color: var(--accent-color);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  line-height: 1.2;
  color: var(--text-primary);
}

.process-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.process-card:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-lg);
}

.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.process-card:hover::before {
  transform: scaleX(1);
}

.process-number {
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent-color);
  opacity: 0.15;
  position: absolute;
  top: 1rem;
  right: 2rem;
}

.process-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.process-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Work Gallery */
.work-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

.work-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.work-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.work-preview-image {
  width: 100%;
  height: 280px;
  background: var(--secondary-bg);
  overflow: hidden;
  position: relative;
}

.preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.work-item:hover .preview-img {
  transform: scale(1.05);
}

.work-content {
  padding: 1.5rem;
}

.work-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.work-logo {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--secondary-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.work-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-info {
  flex: 1;
}

.work-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.work-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Features Section */
.features-section {
  /* padding: 6rem 0; */
  background: transparent;
  margin: 4rem 0;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-color);
}

.feature-icon-wrapper {
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: scale(1.1);
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Pricing Section */
.pricing-section {
  padding: 6rem 0;
}

.pricing-card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  border-color: var(--accent-color);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--accent-color);
  background: linear-gradient(
    135deg,
    var(--card-bg) 0%,
    rgba(83, 237, 149, 0.05) 100%
  );
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.pricing-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.pricing-period {
  color: var(--text-secondary);
  font-size: 1rem;
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.feature-check {
  color: var(--accent-color);
  font-weight: 700;
}

/* Testimonials */
.testimonials-section {
  padding: 6rem 0;
  background: var(--secondary-bg);
  border-radius: 30px;
  margin: 4rem 0;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 2.5rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-color);
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
}

.accordion-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 1rem;
}

.accordion-button {
  background: var(--card-bg);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.5rem;
  border: none;
}

.accordion-button:not(.collapsed) {
  background: var(--card-bg);
  color: var(--accent-color);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-color);
}

.accordion-body {
  background: var(--card-bg);
  color: var(--text-secondary);
  padding: 1.5rem;
  line-height: 1.8;
}

/* Footer */
.footer {
  background: var(--secondary-bg);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--text-primary);
  text-decoration: none;
}

.social-link:hover {
  background: var(--accent-color);
  color: var(--text-primary);
  border-color: var(--accent-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 6rem 0 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .process-title {
    font-size: 1.5rem;
  }

  .pricing-price {
    font-size: 2.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .portfolio-slide {
    height: 350px;
    width: auto;
  }

  .portfolio-slide.mobile-screen {
    height: 350px;
    width: auto;
  }

  .portfolio-showcase-wrapper::before,
  .portfolio-showcase-wrapper::after {
    width: 50px;
  }

  .portfolio-showcase-wrapper {
    margin-top: 3rem;
  }
}
