:root {
  --brand-900: #0F2754;
  --brand-800: #143465;
  --brand-600: #245C97;
  --white: #FFFFFF;
  --bg: #F6F8FC;
  --surface: #FFFFFF;
  --surface-2: #EEF3FB;
  --surface-3: #E7EEF9;
  --text: #0B1220;
  --text-2: #223049;
  --text-muted: #5B6470;
  --border: #E3E8F0;
  --border-strong: #C9D3E1;
  --shadow-sm: 0 4px 14px rgba(15, 39, 84, 0.08);
  --accent-blue: #1E5AA8;
  --accent-blue-hover: #174A8D;
  --btn-primary-bg: var(--brand-900);
  --btn-primary-text: var(--white);
  --btn-primary-hover: #0B1E43;
  --btn-secondary-bg: var(--surface-2);
  --btn-secondary-text: var(--brand-900);
  --input-placeholder: #8A95A6;
  --danger: #B42318;
  --nav-bg: var(--brand-900);
  --nav-text: rgba(255, 255, 255, 0.92);
  --nav-hover: rgba(255, 255, 255, 0.08);
  --hero-tint-a: rgba(15, 39, 84, .70);
  --hero-tint-b: rgba(36, 92, 151, .22);
  --hero-top-scrim: rgba(15, 39, 84, .78);
  --hero-bottom-scrim: rgba(15, 39, 84, .58);
  --hero-vignette: rgba(0, 0, 0, .46);
  --hero-spot: rgba(15, 39, 84, .38);
    --tw-card-bg-a: rgba(10, 25, 54, .42);
  --tw-card-bg-b: rgba(10, 25, 54, .26);
  --tw-line-bg:   rgba(0, 0, 0, .22);
  --tw-text:      rgba(255, 255, 255, .98);
  --tw-stroke:    rgba(0, 0, 0, .55);
  --tw-glow:      rgba(147, 210, 255, .60);
}

[data-theme="dark"] {
  --brand-900: #0a1936;
  --brand-800: #0d224d;
  --brand-600: #143c70;
  --bg: #0b1120;
  --surface: #1e293b;
  --surface-2: #334155;
  --surface-3: #475569;
  --text: #f1f5f9;
  --text-2: #e2e8f0;
  --text-muted: #94a3b8;
  --border: #334155;
  --border-strong: #475569;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.4);
  --btn-primary-bg: #3b82f6;
  --btn-primary-hover: #2563eb;
  --input-placeholder: #64748b;
  --nav-bg: #0f172a;
  --hero-tint-a: rgba(10, 25, 54, .62);
  --hero-tint-b: rgba(20, 60, 112, .18);
  --hero-top-scrim: rgba(10, 25, 54, .70);
  --hero-bottom-scrim: rgba(10, 25, 54, .52);
  --hero-vignette: rgba(0, 0, 0, .38);
  --hero-spot: rgba(10, 25, 54, .30);
   --tw-card-bg-a: rgba(8, 16, 32, .55);
  --tw-card-bg-b: rgba(8, 16, 32, .34);
  --tw-line-bg:   rgba(0, 0, 0, .28);
  --tw-stroke:    rgba(0, 0, 0, .70);
  --tw-glow:      rgba(147, 210, 255, .65);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  position: relative;
  font-family: 'Inter', sans-serif;
  color: var(--text);
}

#spider-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg);
}

#main-nav{
  height: 85px;
}

.navbar {
  transition: all 0.3s ease;
}

.nav-scrolled {
  background-color: var(--nav-bg) !important;
  box-shadow: var(--shadow-sm) !important;
  padding-top: 0.8rem !important;
  padding-bottom: 0.8rem !important;
  height: 85px !important;
}

.brand-title {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.brand-subtitle {
  color: rgba(255, 255, 255, 1);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-left: 0;
  white-space: nowrap;
  margin-top: 5px !important;
}

.brand-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 16px;
  flex-shrink: 0;
}

.section-title {
  color: var(--brand-900);
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--accent-blue);
  padding-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  font-size: 1.75rem;
  position: relative;
}

.project-card {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.03);
  border-color: var(--brand-600);
}

.project-card .img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background-color: #e5f2ff5c;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.03));
}

.project-card:hover img {
  transform: scale(1.08);
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  color: var(--brand-900);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 3.08rem;
}

.card-desc-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--brand-900);
  padding: 1.5rem;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.project-card:hover .card-desc-overlay {
  opacity: 1;
}

.overlay-text {
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateY(15px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

.project-card:hover .overlay-text {
  transform: translateY(0);
  opacity: 1;
}

.btn-primary-custom {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
  display: block;
  text-align: center;
  width: 100%;
}

.btn-primary-custom:hover {
  background-color: var(--btn-primary-hover);
  color: var(--btn-primary-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 39, 84, 0.2);
}

.btn-secondary-custom {
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
  display: block;
  text-align: center;
  width: 100%;
  cursor: not-allowed;
  opacity: 0.7;
}

.navbar-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-link {
  color: var(--nav-text) !important;
  transition: all 0.2s ease;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
  color: #fff !important;
  background-color: var(--nav-hover);
}

.nav-icon-btn {
  color: var(--nav-text);
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.nav-icon-btn:hover {
  color: #fff;
  background-color: var(--nav-hover);
}

.account-avatar {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

.hero-section {
  position: relative;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  border-radius: 0;
}

.hero-bg-zoom {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  background: url('../assets/img/hero/img-1715804777.jpg') no-repeat center center;
  background-size: cover;
  animation: kenBurns 25s ease-in-out infinite alternate;
  z-index: 0;
  will-change: transform;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }

  33% {
    transform: scale(1.06) translate(-1%, 1%);
  }

  66% {
    transform: scale(1.04) translate(1%, -0.5%);
  }

  100% {
    transform: scale(1.08) translate(-0.5%, 0.5%);
  }
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
  animation: gradientBreath 18s ease-in-out infinite alternate;
  background:
    linear-gradient(135deg, var(--hero-tint-a) 0%, rgba(15, 39, 84, .50) 40%, var(--hero-tint-b) 100%);
  background-blend-mode: multiply;
}

@keyframes gradientBreath {
  0% {
    opacity: 0.95;
  }

  100% {
    opacity: 1;
  }
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  animation: grainAnimate 0.15s steps(2) infinite;
}

@keyframes grainAnimate {
  0% {
    background-position: 0 0;
  }

  20% {
    background-position: -5% -10%;
  }

  40% {
    background-position: -15% 5%;
  }

  60% {
    background-position: 7% -25%;
  }

  80% {
    background-position: -5% 10%;
  }

  100% {
    background-position: 10% 5%;
  }
}

.hero-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: floatOrb 15s infinite alternate ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(147, 210, 255, 0.4);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(45, 120, 220, 0.35);
  bottom: -150px;
  right: -100px;
  animation-duration: 20s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(100px, 50px) scale(1.1);
  }
}

.hero-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: rotate(-15deg) translateY(-50%);
  animation: slideGrid 30s linear infinite;
  opacity: 0.6;
}

@keyframes slideGrid {
  0% {
    transform: rotate(-15deg) translateY(-50%) translateX(0);
  }

  100% {
    transform: rotate(-15deg) translateY(-50%) translateX(-60px);
  }
}

.hero-shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(2px);
  animation: floatShape linear infinite;
  border-radius: 4px;
}

.shape-1 {
  width: 40px;
  height: 40px;
  left: 10%;
  bottom: -50px;
  animation-duration: 18s;
  animation-delay: 2s;
}

.shape-2 {
  width: 80px;
  height: 80px;
  left: 25%;
  bottom: -100px;
  animation-duration: 25s;
  animation-delay: 0s;
}

.shape-3 {
  width: 30px;
  height: 30px;
  left: 60%;
  bottom: -40px;
  animation-duration: 20s;
  animation-delay: 5s;
  border-radius: 50%;
  border-color: rgba(147, 210, 255, 0.3);
}

.shape-4 {
  width: 120px;
  height: 120px;
  right: 20%;
  bottom: -150px;
  animation-duration: 35s;
  animation-delay: 1s;
}

.shape-5 {
  width: 50px;
  height: 50px;
  right: 5%;
  bottom: -60px;
  animation-duration: 22s;
  animation-delay: 8s;
  transform: rotate(45deg);
}

@keyframes floatShape {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  padding-inline: 1.25rem;
}

.hero-title {
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  max-width: 750px;
  margin: 0 auto;
}

.hero-typewriter-wrapper {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

.hero-typewriter-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-radius: 25px;
  border: 1px solid;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 30px 56px 30px;
background: linear-gradient(180deg, var(--tw-card-bg-a), var(--tw-card-bg-b)) !important;
  border-color: rgba(147, 210, 255, .26) !important;
  box-shadow:
    0 0 0 1px rgba(147, 210, 255, .08),
    0 16px 60px rgba(0, 0, 0, .38),
    0 0 90px rgba(15, 40, 100, .45),
    inset 0 1px 0 rgba(255, 255, 255, .10) !important;
  overflow: hidden;
  min-height: 170px;
  min-width: 420px;
}

.hero-typewriter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  animation: scan-sweep 4s linear infinite;
  pointer-events: none;
}

@keyframes scan-sweep {
  0% {
    left: -60%;
  }

  100% {
    left: 120%;
  }
}

.tw-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
   color: rgba(147, 210, 255, .85) !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.tw-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: live-pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(74, 222, 128, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.hero-typewriter-line {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 10px 16px;
  border-radius: 14px;
}

.typewriter-text {
  font-size: 2rem;
  font-weight: 700;
  color: var(--tw-text) !important;
  letter-spacing: 0.3px;
  min-width: 280px;
  min-height: 48px;
  display: inline-block;
  text-align: center;
}

.typewriter-cursor {
  font-size: 1.65rem;
  font-weight: 200;
  color: rgba(147, 210, 255, .98) !important;
  text-shadow: 0 0 16px rgba(147,210,255,.75), 0 2px 10px rgba(0,0,0,.55);
  animation: cursor-blink 0.7s step-end infinite;
  margin-left: 4px;
  user-select: none;
}

@keyframes cursor-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.tw-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tw-dot {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
  cursor: default;
}

.tw-dot.active {
  background: rgba(147, 210, 255, 0.9);
  box-shadow: 0 0 8px rgba(147, 210, 255, 0.7);
  width: 34px;
  transform: none;
}

@media (max-width: 768px) {
  .hero-typewriter-wrapper {
    margin-top: 2rem;
  }

  .hero-typewriter-card {
    padding: 18px 24px 16px;
    min-width: 0;
    width: 100%;
  }

  .typewriter-text {
    min-width: 180px;
    font-size: 1.1rem;
  }
}

.search-filter-wrapper {
  position: relative;
  z-index: 10;
}

.search-filter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.search-box {
  display: flex;
  align-items: center;
  flex: 1;
}

.search-icon {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-right: 0.8rem;
}

.search-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 1rem;
  color: var(--text);
  background: transparent;
}

.search-input::placeholder {
  color: var(--input-placeholder);
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border-radius: 100px;
  padding: 0.25rem;
  border: 1px solid var(--border);
}

.filter-btn {
  border: none;
  background: transparent;
  color: var(--text-2);
  padding: 0.5rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.filter-btn:hover {
  color: var(--brand-900);
  background-color: rgba(0, 0, 0, 0.02);
}

.filter-btn.active {
  background: #fff;
  color: var(--brand-900);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-weight: 600;
}

.clear-btn {
  border: none;
  background: var(--surface-2);
  color: var(--text-muted);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.clear-btn:hover {
  background: #FFE5E5;
  color: var(--danger);
}

.pin-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.pin-btn:hover {
  background: var(--surface-2);
  color: var(--brand-900);
}

.pin-btn.pinned {
  background: var(--brand-900);
  color: #fff;
  border-color: var(--brand-900);
}

.project-card {
  position: relative;
}

.useful-links-container {
  padding-bottom: 2rem;
}

.useful-link-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 1rem 1.25rem;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  height: 100%;
  min-height: 85px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.useful-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(30, 90, 168, 0.1);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.useful-link-text {
  flex-grow: 1;
  line-height: 1.3;
}

.useful-link-card .bi-chevron-right {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  transform: translateX(0);
}

.useful-link-card:hover {
  background-color: var(--surface);
  border-color: var(--brand-600);
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(23, 62, 126, 0.08);
  color: var(--brand-900);
}

.useful-link-card:hover .useful-link-icon {
  background: var(--brand-600);
  color: #fff;
}

.useful-link-card:hover .bi-chevron-right {
  color: var(--brand-600);
  transform: translateX(4px);
}

.footer-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.footer-links li a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

@media (max-width: 768px) {
  .hero-section {
    border-radius: 0;
  }

  .hero-title {
    font-size: 2.3rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .search-filter-inner {
    flex-direction: column;
    border-radius: 16px;
    padding: 10px;
  }

  .filter-actions {
    width: 100%;
    justify-content: space-between;
  }

  .search-box {
    width: 100%;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.8rem;
  }

  .filter-buttons {
    width: 100%;
  }

  .navbar-logo {
    height: 40px;
  }
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-600);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-800);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


[data-theme="dark"] .project-card {
  background: var(--surface);
  border-color: var(--border);
}

[data-theme="dark"] .project-card .img-wrapper {
  background-color: #1a2235;
  border-bottom-color: var(--border);
}


[data-theme="dark"] .card-title {
  color: var(--text);
}

[data-theme="dark"] .section-title {
  color: var(--text);
}

[data-theme="dark"] .card-desc-overlay {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

[data-theme="dark"] .overlay-text {
  color: #f8fafc;
}

[data-theme="dark"] .search-filter-inner {
  background: var(--surface);
  border-color: var(--border);
}

[data-theme="dark"] .btn-primary-custom {
  color: #fff;
}

[data-theme="dark"] .btn-primary-custom:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .btn-secondary-custom {
  background-color: var(--surface-3);
  color: var(--text-muted);
}

[data-theme="dark"] .filter-btn:hover {
  color: var(--text);
}

[data-theme="dark"] .filter-btn.active {
  background: var(--brand-600);
  color: #fff;
  border-color: var(--brand-600);
}

[data-theme="dark"] .clear-btn:hover {
  background: rgba(220, 53, 69, 0.15);
  color: var(--danger);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active,
[data-theme="dark"] .nav-icon-btn:hover {
  background-color: var(--nav-hover);
  color: #fff !important;
}

.text-brand-900 {
  color: var(--brand-900) !important;
}

[data-theme="dark"] .text-brand-900 {
  color: var(--text) !important;
}

[data-theme="dark"] .text-muted {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .pin-btn {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

[data-theme="dark"] .pin-btn:hover {
  background: var(--brand-800);
  color: #fff;
}

[data-theme="dark"] .pin-btn.pinned {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
}

[data-theme="dark"] .useful-link-card {
  background-color: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: none;
}

[data-theme="dark"] .useful-link-icon {
  background: rgba(96, 165, 250, 0.15);
  color: var(--accent-blue);
}

[data-theme="dark"] .useful-link-card:hover {
  background-color: var(--surface-3);
  border-color: var(--accent-blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .useful-link-card:hover .useful-link-icon {
  background: var(--accent-blue);
  color: #fff;
}

[data-theme="dark"] .useful-link-card .bi-chevron-right {
  color: var(--text-2);
}

[data-theme="dark"] .useful-link-card:hover .bi-chevron-right {
  color: var(--accent-blue);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: var(--brand-600);
  color: white;
  cursor: pointer;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(15, 39, 84, 0.25);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--brand-800);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.back-to-top i {
  font-size: 30px;
}

[data-theme="dark"] .back-to-top {
  background-color: var(--accent-blue);
}

[data-theme="dark"] .back-to-top:hover {
  background-color: var(--accent-blue-hover);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--surface);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.logo-spinner-wrapper {
  width: 130px;
  height: 130px;
}

.preloader-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  animation: pulse-logo 1.5s infinite alternate;
}

.custom-spinner {
  width: 100%;
  height: 100%;
  border-width: 4px;
  color: var(--brand-600) !important;
  opacity: 0.8;
}

.preloader-text {
  color: var(--brand-900);
  letter-spacing: 1px;
}

@keyframes pulse-logo {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }

  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}

[data-theme="dark"] .preloader {
  background-color: var(--surface);
}

[data-theme="dark"] .preloader-text {
  color: var(--text);
}

[data-theme="dark"] .custom-spinner {
  color: var(--accent-blue) !important;
}

#active-section,
#deactive-section,
#useful-links-section,
#arxkom-section,
#official-links-section {
  scroll-margin-top: 90px;
}

.offcanvas {
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .offcanvas {
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.offcanvas .nav-link {
  border-radius: 12px;
  padding: 0.8rem 1.25rem !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  color: var(--text) !important;
  font-weight: 500;
  margin-bottom: 0.5rem;
  background-color: transparent;
}

.offcanvas .nav-link:hover,
.offcanvas .nav-link:active {
  background-color: var(--surface-2) !important;
  color: var(--brand-900) !important;
  transform: translateX(4px);
}

[data-theme="dark"] .offcanvas .nav-link:hover,
[data-theme="dark"] .offcanvas .nav-link:active {
  background-color: var(--surface-2) !important;
  color: #fff !important;
}

.offcanvas-header {
  background-color: var(--surface);
}

[data-theme="dark"] .offcanvas-header {
  background-color: var(--surface);
  border-bottom-color: var(--border) !important;
}

.offcanvas .rounded {
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.offcanvas .rounded:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 4px 12px rgba(15, 39, 84, 0.08);
}

[data-theme="dark"] .offcanvas .rounded:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 3px;
  width: 0;
  border-radius: 2px;
  background: var(--brand-600, #1e5aa8);
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s;
}

.section-title.visible::after {
  width: 100%;
}

.skeleton-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface, #f4f4f4);
  border: 1px solid var(--border, #e5e7eb);
  height: 280px;
  position: relative;
}

.skeleton-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer-sweep 1.4s linear infinite;
}

@keyframes shimmer-sweep {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

[data-theme="dark"] .skeleton-card {
  background: var(--surface-2, #1e2530);
}

[data-theme="dark"] .skeleton-card::after {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.06) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer-sweep 1.4s linear infinite;
}

.search-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 90, 168, 0.18), 0 2px 12px rgba(30, 90, 168, 0.12) !important;
  border-color: var(--accent-blue, #1e5aa8) !important;
  transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
}

[data-theme="dark"] .search-input:focus {
  box-shadow: 0 0 0 3px rgba(147, 210, 255, 0.2), 0 2px 14px rgba(147, 210, 255, 0.1) !important;
  border-color: rgba(147, 210, 255, 0.5) !important;
}

.empty-state-icon {
  animation: emptyFloat 3.5s ease-in-out infinite;
}

@keyframes emptyFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.useful-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-15deg);
  pointer-events: none;
  transition: left 0s;
}

.useful-link-card:hover::before {
  left: 130%;
  transition: left 0.5s ease;
}

.official-footer {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}

.official-footer.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.project-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(15, 39, 84, 0.15), 0 0 0 1px rgba(30, 90, 168, 0.1) !important;
}

[data-theme="dark"] .project-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(147, 210, 255, 0.15) !important;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 6;
  cursor: pointer;
}

.scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }

  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

.hero-scroll-indicator:hover .scroll-arrow {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ACCOUNT PAGE STYLES */
.account.header-shell {
  position: relative;
  overflow: hidden;
  min-height: 70px;
  background: var(--nav-bg);
}

.account-nav {
  background-color: var(--nav-bg) !important;
  box-shadow: var(--shadow-sm) !important;
  padding-top: 0.8rem !important;
  padding-bottom: 0.8rem !important;
  height: 85px !important;
}

.account-card {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
}

[data-theme="dark"] .account-card {
  background: var(--surface);
  border-color: var(--border);
}

.account-profile-col {
  position: sticky;
  top: 120px;
  align-self: flex-start;
}

@media (max-width: 992px) {
  .account-profile-col {
    position: static;
  }
}

.account-cover {
  height: 170px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  overflow: hidden;
}

.account-cover .account-cover-overlay {
  opacity: 0.6;
}

.profile-image-wrapper {
  width: 160px;
  height: 160px;
  margin-top: -90px;
  z-index: 2;
  transition: transform 0.3s ease;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid var(--surface) !important;
  transition: all 0.3s ease;
}

[data-theme="dark"] .profile-img {
  border-color: var(--surface-2) !important;
}

.edit-photo-btn {
  top: 5px;
  right: 5px;
  width: 36px;
  height: 36px;
  background-color: var(--accent-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 3px solid var(--surface);
  transition: all 0.2s ease;
}

.edit-photo-btn:hover {
  background-color: var(--accent-blue-hover);
  transform: scale(1.1);
}

.account-name {
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}

.account-input {
  background-color: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  padding-left: 1rem !important;
  font-weight: 600;
  color: var(--text) !important;
  transition: all 0.3s ease;
}

.account-input.edit-mode {
  background-color: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  padding-left: 1rem !important;
}

[data-theme="dark"] .account-input.edit-mode {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: var(--border-strong) !important;
}

.account-input::placeholder {
  color: var(--input-placeholder);
  opacity: 1;
}

[data-theme="dark"] .account-input::placeholder {
  color: #64748b;
  opacity: 1;
}

[data-theme="dark"] .account-input.edit-mode::placeholder {
  color: #64748b;
}

.account-input:focus {
  box-shadow: none !important;
  border-color: var(--accent-blue) !important;
  background-color: var(--white) !important;
}

[data-theme="dark"] .account-input:focus {
  background-color: var(--surface-3) !important;
}

.cursor-pointer {
  cursor: pointer;
}

.account-role-badge {
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--brand-900);
}

[data-theme="dark"] .account-role-badge {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text);
}

[data-theme="dark"] .account-card .text-body {
  color: var(--text) !important;
}

[data-theme="dark"] .account-card strong.text-body {
  color: var(--text) !important;
}

[data-theme="dark"] .account-card .fw-medium {
  color: var(--text);
}

.nav-z-10 {
  z-index: 10;
}

.offcanvas-theme {
  background-color: var(--bg);
  color: var(--text);
}

.offcanvas-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.offcanvas-brand-divider {
  background: var(--border);
  height: 32px;
}

.offcanvas-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text);
  line-height: 1;
}

.offcanvas-brand-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  white-space: nowrap;
}

.offcanvas-close-btn {
  color: var(--text);
}

.text-muted-icon {
  color: var(--text-muted);
}

.offcanvas-section-label {
  color: var(--text);
}

.offcanvas-theme-btn {
  color: var(--text);
}

.offcanvas-account-tile {
  background-color: var(--surface-2);
}

.offcanvas-account-name {
  color: var(--text);
}

.offcanvas-account-status {
  color: var(--text-muted);
}

.reveal-delay-300 {
  transition-delay: 0.3s;
}

.anim-delay-100 {
  animation-delay: 0.1s;
}

.anim-delay-250 {
  animation-delay: 0.25s;
}

.anim-delay-600 {
  animation-delay: 0.6s;
}

.anim-delay-1000 {
  animation-delay: 1s;
}

.is-hidden {
  display: none !important;
}

.is-visible {
  display: block !important;
}

.empty-icon-lg-muted {
  font-size: 3rem;
  color: var(--border-strong);
}

.section-title--muted {
  color: var(--text-muted);
  border-bottom-color: var(--text-muted);
}

.hero-bg-zoom {
  z-index: 0;
}

.hero-animated-bg {
  z-index: 1;
  opacity: .55;
}

.hero-grain {
  z-index: 3;
}

.hero-bg-zoom {
  filter: saturate(1.08) contrast(1.06) brightness(0.90);
  transform-origin: center;
}

.hero-gradient-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      var(--hero-top-scrim) 0%,
      rgba(15, 39, 84, 0.10) 38%,
      rgba(15, 39, 84, 0.18) 62%,
      var(--hero-bottom-scrim) 100%);
}

.hero-gradient-overlay::after {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(70% 70% at 50% 45%, rgba(0, 0, 0, 0) 0%, var(--hero-vignette) 100%);
  opacity: .75;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(ellipse at 50% 45%, var(--hero-spot) 0%, rgba(15, 39, 84, 0) 64%);
  z-index: -1;
}

.hero-title {
  text-shadow: 0 10px 30px rgba(0, 0, 0, .55);
}

.hero-subtitle {
  text-shadow: 0 6px 18px rgba(0, 0, 0, .50);
}


/* ===========================
   HERO VIVID PATCH (solğunluğu götürür)
   style.css-in sonuna əlavə et
=========================== */

/* 1) Şəkli canlandır (amma yanıq etmə) */
.hero-bg-zoom{
  filter: saturate(1.22) contrast(1.14) brightness(1.02) !important;
}

/* 2) Əsas gradient overlay-ni bir az zəiflət (haze azalır) */
.hero-gradient-overlay{
  opacity: .82 !important;
  background-blend-mode: soft-light !important; /* multiply yerinə daha təbii */
}

/* 3) Top/bottom scrim + vignette daha yumşaq olsun */
.hero-gradient-overlay::before{
  /* daha az “boğucu” scrim */
  background: linear-gradient(
    180deg,
    rgba(15,39,84,.58) 0%,
    rgba(15,39,84,.08) 38%,
    rgba(15,39,84,.12) 62%,
    rgba(15,39,84,.44) 100%
  ) !important;
}

.hero-gradient-overlay::after{
  opacity: .55 !important; /* 0.75 idi – vignette haze verirdi */
}

/* 4) Orblar/grid də fonu “bulud” kimi edirdi – bir az azalt */
.hero-animated-bg{
  opacity: .35 !important; /* .55 idi */
}

/* 5) Mərkəzdəki spot da çox tünd idisə, yumşalt */
.hero-content::before{
  background: radial-gradient(ellipse at 50% 45%,
    rgba(15,39,84,.18) 0%,
    rgba(15,39,84,0) 64%
  ) !important;
}
