@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none !important; /* Hide default cursor */
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6), 0 0 20px rgba(56, 189, 248, 0.4);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s, border-color 0.3s;
}

body {
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #0f172a; /* Deep dark base */
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* Liquid/Glow blobs in background */
body::before, body::after {
  content: '';
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  animation: float 10s infinite ease-in-out alternate;
}

body::before {
  background: rgba(3, 169, 244, 0.4); /* Blue glow */
  top: -10%;
  left: -10%;
}

body::after {
  background: rgba(139, 92, 246, 0.4); /* Purple glow */
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10%, 10%) scale(1.1); }
}

.card {
  position: relative;
  width: 420px;
  height: auto;
  min-height: 620px;
  padding-bottom: 40px;
  background: rgba(255, 255, 255, 0.03); /* Very transparent */
  border-radius: 30px; /* Liquid soft corners */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.25); /* Top highlight */
  border-left: 1px solid rgba(255, 255, 255, 0.25); /* Left highlight */
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.3), /* Outer shadow for depth */
    inset 0 0 20px rgba(255, 255, 255, 0.05); /* Inner reflection */
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  z-index: 1;
}

.card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 
    0 25px 45px rgba(0, 0, 0, 0.4),
    inset 0 0 25px rgba(255, 255, 255, 0.08);
}

/* Liquid reflection swipe across the card */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: all 0.6s ease;
  z-index: 2;
  pointer-events: none;
}

.card:hover::before {
  left: 200%;
  transition: all 0.8s ease-in-out;
}

.img-bx {
  position: relative;
  margin: 40px auto 20px auto;
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.3),
    0 0 0 6px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 3;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.02);
}

.card:hover .img-bx {
  box-shadow: 
    0 15px 35px rgba(3, 169, 244, 0.3),
    0 0 0 8px rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.img-bx img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .img-bx img {
  transform: scale(1.1) rotate(5deg);
}

.content {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  z-index: 3;
  padding: 0 25px;
}

.detail {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  width: 100%;
}

.detail h2 {
  color: #fff;
  font-size: 1.8em;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.detail h2 span {
  display: block;
  font-size: 0.85em;
  color: #a5f3fc; /* Soft liquid cyan */
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 2px 5px rgba(3, 169, 244, 0.5);
}

.sci {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  gap: 15px;
  z-index: 3;
}

.sci li {
  list-style: none;
}

.sci li a {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05); /* Glass icon base */
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  font-size: 1.3em;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sci li a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: #38bdf8; /* Glowing light blue icon on hover */
  transform: translateY(-8px) scale(1.1);
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.25),
    0 0 15px rgba(56, 189, 248, 0.4); /* Glow effect */
}

.btn-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  margin-top: 35px;
  gap: 15px;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  backdrop-filter: blur(15px);
  color: #fff;
  font-size: 0.95em;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 85%;
  font-family: inherit;
}

.btn:hover {
  background: rgba(56, 189, 248, 0.2); /* Liquid blue tint */
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-3px);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(56, 189, 248, 0.3); /* Glow */
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.portfolio-btn {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(56, 189, 248, 0.3));
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.2),
    0 0 10px rgba(139, 92, 246, 0.2);
}

.portfolio-btn:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.6), rgba(56, 189, 248, 0.6));
  border-color: rgba(139, 92, 246, 0.8);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.3),
    0 0 25px rgba(139, 92, 246, 0.5);
}

@media (max-width: 450px) {
  .card {
    width: 90%;
    height: auto;
    padding-bottom: 30px;
  }
  .img-bx {
    width: 150px;
    height: 150px;
  }
  .btn {
    width: 90%;
  }
}
