:root {
  --soul-white: #f8fafe;
  --diamond-glow: #e8f4f8;
  --mystical-blue: #a8d0e6;
  --ethereal-purple: #c8b8db;
  --silver-mist: #b8c5d1;
  --deep-soul: #1a2332;
  --shadow-realm: #0f1419;
  --gem-core: rgba(248, 250, 254, 0.95);
  --soul-glow: rgba(168, 208, 230, 0.3);
  --spirit-shimmer: rgba(200, 184, 219, 0.4);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: 'Georgia', 'Times New Roman', serif;
  background: radial-gradient(ellipse at center top, var(--deep-soul) 0%, var(--shadow-realm) 70%);
  color: var(--soul-white);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, var(--soul-glow) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, var(--spirit-shimmer) 0%, transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(248, 250, 254, 0.05) 0%, transparent 30%);
  pointer-events: none;
  z-index: -1;
}

.soul-gem {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 50px;
}

.soul-gem-icon {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 15px var(--soul-glow)) drop-shadow(0 0 30px rgba(168, 208, 230, 0.4));
  animation: gentle-pulse 4s ease-in-out infinite;
  transition: all 0.3s ease;
  margin-top: 10px;
  margin-bottom: 30px;
}

.soul-gem-iconn {
  width: 110%;
  height: 110%;
  filter: drop-shadow(0 0 15px var(--soul-glow)) drop-shadow(0 0 30px rgba(168, 208, 230, 0.4));
  animation: gentle-pulse 4s ease-in-out infinite;
  transition: all 0.3s ease;
}

.soul-gem:hover .soul-gem-icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 25px var(--soul-glow)) drop-shadow(0 0 40px rgba(168, 208, 230, 0.6));
}

/* Hero gem scaling */
.hero-gem-large {
  transform: scale(2);
}

/* Card gem scaling */
.card-gem-size {
  transform: scale(0.8);
  margin-bottom: 1rem;
}

/* Service gem scaling */
.service-gem {
  transform: scale(0.7);
  margin-bottom: 1rem;
}

/* Skill gem scaling */
.skill-gem {
  transform: scale(0.6);
}

/* Resume gem scaling */
.resume-gem-size {
  transform: scale(1);
  margin-bottom: 1.5rem;
}

/* Separator gem styling */
.separator-gem {
  opacity: 0.6;
}

/* Email link styling */
.email-link {
  color: var(--mystical-blue);
}

/* Resume card styling */
.resume-card {
  max-width: 600px;
  margin: 0 auto;
}

.resume-gem {
  text-align: center;
}

.resume-note {
  margin-top: 2rem;
  font-style: italic;
  color: var(--mystical-blue);
}

/* Contact quote styling */
.contact-quote {
  text-align: center;
  margin-top: 2rem;
}

.quote-text {
  color: var(--silver-mist);
  font-style: italic;
}

@keyframes gentle-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px var(--soul-glow)) drop-shadow(0 0 30px rgba(168, 208, 230, 0.4)); }
  50% { transform: scale(1.02); filter: drop-shadow(0 0 20px var(--soul-glow)) drop-shadow(0 0 35px rgba(168, 208, 230, 0.5)); }
}

.site-header {
  position: relative;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(15, 20, 25, 0.8);
  border-bottom: 1px solid var(--soul-glow);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand h1 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--soul-white);
  text-shadow: 0 0 10px var(--soul-glow);
  letter-spacing: 1px;
}

.subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: var(--silver-mist);
  font-family: 'Arial', sans-serif;
}

.main-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.main-nav a {
  color: var(--silver-mist);
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.main-nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, var(--soul-glow), var(--spirit-shimmer));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 25px;
}

.main-nav a:hover {
  color: var(--soul-white);
  text-shadow: 0 0 8px var(--soul-glow);
}

.main-nav a:hover::before {
  opacity: 0.1;
}

.btn-contact {
  background: linear-gradient(45deg, var(--mystical-blue), var(--ethereal-purple));
  color: var(--deep-soul);
  font-weight: 600;
  box-shadow: 0 4px 15px var(--soul-glow);
}

.hero {
  position: relative;
  padding: 4rem 2rem 6rem;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--soul-glow) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0.1;
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-gem {
  margin-bottom: 3rem;
  z-index: 1;
  position: relative;
}

.hero h2 {
  font-size: 2.5rem;
  margin: 0 0 1.5rem;
  background: linear-gradient(45deg, var(--soul-white), var(--mystical-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  position: relative;
  z-index: 3;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--silver-mist);
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
  z-index: 3;
}

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  position: relative;
  z-index: 3;
}

.cta {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-primary {
  background: linear-gradient(45deg, var(--mystical-blue), var(--ethereal-purple));
  color: var(--deep-soul);
  box-shadow: 0 8px 25px var(--soul-glow);
}

.cta-secondary {
  background: transparent;
  border: 2px solid var(--soul-glow);
  color: var(--soul-white);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--soul-glow);
}

.section {
  padding: 4rem 2rem;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  margin: 0 0 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60px;
  height: 3px;
  background: linear-gradient(45deg, var(--mystical-blue), var(--ethereal-purple));
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--soul-glow);
}

.soul-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.soul-card {
  background: linear-gradient(135deg, 
    rgba(248, 250, 254, 0.05), 
    rgba(168, 208, 230, 0.08));
  backdrop-filter: blur(10px);
  border: 1px solid var(--soul-glow);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.soul-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, var(--soul-glow), transparent);
  opacity: 0;
  transform: rotate(45deg);
  transition: opacity 0.3s ease;
}

.soul-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(168, 208, 230, 0.2);
}

.soul-card:hover::before {
  opacity: 0.1;
}

.soul-card h3 {
  color: var(--soul-white);
  margin: 0 0 1rem;
  font-size: 1.3rem;
}

.soul-card p {
  color: var(--silver-mist);
  margin: 0;
}

.skills-constellation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 3rem 0;
}

.skill-orb {
  position: relative;
  text-align: center;
  padding: 1.5rem;
}

.skill-orb-core {
  width: 80px;
  height: 80px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 0 20px var(--soul-glow), inset 0 0 8px var(--mystical-blue);
  font-size: 1.8rem;
  color: var(--deep-soul);
}

.skill-orb h4 {
  color: var(--soul-white);
  margin: 0 0 0.5rem;
}

.skill-orb p {
  color: var(--silver-mist);
  font-size: 0.9rem;
  max-width: 150px;
}

.profile-card {
  background: linear-gradient(135deg, 
    rgba(248, 250, 254, 0.1), 
    rgba(200, 184, 219, 0.1));
  backdrop-filter: blur(15px);
  border: 2px solid var(--soul-glow);
  border-radius: 25px;
  padding: 2rem;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mystical-blue), var(--ethereal-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 3rem;
  font-weight: bold;
  color: var(--deep-soul);
  box-shadow: 0 0 30px var(--soul-glow);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;  
  border-radius: 50%;  
  border: 3px solid var(--ethereal-purple); 
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.site-footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--soul-glow);
  background: linear-gradient(180deg, transparent, rgba(15, 20, 25, 0.5));
  position: relative;
}

.footer-gem {
  margin-bottom: 1rem;
}

/* Contact Form Styling */
.contact-form-section {
  max-width: 600px;
  margin: 3rem auto 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, 
    rgba(248, 250, 254, 0.05), 
    rgba(168, 208, 230, 0.08));
  backdrop-filter: blur(10px);
  border: 1px solid var(--soul-glow);
  border-radius: 20px;
}

.contact-form-section h3 {
  color: var(--soul-white);
  font-size: 1.8rem;
  margin: 0 0 0.5rem;
  text-align: center;
}

.contact-form-subtitle {
  color: var(--silver-mist);
  text-align: center;
  font-style: italic;
  margin: 0 0 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--mystical-blue);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-input {
  padding: 0.75rem 1rem;
  background: rgba(168, 208, 230, 0.1);
  border: 1px solid rgba(168, 208, 230, 0.3);
  border-radius: 10px;
  color: var(--soul-white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  background: rgba(168, 208, 230, 0.15);
  border-color: var(--mystical-blue);
  box-shadow: 0 0 10px rgba(168, 208, 230, 0.3);
}

.form-input::placeholder {
  color: rgba(184, 197, 209, 0.6);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-submit-btn {
  padding: 0.9rem 2rem;
  background: linear-gradient(45deg, var(--mystical-blue), var(--ethereal-purple));
  color: var(--deep-soul);
  border: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(168, 208, 230, 0.3);
  margin-top: 0.5rem;
}

.form-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(168, 208, 230, 0.5);
}

.form-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-status-message {
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 500;
  min-height: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.form-status-success {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.4);
}

.form-status-error {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.4);
}

/* Accessibility */
a:focus, button:focus {
  outline: 3px solid var(--soul-glow);
  outline-offset: 3px;
  border-radius: 5px;
}

.section-separator {
  text-align: center;
}

/* Responsive Design Media Queries */

@media (max-width: 1024px) {
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .soul-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .skills-constellation {
    gap: 1.5rem;
  }
  
  .section {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 768px) {
  /* Header */
  .header-inner {
    padding: 0.75rem 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .logo {
    gap: 0.75rem;
  }
  
  .brand h1 {
    font-size: 1.2rem;
  }
  
  .subtitle {
    font-size: 0.75rem;
  }
  
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .main-nav a {
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
  }
  
  /* Hero Section */
  .hero {
    padding: 2rem 1rem 3rem;
  }
  
  .hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-gem-large {
    transform: scale(1.5);
  }
  
  .cta-row {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  
  .cta {
    width: 100%;
    max-width: 300px;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
  
  /* Section Styling */
  .section {
    padding: 2rem 1rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }
  
  .section-title::after {
    width: 40px;
  }
  
  /* Cards */
  .soul-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .soul-card {
    padding: 1.5rem;
  }
  
  .soul-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .soul-card p {
    font-size: 0.9rem;
  }
  
  /* Skills */
  .skills-constellation {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .skill-orb {
    padding: 1rem;
  }
  
  .skill-orb-core {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }
  
  .skill-orb h4 {
    font-size: 0.95rem;
  }
  
  .skill-orb p {
    font-size: 0.8rem;
    max-width: 200px;
  }
  
  /* Profile Card */
  .profile-card {
    max-width: 90%;
    padding: 1.5rem;
  }
  
  .profile-photo {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }
  
  .profile-card h3 {
    font-size: 1.2rem;
  }
  
  /* GitHub Stats */
  .github-stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  /* Repo Card Wrapper */
  .repo-card-wrapper {
    gap: 0.5rem;
  }
  
  .github-repo-card {
    padding: 1.5rem;
  }
  
  .github-repo-card h3 {
    font-size: 1.1rem;
    margin: 1rem 0 0.8rem;
  }
  
  .github-repo-card h3 a {
    font-size: 1rem;
  }
  
  .repo-description {
    font-size: 0.9rem;
    min-height: 40px;
  }
  
  .repo-languages {
    margin: 1rem 0;
    padding: 0.8rem 0;
  }
  
  .languages-list {
    gap: 0.8rem;
  }
  
  .repo-language {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .lang-icon {
    width: 16px;
    height: 16px;
  }
  
  .repo-meta {
    gap: 1rem;
    font-size: 0.85rem;
  }
  
  .repo-website-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    margin-top: 0.8rem;
  }
  
  .repo-footer {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
  }
  
  .repo-footer small {
    font-size: 0.8rem;
  }
  
  /* Contact Grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Contact Form */
  .contact-form-section {
    max-width: 95%;
    margin: 2rem auto 1.5rem;
    padding: 1.5rem;
  }
  
  .contact-form-section h3 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
  }
  
  .contact-form-subtitle {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
  }
  
  .form-group {
    gap: 0.4rem;
  }
  
  .form-group label {
    font-size: 0.9rem;
  }
  
  .form-input,
  .form-submit-btn {
    font-size: 16px;
    padding: 0.7rem 0.9rem;
  }
  
  .form-textarea {
    min-height: 100px;
  }
  
  .form-submit-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .form-status-message {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  /* Contact Quote */
  .contact-quote {
    margin-top: 1.5rem;
  }
  
  .quote-text {
    font-size: 0.95rem;
  }
  
  /* Footer */
  .site-footer {
    padding: 2rem 1rem;
  }
  
  .footer-gem {
    margin-bottom: 0.8rem;
  }
  
  .site-footer p {
    font-size: 0.9rem;
  }
  
  /* File Browser Modal */
  .file-browser-container {
    width: 95%;
    max-height: 90vh;
  }
  
  .file-browser-header {
    padding: 1rem 1.5rem;
  }
  
  .file-browser-header h2 {
    font-size: 1.2rem;
  }
  
  .file-browser-content {
    padding: 1rem 1.5rem;
  }
  
  .file-browser-breadcrumb {
    padding: 0.75rem 1.5rem;
  }
  
  .breadcrumb-list {
    gap: 0.25rem;
  }
  
  .breadcrumb-item {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .file-item {
    padding: 0.6rem 0.8rem;
    gap: 0.75rem;
    font-size: 0.9rem;
  }
  
  .file-icon {
    font-size: 1.1rem;
  }
  
  .file-size {
    display: none;
  }
}

@media (max-width: 480px) {
  /* Header */
  .header-inner {
    padding: 0.5rem 0.75rem;
  }
  
  .brand h1 {
    font-size: 1rem;
  }
  
  .subtitle {
    font-size: 0.65rem;
  }
  
  .main-nav {
    gap: 0.3rem;
  }
  
  .main-nav a {
    padding: 0.5rem 0.7rem;
    font-size: 0.75rem;
  }
  
  /* Hero */
  .hero {
    padding: 1.5rem 0.75rem 2rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .hero-gem-large {
    transform: scale(1.2);
    margin-bottom: 1rem;
  }
  
  .cta {
    font-size: 0.85rem;
    padding: 0.7rem 1.2rem;
  }
  
  /* Sections */
  .section {
    padding: 1.5rem 0.75rem;
  }
  
  .section-header {
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .soul-card {
    padding: 1.2rem;
  }
  
  .soul-card h3 {
    font-size: 1rem;
  }
  
  .soul-card p {
    font-size: 0.85rem;
  }
  
  /* Skills */
  .skill-orb-core {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .skill-orb h4 {
    font-size: 0.85rem;
  }
  
  .skill-orb p {
    font-size: 0.75rem;
  }
  
  /* Profile Card */
  .profile-card {
    max-width: 100%;
    padding: 1rem;
  }
  
  .profile-photo {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .profile-card h3 {
    font-size: 1rem;
  }
  
  .profile-card p {
    font-size: 0.85rem;
  }
  
  /* GitHub Stats */
  .github-stats {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.8rem;
    padding: 1rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
  
  /* Repo Cards */
  .github-repo-card {
    padding: 1rem;
  }
  
  .github-repo-card h3 {
    font-size: 1rem;
    margin: 0.8rem 0 0.6rem;
  }
  
  .repo-description {
    font-size: 0.85rem;
  }
  
  .repo-languages {
    margin: 0.8rem 0;
    padding: 0.6rem 0;
  }
  
  .repo-language {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
  
  .lang-icon {
    width: 14px;
    height: 14px;
  }
  
  .repo-meta {
    gap: 0.8rem;
    font-size: 0.8rem;
  }
  
  .repo-website-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  /* Contact Form */
  .contact-form-section {
    max-width: 100%;
    margin: 1.5rem 0.75rem 1rem;
    padding: 1rem;
  }
  
  .contact-form-section h3 {
    font-size: 1.2rem;
  }
  
  .contact-form-subtitle {
    font-size: 0.9rem;
  }
  
  .form-input,
  .form-submit-btn {
    font-size: 16px;
    padding: 0.65rem 0.8rem;
  }
  
  .form-textarea {
    min-height: 80px;
  }
  
  .form-status-message {
    padding: 0.6rem;
    font-size: 0.85rem;
  }
  
  .quote-text {
    font-size: 0.85rem;
  }
  
  /* Footer */
  .site-footer {
    padding: 1.5rem 0.75rem;
  }
  
  .site-footer p {
    font-size: 0.8rem;
  }
  
  /* File Browser */
  .file-browser-header h2 {
    font-size: 1rem;
  }
  
  .file-browser-content {
    padding: 0.75rem 1rem;
  }
  
  .file-item {
    padding: 0.5rem 0.6rem;
    font-size: 0.85rem;
  }
  
  .file-icon {
    font-size: 1rem;
  }
}

/* GitHub Stats Section */
.github-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(168, 208, 230, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(168, 208, 230, 0.2);
}

.stat-item {
  text-align: center;
  padding: 15px;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--mystical-blue);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--diamond-glow);
  font-family: 'Courier New', monospace;
}

/* GitHub Repo Cards */
.github-repo-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.github-repo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(168, 208, 230, 0.3);
}

.github-repo-card h3 {
  margin: 15px 0 10px 0;
}

.repo-card-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.repo-button-container {
  padding: 0.75rem 0;
  text-align: center;
}

.repo-website-btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(45deg, var(--mystical-blue), var(--ethereal-purple));
  color: var(--deep-soul);
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(168, 208, 230, 0.3);
}

.repo-website-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(168, 208, 230, 0.5);
  color: var(--soul-white);
}

.github-repo-card h3 a {
  color: var(--diamond-glow);
  text-decoration: none;
  transition: color 0.3s ease;
}

.github-repo-card h3 a:hover {
  color: var(--mystical-blue);
  text-decoration: underline;
}

.repo-description {
  color: var(--silver-mist);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 10px 0;
  min-height: 50px;
}

.repo-languages {
  margin: 15px 0;
  padding: 12px 0;
  border-top: 1px solid rgba(168, 208, 230, 0.2);
  border-bottom: 1px solid rgba(168, 208, 230, 0.2);
}

.languages-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.repo-language {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mystical-blue);
  font-size: 0.9rem;
  padding: 6px 10px;
  background: rgba(168, 208, 230, 0.1);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.repo-language:hover {
  background: rgba(168, 208, 230, 0.2);
  color: var(--diamond-glow);
}

.lang-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 3px rgba(168, 208, 230, 0.5));
}

.lang-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.lang-percent {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 500;
}

.loading-lang {
  color: var(--silver-mist);
  font-size: 0.9rem;
  font-style: italic;
}

.no-language {
  color: var(--silver-mist);
  font-size: 0.9rem;
  font-style: italic;
}

.repo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 15px 0;
  padding: 10px 0;
  font-size: 0.9rem;
}

.repo-stars,
.repo-forks {
  color: var(--ethereal-purple);
  font-weight: 500;
}

.repo-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(168, 208, 230, 0.1);
}

.repo-footer small {
  color: var(--silver-mist);
  font-size: 0.85rem;
}

.error-message {
  text-align: center;
  color: #ff6b6b;
  padding: 20px;
  font-style: italic;
}

/* File Browser Modal Styles */
.file-browser-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.file-browser-modal.active {
  opacity: 1;
  visibility: visible;
}

.file-browser-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.file-browser-container {
  position: relative;
  z-index: 1001;
  background: linear-gradient(135deg, 
    rgba(26, 35, 50, 0.95), 
    rgba(15, 20, 25, 0.95));
  border: 1px solid var(--soul-glow);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--soul-glow);
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

.file-browser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--soul-glow);
  background: rgba(168, 208, 230, 0.05);
}

.file-browser-header h2 {
  margin: 0;
  color: var(--soul-white);
  font-size: 1.4rem;
  flex: 1;
}

.file-browser-close {
  background: none;
  border: none;
  color: var(--soul-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.file-browser-close:hover {
  background: rgba(168, 208, 230, 0.2);
  color: var(--mystical-blue);
}

.file-browser-breadcrumb {
  padding: 0.75rem 2rem;
  border-bottom: 1px solid rgba(168, 208, 230, 0.1);
  background: rgba(168, 208, 230, 0.02);
  overflow-x: auto;
  height: 60px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  height: 100%;
}

.breadcrumb-item {
  background: rgba(168, 208, 230, 0.1);
  border: 1px solid rgba(168, 208, 230, 0.2);
  color: var(--mystical-blue);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 0.9rem;
  white-space: nowrap;
}

.breadcrumb-item:hover {
  background: rgba(168, 208, 230, 0.2);
  border-color: var(--mystical-blue);
  color: var(--diamond-glow);
}

.breadcrumb-separator {
  color: var(--silver-mist);
  opacity: 0.5;
}

.file-browser-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
}

.loading-files {
  text-align: center;
  color: var(--silver-mist);
  padding: 2rem;
  font-style: italic;
}

.empty-folder {
  text-align: center;
  color: var(--silver-mist);
  padding: 2rem;
  font-style: italic;
}

.files-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(168, 208, 230, 0.15);
  border-radius: 10px;
  background: rgba(168, 208, 230, 0.05);
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.file-item.folder-item {
  cursor: pointer;
}

.file-item.folder-item:hover {
  background: rgba(168, 208, 230, 0.15);
  border-color: var(--mystical-blue);
  transform: translateX(5px);
}

.file-icon {
  font-size: 1.3rem;
  min-width: 30px;
  text-align: center;
}

.file-name {
  flex: 1;
  color: var(--diamond-glow);
  word-break: break-word;
}

.folder-item .file-name {
  color: var(--mystical-blue);
  font-weight: 500;
}

.file-size {
  color: var(--silver-mist);
  font-size: 0.85rem;
  min-width: 60px;
  text-align: right;
}

/* Scrollbar styling for file browser */
.file-browser-content::-webkit-scrollbar {
  width: 8px;
}

.file-browser-content::-webkit-scrollbar-track {
  background: rgba(168, 208, 230, 0.05);
  border-radius: 10px;
}

.file-browser-content::-webkit-scrollbar-thumb {
  background: rgba(168, 208, 230, 0.3);
  border-radius: 10px;
}

.file-browser-content::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 208, 230, 0.5);
}

@media (max-width: 768px) {
  .file-browser-container {
    width: 95%;
    max-height: 90vh;
  }
  
  .file-browser-header {
    padding: 1rem 1.5rem;
  }
  
  .file-browser-content {
    padding: 1rem 1.5rem;
  }
  
  .file-browser-breadcrumb {
    padding: 0.75rem 1.5rem;
  }
  
  .breadcrumb-list {
    gap: 0.25rem;
  }
  
  .breadcrumb-item {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .file-item {
    padding: 0.6rem 0.8rem;
    gap: 0.75rem;
  }
  
  .file-size {
    display: none;
  }
}