:root {
  --primary: #00eeff;
  --dark: #000000;
  --light: #f1f5f9;
}

body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  background-color: var(--light);
}

.font-audiowide {
  font-family: 'Audiowide', cursive;
}

/* Footer Styles */
footer {
  background-color: var(--dark);
  color: white;
}

footer h3 {
  color: var(--primary);
}

footer a:hover {
  color: var(--primary);
  transition: color 0.3s;
}

footer .footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #334155;
  margin-top: 2rem;
  color: #cbd5e1;
}

/* Animation */
@keyframes fade-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-fade-up {
  animation: fade-up 0.8s ease-out both;
}

/* Text color transition for TELSYNC */
@keyframes colorPulse {
  0%, 100% {
    color: #00eeff;
  }
  50% {
    color: #000000;
  }
}

.text-transition {
  animation: colorPulse 5s infinite ease-in-out !important;
}

/* Utility Enhancements */
input,
textarea {
  font-family: 'Inter', sans-serif;
  background-color: white;
  transition: border 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  outline: none;
}

button {
  cursor: pointer;
}

/* Responsive container override */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hide scrollbars */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}
/* Prevent image dragging and selection */
img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
/* Flip Card Container */
.flip-card {
  width: min(450px, 100%);
  aspect-ratio: 3 / 2;            /* keeps 450x300 ratio responsively */
  perspective: 1000px;            /* depth for the 3D effect */
  margin: 0 auto;                 /* center in the row */
}

/* Inner wrapper that actually rotates */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .8s ease;
}

/* Hover (desktop) OR .flip class (mobile/JS) triggers the flip */
.flip-card:hover .flip-card-inner,
.flip-card.flip .flip-card-inner {
  transform: rotateY(180deg);
}

/* Faces */
.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;   /* hide the reverse while rotating */
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

/* Back starts rotated */
.flip-card-back {
  transform: rotateY(180deg);
}

/* Images fill the faces neatly */
.flip-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* Make saving/dragging a bit harder (not foolproof) */
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .flip-card-inner {
    transition: none;
  }
}
