/* Innovation Quote and Contact Wrapper */
.innovation-contact-wrapper {
  text-align: center;
  margin: 15px auto 10px;
  max-width: 100%;
  width: 100%;
}

.innovation-quote {
  font-style: italic;
  font-size: 1.1em;
  color: #fff;
  margin: 0 0 15px 0;
  padding: 8px 0;
  text-align: center;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  line-height: 1.3;
}

.contact-details {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 auto;
  max-width: 600px;
  padding: 0 10px;
}

.contact-item {
  padding: 10px 14px 10px 6px !important;
  width: 180px !important;
  height: 50px !important;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: auto !important;
  margin: 0 !important;
  transition: all 0.3s ease;
}

.contact-icon-wrapper {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #19c2d2, #0c77a2) !important;
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
  left: 45px;
}

.contact-icon-wrapper i {
  font-size: 14px !important;
  color: white !important;
  transition: transform 0.3s ease;
}

.contact-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  line-height: 1.3;
  transform: none !important;
  text-align: center;
  width: 100%;
  padding: 2px 0;
}

.contact-label {
  font-size: 10px !important;
  color: #000000 !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 1px;
}

.contact-value {
  font-size: 12px !important;
  color: #000000 !important;
  font-weight: 500;
  line-height: 1.3;
  transition: color 0.3s ease;
  margin-top: 1px;
}

.contact-item:hover {
  background: rgba(25, 194, 210, 0.15) !important;
  border-color: rgba(25, 194, 210, 0.3) !important;
  transform: translateY(-2px);
}

.contact-item:hover .contact-icon-wrapper {
  transform: scale(1.05);
}

.contact-item:hover .contact-icon-wrapper i {
  transform: scale(1.1);
}

.contact-item:hover .contact-value,
.contact-item:hover .contact-label {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Ensure Font Awesome icons are visible */
.fas {
  font-family: 'Font Awesome 6 Free' !important;
  font-weight: 900;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

/* Footer Contact Styles */
.footer-contact {
  flex: 1;
  min-width: 250px;
  text-align: center;
  align-items: center;
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.footer-contact h3 {
  font-size: 20px;
  margin-bottom: 25px;
  margin-top: 36px;
  color: #fff;
  text-align: center;
}

.contact-details {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
  padding: 0 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  min-width: 240px;
  flex: 1;
  max-width: 300px;
  position: relative;
  overflow: hidden;
}

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

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

.contact-item:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(25, 194, 210, 0.2);
  border-color: rgba(25, 194, 210, 0.5);
  box-shadow: 0 10px 30px rgba(25, 194, 210, 0.3);
}

.contact-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #19c2d2, #0c77a2);
  border-radius: 50%;
  transition: all 0.4s ease;
  position: relative;
}

.contact-icon-wrapper::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #19c2d2, #40E0D0, #0c77a2);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-item:hover .contact-icon-wrapper::after {
  opacity: 1;
}

.contact-icon-wrapper i {
  color: white;
  font-size: 18px;
  transition: transform 0.4s ease;
}

.contact-item:hover .contact-icon-wrapper i {
  transform: scale(1.2) rotate(10deg);
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.contact-label {
  font-size: 12px;
  color: #19c2d2;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-item:hover .contact-value {
  color: #19c2d2;
}

/* Animation for contact items */
.animated-contact {
  animation: slideInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.animated-contact:nth-child(2) {
  animation-delay: 0.2s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Responsive styles */
@media (max-width: 768px) {
  .contact-details {
    flex-direction: column;
    align-items: stretch;
    padding: 0 15px;
    gap: 15px;
  }

  .contact-item {
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
    padding: 12px 15px !important;
  }

  .contact-icon-wrapper {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .contact-text {
    overflow: hidden;
  }

  .contact-value {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact-item {
    width: 100%;
    max-width: 100%;
  }
}