.modal-overlay[data-astro-cid-6qwfp7rm]{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.7);backdrop-filter:blur(5px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:2rem}.modal-container[data-astro-cid-6qwfp7rm]{background:white;border-radius:1.5rem;box-shadow:0 25px 50px -12px rgba(0,0,0,0.25);max-width:600px;width:100%;max-height:90vh;overflow-y:auto;position:relative}html[data-theme=dark] .modal-container[data-astro-cid-6qwfp7rm]{background:#1e293b;border:1px solid rgba(255,255,255,0.1)}.modal-header[data-astro-cid-6qwfp7rm]{display:flex;justify-content:space-between;align-items:center;padding:2rem 2rem 0 2rem}.modal-title[data-astro-cid-6qwfp7rm]{font-size:1.5rem;font-weight:700;color:#1f2937;margin:0}html[data-theme=dark] .modal-title[data-astro-cid-6qwfp7rm]{color:#f3f4f6}.modal-close[data-astro-cid-6qwfp7rm]{background:none;border:none;color:#6b7280;cursor:pointer;padding:0.5rem;border-radius:0.5rem;transition:all 0.2s}.modal-close[data-astro-cid-6qwfp7rm]:hover{background:#f3f4f6;color:#1f2937}html[data-theme=dark] .modal-close[data-astro-cid-6qwfp7rm]{color:#9ca3af}html[data-theme=dark] .modal-close[data-astro-cid-6qwfp7rm]:hover{background:rgba(255,255,255,0.1);color:#f3f4f6}.modal-content[data-astro-cid-6qwfp7rm]{padding:1rem 2rem 2rem 2rem}.modal-subtitle[data-astro-cid-6qwfp7rm]{color:#6b7280;margin-bottom:2rem;line-height:1.6}html[data-theme=dark] .modal-subtitle[data-astro-cid-6qwfp7rm]{color:#9ca3af}.modal-form[data-astro-cid-6qwfp7rm]{display:flex;flex-direction:column;gap:1.5rem}.form-row[data-astro-cid-6qwfp7rm]{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-group[data-astro-cid-6qwfp7rm]{display:flex;flex-direction:column;gap:0.5rem}.form-label[data-astro-cid-6qwfp7rm]{font-weight:600;color:#374151;font-size:0.875rem}html[data-theme=dark] .form-label[data-astro-cid-6qwfp7rm]{color:#e5e7eb}.form-input[data-astro-cid-6qwfp7rm],.form-textarea[data-astro-cid-6qwfp7rm]{padding:0.875rem 1rem;border:2px solid #e5e7eb;border-radius:0.75rem;font-size:0.95rem;transition:all 0.2s;background:white;color:#1f2937}html[data-theme=dark] .form-input[data-astro-cid-6qwfp7rm],html[data-theme=dark] .form-textarea[data-astro-cid-6qwfp7rm]{background:#0f172a;border-color:rgba(255,255,255,0.1);color:#f3f4f6}.form-input[data-astro-cid-6qwfp7rm]:focus,.form-textarea[data-astro-cid-6qwfp7rm]:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,0.1)}.form-input[data-astro-cid-6qwfp7rm]::placeholder,.form-textarea[data-astro-cid-6qwfp7rm]::placeholder{color:#9ca3af}html[data-theme=dark] .form-input[data-astro-cid-6qwfp7rm]::placeholder,html[data-theme=dark] .form-textarea[data-astro-cid-6qwfp7rm]::placeholder{color:#6b7280}.form-textarea[data-astro-cid-6qwfp7rm]{resize:vertical;min-height:120px}.form-actions[data-astro-cid-6qwfp7rm]{margin-top:1rem}.submit-btn[data-astro-cid-6qwfp7rm]{display:inline-flex;align-items:center;gap:0.5rem;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:white;padding:0.875rem 2rem;border:none;border-radius:0.75rem;font-weight:600;font-size:0.95rem;cursor:pointer;transition:all 0.2s;box-shadow:0 4px 15px rgba(59,130,246,0.3);width:100%;justify-content:center}.submit-btn[data-astro-cid-6qwfp7rm]:hover{transform:translateY(-1px);box-shadow:0 6px 20px rgba(59,130,246,0.4)}.submit-btn[data-astro-cid-6qwfp7rm]:disabled{opacity:0.6;cursor:not-allowed;transform:none}@media (max-width: 640px){.modal-overlay[data-astro-cid-6qwfp7rm]{padding:1rem}.form-row[data-astro-cid-6qwfp7rm]{grid-template-columns:1fr}.modal-header[data-astro-cid-6qwfp7rm],.modal-content[data-astro-cid-6qwfp7rm]{padding-left:1.5rem;padding-right:1.5rem}}/* Hide content after hero until animation completes - ONLY on homepage */
  .homepage .post-hero-content {
    display: none !important;
  }

  /* Show content after animation completes - ONLY on homepage */
  .homepage .post-hero-content.section-visible {
    display: block !important;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
  }

  /* Always show content on non-homepage pages - NO ANIMATIONS */
  body:not(.homepage) .post-hero-content {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  /* Disable specific loading animations on non-homepage pages */
  body:not(.homepage) * {
    animation-name: none !important;
    animation-duration: 0s !important;
    animation-delay: 0s !important;
  }

  /* Specifically target known animation elements without affecting general opacity */
  body:not(.homepage) *[style*="animation: fadeInUp"],
  body:not(.homepage) .about__title,
  body:not(.homepage) .about__subtitle,
  body:not(.homepage) .about-content h2,
  body:not(.homepage) .about-content p,
  body:not(.homepage) .about-description,
  body:not(.homepage) .about-stats,
  body:not(.homepage) .post-hero-content {
    animation: none !important;
    transform: none !important;
  }

  /* Ensure elements that should be visible are visible */
  body:not(.homepage) .post-hero-content,
  body:not(.homepage) .blog-content-section,
  body:not(.homepage) section,
  body:not(.homepage) .container {
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* CSS Variables for Theme */
  :root {
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f8fafc;
    --color-bg-tertiary: #f1f5f9;
    --color-text-primary: #1f2937;
    --color-text-secondary: #6b7280;
    --color-text-muted: #9ca3af;
    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;
    --color-accent: #3b82f6;
    --color-accent-hover: #2563eb;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-surface: rgba(255, 255, 255, 0.95);
    --color-surface-hover: rgba(255, 255, 255, 0.98);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  }

  [data-theme="dark"] {
    --color-bg-primary: #0a0a0a;
    --color-bg-secondary: #0f0f0f;
    --color-bg-tertiary: #1a1a1a;
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.8);
    --color-text-muted: rgba(255, 255, 255, 0.6);
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-light: rgba(255, 255, 255, 0.05);
    --color-accent: #007aff;
    --color-accent-hover: #0051d5;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-surface: rgba(26, 27, 35, 0.8);
    --color-surface-hover: rgba(26, 27, 35, 0.9);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  }

  html {
    font-family:
      "Poppins",
      system-ui,
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      Roboto,
      Oxygen,
      Ubuntu,
      Cantarell,
      "Open Sans",
      "Helvetica Neue",
      sans-serif;
    font-size: 80%; /* Further reduced from 90% to 80% */
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    scroll-behavior: smooth;
    transition:
      background-color 0.3s ease,
      color 0.3s ease;
  }

  body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--color-bg-primary);
    transition: background-color 0.3s ease;
    overflow-x: hidden;
  }

  main {
    flex: 1;
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
    background: var(--color-bg-primary);
    width: 100%;
    box-sizing: border-box;
  }

  * {
    box-sizing: border-box;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 0 0 1rem 0;
    line-height: 1.2;
    color: var(--color-text-primary);
  }

  p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
    color: var(--color-text-secondary);
  }

  a {
    color: var(--color-accent);
    text-decoration: none;
  }

  a:hover {
    color: var(--color-accent-hover);
    text-decoration: none;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(
      135deg,
      var(--color-accent) 0%,
      var(--color-accent-hover) 100%
    );
    color: white;

    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
  }

  .btn:hover {
    background: linear-gradient(
      135deg,
      var(--color-accent-hover) 0%,
      #003d99 100%
    );
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    color: white;
  }

  .btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
  }

  .btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #2563eb;
  }

  .grid {
    display: grid;
    gap: 2rem;
  }

  .grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .card {
    background: var(--color-surface);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--color-border);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
  }

  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
  }

  .hero {
    text-align: center;
    padding: 6rem 0;
    background: var(--color-bg-secondary);
    border-radius: 24px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
  }

  .hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(
      135deg,
      var(--color-text-primary) 0%,
      var(--color-text-secondary) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .hero p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  @media (max-width: 768px) {
    main {
      padding: 1rem;
    }

    .hero h1 {
      font-size: 2rem;
    }

    .hero p {
      font-size: 1rem;
    }
  }

  a:hover {
    color: #0051d5;
    text-decoration: none;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
    color: white;

    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
  }

  .btn:hover {
    background: linear-gradient(135deg, #0051d5 0%, #003d99 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.4);
    text-decoration: none;
    color: white;
  }

  html[data-theme="dark"] .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  html[data-theme="dark"] .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: white;
  }

  .grid {
    display: grid;
    gap: 2rem;
  }

  .grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .card {
    background: rgba(26, 27, 35, 0.8);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
  }

  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
  }

  .hero {
    text-align: center;
    padding: 6rem 0;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 122, 255, 0.1) 0%,
        transparent 70%
      ),
      linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 100%);
    border-radius: 24px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 20% 30%,
        rgba(0, 122, 255, 0.1) 0%,
        transparent 50%
      ),
      radial-gradient(
        circle at 80% 70%,
        rgba(0, 122, 255, 0.05) 0%,
        transparent 50%
      );
    z-index: 0;
  }

  .hero > * {
    position: relative;
    z-index: 1;
  }

  .hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #b3b3b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  @media (max-width: 768px) {
    main {
      padding: 1rem;
    }

    .hero h1 {
      font-size: 2rem;
    }

    .hero p {
      font-size: 1rem;
    }
  }