:root {
        --bg: #050816;
        --bg-alt: #0b1020;
        --accent: #38bdf8;
        --accent-soft: rgba(56, 189, 248, 0.15);
        --text: #e5e7eb;
        --muted: #9ca3af;
        --border: rgba(148, 163, 184, 0.25);
        --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.9);
        --radius-lg: 18px;
        --transition-fast: 0.25s ease;
      }

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

      body {
        font-family: "Poppins", sans-serif;
        background: radial-gradient(
          circle at top,
          #1e293b 0,
          #020617 45%,
          #000 100%
        );
        color: var(--text);
        line-height: 1.6;
        overflow-x: hidden;
      }

      a {
        color: var(--accent);
        text-decoration: none;
      }
      a:hover {
        text-decoration: underline;
      }

      .gradient-orb {
        position: fixed;
        width: 380px;
        height: 380px;
        border-radius: 50%;
        filter: blur(110px);
        opacity: 0.35;
        z-index: -2;
        animation: floatOrb 18s ease-in-out infinite alternate;
      }
      .orb-1 {
        top: -80px;
        left: -120px;
        background: #22c55e;
      }
      .orb-2 {
        bottom: -120px;
        right: -120px;
        background: #38bdf8;
        animation-delay: 3s;
      }

      @keyframes floatOrb {
        0% {
          transform: translate3d(0, 0, 0) scale(1);
        }
        50% {
          transform: translate3d(40px, -40px, 0) scale(1.05);
        }
        100% {
          transform: translate3d(-20px, 30px, 0) scale(1.03);
        }
      }

      header {
        position: sticky;
        top: 0;
        z-index: 50;
        backdrop-filter: blur(16px);
        background: linear-gradient(
          to bottom,
          rgba(15, 23, 42, 0.95),
          transparent
        );
        border-bottom: 1px solid rgba(148, 163, 184, 0.25);
      }

      .nav {
        max-width: 1173px;
        margin: 0 auto;
        padding: 0.9rem 1.5rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
      }

      .nav-left {
        display: flex;
        align-items: center;
        gap: 0.7rem;
      }

      .nav-logo {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border-radius: 12px;
        background: radial-gradient(circle at 0 0, #38bdf8, #1e293b);
        box-shadow: 0 0 40px rgba(56, 189, 248, 0.6);
        color: white;
        font-weight: 700;
        font-size: 1.1rem;
      }

      .nav-text-main {
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0.03em;
      }
      .nav-text-sub {
        font-size: 0.8rem;
        color: #9ca3af;
      }

      .nav-links {
        display: flex;
        gap: 1.2rem;
        font-size: 0.9rem;
      }

      .nav-links a {
        color: var(--muted);
        position: relative;
        padding-bottom: 2px;
      }

      .nav-links a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(to right, #38bdf8, #22c55e);
        transition: width var(--transition-fast);
      }

      .nav-links a:hover {
        color: var(--text);
      }
      .nav-links a:hover::after {
        width: 100%;
      }

      .badge-cta {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.35rem 0.8rem;
        border-radius: 999px;
        font-size: 0.78rem;
        background: rgba(15, 23, 42, 0.9);
        border: 1px solid rgba(148, 163, 184, 0.45);
        color: var(--muted);
        white-space: nowrap;
      }
      .badge-cta i {
        color: #22c55e;
      }

      .nav-right {
        display: flex;
        align-items: center;
        gap: 0.8rem;
      }

      .hamburger {
        display: none;
        width: 34px;
        height: 34px;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.5);
        background: rgba(15, 23, 42, 0.95);
        justify-content: center;
        align-items: center;
        cursor: pointer;
      }

      .hamburger span {
        display: block;
        width: 16px;
        height: 2px;
        background: #e5e7eb;
        border-radius: 999px;
        position: relative;
        transition: all 0.25s ease;
      }

      .hamburger span::before,
      .hamburger span::after {
        content: "";
        position: absolute;
        left: 0;
        width: 16px;
        height: 2px;
        background: #e5e7eb;
        border-radius: 999px;
        transition: all 0.25s ease;
      }

      .hamburger span::before {
        top: -5px;
      }
      .hamburger span::after {
        top: 5px;
      }

      .hamburger.active span {
        background: transparent;
      }
      .hamburger.active span::before {
        top: 0;
        transform: rotate(45deg);
      }
      .hamburger.active span::after {
        top: 0;
        transform: rotate(-45deg);
      }

      .mobile-menu {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 1.5rem 1rem;
        background: rgba(15, 23, 42, 0.98);
        border-bottom: 1px solid rgba(148, 163, 184, 0.3);
      }

      .mobile-menu a {
        font-size: 0.9rem;
        color: var(--muted);
      }
      .mobile-menu a:hover {
        color: var(--text);
      }

      main {
        max-width: 1120px;
        margin: 0 auto;
        padding: 1.8rem 1.5rem 2.6rem;
      }

      section {
        margin-top: 3.4rem;
      }

      .section-title {
        font-size: 1.35rem;
        font-weight: 600;
        margin-bottom: 0.35rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
      }

      .section-title i {
        color: var(--accent);
        font-size: 1.1rem;
      }

      .section-subtitle {
        font-size: 0.9rem;
        color: var(--muted);
        margin-bottom: 1.2rem;
        max-width: 720px;
      }

      .pill {
        display: inline-flex;
        gap: 0.4rem;
        align-items: center;
        padding: 0.18rem 0.7rem;
        font-size: 0.72rem;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.6);
        color: var(--muted);
        margin-left: 0.7rem;
      }

      /* HERO */
      .hero {
        display: grid;
        grid-template-columns: minmax(0, 3.1fr) minmax(0, 2.2fr);
        gap: 2.2rem;
        align-items: center;
        margin-top: 2.2rem;
      }

      .hero-intro {
        animation: slideUp 0.8s ease-out forwards;
        opacity: 0;
        transform: translateY(20px);
      }

      @keyframes slideUp {
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .hero-kicker {
        font-size: 0.78rem;
        letter-spacing: 0.18em;
        color: var(--accent);
        text-transform: uppercase;
        margin-bottom: 0.55rem;
      }

      .hero-title {
        font-size: clamp(2.1rem, 3vw, 2.7rem);
        font-weight: 700;
        margin-bottom: 0.45rem;
      }

      .hero-title span {
        background: linear-gradient(to right, #38bdf8, #22c55e);
        -webkit-background-clip: text;
        color: transparent;
      }

      .hero-role {
        font-size: 1.02rem;
        color: var(--muted);
        margin-bottom: 1rem;
      }

      .hero-summary {
        font-size: 0.95rem;
        color: var(--muted);
        max-width: 640px;
        margin-bottom: 1.5rem;
      }

      .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.85rem;
        margin-bottom: 1.4rem;
      }

      .btn-primary,
      .btn-ghost {
        border-radius: 999px;
        padding: 0.6rem 1.25rem;
        font-size: 0.86rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        border: 1px solid rgba(148, 163, 184, 0.6);
        cursor: pointer;
        background: transparent;
        color: var(--text);
        transition:
          background var(--transition-fast),
          transform var(--transition-fast),
          box-shadow var(--transition-fast),
          border-color var(--transition-fast);
        text-decoration: none;
      }

      .btn-primary {
        background: linear-gradient(135deg, #38bdf8, #22c55e);
        border-color: transparent;
        box-shadow: 0 16px 40px rgba(22, 45, 55, 0.5);
      }

      .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 22px 45px rgba(34, 197, 94, 0.55);
      }

      .btn-ghost:hover {
        background: rgba(15, 23, 42, 0.9);
      }

      .hero-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 1.4rem;
        font-size: 0.8rem;
        color: var(--muted);
      }

      .hero-meta-group {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
      }

      .hero-meta-label {
        text-transform: uppercase;
        letter-spacing: 0.14em;
        font-size: 0.7rem;
        color: #6b7280;
      }

      .hero-meta-value {
        font-weight: 500;
      }

      .hero-meta-links a {
        margin-right: 0.75rem;
      }

      .hero-right {
        position: relative;
        animation: fadeIn 1.1s ease-out forwards;
        opacity: 0;
        transform: translateY(25px);
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
      }

      @keyframes fadeIn {
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .profile-photo-wrapper {
        width: 150px;
        height: 150px;
        border-radius: 999px;
        padding: 4px;
        background: conic-gradient(
          from 220deg,
          #38bdf8,
          #22c55e,
          #a855f7,
          #38bdf8
        );
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
      }

      .profile-photo-inner {
        width: 100%;
        height: 100%;
        border-radius: 999px;
        overflow: hidden;
        background: #020617;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .profile-photo-inner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .hero-card {
        width: 100%;
        background: linear-gradient(
          to bottom right,
          rgba(15, 23, 42, 0.98),
          rgba(15, 23, 42, 0.96)
        );
        border-radius: 18px;
        border: 1px solid rgba(148, 163, 184, 0.6);
        padding: 1.1rem 1.2rem 1.2rem;
        box-shadow: var(--shadow-soft);
        position: relative;
        overflow: hidden;
      }

      .hero-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
        gap: 0.5rem;
      }

      .hero-card-title {
        font-size: 0.9rem;
        font-weight: 500;
      }

      .hero-card-chip {
        font-size: 0.7rem;
        padding: 0.22rem 0.6rem;
        background: rgba(15, 23, 42, 0.8);
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.6);
        color: var(--muted);
      }

      .hero-card-content {
        margin-top: 0.4rem;
        font-size: 0.8rem;
        color: var(--muted);
      }

      .hero-card-meta {
        display: flex;
        justify-content: space-between;
        gap: 0.7rem;
        font-size: 0.78rem;
        margin-bottom: 0.6rem;
      }

      .hero-card-meta-label {
        font-size: 0.74rem;
        color: #9ca3af;
      }

      .hero-card-meta-value {
        margin-top: 0.15rem;
        font-size: 0.86rem;
      }

      .tech-inline {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
        margin-top: 0.5rem;
      }

      .tech-chip {
        font-size: 0.74rem;
        padding: 0.18rem 0.55rem;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.5);
        background: rgba(15, 23, 42, 0.9);
      }

      /* Soft card */
      .card-soft {
        background: radial-gradient(
          circle at top left,
          rgba(15, 23, 42, 0.85),
          rgba(15, 23, 42, 0.98)
        );
        border-radius: 16px;
        border: 1px solid var(--border);
        padding: 1.1rem 1.3rem;
        box-shadow: 0 16px 40px rgba(2, 6, 23, 0.95);
      }

      /* About */
      .about-layout {
        display: flex;
        flex-wrap: wrap;
        gap: 1.6rem;
      }

      .about-main {
        flex: 1.8;
        min-width: 260px;
      }
      .about-side {
        flex: 1.2;
        min-width: 220px;
      }

      .about-pill-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        margin-top: 0.7rem;
      }

      .about-pill {
        font-size: 0.78rem;
        padding: 0.3rem 0.7rem;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.9);
        border: 1px solid rgba(148, 163, 184, 0.6);
        color: #e5e7eb;
      }

      /* Skills */
      .skills-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
      }

      .skills-block-title {
        font-size: 0.92rem;
        font-weight: 500;
        margin-bottom: 0.35rem;
      }

      .skills-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
      }

      .skill-tag {
        font-size: 0.78rem;
        padding: 0.26rem 0.6rem;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.95);
        border: 1px solid rgba(148, 163, 184, 0.6);
        color: #e5e7eb;
        white-space: nowrap;
      }

      /* Projects */
      .projects-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr);
        gap: 1.4rem;
      }

      .project-featured {
        border-radius: 18px;
        border: 1px solid rgba(56, 189, 248, 0.7);
        padding: 1.2rem 1.3rem;
        background: radial-gradient(
          circle at top left,
          rgba(56, 189, 248, 0.18),
          rgba(15, 23, 42, 0.98)
        );
        box-shadow: 0 20px 50px rgba(15, 23, 42, 0.98);
      }

      .project-featured-label {
        font-size: 0.75rem;
        color: #22c55e;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        margin-bottom: 0.2rem;
      }

      .project-title {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
      }

      .project-role {
        font-size: 0.82rem;
        color: var(--muted);
        margin-bottom: 0.5rem;
      }

      .project-text {
        font-size: 0.88rem;
        color: var(--muted);
        margin-bottom: 0.6rem;
      }

      .project-list {
        font-size: 0.85rem;
        color: var(--muted);
        list-style: disc;
        padding-left: 1.1rem;
        margin-bottom: 0.65rem;
      }

      .project-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
        margin-bottom: 0.6rem;
      }

      .project-tag {
        font-size: 0.75rem;
        padding: 0.24rem 0.6rem;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.95);
        border: 1px solid rgba(148, 163, 184, 0.6);
      }

      .project-link {
        font-size: 0.8rem;
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
      }

      .project-list-simple {
        display: grid;
        gap: 0.9rem;
        margin-top: 1.4rem;
      }

      .project-simple-title {
        font-size: 0.9rem;
        font-weight: 500;
      }

      /* Certificates */
      .certificates-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.2rem;
      }

      .certificate-card {
        background: radial-gradient(
          circle at top left,
          rgba(15, 23, 42, 0.88),
          rgba(15, 23, 42, 0.98)
        );
        border: 1px solid rgba(148, 163, 184, 0.32);
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 16px 40px rgba(2, 6, 23, 0.95);
        transition:
          transform var(--transition-fast),
          box-shadow var(--transition-fast),
          border-color var(--transition-fast);
      }

      .certificate-card:hover {
        transform: translateY(-4px);
        border-color: rgba(56, 189, 248, 0.55);
        box-shadow: 0 24px 50px rgba(15, 23, 42, 0.98);
      }

      .certificate-image-btn {
        position: relative;
        width: 100%;
        border: none;
        padding: 0;
        background: #020617;
        cursor: pointer;
        overflow: hidden;
      }

      .certificate-image {
        width: 100%;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        display: block;
        transition: transform 0.35s ease;
      }

      .certificate-image-btn:hover .certificate-image {
        transform: scale(1.04);
      }

      .certificate-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(
          to top,
          rgba(2, 6, 23, 0.88),
          rgba(2, 6, 23, 0.18)
        );
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 0.6rem;
        padding: 1rem;
        color: #fff;
        font-size: 0.85rem;
        opacity: 0;
        transition: opacity var(--transition-fast);
      }

      .certificate-image-btn:hover .certificate-overlay,
      .certificate-image-btn:focus-visible .certificate-overlay {
        opacity: 1;
      }

      .certificate-content {
        padding: 1rem 1rem 1.1rem;
      }

      .certificate-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.8rem;
        margin-bottom: 0.55rem;
      }

      .certificate-title {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.2rem;
      }

      .certificate-issuer {
        font-size: 0.82rem;
        color: var(--muted);
      }

      .certificate-badge {
        flex-shrink: 0;
        font-size: 0.72rem;
        padding: 0.26rem 0.65rem;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.55);
        background: rgba(15, 23, 42, 0.95);
        color: var(--text);
      }

      .certificate-text {
        font-size: 0.87rem;
        color: var(--muted);
        margin-bottom: 0.9rem;
      }

      .certificate-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.7rem;
      }

      /* Timeline */
      .timeline {
        border-left: 1px dashed rgba(148, 163, 184, 0.6);
        margin-left: 0.4rem;
        padding-left: 1.5rem;
        display: grid;
        gap: 1.1rem;
      }

      .timeline-item {
        position: relative;
      }

      .timeline-dot {
        position: absolute;
        left: -1.6rem;
        top: 0.35rem;
        width: 11px;
        height: 11px;
        border-radius: 999px;
        background: #38bdf8;
        box-shadow: 0 0 0 8px rgba(56, 189, 248, 0.22);
      }

      .timeline-title {
        font-weight: 500;
        margin-bottom: 0.1rem;
        font-size: 0.95rem;
      }

      .timeline-meta {
        font-size: 0.78rem;
        color: var(--muted);
        margin-bottom: 0.35rem;
      }

      .timeline-meta span {
        margin-right: 0.6rem;
      }

      .timeline-list {
        font-size: 0.86rem;
        color: var(--muted);
        list-style: disc;
        padding-left: 1.1rem;
      }

      .timeline-list li {
        margin-bottom: 0.22rem;
      }

      /* Education + languages */
      .edu-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        gap: 1.4rem;
      }

      .edu-item {
        margin-bottom: 0.8rem;
      }

      .edu-title {
        font-size: 0.95rem;
        font-weight: 500;
      }

      .edu-meta {
        font-size: 0.8rem;
        color: var(--muted);
      }

      .lang-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.5rem;
      }

      .lang-pill {
        font-size: 0.8rem;
        padding: 0.25rem 0.7rem;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.6);
        background: rgba(15, 23, 42, 0.9);
        color: #e5e7eb;
      }

      /* Contact */
      .contact-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr);
        gap: 1.5rem;
        align-items: stretch;
      }

      .contact-list {
        font-size: 0.9rem;
        color: var(--muted);
        display: grid;
        gap: 0.55rem;
      }

      .contact-list div {
        display: flex;
        align-items: center;
        gap: 0.6rem;
      }

      .contact-list i {
        width: 18px;
        color: var(--accent);
      }

      footer {
        max-width: 1120px;
        margin: 0 auto;
        padding: 1.7rem 1.5rem 2.4rem;
        font-size: 0.78rem;
        color: var(--muted);
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.7rem;
        border-top: 1px solid rgba(148, 163, 184, 0.35);
        margin-top: 3rem;
      }

      footer span {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
      }

      footer i {
        color: #f97316;
      }

      /* Scroll reveal */
      .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition:
          opacity 0.7s ease-out,
          transform 0.7s ease-out;
      }

      .reveal.visible {
        opacity: 1;
        transform: translateY(0);
      }

      /* Certificate Modal */
      .certificate-modal {
        position: fixed;
        inset: 0;
        z-index: 999;
        display: none;
      }

      .certificate-modal.active {
        display: block;
      }

      .certificate-modal-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(2, 6, 23, 0.82);
        backdrop-filter: blur(8px);
      }

      .certificate-modal-dialog {
        position: relative;
        width: min(92vw, 980px);
        max-height: 88vh;
        margin: 4vh auto;
        background: linear-gradient(
          to bottom right,
          rgba(15, 23, 42, 0.98),
          rgba(15, 23, 42, 0.96)
        );
        border: 1px solid rgba(148, 163, 184, 0.35);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
        z-index: 2;
      }

      .certificate-modal-close {
        position: absolute;
        top: 0.9rem;
        right: 0.9rem;
        width: 42px;
        height: 42px;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.95);
        border: 1px solid rgba(148, 163, 184, 0.45);
        color: var(--text);
        display: grid;
        place-items: center;
        cursor: pointer;
        z-index: 3;
      }

      .certificate-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding: 1rem 1rem 0;
        padding-right: 4.2rem;
      }

      .certificate-modal-header h3 {
        font-size: 1rem;
        font-weight: 600;
      }

      .certificate-modal-body {
        padding: 1rem;
        max-height: calc(88vh - 76px);
        overflow: auto;
      }

      .certificate-modal-body img {
        width: 100%;
        height: auto;
        border-radius: 14px;
        border: 1px solid rgba(148, 163, 184, 0.22);
        background: #0f172a;
      }

      /* Responsive */
      @media (max-width: 960px) {
        .nav-links {
          display: none;
        }
        .hamburger {
          display: flex;
        }
        .badge-cta {
          display: none;
        }

        .hero {
          grid-template-columns: minmax(0, 1fr);
          margin-top: 1.6rem;
        }
        .hero-right {
          order: -1;
        }

        .projects-grid {
          grid-template-columns: minmax(0, 1fr);
        }
        .edu-grid,
        .contact-grid {
          grid-template-columns: minmax(0, 1fr);
        }
      }

      @media (max-width: 768px) {
        .certificate-top {
          flex-direction: column;
          align-items: flex-start;
        }

        .certificate-modal-dialog {
          width: min(94vw, 980px);
          margin: 3vh auto;
          max-height: 92vh;
        }

        .certificate-modal-header {
          flex-direction: column;
          align-items: flex-start;
          padding-right: 1rem;
        }

        .certificate-modal-body {
          max-height: calc(92vh - 120px);
        }
      }

      @media (max-width: 640px) {
        main {
          padding-inline: 1.1rem;
        }

        .hero-actions {
          flex-direction: column;
          align-items: flex-start;
          gap: 0.7rem;
        }

        .profile-photo-wrapper {
          width: 130px;
          height: 130px;
          margin-top: -25px;
        }

        .nav {
          padding-inline: 1.1rem;
        }
      }

      @media (max-width: 540px) {
        .certificate-content {
          padding: 0.95rem;
        }

        .certificate-actions {
          flex-direction: column;
          align-items: stretch;
        }

        .certificate-actions .btn-primary,
        .certificate-actions .btn-ghost,
        .certificate-modal-header .btn-primary,
        .hero-actions .btn-primary,
        .hero-actions .btn-ghost {
          justify-content: center;
          width: 100%;
        }

        .certificate-modal-close {
          top: 0.7rem;
          right: 0.7rem;
          width: 38px;
          height: 38px;
        }

        .pill {
          margin-left: 0;
        }
      }
      .company-name {
        color: #00d4ff;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 6px;
        background: rgba(0, 212, 255, 0.12);
        border: 1px solid rgba(0, 212, 255, 0.35);
        white-space: nowrap;
      }


      .company-link {
    text-decoration: none;
    color: inherit;
}

.company-link:hover .company-name {
    text-decoration: underline;
}


.nav-logo a {
    color: white;
    text-decoration: none;
}





/* =========================================
   RITESH CLOUDOPS - YOUTUBE SECTION
========================================= */

.youtube-section {
  position: relative;
  overflow: hidden;
}


/* =========================================
   SECTION HEADER
========================================= */

.youtube-header {
  margin-bottom: 1.4rem;
}


/* =========================================
   MAIN CONTAINER
========================================= */

.youtube-container {
  display: grid;

  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(320px, 0.85fr);

  gap: 1.5rem;

  align-items: stretch;
}


/* =========================================
   LEFT CONTENT
========================================= */

.youtube-content {
  position: relative;

  padding: 1.6rem;

  border-radius: 18px;

  background:
    radial-gradient(
      circle at top left,
      rgba(56, 189, 248, 0.16),
      rgba(15, 23, 42, 0.98) 55%
    );

  border: 1px solid rgba(56, 189, 248, 0.35);

  box-shadow:
    0 20px 50px rgba(2, 6, 23, 0.9);

  overflow: hidden;
}


/* Decorative glow */

.youtube-content::before {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  top: -90px;
  right: -90px;

  background: rgba(34, 197, 94, 0.12);

  border-radius: 50%;

  filter: blur(40px);

  pointer-events: none;
}


/* =========================================
   CHANNEL LABEL
========================================= */

.youtube-label {
  display: inline-flex;

  align-items: center;

  gap: 0.45rem;

  padding: 0.3rem 0.75rem;

  border-radius: 999px;

  background: rgba(239, 68, 68, 0.1);

  border: 1px solid rgba(239, 68, 68, 0.35);

  color: #ffeaea;

  font-size: 0.72rem;

  font-weight: 600;

  letter-spacing: 0.08em;

  margin-bottom: 0.8rem;
}


.youtube-label i {
  font-size: 0.95rem;

  color: #ef4444;
}


/* =========================================
   LEFT TITLE
========================================= */

.youtube-content h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);

  line-height: 1.25;

  margin-bottom: 0.8rem;

  max-width: 600px;
}


.youtube-content h3 span {
  background:
    linear-gradient(
      to right,
      #38bdf8,
      #22c55e
    );

  -webkit-background-clip: text;

  background-clip: text;

  color: transparent;
}


/* =========================================
   LEFT DESCRIPTION
========================================= */

.youtube-content p {
  font-size: 0.88rem;

  color: var(--muted);

  max-width: 700px;

  margin-bottom: 0.8rem;

  line-height: 1.7;
}


/* =========================================
   STUDY WITH ME BRAND
========================================= */

.withme {
  color: #ff3030;
}


/* =========================================
   DEVOPS TOPICS
========================================= */

.youtube-topics {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 0.55rem;

  margin: 1.2rem 0 1.3rem;
}


.youtube-topic {
  display: flex;

  align-items: center;

  gap: 0.45rem;

  padding: 0.55rem 0.65rem;

  border-radius: 10px;

  background: rgba(15, 23, 42, 0.75);

  border: 1px solid rgba(148, 163, 184, 0.28);

  color: #dbeafe;

  font-size: 0.72rem;

  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}


.youtube-topic:hover {
  transform: translateY(-2px);

  border-color: rgba(56, 189, 248, 0.7);

  background: rgba(30, 41, 59, 0.9);
}


.youtube-topic i {
  color: var(--accent);

  font-size: 0.85rem;

  width: 16px;

  text-align: center;
}


/* =========================================
   VISIT CHANNEL BUTTON
========================================= */

.youtube-subscribe-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.55rem;

  padding: 0.65rem 1.1rem;

  border-radius: 999px;

  background: #ef4444;

  border: 1px solid #ef4444;

  color: white;

  font-size: 0.82rem;

  font-weight: 600;

  text-decoration: none;

  box-shadow:
    0 10px 30px rgba(239, 68, 68, 0.25);

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}


.youtube-subscribe-btn:hover {
  transform: translateY(-2px);

  background: #dc2626;

  box-shadow:
    0 16px 35px rgba(239, 68, 68, 0.4);

  text-decoration: none;
}


.youtube-subscribe-btn i:first-child {
  font-size: 1rem;
}


/* =========================================
   RIGHT YOUTUBE CARD WRAPPER
========================================= */

.youtube-card-wrapper {
  display: flex;

  align-items: center;

  justify-content: center;

  min-width: 0;
}


/* =========================================
   RIGHT YOUTUBE CARD

   IMPORTANT:
   FLEX-DIRECTION COLUMN
   MAKES ICON TOP + CENTER
========================================= */

.youtube-card {
  position: relative;

  width: 100%;

  min-height: 100%;

  border-radius: 18px;

  overflow: hidden;

  border: 1px solid rgba(239, 68, 68, 0.45);

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(239, 68, 68, 0.2),
      rgba(15, 23, 42, 0.98) 55%
    );

  box-shadow:
    0 20px 50px rgba(2, 6, 23, 0.95);

  /* IMPORTANT */

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: flex-start;

  text-align: center;

  padding: 2.5rem 1.4rem 2rem;

  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast);
}


.youtube-card:hover {
  transform: translateY(-5px);

  border-color: rgba(239, 68, 68, 0.8);
}


/* =========================================
   CARD RED GLOW
========================================= */

.youtube-card-glow {
  position: absolute;

  width: 200px;
  height: 200px;

  top: -100px;

  left: 50%;

  transform: translateX(-50%);

  background: rgba(239, 68, 68, 0.2);

  border-radius: 50%;

  filter: blur(50px);

  pointer-events: none;
}


/* =========================================
   YOUTUBE ICON
   TOP + CENTER
========================================= */

.youtube-icon {
  position: relative;

  width: 78px;
  height: 78px;

  /* CENTER */

  margin: 0 auto 1.2rem;

  display: grid;

  place-items: center;

  flex-shrink: 0;

  border-radius: 22px;

  background: #ef4444;

  color: white;

  font-size: 2.5rem;

  box-shadow:
    0 15px 35px rgba(239, 68, 68, 0.35);

  animation:
    youtubeFloat 3s ease-in-out infinite;
}


@keyframes youtubeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }

}


/* =========================================
   CARD CONTENT
========================================= */

.youtube-card-content {
  position: relative;

  z-index: 2;

  width: 100%;

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;
}


/* =========================================
   SMALL TITLE
========================================= */

.youtube-small-title {
  display: block;

  color: #9ca3af;

  font-size: 0.68rem;

  letter-spacing: 0.16em;

  margin-bottom: 0.45rem;
}


/* =========================================
   CARD TITLE
========================================= */

.youtube-card h4 {
  font-size: 2rem;

  line-height: 1.05;

  margin-bottom: 0.45rem;
}


/* StudyWithMe red */

.youtube-card h4 .withme {
  color: #ef4444;
}


/* DevOps Engineer */

.devops-title {

  background: linear-gradient(to right, #38bdf8, #22c55e);
   webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}



/* =========================================
   CARD DESCRIPTION
========================================= */

.youtube-card p {
  color: var(--muted);

  font-size: 0.8rem;

  margin-bottom: 1.1rem;
}


/* =========================================
   TECHNOLOGY TAGS
========================================= */

.youtube-tools {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 0.4rem;

  margin-bottom: 1.2rem;

  max-width: 310px;
}


.youtube-tools span {
  padding: 0.25rem 0.55rem;

  border-radius: 999px;

  background: rgba(15, 23, 42, 0.9);

  border: 1px solid rgba(148, 163, 184, 0.35);

  color: #dbeafe;

  font-size: 0.68rem;

  transition:
    border-color var(--transition-fast),
    transform var(--transition-fast);
}


.youtube-tools span:hover {
  border-color: rgba(239, 68, 68, 0.7);

  transform: translateY(-2px);
}


/* =========================================
   WATCH BUTTON
========================================= */

.youtube-watch-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.45rem;

  padding: 0.6rem 1rem;

  border-radius: 999px;

  border: 1px solid rgba(239, 68, 68, 0.5);

  background: rgba(239, 68, 68, 0.08);

  color: #ffffff;

  font-size: 0.78rem;

  font-weight: 500;

  text-decoration: none;

  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}


.youtube-watch-btn:hover {
  background: #ef4444;

  color: white;

  transform: translateY(-2px);

  text-decoration: none;
}


/* =========================================
   RESPONSIVE - 960PX
========================================= */

@media (max-width: 960px) {

  .youtube-container {
    grid-template-columns: 1fr;
  }


  .youtube-card-wrapper {
    min-height: 360px;
  }


  .youtube-card {
    min-height: 360px;
  }


  .youtube-topics {
    grid-template-columns:
      repeat(4, minmax(0, 1fr));
  }

}


/* =========================================
   RESPONSIVE - 768PX
========================================= */

@media (max-width: 768px) {

  .youtube-container {
    gap: 1rem;
  }


  .youtube-content {
    padding: 1.3rem;
  }


  .youtube-topics {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .youtube-card-wrapper {
    min-height: 330px;
  }


  .youtube-card {
    min-height: 330px;

    padding:
      2.2rem
      1.2rem
      1.8rem;
  }

}


/* =========================================
   RESPONSIVE - 540PX
========================================= */

@media (max-width: 540px) {

  .youtube-content {
    padding: 1.1rem;
  }


  .youtube-content h3 {
    font-size: 1.45rem;
  }


  .youtube-topics {
    grid-template-columns: 1fr;
  }


  .youtube-topic {
    padding: 0.6rem 0.7rem;
  }


  .youtube-subscribe-btn {
    width: 100%;
  }


  .youtube-card {
    min-height: 350px;

    padding:
      1.8rem
      1rem
      1.5rem;
  }


  .youtube-icon {
    width: 70px;

    height: 70px;

    font-size: 2.2rem;

    border-radius: 20px;

    margin-bottom: 1rem;
  }


  .youtube-card h4 {
    font-size: 1.7rem;
  }


  .youtube-small-title {
    font-size: 0.62rem;
  }

}

.studyWithMe{
  color: white;
}
.project-links {
  margin-top: 20px;
}

.project-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.project-button:hover {
  transform: translateY(-2px);
}