/* CSS Variables - Color Palette */
:root {
  --bamboo: #dc6b04;
  --black-rock: #040437;
  --ebony: #040410;
  --east-bay: #4c4e7b;
  --copper: #bc743c;
  --pickled-bluewood: #343c5e;
  --port-gore: #232557;
  --ebony-clay: #242745;
  --fiord: #3c3c64;
  --port-gore-dark: #1c2440;
}

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: linear-gradient(135deg, var(--ebony) 0%, var(--black-rock) 50%, var(--port-gore) 100%);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  overflow-x: hidden;
  position: relative;
  padding-top: 80px;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

/* Typography */
.text-gradient {
  background: linear-gradient(45deg, var(--bamboo), var(--copper));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #cccccc;
  text-align: center;
  margin-bottom: 3rem;
}

/* Navigation */
.navbar {
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(240, 245, 255, 0.98) 15%,
      rgba(225, 235, 250, 0.98) 30%,
      rgba(210, 225, 245, 0.98) 45%,
      rgba(195, 215, 240, 0.98) 60%,
      rgba(180, 205, 235, 0.98) 75%,
      rgba(165, 195, 230, 0.98) 90%,
      rgba(150, 185, 225, 0.98) 100%) !important;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(220, 107, 4, 0.3);
  transition: all 0.3s ease;
  /* padding: 1rem 0; */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

/* Ensure navbar stays light on scroll */
.navbar.scrolled {
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(240, 245, 255, 0.98) 15%,
      rgba(225, 235, 250, 0.98) 30%,
      rgba(210, 225, 245, 0.98) 45%,
      rgba(195, 215, 240, 0.98) 60%,
      rgba(180, 205, 235, 0.98) 75%,
      rgba(165, 195, 230, 0.98) 90%,
      rgba(150, 185, 225, 0.98) 100%) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Override any Bootstrap navbar-dark styles */
.navbar.navbar-dark {
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(240, 245, 255, 0.95) 15%,
      rgba(225, 235, 250, 0.95) 30%,
      rgba(210, 225, 245, 0.95) 45%,
      rgba(195, 215, 240, 0.95) 60%,
      rgba(180, 205, 235, 0.95) 75%,
      rgba(165, 195, 230, 0.95) 90%,
      rgba(150, 185, 225, 0.95) 100%) !important;
}

.navbar.navbar-dark.scrolled {
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(240, 245, 255, 0.98) 15%,
      rgba(225, 235, 250, 0.98) 30%,
      rgba(210, 225, 245, 0.98) 45%,
      rgba(195, 215, 240, 0.98) 60%,
      rgba(180, 205, 235, 0.98) 75%,
      rgba(165, 195, 230, 0.98) 90%,
      rgba(150, 185, 225, 0.98) 100%) !important;
}

/* Portfolio Button in Navbar */
.navbar .btn-outline-light {
  border: 1px solid var(--bamboo);
  color: var(--bamboo);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.navbar .btn-outline-light:hover {
  background: var(--bamboo);
  color: #ffffff;
  transform: translateY(-2px);
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--bamboo) !important;
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 70px;
  width: auto;
  filter: brightness(1) invert(0);
  transition: all 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
  filter: brightness(1.1) invert(0);
}

.navbar-nav .nav-link {
  color: var(--black-rock) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--bamboo) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--bamboo);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(4, 4, 16, 0.7) 0%, rgba(4, 4, 55, 0.7) 50%, rgba(35, 37, 87, 0.7) 100%);
  overflow: hidden;
  z-index: 10;
  backdrop-filter: blur(2px);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cube {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--bamboo), var(--copper));
  border-radius: 8px;
  animation: float 6s ease-in-out infinite;
  opacity: 0.1;
}

.cube-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.cube-2 {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.cube-3 {
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

.cube-4 {
  top: 40%;
  right: 30%;
  animation-delay: 1s;
}

@keyframes float {

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

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-logo {
  text-align: center;
}

.hero-logo-img {
  height: 120px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {

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

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 30px;
  margin-bottom: 1.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Typing Effect */
.typing-text {
  display: inline-block;
  overflow: hidden;
  white-space: normal;
  animation: typing 1.5s steps(40, end);
  animation-fill-mode: forwards;
  max-width: 100%;
}

@keyframes typing {
  from {
    max-width: 0;
  }

  to {
    max-width: 100%;
  }
}



.company-name {
  font-size: 2rem;
  font-weight: 600;
  color: var(--bamboo);
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--bamboo);
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-label {
  font-size: 0.9rem;
  color: #cccccc;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}



/* Buttons */
.btn-primary {
  background: linear-gradient(45deg, var(--bamboo), var(--copper));
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(220, 107, 4, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 107, 4, 0.4);
  background: linear-gradient(45deg, var(--copper), var(--bamboo));
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, rgba(35, 37, 87, 0.7) 0%, rgba(36, 39, 69, 0.7) 100%);
  position: relative;
  z-index: 10;
  backdrop-filter: blur(2px);
  overflow: hidden;
}

/* Bouncing Shapes Container */
.bouncing-shapes-container {
  position: relative;
  width: 100%;
  height: 300px;
  border: 2px solid rgba(220, 107, 4, 0.3);
  border-radius: 15px;
  background: rgba(4, 4, 16, 0.1);
  backdrop-filter: blur(10px);
  overflow: hidden;
  margin-top: 2rem;
}

/* Varied Shapes Background for entire section */
.shapes-background-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Hide shapes animation on mobile devices (below 800px) */
@media (max-width: 800px) {
  .shapes-background-section {
    display: none;
  }
}

/* Varied Shapes Background */
.shapes-background {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-top: 2rem;
  border-radius: 15px;
  background: rgba(4, 4, 16, 0.05);
  backdrop-filter: blur(5px);
}

.varied-shape {
  position: absolute;
  transition: all 0.3s ease;
  transform-origin: center center;
  z-index: 2;
  /* Ensure shapes are visible */
}

/* Square shapes */
.shape-square-1 {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--bamboo), var(--copper));
  box-shadow: 0 0 15px rgba(220, 107, 4, 0.5);
}

.shape-square-2 {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, var(--east-bay), var(--fiord));
  box-shadow: 0 0 15px rgba(76, 78, 123, 0.5);
}

/* Square outline shapes */
.shape-square-outline-1 {
  width: 35px;
  height: 35px;
  border: 3px solid var(--bamboo);
  background: transparent;
  box-shadow: 0 0 15px rgba(220, 107, 4, 0.3);
}

.shape-square-outline-2 {
  width: 25px;
  height: 25px;
  border: 2px solid var(--copper);
  background: transparent;
  box-shadow: 0 0 15px rgba(188, 116, 60, 0.3);
}

/* Circle outline shapes */
.shape-circle-outline-1 {
  width: 45px;
  height: 45px;
  border: 3px solid var(--east-bay);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 15px rgba(76, 78, 123, 0.3);
}

.shape-circle-outline-2 {
  width: 35px;
  height: 35px;
  border: 2px solid var(--fiord);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 15px rgba(60, 60, 100, 0.3);
}

.shape-circle-outline-3 {
  width: 50px;
  height: 50px;
  border: 4px solid var(--bamboo);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 15px rgba(220, 107, 4, 0.3);
}

/* Triangle shapes */
.shape-triangle-1 {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 35px solid var(--bamboo);
  box-shadow: 0 0 15px rgba(220, 107, 4, 0.5);
}

.shape-triangle-2 {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 25px solid var(--copper);
  box-shadow: 0 0 15px rgba(188, 116, 60, 0.5);
}

.shape-triangle-3 {
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 20px solid var(--east-bay);
  box-shadow: 0 0 15px rgba(76, 78, 123, 0.5);
}

/* Additional square shapes */
.shape-square-3 {
  width: 35px;
  height: 35px;
  background: linear-gradient(45deg, var(--port-gore), var(--ebony-clay));
  box-shadow: 0 0 15px rgba(35, 37, 87, 0.5);
}

.shape-square-outline-3 {
  width: 30px;
  height: 30px;
  border: 2px solid var(--fiord);
  background: transparent;
  box-shadow: 0 0 15px rgba(60, 60, 100, 0.3);
}

/* Additional circle outline shapes */
.shape-circle-outline-4 {
  width: 40px;
  height: 40px;
  border: 3px solid var(--copper);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 15px rgba(188, 116, 60, 0.3);
}

/* Diamond shapes */
.shape-diamond-1 {
  width: 30px;
  height: 30px;
  background: linear-gradient(45deg, var(--bamboo), var(--copper));
  transform: rotate(45deg);
  box-shadow: 0 0 15px rgba(220, 107, 4, 0.5);
}

.shape-diamond-2 {
  width: 25px;
  height: 25px;
  border: 2px solid var(--east-bay);
  background: transparent;
  transform: rotate(45deg);
  box-shadow: 0 0 15px rgba(76, 78, 123, 0.3);
}

.bouncing-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--bamboo), var(--copper));
  box-shadow: 0 0 15px rgba(220, 107, 4, 0.5);
  transition: all 0.1s ease;
}

.shape-bounce-1 {
  width: 30px;
  height: 30px;
  background: linear-gradient(45deg, var(--bamboo), var(--copper));
}

.shape-bounce-2 {
  width: 25px;
  height: 25px;
  background: linear-gradient(45deg, var(--east-bay), var(--fiord));
}

.shape-bounce-3 {
  width: 35px;
  height: 35px;
  background: linear-gradient(45deg, var(--copper), var(--bamboo));
}

.shape-bounce-4 {
  width: 20px;
  height: 20px;
  background: linear-gradient(45deg, var(--port-gore), var(--ebony-clay));
}

.shape-bounce-5 {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, var(--pickled-bluewood), var(--east-bay));
}

.vision-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(220, 107, 4, 0.3);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transform: perspective(1000px) rotateX(5deg);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.vision-card:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.mission-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(220, 107, 4, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mission-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(220, 107, 4, 0.1), transparent);
  transition: left 0.5s ease;
}

.mission-item:hover::before {
  left: 100%;
}

.mission-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mission-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bamboo);
  margin-bottom: 1rem;
}

.mission-item h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.mission-item p {
  color: #cccccc;
  font-size: 0.9rem;
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, rgba(36, 39, 69, 0.7) 0%, rgba(60, 60, 100, 0.7) 100%);
  position: relative;
  z-index: 10;
  backdrop-filter: blur(2px);
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(220, 107, 4, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(220, 107, 4, 0.1), rgba(188, 116, 60, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--bamboo), var(--copper));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: #ffffff;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: rotateY(180deg);
}

.service-card h4 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: #cccccc;
  font-size: 0.95rem;
}

/* Process Section */
.process-section {
  background: linear-gradient(135deg, rgba(60, 60, 100, 0.7) 0%, rgba(76, 78, 123, 0.7) 100%);
  position: relative;
  z-index: 10;
  backdrop-filter: blur(2px);
}

.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--bamboo), var(--copper));
  transform: translateX(-50%);
}

.process-step {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

.process-step:nth-child(odd) {
  flex-direction: row;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--bamboo), var(--copper));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(220, 107, 4, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 5px 15px rgba(220, 107, 4, 0.3);
  }

  50% {
    box-shadow: 0 5px 25px rgba(220, 107, 4, 0.6);
  }

  100% {
    box-shadow: 0 5px 15px rgba(220, 107, 4, 0.3);
  }
}

.step-content {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(220, 107, 4, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 0 2rem;
  backdrop-filter: blur(10px);
  flex: 1;
  transition: all 0.3s ease;
}

.step-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.step-content h4 {
  color: var(--bamboo);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: #cccccc;
  font-size: 0.95rem;
}

/* Partners Section */
.partners-section {
  background: linear-gradient(135deg, rgba(76, 78, 123, 0.7) 0%, rgba(52, 60, 94, 0.7) 100%);
  position: relative;
  z-index: 10;
  backdrop-filter: blur(2px);
}

.partner-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(220, 107, 4, 0.2);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  height: 100%;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.partner-card h3 {
  color: var(--bamboo);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.partner-services {
  list-style: none;
  padding: 0;
}

.partner-services li {
  color: #cccccc;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.partner-services li i {
  color: var(--bamboo);
  margin-right: 0.5rem;
}

/* Client Logos */
.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.client-logo {
  flex: 0 0 auto;
  text-align: center;
}

.client-img {
  max-width: 150px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  filter: grayscale(0%);
  opacity: 1;
}

.client-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Specific adjustments for KIS logo if needed */
.client-img[src*="kis-logo"] {
  max-width: 150px;
  max-height: 80px;
  object-fit: contain;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, rgba(52, 60, 94, 0.7) 0%, rgba(35, 37, 87, 0.7) 100%);
  position: relative;
  z-index: 10;
  backdrop-filter: blur(2px);
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(220, 107, 4, 0.3);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  transform: perspective(1000px) rotateX(5deg);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-details {
  display: grid;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--bamboo);
  margin-top: 0.25rem;
}

.contact-item strong {
  color: #ffffff;
  display: block;
  margin-bottom: 0.25rem;
}

.contact-item a {
  color: var(--bamboo);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--copper);
}

.contact-item p {
  color: #cccccc;
  margin: 0;
}

/* QR Code Section */
.qr-code-section {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(220, 107, 4, 0.2);
  backdrop-filter: blur(10px);
}

.qr-code-container {
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: inline-block;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 1rem;
}

.qr-code-img {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.qr-code-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.qr-description {
  color: #cccccc;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Language Dropdown */
.dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(220, 107, 4, 0.3);
  backdrop-filter: blur(10px);
  min-width: 150px;
  margin-top: 0.5rem;
  z-index: 10000;
  position: absolute;
  top: 100%;
  right: 0;
  display: none;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
  color: var(--black-rock) !important;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  cursor: pointer;
  text-decoration: none;
  display: block;
  border-radius: 4px;
  margin: 2px;
}

.dropdown-item:hover {
  background: rgba(220, 107, 4, 0.1) !important;
  color: var(--bamboo) !important;
  text-decoration: none;
}

.dropdown-item:active {
  background: rgba(220, 107, 4, 0.2) !important;
  color: var(--bamboo) !important;
}

.current-lang {
  font-weight: 600;
  color: var(--black-rock);
}

/* Fix dropdown positioning */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-toggle::after {
  margin-left: 0.5em;
  content: "▼";
  font-size: 0.8em;
}

/* Footer */
.footer {
  background: linear-gradient(90deg,
      #f8f9fa 0%,
      #e8f0f8 15%,
      #d8e0f0 30%,
      #c8d0e8 45%,
      #b8c0e0 60%,
      #a8b0d8 75%,
      #98a0d0 90%,
      #8890c8 100%);
  border-top: 1px solid rgba(220, 107, 4, 0.3);
  color: var(--black-rock);
  position: relative;
  z-index: 10;
}

.footer-brand {
  display: flex;
  align-items: center;
  color: var(--black-rock);
}

.footer-logo {
  height: 30px;
  width: auto;
  filter: brightness(1) invert(0);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-brand:hover .footer-logo {
  opacity: 1;
}

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

.social-link {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, var(--bamboo), var(--copper));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(220, 107, 4, 0.4);
  color: #ffffff;
}

/* Navbar Toggler for Light Theme */
.navbar-toggler {
  border: 1px solid rgba(220, 107, 4, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(220, 107, 4, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(4, 4, 55, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* IT Animation Background */
.it-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* Animated Shapes */
.animated-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.shape {
  position: absolute;
  opacity: 0.6;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--bamboo), var(--copper));
  box-shadow: 0 0 20px rgba(220, 107, 4, 0.3);
  transition: all 0.3s ease;
}

.shape-1 {
  width: 60px;
  height: 60px;
  top: 20%;
  left: 10%;
}

.shape-2 {
  width: 40px;
  height: 40px;
  top: 60%;
  left: 80%;
  background: linear-gradient(45deg, var(--east-bay), var(--fiord));
}

.shape-3 {
  width: 80px;
  height: 80px;
  top: 30%;
  left: 70%;
  background: linear-gradient(45deg, var(--copper), var(--bamboo));
}

.shape-4 {
  width: 50px;
  height: 50px;
  top: 80%;
  left: 20%;
  background: linear-gradient(45deg, var(--port-gore), var(--ebony-clay));
}

.shape-5 {
  width: 70px;
  height: 70px;
  top: 10%;
  left: 50%;
  background: linear-gradient(45deg, var(--pickled-bluewood), var(--east-bay));
}

.shape-6 {
  width: 45px;
  height: 45px;
  top: 70%;
  left: 60%;
  background: linear-gradient(45deg, var(--bamboo), var(--copper));
}

/* Signal Waves */
.signal-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.signal-wave {
  position: absolute;
  border: 2px solid rgba(220, 107, 4, 0.3);
  border-radius: 50%;
  animation: signalPulse 3s ease-in-out infinite;
}

.wave-1 {
  width: 100px;
  height: 100px;
  animation-delay: 0s;
}

.wave-2 {
  width: 200px;
  height: 200px;
  animation-delay: 1s;
}

.wave-3 {
  width: 300px;
  height: 300px;
  animation-delay: 2s;
}

@keyframes signalPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.3;
  }

  100% {
    transform: scale(0.8);
    opacity: 0.8;
  }
}

/* Binary Numbers */
.binary-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.binary-number {
  position: absolute;
  color: rgba(220, 107, 4, 0.6);
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: bold;
  animation: binaryFall 8s linear infinite;
  text-shadow: 0 0 10px rgba(220, 107, 4, 0.5);
  letter-spacing: 2px;
  word-spacing: 4px;
}

.binary-number::before {
  content: attr(data-content);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg,
      rgba(220, 107, 4, 0.8) 0%,
      rgba(188, 116, 60, 0.8) 50%,
      rgba(220, 107, 4, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: binaryGlow 3s ease-in-out infinite alternate;
}

.binary-number:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}

.binary-number:nth-child(2) {
  left: 20%;
  animation-delay: 1s;
}

.binary-number:nth-child(3) {
  left: 30%;
  animation-delay: 2s;
}

.binary-number:nth-child(4) {
  left: 40%;
  animation-delay: 3s;
}

.binary-number:nth-child(5) {
  left: 50%;
  animation-delay: 4s;
}

.binary-number:nth-child(6) {
  left: 60%;
  animation-delay: 5s;
}

.binary-number:nth-child(7) {
  left: 70%;
  animation-delay: 6s;
}

.binary-number:nth-child(8) {
  left: 80%;
  animation-delay: 7s;
}

.binary-number:nth-child(9) {
  left: 85%;
  animation-delay: 0.5s;
}

.binary-number:nth-child(10) {
  left: 90%;
  animation-delay: 1.5s;
}

@keyframes binaryFall {
  0% {
    top: -50px;
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 100vh;
    opacity: 0;
    transform: translateY(0) rotate(360deg);
  }
}

@keyframes binaryGlow {
  0% {
    filter: brightness(1) hue-rotate(0deg);
  }

  100% {
    filter: brightness(1.3) hue-rotate(30deg);
  }
}

/* Data Particles */
.data-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(45deg, var(--bamboo), var(--copper));
  border-radius: 50%;
  animation: particleFloat 6s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(220, 107, 4, 0.8);
}

.particle-1 {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.particle-2 {
  top: 30%;
  left: 75%;
  animation-delay: 1s;
}

.particle-3 {
  top: 60%;
  left: 25%;
  animation-delay: 2s;
}

.particle-4 {
  top: 40%;
  left: 85%;
  animation-delay: 3s;
}

.particle-5 {
  top: 70%;
  left: 45%;
  animation-delay: 4s;
}

.particle-6 {
  top: 25%;
  left: 65%;
  animation-delay: 5s;
}

.particle-7 {
  top: 80%;
  left: 15%;
  animation-delay: 0.5s;
}

.particle-8 {
  top: 15%;
  left: 35%;
  animation-delay: 1.5s;
}

@keyframes particleFloat {

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

  50% {
    transform: translateY(-20px) scale(1.2);
    opacity: 1;
  }
}

/* Network Nodes */
.network-nodes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--bamboo);
  border-radius: 50%;
  animation: nodePulse 4s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(220, 107, 4, 0.8);
}

.node::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(220, 107, 4, 0.3);
  border-radius: 50%;
  animation: nodeRing 3s linear infinite;
}

.node-1 {
  top: 25%;
  left: 20%;
  animation-delay: 0s;
}

.node-2 {
  top: 35%;
  left: 80%;
  animation-delay: 0.5s;
}

.node-3 {
  top: 65%;
  left: 30%;
  animation-delay: 1s;
}

.node-4 {
  top: 45%;
  left: 70%;
  animation-delay: 1.5s;
}

.node-5 {
  top: 75%;
  left: 60%;
  animation-delay: 2s;
}

.node-6 {
  top: 55%;
  left: 40%;
  animation-delay: 2.5s;
}

@keyframes nodePulse {

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

  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

@keyframes nodeRing {
  from {
    transform: scale(1);
    opacity: 0.8;
  }

  to {
    transform: scale(2);
    opacity: 0;
  }
}

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

  /* Ensure dark background on mobile */
  body {
    background: linear-gradient(135deg, var(--ebony) 0%, var(--black-rock) 50%, var(--port-gore) 100%) !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }

  /* IT Animation Responsive */
  .binary-number {
    font-size: 12px;
    letter-spacing: 1px;
    word-spacing: 2px;
  }

  .particle {
    width: 3px;
    height: 3px;
  }

  .node {
    width: 6px;
    height: 6px;
  }

  .wave-1 {
    width: 80px;
    height: 80px;
  }

  .wave-2 {
    width: 160px;
    height: 160px;
  }

  .wave-3 {
    width: 240px;
    height: 240px;
  }

  /* Navbar Responsive */
  body {
    padding-top: 70px;
  }

  .hero-section {
    min-height: calc(100vh - 70px);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .typing-text {
    animation: typing 1.2s steps(40, end);
    white-space: normal;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    margin-bottom: 0.5rem;
  }

  .company-name {
    font-size: 1.5rem;
  }

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

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

  .process-timeline::before {
    left: 30px;
  }

  .process-step {
    flex-direction: row !important;
  }

  .step-content {
    margin-left: 3rem;
    margin-right: 0;
  }

  .card-3d {
    width: 250px;
    height: 150px;
  }

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

  .navbar-logo {
    height: 30px;
  }

  .hero-logo-img {
    height: 80px;
  }

  .footer-logo {
    height: 25px;
  }
}

@media (max-width: 576px) {

  /* Ensure dark background on small mobile */
  body {
    background: linear-gradient(135deg, var(--ebony) 0%, var(--black-rock) 50%, var(--port-gore) 100%) !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }

  /* IT Animation Responsive */
  .binary-number {
    font-size: 10px;
    letter-spacing: 0.5px;
    word-spacing: 1px;
  }

  .particle {
    width: 2px;
    height: 2px;
  }

  .node {
    width: 4px;
    height: 4px;
  }

  .wave-1 {
    width: 60px;
    height: 60px;
  }

  .wave-2 {
    width: 120px;
    height: 120px;
  }

  .wave-3 {
    width: 180px;
    height: 180px;
  }

  /* Navbar Responsive */
  body {
    padding-top: 60px;
  }

  .hero-section {
    min-height: calc(100vh - 60px);
  }

  .hero-title {
    font-size: 2rem;
  }

  .typing-text {
    animation: typing 1s steps(40, end);
    white-space: normal;
  }

  .contact-card {
    padding: 2rem;
  }

  .social-links {
    justify-content: center;
  }

  .navbar-logo {
    height: 25px;
  }

  .hero-logo-img {
    height: 60px;
  }

  .footer-logo {
    height: 20px;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .qr-code-img {
    width: 120px;
    height: 120px;
  }

  .qr-code-section {
    padding: 1.5rem;
    margin-top: 2rem;
  }
}

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

/* Loading Animation */
.loading {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}