/* Footer Section Styles */
.footer-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #fff;
  padding: 4rem 1.5rem 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Left Column Styles */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-brand-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-brand-icon:hover {
  transform: scale(1.05);
}

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

.brand-name {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}

.brand-tagline {
  font-size: 0.9rem;
  color: #aaa;
  letter-spacing: 0.1em;
  font-weight: 400;
}

.footer-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
  max-width: 500px;
  padding-left: 1rem;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-description p {
  margin: 0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #ccc;
  transition: color 0.3s ease;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
}

.contact-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.contact-item svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.contact-item:hover svg {
  transform: scale(1.1);
}

/* Right Column Styles */
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-nav,
.footer-social {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav h3,
.footer-social h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ccc;
  text-decoration: none;
  padding: 0.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.footer-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-nav-link svg {
  transition: transform 0.3s ease;
  opacity: 0.6;
}

.footer-nav-link:hover svg {
  transform: translateX(0.25rem);
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ccc;
  text-decoration: none;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  min-width: 100px;
  justify-content: center;
}

.social-link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link[data-platform="email"]:hover {
  border-color: #3b82f6;
}

.social-link[data-platform="linkedin"]:hover {
  border-color: #0077b5;
}

.social-link svg {
  transition: transform 0.3s ease;
}

.social-link:hover svg {
  transform: scale(1.1);
}

/* Bottom Footer */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #888;
  font-size: 0.9rem;
}

.footer-rights {
  font-size: 0.8rem;
  color: #666;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ccc;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-indicator-footer {
  width: 0.75rem;
  height: 0.75rem;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Responsive Styles */
@media (max-width: 639px) {
  .footer-section {
    padding: 3rem 1rem 0;
  }

  .footer-content {
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }

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

  .footer-brand-icon {
    width: 3rem;
    height: 3rem;
  }

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

  .brand-tagline {
    font-size: 0.8rem;
  }

  .footer-description {
    text-align: center;
    max-width: 100%;
    padding-left: 0;
    border-left: none;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
  }

  .footer-contact,
  .footer-nav,
  .footer-social {
    text-align: center;
    padding: 1.25rem;
  }

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

  .social-link {
    min-width: 90px;
    padding: 0.75rem;
  }

  .footer-bottom-content {
    gap: 1rem;
  }
}

@media (min-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .social-links {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-section {
    padding: 6rem 3rem 0;
  }

  .footer-content {
    grid-template-columns: 2fr 1fr;
    gap: 6rem;
    margin-bottom: 4rem;
  }

  .footer-left {
    max-width: 600px;
  }

  .footer-brand-icon {
    width: 4rem;
    height: 4rem;
  }

  .brand-name {
    font-size: 2rem;
  }

  .brand-tagline {
    font-size: 1rem;
  }

  .footer-description {
    font-size: 1.1rem;
    max-width: 550px;
  }

  .footer-right {
    gap: 3rem;
  }

  .social-links {
    gap: 2rem;
  }

  .social-link {
    padding: 1.25rem;
    min-width: 120px;
  }

  .footer-bottom {
    padding: 3rem 0;
  }
}


/* Quantiz Popup Modal Styles */
.quantiz-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 1rem;
}

.quantiz-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.quantiz-popup-modal {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.quantiz-popup-overlay.active .quantiz-popup-modal {
  transform: scale(1) translateY(0);
}

.quantiz-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
}

.quantiz-popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.quantiz-popup-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quantiz-popup-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
}

.quantiz-popup-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.02em;
}

.quantiz-popup-message {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
  margin: 0;
}

.quantiz-popup-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-direction: column;
}

.quantiz-popup-btn {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.quantiz-popup-btn.primary {
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  color: #000;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.quantiz-popup-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.3);
}

.quantiz-popup-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.quantiz-popup-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 640px) {
  .quantiz-popup-modal {
    padding: 3rem;
  }

  .quantiz-popup-title {
    font-size: 2rem;
  }

  .quantiz-popup-actions {
    flex-direction: row;
  }
}

@media (max-width: 639px) {
  .quantiz-popup-modal {
    padding: 2rem 1.5rem;
  }

  .quantiz-popup-title {
    font-size: 1.5rem;
  }

  .quantiz-popup-message {
    font-size: 1rem;
  }

  .quantiz-popup-icon {
    width: 60px;
    height: 60px;
  }

  .quantiz-popup-icon svg {
    width: 36px;
    height: 36px;
  }
}

/* Floating Contact Button - Moved to bottom right corner */
.floating-contact-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.contact-trigger-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-trigger-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5);
}

.contact-trigger-text {
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

/* Contact Popup Modal */
.contact-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 1rem;
}

.contact-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-popup-modal {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.contact-popup-overlay.active .contact-popup-modal {
  transform: scale(1) translateY(0);
}

.contact-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
}

.contact-popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.contact-popup-content {
  text-align: center;
}

.contact-popup-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.contact-popup-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: left;
}

.contact-option:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

.contact-option-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  flex-shrink: 0;
}

.contact-option-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-option-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.contact-form-container {
  display: none;
  animation: fadeInUp 0.4s ease;
}

.contact-form-container.active {
  display: block;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: #10b981;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-btn {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.form-btn.primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
}

.form-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.form-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

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

@media (max-width: 639px) {
  .floating-contact-button {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .contact-trigger-btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
  }

  .contact-trigger-text {
    display: none;
  }
  
  .contact-trigger-btn svg {
    width: 24px;
    height: 24px;
  }
}

  .contact-popup-modal {
    padding: 2rem 1.5rem;
  }

  .contact-popup-title {
    font-size: 1.5rem;
  }

  .contact-popup-subtitle {
    font-size: 0.9rem;
  }

  .contact-option {
    padding: 1rem;
  }

  .contact-option-icon {
    width: 40px;
    height: 40px;
  }

  .contact-option-icon svg {
    width: 20px;
    height: 20px;
  }

  .form-actions {
    flex-direction: column;
  }
}

/* Falling Text Effect */
.falling-text-container {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 500px;
  cursor: pointer;
  overflow: hidden;
}

.falling-text-target {
  display: inline-block;
  font-size: 1.5rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
}

.falling-text-target .word {
  display: inline-block;
  margin: 0 4px;
  user-select: none;
  transition: color 0.3s ease;
}

.falling-text-target .word.highlighted {
  color: #10b981;
  font-weight: 700;
}

.falling-text-canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  padding: 1.25rem 1.75rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10001;
  opacity: 0;
  transform: translateY(2rem) scale(0.9);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  max-width: 400px;
  backdrop-filter: blur(10px);
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.toast-notification.error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 10px 40px rgba(239, 68, 68, 0.4);
}

.toast-icon {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.toast-message {
  font-size: 0.875rem;
  opacity: 0.9;
  line-height: 1.4;
}

@media (max-width: 639px) {
  .toast-notification {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
    padding: 1rem 1.25rem;
  }
}