/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }





  body {
    font-family: 'Poppins', sans-serif;
    color: #f5f5f5;
    line-height: 1.6;
    scroll-behavior: smooth;
  
    /* Background: gradient + deep black */
    background:
      radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.15), transparent 40%),
      radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.12), transparent 45%),
      #06060a;
  
    /* Sticky footer layout */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  /* Optional: subtle grain texture on top */
  body::before {
    content: none;            /* sit behind all content */
  }
  
  
/* Dark overlay above the video, below your page content */
.bg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65); /* Increased from 0.45 → 0.65 for darker look */
  z-index: -1;
  pointer-events: none;
}


  /* Tabbed sections */
.tab-section { display: none; }
.tab-section.active { display: block; }

/* Optional: highlight active menu item */
.menu a.active { text-decoration: underline; }
  







  /* Topbar */
  .topbar {
    background-color: #0c0f1c;
    color: #fff;
    padding: 5px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;            /* <-- changed from 'sticky' to 'fixed' */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);

  /* New line: subtle white separator */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    
  }
  
  /* Left: Logo */
  .topbar .logo {
    font-size: 22px;
    font-weight: 600;
    flex: 1;
  }
  
  /* Center: Menu */
  .topbar .menu {
    flex: 2;
    display: flex;
    justify-content: center;
    gap: 30px;
  }
  .topbar .menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
  }
  .topbar .menu a i {
    margin-right: 6px;
  }
  .topbar .menu a:hover {
    color: #1ed760;
  }
  



  /* Right: Social Icons */
  .topbar .socials {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
  }
  .topbar .socials a {
    color: #fff;
    font-size: 18px;
    transition: color 0.3s, transform 0.2s;
  }
  .topbar .socials a:hover {
    color: #1ed760;
    transform: scale(1.2);
  }











/*Social Media Buttons Stu*/








main {
  flex: 1 0 auto;   /* take all remaining height between header and footer */
  padding: 0;
}

section {
  margin-bottom: 0px;
  
}

section h1 {
  font-size: 28px;
  color: #a855f7;
  margin-bottom: 10px;
}

section p {
  font-size: 16px;
  color: #ccc;
}

/* Container for the 2 hero buttons */
.lets-talk-btn {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Base hero button */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;

  border: 1px solid transparent;
  transition: background 0.25s ease,
              color 0.25s ease,
              border-color 0.25s ease,
              transform 0.18s ease,
              box-shadow 0.22s ease;
}

.hero-btn i {
  font-size: 1rem;
}

/* Primary = filled gradient (Explore My Work) */
.hero-btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #0b1120;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(34, 197, 94, 0.45);
}

/* Secondary = dark outline (Download Resume) */
.hero-btn-secondary {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.7);
}

.hero-btn-secondary:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: #e5e7eb;
}

/* Optional ghost variant if you ever add it back */
.hero-btn-ghost {
  background: #0f172a;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.4);
}

.hero-btn-ghost:hover {
  background: #111827;
  border-color: rgba(248, 250, 252, 0.9);
}

/* Desktop: force one line */
@media (min-width: 900px) {
  .lets-talk-btn {
    flex-wrap: nowrap;
  }
}

/* === PROFILE CARD CTA BUTTON === */

.profile-cta {
  margin-top: 22px;
}

/* Big solid rounded rectangle "Let’s Talk" button */
.profile-cta-btn {
  display: block;
  width: 100%;
  text-align: center;

  padding: 10px 0;            /* height of the button */
  border-radius: 10px;        /* big rounded corners */

  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;

  color: #ffffff;
  background-color: #a855f7;  /* single purple */
  border: none;
  box-shadow: 0 16px 40px rgba(88, 28, 135, 0.5);

  transition: transform 0.18s ease,
              box-shadow 0.22s ease,
              background-color 0.25s ease;
}

.profile-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(88, 28, 135, 0.8);
  background-color: #9333ea;  /* slightly darker on hover */
}

/* Responsive topbar (unchanged) */
@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar .menu {
    margin-top: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .topbar .socials {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .topbar .menu a,
  .topbar .socials a {
    font-size: 14px;
  }
}

@keyframes bounceDown {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}









/* === ABOUT / HERO SECTION — FULL SCREEN === */

:root {
  --navbar-height: 80px;
  --type-section-title: clamp(1.9rem, 2.6vw, 2.2rem);
  --type-card-title: 1.25rem;
  --type-subtitle: 0.95rem;
  --type-body: 0.95rem;
  --type-small: 0.78rem;
  --line-title: 1.3;
  --line-body: 1.68;
  --spacing-title-subtitle: 8px;
  --spacing-subtitle-body: 12px;
  --spacing-body-tags: 16px;
}

#about {
  position: relative;
  min-height: calc(100vh - var(--navbar-height));
  padding-top: 100px;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
}

.about-flex-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}


/* left = profile card (40%), right = text (60%) */
/* left = profile card (35%), right = text (65%) */
.about-right,
.about-left {
  flex: 0 0 auto;
}

/* TEXT COLUMN — 65% */
.about-left {
  flex-basis: 65%;
  max-width: 65%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 0;
}

/* PROFILE COLUMN — 35% */
.about-right {
  display: flex;
  justify-content: flex-start;
  max-width: 35%;
  align-self: center;
  margin-top: 0;
  margin-bottom: 0;
}
.about-left .headline {
  margin-top: 0;
  margin-bottom: 14px;
}

.headline-primary {
  font-size: 2.2rem;
  font-weight: 800;
}

.headline-secondary {
  font-size: 1.8rem;
  font-weight: 700;
  color: #e5e7eb;
}

.domain-label {
  margin-top: 4px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.description {
  margin-top: 0;
  max-width: 620px;
  font-size: var(--type-body);
  line-height: var(--line-body);
  color: #d1d5db;
  text-align: justify;
  margin-bottom: 0;
}

.contact-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  font-size: 0.9rem;
}

.contact-row a {
  color: #e5e7eb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-row i {
  font-size: 0.9rem;
  color: #a855f7;
}

/* === HERO STATS === */

.about-stats {
  margin-top: 28px;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* big number with + sign */
.stat-number {
  position: relative;
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1;
  color: #f9fafb;
  letter-spacing: 0.03em;
}

.stat-number.is-counting {
  animation: statPulse 0.55s ease-in-out 2;
}

/* two-line label under number */
.stat-label {
  font-size: var(--type-small);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.5;
  color: #e5e7eb;
  max-width: 180px;
}

@keyframes statPulse {
  0% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(139, 92, 246, 0);
  }
  50% {
    transform: scale(1.05);
    text-shadow: 0 0 22px rgba(139, 92, 246, 0.28);
  }
  100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(139, 92, 246, 0);
  }
}

/* responsive stats */
@media (max-width: 900px) {
  .about-stats {
    gap: 40px;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .about-stats {
    justify-content: center;
  }
  .stat-item {
    align-items: center;
    text-align: center;
  }
}

/* === PROFILE CARD === */

.profile-card {
  text-align: center;
  width: 100%;
  max-width: 300px;  /* smaller card */
  background: radial-gradient(circle at top, #111827, #020617 70%);
  border-radius: 28px;
  padding: 20px 20px 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.profile-photo img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.profile-info {
  margin-top: 16px;
}

.profile-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.profile-role {
  margin-top: 4px;
  font-size: 0.9rem;
  color: #d1d5db;
}

.profile-subtitle {
  margin-top: 8px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #94a3b8;
}

.profile-location {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #9ca3af;
}

.profile-social {
  margin: 22px 0 12px;
  padding-bottom: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;   /* horizontally center icons */
  align-items: center;       /* vertically center */
}

.profile-social a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.25s ease, border-color 0.25s ease,
              transform 0.2s ease;
}

.profile-social a:hover {
  background: #a855f7;
  border-color: #c4b5fd;
  transform: translateY(-2px);
}

/* === RESPONSIVE LAYOUT FOR ABOUT === */

@media (max-width: 900px) {
  #about {
    min-height: calc(100vh - var(--navbar-height));
    padding-top: 80px;
    padding-bottom: 0;
    align-items: center;
    justify-content: center;
  }

  .about-flex-container {
    flex-direction: column;
    gap: 24px;
    padding: 0 24px;
  }

  /* stack: full width for both columns on mobile */
  .about-left,
  .about-right {
    flex-basis: 100%;
    max-width: 100%;
  }

  .about-right {
    justify-content: center;
  }

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

  .description {
    text-align: center;
  }

  .headline-primary {
    font-size: 2.4rem;
  }

  .headline-secondary {
    font-size: 1.8rem;
  }

  .about-stats {
    justify-content: center;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .about-stats {
    justify-content: center;
  }

  .stat-item {
    align-items: center;
    text-align: center;
  }
}
/* Experience scroll */
.experience-brands {
  padding: 18px 0 0;
  
}

.brands-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.brands-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #e5e7eb;
  margin-bottom: 0px;
}

.brands-slider {
  position: relative;
  overflow: hidden;
  width: 85%;
  padding: 18px 0;
}

/* Row that actually moves */
.brands-track {
  display: flex;
  align-items: center;
  gap: 50px;
  width: max-content;                 /* width = content, not container */
  animation: brands-scroll 24s linear infinite;
}

/* Company logos in hero marquee */
.brands-track img {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-logo-gmu {
  height: 48px;
  max-width: 220px;
  filter: brightness(1.28) contrast(1.08);
}

.brand-logo-cigna {
  height: 44px;
}

.brand-logo-wipro {
  height: 58px;
  max-width: 120px;
}

/* Hover: only small lift + shadow */
.brands-track img:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

/* Move exactly one full set (half of the track: 2 sets total) */
@keyframes brands-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .brands-title {
    text-align: center;
  }
  .brands-track {
    gap: 40px;
  }
}





































/* =========================
   PROJECTS SECTION
   ========================= */

#projects {
  padding: 88px 80px;
  color: #f8fafc;
}

.projects-hero {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.projects-kicker {
  margin: 0 0 10px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #94a3b8;
}

.section-heading {
  margin: 0;
  font-size: var(--type-section-title);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  color: #f8fafc;
}

#projects .section-heading {
  font-size: clamp(1.75rem, 2.3vw, 2rem);
  line-height: 1.16;
}

.project-intro-subtext {
  margin: 10px 0 0;
  text-align: center;
  font-size: var(--type-body);
  line-height: var(--line-body);
  color: #cbd5e1;
}

.featured-experience-shell {
  margin-top: 6px;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(180deg, rgba(16, 22, 38, 0.94), rgba(11, 16, 29, 0.9));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02), 0 22px 52px rgba(34, 197, 94, 0.06);
}

.featured-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.featured-work-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-work-card {
  padding: 0;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15, 18, 32, 0.98), rgba(9, 13, 25, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.32);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.featured-work-card:hover,
.project-card:hover {
  transform: scale(1.015);
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.12);
  border-color: rgba(148, 163, 184, 0.28);
}

.featured-work-card::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: linear-gradient(105deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 255, 255, 0.03) 49%,
    rgba(148, 163, 184, 0.08) 52%,
    rgba(255, 255, 255, 0.03) 56%,
    transparent 64%,
    transparent 100%);
  transform: translate3d(42%, 0, 0);
  animation: featured-card-sheen 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.featured-work-card > * {
  position: relative;
  z-index: 2;
}

.featured-work-image img {
  width: 100%;
  height: 172px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.featured-work-body {
  padding: 18px 18px 20px;
}

.featured-work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.featured-work-org,
.featured-work-metric {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: var(--type-small);
  font-weight: 600;
}

.featured-work-org {
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
}

.featured-work-metric {
  background: rgba(148, 163, 184, 0.12);
  color: #e2e8f0;
}

.featured-work-title {
  margin: 0 0 var(--spacing-subtitle-body);
  font-size: var(--type-card-title);
  line-height: var(--line-title);
  font-weight: 600;
  color: #f8fafc;
}

.featured-work-description {
  margin: 0;
  color: #cbd5e1;
  font-size: var(--type-body);
  line-height: var(--line-body);
}

@keyframes featured-card-sheen {
  0%,
  18% {
    transform: translate3d(44%, 0, 0);
  }

  48% {
    transform: translate3d(-44%, 0, 0);
  }

  100% {
    transform: translate3d(-44%, 0, 0);
  }
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.project-filter-btn {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.72);
  color: #dbe4f0;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: var(--type-subtitle);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.project-filter-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.24);
}

.project-filter-btn.is-active {
  border-color: rgba(34, 197, 94, 0.55);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.24), rgba(22, 163, 74, 0.16));
  color: #ecfdf5;
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.16);
}

.projects-library {
  margin-top: 56px;
}

.projects-library-header {
  margin-bottom: 22px;
}

.projects-library-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 700;
  color: #f8fafc;
}

.projects-library-subtitle {
  margin: 10px 0 0;
  max-width: 760px;
  font-size: var(--type-body);
  line-height: var(--line-body);
  color: #94a3b8;
}

.project-group + .project-group {
  margin-top: 30px;
}

.project-group {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.22s ease, transform 0.22s ease, margin 0.22s ease;
}

.project-group-header {
  margin-bottom: 14px;
}

.project-group-kicker {
  margin: 0 0 6px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

.project-group-title {
  margin: 0;
  font-size: 1.12rem;
  line-height: var(--line-title);
  font-weight: 600;
  color: #f8fafc;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: #0f1220;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.project-preview {
  position: relative;
  overflow: hidden;
}

.project-lock {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.project-lock a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.project-lock a i {
  font-size: 22px;
  line-height: 1;
}

.project-lock a:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.72);
  border-color: rgba(255, 255, 255, 0.28);
}

.project-card:hover .project-lock {
  opacity: 1;
  transform: translateY(0);
}

.project-preview img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.project-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}

.project-title {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: var(--line-title);
}

.project-description {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.72);
  color: #dbe4f0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.project-group.is-collapsed {
  opacity: 0;
  transform: scale(0.985);
  pointer-events: none;
}

.project-group.is-hidden {
  display: none;
}

@media (max-width: 1100px) {
  .featured-work-grid-three,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-work-image img {
    height: 164px;
  }
}

@media (max-width: 900px) {
  #projects {
    padding: 72px 24px;
  }

  #projects .section-heading {
    font-size: clamp(1.6rem, 6vw, 1.9rem);
  }

  .featured-experience-shell {
    padding: 22px;
  }

  .featured-work-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .featured-work-grid {
    gap: 18px;
  }

  .featured-work-image img {
    height: 180px;
  }

  .featured-work-body {
    padding: 18px;
  }

  .projects-library {
    margin-top: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-work-card::before {
    animation: none;
    transform: translate3d(0, 0, 0);
    opacity: 0.35;
  }

  .featured-work-card,
  .project-card {
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
  }
}














/* ===========================
   SKILLS & SERVICES SECTION
=========================== */

#skills {
  padding: 80px 80px;
  color: #e5e7eb;
  position: relative;
  z-index: 1;
}

#skills .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Section heading + intro */
#skills .section-heading {
  text-align: center;
  margin-bottom: 6px;
}


#skills .intro-subtext {
  text-align: center;
  font-size: var(--type-body);
  line-height: var(--line-body);
  color: #cbd5e1;
  margin: 0 auto 28px;
  max-width: 760px;
}

/* Grid of cards */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

/* Individual skill card */
.skill-card {
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #020617 100%);
  border-radius: 16px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
              border-color 0.22s ease, background 0.22s ease;
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(248, 250, 252, 0.25);
  box-shadow:
    0 20px 55px rgba(15, 23, 42, 0.95),
    0 0 24px rgba(168, 85, 247, 0.35);
  background: radial-gradient(circle at top left, #111827 0, #020617 60%);
}

/* Card header: icon + title */
.skill-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.skill-card-header h3 {
  font-size: var(--type-card-title);
  line-height: var(--line-title);
  font-weight: 600;
  color: #f9fafb;
}

/* Icon chip */
.icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0,
              rgba(248, 250, 252, 0.9),
              rgba(168, 85, 247, 0.6));
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.55);
  color: #020617;
}

.icon-wrapper i {
  font-size: 18px;
}

/* Description */
.skill-card-text {
  font-size: var(--type-body);
  color: #cbd5e1;
  margin-bottom: 12px;
  line-height: var(--line-body);
}

/* Pills list */
.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-list-grouped {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.skill-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
}

.skill-item {
  font-size: var(--type-small);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, border-color 0.2s ease,
              transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-item:hover {
  background: radial-gradient(circle at top, #1e293b 0, #020617 70%);
  border-color: rgba(96, 165, 250, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.55);
}

.skill-list-grouped .skill-item {
  white-space: normal;
}


/* ===========================
   Additional skills row
=========================== */

.additional-skills {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(30, 64, 175, 0.4);
}

.additional-skills h4 {
  font-size: var(--type-subtitle);
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 10px;
}

.additional-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* reuse .skill-item for pills */

/* ===========================
   Responsive tweaks
=========================== */

@media (max-width: 992px) {
  #skills {
    padding: 70px 40px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #skills {
    padding: 60px 22px;
  }
  
  #skills .section-heading {
    font-size: 26px;
  }
  
  .skill-card {
    padding: 16px 14px 18px;
  }

  .skill-row {
    flex-wrap: wrap;
  }
}



















/* ========================
   Certificates Section
======================== */

#certificates {
  color: #f1f1f1;
  padding: 80px 80px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

#certificates .container {
  text-align: center;
}

#certificates .section-heading {
  text-align: center;
}

#certificates .section-subtext {
  text-align: center;
  font-size: var(--type-body);
  line-height: var(--line-body);
  color: #cbd5e1;
  margin-top: 14px;
}

/* ========================
   Featured certificate row
======================== */

.featured-cert-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 28px;
}

.featured-card {
  flex: 1.4;
  min-width: 280px;
  background: radial-gradient(circle at top left, #1e293b 0%, #020617 55%);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.4);
  text-align: left;
}

.featured-title {
  font-size: var(--type-card-title);
  line-height: var(--line-title);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--spacing-subtitle-body);
}

.featured-text {
  margin-bottom: 12px;
  font-size: var(--type-body);
  color: #d1d5db;
  line-height: var(--line-body);
}

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: var(--type-subtitle);
  color: #e5e7eb;
  margin-bottom: 12px;
}

.featured-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.featured-pill {
  background-color: #0f172a;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: var(--type-small);
  color: #e2e8f0;
  border: 1px solid rgba(96, 165, 250, 0.55);
}

.featured-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f9fafb;
  color: #020617;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.45);
}

.featured-link i {
  font-size: 12px;
}

/* Badge image */
.cert-image {
  flex: 1;
  text-align: center;
  min-width: 240px;
}

.cert-image img {
  width: 100%;
  max-width: 260px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55);
  animation: floatEffect 3s ease-in-out infinite;
}

@keyframes floatEffect {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* ========================
   Carousel
======================== */

.cert-carousel-wrapper {
  --gap: 1.6rem;
  position: relative;
  margin-top: 24px;
  padding-bottom: 46px;
}

.certification-scroll {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0;
  margin-top: 10px;
  scrollbar-width: none;
}
.certification-scroll::-webkit-scrollbar { display: none; }

/* Cards – 5 per row on desktop */
.cert-card {
  flex: 0 0 calc((100% - (var(--gap) * 4)) / 5);
  box-sizing: border-box;
  background: #0f172a;
  border-radius: 14px;
  text-decoration: none;
  color: #f9fafb;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.85);
}

.cert-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  display: block;
}

.cert-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
  text-align: center;
}

.cert-card p {
  font-size: 13px;
  color: #9ca3af;
  text-align: center;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.9);
  box-shadow: 0 22px 45px rgba(37, 99, 235, 0.55);
}

/* Arrows */
.cert-nav-buttons {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 10px;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #020617;
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-btn:hover {
  background: #38bdf8;
  color: #020617;
  box-shadow: 0 0 12px #38bdf8;
}

/* ========================
   Responsive
======================== */

@media (max-width: 992px) {
  #certificates {
    padding: 70px 40px;
  }
  .cert-card {
    flex-basis: calc((100% - (var(--gap) * 2)) / 3); /* 3 across */
  }
}

@media (max-width: 768px) {
  .featured-cert-wrapper {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .featured-card {
    padding: 18px 18px;
  }
}

@media (max-width: 680px) {
  #certificates {
    padding: 60px 24px;
  }
  .cert-card {
    flex-basis: calc((100% - var(--gap)) / 2);       /* 2 across */
  }
}

@media (max-width: 480px) {
  .cert-card {
    flex-basis: 100%;                                /* 1 across */
  }
}









/* === Experience Section Layout === */

#experience {
  padding: 80px 7%;
  color: #f5f5f5;
  font-family: "Poppins", sans-serif;
  scroll-margin-top: 92px;
}

.experience-overview {
  max-width: 860px;
  margin: 26px auto 12px;
  padding: 0 24px;
  text-align: center;
}

.experience-counter {
  margin-bottom: 0;
}

.experience-counter-value {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #60a5fa 0%, #8b5cf6 55%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 28px rgba(124,58,237,0.18);
}

.experience-counter-label {
  margin: 8px 0 8px;
  font-size: var(--type-subtitle);
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-counter-subtext {
  margin: 0;
  font-size: var(--type-body);
  line-height: var(--line-body);
  color: #cbd5e1;
}

.career-timeline {
  max-width: 980px;
  margin: 18px auto 56px;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.career-timeline-step {
  opacity: 0;
  will-change: transform, opacity;
}

.career-timeline.is-visible .career-timeline-step:nth-child(1) {
  animation: timeline-rise 0.7s ease forwards;
  animation-delay: 0.05s;
}

.career-timeline.is-visible .career-timeline-step:nth-child(2) {
  animation: timeline-arrow-slide 0.55s ease forwards;
  animation-delay: 0.45s;
}

.career-timeline.is-visible .career-timeline-step:nth-child(3) {
  animation: timeline-pop 0.65s ease forwards;
  animation-delay: 0.85s;
}

.career-timeline.is-visible .career-timeline-step:nth-child(4) {
  animation: timeline-arrow-slide 0.55s ease forwards;
  animation-delay: 1.2s;
}

.career-timeline.is-visible .career-timeline-step:nth-child(5) {
  animation: timeline-pop 0.7s ease forwards;
  animation-delay: 1.55s;
}

.career-timeline-item {
  flex: 0 1 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.career-timeline-item:hover {
  transform: translateY(-4px) scale(1.02);
}

.career-logo-shell {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(124,58,237,0.18);
  box-shadow: 0 0 24px rgba(59,130,246,0.08);
  margin-bottom: 16px;
}

.career-timeline-logo {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.career-timeline-copy {
  max-width: 220px;
}

.career-timeline-company {
  margin: 0 0 6px;
  font-size: var(--type-subtitle);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f8fafc;
}

.career-total-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: var(--type-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f5f3ff;
  background: linear-gradient(90deg, rgba(96,165,250,0.22), rgba(139,92,246,0.28));
  border: 1px solid rgba(167,139,250,0.35);
  box-shadow: 0 0 18px rgba(124,58,237,0.18);
  vertical-align: middle;
}

.career-timeline-duration {
  margin: 0 0 8px;
  font-size: var(--type-subtitle);
  font-weight: 600;
  color: #c4b5fd;
}

.career-timeline-summary {
  margin: 0;
  font-size: var(--type-body);
  line-height: var(--line-body);
  color: #cbd5e1;
}

.career-timeline-arrow {
  flex: 0 0 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 40px;
}

.career-timeline-line {
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, rgba(59,130,246,0.2), rgba(139,92,246,0.85));
  box-shadow: 0 0 16px rgba(124,58,237,0.28);
}

.career-timeline-arrowhead {
  font-size: 1.05rem;
  color: #8b5cf6;
  text-shadow: 0 0 16px rgba(139,92,246,0.35);
}

.career-timeline-item.current-role .career-logo-shell {
  width: 104px;
  height: 104px;
  border-color: rgba(124,58,237,0.34);
  box-shadow: 0 0 30px rgba(124,58,237,0.16);
}

.career-timeline-item.current-role .career-timeline-company,
.career-timeline-item.current-role .career-timeline-duration {
  color: #e9d5ff;
}

@keyframes timeline-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes timeline-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes timeline-arrow-slide {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 380px);
  column-gap: 20px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  justify-content: center;
}

.experience-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.experience-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: center;
}

.experience-entry {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 22px;
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 14px;
  background: rgba(255,255,255,0.01);
  box-shadow: 0 0 25px rgba(124,58,237,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(6px);
}

.experience-entry-primary {
  border: 1px solid rgba(124,58,237,0.28);
  box-shadow: 0 0 28px rgba(124,58,237,0.1);
}

.experience-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 0;
}

.experience-entry:hover {
  transform: translateY(-4px);
}

.experience-header {
  width: 100%;
}

.experience-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.experience-header-left {
  flex: 1 1 auto;
  min-width: 0;
}

.experience-header-right {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
}

.experience-role {
  margin: 0;
  font-size: var(--type-card-title);
  font-weight: 700;
  line-height: var(--line-title);
  color: #f8fafc;
  margin-bottom: 4px;
  text-align: left;
}

.exp-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 6px 0 0;
  font-size: var(--type-subtitle);
  color: rgba(255,255,255,0.7);
  gap: 18px;
  width: 100%;
}

.exp-duration {
  text-align: right;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.exp-company {
  text-align: left;
  font-weight: 500;
}

.exp-duration span {
  color: #8b5cf6;
  font-weight: 500;
}

.experience-story {
  margin: 0;
  color: #dbe4f0;
  font-size: var(--type-body);
  line-height: var(--line-body);
  text-align: justify;
}

.experience-story-wrap {
  margin-top: 12px;
  width: 100%;
}

.experience-story-wrap.collapsed {
  max-height: 8.9em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, white 75%, transparent);
  mask-image: linear-gradient(to bottom, white 75%, transparent);
}

.experience-story-wrap.expanded {
  max-height: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.read-more-btn {
  margin-top: 12px;
  background: transparent;
  border: none;
  padding: 0;
  color: #7c3aed;
  cursor: pointer;
  font-weight: 500;
  font-size: var(--type-subtitle);
  opacity: 1;
  transition: letter-spacing 0.2s ease, opacity 0.2s ease, color 0.2s ease;
  align-self: flex-start;
}

.read-more-btn:hover {
  letter-spacing: 0.5px;
  opacity: 0.8;
  color: #a78bfa;
}

/* Skill badges row (re-using your icon-skills style) */

.icon-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  justify-content: flex-start;
}

.skill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0b1220;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: var(--type-small);
  color: #e2e8f0;
  border: 1px solid #1e293b;
}

.skill-badge i {
  font-size: 16px;
}

/* LinkedIn button */

.linkedin-btn-container {
  text-align: center;
  margin: 2.2rem 0 0.5rem;
}

.experience-linkedin-btn {
  margin: 32px 0 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  background: #f2f3f5;
  color: #0f1115;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06),
              0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease,
              background 0.15s ease,
              box-shadow 0.2s ease;
}

.pill-btn:hover {
  background: #e7e9ee;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* Responsive */

@media (max-width: 900px) {
  #experience {
    padding: 60px 5%;
  }

  .experience-overview {
    margin: 24px auto 12px;
    padding: 0 12px;
  }

  .career-timeline {
    margin: 28px auto 44px;
    padding: 0 12px;
    gap: 10px;
  }

  .career-timeline-item {
    flex-basis: 210px;
  }

  .career-logo-shell {
    width: 88px;
    height: 88px;
  }

  .career-timeline-item.current-role .career-logo-shell {
    width: 94px;
    height: 94px;
  }

  .career-timeline-arrow {
    flex-basis: 60px;
  }

  .career-timeline-line {
    width: 36px;
  }
}

@media (max-width: 768px) {
  .experience-counter-value {
    font-size: 2.7rem;
  }

  .experience-counter-label {
    font-size: 0.9rem;
  }

  .experience-counter-subtext {
    font-size: 0.86rem;
  }

  .career-timeline {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin: 28px auto 40px;
  }

  .career-timeline-arrow {
    flex: none;
    padding-top: 0;
    flex-direction: column;
    gap: 6px;
  }

  .career-timeline-line {
    width: 1px;
    height: 34px;
    background: linear-gradient(180deg, rgba(59,130,246,0.2), rgba(139,92,246,0.85));
  }

  .career-timeline-arrowhead {
    line-height: 1;
    transform: rotate(90deg);
  }

  .experience-layout {
    padding: 0;
  }

  .experience-role {
    font-size: 1.28rem;
  }

  .exp-meta {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .exp-duration {
    text-align: left;
  }

  .experience-story {
    text-align: left;
  }
}

















/* ========================
   Certificates Section
======================== */

#certificates {
  color: #f1f1f1;
  padding: 80px 80px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

#certificates .container {
  text-align: center;
}

#certificates .section-heading {
  text-align: center;
}

#certificates .section-subtext {
  text-align: center;
  font-size: var(--type-body);
  line-height: var(--line-body);
  color: #cbd5e1;
  margin-top: 14px;
}

/* Tag chip */
.Cert-tag {
  background-color: #1e293b;
  color: #60a5fa;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: var(--type-small);
  margin-bottom: 12px;
  font-weight: 600;
  box-shadow: 0 0 8px #3b82f6;
  animation: shineGlow 2.5s infinite ease-in-out;
  transition: all 0.3s ease-in-out;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
}

/* Simple shine animation re-use */
@keyframes shineGlow {
  0%, 100% { box-shadow: 0 0 6px #3b82f6; }
  50%      { box-shadow: 0 0 14px #60a5fa; }
}

/* ========================
   Featured certificate row
======================== */




.featured-cert-wrapper .featured-card .featured-card-body .featured-text {
  text-align: justify;
  margin-bottom: 12px;
  font-size: var(--type-body);
  color: rgb(209, 213, 219);
  line-height: var(--line-body);
}

.featured-cert-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 28px;
}

.featured-card {
  flex: 1.4;
  min-width: 280px;
  background: radial-gradient(circle at top left, #1e293b 0%, #020617 55%);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.4);
  text-align: left;
}

.featured-title {
  font-size: var(--type-card-title);
  line-height: var(--line-title);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--spacing-subtitle-body);
}

.featured-text {
  margin-bottom: 12px;
  font-size: var(--type-body);
  color: #d1d5db;
  line-height: var(--line-body);
}

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: var(--type-subtitle);
  color: #e5e7eb;
  margin-bottom: 12px;
}

.featured-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.featured-pill {
  background-color: #0f172a;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: var(--type-small);
  color: #e2e8f0;
  border: 1px solid rgba(96, 165, 250, 0.55);
}

.featured-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f9fafb;
  color: #020617;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.featured-link i {
  font-size: 12px;
}

.featured-link:hover {
  transform: translateY(-1px);
  background: #e5e7eb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.6);
}

/* Badge image */
.cert-image {
  flex: 1;
  text-align: center;
  min-width: 240px;
}

.cert-image img {
  width: 100%;
  max-width: 310px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55);
  animation: floatEffect 3s ease-in-out infinite;
}

@keyframes floatEffect {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* ========================
   Carousel
======================== */

.cert-carousel-wrapper {
  --gap: 1.6rem;
  position: relative;
  margin-top: 24px;
  padding-bottom: 46px;
}

.certification-scroll {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0;
  margin-top: 10px;
  scrollbar-width: none;
}
.certification-scroll::-webkit-scrollbar { display: none; }

/* Cards – 5 per row on desktop */
.cert-card {
  flex: 0 0 calc((100% - (var(--gap) * 4)) / 5);
  box-sizing: border-box;
  background: #0f172a;
  border-radius: 14px;
  text-decoration: none;
  color: #f9fafb;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.85);
}

.cert-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  display: block;
}

.cert-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
  text-align: center;
}

.cert-card p {
  font-size: 13px;
  color: #9ca3af;
  text-align: center;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.9);
  box-shadow: 0 22px 45px rgba(37, 99, 235, 0.55);
}

/* Arrows */
.cert-nav-buttons {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 10px;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #020617;
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-btn:hover {
  background: #38bdf8;
  color: #020617;
  box-shadow: 0 0 12px #38bdf8;
}

/* ========================
   Responsive
======================== */

@media (max-width: 992px) {
  #certificates {
    padding: 70px 40px;
  }
  .cert-card {
    flex-basis: calc((100% - (var(--gap) * 2)) / 3); /* 3 across */
  }
}

@media (max-width: 768px) {
  .featured-cert-wrapper {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .featured-card {
    padding: 18px 18px;
  }
}

@media (max-width: 680px) {
  #certificates {
    padding: 60px 24px;
  }
  .cert-card {
    flex-basis: calc((100% - var(--gap)) / 2);       /* 2 across */
  }
}

@media (max-width: 480px) {
  .cert-card {
    flex-basis: 100%;                                /* 1 across */
  }
}







/* ========================
   Publications Section
======================== */

#publications {
  position: relative;
  padding: 80px 80px;
  overflow: hidden;
  z-index: 1;
}

/* Main layout: 2 columns */
.pub-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 30px;
  flex-wrap: wrap;
}

.pub-main {
  flex: 1.4;
  min-width: 320px;
}

.pub-side {
  flex: 1;
  min-width: 280px;
  background: #0b1220;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

/* Titles & meta */
.pub-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
  line-height: 1.4;
  text-align: left;
}

.pub-conference {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 16px;
  line-height: 1.6;
  text-align: left;
}

/* Buttons row */
.pub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.pub-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #f1f5f9;
  color: #020617;
  font-weight: 600;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.pub-button i {
  font-size: 13px;
}

.pub-button:hover {
  background: #6c3baa;
  color: #ffffff;
  border-color: #a855f7;
  transform: translateY(-1px);
}

/* ghost style second button */
.pub-button.ghost {
  background: transparent;
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.5);
}
.pub-button.ghost:hover {
  background: #0f172a;
}

/* Paragraphs */
.pub-description {
  font-size: 14px;
  line-height: 1.7;
  color: #e5e7eb;
  margin-bottom: 12px;
  text-align: justify;
}

/* Skill / topic tags */
.pub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pub-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  background: #020617;
  color: #e2e8f0;
  border: 1px solid #1f2937;
}

.pub-tag i {
  font-size: 12px;
}

/* Award side card */
.award-title {
  font-size: 18px;
  font-weight: 700;
  color: #f97316;
  margin-bottom: 6px;
}

.award-meta {
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 14px;
  line-height: 1.6;
}

/* ========================
   Award Images – FLEX TILES
======================== */

.award-images {
  display: flex;
  flex-wrap: nowrap;      /* always side-by-side */
  gap: 12px;
  margin-top: 14px;
  justify-content: center;
  align-items: stretch;
}

.award-image {
  flex: 1 1 48%;          /* share the row */
  max-width: 200px;       /* keeps them from exploding */
  width: 100%;
  border-radius: 12px;
  border: 1px solid #1f2937;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.8);
  background-color: #020617;
  padding: 6px;
  object-fit: contain;
  height: auto;
}

/* On very small screens */
@media (max-width: 640px) {
  .award-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ========================
   Scroll Fade Animation
======================== */

.scroll-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   Responsive
======================== */

@media (max-width: 992px) {
  #publications {
    padding: 60px 32px;
  }
}

@media (max-width: 768px) {
  .pub-layout {
    flex-direction: column;
  }
  .pub-side {
    margin-top: 10px;
  }
}

@media (max-width: 640px) {
  #publications {
    padding: 50px 20px;
  }

  .pub-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  /* stack certificates full-width on very small screens */
  .award-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
}











/* =======================
   CONTACT SECTION
======================= */

#contact {
  padding: 80px 80px;
  color: #f1f1f1;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

#contact::before {
  content: none;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Title block */
.contact-title-block {
  text-align: center;
  margin-bottom: 28px;
}

.contact-intro {
  font-size: 16px;
  color: #cbd5e1;
  margin: 12px auto 0;
  max-width: 640px;
}

/* Main two-column grid */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

/* Base card style */
.contact-card {
  flex: 1 1 48%;
  background: radial-gradient(circle at top left, #1e293b, #020617);
  border-radius: 18px;
  padding: 24px 26px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(15, 23, 42, 0.9);
}

/* Pills above headings */
.contact-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #22c55e1a;
  color: #bbf7d0;
  margin-bottom: 10px;
}

.contact-pill.pill-outline {
  background: transparent;
  border: 1px solid #38bdf8;
  color: #bae6fd;
}

/* LEFT CARD: profile */
.contact-name {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-role {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 18px;
}

/* Details list */
.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a855f7;
  border: 1px solid #1f2937;
  flex-shrink: 0;
}

.detail-text {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #6b7280;
}

.detail-value {
  font-size: 14px;
  color: #e5e7eb;
}

.detail-value a {
  color: inherit;
}

/* Make email/phone links clickable but clean */
.contact-details a {
  color: #e5e7eb;
  text-decoration: none;
}
.contact-details a:hover {
  color: #a855f7;
}

/* Small blurb text */
.contact-blurb {
  font-size: 14px;
  color: #94a3b8;
  margin: 14px 0 18px;
  text-align: justify;
}

/* Availability row */
.availability-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.15);
  color: #bbf7d0;
  font-size: 13px;
  margin-bottom: 18px;
}

.green-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

/* Social icons */
.contact-socials {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}

.contact-socials a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #020617;
  border: 1px solid #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  text-decoration: none;
  transition: all 0.25s ease;
}

.contact-socials a:hover {
  color: #f97316;
  border-color: #f97316;
  transform: translateY(-1px);
}

/* RIGHT CARD: form */
.contact-form-card {
  position: relative;
}

.contact-form-title {
  font-size: 20px;
  font-weight: 600;
  margin: 4px 0 4px;
}

.contact-form-subtitle {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 16px;
}

/* Form layout */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.form-field {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}

.form-field.full-width {
  flex: 1 1 100%;
}

.contact-form label {
  font-size: 12px;
  color: #cbd5e1;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  background: #020617;
  border-radius: 8px;
  border: 1px solid #1f2937;
  font-size: 14px;
  color: #e5e7eb;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6b7280;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px #0ea5e9;
}

/* Footer row: hint + button */
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.form-hint {
  font-size: 12px;
  color: #9ca3af;
}

/* Submit button */
.contact-submit {
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-image: linear-gradient(90deg, #3b82f6, #a855f7);
  color: #f9fafb;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.contact-submit i {
  font-size: 13px;
}

.contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(59, 130, 246, 0.45);
}

/* =======================
   Responsive
======================= */

@media (max-width: 992px) {
  #contact {
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  #contact {
    padding: 60px 24px;
  }

  .contact-grid {
    flex-direction: column;
  }

  .contact-card {
    flex: 1 1 100%;
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-submit {
    align-self: flex-end;
  }
}

@media (max-width: 480px) {
  #contact {
    padding: 50px 18px;
  }

  .form-row {
    flex-direction: column;
  }

  .contact-submit {
    width: 100%;
    justify-content: center;
  }
}












  /* ----- FOOTER (Corrected & Responsive) ----- */
  .site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0c0f1c;
    text-align: center;
    padding: 0px 0;
    z-index: 999;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  body { padding-bottom: 120px; }
  

.site-footer p {
  margin: 4px 0;
  font-size: 14px;
  color: #cbd5e1;
}

.site-footer p:first-of-type {
  font-size: 13px;
  font-weight: 500;
  color: #f1f5f9;
}
