/*
*= require 'fontawesome/css/fontawesome.css'
*= require 'fontawesome/css/brands.css'
*= require 'fontawesome/css/solid.css'
*= require 'fontawesome/css/regular.css'
*/

body {
  font-family: "Roboto Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.line-pattern-bg {
  background-image: linear-gradient(45deg, #FED7AA 25%, transparent 25%, transparent 50%, #FED7AA 50%, #FED7AA 75%, transparent 75%, transparent);
  background-size: 80px 80px;
}

.line-pattern-bg-reversed {
  background-image: linear-gradient(-45deg, #FED7AA 25%, transparent 25%, transparent 50%, #FED7AA 50%, #FED7AA 75%, transparent 75%, transparent);
  background-size: 80px 80px;
}

.about-box-one {
  background-image: url("/assets/decor/firework-808a2076.svg");
  background-position: calc(100% - 10px) 10px;
  background-repeat: no-repeat;
  background-size: 40px 40px;
}

.about-box-two {
  background-image: url("/assets/decor/footsteps-8c81092e.svg");
  background-position: calc(100% - 10px) calc(100% - 10px);
  background-repeat: no-repeat;
  background-size: 40px 40px;
}

.about-box-three {
  background-image: url("/assets/decor/balloon-7aaff295.svg");
  background-position: calc(100% - 10px) calc(100% - 10px);
  background-repeat: no-repeat;
  background-size: 70px 70px;
}

/* About card hover effects */
.about-card {
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
  will-change: transform;
}

.about-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Smooth hover effect for card content */
.about-card h2 {
  transition: color 0.3s ease-out;
}

.about-card:hover h2 {
  color: #1f2937;
}

/* Animation for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .about-card {
    transition: none;
  }

  .about-card:hover {
    transform: none;
  }
}

/* Service card hover effects */
.service-card {
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(244, 63, 94, 0.3);
}

.service-card i {
  transition: transform 0.3s ease-out, color 0.3s ease-out;
}

.service-card:hover i {
  transform: scale(1.15) rotate(5deg);
  color: #e11d48;
}

.service-card .service-badge {
  transition: transform 0.3s ease-out;
}

.service-card:hover .service-badge {
  transform: scale(1.1);
}

/* Language logo hover effects */
.language-logo {
  transition: transform 0.3s ease-out, filter 0.3s ease-out;
  will-change: transform;
  filter: grayscale(0.3);
}

.language-logo:hover {
  transform: translateY(-4px) scale(1.1);
  filter: grayscale(0);
}

/* Animation for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .language-logo {
    transition: none;
  }

  .service-card:hover,
  .language-logo:hover {
    transform: none;
  }

  .service-card:hover i {
    transform: none;
  }
}

/* Product card hover effects */
.product-item {
  transition: transform 0.3s ease-out;
  will-change: transform;
}

.product-item:hover {
  transform: translateY(-10px);
}

.product-item .product-circle {
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.product-item:hover .product-circle {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 20px 40px -10px rgba(56, 189, 248, 0.4);
}

.product-item img {
  transition: transform 0.3s ease-out;
}

.product-item:hover img {
  transform: scale(1.1);
}

/* Partner logo hover effects */
.partner-logo {
  transition: transform 0.3s ease-out, filter 0.3s ease-out, opacity 0.3s ease-out;
  will-change: transform;
  opacity: 0.8;
}

.partner-logo:hover {
  transform: translateY(-8px) scale(1.15);
  opacity: 1;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

/* Career card hover effects */
.career-card {
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
  will-change: transform;
}

.career-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(251, 146, 60, 0.4);
}

.career-card h3 {
  transition: color 0.3s ease-out;
}

.career-card:hover h3 {
  color: #ea580c;
}

/* Contact section hover effects */
.contact-link {
  transition: transform 0.2s ease-out, color 0.2s ease-out;
  display: inline-block;
}

.contact-link:hover {
  transform: translateX(4px);
  color: #7dd3fc;
}

.contact-location {
  transition: transform 0.3s ease-out;
}

.contact-location:hover {
  transform: translateY(-4px);
}

/* Animation for reduced motion preference - extended */
@media (prefers-reduced-motion: reduce) {
  .product-item,
  .partner-logo,
  .career-card,
  .contact-link,
  .contact-location {
    transition: none;
  }

  .product-item:hover,
  .partner-logo:hover,
  .career-card:hover,
  .contact-link:hover,
  .contact-location:hover {
    transform: none;
  }

  .product-item:hover .product-circle,
  .product-item:hover img {
    transform: none;
  }
}

/* Parallax elements */
.parallax-element {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.parallax-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.1;
  z-index: 0;
}

.parallax-circle {
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.3), rgba(251, 191, 36, 0.3));
}

.parallax-square {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(14, 165, 233, 0.3));
  transform: rotate(45deg);
}

.parallax-triangle {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 100px solid rgba(236, 72, 153, 0.2);
}

/* Section backgrounds for parallax */
.section-with-parallax {
  position: relative;
  overflow: hidden;
}

.section-with-parallax > :not(.parallax-shape) {
  position: relative;
  z-index: 1;
}

/* Parallax shape variants - About section */
.parallax-about-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 5%;
}

.parallax-about-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  left: 8%;
}

.parallax-about-3 {
  width: 100px;
  height: 100px;
  bottom: 15%;
  right: 15%;
}

/* Parallax shape variants - Services section */
.parallax-services-1 {
  width: 180px;
  height: 180px;
  top: 5%;
  left: 10%;
}

.parallax-services-2 {
  width: 120px;
  height: 120px;
  top: 50%;
  right: 5%;
}

.parallax-services-3 {
  width: 80px;
  height: 80px;
  bottom: 10%;
  left: 15%;
}

/* Parallax shape variants - Products section */
.parallax-products-1 {
  width: 140px;
  height: 140px;
  top: 15%;
  right: 10%;
}

.parallax-products-2 {
  width: 90px;
  height: 90px;
  bottom: 20%;
  left: 5%;
}

/* Parallax shape variants - Career section */
.parallax-career-1 {
  width: 130px;
  height: 130px;
  top: 8%;
  right: 12%;
}

.parallax-career-2 {
  width: 110px;
  height: 110px;
  bottom: 12%;
  left: 10%;
}

/* Parallax shape variants - Contact section */
.parallax-contact-1 {
  width: 160px;
  height: 160px;
  top: 10%;
  left: 5%;
  opacity: 0.05;
}

.parallax-contact-2 {
  width: 100px;
  height: 100px;
  bottom: 15%;
  right: 8%;
  opacity: 0.05;
}

/* Keyboard navigation hint */
#keyboard-nav-hint {
  backdrop-filter: blur(8px);
}

@media (prefers-reduced-motion: reduce) {
  #keyboard-nav-hint {
    transition: none;
  }
}

/* Section navigation indicators */
.section-nav-indicator {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(100, 116, 139, 0.3);
  border: 2px solid rgba(100, 116, 139, 0.5);
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.section-nav-dot:hover {
  background-color: rgba(100, 116, 139, 0.6);
  transform: scale(1.2);
}

.section-nav-dot.active {
  background-color: rgb(100, 116, 139);
  border-color: rgb(100, 116, 139);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .section-nav-indicator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-nav-dot {
    transition: none;
  }

  .section-nav-dot:hover,
  .section-nav-dot.active {
    transform: none;
  }
}