@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

:root {
    --background-color: #0B132B;
    --white-color: #FFFFFF;
    --yellow-color: #F9E900;
    --darkblue-color: #171738;
    --dimgray-color: #637074;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    color: var(--white-color);
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.1) 1px, 
        transparent 1px
    );
    background-position: 50% 50%;
    background-size: 1.1rem 1.1rem;
    min-height: 100vh;
    position: relative;
    padding-top: 80px;
}
  
  /* About Me */
  section.section-two {
    position: relative;
    padding: 5rem 1rem;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
  }

  section.section-two h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
  }

  /* About Header */
  .about-header {
    text-align: center;
    margin-bottom: 3.5rem;
  }

  .about-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(249, 233, 0, 0.1);
    border: 1px solid rgba(249, 233, 0, 0.3);
    color: var(--yellow-color);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.35rem 0.9rem;
    border-radius: 3rem;
    margin-bottom: 0.75rem;
  }

  .about-heading {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .about-description {
    font-size: 1rem;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.65);
    max-width: 680px;
    margin: 0 auto;
  }

  /* About Columns */
  .about-columns {
    display: flex;
    justify-content: center;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
  }

  /* Left Column */
  .about-left {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .about-profile-frame {
    position: relative;
    width: 300px;
    height: 340px;
    border-radius: 1.2rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  }

  .about-profile-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 60px;
    height: 60px;
    border-top: 3px solid var(--yellow-color);
    border-left: 3px solid var(--yellow-color);
    border-radius: 1.2rem 0 0 0;
    z-index: 2;
  }

  .about-profile-frame::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 60px;
    height: 60px;
    border-bottom: 3px solid var(--yellow-color);
    border-right: 3px solid var(--yellow-color);
    border-radius: 0 0 1.2rem 0;
    z-index: 2;
  }

  .about-profile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about-quote-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .about-quote-card i {
    font-size: 1.4rem;
    color: var(--yellow-color);
    flex-shrink: 0;
    margin-top: 0.1rem;
  }

  .about-quote-card p {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    line-height: 1.5;
  }

  /* Right Column */
  .about-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  .about-bio p {
    font-size: 1rem;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 1rem;
  }

  .about-bio p:last-child {
    margin-bottom: 0;
  }

  /* Skills Label */
  .about-skills-label {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.2rem;
  }

  .about-skills-label::before,
  .about-skills-label::after {
    content: '';
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  }

  .about-skills-label span {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
  }

  /* Skills List */
  .about-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    list-style: none;
  }

  .about-skills-list li {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--white-color);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.45rem 1rem;
    border-radius: 3rem;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    cursor: default;
  }

  .about-skills-list li:hover {
    transform: translateY(-3px);
    border-color: var(--yellow-color);
    background: rgba(249, 233, 0, 0.08);
  }

  /* Yellow Circle Background */
  .hero-yellow-circle2 {
    width: 1000px;
    height: 1000px;
    background-color: var(--yellow-color);
    filter: blur(100px);
    opacity: 0.1;
    border-radius: 50%;
    position: absolute;
    right: -500px;
    top: -300px;
    z-index: -1;
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
  }

  /* Tech Stack */
  .tech-stack {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 2rem;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
  }

  .tech-stack > .about-me-subtitle {
    text-align: center;
  }

  .skills-description {
    font-size: 1rem;
    font-weight: 200;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
  }

  /* Tech Group (category row) */
  .tech-group {
    margin-bottom: 2.5rem;
  }

  .tech-group:last-child {
    margin-bottom: 0;
  }

  .tech-group-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--yellow-color);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(249, 233, 0, 0.15);
  }

  .tech-group-title i {
    font-size: 1.3rem;
  }

  /* Tech Items (logo grid) */
  .tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
  }

  .tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    width: 90px;
    padding: 1rem 0.5rem;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    cursor: default;
  }

  .tech-item:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 233, 0, 0.3);
    background: rgba(255, 255, 255, 0.06);
  }

  .tech-item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 4px;
  }

  .tech-item span {
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 1.2;
  }

  .tech-item:hover span {
    color: var(--white-color);
  }

  /* Certifications */
  .certifications {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 2rem;
    padding-bottom: 6rem;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
  }

  .certifications > h3 {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.8rem;
  }

  .cert-description {
    font-size: 1rem;
    font-weight: 200;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
  }

  .cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-decoration: none;
    color: var(--white-color);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .cert-card:hover {
    transform: translateY(-6px);
    border-color: var(--yellow-color);
    box-shadow: 0 15px 30px rgba(249, 233, 0, 0.08);
  }

  .cert-badge-img {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cert-badge-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .cert-name {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
  }

  .cert-link {
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s ease;
  }

  .cert-card:hover .cert-link {
    color: var(--yellow-color);
  }

  @media (max-width: 768px) {
    .cert-grid {
      grid-template-columns: 1fr;
    }

    .about-columns {
      flex-direction: column;
      align-items: center;
      gap: 2.5rem;
    }

    .about-left {
      align-items: center;
    }

    .about-profile-frame {
      width: 100%;
      max-width: 320px;
    }

    .about-quote-card {
      max-width: 320px;
    }

    .about-right {
      text-align: center;
    }

    .about-bio p {
      text-align: center;
    }

    .about-skills-list {
      justify-content: center;
    }

    .about-description br {
      display: none;
    }

    .tech-items {
      gap: 0.8rem;
    }

    .tech-item {
      width: 80px;
      padding: 0.8rem 0.4rem;
    }

    .tech-item img {
      width: 36px;
      height: 36px;
    }

    .tech-item span {
      font-size: 0.68rem;
    }
  }

  @media (max-width: 480px) {
    .about-heading {
      font-size: 1.6rem;
    }

    .about-description {
      font-size: 0.9rem;
    }

    .about-profile-frame {
      height: 300px;
    }

    .about-skills-list li {
      font-size: 0.78rem;
      padding: 0.35rem 0.8rem;
    }

    .tech-item {
      width: 72px;
    }

    .tech-item img {
      width: 32px;
      height: 32px;
    }
  }