/* Glassmorphism & Custom Styling for ICT Portfolio */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Prompt:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --primary-cyan: #06b6d4;
  --primary-teal: #14b8a6;
  --accent-glow: rgba(6, 182, 212, 0.35);
}

body {
  font-family: 'Prompt', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  scroll-behavior: smooth;
}

/* Glassmorphism Classes */
.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .glass-card {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.35);
}

.glass-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(6, 182, 212, 0.25);
  border-color: rgba(6, 182, 212, 0.4);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid rgba(226, 232, 240, 0.8);
}

.dark .glass-nav {
  background: rgba(11, 19, 38, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid rgba(51, 65, 85, 0.5);
}

.glass-topbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.dark .glass-topbar {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.glass-modal {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.dark .glass-modal {
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.glass-pill {
  background: rgba(6, 182, 212, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.dark .glass-pill {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Ambient Glowing Orbs */
.bg-ambient-orb {
  position: fixed;
  border-radius: 9999px;
  filter: blur(95px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  transition: opacity 0.5s ease;
}

.dark .bg-ambient-orb {
  opacity: 0.35;
}

.orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #06b6d4, #0284c7);
  top: -100px;
  right: -50px;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #14b8a6, #0d9488);
  bottom: 5%;
  left: 20%;
  animation: floatOrb2 22s ease-in-out infinite alternate;
}

.orb-3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #38bdf8, #6366f1);
  top: 40%;
  right: 15%;
  animation: floatOrb 15s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 60px) scale(1.08); }
  100% { transform: translate(30px, -30px) scale(0.95); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(0.95); }
  50% { transform: translate(50px, -50px) scale(1.1); }
  100% { transform: translate(-30px, 40px) scale(1); }
}

/* Active Nav Links */
.nav-link.active {
  color: #06b6d4 !important;
  background: rgba(6, 182, 212, 0.12);
  border-left: 4px solid #06b6d4;
  font-weight: 600;
}

.dark .nav-link.active {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12);
  border-left: 4px solid #38bdf8;
  font-weight: 600;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(6, 182, 212, 0.7);
}

/* Toast Animation */
@keyframes toastSlideIn {
  from {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes toastSlideOut {
  from {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  to {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
  }
}

.toast-enter {
  animation: toastSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-exit {
  animation: toastSlideOut 0.2s cubic-bezier(0.4, 0, 1, 1) forwards;
}
