body {
  font-family: "Inter", sans-serif;
  background-color: #0b1121;
  color: #f8fafc;
  overflow-x: hidden;
  background-image:
    radial-gradient(at 0% 0%, rgba(168, 85, 247, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.1) 0px, transparent 50%);
  background-attachment: fixed;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: "Outfit", sans-serif;
}

.blob-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: -1;
  animation: blob 15s infinite;
}

.tilt-container {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.spotlight-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition:
    transform 0.2s ease-out,
    background 0.4s ease,
    border-color 0.4s ease;
  transform-style: preserve-3d;
}

.card-light {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(34, 211, 238, 0.12) 0%,
    transparent 70%
  );
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.spotlight-card:hover .card-light {
  opacity: 1;
}

.icon-box {
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.grid-floor {
  background-size: 50px 50px;
  background-image:
    linear-gradient(to right, rgba(34, 211, 238, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 211, 238, 0.08) 1px, transparent 1px);
  opacity: 0;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Mobile Menu Transitions */
#mobile-menu {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-menu.hidden-custom {
  transform: translateX(100%);
}

.entrance-hidden {
  opacity: 0;
}

/*  */

.logo {
  position: relative;
}

.logo img {
  width: 170px;
}

.ftr-logo {
  position: relative;
  display: inline-block;
  padding-bottom: 30px;
}

.ftr-logo img {
  width: 200px;
}

/* ===============================
   ABOUT SECTION
================================ */

.about-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.about-icon.accent {
  color: #c084fc;
  background: rgba(192, 132, 252, 0.1);
  border-color: rgba(192, 132, 252, 0.25);
}

.about-icon.emerald {
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.25);
}

.about-icon.purple {
  color: #a855f7;
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.25);
}

/* ===============================
   PREMIUM PORTFOLIO
================================ */

.portfolio-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  height: 420px;
  display: block;
  background: #050914;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.6s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  border-color: rgba(34, 211, 238, 0.35);
}

/* Image */
/* .portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition:
    transform 0.8s ease,
    opacity 0.6s ease;
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.08);
  opacity: 0.9;
} */

/* Dark Gradient Overlay */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 9, 20, 0.95) 10%,
    rgba(5, 9, 20, 0.5) 45%,
    transparent 80%
  );
}

/* Content */
.portfolio-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 28px;
  width: 100%;
  color: white;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-content {
  transform: translateY(-8px);
}

.portfolio-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 10px;
}

/* Badge */
.portfolio-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

.portfolio-badge.brand {
  background: rgba(34, 211, 238, 0.15);
  color: #22d3ee;
}

.portfolio-badge.accent {
  background: rgba(192, 132, 252, 0.15);
  color: #c084fc;
}

/* CTA */
.portfolio-cta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #22d3ee;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   PORTFOLIO IMAGE SCROLL EFFECT
================================ */

.portfolio-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  height: 420px;
  display: block;
  background: #050914;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.6s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  border-color: rgba(34, 211, 238, 0.35);
}

/* IMAGE WRAPPER */
.portfolio-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto; /* IMPORTANT */
  min-height: 100%;
  object-fit: cover;
  opacity: 0.7;

  /* smooth cinematic motion */
  transition:
    transform 18s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease;
}

/* SCROLL UP EFFECT */
.portfolio-card:hover .portfolio-img {
  transform: translateY(-60%);
  opacity: 0.95;
}

/* ===============================
   CONTACT SECTION
================================ */

/* Glass spotlight card base */

.spotlight-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  transition: all 0.4s ease;
}

.spotlight-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-6px);
}

/* Contact icon circle */
.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22d3ee;
}

/* Inputs */
.contact-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  outline: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.contact-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-input:focus {
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

/* Smooth reveal animation compatibility */

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}
