
    :root {
      --primary: #00B7EB; 
      --secondary: #FF8C00; 
      --accent: #FFC107; /* Darker gold */
      --bg-dark: #0A0A0A; /* Pure black */
      --bg-light: #161627; /* Darker graphite */
      --text-color: #D3D3D3; /* Slightly darker gray */
      --card-bg: rgba(22, 22, 39, 0.95);
      --card-border: rgba(255, 140, 0, 0.3);
      --shadow: 0 4px 16px rgba(0, 0, 0, 0.9);
      --glow-bg: 0 0 8px rgba(255, 140, 0, 0.7);
      --border-radius: 8px;
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --glass-bg: rgba(255, 255, 255, 0.02);
      --glass-border: rgba(255, 255, 255, 0.06);
    }
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      scroll-behavior: smooth;
    }
    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: var(--bg-dark);
      color: var(--text-color);
      line-height: 1.6;
      overflow-x: hidden;
    }
    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 1rem;
    }
    .header {
      position: sticky;
      top: 0;
      z-index: 1000;
      
      background: var(--glass-bg);
      backdrop-filter: blur(8px);
      box-shadow: var(--shadow);
    }

.pro-chat-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.pro-chat-overlay.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.pro-chat-window {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  width: 85%;
  max-width: 900px;
  height: 85%;
  display: flex;
  flex-direction: column;
  font-family: 'Fira Code', monospace;
  color: #00ff88;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.15), inset 0 0 10px rgba(0, 255, 136, 0.05);
  overflow: hidden;
  animation: universePortal 1s ease-out;
}

@keyframes universePortal {
  0% { opacity: 0; transform: rotate(-5deg) scale(0.8); filter: blur(5px); }
  100% { opacity: 1; transform: rotate(0) scale(1); filter: blur(0); }
}

.pro-chat-header {
  background: linear-gradient(180deg, #111, #0a0a0a);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1f1f1f;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.pro-chat-header span {
  font-weight: 600;
  text-shadow: 0 0 5px #00ff88;
}

#pro-chat-close {
  background: none;
  border: none;
  color: #ff4d4d;
  cursor: pointer;
  font-size: 18px;
  transition: color 0.3s, transform 0.3s;
}

#pro-chat-close:hover {
  color: #ff0000;
  transform: scale(1.2);
}

.pro-chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #000;
  position: relative;
}

.pro-chat-messages::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 255, 136, 0.05), transparent);
  pointer-events: none;
}

.pro-chat-message {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  animation: signalFadeIn 0.5s ease-out;
  position: relative;
  max-width: 80%;
}

.pro-chat-message.user {
  background: linear-gradient(135deg, #003300, #001100);
  align-self: flex-end;
  margin-left: auto;
}

.pro-chat-message.ai {
  background: linear-gradient(135deg, #001100, #003300);
  align-self: flex-start;
}

.pro-chat-message.system {
  text-align: center;
  color: #ffff00;
  font-style: italic;
  animation: signalPulse 1.5s infinite;
}

@keyframes signalFadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes signalPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.pro-chat-input-area {
  display: flex;
  padding: 12px;
  border-top: 1px solid #1f1f1f;
  background: #0a0a0a;
}

#pro-chat-input {
  flex: 1;
  background: #111;
  border: 1px solid #1a1a1a;
  color: #00ff88;
  padding: 10px 14px;
  font-family: inherit;
  border-radius: 6px 0 0 6px;
  transition: border-color 0.3s;
}

#pro-chat-input:focus {
  border-color: #00ff88;
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

#pro-chat-send, #pro-chat-voice {
  background: linear-gradient(135deg, #003300, #006600);
  border: none;
  color: #00ff88;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

#pro-chat-send {
  border-radius: 0 6px 6px 0;
}

#pro-chat-voice {
  border-radius: 6px;
  margin-left: 8px;
}

#pro-chat-send:hover, #pro-chat-voice:hover {
  background: linear-gradient(135deg, #006600, #009900);
  transform: translateY(-2px);
}

#pro-chat-voice.recording {
  color: #ff0000;
  animation: recordingPulse 1s infinite;
}

@keyframes recordingPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@media (max-width: 600px) {
  .pro-chat-window {
    width: 95%;
    height: 95%;
  }
  
  .pro-chat-input-area {
    flex-wrap: wrap;
  }
  
  #pro-chat-input {
    border-radius: 6px;
    margin-bottom: 8px;
  }
  
  #pro-chat-send, #pro-chat-voice {
    flex: 1;
    border-radius: 6px;
  }
}

.cta-button, .cta-button.secondary {
  pointer-events: auto !important;
  cursor: pointer !important;
  user-select: none;
}





/* Global Box-Sizing */
* {
  box-sizing: border-box;
}

/* Navbar Base */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  height: 60px;
  background: var(--bg-dark, #0f0f0f);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  border-radius: 12px;
  max-width: 1280px;
  margin: 0 auto;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  will-change: transform;
}
.main-nav.nav-hidden {
  transform: translateY(-100%);
}
.main-nav:hover {
  background: var(--bg-dark-hover, #1a1a1a);
  box-shadow: 0 6px 16px rgba(0,0,0,0.6);
  transform: translateY(-2px);
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.1);
  filter: brightness(1.2) drop-shadow(0 0 5px rgba(255,255,255,0.2));
}

/* Menu */
.nav-menu-list {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}
.nav-menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.nav-menu-link {
  color: var(--text-color, #ffffff);
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  user-select: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-menu-link:hover,
.nav-menu-link.active {
  color: var(--primary-color, #00aaff);
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}
.nav-menu-link:focus {
  outline: 2px solid var(--primary-color, #00aaff);
  outline-offset: 2px;
  box-shadow: 0 0 6px rgba(0, 170, 255, 0.5);
}

/* Search Bar */
.nav-search-container {
  display: none;
  margin-bottom: 0rem;
}
.nav-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 8px;
  background: #1a1a1a;
  transition: box-shadow 0.3s ease;
}
.nav-search-wrapper:focus-within {
  box-shadow: 0 0 8px rgba(0, 170, 255, 0.4);
}
.nav-search-icon {
  display: flex;
  align-items: center;
  padding: 0 0.8rem;
}
.nav-search-icon svg {
  width: 1rem;
  height: 1rem;
  fill: var(--text-color, #ffffff);
  transition: fill 0.3s ease;
}
.nav-search-wrapper:focus-within .nav-search-icon svg {
  fill: var(--primary-color, #00aaff);
}
.nav-search-input {
  width: 100%;
  padding: 0.6rem 2.5rem 0.6rem 0;
  border: none;
  background: transparent;
  color: var(--text-color, #ffffff);
  font-size: 0.95rem;
  outline: none;
}
.nav-search-input::placeholder {
  color: rgba(255,255,255,0.5);
  animation: typing 3s infinite;
}
@keyframes typing {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}
.nav-search-clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav-search-clear.active {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}
.nav-search-clear .clear-icon {
  width: 1rem;
  height: 1rem;
  fill: var(--text-color, #ffffff);
}
.nav-search-clear:hover .clear-icon {
  fill: var(--primary-color, #00aaff);
}
.nav-search-results-container {
  position: relative;
}
.nav-search-result-count {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin: 0.5rem 0;
}
.nav-search-results {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
  border-radius: 8px;
  background: #1a1a1a;
  display: none;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color, #00aaff) #1a1a1a;
}
.nav-search-results.active {
  display: block;
}
.nav-search-result-item {
  padding: 0.6rem 1rem;
  cursor: pointer;
  color: var(--text-color, #ffffff);
  font-size: 0.9rem;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}
.nav-search-result-item:hover,
.nav-search-result-item:focus {
  color: var(--primary-color, #00aaff);
  transform: translateX(4px);
}
.nav-search-result-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color, #00aaff);
  transition: width 0.3s ease;
}
.nav-search-result-item:hover::after,
.nav-search-result-item:focus::after {
  width: 100%;
}
.nav-search-result-item .result-path {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  display: block;
}
.nav-search-result-item .result-title {
  font-weight: 600;
}
.nav-search-result-item .highlight {
  font-weight: bold;
  color: var(--primary-color, #00aaff);
}
.nav-search-spinner {
  display: none;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--primary-color, #00aaff);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.nav-search-spinner.active {
  display: block;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Back Button */
.nav-back-btn {
  display: none;
}
.nav-back-btn button {
  background: none;
  border: none;
  color: var(--text-color, #ffffff);
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}
.nav-back-btn button::before {
  content: '←';
  font-size: 1rem;
}
.nav-back-btn button:hover,
.nav-back-btn button:focus {
  color: var(--primary-color, #00aaff);
  transform: translateX(-4px);
}

/* Footer (Social Links + Signature) */
.nav-footer {
  display: none;
}
.nav-social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
  list-style: none;
  margin: 0;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  transition: transform 0.3s ease;
}
.social-link:hover {
  transform: scale(1.1);
}
.social-link:focus {
  outline: 2px solid var(--primary-color, #00aaff);
  outline-offset: 2px;
}
.social-icon {
  width: 1.2rem;
  height: 1.2rem;
  fill: var(--text-color, #ffffff);
  transition: fill 0.3s ease;
}
.social-link:hover .social-icon {
  fill: var(--primary-color, #00aaff);
}
.nav-menu-signature {
  display: none;
  justify-content: center;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}
.nav-menu-signature .nav-signature-img {
  width: 140px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(5) contrast(0.5);
  transform: rotate(-2deg) scale(1);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.nav-menu-signature:hover .nav-signature-img {
  filter: grayscale(100%) brightness(6) contrast(0.5);
  transform: rotate(-2deg) scale(1.05);
}

/* Navigation Toggle Button */
.nav-menu-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10005;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(145deg, var(--secondary-color, #4a4a4a), #4a4a4a);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4), 0 0 8px rgba(0, 170, 255, 0.4);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}
.nav-menu-toggle:hover {
  background: linear-gradient(145deg, var(--primary-color, #00aaff), var(--secondary-color, #4a4a4a));
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.5), 0 0 12px rgba(0, 170, 255, 0.6);
}
.nav-menu-toggle .icon-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.nav-menu-toggle.active .icon-bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-menu-toggle.active .icon-bar:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}
.nav-menu-toggle.active .icon-bar:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Submenu Styles (Generic for All Depths) */
.nav-toggle .nav-toggle-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.toggle-arrow {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  margin-left: 0.6rem;
}
.nav-toggle[aria-expanded="true"] .toggle-arrow {
  transform: rotate(180deg);
}
.subtree {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0 1rem;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out, max-height 0.5s ease-in-out;
}
.subtree.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.subtree::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
}
.nav-toggle .nav-toggle-link::before {
  content: '├─';
  margin-right: 0.6rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s ease;
}
.nav-toggle:hover .nav-toggle-link::before {
  color: rgba(255,255,255,0.6);
}
.subtree .nav-sub-link {
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  display: block;
  position: relative;
  color: var(--text-color, #ffffff);
  text-decoration: none;
  pointer-events: auto;
  transition: color 0.3s ease, padding-left 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.subtree .nav-sub-link::before {
  content: '├─';
  margin-right: 0.6rem;
  color: rgba(255,255,255,0.4);
}
.subtree li:last-child .nav-sub-link::before {
  content: '└─';
}
.subtree .nav-sub-link:hover {
  color: var(--primary-color, #00aaff);
  padding-left: 1.4rem;
  background: linear-gradient(to right, rgba(255,255,255,0.08), transparent);
  transform: translateX(4px);
}
.subtree .nav-sub-link:focus {
  outline: 2px solid var(--primary-color, #00aaff);
  outline-offset: 2px;
}

/* Gradient Animation for Slider Background */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Mobile Enhancements */
@media (max-width: 1024px) {
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    margin: 0;
    border-radius: 0;
  }
  .nav-menu-toggle {
    display: flex;
  }
  .nav-menu-list {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 16px rgba(0,0,0,0.6);
    padding: 2rem 1.5rem 8rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    touch-action: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color, #00aaff) #1a1a1a;
  }
  .nav-menu-list.active {
    transform: translateX(0);
    opacity: 1;
  }
  .nav-search-container {
    display: block;
    margin-bottom: 1rem;
  }
  .nav-search-wrapper {
    max-width: 80%;
  }
  .nav-search-results {
    background: #1a1a1a;
  }
  .nav-menu-items {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 2rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color, #00aaff) #1a1a1a;
  }
  .nav-menu-link {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: auto;
    touch-action: manipulation;
    user-select: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
  }
  .nav-menu-link.anim-in {
    opacity: 1;
    transform: scale(1);
  }
  .nav-menu-link:hover {
    transform: translateX(6px);
    color: var(--primary-color, #00aaff);
    background: rgba(255,255,255,0.15);
  }
  .nav-footer {
    display: flex;
    flex-direction: column;
    position: sticky;
    bottom: 0;
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    z-index: 1001;
  }
  .nav-social-links {
    padding: 1rem 0;
  }
  .social-link {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    box-shadow: none;
  }
  .social-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
  .nav-menu-signature {
    display: flex;
    border: none;
  }
  .nav-menu-signature .nav-signature-img {
    border: none;
    box-shadow: none;
  }
  .subtree {
    margin-left: 0;
    border-left: none;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .subtree::before {
    display: none;
  }
  .nav-back-btn {
    display: block;
  }
  html, body {
    overflow-x: hidden;
  }
  html.nav-open, body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
}

/* Desktop: Use dropdowns */
@media (min-width: 1025px) {
  .main-nav {
    position: sticky;
    top: 0;
  }
  .nav-menu-toggle {
    display: none;
  }
  .sidebar-toggle-btn {
    display: none;
  }
  .nav-menu-list {
    flex-direction: row;
    align-items: center;
  }
  .nav-search-container {
    display: block;
    position: relative;
    margin-right: 1rem;
    width: 200px;
  }
  .nav-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    z-index: 1005;
  }
  .nav-menu-items {
    display: flex;
    gap: 1.2rem;
    align-items: center;
  }
  .nav-toggle {
    position: relative;
  }
  .subtree {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    border-radius: 8px;
    padding: 1rem;
    min-width: 250px;
    z-index: 1005;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
  }
  .nav-toggle[aria-expanded="true"] > .subtree {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: scale(1);
  }
  .subtree .subtree {
    top: 0;
    left: 100%;
    background: #1a1a1a;
  }
  .subtree .nav-menu-link {
    display: block;
    white-space: nowrap;
  }
  .subtree::before,
  .nav-toggle .nav-toggle-link::before,
  .subtree .nav-sub-link::before {
    display: none;
  }
  .nav-footer {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
  }
  .nav-social-links {
    gap: 0.8rem;
  }
  .social-link {
    width: 1.8rem;
    height: 1.8rem;
  }
  .social-icon {
    width: 1rem;
    height: 1rem;
  }
  .nav-menu-signature {
    display: none;
  }
}

/* Sidebar Styles */
.sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--glass-bg, rgba(255,255,255,0.05));
  border-radius: var(--border-radius, 12px);
  padding: 1.5rem;
  position: sticky;
  top: 80px;
  height: fit-content;
  box-shadow: var(--shadow, 0 4px 12px rgba(0,0,0,0.5));
  border: 1px solid var(--glass-border, rgba(255,255,255,0.1));
  backdrop-filter: blur(8px);
  overflow-y: auto;
  max-height: calc(100vh - 100px);
}
.sidebar-heading {
  font-size: 1.2rem;
  color: var(--secondary-color, #4a4a4a);
  margin-bottom: 1rem;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sidebar-link {
  color: var(--text-color, #ffffff);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.sidebar-link:hover,
.sidebar-link:focus,
.sidebar-link.active {
  background: var(--glass-bg, rgba(255,255,255,0.05));
  color: var(--secondary-color, #4a4a4a);
  transform: translateX(3px);
  box-shadow: var(--glow, 0 0 8px rgba(0, 170, 255, 0.3));
}
.sidebar-wrapper {
  display: block;
}
.sidebar-toggle-btn {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1100;
  width: 3rem;
  height: 3rem;
  background: var(--secondary-color, #4a4a4a);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: background 0.3s ease, transform 0.3s ease;
}
.sidebar-toggle-btn:hover {
  background: var(--primary-color, #00aaff);
  transform: scale(1.05);
}
.sidebar-toggle-btn .icon-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.sidebar-toggle-btn.active .icon-bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.sidebar-toggle-btn.active .icon-bar:nth-child(2) {
  opacity: 0;
}
.sidebar-toggle-btn.active .icon-bar:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}
@media (max-width: 1024px) {
  .sidebar-wrapper {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100vh;
    background: var(--glass-bg, rgba(255,255,255,0.05));
    box-shadow: var(--shadow, 0 4px 12px rgba(0,0,0,0.5));
    transition: left 0.4s ease;
    z-index: 1050;
    border-radius: 0 12px 12px 0;
    overflow-y: auto;
  }
  .sidebar-wrapper.open {
    left: 0;
  }
  .sidebar-toggle-btn {
    display: flex;
  }
  .sidebar {
    position: relative;
    top: 0;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
}

.social-sticky-container {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}

.social-toggle-button {
  background: var(--primary);
  color: var(--bg-dark);
  border-radius: 50%;
  padding: 0.8rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.social-toggle-button:hover {
  transform: scale(1.1);
}

.social-toggle-button.active {
  background: var(--accent);
}

.social-share-links {
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
  gap: 0.5rem;
  background: var(--glass-bg);
  padding: 0.75rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.social-share-links.open {
  max-height: 300px;
  opacity: 1;
  pointer-events: auto;
}

.social-share-links a svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
  transition: transform 0.2s ease;
}

.social-share-links a:hover svg {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .social-sticky-container {
    left: 1rem;
  }
  .social-share-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem;
  }
}
    .search-section {
      padding: 1rem 0;
    }
    .search-container {
      max-width: 600px;
      margin: 0 auto;
      display: flex;
      gap: 0.5rem;
      position: relative;
    }
    #search-input {
      flex: 1;
      padding: 0.75rem 1rem;
      border-radius: 6px;
      border: 1px solid var(--card-border);
      background: var(--glass-bg);
      color: var(--text-color);
      font-size: 0.95rem;
      transition: var(--transition);
      width: 100%;
    }
    #search-input:focus {
      border-color: var(--primary);
      box-shadow: var(--glow-bg);
      width: 110%;
      transform: translateX(-5%);
    }
    .search-btn {
      padding: 0.75rem 1rem;
      background: var(--primary);
      border: none;
      border-radius: 6px;
      cursor: pointer;
      color: var(--bg-dark);
      font-size: 0.95rem;
      transition: var(--transition);
    }
    .search-btn:hover {
      background: var(--accent);
      box-shadow: var(--glow-bg);
      transform: scale(1.05);
    }
    .search-results {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--card-bg);
      padding: 0.75rem;
      border-radius: 6px;
      box-shadow: var(--shadow);
      max-height: 200px;
      overflow-y: auto;
      z-index: 1000;
    }
    .search-results.active {
      display: block;

    }

.case-study-flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1rem;
}

.flip-card {
  background-color: transparent;
  perspective: 1200px;
  border-radius: var(--border-radius);
  overflow: hidden;
  pointer-events: auto;
  position: relative; 
}

/* Ensure flip-card-inner is clickable */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 380px;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  transform-style: preserve-3d;
  pointer-events: auto; 
  z-index: 1; 
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  overflow: hidden;
  border-radius: var(--border-radius);
  pointer-events: none; 
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  background: #000;
  display: block;
}

.overlay-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}

.overlay-title h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  background: linear-gradient(90deg, #ffcb6b, #ff8a65);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: linear-gradient(135deg, #0d0d0d, #1c1c1c, #0d0d0d);
  background-size: 200% 200%;
  animation: gradientShift 6s ease-in-out infinite;
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
  overflow-y: auto;
  border-radius: var(--border-radius);
  pointer-events: auto; 
  z-index: 2; 
  text-align: center;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.flip-card-back p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 90%;
}

.btn-link {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto;
  z-index: 3;
  position: relative; 
  overflow: hidden;  
}

.btn-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px; 
  background: linear-gradient(45deg, #ff00cc, #3333ff, #00ffcc, #ffcc00);
  background-size: 300% 300%;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, background-position 1.5s linear;
}

.btn-link:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.btn-link:hover::before {
  opacity: 1;
  background-position: 100% 0;
}


@media (max-width: 768px) {
  .flip-card-inner {
    height: 320px;
  }
  .overlay-title h3 {
    font-size: 1rem;
  }
  .flip-card-back p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .flip-card-inner {
    height: 280px;
  }
  .overlay-title h3 {
    font-size: 0.9rem;
  }
}

/* Scoped hover-active styles for Career & Interview Guides + Featured Blogs */
#career-interview-guides .flip-card:hover,
#career-interview-guides .flip-card.hover-active,
#featured-blogs .flip-card:hover,
#featured-blogs .flip-card.hover-active {
  z-index: 3;
  filter: drop-shadow(0 0 25px rgba(255, 100, 100, 0.9));
  will-change: transform;
  transition: filter 0.4s ease, transform 0.4s ease;
}

/* Optional: smooth lift + rotate effect */
#career-interview-guides .flip-card:hover .flip-card-inner,
#career-interview-guides .flip-card.hover-active .flip-card-inner,
#featured-blogs .flip-card:hover .flip-card-inner,
#featured-blogs .flip-card.hover-active .flip-card-inner {
  transform: rotateY(180deg) scale(1.02);
}

.moving-card .flip-card-inner {
  height: 260px;
  pointer-events: auto; 
}

.moving-card .flip-card-back {
  pointer-events: auto; 
  z-index: 2; 
}

.moving-card .btn-link {
  pointer-events: auto; 
  z-index: 3;
}
.section.blog-showcase-section {
  border: none !important;
  box-shadow: none !important;
}

.moving-cards-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1rem 0;
  perspective: 1600px;

  border-radius: 50px;
  background: transparent;
}

.moving-cards-container::before,
.moving-cards-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 160px;
  height: 100%;
  pointer-events: none; 
  z-index: 2;
  border-radius: 0;
}

.moving-cards-container::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.85) 35%,
    rgba(0, 0, 0, 0.5) 65%,
    transparent 100%
  );
}

.moving-cards-container::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.85) 35%,
    rgba(0, 0, 0, 0.5) 65%,
    transparent 100%
  );
}

.moving-cards-track {
  display: flex;
  gap: 1.5rem;
  will-change: transform;
  position: relative;
  z-index: 1; 
}

.moving-card {
  min-width: 260px;
  position: relative;
  transform-style: preserve-3d;
  flex-shrink: 0;
  transform: scale(0.9);
  transition: transform 0.4s ease, filter 0.3s ease;
  z-index: 2;
  opacity: 0;
  animation: cardStagger 1s forwards;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem;
  background: var(--card-bg, #111);
}

.moving-card img {
  width: 100%;
  height: 180px;       
  object-fit: contain;
  display: block;       
  margin: 0;            
  padding: 0;          
  line-height: 0;       
}

.moving-card span {
  font-size: 0.9rem;
  color: var(--text-color);
  text-align: center;
  margin: 0;
  padding: 0;
  line-height: 1.2;     
}

.moving-card.hover-active {
  z-index: 3; 
  filter: drop-shadow(0 0 25px rgba(255, 200, 100, 0.9));
  will-change: transform;
}

.moving-card.scale-down {
  transform: scale(0.85);
  filter: brightness(0.8);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.flip-card-inner {
  height: 260px; 
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: auto; 
}

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

@keyframes cardStagger {
  from { opacity: 0; transform: translateY(30px) scale(0.85); }
  to { opacity: 1; transform: translateY(0) scale(0.9); }
}

.social-follow{margin:1rem 0;display:flex;flex-wrap:wrap;gap:0.75rem;}
          .social-follow a{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:50%;background:#374151;text-decoration:none;box-shadow:0 2px 4px rgba(0,0,0,0.3);transition:var(--transition);}
          .social-follow a:hover,.social-follow a:focus{background:#22c55e;transform:scale(1.1);outline:2px solid #1e40af;outline-offset:2px;}
          .social-follow svg{width:1.5rem;height:1.5rem;fill:#f3f4f6;transition:fill 0.3s ease;}
          .social-follow a:hover svg,.social-follow a:focus svg{fill:#fff;}
      
.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 85vh;
  padding: 2rem 1rem;
  background: transparent;
  overflow: hidden;
}

.hero-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
  filter: none;
  image-rendering: pixelated;
}

.hero-banner.hide {
  opacity: 0;
  transform: translateY(-100%);
}

.hero-banner.show {
  animation: appearCreative 0.8s ease forwards;
}

@keyframes appearCreative {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(-20%);
  }
  50% {
    opacity: 0.12;
    transform: scale(1.05) translateY(0);
  }
  100% {
    opacity: 0.25;
    transform: scale(1) translateY(0);
  }
}

.matrix-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
  will-change: opacity;
}

.aws-overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  opacity: 0.2;
  z-index: 0;
  will-change: opacity;
}

.hero-content {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
  padding-top: 100px;
}

.hero-text {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0;
  margin-top: -50px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 400px;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 0 0 rgba(0, 183, 235, 0);
}

.hero-image::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(211, 211, 211, 0.7), rgba(255, 255, 255, 0.9));
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6), 0 0 24px rgba(169, 169, 169, 0.4), inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  opacity: 0.85;
  animation: shinyPulse 3s infinite ease-in-out;
}

@keyframes shinyPulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6), 0 0 24px rgba(169, 169, 169, 0.4), inset 0 0 6px rgba(0, 0, 0, 0.3);
    transform: scaleY(1);
  }
  50% {
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.8), 0 0 30px rgba(169, 169, 169, 0.6), inset 0 0 8px rgba(0, 0, 0, 0.4);
    transform: scaleY(1.02);
  }
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--primary);
  text-shadow: 0 0 8px var(--primary);
  line-height: 1.2;
  padding-bottom: 0.5rem;
  position: relative;
  animation: glitch-main 2s infinite linear;
}

.hero-title.glitch::before,
.hero-title.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: none;
  pointer-events: none;
}

.hero-title.glitch::before {
  color: var(--secondary);
  animation: glitch-before 2s infinite linear;
}

.hero-title.glitch::after {
  color: var(--accent);
  animation: glitch-after 2s infinite linear;
}

@keyframes glitch-main {
  0%, 100% { transform: none; }
  20% { transform: translateX(-2px); }
  40% { transform: translateX(2px); }
  60% { transform: translateX(-1px); }
  80% { transform: translateX(1px); }
}

@keyframes glitch-before {
  0%, 100% { transform: none; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  10% { transform: translate(-2px, -1px); clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%); }
  30% { transform: translate(2px, 1px); clip-path: polygon(0 30%, 100% 30%, 100% 60%, 0 60%); }
  50% { transform: translate(-1px, 0); clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%); }
  70% { transform: translate(1px, -1px); clip-path: polygon(0 20%, 100% 20%, 100% 50%, 0 50%); }
  90% { transform: translate(-2px, 2px); clip-path: polygon(0 0, 100% 0, 100% 30%, 0 30%); }
}

@keyframes glitch-after {
  0%, 100% { transform: none; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  15% { transform: translate(2px, 1px); clip-path: polygon(0 70%, 100% 70%, 100% 100%, 0 100%); }
  35% { transform: translate(-2px, -1px); clip-path: polygon(0 40%, 100% 40%, 100% 90%, 0 90%); }
  55% { transform: translate(1px, 0); clip-path: polygon(0 80%, 100% 80%, 100% 100%, 0 100%); }
  75% { transform: translate(-1px, 1px); clip-path: polygon(0 50%, 100% 50%, 100% 90%, 0 90%); }
  95% { transform: translate(2px, -2px); clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%); }
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-family: "Fira Code", "Source Code Pro", monospace;
  color: #6a9955;
  opacity: 0.95;
  letter-spacing: 0.3px;
  text-shadow: 0 0 4px rgba(0,0,0,0.35);
}
.hero-subtitle::before {
  content: "// ";
  color: #6a9955;
}

.hero-subtitle + p {
  font-family: "Fira Code", "Source Code Pro", monospace;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: #d4d4d4;
  line-height: 1.55;
}
.hero-subtitle + p span {
  display: block;
  margin-bottom: 0.4rem;
}
.hero-subtitle + p strong {
  color: #c586c0;
}
.hero-subtitle + p em {
  color: #9cdcfe;
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    padding-top: 120px;
  }
  .hero-text {
    text-align: center;
    margin-top: 0;
  }
  .hero-image {
    margin-top: 1rem;
    max-width: 300px;
  }
  .hero-banner {
    max-height: 120px;
  }
}
/* ===== Who I Am: scoped H2 (code section heading style) ===== */
#who-i-am h2 {
  font-family: "Fira Code", "Source Code Pro", monospace;
  color: #569cd6; /* VS Code blue */
  margin-bottom: 0.75rem;
  position: relative;
}
#who-i-am h2::before {
  content: "// ";
  color: #6a9955; /* comment green prefix */
  font-weight: 400;
}

/* ===== Who I Am paragraph (VS Code text style) ===== */
#who-i-am p {
  font-family: "Fira Code", "Source Code Pro", monospace;
  color: #d4d4d4; /* VS Code editor text */
  line-height: 1.55;
  font-size: clamp(0.9rem, 1.2vw, 1rem); /* adaptive size */
  max-width: 800px;
}
#who-i-am p span[lang="en"].lang-hidden,
#who-i-am p span[lang="hi"].lang-visible {
  display: block;
  margin-bottom: 0.5rem;
}
#who-i-am p strong {
  color: #c586c0; /* purple */
}
#who-i-am p em {
  color: #9cdcfe; /* cyan */
}

    .hero-cta {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      margin-top: 1rem;
    }
    
    .cta-button {
      padding: 0.5rem 1rem; 
      background: linear-gradient(135deg, #111, #333, #000); /* dark shiny gradient */
      color: #fff;
      text-decoration: none;
      border-radius: 50px;
      font-weight: 600;
      font-size: clamp(0.85rem, 1.8vw, 0.95rem); /* slightly smaller font */
      transition: all 0.3s ease-in-out;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.15); /* soft outer glow */
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(2px);
    }
    
    .cta-button::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
      );
      transition: left 0.4s ease;
    }
    
    .cta-button:hover::before {
      left: 100%;
    }
    
    .cta-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); /* brighter glow on hover */
    }
    
    .cta-button.secondary {
      background: none;
      border: 2px solid #888;
      color: #aaa;
      backdrop-filter: blur(4px);
    }
    
    .cta-button.secondary:hover {
      background: rgba(255, 255, 255, 0.05);
      color: #fff;
      box-shadow: 0 0 10px rgba(200, 200, 200, 0.3);
    }
    .lang-toggle {
      display: flex;
      gap: 0.5rem;
      margin-top: 1rem;
      flex-wrap: wrap;
    }
    
    .lang-btn,
    .speak-btn {
      padding: 0.4rem 0.8rem; 
      background: rgba(255, 255, 255, 0.05); 
      color: var(--text-color);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 12px; 
      cursor: pointer;
      font-size: 0.85rem;
      font-weight: 500;
      backdrop-filter: blur(6px);
      transition: all 0.3s ease-in-out;
      position: relative;
      overflow: hidden;
    }
    
    .lang-btn::before,
    .speak-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -75%;
      width: 50%;
      height: 100%;
      background: linear-gradient(120deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.2) 100%);
      transform: skewX(-20deg);
      transition: left 0.5s ease-in-out;
    }
    
    .lang-btn:hover::before,
    .speak-btn:hover::before {
      left: 125%;
    }
    
    .lang-btn.active,
    .speak-btn:hover {
      background: linear-gradient(135deg, #4b6cb7, #182848); /* blueish gradient */
      color: #fff;
      box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    }
    
    [lang="en"].lang-hidden,
    [lang="hi"].lang-hidden {
      display: none;
    }
    
    [lang="en"].lang-visible,
    [lang="hi"].lang-visible {
      display: block;
    }
    
    .section {
      padding: 2rem 1rem;
      margin-bottom: 1.5rem;
     
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .section,
    .card,
    .tech-item,
    .impact-item {
      opacity: 0;
      transform: translateY(40px);
      transition: all 0.8s ease-out;
    }
    
    .section.animate,
    .card.animate,
    .tech-item.animate,
    .impact-item.animate {
      opacity: 1;
      transform: none;
    }
    
    .slide-left.animate {
      transform: translateX(0);
      opacity: 1;
      transition: all 0.8s ease-out;
    }
    
    .card:not(.animate) {
      transform: translateX(60px);
    }
    
    .fade-zoom.animate {
      transform: scale(1);
      opacity: 1;
      transition: all 0.9s ease-in-out;
    }
    
 
    
    .flip-in.animate {
      transform: rotateY(0);
      opacity: 1;
      transition: all 0.9s ease-in-out;
    }
    
    .tech-item:not(.animate) {
      transform: rotateY(90deg);
    }
    
    .fade-up.animate {
      transform: translateY(0);
      opacity: 1;
      transition: all 0.8s ease-out;
    }
    .cta-button.drop-init {
      opacity: 0;
      transform: translateY(-100px);
      pointer-events: none;
      visibility: hidden;
      transition: opacity 0.5s ease, transform 0.6s ease;
    }
    
    .cta-button.drop-in {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
      visibility: visible;
    }
    
.hero-section,
.hero-title,
.hero-img,
#who-i-am {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease-out;
}

.hero-section.fade-parallax.animate {
  opacity: 1;
  transform: translateY(0);
}

.hero-title.fade-glitch.animate {
  opacity: 1;
  transform: translateX(0);
}

.hero-img.zoom-rotate.animate {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}
.hero-img:not(.animate) {
  transform: scale(0.85) rotate(-5deg);
}


#who-i-am.fade-left.animate {
  opacity: 1;
  transform: translateX(0);
  transition: all 1s ease-out;
}
#who-i-am:not(.animate) {
  transform: translateX(-40px);
}

    .section h2 {
      font-size: clamp(1.5rem, 3vw, 2rem);
      color: var(--primary);
      margin-bottom: 1rem;
      position: relative;
    }
    .section h2::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 60px;
      height: 3px;
      background: var(--accent);
      transition: width 0.3s ease;
    }
    .section:hover h2::after {
      width: 120px;
    }
    .section p {
      margin-bottom: 1rem;
    }
    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.5rem;
      margin-top: 1rem;
    }
    .card {
      background: var(--glass-bg);
      padding: 1.5rem;
      border-radius: var(--border-radius);
      box-shadow: var(--shadow);
      border: 1px solid var(--card-border);
      transition: var(--transition);
      transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
      transform-style: preserve-3d;
      position: relative;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      overflow: hidden;
    }
    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(10, 10, 10, 0.7);
      z-index: 0;
    }
    .card.animate {
      opacity: 1;
    }
    .card:hover {
      transform: perspective(1000px) rotateX(3deg) rotateY(3deg);
      box-shadow: 0 0 20px var(--primary);
    }
    .card-particles {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      pointer-events: none;
    }
    .card h3, .card p, .card-links {
      position: relative;
      z-index: 2;
    }
    .card h3 {
      font-size: 1.3rem;
      color: var(--primary);
      margin-bottom: 0.75rem;
    }
    .card p {
      font-size: 0.95rem;
      line-height: 1.6;
    }
 .card-links {
display: flex;
gap: 0.75rem;
margin-top: 1rem;
}
.neon-link {
  padding: 0.35rem 0.75rem; 
  background: linear-gradient(135deg, #1f1c2c, #928dab); 
  color: #fff;
  text-decoration: none;
  border-radius: 14px; /* more curved */
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
}

.neon-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.neon-link:hover::before {
  left: 100%;
}

.neon-link:hover {
  background: linear-gradient(135deg, #ff6ec4, #7873f5); /* brighter glossy gradient */
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25), 0 0 8px #ff6ec4;
  transform: translateY(-2px);
  color: #fff;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }
}

.impact-item {
  text-align: center;
  padding: 1.2rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
  position: relative;
}

.impact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-bg);
}

.impact-value {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.impact-item p {
  font-size: 0.9rem;
}

.impact-group-title {
  grid-column: 1 / -1;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--heading-color, #fff);
  border-bottom: 1px solid var(--card-border, #444);
  padding-bottom: 0.25rem;
}

.section.tech-stack {
  max-width: 900px;
  margin: auto;
  border: none !important; 
  box-shadow: none !important; 
}

.tech-stack-reels {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
}

.tech-category h3 {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 0.8rem;
  text-align: center;
  letter-spacing: 0.3px;
}

/* Reel container with soft edge masks */
.tech-reel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: 16px; 
}

/* Row of tech cards */
.tech-reel {
  display: flex;
  gap: 0.8rem;
  will-change: transform;
}

/* Tech card styles */
.tech-card {
  flex-shrink: 0;
  min-width: 95px;
  max-width: 100px;
  background: var(--glass-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.6rem 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Icon inside card */
.tech-card img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px var(--secondary));
}

/* Label inside card */
.tech-card span {
  font-size: 0.75rem;
  color: var(--text-color);
  text-align: center;
}

/* Glow hover */
.tech-card:hover {
  border-color: cyan;
  box-shadow:
    0 0 12px rgba(0, 255, 255, 0.7),
    0 0 20px rgba(0, 255, 200, 0.5),
    inset 0 0 6px rgba(0, 255, 255, 0.3);
}

/* === Edge Blur Masks (radial to kill corner sharpness) === */
.tech-reel-container::before,
.tech-reel-container::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 140px;
  pointer-events: none;
  z-index: 2;
}

/* Left edge fade with radial blur corners */
.tech-reel-container::before {
  left: 0;
  background: radial-gradient(
      circle at left center,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.6) 40%,
      rgba(0, 0, 0, 0.2) 70%,
      transparent 100%
    );
}

/* Right edge fade with radial blur corners */
.tech-reel-container::after {
  right: 0;
  background: radial-gradient(
      circle at right center,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.6) 40%,
      rgba(0, 0, 0, 0.2) 70%,
      transparent 100%
    );
}

.aws-canvas {
width: 100%;
height: 400px;
border-radius: var(--border-radius);
border: 1px solid var(--card-border);
background: var(--bg-light);
margin-top: 1rem;
}
.aws-controls {
display: flex;
gap: 0.75rem;
margin-bottom: 1rem;
flex-wrap: wrap;
}
.control-btn, .control-select {
padding: 0.5rem 1rem;
background: var(--primary);
color: var(--bg-dark);
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 0.9rem;
transition: var(--transition);
}
.control-btn:hover, .control-select:hover {
background: var(--accent);
box-shadow: var(--glow-bg);
}
.aws-tooltip {
  position: fixed; 
  background: var(--card-bg);
  color: var(--text-color);
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--card-border);
  font-size: 0.85rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 9999; 
  display: none; 
}
.aws-tooltip.show {
  display: block;
  opacity: 1;
}

/* ===========================
   Enhanced FAQ styles (Active highlight + VS Code theme)
   Drop-in replacement / augmentation for previous FAQ styles
   =========================== */

/* Base container adjustments (slightly tighter) */
.faq-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
  color: var(--text-color, #e6eef8);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Heading */
.faq-section > h2 {
  font-size: 1.6rem;
  color: var(--secondary-color, #e85a5a);
  margin-bottom: 0.4rem;
  letter-spacing: 0.3px;
}

/* FAQ list spacing */
.faq-list { gap: 1rem; display: flex; flex-direction: column; }

/* Card / item - stronger "editor" look */
.faq-item {
  border-radius: 12px;
  padding: 0.9rem 0.9rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  gap: 0.45rem;
  position: relative;
  transition: box-shadow .18s ease, transform .12s ease, background .18s ease, border-color .18s ease;
  background: linear-gradient(180deg, rgba(10,10,12,0.36), rgba(8,8,10,0.28));
  border: 1px solid rgba(255,255,255,0.04);
  overflow: visible;
}

/* default neutral card */
.faq-item:not(:has(.faq-answer.active)) {
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}

/* Active highlight – two ways: with :has() (modern) and fallback using question aria-expanded */
.faq-item:has(.faq-answer.active),
.faq-question[aria-expanded="true"].active,
.faq-question[aria-expanded="true"] + .speak-btn,
.faq-answer.active {
  border-color: color-mix(in srgb, var(--secondary-color, #e85a5a) 25%, rgba(255,255,255,0.06));
}

/* Parent glow when active */
.faq-item:has(.faq-answer.active) {
  box-shadow: 0 14px 40px rgba(232,90,90,0.12), 0 2px 8px rgba(0,0,0,0.45);
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(18,18,22,0.6), rgba(12,12,14,0.56));
}

/* Fallback highlight using adjacent selectors */
.faq-question[aria-expanded="true"] {
  color: var(--secondary-color, #e85a5a);
}

/* Chevron rotation & stronger color when active */
.faq-question::after {
  content: '›';
  margin-left: 0.5rem;
  transition: transform .25s ease, color .18s ease, opacity .18s ease;
  color: var(--muted-text, rgba(255,255,255,0.6));
}
.faq-question[aria-expanded="true"]::after {
  transform: rotate(90deg) translateX(1px);
  color: var(--secondary-color, #e85a5a);
  opacity: 1;
}

/* Question (bigger & more prominent) */
.faq-question {
  font-weight: 700;
  font-size: 1.03rem;
  line-height: 1.15;
  color: var(--text-color, #fff);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

/* Speak button style – becomes accent when item expanded */
.speak-btn {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.04);
  color: var(--muted-text, rgba(255,255,255,0.88));
  padding: 0.36rem 0.62rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, color .12s ease;
  min-width: 92px;
}

/* Make play button accent when its FAQ is active (adjacent selector) */
.faq-question[aria-expanded="true"] + .speak-btn,
.speak-btn:focus {
  border-color: rgba(232,90,90,0.18);
  color: var(--secondary-color, #e85a5a);
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(180deg, rgba(232,90,90,0.03), rgba(255,255,255,0.01));
}

/* Answer area transition */
.faq-answer {
  grid-column: 1 / -1;
  grid-row: 2;
  max-height: 0;
  overflow: hidden;
  transition: max-height .42s cubic-bezier(.2,.85,.25,1), opacity .22s ease, padding-top .18s ease;
  opacity: 0;
  padding-top: 0;
}

/* Active answer visible */
.faq-answer.active {
  opacity: 1;
  padding-top: 0.75rem;
}

/* VSCode-style code-panel for bullets and inline code */

/* Answer inner wrapper: give a code editor feeling */
.faq-answer > .faq-bullets,
.faq-answer > p {
  background: linear-gradient(180deg, rgba(6,8,12,0.45), rgba(10,12,16,0.42));
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.03);
  margin: 0.25rem 0;
  font-family: "SFMono-Regular", Menlo, Monaco, "Roboto Mono", "Segoe UI Mono", monospace;
  font-size: 0.95rem;
  color: #dfefff;
  box-shadow: inset 0 -6px 18px rgba(0,0,0,0.25);
}

/* When rendering multiple blocks, keep spacing */
.faq-answer > .faq-bullets + p,
.faq-answer > p + .faq-bullets,
.faq-answer > p + p {
  margin-top: 0.6rem;
}

/* Make list items look like code lines with a gutter (line numbers) */
.faq-bullets {
  counter-reset: line;
  list-style: none;
  padding-left: 0.9rem;
  margin: 0;
  display: block;
}

/* Each bullet renders a line number in the left gutter */
.faq-bullets li {
  counter-increment: line;
  position: relative;
  padding-left: 1.1rem; /* space for number */
  margin: 0.25rem 0;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

/* gutter number pseudo-element */
.faq-bullets li::before {
  content: counter(line);
  position: absolute;
  left: -0.9rem;
  top: 0;
  width: 2rem;
  text-align: right;
  color: rgba(255,255,255,0.25);
  font-size: 0.85rem;
  font-family: "Roboto Mono", monospace;
  padding-right: 0.6rem;
  transform: translateY(0.08rem);
  user-select: none;
}

/* Inline code styling */
.faq-answer code {
  background: rgba(0,0,0,0.32);
  padding: 0.08rem 0.35rem;
  border-radius: 6px;
  border-left: 3px solid rgba(232,90,90,0.14);
  color: #cff0ff;
  font-family: "SFMono-Regular", Menlo, Monaco, monospace;
  font-size: 0.9rem;
}

/* Links inside code panel */
.faq-bullets a {
  color: #9be1ff;
  text-decoration: underline;
}

/* accessibility: ensure focus visibility */
.faq-item :focus {
  outline: 3px solid rgba(232,90,90,0.12);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .faq-item { grid-template-columns: 1fr auto; }
  .faq-answer > .faq-bullets,
  .faq-answer > p { padding: 0.6rem; }
  .faq-bullets li::before { left: -0.6rem; padding-right: 0.5rem; width: 1.6rem; font-size: .8rem; }
}

/* Narrow mobile layout: stacked */
@media (max-width: 480px) {
  .faq-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
  }
  .speak-btn { justify-self: end; }
  .faq-answer > .faq-bullets,
  .faq-answer > p {
    font-size: 0.9rem;
    padding: 0.6rem;
  }
}

/* Fallback if :has() not supported - use sibling selectors already provided above.
   :has() enhances parent styling where browser supports it. */

/* END enhanced-faq-styles */


.footer {
  padding: 3rem 1.5rem 2rem;
  border-top: 3px solid var(--primary-color);
  position: relative;
  overflow: hidden; /* Ensure wave doesn't overflow */
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px; /* Reduced height for better proportion */
  transform: translateY(-100%);
  animation: waveFadeIn 1s ease-out forwards;
}

.wave-svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes waveFadeIn {
  to {
    transform: translateY(0);
  }
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1400px; /* Slightly wider for modern layouts */
  margin: 0 auto;
  padding-top: 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  animation: fadeInSection 0.8s ease-out forwards;
  animation-delay: calc(var(--section-index) * 0.2s); /* Staggered animation */
}

.footer-section:nth-child(1) { --section-index: 1; }
.footer-section:nth-child(2) { --section-index: 2; }
.footer-section:nth-child(3) { --section-index: 3; }
.footer-section:nth-child(4) { --section-index: 4; }

@keyframes fadeInSection {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-heading {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.footer-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link::before {
  content: '→';
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-link:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.footer-link:hover::before {
  opacity: 1;
  transform: translateX(-5px);
}

/* About Sanjay at bottom center */
.footer-about-bottom {
  text-align: center;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.footer-about-bottom p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Responsive: stack categories neatly */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 480px) {
  .footer-about-bottom {
    margin-top: 2rem;
    padding: 0 1rem;
  }
}


.social-follow {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-link:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(230, 57, 70, 0.5); /* Subtle glow on hover */
}

.social-icon {
  width: 24px;
  height: 24px;
  fill: var(--text-color);
  transition: fill 0.3s ease;
}

.social-link:hover .social-icon {
  fill: var(--secondary-color);
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.85;
  padding: 1rem 0;
  border-top: 2px solid var(--card-border);
  animation: fadeInBottom 1s ease-out forwards;
}

@keyframes fadeInBottom {
  to {
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 1rem;
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding-top: 1.5rem;
  }

  .footer-heading {
    font-size: 1.2rem;
  }

  .footer-link {
    font-size: 0.9rem;
  }

  .footer-wave {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 1.5rem 0.75rem;
  }

  .footer-content {
    grid-template-columns: 1fr; /* Stack sections vertically */
    gap: 1rem;
  }

  .footer-heading {
    font-size: 1.1rem;
  }

  .footer-link {
    font-size: 0.85rem;
  }

  .footer-wave {
    height: 50px;
  }

  .social-follow {
    justify-content: center;
  }
}
.scroll-to-top {
position: fixed;
bottom: 1rem;
right: 1rem;
background: var(--primary);
color: var(--bg-dark);
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
cursor: pointer;
box-shadow: var(--shadow);
transition: var(--transition);
opacity: 0;
visibility: hidden;
}
.scroll-to-top.visible {
opacity: 1;
visibility: visible;
}
.scroll-to-top:hover {
background: var(--accent);
transform: scale(1.1);
}
@keyframes glitch {
0% {
transform: translate(0);
}
20% {
transform: translate(-2px, 2px);
}
40% {
transform: translate(-2px, -2px);
}
60% {
transform: translate(2px, 2px);
}
80% {
transform: translate(2px, -2px);
}
100% {
transform: translate(0);
}
}
@keyframes glitch-top {
0% {
transform: translate(0);
}
20% {
transform: translate(-3px, 3px);
}
40% {
transform: translate(-3px, -3px);
}
60% {
transform: translate(3px, 3px);
}
80% {
transform: translate(3px, -3px);
}
100% {
transform: translate(0);
}
}
@keyframes glitch-bottom {
0% {
transform: translate(0);
}
20% {
transform: translate(-3px, 3px);
}
40% {
transform: translate(-3px, -3px);
}
60% {
transform: translate(3px, 3px);
}
80% {
transform: translate(3px, -3px);
}
100% {
transform: translate(0);
}
}
@media (max-width: 768px) {
    
.hero-content {
flex-direction: column;
text-align: center;
}
.hero-img {
max-width: 250px;
}
.card-grid, .impact-grid, .tech-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 480px) {
.hero-title {
font-size: 1.8rem;
}
.hero-subtitle {
font-size: 1rem;
}
.cta-button {
padding: 0.5rem 1rem;
font-size: 0.85rem;
}
.aws-canvas {
height: 300px;
}
}

