/* ==========================================================================
   Global Styles
   ========================================================================== */

   *,
   *::before,
   *::after {
     box-sizing: border-box;
   }
   
  html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
   
   body {
     margin: 0;
     padding: 0;
     font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
       sans-serif;
     font-size: 16px;
     line-height: 1.7;
     color: #0f172a;
     background-color: #f8fafc;
     -webkit-font-smoothing: antialiased;
     -moz-osx-font-smoothing: grayscale;
     overflow-x: hidden;
     width: 100%;
     max-width: 100%;
   }
   
   img {
     max-width: 100%;
     height: auto;
     display: block;
   }
   
  main {
    width: 100%;
    max-width: 100%;
  }
   
   section {
     width: 100%;
     box-sizing: border-box;
   }
   
   a {
     color: inherit;
     text-decoration: none;
   }
   
   button,
   input,
   textarea {
     font-family: inherit;
   }
   
   :root {
     --bg: #f8fafc;
     --bg-alt: #ffffff;
     --bg-soft: #e5edff;
     --text: #0f172a;
     --muted: #64748b;
     --border: #e2e8f0;
     --accent: #2563eb;
     --accent-soft: rgba(37, 99, 235, 0.12);
     --accent-strong: #1d4ed8;
     --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
     --shadow-medium: 0 10px 30px rgba(15, 23, 42, 0.12);
     --shadow-large: 0 20px 60px rgba(15, 23, 42, 0.15);
     --radius-lg: 20px;
     --radius-md: 14px;
     --radius-sm: 10px;
     --radius-pill: 999px;
     --header-height: 72px;
     --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
     --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
   }
   
   /* ==========================================================================
      Layout Helpers
      ========================================================================== */
   
   .container {
     width: 100%;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 1.5rem;
     box-sizing: border-box;
   }
   
   .section {
     padding: 5.5rem 0;
     position: relative;
   }
   
   .section-alt {
     background: linear-gradient(180deg, #f8fafc 0%, #eff3fb 100%);
     position: relative;
   }
   
   .section-alt::before {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 1px;
     background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
   }
   
   .section-inner {
     display: flex;
     flex-direction: column;
     gap: 3rem;
   }
   
   .section-header {
     text-align: center;
     margin-bottom: 1rem;
   }
   
   .section-header h2 {
     margin: 0 0 0.75rem;
     font-size: 2.25rem;
     font-weight: 700;
     letter-spacing: -0.04em;
     background: var(--gradient-primary);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     position: relative;
     display: inline-block;
   }
   
   .section-header h2::after {
     content: "";
     position: absolute;
     bottom: -8px;
     left: 50%;
     transform: translateX(-50%);
     width: 60px;
     height: 4px;
     background: var(--gradient-primary);
     border-radius: 2px;
   }
   
   .section-header p {
     margin: 1.25rem auto 0;
     max-width: 600px;
     color: var(--muted);
     font-size: 1.05rem;
     line-height: 1.7;
   }
   
   /* About Body */
   .about-body {
     background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
     border-radius: 24px;
     padding: 3rem;
     box-shadow: 
       0 20px 60px rgba(79, 70, 229, 0.08),
       0 8px 24px rgba(0, 0, 0, 0.06),
       0 0 0 1px rgba(79, 70, 229, 0.05);
     max-width: 950px;
     margin: 0 auto;
     position: relative;
     overflow: hidden;
     transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   }
   
   .about-body::before {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 4px;
     background: linear-gradient(90deg, #4F46E5 0%, #7C3AED 50%, #0EA5E9 100%);
     opacity: 0.8;
   }
   
   .about-body::after {
     content: "";
     position: absolute;
     top: -50%;
     right: -50%;
     width: 200%;
     height: 200%;
     background: radial-gradient(circle, rgba(79, 70, 229, 0.03) 0%, transparent 70%);
     pointer-events: none;
   }
   
   .about-body:hover {
     transform: translateY(-4px);
     box-shadow: 
       0 30px 80px rgba(79, 70, 229, 0.15),
       0 12px 32px rgba(0, 0, 0, 0.08),
       0 0 0 1px rgba(79, 70, 229, 0.1);
   }
   
   .about-body p {
     margin: 0 0 1.5rem;
     color: #1e293b;
     font-size: 1.1rem;
     line-height: 1.8;
     font-weight: 400;
     position: relative;
     z-index: 1;
   }
   
   .about-body p:first-child {
     font-size: 1.15rem;
     font-weight: 600;
     color: #0f172a;
     margin-bottom: 1.75rem;
     padding-bottom: 1.5rem;
     border-bottom: 2px solid rgba(79, 70, 229, 0.1);
   }
   
   .about-body p:last-child {
     margin-bottom: 0;
     color: #475569;
     font-style: italic;
   }
   
   .about-body strong {
     color: #4F46E5;
     font-weight: 600;
   }
   
   #about .section-inner {
     gap: 3.5rem;
   }
   
   #about .section-header {
     margin-bottom: 0;
   }
   
   /* ==========================================================================
      Header & Navigation
      ========================================================================== */
   
   .site-header {
     position: sticky;
     top: 0;
     z-index: 100;
     background-color: rgba(255, 255, 255, 0.85);
     backdrop-filter: blur(20px) saturate(180%);
     -webkit-backdrop-filter: blur(20px) saturate(180%);
     border-bottom: 1px solid rgba(226, 232, 240, 0.8);
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
     transition: all 0.3s ease;
   }
   
   .header-inner {
     display: flex;
     align-items: center;
     justify-content: space-between;
     height: var(--header-height);
     gap: 1.5rem;
   }
   
   .brand {
     display: inline-flex;
     align-items: center;
     gap: 0.6rem;
     font-weight: 600;
     letter-spacing: -0.03em;
   }
   
   .brand-mark {
     width: 32px;
     height: 32px;
     border-radius: 10px;
     background: var(--gradient-primary);
     box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
     position: relative;
     transition: transform 0.3s ease;
   }
   
   .brand:hover .brand-mark {
     transform: rotate(5deg) scale(1.05);
   }
   
   .brand-text {
     font-size: 1.1rem;
   }
   
   .brand-dot {
     color: var(--accent);
   }
   
   .site-nav {
     display: flex;
     align-items: center;
     gap: 1.5rem;
     font-size: 0.92rem;
   }
   
   .site-nav a {
     padding: 0.5rem 0.75rem;
     position: relative;
     color: var(--muted);
     font-weight: 500;
     transition: all 0.25s ease;
     border-radius: 8px;
   }
   
   .site-nav a::before {
     content: "";
     position: absolute;
     left: 0;
     bottom: 0;
     width: 0;
     height: 2px;
     border-radius: 999px;
     background: var(--gradient-primary);
     transition: width 0.3s ease;
   }
   
   .site-nav a:hover {
     color: var(--text);
     background-color: rgba(102, 126, 234, 0.08);
   }
   
   .site-nav a:hover::before {
     width: 100%;
   }
   
   .nav-toggle {
     display: none;
     width: 40px;
     height: 40px;
     border-radius: 999px;
     border: 1px solid var(--border);
     background-color: #ffffff;
     align-items: center;
     justify-content: center;
     gap: 6px;
     padding: 0;
     cursor: pointer;
     flex-direction: column;
   }
   
   .nav-toggle span {
     width: 18px;
     height: 2px;
     border-radius: 999px;
     background-color: #0f172a;
     transition: transform 0.18s ease, opacity 0.18s ease;
   }
   
   .nav-toggle.is-open span:first-child {
     transform: translateY(4px) rotate(45deg);
   }
   
   .nav-toggle.is-open span:last-child {
     transform: translateY(-4px) rotate(-45deg);
   }
   
   /* ==========================================================================
      Hero
      ========================================================================== */
   
   .hero-section {
     padding: 6rem 0 5rem;
     background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
     position: relative;
     overflow: hidden;
   }
   
   .hero-section::before {
     content: "";
     position: absolute;
     top: -50%;
     right: -10%;
     width: 600px;
     height: 600px;
     background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
     border-radius: 50%;
     pointer-events: none;
   }
   
   .hero-grid {
     display: grid;
     grid-template-columns: 1fr;
     gap: 3rem;
     align-items: center;
     position: relative;
     z-index: 1;
   }
   
   .hero-content h1 {
     margin: 0 0 1rem;
     font-size: 2.5rem;
     font-weight: 800;
     letter-spacing: -0.05em;
     line-height: 1.2;
     color: #0f172a;
   }
   
   .hero-title {
     display: block;
     margin-top: 0.75rem;
     font-size: 1.5rem;
     font-weight: 600;
     color: #475569;
     letter-spacing: 0.01em;
     line-height: 1.5;
     -webkit-background-clip: unset;
     -webkit-text-fill-color: unset;
     background-clip: unset;
   }
   
   .hero-tagline {
     margin: 0 0 2rem;
     font-size: 1.15rem;
     color: var(--muted);
     max-width: 32rem;
     line-height: 1.7;
     font-weight: 400;
   }
   
   .hero-actions {
     display: flex;
     flex-wrap: wrap;
     gap: 0.75rem;
     margin-bottom: 1.4rem;
   }
   
   .hero-meta {
     display: flex;
     flex-wrap: wrap;
     gap: 0.5rem;
     font-size: 0.82rem;
     color: var(--muted);
   }
   
   .hero-meta span {
     padding: 0.4rem 0.9rem;
     background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
     border-radius: var(--radius-pill);
     font-weight: 500;
     color: #667eea;
     border: 1px solid rgba(102, 126, 234, 0.2);
     transition: all 0.2s ease;
   }
   
   .hero-meta span:hover {
     transform: translateY(-2px);
     background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
     box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
   }
   
   .hero-panel {
     max-width: 380px;
     justify-self: flex-start;
   }
   
   .hero-profile {
     width: 140px;
     height: 140px;
     border-radius: 24px;
     overflow: hidden;
     margin: 0 auto 1.25rem;
     border: 4px solid #ffffff;
     box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
     transition: transform 0.3s ease;
   }
   
   .hero-profile:hover {
     transform: scale(1.05) rotate(2deg);
   }
   
   .hero-profile img {
     width: 100%;
     height: 100%;
     object-fit: cover;
   }
   
   .hero-panel-inner {
     border-radius: var(--radius-lg);
     padding: 2rem;
     background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
     box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
     border: 1px solid rgba(102, 126, 234, 0.2);
     backdrop-filter: blur(10px);
   }
   
   .hero-panel-label {
     margin: 0 0 0.6rem;
     font-size: 0.8rem;
     text-transform: uppercase;
     letter-spacing: 0.14em;
     color: #1e40af;
   }
   
   .hero-panel-inner ul {
     margin: 0;
     padding-left: 1rem;
     font-size: 0.92rem;
     color: #1f2933;
   }
   
   .hero-panel-inner li + li {
     margin-top: 0.3rem;
   }
   
   /* ==========================================================================
      Buttons
      ========================================================================== */
   
   .btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     padding: 0.55rem 1.2rem;
     border-radius: var(--radius-pill);
     border: 1px solid transparent;
     font-size: 0.92rem;
     font-weight: 500;
     cursor: pointer;
     transition: background-color 0.18s ease, color 0.18s ease,
       box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
     white-space: nowrap;
   }
   
   .btn-primary {
     background: var(--gradient-primary);
     color: #ffffff;
     box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
     font-weight: 600;
     padding: 0.7rem 1.8rem;
   }
   
   .btn-primary:hover {
     background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
     transform: translateY(-2px);
     box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
   }
   
   .btn-outline {
     background-color: #ffffff;
     color: var(--text);
     border: 2px solid #e2e8f0;
     font-weight: 500;
     padding: 0.7rem 1.8rem;
   }
   
   .btn-outline:hover {
     background-color: rgba(102, 126, 234, 0.05);
     border-color: #667eea;
     color: #667eea;
     transform: translateY(-2px);
     box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
   }
   
   .btn-ghost {
     background-color: rgba(148, 163, 184, 0.08);
     color: var(--text);
   }
   
   .btn-ghost:hover {
     background-color: rgba(148, 163, 184, 0.16);
   }

  .btn-disabled {
    opacity: 0.72;
    cursor: default;
    pointer-events: none;
    border: 1px dashed rgba(100, 116, 139, 0.35);
    display: none;
  }
   
   /* ==========================================================================
      Cards & Grids
      ========================================================================== */
   
   .card {
     background-color: var(--bg-alt);
     border-radius: var(--radius-lg);
     padding: 2rem;
     border: 1px solid rgba(226, 232, 240, 0.8);
     box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
     transition: all 0.3s ease;
     position: relative;
     overflow: hidden;
   }
   
   .card::before {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 3px;
     background: var(--gradient-primary);
     transform: scaleX(0);
     transform-origin: left;
     transition: transform 0.3s ease;
   }
   
   .card:hover {
     transform: translateY(-4px);
     box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
     border-color: rgba(102, 126, 234, 0.3);
   }
   
   .card:hover::before {
     transform: scaleX(1);
   }
   
   .skills-grid {
     display: grid;
     grid-template-columns: 1fr;
     gap: 1.25rem;
   }
   
   .skill-card h3 {
     margin: 0 0 0.3rem;
     font-size: 1.05rem;
   }
   
   .skill-card p {
     margin: 0 0 0.6rem;
     color: var(--muted);
     font-size: 0.92rem;
   }
   
   .skill-card.wide {
     grid-column: auto;
   }
   
   .tag-list {
     display: flex;
     flex-wrap: wrap;
     gap: 0.45rem;
   }
   
   .tag {
     padding: 0.35rem 0.85rem;
     border-radius: var(--radius-pill);
     font-size: 0.82rem;
     font-weight: 500;
     background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
     color: #667eea;
     border: 1px solid rgba(102, 126, 234, 0.2);
     transition: all 0.2s ease;
   }
   
   .tag:hover {
     background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
     transform: translateY(-1px);
   }
   
   .projects-grid {
     display: grid;
     grid-template-columns: 1fr;
     gap: 1.5rem;
   }

  .project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 1.5rem;
  }

  .project-filter-btn {
    border: 1px solid rgba(99, 102, 241, 0.25);
    background: rgba(99, 102, 241, 0.06);
    color: #4338ca;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .project-filter-btn:hover {
    background: rgba(99, 102, 241, 0.12);
    transform: translateY(-1px);
  }

  .project-filter-btn.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.28);
  }

  .projects-group {
    margin-top: 2.5rem;
  }

  .projects-subtitle {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
  }

  .projects-subtext {
    margin: 0.6rem 0 1.4rem;
    color: var(--muted);
    font-size: 1rem;
  }

  .projects-category {
    margin: 1.4rem 0 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
  }
   
   .project-image {
     width: 100%;
    height: 280px;
     border-radius: var(--radius-md);
     overflow: hidden;
     margin-bottom: 1rem;
     background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
     position: relative;
   }
   
   .project-image::after {
     content: "";
     position: absolute;
     inset: 0;
     background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
     opacity: 0;
     transition: opacity 0.3s ease;
   }
   
   .project-card:hover .project-image::after {
     opacity: 1;
   }
   
   .project-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   }
   
   .project-card:hover .project-image img {
     transform: scale(1.08);
   }
   
   .project-card h3 {
     margin: 0 0 0.75rem;
     font-size: 1.25rem;
     font-weight: 600;
     color: #0f172a;
   }
   
   .project-card p {
     margin: 0 0 0.85rem;
     font-size: 0.98rem;
     color: var(--muted);
     line-height: 1.7;
   }

  .project-impact {
    font-size: 0.9rem;
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
  }
   
   .project-tech {
     margin-bottom: 0.8rem;
     color: #475569;
   }
   
   .project-actions {
     display: flex;
     flex-wrap: wrap;
     gap: 0.6rem;
   }

  .project-card.is-hidden {
    display: none;
  }
   
   /* ==========================================================================
      Experience Timeline
      ========================================================================== */
   
   .experience-timeline {
     position: relative;
     display: flex;
     flex-direction: column;
     gap: 1.5rem;
   }
   
   .experience-timeline::before {
     content: "";
     position: absolute;
     left: 12px;
     top: 12px;
     bottom: 12px;
     width: 3px;
     background: var(--gradient-primary);
     border-radius: 2px;
     opacity: 0.6;
   }
   
   .timeline-item {
     display: grid;
     grid-template-columns: 26px minmax(0, 1fr);
     gap: 1rem;
   }
   
   .timeline-marker {
     width: 24px;
     height: 24px;
     border-radius: 999px;
     border: 4px solid #ffffff;
     background: var(--gradient-primary);
     box-shadow: 0 0 0 5px rgba(102, 126, 234, 0.2), 0 4px 12px rgba(102, 126, 234, 0.3);
     margin-top: 0.4rem;
     transition: transform 0.3s ease;
     position: relative;
     z-index: 1;
   }
   
   .timeline-item:hover .timeline-marker {
     transform: scale(1.15);
     box-shadow: 0 0 0 6px rgba(102, 126, 234, 0.3), 0 6px 20px rgba(102, 126, 234, 0.4);
   }
   
   .timeline-content {
     padding: 1.5rem 1.75rem;
     border-radius: var(--radius-md);
     background-color: rgba(255, 255, 255, 0.98);
     border: 1px solid rgba(226, 232, 240, 0.8);
     box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
     transition: all 0.3s ease;
   }
   
   .timeline-item:hover .timeline-content {
     transform: translateX(4px);
     box-shadow: 0 8px 25px rgba(15, 23, 42, 0.1);
     border-color: rgba(102, 126, 234, 0.3);
   }
   
   .timeline-content h3 {
     margin: 0 0 0.25rem;
     font-size: 1rem;
   }
   
   .timeline-meta {
     margin: 0 0 0.35rem;
     font-size: 0.8rem;
     text-transform: uppercase;
     letter-spacing: 0.14em;
     color: #64748b;
   }
   
   .timeline-content p {
     margin: 0;
     font-size: 0.9rem;
     color: var(--muted);
   }
   
   /* ==========================================================================
      Certificates
      ========================================================================== */
   
   .cert-list {
     list-style: none;
     padding: 0;
     margin: 0;
     display: flex;
     flex-direction: column;
     gap: 1rem;
   }
   
   .cert-item h3 {
     margin: 0 0 0.3rem;
     font-size: 1rem;
   }
   
   .cert-item p {
     margin: 0;
     font-size: 0.9rem;
     color: var(--muted);
   }

  /* ==========================================================================
     Form Message
     ========================================================================== */

  .form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
  }

  .form-message.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
  }

  .form-message.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
  }

  /* ==========================================================================
     Contact Hero Section
     FIX 2: Changed width from hardcoded 1200px to 100%
     ========================================================================== */

  .contact-hero {
    width: 100%; /* FIX: was 1200px — broke layout on all screen sizes */
    padding: 4rem 0 5rem;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #0EA5E9 100%);
    position: relative;
    box-sizing: border-box;
  }

  .contact-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
      radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.12) 0%, transparent 40%),
      radial-gradient(circle at 50% 90%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
  }

  .contact-inner {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
  }

  .contact-hero__header {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .contact-hero__header h2 {
    margin: 0 0 1rem;
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    line-height: 1.15;
  }

  .contact-hero__header p {
    margin: 0 auto;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
    max-width: 550px;
    line-height: 1.65;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }

  .contact-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
      0 20px 50px rgba(0, 0, 0, 0.2),
      0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 
      0 25px 60px rgba(0, 0, 0, 0.25),
      0 15px 30px rgba(0, 0, 0, 0.12);
  }

  .contact-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
  }

  .contact-card__lead {
    margin: 0 0 1.75rem;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .contact-item:last-of-type {
    margin-bottom: 0;
  }

  .contact-item__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .contact-item:hover .contact-item__icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
  }

  .contact-item__icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-item__label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }

  .contact-item__value {
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    display: inline-block;
    word-break: break-word;
    line-height: 1.4;
  }

  .contact-item__value:hover {
    color: #1d4ed8;
    text-decoration: underline;
  }

  .contact-item__value--text {
    color: #334155;
  }

  .contact-item__value--text:hover {
    text-decoration: none;
    color: #334155;
  }

  .contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
  }

  .social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35);
  }

  .social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.45);
    background: linear-gradient(135deg, #5B52F0, #8B4FE8);
  }

  .social-btn svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
  }

  .contact-card--form h3 {
    margin-bottom: 1.5rem;
  }

  .field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .field span {
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
  }

  .field input,
  .field textarea {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 0.95rem;
    font-family: inherit;
    color: #0f172a;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
  }

  .field input::placeholder,
  .field textarea::placeholder {
    color: #94a3b8;
  }

  .field input:hover,
  .field textarea:hover {
    border-color: #cbd5e1;
    background-color: #ffffff;
  }

  .field input:focus,
  .field textarea:focus {
    outline: none;
    border-color: #6366f1;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
  }

  .field textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.55;
  }

  .contact-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    margin-top: 0.5rem;
  }

  .contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
    background: linear-gradient(135deg, #5B52F0, #8B4FE8);
  }

  .contact-submit svg {
    transition: transform 0.25s ease;
  }

  .contact-submit:hover svg {
    transform: translateX(4px);
  }

  /* ==========================================================================
     Footer
     ========================================================================== */
   
   .site-footer {
     padding: 2rem 0 2.5rem;
     border-top: 1px solid rgba(226, 232, 240, 0.8);
     background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
     font-size: 0.9rem;
     color: var(--muted);
     position: relative;
   }
   
   .site-footer::before {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 1px;
     background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
   }
   
   .site-footer p {
     margin: 0;
     text-align: center;
   }
   
   /* ==========================================================================
      Animations
      ========================================================================== */
   
   .fade-in {
     opacity: 0;
     transform: translateY(20px);
     transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                 transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
   }
   
   .fade-in.is-visible {
     opacity: 1;
     transform: translateY(0);
   }
   
   /* ==========================================================================
      Responsive
      ========================================================================== */
   
@media (max-width: 767px) {
    .nav-toggle {
      display: inline-flex;
    }
  
    .site-nav {
      position: absolute;
      inset: var(--header-height) 0 auto 0;
      padding: 0.6rem 1.5rem 1.2rem;
      background-color: rgba(248, 250, 252, 0.98);
      border-bottom: 1px solid rgba(226, 232, 240, 0.9);
      flex-direction: column;
      align-items: flex-start;
      gap: 0.2rem;
      transform-origin: top;
      transform: scaleY(0.9);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.18s ease, transform 0.18s ease;
    }
  
    .site-header.is-open .site-nav {
      opacity: 1;
      pointer-events: auto;
      transform: scaleY(1);
    }
  
    .about-body {
      padding: 2rem;
      border-radius: 20px;
    }

    .contact-hero {
      padding: 3rem 0;
    }
  
    .contact-inner {
      padding: 0 1.5rem;
    }
  
    .contact-hero__header h2 {
      font-size: 2rem;
    }
  
    .contact-hero__header p {
      font-size: 0.95rem;
    }

    .contact-hero__header {
      margin-bottom: 2rem;
    }
  
    .contact-card {
      padding: 1.5rem;
    }

    .social-btn {
      width: 100%;
      justify-content: center;
    }
  }
   
@media (min-width: 768px) {
    .hero-grid {
      grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
    }
  
    .hero-section {
      padding: 5rem 0 4.5rem;
    }
  
    .section {
      padding: 5rem 0;
    }

    .skills-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  
    .skill-card.wide {
      grid-column: span 2;
    }
  
    .projects-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-hero {
      padding: 4rem 0;
    }

    .contact-inner {
      padding: 0 3rem;
    }

    .contact-hero__grid {
      grid-template-columns: 1fr 1fr;
      gap: 2.5rem;
    }

    .contact-hero__header h2 {
      font-size: 2.75rem;
    }
  }
   
@media (min-width: 960px) {
    .hero-content h1 {
      font-size: 3.25rem;
    }
  
    .hero-title {
      font-size: 1.75rem;
      margin-top: 1rem;
    }
  
    .section-header h2 {
      font-size: 2.5rem;
    }
  
    .hero-section {
      padding: 7rem 0 6rem;
    }
  
    .section {
      padding: 6.5rem 0;
    }

    .contact-hero {
      padding: 4rem 0 5rem;
    }

    .contact-inner {
      padding: 0 5rem;
    }
  
    .contact-hero__grid {
      gap: 3.5rem;
    }

    .contact-card {
      padding: 2.5rem;
    }
  }

@media (min-width: 1200px) {
    .contact-inner {
      max-width: 1500px;
      padding: 0 6rem;
    }

    .contact-hero__grid {
      gap: 4rem;
    }

    .contact-card {
      padding: 3rem;
    }
  }