:root {
  --accent: #1976d2;
  --bg: #fff;
  --text: #111;
  --overlay: rgba(255,255,255,0.0);
  --button-bg: var(--accent);
  --button-hover: #1565c0;
  --button-text: #fff;
  --hero-height: 100vh;
  --stripe: 100vh;  
  --wave-1: url("stacked-waves-haikei.svg");
  --wave-2: url("stacked-waves-haikei-2.svg");
}
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}
body{
  margin:0;
  background:url("waves.svg") 0 0/100% 200vh repeat-y;
  background-size: 100vw 200vh;
}

.hero {
  position: relative;
  height: var(--hero-height);
  width: 100%;
  box-sizing: border-box; 
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
  background: transparent;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--overlay);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 1.5rem;
}
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
  text-shadow: none;
  color: #111;
}
.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  color: #111;
  letter-spacing: 1px;
}
.hero-btn {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 32px;
  background: var(--button-bg);
  color: var(--button-text);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(25,118,210,0.12);
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), background 0.18s, box-shadow 0.18s;
  outline: none;
}
.hero-btn:hover, .hero-btn:focus {
  background: var(--button-hover);
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(25,118,210,0.18);
}
@media (max-width: 600px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1.1rem; }
}
.profile-links {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: transparent;
  z-index: 2;
}
.profile-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  max-width: 820px;
  margin: 0 auto;
  min-height: auto;
}
.profile-pic-wrapper {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(25,118,210,0.13);
  margin-bottom: 1.5rem;
  background: #fff;
  position: relative;
}
.profile-pic-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 50%;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}
.profile-pic-wrapper.loaded::before {
  opacity: 0;
}
.profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}
.profile-bio {
  font-size: 1.1rem;
  color: #222;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 400;
  max-width: 600px;
}
.profile-links-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}
.profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f5f8ff;
  box-shadow: 0 2px 8px rgba(25,118,210,0.07);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
}
.profile-link:hover, .profile-link:focus {
  background: var(--accent);
  transform: scale(1.12);
  box-shadow: 0 4px 16px rgba(25,118,210,0.18);
}
.profile-link-icon {
  width: 26px;
  height: 26px;
  display: block;
  filter: grayscale(0.2) brightness(0.9);
  transition: filter 0.18s;
}
.profile-link:hover .profile-link-icon, .profile-link:focus .profile-link-icon {
  filter: none;
}
@media (max-width: 600px) {
  .profile-content { padding: 2rem 0.5rem 1.5rem 0.5rem; }
  .profile-pic-wrapper { width: 96px; height: 96px; }
  .profile-bio { font-size: 1rem; }
  .profile-link { width: 38px; height: 38px; }
  .profile-link-icon { width: 20px; height: 20px; }
}

/* Timeline Section */
.career-timeline {
  position: relative;
  width: 100%;
  box-sizing: border-box; 
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
  background: transparent;
  z-index: 2;
  padding-bottom: 2.5rem;
}
.timeline-content {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 1100px;
  padding: 0 1.5rem 0 1.5rem;
  margin: 0 auto;
  flex-wrap: nowrap;
}
.timeline-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 67%;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(25,118,210,0.10);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  min-height: 200px;
  padding: 1.5rem;
  position: relative;
}
.timeline-box::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 50%;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}
.timeline-box.loaded::before {
  opacity: 0;
}
.timeline-box:hover, .timeline-box:focus {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(25,118,210,0.18);
}
.timeline-box.active {
  background: linear-gradient(135deg, var(--accent) 0%, #1565c0 100%);
  color: #fff;
}
.timeline-box.active .timeline-company,
.timeline-box.active .timeline-title,
.timeline-box.active .timeline-dates {
  color: #fff;
}
.timeline-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 1.2rem;
  border-radius: 12px;
  background: #f5f8ff;
  box-shadow: 0 2px 8px rgba(25,118,210,0.07);
  position: relative;
  z-index: 2;
}
.timeline-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  margin-top: 1rem;
}
.timeline-company, .timeline-title, .timeline-dates {
  text-align: center;
}
.timeline-company {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.timeline-title {
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 0.2rem;
}
.timeline-dates {
  font-size: 0.95rem;
  color: #666;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.timeline-separator {
  width: 60%;
  height: 1.5px;
  background: #e3e8f0;
  margin: 1rem auto;
  border-radius: 1px;
}

@media (max-width: 900px) {
  .timeline-content {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
  }
  .timeline-box {
    flex: 0 0 60%;
    max-width: 60%;
    scroll-snap-align: start;
    margin-bottom: 0;
  }
  .project-details::before {
    display: none;
  }
}
@media (max-width: 600px) {
  html {
    box-sizing: border-box;
  }
  *, *::before, *::after {
    box-sizing: inherit;
  }
  body {
    padding: 1rem 1rem 1rem 1rem;  
  }

  .career-timeline {
    padding: 0;
  }
  .timeline-content {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 0.5rem;         /* allow a little bottom gutter */
  }
  .timeline-content::-webkit-scrollbar {
    display: none;
  }
  .timeline-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .timeline-box {
    flex: 0 0 60%;
    max-width: 60%;
    padding: 0.8rem;
    min-height: 0;
  }
  .project-details {
    margin: 1rem auto !important;
  }
  .timeline-logo {
    width: 40px;
    height: 40px;
  }
  .timeline-company {
    font-size: 1rem;
  }
  .timeline-title {
    font-size: 0.95rem;
  }
  .timeline-dates {
    font-size: 0.9rem;
  }
  .timeline-separator {
    margin: 0.7rem auto;
  }
  .project-box {
    display: flex;
    flex-direction: column;
  }
  .project-image img {
    max-height: 250px;
    width: auto;
    object-fit: contain;
  }
  .project-box {
    display: flex;
    flex-direction: column;
  }
  .project-image {
    order: -1;
  }
}

/* Projects Section */
.projects-gallery {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: transparent;
  z-index: 2;
  margin-top: 3rem;
}
.projects-content {
  width: 100%;
  max-width: 1400px;
  padding: 2rem 1.5rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.project-box {
  display: flex;
  width: 75%;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(25,118,210,0.10);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
  min-height: 280px;
  cursor: pointer;
}
.project-box:hover, .project-box:focus {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(25,118,210,0.18);
}
.project-box:first-child .project-image {
  flex: 0 0 20%;
}
.project-left {
  align-self: flex-start;
}
.project-right {
  align-self: flex-end;
}
.project-image {
  flex: 0 0 55%;
  position: relative;
  overflow: hidden;
}
.project-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}
.project-image.loaded::before {
  opacity: 0;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}
.project-info {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.project-description {
  font-size: 1rem;
  color: #222;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}
.project-description a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.project-description a:hover {
  text-decoration: underline;
}
.project-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.project-btn {
  padding: 0.8rem 1.5rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(25,118,210,0.15);
  cursor: pointer;
}
.project-btn:hover, .project-btn:focus {
  background: var(--button-hover);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(25,118,210,0.25);
}
.timeline-content {
  scroll-behavior: auto !important;
}

@media (max-width: 1200px) {
  .project-box {
    width: 80%;
  }
}
@media (max-width: 900px) {
  .projects-content {
    gap: 2rem;
    padding: 1.5rem 1rem;
  }
  .project-box {
    width: 100%;
    flex-direction: column;
    min-height: auto;
  }
  .project-left, .project-right {
    align-self: center;
  }
  .project-image {
    flex: 0 0 200px;
  }
  .project-info {
    padding: 1.5rem;
  }
  .project-title {
    font-size: 1.2rem;
  }
  .project-description {
    font-size: 0.95rem;
  }  
  .project-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
  }
  .project-buttons .project-btn {
    flex: 1 1 90%;
    max-width: 90%;
    min-width: 0;
    box-sizing: border-box;
  }
  .project-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
}
@media (max-width: 600px) {
  .projects-content {
    padding: 1rem 0.5rem;
    gap: 1.5rem;
  }
  .project-info {
    padding: 1.2rem;
  }
  .project-title {
    font-size: 1.1rem;
  }
  .project-description {
    font-size: 0.9rem;
  }
  .project-buttons {
    flex-direction: column;
    align-items: center;
  }
  .project-btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1rem;
  }
}

/* AI Austin Bot Section */
.ai-austin-chat {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: transparent;
  z-index: 2;
}
.chat-container {
  width: 100%;
  max-width: 1000px;
  height: 80vh;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(25,118,210,0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0 1.5rem;
}
.chat-header {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent) 0%, #1565c0 100%);
  color: #fff;
  text-align: center;
}
.chat-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  position: relative;
}
.chat-header-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 50%;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}
.chat-header-content.loaded::before {
  opacity: 0;
}
.chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 2;
}
.chat-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}
.chat-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 400;
}
.chat-messages {
  flex: 1;
  padding: 1.5rem 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.message {
  display: flex;
  margin-bottom: 1rem;
}
.user-message {
  justify-content: flex-end;
}
.ai-message {
  justify-content: flex-start;
}
.message-content {
  max-width: 70%;
  padding: 1rem 1.2rem;
  border-radius: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.user-message .message-content {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 8px;
}
.ai-message .message-content {
  background: #f5f8ff;
  color: #222;
  border-bottom-left-radius: 8px;
}
.suggested-prompts {
  padding: 1rem 2rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  background: #fafbfc;
  border-top: 1px solid #e3e8f0;
  justify-content: center;
  align-items: center;
}
.prompt-button {
  padding: 0.6rem 1rem;
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 16px;
  font-size: 0.85rem;
  color: #666;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.prompt-button:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}
.chat-input-container {
  padding: 1.5rem 2rem;
  background: #fff;
  border-top: 1px solid #e3e8f0;
}
.chat-input-wrapper {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
.chat-input {
  flex: 1;
  padding: 1rem 1.2rem;
  border: 2px solid #e3e8f0;
  border-radius: 20px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.18s;
}
.chat-input:focus {
  border-color: var(--accent);
}
.send-button {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
  box-shadow: 0 2px 8px rgba(25,118,210,0.15);
}
.send-button:hover {
  background: var(--button-hover);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(25,118,210,0.25);
}
.send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@media (max-width: 900px) {
  .chat-container {
    height: 85vh;
    margin: 0 1rem;
  }
  .chat-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }
  .chat-title {
    font-size: 1.5rem;
  }
  .chat-messages {
    padding: 1rem 1.5rem;
  }
  .suggested-prompts {
    padding: 0.8rem 1.5rem;
  }
  .chat-input-container {
    padding: 1rem 1.5rem;
  }
}
@media (max-width: 600px) {
  .chat-container {
    height: 90vh;
    margin: 0 0.5rem;
    border-radius: 16px;
  }
  .chat-header {
    padding: 1.2rem 1rem 0.8rem 1rem;
  }
  .chat-title {
    font-size: 1.3rem;
  }
  .chat-subtitle {
    font-size: 0.9rem;
  }
  .chat-messages {
    padding: 0.8rem 1rem;
  }
  .message-content {
    max-width: 85%;
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
  }
  .suggested-prompts {
    padding: 0.6rem 1rem;
    gap: 0.6rem;
  }
  .prompt-button {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }
  .chat-input-container {
    padding: 0.8rem 1rem;
  }
  .chat-input {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  .send-button {
    width: 44px;
    height: 44px;
  }
}
.loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 1rem;
}
.loading-dots {
  display: flex;
  gap: 0.5rem;
}
.dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite both;
}
.dot:nth-child(1) {
  animation-delay: -0.32s;
}
.dot:nth-child(2) {
  animation-delay: -0.16s;
}
.dot:nth-child(3) {
  animation-delay: 0s;
}
@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
.loading-text {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
  font-style: italic;
}

/* Project Details Section */
.project-details {
  position: relative;
  width: 90vw;
  max-width: 1200px;
  background: #fff;
  z-index: 3;
  margin: -2rem auto 0 auto;
  padding: 3rem 0;
  box-shadow: 0 -8px 32px rgba(25,118,210,0.15);
  border-radius: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-details.show {
  opacity: 1;
  transform: translateY(0);
}

/* Triangle pointer */
.project-details::before {
  content: '';
  position: absolute;
  top: -20px;
  left: var(--triangle-position, 50%);
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 20px solid #fff;
  z-index: 4;
  transition: left 0.3s ease;
}
.project-details-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.project-details-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding: 0 1rem;
}
.nav-arrow {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
  box-shadow: 0 2px 8px rgba(25,118,210,0.15);
}
.nav-arrow:hover {
  background: var(--button-hover);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(25,118,210,0.25);
}
.nav-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.experience-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  flex: 1;
  margin: 0 2rem;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.project-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(25,118,210,0.08);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(25,118,210,0.15);
}
.project-card-image {
  width: 100%;
  height: 350px;
  background: #f5f8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.project-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.project-card-image.loaded::before {
  opacity: 0;
}
.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}
.project-card-image.no-image {
  background: linear-gradient(135deg, #f5f8ff 0%, #e3e8f0 100%);
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
}
.project-card-content {
  padding: 1.5rem;
}
.project-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}
.project-card-description {
  font-size: 0.95rem;
  color: #222;
  line-height: 1.6;
}
.experience-indicators {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}
.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e3e8f0;
  cursor: pointer;
  transition: all 0.18s;
}
.indicator.active {
  background: var(--accent);
  transform: scale(1.2);
}
.indicator:hover {
  background: var(--accent);
  opacity: 0.7;
}
@media (max-width: 900px) {
  .project-details {
    width: 100%;
  }
  
  .project-details-container {
    padding: 0 1rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .project-details-header {
    margin-bottom: 2rem;
    padding: 0;
  }
  .nav-arrow {
    width: 40px;
    height: 40px;
  }
  .experience-title {
    font-size: 1.5rem;
    margin: 0 1rem;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .project-card-content {
    padding: 1.2rem;
  }
  .project-card-title {
    font-size: 1.1rem;
  }
}
@media (max-width: 600px) {
  .project-details {
    width: 100%;
    padding: 2rem 0;
    margin-top: -1rem;
    box-sizing: border-box;
    margin: 0; 
  }

  .project-details-container {
    padding: 0 0.5rem;
  }
  .project-details-header {
    margin-bottom: 1.5rem;
  }
  .nav-arrow {
    width: 36px;
    height: 36px;
  }
  .experience-title {
    font-size: 1.3rem;
    margin: 0 0.5rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .project-card-content {
    padding: 1rem;
  }
  .project-card-title {
    font-size: 1rem;
  }
  .project-card-description {
    font-size: 0.9rem;
  }
}

/* Lazy Loading Styles */
.lazy {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.lazy.loaded {
  opacity: 1;
}

.lazy-placeholder {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}