/* Navbar Font — Thin, Modern, Minimal */
#nav-links a {
  font-family: 'Manrope', sans-serif;
  font-weight: 100;
  letter-spacing: 0.6px;
  text-transform: lowercase;
  transition: all 0.3s ease-in-out;
  color: inherit;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}

#nav-links a:hover {
  color: #60a5fa; /* Tailwind blue-400 */
  text-shadow: 0 0 6px rgba(96,165,250,0.4);
}


    
    
    
    .cert-grid-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem;
      background-color: white;
      border: 1px solid #e4e4e7; /* zinc-200 */
      border-radius: 0.75rem;
      transition: all 0.2s ease-in-out;
    }
    .dark .cert-grid-item {
      background-color: #27272a; /* zinc-800 */
      border-color: #3f3f46; /* zinc-700 */
    }
    .cert-grid-item:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 20px -5px rgba(0,0,0,0.1);
      border-color: #3b82f6; /* blue-500 */
    }
    .dark .cert-grid-item:hover {
      box-shadow: 0 10px 20px -5px rgba(0,0,0,0.3);
    }
    .cert-grid-item img {
      flex-shrink: 0;
    }
    #cert-modal.hidden {
      display: none;
    }
    /* NEW BUTTON STYLE */
    .credential-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0.75rem 1rem;
        background-color: #3b82f6; /* blue-600 */
        color: white;
        font-weight: 600;
        border-radius: 0.5rem;
        transition: background-color 0.2s;
    }
    .credential-button:hover {
        background-color: #2563eb; /* blue-700 */
    }
/* --- START: CSS FOR CONTACT FORM --- */
#contact-form-submit {
  background-color: var(--form-bg);
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  will-change: transform, box-shadow;
}

#contact-form-submit:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}

.dark #contact-form-submit {
  background-color: rgba(39, 39, 42, 0.5); /* zinc-800 with transparency */
  border: 1px solid rgba(82, 82, 91, 0.3); /* zinc-700 with transparency */
  backdrop-filter: blur(10px);
}

#contact-form-submit input,
#contact-form-submit textarea {
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  background-color: var(--input-bg);
  color: var(--input-text);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

#contact-form-submit input:focus,
#contact-form-submit textarea:focus {
  border-color: #3b82f6; /* A consistent blue focus ring */
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
  outline: none;
}

:root {
  --form-bg: #ffffff;
  --border-color: #d1d5db; /* gray-300 */
  --input-bg: #f9fafb; /* gray-50 */
  --input-text: #1f2937; /* gray-900 */
}

.dark {
  --form-bg: #27272a; /* zinc-800 */
  --border-color: #52525b; /* zinc-600 */
  --input-bg: #18181b; /* zinc-900 */
  --input-text: #f3f4f6; /* gray-100 */
}

.contact-form-button {
    transition: all 0.3s ease;
    transform: translateY(0);
}

.contact-form-button:hover {
    transform: translateY(-2px) scale(1.01);
}

/* --- END: CSS FOR CONTACT FORM --- */

@keyframes gradient-shift {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}
.animate-gradient-shift {
  animation: gradient-shift 6s ease-in-out infinite;
}

    .cert-grid-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem;
      background-color: white;
      border: 1px solid #e4e4e7; /* zinc-200 */
      border-radius: 0.75rem;
      transition: all 0.2s ease-in-out;
    }
    .dark .cert-grid-item {
      background-color: #27272a; /* zinc-800 */
      border-color: #3f3f46; /* zinc-700 */
    }
    .cert-grid-item:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 20px -5px rgba(0,0,0,0.1);
      border-color: #3b82f6; /* blue-500 */
    }
    .dark .cert-grid-item:hover {
      box-shadow: 0 10px 20px -5px rgba(0,0,0,0.3);
    }
    .cert-grid-item img {
      flex-shrink: 0;
    }
    #cert-modal.hidden {
      display: none;
    }
    /* NEW BUTTON STYLE */
    .credential-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0.75rem 1rem;
        background-color: #3b82f6; /* blue-600 */
        color: white;
        font-weight: 600;
        border-radius: 0.5rem;
        transition: background-color 0.2s;
    }
    .credential-button:hover {
        background-color: #2563eb; /* blue-700 */
    }
/* --- START: CSS FOR CONTACT FORM --- */
#contact-form-submit {
  background-color: var(--form-bg);
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  will-change: transform, box-shadow;
}

#contact-form-submit:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}

.dark #contact-form-submit {
  background-color: rgba(39, 39, 42, 0.5); /* zinc-800 with transparency */
  border: 1px solid rgba(82, 82, 91, 0.3); /* zinc-700 with transparency */
  backdrop-filter: blur(10px);
}

#contact-form-submit input,
#contact-form-submit textarea {
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  background-color: var(--input-bg);
  color: var(--input-text);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

#contact-form-submit input:focus,
#contact-form-submit textarea:focus {
  border-color: #3b82f6; /* A consistent blue focus ring */
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
  outline: none;
}

:root {
  --form-bg: #ffffff;
  --border-color: #d1d5db; /* gray-300 */
  --input-bg: #f9fafb; /* gray-50 */
  --input-text: #1f2937; /* gray-900 */
}

.dark {
  --form-bg: #27272a; /* zinc-800 */
  --border-color: #52525b; /* zinc-600 */
  --input-bg: #18181b; /* zinc-900 */
  --input-text: #f3f4f6; /* gray-100 */
}

.contact-form-button {
    transition: all 0.3s ease;
    transform: translateY(0);
}

.contact-form-button:hover {
    transform: translateY(-2px) scale(1.01);
}

/* --- END: CSS FOR CONTACT FORM --- */

@keyframes gradient-shift {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}
.animate-gradient-shift {
  animation: gradient-shift 6s ease-in-out infinite;
}


    #constellation-bg {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        z-index: 0;
    }
    .star {
        position: absolute;
        border-radius: 50%;
        background-color: white;
        transition: all 0.3s ease-in-out;
        cursor: pointer;
        z-index: 10;
    }
    .star.core {
        width: 100px; height: 100px;
        box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.7), 0 0 40px 10px rgba(59, 130, 246, 0.5);
        animation: pulse-core 4s infinite ease-in-out;
    }
    .star.passion {
        width: 15px; height: 15px;
        box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.5);
        animation: pulse-passion 3s infinite ease-in-out;
    }
    .star:hover {
        transform: scale(1.2);
        box-shadow: 0 0 25px 8px rgba(255, 255, 255, 0.9), 0 0 50px 15px rgba(59, 130, 246, 0.7);
    }
    @keyframes pulse-core {
        50% { transform: scale(1.05); box-shadow: 0 0 25px 8px rgba(255, 255, 255, 0.8), 0 0 50px 15px rgba(59, 130, 246, 0.6); }
    }
    @keyframes pulse-passion {
        50% { transform: scale(1.1); }
    }
    #constellation-tooltip {
        transition: opacity 0.3s ease, transform 0.3s ease;
        will-change: opacity, transform;
    }
    .connector-line {
        stroke-width: 1;
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
        animation: draw-line 1s ease-out forwards;
        pointer-events: none;
    }
    @keyframes draw-line {
        to { stroke-dashoffset: 0; }
    }


        /* --- START: CSS FOR RENAISSANCE ABOUT SECTION --- */
    .profile-card-container { perspective: 1000px; }
    .profile-card-inner { transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); transform-style: preserve-3d; }
    
    .badge {
      position: absolute;
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(10px);
      border-radius: 50px;
      padding: 0.5rem 1rem;
      font-size: 0.75rem;
      font-weight: 600;
      animation: badge-float 4s ease-in-out infinite;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      transform: translateZ(20px); /* Makes badges pop out */
    }
    .dark .badge { background: rgba(39, 39, 42, 0.7); } /* zinc-800 */
    .badge-1 { top: 10%; right: -10%; animation-delay: 0s; }
    .badge-2 { bottom: 15%; left: -15%; animation-delay: -2s; }
    .badge-3 { top: 50%; right: -20%; animation-delay: -1s; }

    @keyframes badge-float {
      50% { transform: translateY(-10px) rotate(3deg) translateZ(20px); }
    }

    .passion-card { transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
    .passion-card:hover {
      transform: translateY(-8px) scale(1.02);
      box-shadow: 0 20px 40px rgba(0,0,0,0.1);
      border-color: #3b82f6; /* A subtle blue border on hover */
    }
    .dark .passion-card:hover { border-color: #3b82f6; }
    .passion-icon { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
    .passion-card:hover .passion-icon { transform: scale(1.1) rotate(10deg); }

    .achievement-image-container {
      position: relative; /* Establishes a positioning context for the orb */
      overflow: hidden;
    }
    .achievement-image {
      position: relative; /* Lifts the image above the orb */
      z-index: 10;
      transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    .achievement-image-container::after {
      content: '';
      position: absolute;
      inset: 0;
      margin: auto;
      width: 100px;
      height: 100px;
      background: radial-gradient(circle, #3b82f6, #d946ef 80%);
      filter: blur(40px);
      z-index: 1;
      opacity: 0;
      transform: scale(0.5);
      transition: all 0.4s ease-in-out;
    }
    .achievement-card:hover .achievement-image {
      transform: scale(1.03);
    }
    .achievement-card:hover .achievement-image-container::after {
      opacity: 0.7;
      transform: scale(1.2);
    }
  /* --- END: CSS FOR RENAISSANCE ABOUT SECTION --- */

  /* --- START: Blueprint Grid Background --- */
:root {
  --grid-color: rgba(0, 0, 0, 0.07);
}
.dark {
  --grid-color: rgba(255, 255, 255, 0.05);
}
.grid-background {
  position: absolute;
  inset: 0;
  z-index: -9;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  animation: pan-grid 30s linear infinite;
}
@keyframes pan-grid {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}
/* --- END: Blueprint Grid Background --- */

  /* Base Styles */
  body { font-family: 'Inter', sans-serif; }
  h1, h2, h3, h4, .font-display {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
  }

  /* Gradient Text Effect */
  .gradient-text {
    background: linear-gradient(to right, #3b82f6, #d946ef, #f43f5e);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    animation: gradientShift 6s ease-in-out infinite;
  }
  @keyframes gradientShift {
    0% { background-position: 0 0; }
    50% { background-position: 100% 0; }
    100% { background-position: 0 0; }
  }

  /* Bento Box Hover Effect */
  .bento {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    will-change: transform, box-shadow;
  }
  .bento:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,.15);
    transition-delay: 0.07s;
  }

  /* Skill Pill Styles */
  .skill-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid transparent;
    transform: translateY(0);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease-in-out;
  }
  .skill-pill:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 35px -5px rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
  }

  /* Marquee Scrolling Animations */
  @keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  @keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
  }
  .marquee { overflow: hidden; width: 100%; }
  .marquee__inner { display: flex; width: fit-content; }
  .marquee-left .marquee__inner { animation: scroll-left 45s linear infinite; }
  .marquee-right .marquee__inner { animation: scroll-right 45s linear infinite; }

  /* Doodle Pop Animation */
  @keyframes doodlePop {
    0% { opacity: 0; transform: translateY(20%) scale(0.8) rotate(-10deg); }
    60% { opacity: 1; transform: translateY(-10%) scale(1.05) rotate(5deg); }
    100% { transform: translateY(0) scale(1) rotate(0deg); }
  }
  .animate-doodle { display: inline-block; animation: doodlePop 0.6s ease forwards; }
  .animate-doodle.delay-\[100ms\] { animation-delay: 100ms; }
  .animate-doodle.delay-\[200ms\] { animation-delay: 200ms; }
  .animate-doodle.delay-\[300ms\] { animation-delay: 300ms; }
  .animate-doodle.delay-\[400ms\] { animation-delay: 400ms; }
  .animate-doodle.delay-\[500ms\] { animation-delay: 500ms; }

  /* Achievement Cards */
  .achievement-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }
  .achievement-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  }
  .achievement-card .icon-wrapper {
    position: relative;
    z-index: 10;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  .achievement-card:hover .icon-wrapper {
    transform: translateY(-5px) rotate(5deg);
  }
  .achievement-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--start-color) 0%, var(--end-color) 100%);
    opacity: 0.1;
    transition: opacity 0.4s ease;
    z-index: 1;
  }
  .achievement-card:hover::before { opacity: 0.25; }
  .achievement-card.google::before { --start-color: #3b82f6; --end-color: #a78bfa; }
  .achievement-card.gen-ai::before { --start-color: #fde047; --end-color: #fbbf24; }
  .achievement-card.sql::before { --start-color: #10b981; --end-color: #06b6d4; }
  .achievement-card.ibm::before { --start-color: #0062FF; --end-color: #0530AD; }

  /* --- START: Blueprint Profile Image CSS --- */
  .profile-schematic {
    position: relative;
    width: 325px;
    height: 325px;
    justify-self: center;
    animation: fade-in 1s 0.4s ease-out forwards;
    opacity: 0;
    transition: transform 0.1s ease-out;
  }
  .profile-image-container {
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    position: relative;
    overflow: hidden;
  }
  .profile-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.25), transparent 60%);
    transform: translateX(-100%) skewX(-25deg);
    transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .profile-schematic:hover .profile-image-container::after { transform: translateX(100%) skewX(-25deg); }
  .profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.5) contrast(1.1);
    transition: filter 0.4s ease;
  }
  .profile-schematic:hover img { filter: grayscale(0) contrast(1); }
  .scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, transparent 0%, rgba(6, 182, 212, 0.4) 50%, transparent 100%);
    opacity: 0.2;
    animation: scan-anim 4s linear infinite;
  }
  @keyframes scan-anim {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
  }
  .schematic-element {
    position: absolute;
    color: #06b6d4;
    font-family: monospace;
    font-size: 0.75rem;
    opacity: 0.7;
    animation: element-flicker 5s infinite;
    text-shadow: 0 0 5px rgba(6, 182, 212, 0.5);
  }
  .se-1 { top: 20%; left: -35px; }
  .se-2 { top: 5%; right: -50px; }
  .se-3 { bottom: 20%; right: -35px; }
  .se-4 { bottom: 10%; left: -70px; }
  .corner-bracket {
    position: absolute;
    width: 40px;
    height: 40px;
    border-style: solid;
    border-color: #06b6d4;
    opacity: 0.5;
  }
  .corner-tl { top: -10px; left: -10px; border-width: 2px 0 0 2px; }
  .corner-tr { top: -10px; right: -10px; border-width: 2px 2px 0 0; }
  .corner-bl { bottom: -10px; left: -10px; border-width: 0 0 2px 2px; }
  .corner-br { bottom: -10px; right: -10px; border-width: 0 2px 2px 0; }
  @keyframes fade-in {
      from { opacity: 0; transform: scale(0.95); }
      to { opacity: 1; transform: scale(1); }
  }
  @keyframes element-flicker {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.4; }
  }

  /* --- START: Gradient Icon for Theme Toggle --- */
  .gradient-icon {
    background: linear-gradient(135deg, #facc15, #f97316, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: transform 0.3s ease-in-out;
  }
  .gradient-icon:hover { transform: scale(1.1) rotate(-15deg); }
  /* --- END: Gradient Icon for Theme Toggle --- */

  /* --- START: Animated Orbs for Hero Section --- */
  .hero-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(96px);
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
  }
  .hero-orb-1 {
    width: 400px; height: 400px;
    background-image: linear-gradient(135deg, #3b82f6, #d946ef);
    top: -5%; left: -10%; opacity: 0.3;
    animation: move-hero-orb-1 30s infinite alternate ease-in-out;
  }
  .dark .hero-orb-1 { opacity: 0.5; }
  .hero-orb-2 {
    width: 350px; height: 350px;
    background-image: linear-gradient(135deg, #f43f5e, #f97316);
    bottom: -10%; right: -5%; opacity: 0.3;
    animation: move-hero-orb-2 25s infinite alternate ease-in-out;
    animation-delay: -12s;
  }
  .dark .hero-orb-2 { opacity: 0.5; }
  .hero-orb-3 {
    width: 250px; height: 250px;
    background-color: #22d3ee;
    top: 30%; right: 20%; opacity: 0.15;
    animation: move-hero-orb-3 20s infinite alternate ease-in-out;
    animation-delay: -5s;
  }
  .dark .hero-orb-3 { opacity: 0.25; }
  @keyframes move-hero-orb-1 {
    from { transform: translate(0, 0) rotate(0deg) scale(1); }
    to { transform: translate(100px, 50px) rotate(90deg) scale(1.1); }
  }
  @keyframes move-hero-orb-2 {
    from { transform: translate(0, 0) rotate(0deg) scale(1); }
    to { transform: translate(-80px, -40px) rotate(-90deg) scale(0.9); }
  }
  @keyframes move-hero-orb-3 {
    from { transform: translate(0, 0) scale(1); -webkit-transform: translate(0, 0) scale(1); -moz-transform: translate(0, 0) scale(1); -ms-transform: translate(0, 0) scale(1); -o-transform: translate(0, 0) scale(1); }
    to { transform: translate(40px, -40px) scale(1.2); }
  }
  /* --- END: Animated Orbs for Hero Section --- */

  .profile-image-wrapper { transform-style: preserve-3d; }
