/* Snowflake and Glitter Effects */
.snowflake, .glitter {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 3000;
  user-select: none;
  will-change: transform, opacity;
  animation-timing-function: linear;
}
.snowflake {
  color: #e0e7ff;
  text-shadow: 0 2px 8px #a084ca, 0 0 12px #f8f5ff;
  animation-name: snow-fall;
}
.glitter {
  color: #f9a8d4;
  text-shadow: 0 2px 8px #f8f5ff, 0 0 12px #a084ca;
  animation-name: glitter-float;
}
@keyframes snow-fall {
  0% { transform: translateY(-5vh) scale(1); opacity: 0.8; }
  80% { opacity: 1; }
  100% { transform: translateY(110vh) scale(1.1); opacity: 0; }
}
@keyframes glitter-float {
  0% { opacity: 0.7; transform: scale(1) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.1) rotate(10deg); }
  100% { opacity: 0; transform: scale(0.8) rotate(-10deg); }
}
/* CSS Custom Properties for Themes */
:root {
  --primary-color: #7c5e99;
  --secondary-color: #816aa2;
  --background-gradient: linear-gradient(135deg, #f8f5ff 0%, #f0ebff 50%, #e8e0ff 100%);
  --text-color: #2d1b69;
  --accent-color: #5a4a6a;
  --overlay-primary: rgba(124, 94, 153, 0.03);
  --overlay-secondary: rgba(160, 132, 202, 0.03);
  --overlay-accent: rgba(124, 94, 153, 0.02);
}

/* Smooth transitions for theme changes */
* {
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 !important;
  margin: 0 !important;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--background-gradient);
  min-height: 100vh;
  position: relative;
  transition: background 0.3s ease;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, var(--overlay-primary) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, var(--overlay-secondary) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, var(--overlay-accent) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
  transition: background 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(124, 94, 153, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(124, 94, 153, 0.1);
  transition: border-bottom-color 0.3s ease, box-shadow 0.3s ease;
  height: 56px;
  min-height: 56px;
}

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

.nav-brand a {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-brand a:hover {
  color: var(--secondary-color);
}

/* Navigation menu - mobile-first approach */
.nav-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 70vw;
  max-width: 320px;
  background: #fff;
  box-shadow: 2px 0 16px rgba(124,94,153,0.10);
  flex-direction: column;
  gap: 0;
  z-index: 1200;
  padding: 32px 0 0 0;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}

.nav-menu.open {
  display: flex !important;
  transform: translateX(0);
  pointer-events: auto;
  background: red !important;
  border: 4px solid yellow !important;
  z-index: 9999 !important;
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(60,40,90,0.18);
  z-index: 1199;
  transition: opacity 0.3s;
}

.nav-overlay.active {
  display: block;
}

.nav-link {
  font-weight: 500;
  color: var(--accent-color);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  background: transparent;
  z-index: 10;
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(124, 94, 153, 0.1);
}

.nav-link.active {
  color: var(--primary-color);
  background: rgba(124, 94, 153, 0.15);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  background: var(--background-gradient);
  transition: background 0.3s ease;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 16px;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--accent-color);
  margin-bottom: 32px;
  max-width: 500px;
  transition: color 0.3s ease;
}

/* --- BUTTONS & HERO BUTTONS: MOBILE-FIRST BASE --- */
.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0 2.5rem 0;
}

@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
}

.btn, .btn-primary, .btn-secondary, .btn-outline {
  display: inline-block;
  width: auto;
  max-width: none;
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 10px;
  box-sizing: border-box;
  margin-bottom: 0;
  text-align: center;
}

@media (max-width: 600px) {
  .btn, .btn-primary, .btn-secondary, .btn-outline {
    width: 100%;
    max-width: 300px;
  }
}

/* --- DESKTOP OVERRIDES --- */
@media (min-width: 769px) {
  .hero-buttons {
    flex-direction: row;
    gap: 1.5rem;
    width: auto;
    margin-top: 2rem;
    justify-content: center;
    align-items: center;
  }
  .btn, .btn-primary, .btn-secondary, .btn-outline {
    width: auto;
    max-width: none;
    font-size: 1.05rem;
    padding: 14px 28px;
    margin-bottom: 0;
  }
  .nav-container {
    display: flex !important;
    align-items: stretch !important;
    height: 56px !important;
  }
  .nav-menu {
    display: flex !important;
    align-items: stretch !important;
    height: 56px !important;
    flex: 1 1 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .nav-link {
    height: 100% !important;
    flex: 1 1 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 24px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    border: none !important;
  }
}

.hero-image {
  display: flex;
  justify-content: center;
}

.profile-pic {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(124, 94, 153, 0.2);
  border: 4px solid white;
  transition: transform 0.3s ease;
}

.profile-pic:hover {
  transform: scale(1.05);
}

.profile-pic-transparent {
  width: 220px;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(124, 94, 153, 0.15));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.profile-pic-transparent:hover {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 15px 30px rgba(124, 94, 153, 0.25));
}

/* New avatar styles for different pages */
.about-pic-transparent,
.blog-pic-transparent,
.resume-pic-transparent,
.gallery-pic-transparent {
  width: 180px;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(124, 94, 153, 0.15));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.about-pic-transparent:hover,
.blog-pic-transparent:hover,
.resume-pic-transparent:hover,
.gallery-pic-transparent:hover {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 12px 24px rgba(124, 94, 153, 0.25));
}

/* Hero content layouts for pages with avatars */
.blog-hero-content,
.gallery-hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}

.blog-hero-text,
.gallery-hero-text {
  flex: 1;
}

.blog-hero-avatar,
.gallery-hero-avatar {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.resume-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(124, 94, 153, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 94, 153, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

/* Social Links */
.social-links {
  padding: 60px 0;
}

.social-links h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.5rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 40px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: 16px;
  text-decoration: none;
  color: var(--accent-color);
  box-shadow: 0 4px 20px rgba(124, 94, 153, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(124, 94, 153, 0.1);
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 94, 153, 0.05), transparent);
  transition: left 0.5s ease;
}

.social-card:hover::before {
  left: 100%;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(124, 94, 153, 0.2);
  color: var(--primary-color);
}

.social-icon {
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.social-icon.github {
  background-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon/icons/github/github-original.svg');
}

.social-icon.linkedin {
  background-image: url('https://cdn.jsdelivr.net/gh/devicons/devicon/icons/linkedin/linkedin-original.svg');
}

.social-icon.leetcode {
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/1/19/LeetCode_logo_black.png');
}

.social-icon.medium {
  background-image: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/medium.svg');
}

/* Stickers Section */
.stickers-section {
  padding: 60px 0;
  text-align: center;
}

.stickers-section h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 40px;
}

.stickers {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.sticker {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(124, 94, 153, 0.15);
  background: white;
  padding: 8px;
  transition: all 0.3s ease;
}

.sticker:hover {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 12px 35px rgba(124, 94, 153, 0.25);
}

/* Blog Preview */
.blog-preview {
  padding: 60px 0;
}

.blog-preview h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.5rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 40px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(124, 94, 153, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(124, 94, 153, 0.1);
  margin-bottom: 30px; /* Add spacing between cards */
}

.blog-card-image {
  width: 100%;
  max-height: 220px;
  overflow: hidden;
  display: block;
}

.blog-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(124, 94, 153, 0.2);
}

.blog-card-content {
  padding: 30px;
}

.blog-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.4rem;
  color: var(--text-color);
  margin-bottom: 12px;
}

.blog-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card h3 a:hover {
  color: var(--primary-color);
}

.blog-card .date {
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.blog-card p {
  color: var(--accent-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--secondary-color);
}

.view-all {
  text-align: center;
}

/* Footer */
.footer {
  background: #222;
  color: #f8f8f2;
  font-family: 'Press Start 2P', cursive;
  padding: 1.5em;
  letter-spacing: 1px;
  text-align: center;
  margin-top: 80px;
}

/* Theme Toggle */
#theme-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--primary-color);
  padding: 8px;
  border-radius: 8px;
}

#theme-toggle:hover {
  background: rgba(124, 94, 153, 0.1);
  transform: scale(1.1);
}

/* About Page Styles */
.about-hero {
  padding: 80px 0 60px;
  background: var(--background-gradient);
  border-radius: 20px;
  margin: 20px 0;
  max-width: 100%;
}

.about-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-pic-transparent {
  width: 280px;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(124, 94, 153, 0.15));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.about-pic-transparent:hover {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 15px 30px rgba(124, 94, 153, 0.25));
}

.about-text h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.8rem;
  color: var(--text-color);
  margin-bottom: 16px;
}

.about-subtitle {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 24px;
  font-style: italic;
}

.about-description p {
  font-size: 1.05rem;
  color: var(--accent-color);
  margin-bottom: 18px;
  line-height: 1.8;
  text-align: justify;
}

.about-pic {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(124, 94, 153, 0.2);
  border: 4px solid white;
}

.skills-section,
.interests-section,
.contact-section {
  padding: 60px 0;
  margin: 0 20px;
}

.skills-section h2,
.interests-section h2,
.contact-section h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.5rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 40px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.skill-category h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: default;
}

.skill-tag:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(124, 94, 153, 0.3);
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.interest-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(124, 94, 153, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(124, 94, 153, 0.1);
  position: relative;
  overflow: hidden;
}

.interest-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 94, 153, 0.05), transparent);
  transition: left 0.5s ease;
}

.interest-card:hover::before {
  left: 100%;
}

.interest-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(124, 94, 153, 0.2);
}

.interest-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.interest-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 12px;
}

.interest-card p {
  color: var(--accent-color);
  line-height: 1.6;
}

.contact-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Gallery Page Styles */
.gallery-hero {
  padding: 80px 0 40px;
  text-align: center;
}

.gallery-hero h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: 3.5rem;
  color: var(--text-color);
  margin-bottom: 16px;
}

.gallery-subtitle {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.projects-section,
.designs-section,
.inspiration-section {
  padding: 60px 0;
}

.projects-section h2,
.designs-section h2,
.inspiration-section h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.5rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 40px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(124, 94, 153, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(124, 94, 153, 0.1);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(124, 94, 153, 0.2);
}

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

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

.project-content {
  padding: 30px;
}

.project-content h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.4rem;
  color: var(--text-color);
  margin-bottom: 12px;
}

.project-content p {
  color: var(--accent-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tag {
  background: rgba(124, 94, 153, 0.1);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 12px;
}

.project-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: var(--secondary-color);
}

.designs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.design-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(124, 94, 153, 0.1);
  transition: all 0.3s ease;
}

.design-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(124, 94, 153, 0.2);
}

.design-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.design-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(45, 27, 105, 0.9));
  color: white;
  padding: 30px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.design-card:hover .design-overlay {
  transform: translateY(0);
}

.design-overlay h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.inspiration-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(124, 94, 153, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(124, 94, 153, 0.1);
}

.inspiration-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(124, 94, 153, 0.2);
}

.inspiration-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.inspiration-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 12px;
}

.inspiration-card p {
  color: var(--accent-color);
  line-height: 1.6;
}

/* Blog Page Styles */
.blog-hero {
  padding: 80px 0 40px;
  text-align: center;
}

.blog-hero h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: 3.5rem;
  color: var(--text-color);
  margin-bottom: 16px;
}

.blog-subtitle {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.blog-filters {
  padding: 40px 0;
  text-align: center;
}

.filter-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: white;
}

.blog-list {
  padding: 40px 0;
}

.blog-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  background: white;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 30px rgba(124, 94, 153, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(124, 94, 153, 0.1);
}

.blog-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124, 94, 153, 0.2);
}

.blog-item-image {
  width: 200px;
  height: 200px;
  min-width: 200px;
  min-height: 200px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 94, 153, 0.05);
  flex-shrink: 0;
}

.blog-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.blog-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.blog-category {
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-category.tutorial {
  background: rgba(124, 94, 153, 0.1);
  color: var(--primary-color);
}

.blog-category.thoughts {
  background: rgba(255, 193, 7, 0.1);
  color: #f57c00;
}

.blog-category.project {
  background: rgba(76, 175, 80, 0.1);
  color: #388e3c;
}

.blog-date {
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.blog-item h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 12px;
}

.blog-item h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-item h2 a:hover {
  color: var(--primary-color);
}

.blog-item p {
  color: var(--accent-color);
  margin-bottom: 16px;
  line-height: 1.6;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.blog-tag {
  background: rgba(124, 94, 153, 0.1);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
}

.blog-newsletter {
  padding: 60px 0;
  background: white;
  border-radius: 20px;
  margin: 60px 0;
  text-align: center;
}

.newsletter-content h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 16px;
}

.newsletter-content p {
  color: var(--accent-color);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 12px 16px;
  border: 2px solid rgba(124, 94, 153, 0.2);
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
  border-color: var(--primary-color);
}

/* Resume Page Styles */
.resume-hero {
  padding: 80px 0 40px;
  background: var(--background-gradient);
}

.resume-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.resume-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
}

.resume-pic-transparent {
  width: 180px;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(124, 94, 153, 0.15));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.resume-pic-transparent:hover {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 15px 30px rgba(124, 94, 153, 0.25));
}

.resume-info h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: 3rem;
  color: var(--text-color);
  margin-bottom: 8px;
  line-height: 1.2;
}

.resume-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 16px;
}

.resume-description {
  font-size: 1.1rem;
  color: var(--accent-color);
  line-height: 1.7;
}

.resume-description a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.resume-description a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* New Contact Layout Styles */
.resume-contact {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--accent-color);
}

.contact-label {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Certification Content Styles */
.certification-content {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(124, 94, 153, 0.1);
  border: 1px solid rgba(124, 94, 153, 0.1);
  transition: all 0.3s ease;
}

.certification-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(124, 94, 153, 0.15);
}

.certification-content p {
  margin: 0;
  line-height: 1.7;
  color: var(--accent-color);
}

.certification-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.certification-content a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Resume Actions */
.resume-actions {
  padding: 60px 0;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.action-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design for Resume */
@media (max-width: 768px) {
  .resume-hero {
    padding: 40px 0 20px;
  }
  
  .resume-header {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  
  .resume-info h1 {
    font-size: 2rem;
    margin-bottom: 8px;
  }
  
  .resume-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  
  .resume-description {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .resume-contact {
    margin-top: 16px;
    gap: 8px;
  }
  
  .contact-item {
    font-size: 0.9rem;
    gap: 8px;
    justify-content: center;
  }
  
  .contact-label {
    font-size: 1rem;
    width: 20px;
  }
  
  .resume-section {
    padding: 40px 0;
  }
  
  .resume-section h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }
  
  .timeline {
    padding-left: 16px;
  }
  
  .timeline::before {
    left: 16px;
  }
  
  .timeline-item {
    padding: 20px;
    margin-left: 16px;
    margin-bottom: 24px;
  }
  
  .timeline-item::before {
    left: 7px;
    top: 20px;
    width: 18px;
    height: 18px;
  }
  
  .timeline-header h3 {
    font-size: 1.2rem;
  }
  
  .timeline-company {
    font-size: 1rem;
  }
  
  .timeline-date {
    font-size: 0.85rem;
  }
  
  .timeline-description {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .timeline-nested {
    margin-left: 12px;
    padding: 16px;
    margin-bottom: 16px;
  }
  
  .timeline-nested h4 {
    font-size: 1.1rem;
  }
  
  .timeline-nested div {
    font-size: 0.85rem;
  }
  
  .timeline-nested li {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .education-item {
    padding: 20px;
    margin-bottom: 16px;
  }
  
  .education-header h3 {
    font-size: 1.2rem;
  }
  
  .education-school {
    font-size: 1rem;
  }
  
  .education-date {
    font-size: 0.85rem;
  }
  
  .education-item p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .resume-section .skills-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .resume-section .skill-category {
    padding: 20px;
  }
  
  .resume-section .skill-category h3 {
    font-size: 1.1rem;
  }
  
  .resume-section .skill-tag {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  .resume-section ul li {
    padding: 12px 16px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    padding-left: 32px;
  }
  
  .resume-section ul li::before {
    left: 12px;
    font-size: 1rem;
  }
  
  .action-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .resume-info h1 {
    font-size: 1.5rem;
  }
  
  .resume-title {
    font-size: 1rem;
  }
  
  .resume-description {
    font-size: 0.9rem;
  }
  
  .contact-item {
    font-size: 0.8rem;
    gap: 6px;
  }
  
  .contact-label {
    font-size: 0.9rem;
    width: 18px;
  }
  
  .resume-section h2 {
    font-size: 1.5rem;
  }
  
  .timeline-item {
    padding: 16px;
    margin-left: 12px;
  }
  
  .timeline-item::before {
    left: 5px;
    top: 16px;
    width: 16px;
    height: 16px;
  }
  
  .timeline-header h3 {
    font-size: 1.1rem;
  }
  
  .timeline-nested {
    margin-left: 8px;
    padding: 12px;
  }
  
  .timeline-nested h4 {
    font-size: 1rem;
  }
  
  .education-item {
    padding: 16px;
  }
  
  .education-header h3 {
    font-size: 1.1rem;
  }
  
  .resume-section .skill-category {
    padding: 16px;
  }
  
  .resume-section .skill-category h3 {
    font-size: 1rem;
  }
  
  .resume-section .skill-tag {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
  
  .resume-section ul li {
    padding: 10px 12px;
    font-size: 0.85rem;
    padding-left: 28px;
  }
  
  .resume-section ul li::before {
    left: 10px;
    font-size: 0.9rem;
  }
}

/* Slide-in sidebar nav for mobile - handled by main nav-menu rule above */

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(60,40,90,0.18);
  z-index: 1199;
  transition: opacity 0.3s;
}

.nav-overlay.active {
  display: block;
}

@media (min-width: 769px) {
  .nav-menu {
    display: flex !important;
    align-items: stretch;
    height: 100%; /* Fill parent */
    position: static;
    flex-direction: row;
    box-shadow: none;
    background: none;
    padding: 0;
    transform: none;
    pointer-events: auto;
    gap: 16px;
  }
  .nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 24px; /* Only horizontal padding */
    border-radius: 0; /* Remove for full-rect highlight */
    border-bottom: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-color);
    background: transparent;
    margin: 0 2px;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
  }
  .nav-link:hover {
    background: rgba(124, 94, 153, 0.1);
    color: var(--primary-color);
    text-decoration: none;
  }
  .nav-link.active {
    color: var(--primary-color);
    background: rgba(124, 94, 153, 0.15);
  }
  .mobile-menu-toggle {
    display: none !important;
  }
  .nav-overlay {
    display: none !important;
  }
  .hero-buttons {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
}

/* --- Mobile nav styles (slide-in, pointer-events) --- */
@media (max-width: 768px) {
  /* Mobile navigation styles are handled in the main mobile media query above */
  .nav-link {
    padding: 16px 20px;
    border-radius: 0;
    border-bottom: 1px solid rgba(124, 94, 153, 0.1);
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    text-decoration: none;
    color: var(--accent-color);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
  }
  .nav-link:last-child {
    border-bottom: none;
  }
  .nav-link:hover {
    background: rgba(124, 94, 153, 0.1);
    color: var(--primary-color);
  }
  .nav-link.active {
    color: var(--primary-color);
    background: rgba(124, 94, 153, 0.15);
  }
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #7c5e99 !important;
    color: white !important;
    border: 2px solid #7c5e99 !important;
    border-radius: 10px;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 12px;
    z-index: 1300;
    padding: 8px;
    transition: all 0.3s ease;
  }
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(60,40,90,0.18);
    z-index: 1199;
    transition: opacity 0.3s;
  }
  .nav-overlay.active {
    display: block;
  }
  .hero-buttons {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Mobile responsive for color widget */
@media (max-width: 768px) {
  .color-widget {
    bottom: 100px;
    right: 10px;
    max-width: 240px;
  }
  
  .color-palette {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  
  .color-option {
    width: 35px;
    height: 35px;
  }
  
  .restore-widget-btn {
    bottom: 100px;
  }
}

/* Resume Section Styles */
.resume-section {
  padding: 24px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.resume-section h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 20px;
  text-align: center;
}

/* Timeline container and line */
.timeline {
  position: relative;
  margin-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  border-radius: 2px;
  z-index: 0;
}

/* Timeline card style for all items */
.timeline-item, .company-section {
  position: relative;
  margin-bottom: 40px;
  margin-left: 40px;
  padding: 30px 30px 30px 40px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(124, 94, 153, 0.1);
  border: 1px solid rgba(124, 94, 153, 0.1);
  transition: all 0.3s ease;
}

/* Dashed border for nested roles */
.timeline-nested {
  border-left: 3px dashed var(--secondary-color);
  margin-bottom: 24px;
  padding: 20px 20px 20px 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(124, 94, 153, 0.08);
}

/* Timeline bullet */
.timeline-item::before {
  content: '';
  position: absolute;
  left: -60px;
  top: 36px;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 3px var(--primary-color);
  z-index: 2;
}

.timeline-item > h3 {
  padding-left: 0;
}

.timeline-item:hover, .company-section:hover, .timeline-nested:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(124, 94, 153, 0.15);
}

.company-section {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(124, 94, 153, 0.1);
  border: 1px solid rgba(124, 94, 153, 0.1);
  background: white;
  margin-left: 40px;
  padding: 30px 30px 30px 40px;
}

.timeline-nested {
  border-left: 3px dashed var(--secondary-color);
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(124, 94, 153, 0.08);
  margin-bottom: 24px;
  padding: 20px 20px 20px 40px;
}

.timeline-nested h4 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 8px;
}

.timeline-nested div {
  margin-bottom: 12px;
}

.timeline-nested span {
  color: var(--accent-color);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 2px;
}

.timeline-nested ul {
  margin-top: 12px;
  padding-left: 20px;
}

.timeline-nested li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: var(--accent-color);
}

.timeline-nested .role-highlight {
  font-weight: 600;
  margin-bottom: 0;
  color: var(--text-color);
  font-size: 1.05rem;
}

/* Education Section Styles */
.education-item {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(124, 94, 153, 0.1);
  border: 1px solid rgba(124, 94, 153, 0.1);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.education-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124, 94, 153, 0.15);
}

.education-header {
  margin-bottom: 16px;
}

.education-header h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.4rem;
  color: var(--text-color);
  margin-bottom: 8px;
  font-weight: 600;
}

.education-school {
  color: var(--primary-color);
  font-weight: 600;
  margin-right: 16px;
  font-size: 1.1rem;
}

.education-date {
  color: var(--secondary-color);
  font-size: 0.95rem;
  font-weight: 500;
}

.education-item p {
  color: var(--accent-color);
  line-height: 1.7;
  margin-top: 12px;
}

/* Skills Section for Resume */
.resume-section .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.resume-section .skill-category {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(124, 94, 153, 0.1);
  border: 1px solid rgba(124, 94, 153, 0.1);
  transition: all 0.3s ease;
}

.resume-section .skill-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(124, 94, 153, 0.15);
}

.resume-section .skill-category h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 16px;
  text-align: center;
  font-weight: 600;
}

.resume-section .skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.resume-section .skill-tag {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: default;
}

.resume-section .skill-tag:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(124, 94, 153, 0.3);
}

/* Business Skills Section */
.resume-section ul {
  list-style: none;
  padding: 0;
}

.resume-section ul li {
  background: white;
  padding: 16px 24px;
  margin-bottom: 12px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(124, 94, 153, 0.08);
  border: 1px solid rgba(124, 94, 153, 0.1);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 40px;
}

.resume-section ul li::before {
  content: '✨';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
}

.resume-section ul li:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(124, 94, 153, 0.12);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 10px;
  }
  .hero-content, .about-content, .blog-hero-content, .resume-hero-content {
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .hero-content, .about-content, .blog-hero-content, .resume-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-image, .about-avatar, .blog-hero-avatar, .resume-avatar {
    justify-content: center;
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  .nav-container {
    padding: 0 10px;
    height: 56px;
  }
  /* Mobile navigation styles are handled in the main mobile media query above */
  .nav-link {
    padding: 16px 20px;
    border-radius: 0;
    border-bottom: 1px solid rgba(124, 94, 153, 0.1);
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    text-decoration: none;
    color: var(--accent-color);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
  }
  .nav-link:last-child {
    border-bottom: none;
  }
  .nav-link:hover {
    background: rgba(124, 94, 153, 0.1);
    color: var(--primary-color);
  }
  .nav-link.active {
    color: var(--primary-color);
    background: rgba(124, 94, 153, 0.15);
  }
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .hero {
    padding: 40px 0 30px;
  }
  .hero-text h1, .about-text h1, .blog-hero h1, .gallery-hero h1, .resume-info h1 {
    font-size: 2rem;
  }
  .hero-description, .about-description p, .resume-description, .blog-card p, .project-content p {
    font-size: 1rem;
  }
  .profile-pic, .profile-pic-transparent, .about-pic-transparent, .resume-pic-transparent, .gallery-pic-transparent {
    width: 120px;
    max-width: 60vw;
    max-height: 160px;
  }
  .skills-grid, .interests-grid, .projects-grid, .designs-grid, .inspiration-grid, .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stickers {
    grid-template-columns: 1fr 1fr;
  }
  .footer {
    padding: 1em;
    margin-top: 40px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 4px;
  }
  .hero, .about-hero, .gallery-hero, .blog-hero, .resume-hero {
    padding: 24px 16px 16px;
    margin: 16px 0;
    border-radius: 10px;
  }
  .skills-section,
  .interests-section,
  .contact-section {
    margin: 0 10px;
  }
  .about-content {
    padding: 0 10px;
  }
  .hero-text h1, .about-text h1, .blog-hero h1, .gallery-hero h1, .resume-info h1 {
    font-size: 1.3rem;
  }
  .btn, .btn-primary, .btn-secondary, .btn-outline {
    padding: 10px 12px;
    font-size: 0.95rem;
    border-radius: 8px;
  }
  .profile-pic, .profile-pic-transparent, .about-pic-transparent, .resume-pic-transparent, .gallery-pic-transparent {
    width: 80px;
    max-width: 80vw;
    max-height: 100px;
  }
  .skills-section h2, .interests-section h2, .projects-section h2, .designs-section h2, .inspiration-section h2, .blog-preview h2 {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }
  .footer {
    font-size: 0.7rem;
  }
  
  /* Additional padding for very small screens */
  body {
    padding-bottom: 140px !important;
  }
  
  .footer {
    margin-bottom: 140px;
  }
  
  /* Ensure blog post content has extra spacing on small screens */
  .blog-post-container {
    padding-bottom: 50px;
  }
  
  .blog-post {
    margin-bottom: 50px;
  }
  
  .blog-post-footer {
    margin-bottom: 50px;
  }
}

/* Mobile nav toggle button (hamburger) */
.mobile-menu-toggle {
  display: none;
  background: #7c5e99;
  border: 2px solid #7c5e99;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(124,94,153,0.10);
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  margin-left: 12px;
  z-index: 1300;
  padding: 8px;
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle:hover {
  background: rgba(124, 94, 153, 0.1);
  transform: scale(1.05);
}

/* Theme toggle button mobile optimization */
#theme-toggle {
  font-size: 1.2rem;
  padding: 6px;
  margin-left: 8px;
}

/* Color widget mobile optimization */
.color-widget {
  bottom: 10px;
  right: 10px;
  max-width: 200px;
  padding: 12px;
}

.color-widget-header {
  font-size: 0.8rem;
}

.color-palette {
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.color-option {
  width: 30px;
  height: 30px;
}

.color-option.active::after {
  font-size: 1rem;
}

@media (max-width: 480px) {
  .color-widget {
    max-width: 180px;
    padding: 10px;
  }
  
  .color-option {
    width: 25px;
    height: 25px;
  }
  
  .color-option.active::after {
    font-size: 0.9rem;
  }
}

/* Make tap targets larger */
.btn, .nav-link, .filter-btn, .project-link, .read-more, .color-option {
  min-height: 44px;
  min-width: 44px;
}

/* Mobile Blog Optimization */
@media (max-width: 768px) {
  .blog-hero-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .blog-hero h1 {
    font-size: 2rem;
  }
  
  .blog-subtitle {
    font-size: 1rem;
  }
  
  .blog-filters {
    padding: 20px 0;
  }
  
  .filter-buttons {
    gap: 8px;
  }
  
  .filter-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 16px;
  }
  
  /* Compact blog list for mobile */
  .blog-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .blog-item-image {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 94, 153, 0.05);
  }
  
  .blog-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
  }
  
  .blog-item h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .blog-meta {
    gap: 12px;
    margin-bottom: 8px;
  }
  
  .blog-category {
    font-size: 0.75rem;
    padding: 3px 8px;
  }
  
  .blog-date {
    font-size: 0.8rem;
  }
  
  .blog-item p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.5;
  }
  
  .blog-tags {
    gap: 6px;
    margin-bottom: 12px;
  }
  
  .blog-tag {
    font-size: 0.75rem;
    padding: 3px 8px;
  }
  
  .read-more {
    font-size: 0.9rem;
  }
  
  .blog-newsletter {
    padding: 40px 20px;
    margin: 40px 0;
  }
  
  .newsletter-content h2 {
    font-size: 1.5rem;
  }
  
  .newsletter-content p {
    font-size: 1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
    gap: 12px;
  }
  
  .newsletter-form input {
    min-width: auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .blog-hero h1 {
    font-size: 1.5rem;
  }
  
  .blog-item {
    padding: 16px;
    margin-bottom: 16px;
  }
  
  .blog-item-image {
    height: 120px;
  }
  
  .blog-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
  }
  
  .blog-item h2 {
    font-size: 1.1rem;
  }
  
  .blog-item p {
    font-size: 0.85rem;
  }
  
  .filter-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .filter-btn {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
}

/* Mobile Gallery Optimization */
@media (max-width: 768px) {
  .gallery-hero-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .gallery-hero h1 {
    font-size: 2rem;
  }
  
  .gallery-subtitle {
    font-size: 1rem;
  }
  
  .projects-section,
  .designs-section,
  .inspiration-section {
    padding: 40px 0;
  }
  
  .projects-section h2,
  .designs-section h2,
  .inspiration-section h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .project-card {
    margin-bottom: 20px;
  }
  
  .project-image {
    height: 160px;
  }
  
  .project-content {
    padding: 20px;
  }
  
  .project-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .project-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  
  .project-tags {
    gap: 6px;
    margin-bottom: 12px;
  }
  
  .project-tag {
    font-size: 0.75rem;
    padding: 3px 8px;
  }
  
  .designs-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .design-image {
    height: 200px;
  }
  
  .design-overlay {
    padding: 20px 16px 16px;
  }
  
  .design-overlay h3 {
    font-size: 1.1rem;
  }
  
  .design-overlay p {
    font-size: 0.9rem;
  }
  
  .inspiration-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .inspiration-card {
    padding: 24px;
  }
  
  .inspiration-icon {
    font-size: 2.5rem;
  }
  
  .inspiration-card h3 {
    font-size: 1.2rem;
  }
  
  .inspiration-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .gallery-hero h1 {
    font-size: 1.5rem;
  }
  
  .projects-section h2,
  .designs-section h2,
  .inspiration-section h2 {
    font-size: 1.5rem;
  }
  
  .project-image {
    height: 140px;
  }
  
  .project-content {
    padding: 16px;
  }
  
  .project-content h3 {
    font-size: 1.1rem;
  }
  
  .project-content p {
    font-size: 0.85rem;
  }
  
  .designs-grid {
    grid-template-columns: 1fr;
  }
  
  .design-image {
    height: 180px;
  }
  
  .design-overlay {
    padding: 16px 12px 12px;
  }
  
  .design-overlay h3 {
    font-size: 1rem;
  }
  
  .design-overlay p {
    font-size: 0.8rem;
  }
  
  .inspiration-card {
    padding: 20px;
  }
  
  .inspiration-icon {
    font-size: 2rem;
  }
  
  .inspiration-card h3 {
    font-size: 1.1rem;
  }
  
  .inspiration-card p {
    font-size: 0.85rem;
  }
}

/* Resume pretty header styles */
.pretty-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f5ff 0%, #e0e7ff 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(80, 80, 160, 0.07);
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  margin: 2.5rem auto 1.5rem auto;
  max-width: 600px;
}
.resume-name {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2d2d5a;
  margin-bottom: 0.5rem;
  text-align: center;
}
.resume-title {
  font-size: 1.3rem;
  font-weight: 500;
  color: #3b82f6;
  margin-bottom: 0;
  text-align: center;
  letter-spacing: 0.01em;
}
.resume-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.resume-static-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.7rem;
  margin-top: 0.2rem;
  display: block;
  box-shadow: 0 2px 12px 0 rgba(80, 80, 160, 0.10);
}
.resume-name {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2d2d5a;
  margin-bottom: 0.15rem;
  text-align: center;
}
.resume-title {
  font-size: 1.3rem;
  font-weight: 500;
  color: #3b82f6;
  margin-bottom: 0;
  margin-top: 0.1rem;
  text-align: center;
  letter-spacing: 0.01em;
}

/* --- Resume Hero Flex Layout --- */
.resume-hero-flex {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  max-width: 700px;
  margin: 0 auto 8px auto;
  padding: 0;
}
.resume-static-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(124,94,153,0.08);
}
.resume-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.resume-summary-center {
  text-align: center;
  margin: 0 auto 8px auto;
  max-width: 700px;
  padding: 0;
}
.resume-summary-center h2 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: #2d2d5a;
  margin-bottom: 8px;
}
.resume-summary-center p {
  margin: 0;
}

@media (max-width: 600px) {
  .resume-hero-flex {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
  }
  .resume-info {
    align-items: center;
    text-align: center;
  }
  .resume-summary-center {
    max-width: 98vw;
    padding: 0 4vw;
  }
}

/* Chat Modal Styles */
.chat-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.chat-modal-overlay.active {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.chat-modal {
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
}

.chat-modal-overlay.active .chat-modal {
  transform: scale(1);
}

.chat-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(124, 94, 153, 0.1);
}

.chat-modal-header h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.chat-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--accent-color);
  padding: 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.chat-modal-close:hover {
  color: var(--primary-color);
  background: rgba(124, 94, 153, 0.1);
}

.chat-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
  color: var(--text-color);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid rgba(124, 94, 153, 0.2);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(124, 94, 153, 0.1);
}

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

.message-templates {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.template-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 2px solid rgba(124, 94, 153, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.template-option:hover {
  border-color: var(--primary-color);
  background: rgba(124, 94, 153, 0.05);
}

.template-option.selected {
  border-color: var(--primary-color);
  background: rgba(124, 94, 153, 0.1);
}

.template-option input[type="radio"] {
  margin: 0;
  accent-color: var(--primary-color);
}

.template-option span {
  font-size: 0.9rem;
  color: var(--text-color);
  flex: 1;
}

.chat-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.chat-modal-actions .btn {
  flex: 1;
  padding: 12px 24px;
  font-weight: 500;
}

.btn-cancel {
  background: rgba(124, 94, 153, 0.1);
  color: var(--primary-color);
  border: 2px solid rgba(124, 94, 153, 0.2);
}

.btn-cancel:hover {
  background: rgba(124, 94, 153, 0.2);
  border-color: var(--primary-color);
}

.btn-send {
  background: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.btn-send:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-send:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-send:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(124, 94, 153, 0.3);
}

/* Dark mode support for chat modal */
body.dark-mode .chat-modal {
  background: #1a1a1a;
  color: #ffffff;
}

body.dark-mode .chat-modal-header h2 {
  color: #ffffff;
}

body.dark-mode .chat-modal-close {
  color: #cccccc;
}

body.dark-mode .chat-modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
  background: #2a2a2a;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(124, 94, 153, 0.2);
}

body.dark-mode .template-option {
  background: #2a2a2a;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

body.dark-mode .template-option:hover {
  background: rgba(124, 94, 153, 0.1);
}

body.dark-mode .template-option.selected {
  background: rgba(124, 94, 153, 0.2);
}

/* Responsive design for chat modal */
@media (max-width: 768px) {
  .chat-modal {
    padding: 24px;
    width: 95%;
    max-height: 85vh;
  }
  
  .chat-modal-header h2 {
    font-size: 1.3rem;
  }
  
  .chat-modal-actions {
    flex-direction: column;
  }
  
  .chat-modal-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .chat-modal {
    padding: 20px;
    width: 98%;
  }
  
  .chat-modal-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
  }
  
  .chat-modal-header h2 {
    font-size: 1.2rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 10px 14px;
    font-size: 0.95rem;
  }
  
  .template-option {
    padding: 6px 10px;
  }
  
  .template-option span {
    font-size: 0.85rem;
  }
}

/* Loading Spinner */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  text-align: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--accent-color);
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-spinner p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin: 0;
}

/* Error and No Blogs States */
.error-message,
.no-blogs {
  text-align: center;
  padding: 3rem 0;
  color: var(--text-secondary);
}

.error-message p,
.no-blogs p {
  font-size: 1.1rem;
  margin: 0;
}

/* Hamburger icon color fix */
.hamburger-icon {
  color: #222;
  font-size: 2rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .hamburger-icon {
    color: #fff;
  }
}

/* Hello Page Styles */
.hello-hero {
  padding: 80px 0 60px;
  background: var(--background-gradient);
  transition: background 0.3s ease;
}

.hello-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.hello-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hello-pic-transparent {
  width: 180px;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(124, 94, 153, 0.15));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.hello-pic-transparent:hover {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 12px 24px rgba(124, 94, 153, 0.25));
}

.hello-text h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 16px;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.hello-subtitle {
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 24px;
  transition: color 0.3s ease;
}

.hello-description p {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 16px;
  line-height: 1.7;
  transition: color 0.3s ease;
}

/* Contact Info Section */
.contact-info-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.contact-info-section h2 {
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 60px;
  transition: color 0.3s ease;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(124, 94, 153, 0.1);
  border: 1px solid rgba(124, 94, 153, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(124, 94, 153, 0.05) 0%, rgba(160, 132, 202, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.contact-card:hover::before {
  opacity: 1;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(124, 94, 153, 0.2);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.contact-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.contact-card p {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.contact-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 25px;
  background: rgba(124, 94, 153, 0.1);
  border: 2px solid rgba(124, 94, 153, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.contact-link:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Message Section */
.message-section {
  padding: 80px 0;
  text-align: center;
  background: var(--background-gradient);
}

.message-section h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.message-section p {
  font-size: 1.2rem;
  color: var(--accent-color);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* Availability Section */
.availability-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.availability-section h2 {
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 60px;
  transition: color 0.3s ease;
}

.availability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.availability-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(124, 94, 153, 0.1);
  border: 1px solid rgba(124, 94, 153, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.availability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(124, 94, 153, 0.05) 0%, rgba(160, 132, 202, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.availability-card:hover::before {
  opacity: 1;
}

.availability-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(124, 94, 153, 0.2);
}

.availability-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.availability-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.availability-card p {
  color: var(--accent-color);
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

/* Hello Modal Styles */
.hello-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(60, 40, 90, 0.3);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hello-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.hello-modal {
  background: white;
  border-radius: 20px;
  padding: 40px;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(124, 94, 153, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.hello-modal-overlay.active .hello-modal {
  transform: scale(1) translateY(0);
}

.hello-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(124, 94, 153, 0.1);
}

.hello-modal-header h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
  transition: color 0.3s ease;
}

.hello-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--accent-color);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.hello-modal-close:hover {
  background: rgba(124, 94, 153, 0.1);
  color: var(--primary-color);
}

.hello-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hello-message-templates {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hello-template-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 2px solid rgba(124, 94, 153, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.hello-template-option:hover {
  background: rgba(124, 94, 153, 0.05);
  border-color: var(--primary-color);
}

.hello-template-option.selected {
  background: rgba(124, 94, 153, 0.1);
  border-color: var(--primary-color);
}

.hello-template-option input[type="radio"] {
  margin: 0;
  accent-color: var(--primary-color);
}

.hello-template-option span {
  font-size: 0.9rem;
  color: var(--text-color);
  flex: 1;
}

.hello-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.hello-modal-actions .btn {
  flex: 1;
  padding: 12px 24px;
  font-weight: 500;
}

/* Dark mode support for hello page */
body.dark-mode .hello-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #3a3a3a 100%);
}

body.dark-mode .hello-text h1 {
  color: #ffffff;
}

body.dark-mode .hello-subtitle {
  color: var(--secondary-color);
}

body.dark-mode .hello-description p {
  color: #cccccc;
}

body.dark-mode .contact-info-section,
body.dark-mode .availability-section {
  background: rgba(26, 26, 26, 0.5);
}

body.dark-mode .contact-info-section h2,
body.dark-mode .availability-section h2 {
  color: #ffffff;
}

body.dark-mode .contact-card,
body.dark-mode .availability-card {
  background: rgba(42, 42, 42, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .contact-card h3,
body.dark-mode .availability-card h3 {
  color: #ffffff;
}

body.dark-mode .contact-card p,
body.dark-mode .availability-card p {
  color: #cccccc;
}

body.dark-mode .message-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #3a3a3a 100%);
}

body.dark-mode .message-section h2 {
  color: #ffffff;
}

body.dark-mode .message-section p {
  color: #cccccc;
}

body.dark-mode .hello-modal {
  background: #1a1a1a;
  color: #ffffff;
}

body.dark-mode .hello-modal-header h2 {
  color: #ffffff;
}

body.dark-mode .hello-modal-close {
  color: #cccccc;
}

body.dark-mode .hello-modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .hello-template-option {
  background: #2a2a2a;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

body.dark-mode .hello-template-option:hover {
  background: rgba(124, 94, 153, 0.1);
}

body.dark-mode .hello-template-option.selected {
  background: rgba(124, 94, 153, 0.2);
}

/* Responsive design for hello page */
@media (max-width: 768px) {
  .hello-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hello-text h1 {
    font-size: 2.5rem;
  }

  .hello-subtitle {
    font-size: 1.1rem;
  }

  .hello-description p {
    font-size: 1rem;
  }

  .hello-pic-transparent {
    width: 150px;
    height: 150px;
  }

  .contact-info-section h2,
  .availability-section h2,
  .message-section h2 {
    font-size: 2rem;
  }

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

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

  .hello-modal {
    padding: 24px;
    width: 95%;
    max-height: 85vh;
  }
  
  .hello-modal-header h2 {
    font-size: 1.3rem;
  }
  
  .hello-modal-actions {
    flex-direction: column;
  }
  
  .hello-modal-actions .btn {
    width: 100%;
  }
}

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

  .hello-text h1 {
    font-size: 2rem;
  }

  .hello-subtitle {
    font-size: 1rem;
  }

  .hello-pic-transparent {
    width: 120px;
    height: 120px;
  }

  .contact-info-section,
  .availability-section,
  .message-section {
    padding: 60px 0;
  }

  .contact-info-section h2,
  .availability-section h2,
  .message-section h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .contact-card,
  .availability-card {
    padding: 20px;
  }

  .hello-modal {
    padding: 20px;
    width: 98%;
  }
  
  .hello-modal-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
  }
  
  .hello-modal-header h2 {
    font-size: 1.2rem;
  }
  
  .hello-template-option {
    padding: 6px 10px;
  }
  
  .hello-template-option span {
    font-size: 0.85rem;
  }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(124, 94, 153, 0.1);
  z-index: 1000;
  box-shadow: 0 -2px 20px rgba(124, 94, 153, 0.1);
  transition: all 0.3s ease;
  height: 80px;
}

.mobile-bottom-nav.active {
  display: flex;
}

.mobile-bottom-nav .nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  text-decoration: none;
  color: var(--accent-color);
  transition: all 0.3s ease;
  position: relative;
}

.mobile-bottom-nav .nav-item:hover {
  color: var(--primary-color);
  background: rgba(124, 94, 153, 0.05);
}

.mobile-bottom-nav .nav-item.active {
  color: var(--primary-color);
  background: rgba(124, 94, 153, 0.1);
}

.mobile-bottom-nav .nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 0 0 2px 2px;
}

.mobile-bottom-nav .nav-icon {
  font-size: 1.2rem;
  margin-bottom: 4px;
  display: block;
}

.mobile-bottom-nav .nav-label {
  font-size: 0.7rem;
  font-weight: 500;
  text-align: center;
  line-height: 1;
}

/* Hide mobile menu toggle on mobile */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .nav-menu {
    display: none !important;
  }
  
  .nav-overlay {
    display: none !important;
  }
  
  .mobile-bottom-nav {
    display: flex;
  }
  
  /* Add bottom padding to body to account for bottom nav */
  body {
    padding-bottom: 120px !important;
  }
  
  /* Adjust footer to not overlap with bottom nav */
  .footer {
    margin-bottom: 120px;
  }
  
  /* Ensure all sections have proper bottom spacing */
  .hero,
  .about-hero,
  .blog-hero,
  .gallery-hero,
  .resume-hero,
  .hello-hero,
  .social-links,
  .stickers-section,
  .blog-preview,
  .skills-section,
  .interests-section,
  .contact-section,
  .projects-section,
  .designs-section,
  .inspiration-section,
  .blog-filters,
  .blog-list,
  .blog-newsletter,
  .resume-section,
  .resume-actions,
  .contact-info-section,
  .message-section,
  .availability-section {
    margin-bottom: 30px;
  }
  
  /* Add extra padding to the last section on each page */
  .footer {
    padding-bottom: 30px;
  }
  
  /* Ensure blog post content has proper bottom spacing */
  .blog-post-container {
    padding-bottom: 40px;
  }
  
  /* Ensure main container has proper bottom spacing */
  .container {
    padding-bottom: 20px;
  }
  
  /* Ensure blog post content doesn't get cut off */
  .blog-post {
    margin-bottom: 40px;
  }
  
  .blog-post-footer {
    margin-bottom: 40px;
  }
  
  /* Ensure main content areas have proper bottom spacing */
  main {
    padding-bottom: 20px;
  }
  
  /* Ensure the last element in main has extra spacing */
  main > *:last-child {
    margin-bottom: 20px;
  }
  
  /* Ensure blog list items have proper spacing */
  .blog-item:last-child {
    margin-bottom: 40px;
  }
  
  /* Ensure gallery items have proper spacing */
  .project-card:last-child,
  .design-card:last-child,
  .inspiration-card:last-child {
    margin-bottom: 40px;
  }
  
  /* Ensure resume sections have proper spacing */
  .resume-section:last-child {
    margin-bottom: 40px;
  }
  
  /* Ensure about sections have proper spacing */
  .skills-section:last-child,
  .interests-section:last-child {
    margin-bottom: 40px;
  }
  
  /* Ensure hello page sections have proper spacing */
  .contact-info-section:last-child,
  .message-section:last-child,
  .availability-section:last-child {
    margin-bottom: 40px;
  }
  
  /* Ensure contact cards have proper spacing */
  .contact-card:last-child,
  .availability-card:last-child {
    margin-bottom: 20px;
  }
}

/* Dark mode support for mobile bottom nav */
body.dark-mode .mobile-bottom-nav {
  background: rgba(30, 30, 30, 0.95);
  border-top-color: rgba(124, 94, 153, 0.2);
}

body.dark-mode .mobile-bottom-nav .nav-item {
  color: #e0e0e0;
}

body.dark-mode .mobile-bottom-nav .nav-item:hover {
  color: var(--primary-color);
  background: rgba(124, 94, 153, 0.1);
}

body.dark-mode .mobile-bottom-nav .nav-item.active {
  color: var(--primary-color);
  background: rgba(124, 94, 153, 0.15);
}

body.dark-mode .blog-card .date {
  color: #5d4b6b;
}

body.dark-mode .blog-card-content {
  background-color: #574987;
}
body.dark-mode .blog-card-content p {
  background-color: #e0b9ff;
  color: #5a4a6a;
}
body.dark-mode .blog-card-content .read-more {
  color: #ecb1ff;
}
body.dark-mode .blog-card-content h3 > a {
  background-color: #7b66c3;
  color: #2d1b69;
}