/* CSS Variables */
:root {
  --blue-700: rgba(37, 99, 235, 0.9);
  --blue-500: rgba(59, 130, 246, 0.9);
  --light-blue: rgba(191, 219, 254, 1);
  --purple-acc: rgba(139, 92, 246, 0.9);
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --card: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.25s ease;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  font-size: 16px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin-bottom: 0.5em;
  font-weight: 600;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.lead-text {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 100%;
  /* Full width by default */
  padding: 0 1rem;
  /* Mobile padding */
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section--bg {
  background-color: var(--card);
}

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

.section__title {
  margin-bottom: 1rem;
}

.section__subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards */
.card {
  background: var(--card);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

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

/* Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  min-height: 72px;
}

.nav__brand {
  flex-shrink: 0;
}

.nav__logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-700);
  text-decoration: none;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  width: 25px;
  height: 3px;
  background: var(--text);
  margin: 3px 0;
  transition: var(--transition);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--blue-700);
}

.nav__cta {
  margin-left: 1rem;
}

/*  */

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #60a5fa 100%);
  color: white;
  padding: 7rem 0 7rem;
  margin-top: 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 20%, transparent 60%);
  animation: hero-glow 10s linear infinite;
  z-index: 0;
}

@keyframes hero-glow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hero__content {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  animation: fadeInDown 1s ease forwards;
}

.hero__subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.7;
  animation: fadeInUp 1.2s ease forwards;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeIn 1.5s ease forwards;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(90deg, #facc15, #fbbf24);
  color: #1e3a8a;
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.5);
}

.btn--primary:hover {
  background: linear-gradient(90deg, #eab308, #f59e0b);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(250, 204, 21, 0.6);
}

.btn--secondary {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.btn--secondary:hover {
  background-color: white;
  color: #1e3a8a;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.3);
}

/* Buttons */
.btn1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn1--primary {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: white;
}

.btn1--primary:hover {
  background: linear-gradient(135deg, var(--blue-500), var(--purple-acc));
  transform: translateY(-1px);
}

.btn1--secondary {
  background: transparent;
  color: var(--blue-700);
  border: 2px solid var(--blue-700);
}

.btn1--secondary:hover {
  background: var(--blue-700);
  color: white;
}

.btn1--large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Trust Bar */
.trust-bar {
  padding: 3.5rem 0;
  text-align: center;
  background: #f9fafb;
  overflow: hidden;
  position: relative;
}

.trust-bar__title {
  color: #6b7280;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  font-weight: 600;
  animation: fadeIn 1s ease forwards;
}

.trust-bar__marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.trust-bar__logos {
  display: flex;
  gap: 5rem;
  width: max-content;
  animation: scroll-logos 40s linear infinite;
}

.trust-bar__logo {
  color: #374151;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.7;
  white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.trust-bar__logo:hover {
  opacity: 1;
  transform: scale(1.1);
  color: #111827;
}

/* Keyframes */
@keyframes scroll-logos {
  from {
    transform: translateX(0);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

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

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

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

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

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: white;
  padding: 6rem 0 4rem;
  margin-top: 72px;
  text-align: center;
}

.page-header__title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header__subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Service Cards */
.service-card {
  text-align: center;
  position: relative;
}

.service-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card__title {
  margin-bottom: 1rem;
  color: var(--text);
}

.service-card__description {
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-card__link {
  color: var(--blue-700);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.service-card__link:hover {
  color: var(--purple-acc);
}

/* Value Props */
.value-prop {
  text-align: center;
}

.value-prop__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-prop__title {
  margin-bottom: 1rem;
}

.value-prop__description {
  color: var(--muted);
  line-height: 1.6;
}

/* Featured Case Study */
.featured-case__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.featured-case__title {
  margin-bottom: 1rem;
}

.featured-case__description {
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.featured-case__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.metric {
  text-align: center;
}

.metric__value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue-700);
  display: block;
}

.metric__label {
  color: var(--muted);
  font-size: 0.875rem;
}

.featured-case__visual {
  height: 400px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--light-blue), var(--blue-500));
}

.case-visual {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(45deg, var(--blue-700), var(--purple-acc));
  position: relative;
  overflow: hidden;
}

/* Testimonials */
.testimonial {
  text-align: left;
}

.testimonial__quote {
  font-style: italic;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.6;
}

.testimonial__author {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.testimonial__name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial__role {
  color: var(--muted);
  font-size: 0.875rem;
}

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--blue-700), var(--purple-acc));
  color: white;
  text-align: center;
}

.cta-band__content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-band__title {
  margin-bottom: 1rem;
  color: white;
}

.cta-band__subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

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

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  color: var(--light-blue);
  margin-bottom: 1rem;
}

.footer__description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer__title {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--light-blue);
}

.footer__contact p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright p {
  color: rgba(255, 255, 255, 0.6);
}

.footer__legal {
  display: flex;
  gap: 1rem;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer__legal a:hover {
  color: var(--light-blue);
}

/* About Page Styles */
.mission__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission__description {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.mission__visual {
  height: 300px;
  border-radius: 12px;
}

.mission-graphic {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--blue-700), var(--light-blue));
  border-radius: 12px;
}

.story-point__title {
  margin-bottom: 1rem;
}

.story-point p {
  color: var(--muted);
  line-height: 1.6;
}

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

.step {
  text-align: center;
  padding: 2rem 1rem;
}

.step__number {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: white;
  border-radius: 50%;
  line-height: 60px;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step__title {
  margin-bottom: 1rem;
}

.step__description {
  color: var(--muted);
  line-height: 1.6;
}

.value__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-align: center;
  display: block;
}

.value__title {
  text-align: center;
  margin-bottom: 1rem;
}

.value__description {
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

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

.tech-category__title {
  margin-bottom: 1rem;
  color: var(--text);
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Services Page Styles */
.service-detail__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-detail__icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.service-detail__title {
  margin-bottom: 1.5rem;
}

.service-detail__description {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.capabilities__title,
.outcomes__title {
  margin-bottom: 1rem;
}

.capabilities__list {
  margin-bottom: 2rem;
  padding-left: 1rem;
}

.capabilities__list li {
  margin-bottom: 0.5rem;
  color: var(--muted);
  line-height: 1.6;
}

.outcome-metrics {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.outcome-metric {
  text-align: center;
}

.outcome-metric__value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-700);
  display: block;
}

.outcome-metric__label {
  font-size: 0.875rem;
  color: var(--muted);
}

.service-visual {
  height: 300px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-700), var(--light-blue));
}

.service-visual--web {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
}

.service-visual--desktop {
  background: linear-gradient(135deg, var(--blue-500), var(--light-blue));
}

.service-visual--mobile {
  background: linear-gradient(135deg, var(--purple-acc), var(--light-blue));
}

.service-visual--ai {
  background: linear-gradient(135deg, var(--blue-700), var(--purple-acc));
}

/* Pricing */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  position: relative;
  text-align: center;
}

.pricing-card--featured {
  border: 2px solid var(--blue-700);
  transform: scale(1.05);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-700);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.pricing-card__header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.pricing-card__title {
  margin-bottom: 1rem;
}

.pricing-card__price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue-700);
}

.pricing-card__price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
}

.pricing-card__features ul {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-card__features li {
  padding: 0.5rem 0;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

/* Portfolio Page Styles */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--muted);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn--active,
.filter-btn:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: white;
}

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

.portfolio-card {
  overflow: hidden;
  padding: 0;
}

.portfolio-card__image {
  height: 200px;
  overflow: hidden;
}

.portfolio-image {
  /* width: 100%; */
  height: 100%;
  background: linear-gradient(135deg, var(--blue-700), var(--light-blue));
  transition: var(--transition);
  object-fit: cover;
}

.portfolio-image--manufacturing {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
}

.portfolio-image--hmi {
  background: linear-gradient(135deg, var(--purple-acc), var(--light-blue));
}

.portfolio-image--inspection {
  background: linear-gradient(135deg, var(--blue-500), var(--light-blue));
}

.portfolio-image--quality {
  background: linear-gradient(135deg, var(--blue-700), var(--purple-acc));
}

.portfolio-image--energy {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
}

.portfolio-image--predictive {
  background: linear-gradient(135deg, var(--purple-acc), var(--blue-700));
}

.portfolio-image--warehouse {
  background: linear-gradient(135deg, var(--light-blue), var(--blue-500));
}

.portfolio-image--safety {
  background: linear-gradient(135deg, var(--blue-700), var(--light-blue));
}

.portfolio-image--optimization {
  background: linear-gradient(135deg, var(--purple-acc), var(--blue-500));
}

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

.portfolio-card__content {
  padding: 1.5rem;
}

.portfolio-card__tags {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  background: var(--light-blue);
  color: var(--blue-700);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
}

.portfolio-card__title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.portfolio-card__description {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.portfolio-card__btn {
  width: 100%;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: none;
}

.modal--active {
  display: block;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal__content {
  background: white;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--muted);
  z-index: 1;
}

.project-details {
  padding: 2rem;
}

/* Contact Page Styles */
.contact__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact__title {
  margin-bottom: 1rem;
}

.contact__description {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact__details {
  margin-bottom: 2rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact__icon {
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.contact__text h3 {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.contact__text p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact__download {
  padding: 2rem;
  background: var(--bg);
  border-radius: 12px;
  margin-top: 2rem;
}

.contact__download h3 {
  margin-bottom: 1rem;
}

.contact__download p {
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Forms */
.form__group {
  margin-bottom: 1.5rem;
}

.form__label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
}

.form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form__input:focus {
  outline: none;
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__select {
  background: white;
  cursor: pointer;
}

.form__error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

.form__error--show {
  display: block;
}

.form__input--error {
  border-color: #ef4444;
}

.form__submit {
  width: 100%;
  margin-top: 1rem;
}

.form__success {
  text-align: center;
  padding: 2rem;
}

.success-message {
  max-width: 400px;
  margin: 0 auto;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.success-message h3 {
  margin-bottom: 1rem;
}

.success-message p {
  color: var(--muted);
  line-height: 1.6;
}

.info-card {
  text-align: center;
}

.info-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.info-card__title {
  margin-bottom: 1rem;
}

.info-card__description {
  color: var(--muted);
  line-height: 1.6;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--blue-700);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  transition: var(--transition);
  z-index: 1000;
}

.back-to-top:hover {
  background: var(--blue-500);
  transform: translateY(-2px);
}

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

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

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {

  .grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .featured-case__content,
  .mission__content,
  .service-detail__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact__content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer__content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .outcome-metrics {
    flex-direction: column;
    gap: 1rem;
  }

  .featured-case__metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav__menu--active {
    left: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .nav__link {
    font-size: 1.125rem;
  }

  .hero__title {
    font-size: 2.5rem;
  }


  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

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

  .trust-bar__logos {
    gap: 1.5rem;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .filter-buttons {
    gap: 0.5rem;
  }

  .portfolio-items {
    grid-template-columns: 1fr;
  }

  .pricing-table {
    grid-template-columns: 1fr;
  }

  .pricing-card--featured {
    transform: none;
    order: -1;
  }

  .featured-case__metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .tech-categories {
    grid-template-columns: 1fr;
  }

  .modal__overlay {
    padding: 1rem;
  }

  .project-details {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {


  .section {
    padding: 3rem 0;
  }

  .hero {
    padding: 6rem 0 4rem;
  }

  .page-header {
    padding: 4rem 0 3rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .page-header__title {
    font-size: 1.75rem;
  }

  .card {
    padding: 1.5rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }

  .nav__toggle span {
    width: 20px;
  }
}

/* Focus Styles */
button:focus,
.btn:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--blue-700);
  outline-offset: 2px;
}

/* Print Styles */
@media print {

  .header,
  .nav__toggle,
  .back-to-top,
  .btn {
    display: none !important;
  }

  .hero,
  .page-header {
    margin-top: 0;
  }

  body {
    background: white;
    color: black;
  }

  .section--bg {
    background: white;
  }
}

/* =============================== */
/* Extra-Large Screens (2K & 4K)   */
/* =============================== */
@media (min-width: 1440px) {


  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero__title {
    font-size: 4.5rem;
  }

  .hero__subtitle {
    font-size: 1.6rem;
  }
}

@media (min-width: 1920px) {
  .hero__title {
    font-size: 5rem;
  }

  .hero__subtitle {
    font-size: 1.8rem;
  }
}

@media (min-width: 2560px) {

  p,
  .lead-text {
    font-size: 1.25rem;
  }
}

@media (min-width: 3840px) {

  .hero__title {
    font-size: 6rem;
  }

  .hero__subtitle {
    font-size: 2rem;
  }

  p,
  .lead-text {
    font-size: 1.35rem;
  }

  .card {
    padding: 3rem;
  }

  /* Bigger cards on 4K */
  .btn {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
  }
}

/* Tablets (≥ 768px) */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 1.25rem;
  }
}

/* Small Desktops (≥ 1024px) */
@media (min-width: 1024px) {
  .container {
    max-width: 960px;
    padding: 0 1.5rem;
  }
}

/* Large Desktops (≥ 1280px) */
@media (min-width: 1280px) {
  .container {
    max-width: 1200px;
  }
}

/* Extra Large Screens (≥ 1440px) */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }
}

/* 2K Screens (≥ 1920px) */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
  }
}

/* 4K Screens (≥ 2560px) */
@media (min-width: 2560px) {
  .container {
    max-width: 2000px;
  }
}

/* Ultra-Wide 8K (≥ 3840px) */
@media (min-width: 3840px) {
  .container {
    max-width: 2500px;
  }
}