/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * COLORS
   */

  /** Background colors */
  --bg-wild-blue-yonder: hsla(216, 33%, 68%, 1);
  --bg-carolina-blue: hsla(199, 89%, 49%, 1);
  --bg-prussian-blue: hsla(216, 33%, 20%, 1);
  --bg-oxford-blue: hsla(222, 44%, 13%, 1);
  --bg-oxford-blue-2: hsla(222, 47%, 11%, 1);

  /** Text colors */
  --text-white: hsla(0, 0%, 100%, 1);
  --text-alice-blue: hsla(216, 100%, 95%, 1);
  --text-columbia-blue: hsla(199, 69%, 84%, 1);
  --text-wild-blue-yonder: hsla(216, 33%, 68%, 1);
  --text-carolina-blue: hsla(199, 89%, 49%, 1);
  --text-shadow-blue: hsla(217, 24%, 59%, 1);
  --text-slate-gray: hsla(217, 17%, 48%, 1);

  /** Gradient colors */
  --gradient-1: linear-gradient(90deg, #0ea5ea, #0bd1d1 51%);
  --gradient-2: linear-gradient(90deg, #0ea5ea, #0bd1d1 51%, #0ea5ea);
  --gradient-3: linear-gradient(0deg, #000d1a, transparent);

  /** Accent colors */
  --accent: hsla(199, 89%, 49%, 1); /* Carolina blue for accent */

  /** Theme System */
  --theme-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /** Blob effect colors */
  --blob-color-1: hsla(199, 89%, 65%, 0.7);
  --blob-color-2: hsla(216, 33%, 80%, 0.65);
  --blob-color-3: hsla(216, 33%, 40%, 0.75);
  --blob-color-4: hsla(222, 44%, 45%, 0.68);

  /** Border colors */
  --border-wild-blue-yonder: hsla(216, 33%, 68%, 1);
  --border-prussian-blue: hsla(216, 33%, 20%, 1);
  --border-white: hsl(0, 0%, 100%);
  --border-white-alpha-15: hsla(0, 0%, 100%, 0.15);

  /** Default colors */
  --white: hsl(0, 0%, 100%, 1);
  --black: hsl(0, 0%, 0%, 1);

  /** Light Theme (Default) */
  --theme-bg-primary: var(--bg-oxford-blue-2);
  --theme-bg-secondary: var(--bg-prussian-blue);
  --theme-bg-tertiary: var(--bg-carolina-blue);
  --theme-text-primary: var(--text-white);
  --theme-text-secondary: var(--text-alice-blue);
  --theme-text-tertiary: var(--text-wild-blue-yonder);
  --theme-border-primary: var(--border-white-alpha-15);
  --theme-border-secondary: var(--border-prussian-blue);
  --theme-glass-bg: rgba(255, 255, 255, 0.05);
  --theme-glass-border: rgba(255, 255, 255, 0.1);
  --theme-shadow: rgba(0, 0, 0, 0.3);

  /**
   * TYPOGRAPHY
   */

  /** Font family */
  --fontFamily-noto_sans: 'Noto Sans', sans-serif;

  /** Font size */
  --fontSize-1: 2.9rem;
  --fontSize-2: 2.0rem;
  --fontSize-3: 1.8rem;
  --fontSize-4: 1.6rem;
  --fontSize-5: 1.5rem;
  --fontSize-6: 1.4rem;
  --fontSize-7: 1.2rem;
  --fontSize-8: 1.3rem;

  /** Font weight */
  --weight-medium: 500;
  --weight-semiBold: 600;
  --weight-bold: 700;
  --weight-extraBold: 800;

  /** Line height */
  --lineHeight-1: 1.3;
  --lineHeight-2: 1.5;
  --lineHeight-4: 1.5;

  /**
   * BOX SHADOW
   */

  --shadow-1: 0 8px 20px 0 hsla(0, 0%, 0%, 0.05);
  --shadow-2: 0px 3px 20px hsla(180, 90%, 43%, 0.2);

  /**
   * BORDER RADIUS
   */

  --radius-6: 6px;
  --radius-8: 8px;
  --radius-16: 16px;
  --radius-48: 48px;
  --radius-circle: 50%;
  --radius-pill: 200px;

  /**
   * SPACING
   */

  --section-padding: 70px;

  /**
   * TRANSITION
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);

}

/** Dark Theme */
[data-theme="dark"] {
  /** Background colors for dark theme */
  --bg-oxford-blue-2: hsl(210, 15%, 8%);
  --bg-prussian-blue: hsl(210, 15%, 12%);
  --bg-carolina-blue: hsl(210, 15%, 16%);

  /** Text colors for dark theme */
  --text-white: hsl(0, 0%, 95%);
  --text-alice-blue: hsl(210, 10%, 85%);
  --text-wild-blue-yonder: hsl(210, 10%, 70%);
  --text-columbia-blue: hsl(200, 80%, 70%);

  /** Theme-specific overrides */
  --theme-bg-primary: hsl(210, 15%, 8%);
  --theme-bg-secondary: hsl(210, 15%, 12%);
  --theme-bg-tertiary: hsl(210, 15%, 16%);
  --theme-text-primary: hsl(0, 0%, 95%);
  --theme-text-secondary: hsl(210, 10%, 85%);
  --theme-text-tertiary: hsl(210, 10%, 70%);
  --theme-border-primary: hsla(0, 0%, 100%, 0.08);
  --theme-border-secondary: hsl(210, 15%, 20%);
  --theme-glass-bg: rgba(255, 255, 255, 0.03);
  --theme-glass-border: rgba(255, 255, 255, 0.06);
  --theme-shadow: rgba(0, 0, 0, 0.5);

  /** Blob colors for dark theme */
  --blob-color-1: hsla(199, 89%, 65%, 0.4);
  --blob-color-2: hsla(216, 33%, 80%, 0.35);
  --blob-color-3: hsla(216, 33%, 40%, 0.45);
  --blob-color-4: hsla(222, 44%, 45%, 0.38);
}

/** Bluish Theme (Original Default) */
[data-theme="bluish"] {
  /* Uses the original root color variables - this is the default bluish theme */
  --theme-name: 'bluish'; /* Identifier for the bluish theme */
}

/** Theme Toggle Button */
.theme-toggle {
  position: relative;
  width: 50px;
  height: 26px;
  background: var(--theme-glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--theme-glass-border);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--theme-transition);
  display: flex;
  align-items: center;
  padding: 2px;
}

.theme-toggle::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--accent), #40e0d0);
  border-radius: 50%;
  transition: var(--theme-transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .theme-toggle::after {
  transform: translateX(24px);
}

.theme-toggle:hover {
  background: var(--theme-glass-border);
  box-shadow: 0 4px 15px var(--theme-shadow);
}


/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a,
img,
span,
input,
button,
ion-icon { display: block; }

a {
  color: inherit;
  text-decoration: none;
}

img { height: auto; }

input,
button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

input {
  width: 100%;
  outline: none;
}

button { cursor: pointer; }

ion-icon { pointer-events: none; }

address { font-style: normal; }

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--theme-bg-primary);
  color: var(--theme-text-secondary);
  font-family: var(--fontFamily-noto_sans);
  font-size: 1.6rem;
  line-height: var(--lineHeight-4);
  overflow-y: overlay;
  position: relative;
  transition: var(--theme-transition);
}

/* Modern Blob Effect Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: var(--bg-oxford-blue-2);
}

.blob-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  mix-blend-mode: normal;
  animation: blob-movement 25s infinite ease-in-out;
  opacity: 0.8;
  will-change: transform;
}

.blob:nth-child(1) {
  top: 5%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--blob-color-1) 0%, rgba(0, 234, 255, 0.1) 40%, transparent 70%);
  animation-delay: 0s;
  animation-duration: 30s;
}

.blob:nth-child(2) {
  top: 50%;
  right: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--blob-color-2) 0%, rgba(135, 180, 255, 0.15) 40%, transparent 70%);
  animation-delay: -8s;
  animation-duration: 25s;
}

.blob:nth-child(3) {
  bottom: 5%;
  left: 60%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--blob-color-3) 0%, rgba(80, 120, 180, 0.12) 40%, transparent 70%);
  animation-delay: -16s;
  animation-duration: 35s;
}

.blob:nth-child(4) {
  top: 25%;
  left: 30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--blob-color-4) 0%, rgba(60, 90, 140, 0.15) 40%, transparent 70%);
  animation-delay: -24s;
  animation-duration: 20s;
}

@keyframes blob-movement {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  20% {
    transform: translate3d(120px, -80px, 0) scale(1.1) rotate(72deg);
  }
  40% {
    transform: translate3d(-40px, 120px, 0) scale(0.9) rotate(144deg);
  }
  60% {
    transform: translate3d(-120px, -40px, 0) scale(1.05) rotate(216deg);
  }
  80% {
    transform: translate3d(80px, 80px, 0) scale(0.95) rotate(288deg);
  }
}

/* Additional blob animations for variety */
.blob:nth-child(2) {
  animation-name: blob-movement-2;
}

.blob:nth-child(3) {
  animation-name: blob-movement-3;
}

.blob:nth-child(4) {
  animation-name: blob-movement-4;
}

@keyframes blob-movement-2 {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  25% {
    transform: translate3d(-90px, 110px, 0) scale(1.2) rotate(90deg);
  }
  50% {
    transform: translate3d(80px, -60px, 0) scale(0.8) rotate(180deg);
  }
  75% {
    transform: translate3d(60px, 90px, 0) scale(1.1) rotate(270deg);
  }
}

@keyframes blob-movement-3 {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  30% {
    transform: translate3d(100px, 50px, 0) scale(0.9) rotate(108deg);
  }
  60% {
    transform: translate3d(-80px, -100px, 0) scale(1.15) rotate(216deg);
  }
  90% {
    transform: translate3d(-50px, 70px, 0) scale(0.95) rotate(324deg);
  }
}

@keyframes blob-movement-4 {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  15% {
    transform: translate3d(-70px, -90px, 0) scale(1.08) rotate(54deg);
  }
  35% {
    transform: translate3d(90px, 60px, 0) scale(0.92) rotate(126deg);
  }
  55% {
    transform: translate3d(40px, -80px, 0) scale(1.12) rotate(198deg);
  }
  75% {
    transform: translate3d(-100px, 40px, 0) scale(0.88) rotate(270deg);
  }
}

/* Test blob to ensure the system is working */
.test-blob {
  position: fixed !important;
  top: 20% !important;
  left: 20% !important;
  width: 300px !important;
  height: 300px !important;
  background: radial-gradient(circle, rgba(0, 234, 255, 0.6) 0%, rgba(0, 150, 255, 0.3) 50%, transparent 80%) !important;
  filter: blur(40px) !important;
  animation: test-blob-pulse 3s infinite !important;
  opacity: 1 !important;
  z-index: 1000 !important;
  border-radius: 50% !important;
  mix-blend-mode: normal !important;
}

@keyframes test-blob-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

/* Responsive blob effects */
@media (max-width: 768px) {
  .blob {
    filter: blur(40px);
    opacity: 0.5;
  }

  .blob:nth-child(1) {
    width: 250px;
    height: 250px;
  }

  .blob:nth-child(2) {
    width: 200px;
    height: 200px;
  }

  .blob:nth-child(3) {
    width: 300px;
    height: 300px;
  }

  .blob:nth-child(4) {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .blob {
    filter: blur(30px);
    opacity: 0.3;
  }

  .blob:nth-child(1) {
    width: 200px;
    height: 200px;
  }

  .blob:nth-child(2) {
    width: 150px;
    height: 150px;
  }

  .blob:nth-child(3) {
    width: 250px;
    height: 250px;
  }

  .blob:nth-child(4) {
    width: 120px;
    height: 120px;
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .blob {
    animation: none;
    opacity: 0.2;
  }

  .particle {
    animation: none;
    opacity: 0.1;
  }
}

/* Subtle particle effect */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--text-carolina-blue);
  border-radius: 50%;
  opacity: 0.3;
  animation: particle-float 15s infinite linear;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 20s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: -5s;
  animation-duration: 25s;
}

.particle:nth-child(3) {
  top: 80%;
  left: 30%;
  animation-delay: -10s;
  animation-duration: 18s;
}

.particle:nth-child(4) {
  top: 30%;
  left: 70%;
  animation-delay: -15s;
  animation-duration: 22s;
}

.particle:nth-child(5) {
  top: 50%;
  left: 50%;
  animation-delay: -20s;
  animation-duration: 16s;
}

@keyframes particle-float {
  0% {
    transform: translateY(0px) translateX(0px) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  50% {
    transform: translateY(-100px) translateX(50px) scale(1.2);
    opacity: 0.6;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-200px) translateX(-30px) scale(0.8);
    opacity: 0;
  }
}

body.nav-active { overflow: hidden; }

::-webkit-scrollbar { width: 5px; }

::-webkit-scrollbar-track { background-color: transparent; }

::-webkit-scrollbar-thumb {
  background-color: var(--bg-carolina-blue);
  border-radius: var(--radius-pill);
}





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 16px; }

.hover-1,
.hover-2 { transition: var(--transition-1); }

.hover-1:is(:hover, :focus-visible) {
  color: var(--text-wild-blue-yonder);
  transform: translateX(3px);
}

.hover-2:is(:hover, :focus-visible) { color: var(--text-carolina-blue); }

.profile-card {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-card .profile-banner { border-radius: var(--radius-circle); }

.headline {
  color: var(--text-columbia-blue);
  line-height: var(--lineHeight-1);
}

.headline-1 {
  font-size: var(--fontSize-1);
  color: var(--text-alice-blue);
  font-weight: var(--weight-extraBold);
}

.headline-2 { font-size: var(--fontSize-2); }

.headline-3 {
  font-size: var(--fontSize-2);
  line-height: var(--lineHeight-2);
}

.section-title { margin-block-end: 10px; }

.headline .span {
  background-image: var(--gradient-1);
  display: inline-block;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

/* Modern Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: var(--fontSize-6);
  font-weight: var(--weight-semiBold);
  text-decoration: none;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-height: 44px;
  user-select: none;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.btn:hover::before {
  left: 100%;
}

.btn > * {
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #40e0d0);
  color: var(--white);
  border: 1px solid rgba(64, 224, 255, 0.3);
  box-shadow: 0 4px 15px rgba(64, 224, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #40e0d0, var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(64, 224, 255, 0.4);
  border-color: rgba(64, 224, 255, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(64, 224, 255, 0.3);
}

.btn-secondary {
  background: var(--theme-glass-bg);
  color: var(--theme-text-primary);
  border: 1px solid var(--theme-glass-border);
  box-shadow: 0 4px 15px var(--theme-shadow);
}

.btn-secondary:hover {
  background: var(--theme-glass-border);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--theme-shadow);
  border-color: var(--theme-border-primary);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px var(--theme-shadow);
}

/* Button Sizes */
.btn-sm {
  padding: 8px 16px;
  font-size: var(--fontSize-7);
  min-height: 36px;
  border-radius: 8px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: var(--fontSize-5);
  min-height: 52px;
  border-radius: 16px;
}

/* Icon Buttons */
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--theme-glass-bg);
  border: 1px solid var(--theme-glass-border);
  color: var(--theme-text-primary);
}

.btn-icon:hover {
  background: var(--theme-glass-border);
  transform: translateY(-2px) scale(1.1);
}

/* Floating Action Button */
.btn-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #40e0d0);
  color: var(--white);
  box-shadow: 0 8px 32px rgba(64, 224, 255, 0.3);
  z-index: 100;
}

.btn-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(64, 224, 255, 0.5);
}

.w-100 { width: 100%; }

.card {
  background-color: var(--bg-oxford-blue);
  border: 1px solid var(--border-prussian-blue);
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--bg-prussian-blue);
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section { padding-block: var(--section-padding); }

.section-text {
  font-size: var(--fontSize-3);
  margin-block-end: 70px;
}

.grid-list {
  display: grid;
  gap: 30px;
}

.card-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-size: var(--fontSize-6);
  margin-block: 20px;
}

.card-wrapper :is(.card-tag, .wrapper) {
  display: flex;
  gap: 3px;
  align-items: center;
}





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header .btn {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 12px 24px;
  color: var(--text-alice-blue);
  font-weight: var(--weight-medium);
  font-size: var(--fontSize-6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.header .btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 100;
  /* transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); */
}

.header.active {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  /* animation: slideIn 0.5s ease forwards; */
}
/*
@keyframes slideIn {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
} */

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-open-btn,
.nav-close-btn {
  display: none;
}

.navbar {
  position: static;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 8px 20px;
  height: auto;
  max-width: none;
  width: auto;
  overflow: visible;
  visibility: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.navbar-top {
  display: none;
}

.navbar-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
}

.navbar-list li {
  position: relative;
}

.navbar-link {
  color: var(--text-alice-blue);
  font-weight: var(--weight-medium);
  font-size: var(--fontSize-7);
  padding: 10px 16px;
  border-radius: 20px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.navbar-link:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.navbar-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  z-index: -1;
}

.navbar-link:hover::before {
  width: 100%;
  height: 100%;
}

.navbar-bottom {
  display: none;
}

.navbar .profile-card {
  display: none;
}

.navbar .profile-card .card-title {
  color: var(--text-columbia-blue);
  font-size: var(--fontSize-6);
  font-weight: var(--weight-semiBold);
}

.navbar .profile-card .card-subtitle { font-size: var(--fontSize-7); }

.navbar .link-list {
  display: none;
}

.navbar-bottom-link {
  color: var(--text-alice-blue);
  font-size: var(--fontSize-6);
  padding-block: 6px;
}

.copyright-text {
  display: none;
}



/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero-bg { display: none; }

.hero {
  padding-block-start: calc(var(--section-padding) + 160px);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: center;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
  font-size: var(--fontSize-6);
  font-weight: var(--weight-bold);
  color: var(--accent);
  margin-bottom: 10px;
  animation: fadeInUp 1s ease-out 0.4s both;
  display: inline-block;
  position: relative;
}

.hero-subtitle::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.hero .section-title {
  margin-block: 30px;
  position: relative;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero .headline {
  /* Fallback color for better visibility */
  color: var(--text-white);
  background: linear-gradient(135deg, var(--text-white), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.2;
  margin-bottom: 0;
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
  .hero .headline {
    color: var(--text-white);
    background: none;
  }
}

.hero .span {
  position: relative;
  display: inline-block;
}

.hero .span::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--accent);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero .hero-text {
  margin-block-end: 50px;
  font-size: var(--fontSize-5);
  color: var(--theme-text-tertiary);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.hero .btn-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 1s both;
}

.hero .btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

.hero .btn:hover::before {
  left: 100%;
}

.hero .btn-primary {
  background: linear-gradient(135deg, var(--accent), #40e0d0);
  border: none;
  color: var(--white);
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(64, 224, 255, 0.4);
  background: linear-gradient(135deg, #40e0d0, var(--accent));
}

.hero .btn-secondary {
  background: var(--theme-glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--theme-glass-border);
  color: var(--theme-text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero .btn-secondary:hover {
  background: var(--theme-glass-border);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px var(--theme-shadow);
}

.hero-banner {
  position: relative;
  animation: fadeInUp 1s ease-out 1.2s both;
}

.hero-banner .w-100 {
  max-width: max-content;
  margin-inline: auto;

}

.hero-banner:hover .w-100 {
  transform: scale(1.05);
}

.hero .shape {
  position: absolute;
  z-index: -1;
  animation: heroDecoAnim 4s ease-in-out infinite alternate;
  opacity: 0.8;
}

.hero .shape-1 {
  top: 10%;
  left: 10%;
  animation-delay: -1s;
}

.hero .shape-2 {
 top: 25%;
  right: 5%;
  animation-delay: -2s;
}

/* Enhanced Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes heroDecoAnim {
  0% {
    transform: translateY(40px) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-10px) rotate(180deg) scale(1.1);
    opacity: 0.9;
  }
}

.hero .shape-1 {
  top: 50px;
  right: 40px;
}

.hero .shape-2 {
bottom: 2px;
  right: 24px;
}





/*-----------------------------------*\
  #TOPICS
\*-----------------------------------*/

.topic-card {
  padding: 24px;
  border-radius: var(--radius-8);
}

.topic-card .card-content { margin-block-end: 15px; }

.topic-card .card-text {
  color: var(--text-wild-blue-yonder);
  font-size: var(--fontSize-6);
  margin-block: 15px 20px;
}

.btn-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--bg-prussian-blue);
  border-radius: var(--radius-circle);
  color: var(--white);
}

.btn-icon:is(:hover, :focus-visible) { background: var(--gradient-1); }

/*-----------------------------------*\
  #TOPICS SECTION REDESIGN
\*-----------------------------------*/

.topics {
  padding: var(--section-padding) 0;
  position: relative;
}

.topics-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  gap: 30px;
  flex-wrap: wrap;
}

.topics-header-content {
  flex: 1;
  min-width: 300px;
}

.topics-header .section-title {
  background: linear-gradient(135deg, var(--theme-text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.topics-header .section-text {
  color: var(--theme-text-tertiary);
  font-size: var(--fontSize-5);
  line-height: 1.6;
  max-width: 500px;
}

.topics-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  background: var(--theme-glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--theme-glass-border);
  border-radius: 25px;
  color: var(--theme-text-secondary);
  font-size: var(--fontSize-7);
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.filter-btn:hover {
  background: var(--theme-glass-border);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--theme-shadow);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent), #40e0d0);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(64, 224, 255, 0.3);
}

.topics-grid {
  position: relative;
}

.topics-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: start;
}

.topic-item {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.topic-item:nth-child(1) { animation-delay: 0.1s; }
.topic-item:nth-child(2) { animation-delay: 0.2s; }
.topic-item:nth-child(3) { animation-delay: 0.3s; }
.topic-item:nth-child(4) { animation-delay: 0.4s; }
.topic-item:nth-child(5) { animation-delay: 0.5s; }
.topic-item:nth-child(6) { animation-delay: 0.6s; }

.topic-card {
  display: block;
  text-decoration: none;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.topic-card-inner {
  background: var(--theme-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--theme-glass-border);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  min-height: 320px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.topic-card:hover .topic-card-inner {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--theme-shadow);
  border-color: var(--accent);
}

.topic-banner {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.topic-banner .img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.topic-card:hover .topic-banner .img-cover {
  transform: scale(1.1);
}

.topic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(64, 224, 255, 0.1) 50%,
    rgba(138, 43, 226, 0.2) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.topic-card:hover .topic-overlay {
  opacity: 1;
}

.topic-content {
  padding: 20px;
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.topic-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  gap: 10px;
}

.topic-badge {
  padding: 6px 12px;
  background: linear-gradient(135deg, var(--accent), #40e0d0);
  color: var(--white);
  font-size: var(--fontSize-8);
  font-weight: var(--weight-semiBold);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(64, 224, 255, 0.3);
}

.topic-count {
  color: var(--theme-text-tertiary);
  font-size: var(--fontSize-8);
  font-weight: var(--weight-medium);
  background: var(--theme-glass-bg);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid var(--theme-glass-border);
}

.topic-title {
  color: var(--theme-text-primary);
  font-size: var(--fontSize-4);
  font-weight: var(--weight-bold);
  margin: 0 0 8px;
  transition: all 0.3s ease;
  line-height: 1.3;
}

.topic-card:hover .topic-title {
  background: linear-gradient(135deg, var(--accent), #40e0d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.topic-description {
  color: var(--theme-text-tertiary);
  font-size: var(--fontSize-7);
  line-height: 1.6;
  margin: 8px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* 3D Perspective Container */
.topics-grid {
  perspective: 1000px;
}

/* Hover Animation Enhancement */
@keyframes topicCardHover {
  0% {
    transform: translateY(0) rotateX(0deg);
  }
  100% {
    transform: translateY(-10px) rotateX(5deg);
  }
}





/*-----------------------------------*\
  #FEATURED
\*-----------------------------------*/

.feature-bg { display: none; }

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.feature-card {
  padding: 20px;
  border-radius: var(--radius-16);
  transition: var(--transition-1);
}

.feature-card:is(:hover, :focus-within) { transform: translateY(-5px); }

.feature-card .card-banner { border-radius: var(--radius-16); }

.feature-card .card-wrapper { margin-block-start: 24px; }

.feature .profile-card :is(.card-title, .card-subtitle) { color: var(--text-slate-gray); }

.feature .profile-card .card-title { font-weight: var(--weight-bold); }

.feature .profile-card .card-subtitle,
.feature .card-wrapper .card-btn { font-size: var(--fontSize-6); }

.feature-card .card-wrapper:last-child {
  font-size: var(--fontSize-4);
  margin-block-end: 0;
}

.feature .card-wrapper .card-btn {
  position: relative;
  color: var(--text-wild-blue-yonder);
  z-index: 1;
}

.feature .card-wrapper .card-btn::before {
  content: "";
  position: absolute;
  top: -13px;
  left: -20px;
  width: 48px;
  height: 48px;
  background-color: var(--bg-oxford-blue-2);
  border-radius: var(--radius-circle);
  z-index: -1;
}

.feature .btn {
  margin-inline: auto;
  margin-block-start: 30px;
}





/*-----------------------------------*\
  #POPULAR TAGS
\*-----------------------------------*/

.tags .grid-list { grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); }

.tag-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius-16);
}

.tag-btn:is(:hover, :focus-visible) {
  box-shadow: var(--shadow-2);
  background-image: linear-gradient(var(--bg-oxford-blue), var(--bg-oxford-blue)), var(--gradient-1);
  background-clip: padding-box, border-box;
  border-color: transparent;
  transform: translateY(-2px);
  transition: var(--transition-1);
}

.tag-btn img {
  width: 100%;
  max-width: 32px;
}





/*-----------------------------------*\
  #RECENT POST
\*-----------------------------------*/

.recent-post .container {
  display: grid;
  gap: 50px;
}

.recent-post-card {
  display: grid;
  gap: 30px;
}

.recent-post-card .card-banner {
  border-radius: var(--radius-16);
  transition: var(--transition-1);
}

.recent-post-card:is(:hover, :focus-within) .card-banner {
  transform: translateY(-2px);
}

.recent-post-card .card-text {
  color: var(--text-wild-blue-yonder);
  font-size: var(--fontSize-6);
  line-height: var(--lineHeight-1);
}

.recent-post-card .card-badge {
  background-color: var(--bg-prussian-blue);
  max-width: max-content;
  color: var(--text-white);
  font-size: var(--fontSize-8);
  font-weight: var(--weight-bold);
  padding: 4px 15px;
  border-radius: var(--radius-pill);
  transition: var(--transition-1);
}

.recent-post-card .card-badge:is(:hover, :focus-visible),
.pagination-btn:is(:hover, :focus-visible) {
  transform: translateY(-2px);
  background-color: var(--bg-carolina-blue);
}

.recent-post-card .card-title { margin-block: 15px 20px; }

.recent-post-card .card-tag {
  gap: 15px;
  color: var(--text-slate-gray);
}

.recent-post-card .card-wrapper ion-icon {
  font-size: 1.8rem;
  --ionicon-stroke-width: 40px;
}

.pagination-btn {
  background-color: var(--bg-prussian-blue);
  color: var(--text-white);
  font-weight: var(--weight-bold);
  line-height: 1;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-circle);
  transition: var(--transition-1);
}

.pagination {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  margin-block-start: 60px;
}

.aside-card {
  padding: 25px;
  border-radius: var(--radius-16);
}

.aside-title { margin-block-end: 40px; }

.aside-title .span { position: relative; }

.aside-title .span::after {
  content: "";
  display: block;
  width: 96px;
  height: 3px;
  background-color: var(--bg-carolina-blue);
  margin-block-start: 10px;
}

.popular-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-block-start: 20px;
}

.popular-card .card-banner {
  width: 54px;
  flex-shrink: 0;
  border-radius: var(--radius-circle);
}

.popular-list > li:not(:last-child) .card-content {
  border-block-end: 1px solid var(--border-prussian-blue);
}

.popular-card .warpper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
  font-size: var(--fontSize-6);
  color: var(--text-slate-gray);
  margin-block: 12px 20px;
}

.comment-list > li:not(:last-child) .comment-card {
  padding-block-end: 22px;
  border-block-end: 1px solid var(--border-prussian-blue);
  margin-block-end: 22px;
}

.comment-card .card-text {
  color: var(--text-wild-blue-yonder);
  font-size: var(--fontSize-6);
  line-height: var(--lineHeight-1);
  margin-block-end: 20px;
}

.comment-card .profile-card {
  color: var(--text-slate-gray);
  font-size: var(--fontSize-6);
}

.comment-card .card-date { font-size: var(--fontSize-7); }

/* Instagram styles removed as section was removed */





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background: var(--theme-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--theme-glass-border);
  border-radius: 24px;
  color: var(--theme-text-secondary);
  margin: 40px 20px 24px;
  overflow: hidden;
}

.footer-content {
  display: grid;
  gap: 40px;
  padding: 50px 30px;
  position: relative;
}

.footer-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.footer-brand {
  text-align: center;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.footer-brand .logo:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 25px rgba(64, 224, 255, 0.3));
}

.footer-description {
  color: var(--theme-text-tertiary);
  font-size: var(--fontSize-6);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
  opacity: 0.8;
}

.footer-links {
  text-align: center;
}

.footer-title {
  color: var(--theme-text-primary);
  font-size: var(--fontSize-4);
  font-weight: var(--weight-bold);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--theme-text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.footer-link {
  color: var(--theme-text-tertiary);
  font-size: var(--fontSize-6);
  font-weight: var(--weight-medium);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.footer-link::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--accent), #40e0d0);
  border-radius: 1px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.footer-link:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-link:hover::before {
  width: 100%;
}

.footer-social {
  text-align: center;
}

.social-list {
  display: flex;
  justify-content: center;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--theme-glass-bg);
  border: 1px solid var(--theme-glass-border);
  border-radius: 12px;
  color: var(--theme-text-tertiary);
  font-size: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), #40e0d0);
  transition: left 0.4s ease;
  z-index: -1;
}

.social-link:hover {
  color: var(--white);
  transform: translateY(-3px) scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 8px 25px rgba(64, 224, 255, 0.3);
}

.social-link:hover::before {
  left: 0;
}

.footer-bottom {
  background: var(--theme-glass-border);
  padding: 25px 30px;
  text-align: center;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--theme-glass-border), transparent);
}

.copyright {
  color: var(--theme-text-tertiary);
  font-size: var(--fontSize-7);
  margin-bottom: 8px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), #40e0d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: var(--weight-semiBold);
}

.footer-tagline {
  color: var(--theme-text-tertiary);
  font-size: var(--fontSize-8);
  opacity: 0.7;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.heart-icon {
  color: #ff4757;
  font-size: 16px;
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 50%, 100% { transform: scale(1); }
  25%, 75% { transform: scale(1.1); }
}





/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--bg-prussian-blue);
  color: var(--white);
  display: grid;
  place-items: center;
  border-radius: var(--radius-circle);
  border: 3px solid var(--bg-carolina-blue);
  transition: var(--transition-1);
  visibility: hidden;
  opacity: 0;
  z-index: 4;
}

.back-top-btn:is(:hover, :focus-visible) { box-shadow: var(--shadow-2); }

.back-top-btn.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(-10px);
}


/*-----------------------------------*\
  #BLOG POST - MODERN DESIGN
\*-----------------------------------*/

.blog-post {
  background: var(--theme-bg-primary);
  min-height: 100vh;
  padding-top: 80px;
}

.post-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* Featured Image */
.post-featured-image {
  margin-bottom: 60px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px var(--theme-shadow);
}

.featured-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-featured-image:hover .featured-img {
  transform: scale(1.02);
}

/* Post Header */
.post-header {
  margin-bottom: 50px;
  text-align: center;
}

.post-header-content {
  max-width: 700px;
  margin: 0 auto;
}

.post-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--weight-bold);
  color: var(--theme-text-primary);
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--theme-text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.post-subtitle {
  font-size: var(--fontSize-3);
  color: var(--theme-text-secondary);
  font-weight: var(--weight-medium);
  line-height: 1.4;
  margin-bottom: 40px;
  opacity: 0.8;
}

.post-author-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.author-avatar {
  position: relative;
}

.author-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--theme-glass-border);
  object-fit: cover;
}

.author-details {
  text-align: left;
}

.author-name {
  display: block;
  color: var(--theme-text-primary);
  font-weight: var(--weight-semiBold);
  font-size: var(--fontSize-6);
  text-decoration: none;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.author-name:hover {
  color: var(--accent);
}

.post-meta-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fontSize-8);
  color: var(--theme-text-tertiary);
}

.meta-separator {
  opacity: 0.5;
}

.featured-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: var(--weight-medium);
}

.featured-badge ion-icon {
  font-size: 14px;
}

/* Table of Contents */
.table-of-contents {
  background: var(--theme-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--theme-glass-border);
  border-radius: 16px;
  padding: 30px;
  margin: 40px 0 60px;
  position: relative;
}

.table-of-contents::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.toc-title {
  font-size: var(--fontSize-4);
  font-weight: var(--weight-bold);
  color: var(--theme-text-primary);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--theme-text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-item {
  margin-bottom: 8px;
}

.toc-link {
  display: block;
  color: var(--theme-text-secondary);
  text-decoration: none;
  padding: 8px 0;
  font-size: var(--fontSize-6);
  font-weight: var(--weight-medium);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
}

.toc-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--theme-text-tertiary);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.toc-link:hover {
  color: var(--accent);
  padding-left: 20px;
}

.toc-link:hover::before {
  background: var(--accent);
  transform: translateY(-50%) scale(1.2);
}

.toc-h1 { margin-left: 0; }
.toc-h2 { margin-left: 20px; }
.toc-h3 { margin-left: 40px; }
.toc-h4 { margin-left: 60px; }
.toc-h5 { margin-left: 80px; }
.toc-h6 { margin-left: 100px; }

/* Post Content */
.post-content {
  font-size: var(--fontSize-5);
  line-height: 1.8;
  color: var(--theme-text-secondary);
  margin-bottom: 60px;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  color: var(--theme-text-primary);
  font-weight: var(--weight-bold);
  margin: 60px 0 30px;
  line-height: 1.3;
  scroll-margin-top: 100px;
}

.post-content h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--theme-text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.post-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--theme-text-primary);
}

.post-content h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--theme-text-primary);
}

.post-content h4 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--theme-text-primary);
}

.post-content h5 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--theme-text-primary);
}

.post-content h6 {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--theme-text-primary);
}

.post-content p {
  margin-bottom: 25px;
  line-height: 1.8;
}

.post-content ul,
.post-content ol {
  margin: 25px 0;
  padding-left: 30px;
}

.post-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.post-content blockquote {
  margin: 40px 0;
  padding: 25px 30px;
  background: var(--theme-glass-bg);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--theme-text-secondary);
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.post-content blockquote::before {
  content: '"';
  font-size: 4rem;
  color: var(--accent);
  position: absolute;
  top: -10px;
  left: -10px;
  font-family: serif;
  opacity: 0.3;
}

.post-content code {
  background: var(--theme-glass-bg);
  padding: 4px 8px;
  border-radius: 6px;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.9em;
  color: var(--accent);
  border: 1px solid var(--theme-glass-border);
  white-space: pre-wrap;
  word-break: break-word;
}

.post-content pre {
  background: var(--theme-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 25px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 40px 0;
  border: 1px solid var(--theme-glass-border);
  position: relative;
  white-space: pre !important;
  word-wrap: normal !important;
  word-break: normal !important;
}

.post-content pre::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.post-content pre code {
  background: none;
  padding: 0;
  color: var(--theme-text-secondary);
  border: none;
  white-space: pre !important;
  display: block;
  line-height: 1.6;
  tab-size: 4;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  font-family: 'Fira Code', 'Courier New', monospace;
  word-wrap: normal !important;
  word-break: normal !important;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 40px 0;
  box-shadow: 0 10px 40px var(--theme-shadow);
  transition: transform 0.3s ease;
}

.post-content img:hover {
  transform: translateY(-5px);
}

.post-content a {
  color: var(--accent);
  text-decoration: none;
  font-weight: var(--weight-medium);
  position: relative;
  transition: color 0.3s ease;
}

.post-content a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.post-content a:hover::after {
  width: 100%;
}

/* Post Tags */
.post-tags-section {
  margin: 60px 0;
  padding: 30px 0;
  border-top: 1px solid var(--theme-glass-border);
  border-bottom: 1px solid var(--theme-glass-border);
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.post-tag {
  display: inline-block;
  background: var(--theme-glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--theme-text-secondary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: var(--fontSize-8);
  font-weight: var(--weight-medium);
  text-decoration: none;
  border: 1px solid var(--theme-glass-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-tag:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(64, 224, 255, 0.3);
}

/* Post Navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 60px 0;
}

.nav-previous,
.nav-next {
  display: block;
  padding: 25px;
  background: var(--theme-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--theme-glass-border);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-previous::before,
.nav-next::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(64, 224, 255, 0.1), rgba(138, 43, 226, 0.1));
  transition: left 0.4s ease;
  z-index: -1;
}

.nav-previous:hover::before,
.nav-next:hover::before {
  left: 0;
}

.nav-previous:hover,
.nav-next:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--theme-shadow);
  border-color: var(--accent);
}

.nav-direction {
  font-size: var(--fontSize-8);
  color: var(--theme-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  font-weight: var(--weight-medium);
}

.nav-title {
  color: var(--theme-text-primary);
  font-size: var(--fontSize-6);
  font-weight: var(--weight-semiBold);
  line-height: 1.4;
}

.nav-next {
  text-align: right;
}

/* Newsletter Section */
.newsletter-section {
  background: var(--theme-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--theme-glass-border);
  border-radius: 20px;
  padding: 50px;
  margin: 60px 0;
  text-align: center;
  position: relative;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(64, 224, 255, 0.05), rgba(138, 43, 226, 0.05));
  border-radius: 20px;
  z-index: -1;
}

.newsletter-title {
  font-size: var(--fontSize-3);
  font-weight: var(--weight-bold);
  color: var(--theme-text-primary);
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--theme-text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.newsletter-description {
  color: var(--theme-text-secondary);
  font-size: var(--fontSize-6);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #40e0d0);
  color: var(--white);
  padding: 15px 35px;
  border-radius: 30px;
  font-size: var(--fontSize-6);
  font-weight: var(--weight-semiBold);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(64, 224, 255, 0.3);
}

.newsletter-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(64, 224, 255, 0.4);
}

/* Related Posts */
.related-posts {
  margin: 80px 0 60px;
}

.related-title {
  font-size: var(--fontSize-3);
  font-weight: var(--weight-bold);
  color: var(--theme-text-primary);
  text-align: center;
  margin-bottom: 50px;
  background: linear-gradient(135deg, var(--theme-text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.related-posts-grid {
  display: grid;
  gap: 30px;
}

.related-post-card {
  background: var(--theme-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--theme-glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px var(--theme-shadow);
  border-color: var(--accent);
}

.related-post-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-post-image {
  height: 200px;
  overflow: hidden;
}

.related-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-post-card:hover .related-img {
  transform: scale(1.1);
}

.related-post-content {
  padding: 25px;
}

.related-post-title {
  font-size: var(--fontSize-5);
  font-weight: var(--weight-bold);
  color: var(--theme-text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.related-post-excerpt {
  color: var(--theme-text-tertiary);
  font-size: var(--fontSize-6);
  line-height: 1.6;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fontSize-8);
  color: var(--theme-text-tertiary);
}

/* OLD STYLES REMOVED - REPLACED WITH NEW MODERN DESIGN */

/* Additional old styles removed */

.post-hero .card-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.post-hero .card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-hero:hover .card-banner img {
  transform: scale(1.05);
}

.post-meta {
  position: relative;
  z-index: 2;
  padding: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.post-meta .card-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.post-meta .card-tag {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.post-meta .card-tag a {
  background: rgba(64, 224, 255, 0.2);
  color: var(--text-white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: var(--fontSize-8);
  font-weight: var(--weight-medium);
  text-decoration: none;
  border: 1px solid rgba(64, 224, 255, 0.3);
  transition: all 0.3s ease;
}

.post-meta .card-tag a:hover {
  background: rgba(64, 224, 255, 0.3);
  border-color: rgba(64, 224, 255, 0.5);
  transform: translateY(-2px);
}

.post-meta .wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-wild-blue-yonder);
  font-size: var(--fontSize-8);
}

.post-meta .wrapper ion-icon {
  font-size: 1.4rem;
}

.post-meta .headline {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.2;
  margin: 30px 0;
  color: var(--text-white);
  font-weight: var(--weight-bold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.post-meta .profile-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
}

.post-meta .profile-banner {
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.post-meta .card-title {
  color: var(--text-white);
  font-weight: var(--weight-semiBold);
  margin-bottom: 4px;
}

.post-meta .card-subtitle {
  color: var(--text-wild-blue-yonder);
  font-size: var(--fontSize-8);
}

.post-content {
  padding: 40px;
  line-height: 1.8;
  color: var(--text-alice-blue);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  color: var(--text-white);
  font-weight: var(--weight-bold);
  margin: 40px 0 20px;
  line-height: 1.3;
}

.post-content h1 { font-size: 2.5rem; }
.post-content h2 { font-size: 2.2rem; }
.post-content h3 { font-size: 1.9rem; }
.post-content h4 { font-size: 1.6rem; }
.post-content h5 { font-size: 1.4rem; }
.post-content h6 { font-size: 1.2rem; }

.post-content p {
  margin-bottom: 20px;
  font-size: var(--fontSize-6);
}

.post-content ul,
.post-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.post-content li {
  margin-bottom: 10px;
  font-size: var(--fontSize-6);
}

.post-content blockquote {
  margin: 30px 0;
  padding: 20px 30px;
  background: rgba(64, 224, 255, 0.1);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-columbia-blue);
}

.post-content code {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: var(--text-white);
}

.post-content pre {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 30px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.post-content pre code {
  background: none;
  padding: 0;
  color: var(--text-alice-blue);
  white-space: pre !important;
  display: block;
  line-height: 1.6;
  tab-size: 4;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  font-family: 'Fira Code', 'Courier New', monospace;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.post-content a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.post-content a:hover {
  border-bottom-color: var(--accent);
}

.post-tags {
  padding: 30px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.post-tags h3 {
  color: var(--text-white);
  font-size: var(--fontSize-5);
  margin-bottom: 15px;
  font-weight: var(--weight-semiBold);
}

.post-tags .tag {
  display: inline-block;
  background: rgba(138, 43, 226, 0.2);
  color: var(--text-white);
  padding: 8px 16px;
  border-radius: 25px;
  margin: 5px;
  text-decoration: none;
  font-size: var(--fontSize-8);
  border: 1px solid rgba(138, 43, 226, 0.3);
  transition: all 0.3s ease;
}

.post-tags .tag:hover {
  background: rgba(138, 43, 226, 0.3);
  border-color: rgba(138, 43, 226, 0.5);
  transform: translateY(-2px);
}

.post-navigation {
  padding: 30px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.post-navigation .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-alice-blue);
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 45%;
}

.post-navigation .nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.post-navigation .nav-link.prev {
  margin-right: auto;
}

.post-navigation .nav-link.next {
  margin-left: auto;
  flex-direction: row-reverse;
}

.post-navigation .nav-link ion-icon {
  font-size: 1.5rem;
  color: var(--accent);
}

.post-aside {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 30px;
  height: fit-content;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: sticky;
  top: 120px;
}

.post-aside:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.post-aside .aside-title {
  color: var(--text-white);
  font-size: var(--fontSize-4);
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.post-aside .aside-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(64, 224, 255, 0.5));
  border-radius: 2px;
}

.post-aside .popular-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-aside .popular-list li {
  margin-bottom: 20px;
}

.post-aside .popular-card {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.post-aside .popular-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.post-aside .popular-card .card-banner {
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.post-aside .popular-card .card-banner img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-aside .popular-card:hover .card-banner img {
  transform: scale(1.1);
}

.post-aside .popular-card .card-content {
  flex: 1;
  min-width: 0;
}

.post-aside .popular-card .card-title {
  margin: 0 0 8px;
}

.post-aside .popular-card .card-title a {
  color: var(--text-white);
  font-size: var(--fontSize-7);
  font-weight: var(--weight-medium);
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.post-aside .popular-card .card-title a:hover {
  color: var(--accent);
}

.post-aside .popular-card .card-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.post-aside .popular-card .card-subtitle {
  color: var(--text-wild-blue-yonder);
  font-size: var(--fontSize-8);
  font-weight: var(--weight-medium);
}

.post-aside .popular-card .wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-wild-blue-yonder);
  font-size: var(--fontSize-9);
}

.post-aside .popular-card .wrapper ion-icon {
  font-size: 1.2rem;
  color: var(--accent);
}


/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/* Enhanced Mobile Responsive Styles */
@media (max-width: 768px) {
  /* Mobile Typography */
  :root {
    --fontSize-1: 4rem;
    --fontSize-2: 3.2rem;
    --fontSize-3: 2.4rem;
    --fontSize-4: 1.8rem;
    --fontSize-5: 1.6rem;
    --fontSize-6: 1.4rem;
  }

  /* Mobile Touch Optimization */
  * {
    -webkit-tap-highlight-color: rgba(64, 224, 255, 0.2);
  }

  /* Enhanced Mobile Navigation */
  .navbar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    flex-direction: column;
    background: var(--theme-bg-primary);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--theme-border-primary);
    border-radius: 0;
    padding: 80px 20px 30px;
    box-shadow: -15px 0 40px var(--theme-shadow);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    overflow-y: auto;
  }

  .navbar.active {
    transform: translateX(-320px);
  }

  /* Mobile Header Actions */
  .header-actions {
    gap: 10px;
  }

  .header-actions .btn {
    display: none;
  }

  .theme-toggle {
    width: 40px;
    height: 24px;
  }

  .theme-toggle::after {
    width: 18px;
    height: 18px;
  }

  [data-theme="dark"] .theme-toggle::after {
    transform: translateX(16px);
  }

  .navbar.active {
    transform: translateX(-300px);
  }

  .navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 15px;
    left: 20px;
    right: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--theme-border-primary);
  }

  /* Enhanced Mobile Navigation List */
  .navbar-list {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
    width: 100%;
    margin-top: 25px;
  }

  /* Enhanced Mobile Navigation Links */
  .navbar-link {
    padding: 18px 20px;
    border-radius: 16px;
    margin-bottom: 4px;
    width: 100%;
    text-align: left;
    font-size: var(--fontSize-5);
    font-weight: var(--weight-medium);
    background: var(--theme-glass-bg);
    border: 1px solid var(--theme-glass-border);
    color: var(--theme-text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    min-height: 48px;
    position: relative;
    overflow: hidden;
  }

  .navbar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 4px 4px 0;
  }

  .navbar-link:hover::before,
  .navbar-link:focus::before {
    transform: scaleY(1);
  }

  .navbar-link:hover,
  .navbar-link:focus {
    background: var(--theme-glass-border);
    transform: translateX(8px);
    box-shadow: 0 8px 25px var(--theme-shadow);
  }

  /* Enhanced Mobile Navigation Buttons */
  .nav-open-btn,
  .nav-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--theme-glass-bg);
    border: 1px solid var(--theme-glass-border);
    color: var(--theme-text-primary);
    font-size: 2.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .nav-open-btn:hover,
  .nav-close-btn:hover {
    background: var(--theme-glass-border);
    transform: scale(1.05);
    box-shadow: 0 8px 25px var(--theme-shadow);
  }

  .nav-open-btn:active,
  .nav-close-btn:active {
    transform: scale(0.95);
  }

  .header .btn {
    display: none;
  }

  .navbar-bottom {
    display: block;
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar .profile-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
  }

  .copyright-text {
    display: block;
    text-align: center;
    margin-top: 20px;
    opacity: 0.7;
  }

  /* Old blog post styles removed */

  .post-meta .card-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .post-meta .headline {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin: 20px 0;
  }

  .post-meta .profile-card {
    padding: 15px;
    margin-top: 20px;
  }

  .post-content {
    padding: 25px;
  }

  .post-content h1 { font-size: 2rem; }
  .post-content h2 { font-size: 1.8rem; }
  .post-content h3 { font-size: 1.6rem; }
  .post-content h4 { font-size: 1.4rem; }

  .post-content p,
  .post-content li {
    font-size: var(--fontSize-7);
  }

  .post-tags,
  .post-navigation {
    padding: 20px 25px;
  }

  .post-navigation {
    flex-direction: column;
    gap: 15px;
  }

  .post-navigation .nav-link {
    max-width: 100%;
    justify-content: center;
  }

  .post-aside {
    position: static;
    padding: 25px;
    margin-top: 0;
  }

  .post-aside .popular-card {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .post-aside .popular-card .card-banner {
    align-self: center;
  }

  .post-aside .popular-card .card-wrapper {
    justify-content: center;
  }

  /* Enhanced Mobile Button System */
  .btn {
    min-height: 48px;
    padding: 14px 20px;
    font-size: var(--fontSize-6);
    border-radius: 14px;
    touch-action: manipulation;
  }

  .btn-sm {
    min-height: 40px;
    padding: 10px 16px;
    font-size: var(--fontSize-7);
  }

  .btn-lg {
    min-height: 56px;
    padding: 18px 28px;
    font-size: var(--fontSize-5);
  }

  .btn-icon {
    width: 48px;
    height: 48px;
    min-height: 48px;
  }

  /* Mobile Hero Section */
  .hero {
    padding-block-start: calc(var(--section-padding) + 120px);
    text-align: center;
  }

  .hero .container {
    gap: 40px;
  }

  .hero .btn-group {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .hero .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Mobile Cards Enhancement */
  .card {
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .card:active {
    transform: scale(0.98);
  }

  /* Mobile Topics Section */
  .topics-header {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }

  .topics-header-content {
    min-width: auto;
  }

  .topics-filter {
    justify-content: center;
    overflow-x: auto;
    padding: 0 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .topics-filter::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: var(--fontSize-8);
    white-space: nowrap;
    touch-action: manipulation;
  }

  .filter-btn:active {
    transform: scale(0.95);
  }

  .topics-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .topic-card {
    touch-action: manipulation;
  }

  .topic-card:active .topic-card-inner {
    transform: scale(0.98);
  }

  .topic-banner {
    height: 140px;
  }

  .topic-content {
    padding: 18px;
  }

  .topic-card-inner {
    min-height: 280px;
  }

  .topic-meta {
    flex-wrap: wrap;
    gap: 8px;
  }

  .topic-title {
    font-size: var(--fontSize-5);
  }

  .topic-description {
    font-size: var(--fontSize-8);
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  /* Mobile Footer */
  .footer {
    margin: 30px 15px 20px;
  }

  .footer-content {
    gap: 30px;
    padding: 40px 20px;
  }

  .footer-menu {
    flex-direction: column;
    gap: 15px;
  }

  .footer-bottom {
    padding: 20px;
  }

  .footer-tagline {
    margin-top: 8px;
  }

  /* Pull-to-refresh styling */
  body {
    overscroll-behavior-y: contain;
  }

  /* Safe area handling for notched devices */
  .header {
    padding-top: max(15px, env(safe-area-inset-top));
  }

  .header .container {
    padding: 0 max(20px, env(safe-area-inset-left)) 0 max(20px, env(safe-area-inset-right));
  }

  /* Smooth scrolling for mobile */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  /* Enhanced focus indicators for mobile */
  *:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Mobile-specific animations */
  .feature-card,
  .recent-post-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .feature-card:active,
  .recent-post-card:active {
    transform: scale(0.98);
  }
}

/**
 * responsive for large than 575px screen
 */

@media (min-width: 575px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    /* font size */
    --fontSize-1: 4.4rem;
    --fontSize-2: 3.5rem;

    /**
     * spacing
     */

    --section-padding: 100px;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  .headline-3 { --fontSize-2: 2.4rem; }



  /**
   * HEADER
   */

  .header .btn {
    display: flex;
    margin-inline-start: auto;
  }

  /* Desktop navbar overrides */
  .navbar {
    position: static;
    display: flex;
    transform: none;
    width: auto;
    height: auto;
    flex-direction: row;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    box-shadow: none;
  }

  .navbar-list {
    flex-direction: row;
    gap: 8px;
    margin-top: 0;
  }

  .navbar-link {
    padding: 10px 16px;
    margin-bottom: 0;
    width: auto;
  }

  .nav-open-btn,
  .nav-close-btn {
    display: none;
  }

  .navbar-top {
    display: none;
  }

  .navbar-bottom {
    display: none;
  }



  /**
   * HERO
   */

  .hero { position: relative; }

  .hero .input-wrapper { max-width: 390px; }

  .hero-bg {
    display: block;
    position: absolute;
    pointer-events: none;
  }

  .hero-bg-1 {
    top: 80px;
    left: 0;
  }

  .hero-bg-2 {
    bottom: -200px;
    left: -20px;
  }

  /* .shape-2 { left: 60px; } */



  /**
   * TOPICS
   */

  .topics .section-title { font-size: 2rem; }

  .slider { --slider-items: 3; }

  .slider-item { min-width: calc(33.33% - 13.33px); }



  /**
   * FEATURE
   */

  .feature { position: relative; }

  .feature-bg {
    display: block;
    position: absolute;
    top: -100px;
    right: 0;
    pointer-events: none;
  }



  /**
   * RECENT POST
   */

  .recent-post-card {
    grid-template-columns: 0.5fr 1fr;
    gap: 20px;
  }

  .pagination-btn {
    width: 42px;
    height: 42px;
  }



  /**
   * ASIDE
   */

  .aside-title { --fontSize-2: 2rem; }



  /**
   * TOPICS
   */

  .topics-header {
    margin-bottom: 50px;
  }

  .topics-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }

  .topic-content {
    padding: 20px;
  }

}





/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    /* font size */
    --fontSize-1: 6.4rem;
    --fontSize-2: 4.5rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }



  /**
   * RECENT POST
   */

  .recent-post-card { grid-template-columns: 0.7fr 1fr; }

  /**
   * BLOG POST
   */

  /* Old post styles removed from 768px+ breakpoint */



  /**
   * TOPICS
   */

  .topics-header {
    flex-wrap: nowrap;
    margin-bottom: 60px;
  }

  .topics-filter {
    flex-wrap: nowrap;
  }

  .topics-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  .topic-banner {
    height: 160px;
  }

  .topic-content {
    padding: 22px;
  }

  .topic-card-inner {
    min-height: 300px;
  }

}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 930px; }



  /**
   * HERO
   */

  .hero { padding-block-start: calc(var(--section-padding) + 80px); }

  .hero .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }



  /**
   * TOPICS
   */

  .topic-card {
    display: grid;

    align-items: center;
    gap: 20px;
  }



  /**
   * FEATURE
   */

  .feature-list li:nth-child(-n+2) { width: calc(50% - 15px); }

  .feature-list li:nth-child(n+3) { width: calc(33.33% - 20px); }

  .feature-list li:nth-child(n+3) .headline-3 { --fontSize-2: 2rem; }



  /**
   * TAGS
   */

  .tags .grid-list { grid-template-columns: repeat(4, 1fr); }



  /**
   * RECENT POST
   */

  .recent-post .container {
    grid-template-columns: 1fr 0.6fr;
    align-items: flex-start;
  }



  /**
   * TOPICS
   */

  .topics-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .topic-banner {
    height: 180px;
  }

  .topic-content {
    padding: 25px;
  }

  .topic-title {
    font-size: var(--fontSize-3);
  }



  /**
   * FOOTER
   */

  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: start;
    gap: 50px;
  }

  .footer-brand {
    text-align: left;
  }

  .footer-links,
  .footer-social {
    text-align: left;
  }

  .footer-menu {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .social-list {
    justify-content: flex-start;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .footer-tagline {
    margin: 0;
  }

}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 1140px; }

  body.nav-active { overflow-y: overlay; }



  /**
   * HEADER
   */

  .nav-open-btn,
  .navbar-top,
  .navbar-bottom,
  .copyright-text { display: none; }

  .navbar,
  .navbar.active {
    all: unset;
    display: block;
  }

  .navbar-list {
    border-block-end: none;
    display: flex;
    gap: 40px;
    margin-inline: auto;
  }

  .header .btn { margin-inline-start: 0; }

  .navbar-link {
    color: var(--text-wild-blue-yonder);
    font-weight: unset;
  }

  .navbar-link:is(:hover, :focus-visible) {
    color: var(--text-carolina-blue);
    transform: translateX(0);
  }



  /**
   * HERO
   */

  .hero .container { max-width: 1050px; }



  /**
   * TAGS
   */

  .tags .grid-list { grid-template-columns: repeat(6, 1fr); }



  /**
   * FOOTER
   */

  .footer {
    margin: 80px 60px 40px;
  }

  .footer-content {
    padding: 80px 60px;
    gap: 80px;
  }

  .footer-brand .logo img {
    height: 45px;
    width: auto;
  }

  .footer-description {
    font-size: var(--fontSize-4);
    max-width: 500px;
  }

  .footer-title {
    font-size: var(--fontSize-3);
  }

  .footer-link {
    font-size: var(--fontSize-5);
  }

  .social-link {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .footer-bottom {
    padding: 35px 60px;
  }

  .copyright,
  .footer-tagline {
    font-size: var(--fontSize-6);
  }

  /**
   * BLOG POST
   */

  /* Old post styles removed from 1200px+ breakpoint */



  /**
   * TOPICS
   */

  .topics .container {
    max-width: 1200px;
  }

  .topics-header {
    margin-bottom: 70px;
  }

  .topics-header .section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
  }

  .topics-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .topic-banner {
    height: 180px;
  }

  .topic-content {
    padding: 25px;
  }

  .topic-card-inner {
    min-height: 340px;
  }

  .topic-title {
    font-size: var(--fontSize-3);
    margin-bottom: 12px;
  }

  .topic-description {
    font-size: var(--fontSize-6);
    line-height: 1.7;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .topic-badge {
    padding: 8px 16px;
    font-size: var(--fontSize-7);
  }

  .topic-count {
    padding: 6px 12px;
    font-size: var(--fontSize-7);
  }



  /**
   * FOOTER
   */

  .footer {
    margin: 60px 40px 30px;
  }

  .footer-content {
    padding: 60px 40px;
    gap: 60px;
  }

  .footer-description {
    font-size: var(--fontSize-5);
    max-width: 450px;
  }

  .footer-bottom {
    padding: 30px 40px;
  }


}

/*-----------------------------------*\
  #BLOG POST RESPONSIVE DESIGN
\*-----------------------------------*/

/* Mobile First - Base styles already defined above */

/* Tablet Styles */
@media (min-width: 768px) {
  .post-container {
    padding: 0 40px 80px;
  }

  .post-featured-image {
    margin-bottom: 80px;
  }

  .featured-img {
    height: 450px;
  }

  .post-header {
    margin-bottom: 60px;
  }

  .post-author-info {
    justify-content: flex-start;
    text-align: left;
  }

  .author-details {
    text-align: left;
  }

  .table-of-contents {
    padding: 40px;
  }

  .newsletter-section {
    padding: 60px;
  }

  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-navigation {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* Desktop Styles */
@media (min-width: 992px) {
  .post-container {
    max-width: 900px;
    padding: 0 60px 100px;
  }

  .featured-img {
    height: 500px;
  }

  .post-header {
    margin-bottom: 80px;
  }

  .post-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
  }

  .table-of-contents {
    position: sticky;
    top: 120px;
    float: right;
    width: 300px;
    margin: 0 -350px 40px 40px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
  }

  .post-content {
    margin-right: 0;
  }

  .related-posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
  .post-container {
    max-width: 1000px;
    padding: 0 80px 120px;
  }

  .featured-img {
    height: 550px;
  }

  .post-title {
    font-size: clamp(3.5rem, 7vw, 5rem);
  }

  .post-content {
    font-size: var(--fontSize-4);
  }

  .table-of-contents {
    width: 320px;
    margin-right: -380px;
    padding: 50px;
  }

  .newsletter-section {
    padding: 80px;
  }
}

/* Mobile Specific Overrides */
@media (max-width: 767px) {
  .blog-post {
    padding-top: 100px;
  }

  .post-container {
    padding: 0 15px 50px;
  }

  .post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
  }

  .featured-img {
    height: 250px;
  }

  .post-header {
    margin-bottom: 40px;
    text-align: left;
  }

  .post-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .post-subtitle {
    font-size: var(--fontSize-5);
  }

  .post-author-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .author-details {
    text-align: left;
    width: 100%;
  }

  .table-of-contents {
    padding: 20px;
    margin: 30px 0 40px;
  }

  .toc-title {
    font-size: var(--fontSize-5);
  }

  .post-content {
    margin-bottom: 40px;
  }

  .post-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin: 40px 0 20px;
  }

  .post-content h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin: 35px 0 18px;
  }

  .post-content h3 {
    font-size: clamp(1.3rem, 4vw, 1.7rem);
    margin: 30px 0 15px;
  }

  .post-navigation {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 40px 0;
  }

  .nav-previous,
  .nav-next {
    padding: 20px;
    text-align: center;
  }

  .nav-next {
    text-align: center;
  }

  .newsletter-section {
    padding: 30px 20px;
    margin: 40px 0;
  }

  .newsletter-title {
    font-size: var(--fontSize-4);
  }

  .related-posts {
    margin: 60px 0 40px;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .related-post-image {
    height: 160px;
  }

  .related-post-content {
    padding: 20px;
  }
}

.pading{
    padding-top: 167px;
  }
  .cpading{
    padding: 10px;
   margin-bottom: 20px;
   margin-top: 20px;
  }
  img, video {
    max-width: 100%;
    height: auto;
}


/*-----------------------------------*\
  #CONTACT SECTION
\*-----------------------------------*/

/* Contact Hero Section */
.contact-hero {
  padding: 120px 0 80px;
  background: var(--theme-bg-primary);
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(64, 224, 255, 0.03) 0%,
    rgba(138, 43, 226, 0.05) 50%,
    rgba(64, 224, 255, 0.03) 100%);
  z-index: -1;
}

.contact-hero-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
}

.contact-hero .section-title {
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--theme-text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-hero .hero-text {
  font-size: var(--fontSize-4);
  color: var(--theme-text-secondary);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

/* Contact Section */
.contact {
  padding: var(--section-padding) 0;
  background: var(--theme-bg-primary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--theme-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--theme-glass-border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.contact-form-wrapper .section-title {
  margin-bottom: 30px;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  position: relative;
}

.form-label {
  display: block;
  color: var(--theme-text-primary);
  font-size: var(--fontSize-6);
  font-weight: var(--weight-medium);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 15px 20px;
  background: var(--theme-glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--theme-glass-border);
  border-radius: 12px;
  color: var(--theme-text-primary);
  font-size: var(--fontSize-6);
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  resize: vertical;
  min-height: 50px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(64, 224, 255, 0.1);
  background: var(--theme-glass-border);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--theme-text-tertiary);
  opacity: 0.7;
}

.form-select {
  cursor: pointer;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  background: linear-gradient(135deg, var(--accent), #40e0d0);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: var(--fontSize-5);
  font-weight: var(--weight-semiBold);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(64, 224, 255, 0.3);
  min-height: 56px;
}

.form-submit:hover {
  background: linear-gradient(135deg, #40e0d0, var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(64, 224, 255, 0.4);
}

.form-submit:active {
  transform: translateY(0);
}

.form-submit ion-icon {
  font-size: 1.2rem;
}

/* Contact Info */
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info-wrapper .section-title {
  margin-bottom: 20px;
}

.contact-intro {
  color: var(--theme-text-secondary);
  font-size: var(--fontSize-6);
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: var(--theme-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--theme-glass-border);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(64, 224, 255, 0.05), rgba(138, 43, 226, 0.05));
  transition: left 0.4s ease;
  z-index: -1;
}

.contact-info-item:hover::before {
  left: 0;
}

.contact-info-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--theme-shadow);
  border-color: var(--accent);
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent), #40e0d0);
  border-radius: 12px;
  color: var(--white);
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(64, 224, 255, 0.3);
}

.contact-info-content {
  flex: 1;
}

.contact-info-title {
  color: var(--theme-text-primary);
  font-size: var(--fontSize-5);
  font-weight: var(--weight-semiBold);
  margin-bottom: 8px;
}

.contact-info-link {
  color: var(--accent);
  text-decoration: none;
  font-size: var(--fontSize-6);
  font-weight: var(--weight-medium);
  transition: color 0.3s ease;
}

.contact-info-link:hover {
  color: #40e0d0;
}

.contact-info-text {
  color: var(--theme-text-secondary);
  font-size: var(--fontSize-6);
  margin: 0;
}

/* Social Links in Contact */
.contact-social {
  margin-top: 20px;
}

.contact-social-title {
  color: var(--theme-text-primary);
  font-size: var(--fontSize-5);
  font-weight: var(--weight-semiBold);
  margin-bottom: 20px;
}

.contact-social .social-list {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--theme-glass-bg);
  border: 1px solid var(--theme-glass-border);
  border-radius: 12px;
  color: var(--theme-text-tertiary);
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), #40e0d0);
  transition: left 0.4s ease;
  z-index: -1;
}

.contact-social-link:hover {
  color: var(--white);
  transform: translateY(-3px) scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 8px 25px rgba(64, 224, 255, 0.3);
}

.contact-social-link:hover::before {
  left: 0;
}

/* Availability Status */
.availability-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--theme-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--theme-glass-border);
  border-radius: 16px;
  margin-top: 30px;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
}

.status-indicator.available {
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.status-indicator.available::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid #10b981;
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.1;
  }
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
}

.status-text {
  color: var(--theme-text-primary);
  font-size: var(--fontSize-6);
  font-weight: var(--weight-medium);
}

/* Contact CTA Section */
.contact-cta {
  background: var(--theme-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--theme-glass-border);
  border-bottom: 1px solid var(--theme-glass-border);
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(64, 224, 255, 0.05) 0%,
    rgba(138, 43, 226, 0.08) 50%,
    rgba(64, 224, 255, 0.05) 100%);
  z-index: -1;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-cta .headline {
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--theme-text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-cta .section-text {
  color: var(--theme-text-secondary);
  font-size: var(--fontSize-5);
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-cta .btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Contact Page Responsive Design */
@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-form-wrapper {
    order: 2;
  }

  .contact-info-wrapper {
    order: 1;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 100px 0 60px;
  }

  .contact-hero .section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }

  .contact-hero .hero-text {
    font-size: var(--fontSize-5);
  }

  .contact {
    padding: 60px 0;
  }

  .contact-content {
    gap: 40px;
  }

  .contact-form-wrapper,
  .contact-info-wrapper {
    padding: 30px 20px;
  }

  .contact-form {
    gap: 20px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 12px 16px;
    font-size: var(--fontSize-7);
  }

  .form-submit {
    padding: 14px 24px;
    font-size: var(--fontSize-6);
  }

  .contact-info-item {
    padding: 20px;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .contact-info-icon {
    align-self: center;
  }

  .contact-social .social-list {
    justify-content: center;
  }

  .contact-cta .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .contact-cta .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 80px 0 40px;
  }

  .contact {
    padding: 40px 0;
  }

  .contact-form-wrapper {
    padding: 25px 15px;
  }

  .contact-info-item {
    padding: 15px;
  }

  .availability-status {
    padding: 15px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}


/*-----------------------------------*\
  #ROUGE SYNTAX HIGHLIGHTING
\*-----------------------------------*/

/* Rouge Syntax Highlighting Styles - Enhanced Dark Theme */
.highlight table td { padding: 5px; }
.highlight table pre { margin: 0; }
.highlight .c, .highlight .ch, .highlight .cd, .highlight .cpf {
  color: #9ca3af;
  font-style: italic;
}
.highlight .cm {
  color: #9ca3af;
  font-style: italic;
}
.highlight .c1 {
  color: #9ca3af;
  font-style: italic;
}
.highlight .cp {
  color: #9ca3af;
  font-weight: bold;
}
.highlight .cs {
  color: #9ca3af;
  font-weight: bold;
  font-style: italic;
}
.highlight .err {
  color: #960050;
  background-color: #1e0010;
}
.highlight .gi {
  color: #ffffff;
  background-color: #324932;
}
.highlight .gd {
  color: #ffffff;
  background-color: #493131;
}
.highlight .ge {
  font-style: italic;
}
.highlight .ges {
  font-weight: bold;
  font-style: italic;
}
.highlight .gr {
  color: #aa0000;
}
.highlight .gt {
  color: #aa0000;
}
.highlight .gh {
  color: #999999;
}
.highlight .go {
  color: #888888;
}
.highlight .gp {
  color: #555555;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaaaaa;
}
.highlight .k, .highlight .kv {
  color: #60a5fa;
  font-weight: bold;
}
.highlight .kc {
  color: #60a5fa;
  font-weight: bold;
}
.highlight .kd {
  color: #60a5fa;
  font-weight: bold;
}
.highlight .kp {
  color: #60a5fa;
  font-weight: bold;
}
.highlight .kr {
  color: #60a5fa;
  font-weight: bold;
}
.highlight .kt {
  color: #60a5fa;
  font-weight: bold;
}
.highlight .kn {
  color: #f92672;
  font-weight: bold;
}
.highlight .ow {
  color: #f92672;
  font-weight: bold;
}
.highlight .o {
  color: #f92672;
  font-weight: bold;
}
.highlight .mf {
  color: #ae81ff;
}
.highlight .mh {
  color: #ae81ff;
}
.highlight .il {
  color: #ae81ff;
}
.highlight .mi {
  color: #ae81ff;
}
.highlight .mo {
  color: #ae81ff;
}
.highlight .m, .highlight .mb, .highlight .mx {
  color: #ae81ff;
}
.highlight .se {
  color: #ae81ff;
}
.highlight .sa {
  color: #66d9ef;
  font-weight: bold;
}
.highlight .sb {
  color: #e6db74;
}
.highlight .sc {
  color: #e6db74;
}
.highlight .sd {
  color: #e6db74;
}
.highlight .s2 {
  color: #e6db74;
}
.highlight .sh {
  color: #e6db74;
}
.highlight .si {
  color: #e6db74;
}
.highlight .sx {
  color: #e6db74;
}
.highlight .sr {
  color: #e6db74;
}
.highlight .s1 {
  color: #e6db74;
}
.highlight .ss {
  color: #e6db74;
}
.highlight .s, .highlight .dl {
  color: #e6db74;
}
.highlight .na {
  color: #a6e22e;
}
.highlight .nc {
  color: #a6e22e;
  font-weight: bold;
}
.highlight .nd {
  color: #a6e22e;
  font-weight: bold;
}
.highlight .ne {
  color: #a6e22e;
  font-weight: bold;
}
.highlight .nf, .highlight .fm {
  color: #a6e22e;
  font-weight: bold;
}
.highlight .no {
  color: #66d9ef;
}
.highlight .bp {
  color: #f8f8f2;
}
.highlight .nb {
  color: #f8f8f2;
}
.highlight .ni {
  color: #f8f8f2;
}
.highlight .nn {
  color: #f8f8f2;
}
.highlight .vc {
  color: #f8f8f2;
}
.highlight .vg {
  color: #f8f8f2;
}
.highlight .vi {
  color: #f8f8f2;
}
.highlight .nv, .highlight .vm {
  color: #f8f8f2;
}
.highlight .w {
  color: #f8f8f2;
}
.highlight .nl {
  color: #f8f8f2;
  font-weight: bold;
}
.highlight .nt {
  color: #f92672;
}
.highlight {
  color: #f8f8f2;
  background-color: transparent !important;
  white-space: pre !important;
  word-wrap: normal !important;
  word-break: normal !important;
  overflow-x: auto;
  display: block;
}

.highlight code {
  display: block !important;
  white-space: pre !important;
  line-height: 1.6;
}

/* Enhanced code block styling */
.highlight pre {
  background: rgba(10, 20, 35, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 25px;
  margin: 40px 0;
  overflow-x: auto;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  white-space: pre !important;
  word-wrap: normal !important;
  word-break: normal !important;
}

.highlight pre::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

/* Ensure proper font family for code */
.highlight pre code,
.highlight code {
  font-family: 'Fira Code', 'Courier New', monospace !important;
  line-height: 1.6;
  font-size: 0.95em;
  white-space: pre !important;
  word-wrap: normal !important;
  word-break: normal !important;
  display: block;
}

/* Fix rouge span elements to display inline */
.highlight span {
  display: inline !important;
  white-space: pre !important;
}

/* Ensure all rouge syntax elements stay inline */
.highlight .c, .highlight .ch, .highlight .cd, .highlight .cpf,
.highlight .cm, .highlight .c1, .highlight .cp, .highlight .cs,
.highlight .k, .highlight .kv, .highlight .kc, .highlight .kd,
.highlight .kp, .highlight .kr, .highlight .kt, .highlight .kn,
.highlight .ow, .highlight .o, .highlight .mf, .highlight .mh,
.highlight .il, .highlight .mi, .highlight .mo, .highlight .m,
.highlight .mb, .highlight .mx, .highlight .se, .highlight .sa,
.highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2,
.highlight .sh, .highlight .si, .highlight .sx, .highlight .sr,
.highlight .s1, .highlight .ss, .highlight .s, .highlight .dl,
.highlight .na, .highlight .nc, .highlight .nd, .highlight .ne,
.highlight .nf, .highlight .fm, .highlight .no, .highlight .bp,
.highlight .nb, .highlight .ni, .highlight .nn, .highlight .vc,
.highlight .vg, .highlight .vi, .highlight .nv, .highlight .vm,
.highlight .w, .highlight .nl, .highlight .nt, .highlight .p,
.highlight .err, .highlight .gi, .highlight .gd, .highlight .ge,
.highlight .ges, .highlight .gr, .highlight .gt, .highlight .gh,
.highlight .go, .highlight .gp, .highlight .gs, .highlight .gu,
.highlight .n {
  display: inline !important;
  white-space: pre !important;
}
