/* === MOBILE ONLY STYLES === */
@media (max-width: 599px) {

  /* Global scaling */
  body {
    font-size: 14px;
    padding: 0 8px;
  }

  .hero-container {
    padding: 30px 12px;
    border-radius: 20px;
  }

  .hero-top-row {
    flex-direction: column;
    text-align: center;
    margin-bottom: 20px;
  }

  .hero-bottom-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .hero-photo {
    width: 120px;
    margin-bottom: 10px;
  }

  .hero-image {
    transform: scale(0.6);
    transform-origin: top center;
  }

  .hero-heading {
    font-size: 1.6rem;
    text-align: center;
  }

  .hero-phrase {
    font-size: 1rem;
    text-align: center;
    line-height: 1.4;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .gradient-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .about-two-column {
    flex-direction: column;
    gap: 30px;
  }

  .section-heading {
    font-size: 1.4rem;
    margin-top: 40px;
    text-align: center;
  }

  .gama-footer {
    flex-direction: column;
    text-align: center;
    padding: 30px 16px;
  }

  .gama-logo {
    height: 70px;
    max-width: 160px;
    padding: 0;
  }

  .gama-footer-bottom {
    position: static;
    transform: none;
    margin-top: 20px;
  }

  .gama-floating-pill {
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  .gama-copyright {
    font-size: 0.75rem;
  }

  .device-badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    bottom: 8px;
    right: 8px;
  }

}



.cookie-card {
  display: block; /* <-- always block, not hidden by default */
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: #fff;
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, opacity 0.4s ease;
  font-size: 0.95rem;
  color: #333;
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
}

/* Only animate/appear when show class is added */
.cookie-card.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-close {
  position: absolute;
  top: 6px;
  right: 10px;
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
}


/* To asdjust size of Preview Images from Projects on phones */

@media (max-width: 768px) {
  .image-modal-img {
    max-width: 95vw;
    max-height: 85vh;
  }

  .image-modal-content {
    border-radius: 8px;
  }
}