:root {
  --background: hsl(210, 100%, 99%);
  --foreground: hsl(215, 25%, 15%);
  --primary: hsl(210, 100%, 45%);
  --primary-foreground: hsl(0, 0%, 100%);
  --accent: hsl(185, 85%, 50%);
  --accent-foreground: hsl(0, 0%, 100%);
  --muted: hsl(215, 20%, 96%);
  --muted-foreground: hsl(215, 15%, 45%);
  --border: hsl(215, 20%, 90%);
  --radius: 0.75rem;

  --gradient-primary: linear-gradient(135deg, hsl(210, 100%, 45%), hsl(185, 85%, 50%));
  --gradient-hero: linear-gradient(135deg, hsl(210, 100%, 50%, 0.05), hsl(185, 85%, 55%, 0.05));
  --gradient-subtle: linear-gradient(180deg, hsl(210, 100%, 99%), hsl(210, 60%, 98%));

  --shadow-soft: 0 2px 20px rgba(33, 150, 243, 0.08);
  --shadow-strong: 0 10px 40px rgba(33, 150, 243, 0.15);

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base */
html {
  scroll-behavior: smooth;
}

html {
  overflow-x: hidden;
}

body {
  padding-top: 56px;
  background-color: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

main {
  min-height: 60vh;
}

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

.card {
  border-radius: var(--radius);
}

/* Navbar */
.navbar-custom {
  background-color: var(--background);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.3);
  min-height: 3rem;
}

.navbar-custom .container {
  min-height: 3rem;
}

.navbar-custom .navbar-nav {
  gap: 0rem !important;
}

.navbar-brand {
  font-size: 1.125rem;
  color: var(--foreground);
  transition: opacity 0.3s;
}

.navbar-brand:hover {
  opacity: 0.9;
  color: var(--foreground);
}

.nav-link-custom {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.3s;
  padding: 0.5rem 0.75rem !important;
}

.nav-link-custom:hover {
  color: var(--primary);
}

/* Mobile navbar spacing */
@media (max-width: 991.98px) {
  .navbar-nav {
    gap: 0;
  }

  .nav-link-custom {
    padding: 0.75rem 0 !important;
  }
}

/* Icon Sizes */
.lucide-icon-sm {
  width: 16px;
  height: 16px;
}

.lucide-icon-md {
  width: 24px;
  height: 24px;
}

.lucide-icon-lg {
  width: 32px;
  height: 32px;
  color: white;
}

/* Buttons */
.btn {
  text-transform: initial;
  padding: .5rem 1.5rem !important;
  border-radius: 0.5rem
}

.btn-primary,
.btn-primary-custom {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  border: none;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover,
.btn-primary-custom:hover {
  box-shadow: var(--shadow-strong);
  transform: scale(1.05);
  color: var(--primary-foreground);
}

.btn-hero {
  background: var(--gradient-primary);
  color: white;
  border: none;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero:hover {
  box-shadow: var(--shadow-strong);
  transform: scale(1.05);
  color: white;
}

.btn-hero-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-hero-outline:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-link {
  background-color: transparent;
  border: none;
  color: var(--foreground);
  transition: all 0.3s;
  text-decoration: none;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  justify-content: center;
}

.btn-link:hover {
  background-color: rgba(0, 188, 212, 0.1);
  color: var(--accent);
  text-decoration: none;
}

.btn:hover .lucide-arrow-right,
.card-custom:hover .lucide-arrow-right {
  transform: translateX(4px);
  transition: transform 0.3s;
}

.btn:hover .lucide-arrow-down {
  transform: translateY(2px);
  transition: transform 0.3s;
}

/* Workflow Tabs */
#workflowTabs {
  background-color: var(--muted);
  border-radius: 0.375rem;
  padding: 0.25rem;
  display: inline-flex;
}

#workflowTabs .nav-link {
  background-color: transparent;
  border: none;
  color: var(--muted-foreground);
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
}

#workflowTabs .nav-link.active,
#workflowTabs .nav-link:hover {
  background-color: var(--background);
  color: var(--foreground);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Sections */
.section-services {
  background: var(--gradient-subtle);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-ai {
  background: var(--gradient-hero);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-portfolio {
  background: var(--gradient-subtle);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-about {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-testimonials {
  background-color: var(--background);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-contact {
  background: var(--gradient-subtle);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* Section Headers */
.section-title {
  font-size: 2.25rem;
  color: var(--foreground);
  font-weight: bold;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
}

.about-text {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* Testimonials */
.testimonial-quote {
  font-size: 2.5rem;
  color: rgba(33, 150, 243, 0.2);
}

.testimonial-quote svg {
  width: 40px;
  height: 40px;
  stroke: rgba(33, 150, 243, 0.2);
  fill: none;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  flex-shrink: 0;
}

.testimonial-star {
  color: var(--primary);
  width: 16px;
  height: 16px;
}

/* Footer */
.footer-custom {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid var(--border);
  background-color: white;
}

.footer-link {
  color: var(--muted-foreground);
  transition: color 0.3s;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--foreground);
}

.footer-title {
  color: var(--foreground);
  font-weight: 600;
}

.footer-text {
  color: var(--muted-foreground);
}

/* Form Elements */
.form-label-custom {
  color: var(--foreground);
  font-weight: 500;
  font-size: 0.875rem;
}

.form-control-custom {
  border: 1px solid var(--border);
  padding: 0.625rem 0.875rem;
  border-radius: .5rem;
}

.form-control-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

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

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

/* List Bullets */
.list-bullet {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

.list-bullet-primary {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
}

/* Badge */
.badge-ai {
  background-color: rgba(0, 188, 212, 0.1);
  border: 1px solid rgba(0, 188, 212, 0.2);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  section {
    padding: 3rem 0 !important;
  }

  .section-about,
  .section-contact,
  .section-services,
  .section-ai,
  .section-portfolio,
  .section-testimonials {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

/* Mobile button styles */
@media (max-width: 640px) {

  .btn-hero,
  .btn-hero-outline,
  .btn-primary-custom {
    width: 100% !important;
    display: block !important;
  }

  /* Make hero button container stack vertically on mobile */
  .home-hero-padding-top {
    flex-direction: column;
  }

  /* Contact form button should be full width on mobile */
  .section-contact .btn-hero {
    width: 100% !important;
  }
}

/* Trusted Leaders Section - Marquee Animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }

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

.animate-marquee {
  animation: marquee 40s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .animate-marquee {
    animation: none;
  }
}

/* Extra large devices */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

/* Extra small devices */
@media (max-width: 576px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .home-hero-max-width {
    max-width: 100%;
  }
}

.section-trusted {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-trusted .text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}