:root {
  --bg: #09111f;
  --bg-soft: #10192c;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #cfd3db;
  --accent: #7cc7ff;
  --accent-2: #9b8cff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  --radius: 24px;
  --radius-sm: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
main {
  padding-bottom: 6rem;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
  font-size: 85%;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(124, 199, 255, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(155, 140, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #09111f 0%, #0d1728 40%, #09111f 100%);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  max-width: 950px;
}

.narrow {
  max-width: 850px;
}

.section {
  padding: 2.1rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 17, 31, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

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

.nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

.hero {
  padding-top: 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.photo-card,
.info-row,
.experience-card,
.simple-item,
.project-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-card {
  width: 78%; 
  max-width: 300px;
  aspect-ratio: 4/5;
  margin: 0 auto; 

  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.01rem;
}
.hero-img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.photo-placeholder,
.logo-placeholder,
.media-placeholder,
.project-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
}

.photo-placeholder {
  width: 100%;
  min-height: 360px;
  font-size: 1.1rem;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.logo-img {
  width: 130px;      /* adjust size here */
  height: 130px;
  object-fit: contain;
  background: white;      /* 👈 creates white perimeter */
  padding: 12px;          /* 👈 space around logo */
  border-radius: 16px;    /* 👈 soft rounded corners */
}

.hero-content h1,
.project-title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.1;
  padding-bottom: 0.2em;
  margin-bottom: 1rem;
}

.hero-text {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

.center-text {
  margin: 0 auto;
  text-align: center;
}

.hero-buttons {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;   /* 👈 space between icon and text */
  
  /* min-height: 46px;
  padding: 0.85rem 1.2rem; */
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #09111f;
  font-weight: 700;
  border: none;
  box-shadow: var(--shadow);
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
  min-height: 40px;
}
.experience-media {
  min-height: 220px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
/* .experience-logo {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience-media a:hover .experience-logo {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
} */
.experience-logo-ccgp {
  width: 100%;
  max-width: 260px;
  max-height: 260px;
  /* margin-top: 78px; */
  height: auto;
  object-fit: contain;
  display: block;
  background: white;
  padding: 12px;
  aspect-ratio: 1 / 0.88;
  border-radius: 16px;
  transition: 
    transform 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
    
}
.experience-logo-glucose-ml {
  width: 100%;
  max-width: 260px;
  max-height: 260px;
  /* margin-top: 78px; */
  height: auto;
  object-fit: contain;
  display: block;
  background: white;
  padding: 10px;
  aspect-ratio: 1 / 0.88;
  border-radius: 16px;
  transition: 
    transform 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
    
}
.btn:hover {
  transform: scale(1.04);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #09111f;
  box-shadow:     
    0 0 10px rgba(124, 199, 255, 0.4),
    0 0 20px rgba(124, 199, 255, 0.3),
    0 0 30px rgba(124, 199, 255, 0.2);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn i {
  font-size: 1.2rem;
  order:2;
}

.experience-content .btn {
  margin-top: 1.2rem;
  margin-left: auto;   /* 👈 pushes it to the right */
  display: flex;
}
.experience-content {
  display: flex;
  flex-direction: column;
}
.experience-content .btn i,
.experience-content .btn {
  transition: transform 0.2s ease;
}

.experience-content .btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #09111f;
  box-shadow:     
    0 0 10px rgba(124, 199, 255, 0.4),
    0 0 20px rgba(124, 199, 255, 0.3),
    0 0 30px rgba(124, 199, 255, 0.2);
}
.section-heading {
  margin-bottom: 1.5rem;
  /* padding-left: 0.9rem; */
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.info-list,
.experience-stack,
.simple-list {
  display: grid;
  gap: 1.4rem;
}

.info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.4rem;
  padding: 1.4rem;
  align-items: center;
}

.info-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-placeholder {
  width: 140px;
  height: 140px;
}

.info-content h3,
.experience-content h3,
.simple-item h3,
.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.45rem;
}
.experience-content h3 {
  font-size: 2.2rem; /* Changes the fontsize of "Work Experience" title */
}

.project-summary {
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.project-subheading {
  font-size: 1.25rem; /* Changes the fontsize of "What I do..." title */
  font-weight: 600;
  margin: 0.6rem 0 0.4rem;
  color: var(--text);
}

.project-list {
  padding-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.meta {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.info-content p:last-child,
.simple-item p,
.project-card p {
  color: var(--muted);
}

.author-highlight {
  font-weight: 700;
  color: var(--accent);
}

.experience-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem;
}

.experience-card-reverse {
  grid-template-columns: 1fr 260px;
}

.experience-card-reverse .experience-media {
  order: 2;
}

.experience-card-reverse .experience-content {
  order: 1;
}

.media-placeholder {
  min-height: 220px;
  padding: 1rem;
}

.experience-content ul {
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.55rem;
}

.simple-item {
  padding: 1.3rem 1.4rem;
}

.simple-item h3 a:hover {
  color: var(--accent);
}
.simple-item p {
  color: var(--muted);
  font-size: 1.05rem;   /* 👈 increase this */
  line-height: 1.7;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.project-card {
  padding: 1.4rem;
}

.project-card p {
  margin-bottom: 1rem;
}

.project-visual {
  min-height: 220px;
  padding: 1rem;
}

.reveal-up,
.reveal-left {
  visibility: hidden;
}

@media (max-width: 700px) {
  .hero-grid,
  .info-row,
  .experience-card,
  .experience-card-reverse,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .experience-card-reverse .experience-media,
  .experience-card-reverse .experience-content {
    order: initial;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(16, 25, 44, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }
}


.logo-link {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip {
  position: absolute;
  top: 110%;   /* above the logo */
  left: 50%;
  transform: translateX(-50%) translateY(-4px) scale(0.95);
  
  background: rgba(0, 0, 0, 0.85);
  color: white;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

/* Show on hover */
.logo-link:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px) scale(1);
}


.project-hero {
  padding-bottom: .5rem;  /* reduce from default */
}
/* THIS IS THE BEGGINING OF THE GLUCOSE-ML.HTML*/
.project-hero-text {
  max-width: 70ch;
}

.left-heading {
  margin-bottom: 1rem;
}

.left-heading h2 {
  text-align: left;
}

.project-detail-grid {

  display: grid;
  grid-template-columns: 300px 1fr;
  
  gap: 2rem;
  align-items: start;
}

.project-detail-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-text-block {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  max-width: 110ch;

  padding: 0 0 0 1.4rem;
  border-left: 4px solid var(--accent);
}

.project-detail-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  background: transparent;   /* 👈 removes dark bubble */
  border: none;              /* 👈 removes outline */
  box-shadow: none;          /* 👈 removes glow */
}

.project-detail-logo {
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
  display: block;
  background: white;
  padding: 12px;
  border-radius: 16px;
}
.project-detail-media {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.project-detail-content {
  padding: 1.6rem;
}

.project-text-block {
  padding: 0 0 0 1.4rem;
}

.project-detail-content p,
.project-text-block p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
}

.project-detail-content p + p,
.project-text-block p + p {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .project-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Dropdown container */

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown > a {
  display: flex;
  align-items: center;
  padding: 0.45rem 0.65rem;
  border-radius: 10px 10px 0 0;
}

.dropdown:hover > a {
  background: rgba(16, 25, 44, 0.98);
  color: var(--text);
}

.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;

  width: 100%;        /* match Work Experience tab width */
  min-width: 100%;    /* prevent wider default */

  padding: 0.6rem 0;

  background: rgba(16, 25, 44, 0.98);
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow);

  flex-direction: column;
  z-index: 3000;
  transition: all 0.1s ease;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  padding: 0.55rem 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}



/* THIS IS THE BEGGINING OF THE CCGP.HTML*/
.ccgp-detail-logo {
  margin-top: 30px;   /* tweak this value */
  margin-left: 15px;
  margin-right: -10px;
  max-width: 250px;
  max-height: 250px;
  height: auto;
  object-fit: contain;
  display: block;
  background: white;
  padding: 12px;
  border-radius: 16px;
  
}

/* .ccgp-project-title{
  font-size: clamp(2.6rem, 4vw, 4.8rem);
  text-align: center;
} */
.ccgp-detail-logo + .project-links {
  margin-left: 15px;
}
.ccgp-project-title {
  font-size: clamp(3.2rem, 5.5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-align: center;

  max-width: 18ch;
  margin: 0 auto 1.2rem;

  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 4px 20px rgba(124, 199, 255, 0.25);
}


.ccgp-subtitle {
  margin-top: 0.5rem;
  font-size: 1.2rem;
  color: var(--muted);
  opacity: 0.85;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.glucose-ml-detail-logo {
  margin-top: 50px;   /* tweak this value */
  max-width: 310px;
  max-height: 310px;
  margin-right: -10px;
  height: auto;
  object-fit: contain;
  display: block;
  background: white;
  padding: 12px;
  border-radius: 16px;
}

.glucose-ml-project-title {
  font-size: clamp(3.2rem, 5.5vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-align: center;

  max-width: 18ch;
  margin: 0 auto 1.2rem;

  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 4px 20px rgba(124, 199, 255, 0.25);
}

/* PROJECT LINKS UNDER LOGOS */
.project-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  max-width: 260px;
  align-items: flex-start;
  text-align: left;
}

.project-links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;

  padding: 0.18rem 0.6rem;
  background: rgba(255, 255, 255, 0.035);           /* remove pill */
  border: none;               /* remove outline */

  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;

  transition: color 0.13s ease, transform 0.12s ease;
}

.project-links a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--accent);
  color: var(--text);
  transform: translateX(4px);
}


.link-icon-small,
.project-links i {
  width: 30px;
  height: 30px;
  font-size: 28px;

  display: flex;
  align-items: center;
  justify-content: center;
}


.right-align {
  display: flex;
  justify-content: flex-end;
}



/* Projects.html */

.projects-page-grid {
  display: grid;
  gap: 3.5rem;
}

.portfolio-project-card {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: center;

  padding: 0 0 3rem 1.5rem;
  border-left: 4px solid var(--accent);
  border-bottom: 1px solid var(--line);
}

.portfolio-project-card:last-child {
  border-bottom: none;
}

.portfolio-project-content h2 {
  font-size: 1.9rem;
  margin-bottom: 0.7rem;
}

.project-description {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 75ch;
  margin-bottom: 0.7rem;
}

.project-tech {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.portfolio-project-image {
  width: 100%;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.portfolio-project-image img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

@media (max-width: 800px) {
  .portfolio-project-card {
    grid-template-columns: 1fr;
  }

  .portfolio-project-image {
    order: -1;
  }
}
.portfolio-project-image a {
  display: block;
  width: 100%;
}

.portfolio-project-image img {
  cursor: zoom-in;
}

.portfolio-project-image img {
  transition: transform 0.25s ease;
}

.portfolio-project-image img:hover {
  transform: scale(1.55);
  z-index: 10;
  position: relative; /* 10% bigger */
}
.portfolio-project-image {
  overflow: visible;
  position: relative;
  z-index: 1;
}

/* .portfolio-project-image img:hover {
  transform: scale(1.7);
  z-index: 10;
  position: relative;
} */

.projects-cta,
.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);

  padding: 1.6rem 1.8rem;
}

.projects-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin-bottom: 0.7rem;
}

.projects-cta p:last-child {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 75ch;
}

.projects-cta .btn {
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .projects-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}


.contact-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin-bottom: 0.7rem;
}

.contact-cta p:last-child {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 75ch;
}

.contact-cta .btn {
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .contact-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.mini-cta-card {
  /* min-height: 320px; */

  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);

  padding: 1.7rem;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mini-cta-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

/* My digital portfolio / My email */
.mini-cta-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.mini-cta-card .btn {
  margin-top: 1.4rem;
  align-self: flex-end;
}

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

  .mini-cta-card {
    min-height: auto;
  }
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.glucose-icon {
  width: 24px;
  height: 24px;
  transform: translateX(1.1px) scale(1.1);
}
.glucose-row {
  display: flex;
  align-items: center;
  gap: 0.46rem;

  transform: translateX(-3px);  /* 👈 moves BOTH icon + text */
}

.ccgp-icon {
  width: 20px;
  height: 20px;

}
