/* Design system*/
:root {
  --text-color: #1a1a1a;
  --bg-color: #ffffff;
  --primary-btn: #1a1a1a;
  --primary-btn-text: #ffffff;
  --secondary-btn: #f5f5f5;
  --lime-accent: #0F5D41;
  --purple-accent:#0077B6;
  --navy-accent: #222A71;
  --light-blue-bg: #D2EEFD;
  --pink: #F08CA2;
  --raspberry:  #510122;
  --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.subheader {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(26, 26, 26, 0.6);
  margin-bottom: 1rem;
  animation: fadeUpIn 1s ease forwards;
}


h1 {
  font-weight: 500;
  font-size: 3.2rem;
  letter-spacing: -0.02em;
  margin: 0;
  animation: fadeUpIn 1.2s ease 0.2s forwards;
  opacity: 0;
  max-width: 1100px;
}

/* --- Responsive --- */
@media (max-width: 425px) {
  h1 { 
    font-size: 2.1rem;}
}


h2 {
  font-size: 2.5rem;
  font-weight: 500;
  margin: 1rem 0;
  letter-spacing: -0.02em;
}

@media (max-width: 425px) {
  h2 { 
    font-size: 1.9rem !important;
  }

  h3{
    font-size: 1.4rem !important;
  }
}

h3 {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 1rem 0;
  letter-spacing: -0.02em;
}


h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 0.6rem 0;
  display: flex;
  align-items: center;
  transition: color 0.4s ease;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Manrope', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.bodycopy {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(26, 26, 26, 0.7);
  max-width: 900px;
  animation: fadeUpIn 1.2s ease 0.4s forwards;
  opacity: 0;
  padding: 0px;
  margin:0px;
}

/* --- Responsive --- */
@media (max-width: 425px) {
  .bodycopy { 
    font-size: .9rem;
    line-height: 1.4;
}}


.bodycopylarge {
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 900px;
  color: rgba(26, 26, 26, 0.7);
  animation: fadeUpIn 1.2s ease 0.4s forwards;
  padding: 0;
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 425px) {
  .bodycopylarge { 
    font-size: 1.2rem;
    line-height: 1.55;
}}



.bodycopysmall{
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  line-height: 1.3;
  color: rgba(26, 26, 26, 0.7);
  max-width: 900px;
  animation: fadeUpIn 1.2s ease 0.4s forwards;
  opacity: 0;
  padding: 0px;
  margin:0px;
}


.intro-buttons {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  animation: fadeUpIn 1.2s ease 0.6s forwards;
  opacity: 0;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .intro-buttons { 
   display:grid;
}}

.btn {
  padding: 1.2rem 2.6rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary { 
  background-color: var(--primary-btn); 
  color: var(--primary-btn-text); 
}

.btn-secondary { 
  background-color: var(--secondary-btn); 
  color: var(--text-color); 
}

.btn-icon {
  width: 0;
  height: 20px;
  opacity: 0;
  transition: 0.4s ease;
  margin-left: 0;
}

.btn:hover .btn-icon { 
  width: 20px; 
  opacity: 1; 
  margin-left: 12px; 
}

/* Utility Spacing */
.spacing-12 { height: 12px; }
.spacing-16 { height: 16px; }
.spacing-24 { height: 24px; }
.spacing-36 { height: 36px; }
.spacing-48 { height: 48px; }
.spacing-2rem {height: 2rem;}
.spacing-4rem {height: 4rem;}


/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo { 
  text-decoration: none; 
  color: var(--text-color); 
  font-weight: 600; 
  font-size: 1.1rem; 
  margin-top: 6px;
}

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

.nav-item { 
  text-decoration: none; 
  color: rgba(26, 26, 26, 0.6); 
  font-size: 0.95rem; 
  transition: 0.3s; 
}

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

/* --- Layout --- */
.standard-ui { 
  padding-top: 80px; 
}

.centered-content { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 2rem 2rem; 
}

@media (max-width: 425px) {
  .centered-content  { 
    padding: 2rem 1.5rem; }
}


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


/* --- Grouped Interactions --- */
.name-group, .title-group {
  display: inline; /* Changed from inline-flex to inline */
  cursor: pointer;
  white-space: normal; /* Changed from nowrap to allow wrapping */
}
.name-text, .title-text, .location-text {
  transition: var(--transition-smooth);
}

.avatar, .image-stack {
  display: inline-flex; 
  vertical-align: middle;
}

/* Avatar Spin Logic */
.avatar {
  height: 1.15em;
  width: 1.15em;
  margin: 0 8px;
  border-radius: 50%;
  transition: transform 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.name-group:hover .name-text { 
  color: var(--lime-accent); 
}

.name-group:hover .avatar { 
  transform: rotate(360deg); 
}

/* Image Stack & Push Logic */
/* --- Image Stack Logic --- */
.image-stack {
  display: inline-flex;
  position: relative;
  height: 1.4em;
  width: 2.4em; 
  margin: 0 12px;
  transition: var(--transition-smooth);
  vertical-align: middle;
}

/* --- Responsive --- */
@media (max-width: 425px) {
  .image-stack { 
    display: none;
}}

.stack-img {
  position: absolute;
  height: 100%;
  width: 2em;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: var(--transition-smooth);
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.03);
}

/* Specific Z-Indexing to keep the stack orderly */
.stack-img:nth-child(1) { z-index: 4; } /* Top Image */
.peek-1 { z-index: 3; }
.peek-2 { z-index: 2; }
.stack-img:last-child { z-index: 1; } /* Bottom Image */

/* --- The Peeking Animation --- */
@keyframes peekAndTurn {
  0% { transform: translateX(0.4em) rotate(0deg); }
  45% { transform: translateX(.8em) rotate(-5deg); } 
  100% { transform: translateX(0.4em) rotate(0deg); }
}

.img-peek-wrapper {
  position: absolute;
  width: 3em;
  height: 100%;
  transition: var(--transition-smooth);
  animation: peekAndTurn 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Offset the second peeking image slightly so they don't move in perfect unison */
.peek-1 { animation-delay: .65s; }
.peek-2 { animation-delay: 1.25s; }

/* --- Hover "Bloom" for 4 Images --- */
.title-group:hover .image-stack { 
  width: 5.5em; /* Increased width to accommodate 4 images */
}

/* Image 1: Stays Left */
.title-group:hover .stack-img:nth-child(1) { 
  transform: translateX(0) rotate(-4deg); 
}

/* Image 2: Moves slightly right */
.title-group:hover .peek-1 { 
  transform: translateX(.3em) rotate(2deg) !important; 
}

/* Image 3: Moves further right */
.title-group:hover .peek-2 { 
  transform: translateX(1.5em) rotate(-2deg) !important; 
}

/* Image 4: Moves to the end */
.title-group:hover .stack-img:last-child { 
  transform: translateX(2em) rotate(4deg); 
}

.img-2-wrapper {
  position: absolute;
  width: 2.2em;
  height: 100%;
  transition: var(--transition-smooth);
}

.title-group:hover .title-text { 
  color: var(--purple-accent); 
  transform: translateY(-3px); 
}

/* --- Location Interaction --- */
.location-group {
  display: inline;
  align-items: center;
  cursor: pointer;
}

.location-text {
  transition: all 0.4s ease;
}

/* The Cherry Blossom Icon */
.cherry-blossom {
  display: inline-flex;
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.6s ;
  transform: scale(0.8) rotate(-15deg);
  vertical-align: middle;
  margin-top: -15px;
}

/* Hover States */
.location-group:hover .location-text {
  color: #ff85a1; /* Light pink glow color */
}

.location-group:hover .cherry-blossom {
  transform: scale(1.05) rotate(25deg); /* The "Bloom" effect */
}


.location-group:hover .cherry-blossom svg {
  animation: softBloom 2s infinite ease-in-out;
}

.no-break {
  white-space: nowrap;
}


/* --- Work Grid --- */
.section-heading {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 3rem;
  color: var(--text-color);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem 2.5rem;
}

.work-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-image-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f8f8f8;
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Card Content --- */
.card-meta {
  padding-top: 1.5rem;
}


/* The Arrow Icon Trigger */
.card-title::after {
  content: '→';
  font-family: serif; /* For a classic designer look */
  margin-left: 8px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--clay-accent);
}

.card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(26, 26, 26, 0.6);
  margin: 0 0 1.2rem 0;
}

/* --- Tags --- */
/* --- Tag Styling (Outlined) --- */
.tag-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}

.tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  
  /* The Outline Look */
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15); 
  border-radius: 6px;
  color: rgba(0, 0, 0, 0.5);
  
  display: inline-flex;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}


/* --- Interaction: Tags react when the Card is hovered --- */
.work-card:hover .tag:not(.lock-icon) {
  border-color: var(--sage-accent);
  color: var(--sage-accent);
  background-color: rgba(126, 150, 128, 0.05); /* Very subtle sage tint */
}

/* Optional: Individual tag hover if the user mouses directly over them */
.tag:hover {
  border-color: var(--text-color) !important;
  color: var(--text-color) !important;
}

/* --- Hover States --- */
.work-card:hover .card-image-box img {
  transform: scale(1.06);
}

.work-card:hover .card-title {
  color: var(--clay-accent);
}

.work-card:hover .card-title::after {
  opacity: 1;
  transform: translateX(0);
}

/* --- Special Layouts --- */
.half-width { grid-column: span 1; }

.featured-row {
  grid-column: span 2;
  padding-top: 2rem;
}

.square-box {
  aspect-ratio: 1 / 1 !important; /* Forces a perfect square */
  width: 180px !important; /* Fixed width for the featured square */
  flex-shrink: 0;
}

.featured-flex {
  display: flex;
  gap: 2rem;
  align-items: center;
}


/* Adjusting the text side of the featured row */
.featured-flex .card-meta {
  padding-top: 0; /* Centered with the square */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 800px) {
  .featured-flex {
      flex-direction: column;
      align-items: flex-start;
      gap: 2rem;
  }
  
  .square-box {
      width: 100% !important; /* Go back to full width on mobile */
      aspect-ratio: 16 / 10 !important; /* Standardize ratio for mobile scroll */
  }
}


/* --- Mobile --- */
@media (max-width: 800px) {
  .work-grid { grid-template-columns: 1fr; }
  .featured-row { grid-column: span 1; }
  .featured-flex { flex-direction: column; align-items: flex-start; }
  .featured-flex .card-image-box { width: 100%; }
}

/* --- TESTIMONIAL SPLIT-SCREEN SECTION --- */
.testimonial-split-section {
  background-color: var(--light-blue-bg); /* #D2EEFD */
  padding: 0rem 0;
  margin: 6rem 3rem;
  border-radius: 24px;
}

@media (max-width: 425px) {
  .testimonial-split-section {
   margin: 0rem 0rem;
   border-radius: 0px;
  }
}

.testimonial-flex-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
}

/* Left Content Column */
.testimonial-left-content {
  flex: 1;
}

.testimonial-h2 {
  color: var(--navy-accent); /* #222A71 */
}

/* Right Card Column */
.testimonial-right-card {
  flex: 1.2;
  position: relative;
}

.testimonial-main-card {
  background-color: var(--navy-accent); /* #222A71 */
  padding: 2rem 2rem;
  border-radius: 32px;
  position: relative;
  color: var(--light-blue-bg);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 30px 60px rgba(34, 42, 113, 0.2);
  transition: var(--transition-smooth);
}

.testimonial-accent {
  color: var(--purple-accent);
}


.testimonial-cta .btn-primary{
  color: var(--navy-accent); /* #222A71 */
  background-color: transparent;
  margin-top: 1rem;
  border: 1.5px solid var(--navy-accent); 
}

/* Whimsical Quote Mark decoration */
.quote-mark {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-size: 10rem;
  font-family: 'Manrope', serif;
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}

.quote-body {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
  font-weight: 400;
}

/* --- Responsive --- */
@media (max-width: 700px) {
  .quote-body { 
    font-size: 1rem !important;
}}

/* Author Layout within Card */
.quote-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* Allows stacking on small screens */
  gap: 1.2rem;
  margin-top: 2rem;
}

.quote-author-info {
  flex: 1; 
  min-width: 200px; /* Triggers the wrap when space gets tight */
}

.quote-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.quote-author-name {
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
  color: #ffffff;
}

.quote-author-title {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 4px 0 0 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  padding-top: 0; /* Removed the top padding to keep it aligned with text */
}

/* Responsiveness: Center the arrow when it stacks */
@media (max-width: 550px) {
  .quote-footer {
    flex-direction: column;
    align-items: flex-start; /* Keeps text left-aligned */
    gap: 1.5rem;
  }
  
  .testimonial-nav {
    width: 100%;
    justify-content: flex-start; /* Change to 'center' if you want arrow centered on mobile */
  }
}

.next-quote-btn {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 54px;
  height: 54px;
  outline: none;
}

.arrow-icon {
  position: absolute;
  color: var(--light-blue-bg);
  font-size: 1.6rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.next-quote-btn:hover .arrow-icon {
  transform: translateX(6px);
}

/* SVG Circular Progress Loader */
.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring__circle-bg {
  stroke: rgba(210, 238, 253, 0.1);
}

.progress-ring__circle {
  stroke-dasharray: 138.23; /* 2 * PI * Radius of 22 */
  stroke-dashoffset: 138.23;
  transition: stroke-dashoffset 0.1s linear;
  stroke-linecap: round;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 850px) {
  .testimonial-flex-container {
      flex-direction: column;
      align-items: flex-start;
      gap: 4rem;
  }

  .testimonial-h2 {
      font-size: 2.2rem;
      max-width: 100%;
      color: var(--navy-accent); /* #222A71 */
  }

  .testimonial-right-card {
      width: 100%;
  }
}

@media (max-width: 600px) {
  .testimonial-main-card {
      padding: 4rem 2rem;
  }
  
  .quote-body {
      font-size: 1.15rem;
  }

  .testimonial-nav {
      bottom: 2rem;
      right: 2rem;
  }
}


/* --- Carousel Design System Variables --- */
.highlights-section {
  --img-width: 420px;
  --img-height: 350px;
  --gap: 24px;
  --num-images: 8;
  --img-radius: 0px;
  padding-bottom: 0rem; /* Space before footer */
  padding-top: 0;
}

.carousel-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Linear Infinite Scroll Logic */
.carousel-track {
  display: flex;
  gap: var(--gap);
  width: calc((var(--img-width) + var(--gap)) * (var(--num-images) * 2));
  animation: scroll-endless 55s linear infinite;
  will-change: transform;
}

/* Pause on Hover */
.carousel-viewport:hover .carousel-track {
  animation-play-state: paused;
}

.carousel-item {
  width: var(--img-width);
  height: var(--img-height);
  border-radius: var(--img-radius);
  overflow: hidden; 
  flex-shrink: 0;
  cursor: pointer;
  background: #f9f9f9;
}


.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-item:hover img {
  transform: scale(1.05); /* Subtle zoom inward */
}

/* KEYFRAME LOGIC */
@keyframes scroll-endless {
  0% {
      transform: translateX(0);
  }
  100% {
      /* Move exactly the width of one full set of images + their gaps */
      transform: translateX(calc(-1 * (var(--img-width) + var(--gap)) * var(--num-images)));
  }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .highlights-section {
      --img-width: 280px;
      --img-height: 180px;
  }
}

.carousel-viewport.is-draggable {
  cursor: grab;
  user-select: none; /* Prevents text/image selection while dragging */
}

.carousel-viewport.is-active {
  cursor: grabbing;
}

/* We use a class to stop the CSS animation when the user starts dragging */
.carousel-track.paused {
  animation-play-state: paused !important;
}

.carousel-item {
  /* Ensure the link/click works even with the drag logic */
  pointer-events: auto; 
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Footer Styling --- */
.footer-charcoal {
  background-color: #510122;
  color: #FCEBEC;
  padding-top: 3rem;
  margin-top: 8rem;
}

.footer-top-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Vertically centers the button with the text block */
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-top-content {
  flex: 1; /* Allows the text area to grow */
}

.footer-accent {
  color: var(--pink);
  opacity: 1;
}

.footer-text {
  color: rgba(255, 255, 255, 0.6) !important;
  max-width:800px; /* Extended width */
  margin-top: 1.5rem;
}

/* --- Footer Button --- */
.footer-btn-area {
  flex-shrink: 0; /* Prevents the button from squishing */
}

.btn-footer {
  background-color: transparent;
  color: #FCEBEC;
  padding: 1.2rem 2.6rem;
  border-radius: 100px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition-smooth);
  border: 1.5px solid #FCEBEC; 
}


/* --- Divider & Bottom Bar --- */
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-weight: 600;
  font-size: 1.1rem;
}


@media (max-width: 425px) {
  .footer-logo { 
    display: none;
  }
}

.footer-right {
  display: flex;
  gap: 2.5rem;
}

.social-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.social-link:hover {
  color: #ffffff;
  transform: translateY(-3px);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer-top-wrap {
      flex-direction: column;
      align-items: flex-start;
      gap: 2.5rem;
  }
  
  .footer-btn-area {
      width: 100%;
  }
  
  .btn-footer {
      width: 100%;
      box-sizing: border-box;
  }
}

/* --- About page --- */
.hero-split {
  display: flex;
  align-items: center;
  gap: 4rem;
  min-height: 80vh;
}

.hero-content {
  flex: 1.2;
}

.hero-image-container {
  flex: 0.8;
  display: flex;
  justify-content: center;
  animation: fadeUpIn 1.4s ease 0.4s forwards;
  opacity: 0;
}

.image-wrapper {
  position: relative;
  width: 80%;
  max-width: 450px;
  aspect-ratio: 4 / 5;
  background-color: var(--light-blue-bg);
  border-radius: 24px;
  overflow: hidden;
}


.main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}


@media (max-width: 800px) {
  .hero-split {
    flex-direction: column-reverse;
    gap: 3rem;
    padding-top: 4rem;
  }  }
  
  @media (max-width: 800px) {
    .image-wrapper img{ 
      max-width: 250px;
  }
}


  .image-wrapper {
    max-width: 100%;
    aspect-ratio: 1 / 1;
  }


/* --- Out of Office / Green Section --- */
.out-of-office-section {
  background-color: #194133;
  color: #C9F8E5;
}

.hobby-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.hobby-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.5s ease;
}
.hobby-card img { width: 100%; height: 100%; object-fit: cover; }

/* Hobby Hover Reveal */
.hobby-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(25, 65, 51, 0.8);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.hobby-overlay span { font-weight: 600; font-size: 1.2rem; transform: translateY(10px); transition: transform 0.4s ease; }
.hobby-card:hover .hobby-overlay { opacity: 1; }
.hobby-card:hover .hobby-overlay span { transform: translateY(0); }
.hobby-card:hover { transform: scale(1.05); }

/* --- Experience Section --- */
.experience-section-white { background: white; padding: 100px 0; border-top: 1px solid #eee; }
.lr-container { display: grid; grid-template-columns: 0.35fr 0.65fr; max-width: 1200px; margin: 0 auto; gap: 80px; }
.job-item { border-bottom: 1px solid rgba(0,0,0,0.08); padding: 2rem 0; }
.job-header { display: flex; justify-content: space-between; cursor: pointer; }
.job-details { max-height: 0; overflow: hidden; transition: max-height 0.8s ease; }
.job-item.active .job-details { max-height: 800px; margin-top: 1.5rem; }

/* --- Animations --- */
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .hero-split, .lr-container { grid-template-columns: 1fr; }
    .hobby-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Experience Section Core --- */
.experience-section-white {
  background-color: var(--bg-color); /* White */
  color: var(--text-color); /* #1a1a1a */
  padding: 100px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.lr-container {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 3rem;
  align-items: start;
}



/* --- Typography & Labels --- */
.label {
  color: var(--purple-accent); 
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.date-text {
  color: rgba(26, 26, 26, 0.5);
  font-size: 0.9rem;
  margin: 4px 0;
}

.spacing-12 { height: 12px; }

/* --- Accordion Interactions --- */
.job-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2rem 1.5rem;
  transition: var(--transition-smooth);
}

.job-item:hover:not(.no-expand) {
  background-color: var(--secondary-btn); /* #f5f5f5 */
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  cursor: pointer;
}

.plus-icon {
  font-size: 1.5rem;
  color: var(--text-color);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
}

/* Rotate icon when active */
.job-item.active .plus-icon {
  transform: rotate(45deg);
}

/* Expand Logic */
.job-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.job-item.active .job-details {
  max-height: 800px; /* Large enough for content */
  margin-top: 1.5rem;
}

.job-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-details li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  opacity: 0.8;
  position: relative;
  padding-left: 1.5rem;
}

.job-details li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #0F5D41;
  font-weight: bold;
}

/* Static item for Education */
.no-expand .job-header {
  cursor: default;
}

/* --- Skills Section --- */
.skills-section {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile first stack */
  gap: 0;
  width: 100%;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
}

.skill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime-accent); /* Updated to your brand accent */
  flex-shrink: 0;
}

.skill-text {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-color);
}

/* Desktop Responsiveness */
@media (min-width: 798px) {
  .skills-grid {
    grid-template-columns: 1fr 1fr; /* Two-column grid */
    column-gap: 40px;
  }

  /* Keep the vertical flow while side-by-side */
  .skills-column {
    display: flex;
    flex-direction: column;
  }
}

  /* case study - AI*/
        .prompt-box { 
            background: #1C1C1C; 
            padding: 24px; 
            border-radius: 12px; 
            border-left: 4px solid var(--purple-accent); 
            margin-bottom: 16px; 
        }
        .prompt-box span { 
            color: var(--light-blue-bg); 
            font-size: 0.7rem; 
            letter-spacing: 1px; 
            display: block; 
            margin-bottom: 8px; 
            font-weight: 700; 
            text-transform: uppercase;
        }
        .prompt-text { 
            color: #F3F3F3; 
            font-family: "Courier New", monospace; 
            font-size: 0.9rem; 
            line-height: 1.4; 
            display: block; 
            white-space: pre-wrap; 
        }

        /* Legacy Overrides for the Sidebar Layout */
        .sticky-layout-wrapper { display: flex; gap: 60px; align-items: flex-start; }
        .main-content { 
          flex: 1;
         }
         .size-main-content {
           max-width: 800px;
         }
        .sticky-sidebar { width: 200px; position: sticky; top: 120px; }
        
        .anchor-nav ul { list-style: none; padding: 0; }
        .anchor-nav li { margin-bottom: 12px; }
        .anchor-link { 
            text-decoration: none; 
            color: rgba(26, 26, 26, 0.4); 
            font-size: 0.9rem; 
            transition: 0.3s;
        }
        .anchor-link.active, .anchor-link:hover { color: black; font-weight: 600; }

        
        .overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid #eee; padding-top: 24px; }
        .one-image img { width: 100%; border-radius: 24px; }
        
        @media (max-width: 900px) {
            .sticky-layout-wrapper { flex-direction: column; }
            .sticky-sidebar { display: none; }
        }

        .read-progress-header {
          padding-bottom: 24px;
          border-bottom: 1px solid rgba(0,0,0,0.05);
          margin-bottom: 24px;
      }

      .read-time-label {
          display: block;
          font-family: "Inter", sans-serif;
          font-size: 0.85rem;
          font-weight: 600;
          color: rgba(26, 26, 26, 0.6);
          letter-spacing: 0.05em;
          text-transform: uppercase;
          margin-bottom: 12px;
      }

      .read-progress-track {
          width: 100%;
          height: 4px;
          background: rgba(0, 0, 0, 0.05);
          border-radius: 10px;
          overflow: hidden;
      }

      .read-progress-bar {
          height: 100%;
          width: 0%;
          background: var(--purple-accent);
          transition: width 0.1s ease;
      }


/* --- Outcomes & Challenges Layout --- */
.list-section {
  max-width: 800px; /* Optional: keeps the line length readable */
}

.custom-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px; /* Increased spacing for vertical layout */
}

.icon-wrapper {
  flex-shrink: 0;
  margin-top: 2px; /* Aligned better with bodycopy height */
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

/* Branding Colors */
.check-icon {
  background-color: rgba(95, 202, 83, 0.10); /* Your grounding green @ 10% */
  color:#5FCA53;
}

.x-icon {
  background-color:rgba(200, 45, 48, 0.10);
  color: #C82D30;
}

      /* Clickable image trigger */
      .one-image img, .grid-item img {
          cursor: zoom-in;
          transition: transform 0.3s ease;
      }

      .one-image img:hover { transform: scale(1.01); }

      /* --- Next Project Section --- */
      .next-project-footer {
          margin-top: 120px;
          padding: 80px 0;
          background-color: #F9F9F9;
          border-top: 1px solid rgba(0,0,0,0.05);
      }

      .next-project-link { text-decoration: none; color: inherit; }
      
      .header-with-arrow { display: flex; align-items: center; gap: 16px; }
      .next-arrow { font-size: 2rem; transition: transform 0.3s ease; }
      .next-project-link:hover .next-arrow { transform: translateX(10px); }

      .tag-container { display: flex; gap: 8px; margin-top: 24px; }

.next-project-flex {
  display: flex;
  align-items: center;
  gap: 64px; /* Space between image and text */
}

.next-project-image {
  flex: 0 0 40%; /* Image takes up 40% of the width */
}

.next-project-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.next-project-content {
  flex: 1;
}

/* Hover Effect: Image slightly lifts when the whole link is hovered */
.next-project-link:hover .next-project-image img {
  transform: translateY(-8px);
}

.next-project-link:hover .next-arrow {
  transform: translateX(12px);
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
  .next-project-flex {
      flex-direction: column;
      gap: 32px;
  }
  .next-project-image {
      flex: 0 0 100%;
  }
}

/* Card Container */
.card-light-blue {
  background-color: var(--light-blue-bg);
  border-radius: 24px;
  padding:2.2rem 2rem;
  display: flex;
  align-items: center;
  gap: 48px;
  overflow: hidden;
}

/* Color overrides for Navy Text */
.subheader-navy, .heading-navy, .bodycopy-navy {
  color: var(--navy-accent);
}

/* Image Tilt Logic - using your smooth transition variable */
.feature-image-small {
  max-width: 320px;
  width: 100%;
  border-radius: 12px;
  transition: var(--transition-smooth);
}
.bodycopy-navy{
  max-width: 360px;
}

.card-light-blue:hover .tilt-on-hover {
  transform: scale(1.05) rotate(-3deg);
  /* Using a subtle shadow that matches your navy accent */
  box-shadow: 0 20px 40px rgba(34, 42, 113, 0.15); 
}

/* Responsive adjustment */
@media (max-width:700px) {
  .card-light-blue {
    flex-direction: column;
    padding: 40px 24px;
    margin: 0;
    text-align: left; /* Keeps text left-aligned even on mobile */
  }
  .lr-left {
   width: 100%;
  }
  
  .lr-right {
    margin-top: 0px;
  }
}

.feature-image {
  width: 100%;
  height: auto;
  display: block;
}

.thanks-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #fff; /* Matches your main page background */
}

.thanks-container {
  display: flex;
  flex-direction: column; /* Stacks image then text */
  align-items: center;    /* Centers items horizontally */
  text-align: center;      /* Centers text lines */
  max-width: 600px;
}

.footer-graphic {
  max-width: 300px; /* Adjust based on your specific image size */
  height: auto;
  display: block;
}

/* Password Gate Specifics */
.password-gate-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-form-container {
  width: 100%;
  max-width: 400px;
  animation: fadeUpIn 1.2s ease 0.6s forwards;
  opacity: 0;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.gate-input {
  width: 100%;
  padding: 1.4rem 1.6rem;
  border-radius: 16px; /* Matches your card feel */
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  background-color: var(--secondary-btn); /* #f5f5f5 */
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition-smooth);
  box-sizing: border-box;
}

.gate-input:focus {
  outline: none;
  border-color: var(--purple-accent);
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 119, 182, 0.05);
}

.toggle-visibility {
  position: absolute;
  right: 20px;
  background: none;
  border: none;
  color: var(--purple-accent);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 10px;
}

.error-text {
  color: var(--raspberry); /* #510122 */
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 20px;
  text-align: center;
}
