@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: white;
    color: #000;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='rgba(21,112,91,0.6)' stroke='rgba(21,112,91,0.9)' stroke-width='1'/%3E%3Ccircle cx='16' cy='16' r='8' fill='rgba(21,112,91,0.4)' stroke='rgba(21,112,91,0.8)' stroke-width='0.5'/%3E%3Ccircle cx='16' cy='16' r='2' fill='rgba(0,0,0,0.6)'/%3E%3C/svg%3E") 16 16, none;
}

/* Interactive elements use darker record cursor */
button, .record, .hamburger, .mobile-close, .theme-toggle-btn, .logo, .center-button, .turntable-record, .work-item, .project-image-container, .project-image {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='rgba(21,112,91,0.6)' stroke='rgba(21,112,91,0.9)' stroke-width='1'/%3E%3Ccircle cx='16' cy='16' r='8' fill='rgba(21,112,91,0.4)' stroke='rgba(21,112,91,0.8)' stroke-width='0.5'/%3E%3Ccircle cx='16' cy='16' r='2' fill='rgba(0,0,0,0.6)'/%3E%3C/svg%3E") 16 16, none !important;
}

/* Navigation links use lighter record cursor */
.nav a, .mobile-nav a {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='rgba(21,112,91,0.3)' stroke='rgba(21,112,91,0.6)' stroke-width='1'/%3E%3Ccircle cx='16' cy='16' r='8' fill='rgba(21,112,91,0.2)' stroke='rgba(21,112,91,0.5)' stroke-width='0.5'/%3E%3Ccircle cx='16' cy='16' r='2' fill='rgba(0,0,0,0.4)'/%3E%3C/svg%3E") 16 16, none !important;
}

/* All links use lighter record cursor */
a {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='rgba(21,112,91,0.3)' stroke='rgba(21,112,91,0.6)' stroke-width='1'/%3E%3Ccircle cx='16' cy='16' r='8' fill='rgba(21,112,91,0.2)' stroke='rgba(21,112,91,0.5)' stroke-width='0.5'/%3E%3Ccircle cx='16' cy='16' r='2' fill='rgba(0,0,0,0.4)'/%3E%3C/svg%3E") 16 16, none;
}

/* Light blue cursor for records and logo hover */
/* .record:hover, .logo:hover, .theme-toggle-btn:hover {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='rgba(173,216,230,0.6)' stroke='rgba(173,216,230,0.9)' stroke-width='1'/%3E%3Ccircle cx='16' cy='16' r='8' fill='rgba(173,216,230,0.4)' stroke='rgba(173,216,230,0.8)' stroke-width='0.5'/%3E%3Ccircle cx='16' cy='16' r='2' fill='rgba(0,0,0,0.6)'/%3E%3C/svg%3E") 16 16, pointer;
} */
.logo {
    font-family: 'Poppins', sans-serif;
}
/* Theme Toggle Button - Simple Icon */
.theme-toggle {
    display: flex;
    align-items: center;
    margin-left: 20px;
    height: 100%;
}

.theme-toggle-btn {
    position: relative;
    width: 32px;
    height: 32px;
    background: rgba(34,139,34,0.15);
    border: none;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: auto 0;
}

.theme-toggle-btn:hover {
    background: rgba(34,139,34,0.25);
}

.sun-icon, .moon-icon {
    color:#15705b;
    transition: all 0.2s ease;
    width: 22px;
    height: 22px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sun-icon {
    opacity: 0;
}

.moon-icon {
    opacity: 1;
}

.theme-toggle-btn.dark .sun-icon {
    opacity: 1;
}

.theme-toggle-btn.dark .moon-icon {
    opacity: 0;
}

/* Dark Mode Styles */
body.dark-mode {
    background: #1a1a1a;
    color: #ffffff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode .header {
    background: #1a1a1a;
    transition: background-color 0.3s ease;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode .header.loaded {
    opacity: 1;
    transform: translateY(0);
}

body.dark-mode .logo {
    color: #ffffff;
    transition: color 0.3s ease;
}

body.dark-mode .logo:visited, 
body.dark-mode .logo:active,
body.dark-mode .logo:hover {
    color: #ffffff;
    transition: color 0.3s ease;
}

/* Dark mode logo animation - matching light mode */
body.dark-mode .logo-nika {
  margin-right: 2px;
}
body.dark-mode .logo-a, 
body.dark-mode .logo-b {
  display: inline-block;
  transition: color 0.3s;
  margin-bottom: 8px;
}
body.dark-mode .logo-nika, 
body.dark-mode .logo-hagavatula {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: middle;
  transition: max-width 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.3s 0.2s, margin-right 0.6s cubic-bezier(0.4,0,0.2,1);
}
body.dark-mode .logo:hover .logo-nika {
  max-width: 60px;
  opacity: 1;
  margin-right: 8px;
  transition: max-width 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.3s 0.1s, margin-right 0.6s cubic-bezier(0.4,0,0.2,1);
}
body.dark-mode .logo:hover .logo-hagavatula {
  max-width: 200px;
  opacity: 1;
  transition: max-width 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.3s 0.1s;
}

body.dark-mode .nav a {
    color: #ffffff;
    transition: color 0.3s ease;
}

body.dark-mode .nav a:hover {
    color: #15705b;
}

body.dark-mode .hamburger span {
    background: #ffffff;
    transition: background-color 0.3s ease;
}

body.dark-mode .mobile-nav {
    background: rgba(0, 0, 0, 0.9);
    transition: background-color 0.3s ease;
}

body.dark-mode .mobile-nav-content {
    background: #1a1a1a;
    color: #ffffff;
}

body.dark-mode .mobile-close {
    color: #ffffff;
    transition: color 0.3s ease;
}

body.dark-mode .slogan {
    color: #ffffff;
    transition: color 0.3s ease;
}

body.dark-mode .mobile-nav a {
    color: #ffffff;
    transition: color 0.3s ease;
}

body.dark-mode .mobile-nav a:hover {
    color: #15705b;
    opacity: 1;
}

body.dark-mode footer {
    background: #1a1a1a;
    transition: background-color 0.3s ease;
}

body.dark-mode .contact-info h3 {
    color: #ffffff;
    transition: color 0.3s ease;
}

body.dark-mode .contact-info a {
    color: #ffffff;
    transition: color 0.3s ease;
}

body.dark-mode .contact-info a:hover {
    color: #cccccc;
    transition: color 0.3s ease;
}

body.dark-mode .linkedin-icon {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

/* Dark mode mail icon styles removed - reverted to text email */

body.dark-mode .linkedin-icon:hover {
    color: #ffffff !important;
    transition: color 0.3s ease;
}
.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 48px 60px 0 60px;
    background: #fff;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .logo {
    font-weight: 700;
    font-size: 1.3rem;
    color: #111;
    letter-spacing: 1px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: baseline;
    text-decoration: none;
  }
  .logo:visited, .logo:active {
    color: #111;
    text-decoration: none;
  }
  .logo:hover {
    color: #111;
    text-decoration: none;
  }

  .logo-a, .logo-b, .logo-nika, .logo-hagavatula {
  display: inline;
  font-size: 1.3rem;
  line-height: 1.1;
  margin-bottom: 0;
  padding-top: 0;
}
.logo-nika {
  margin-right: 2px;
}
.logo-a, .logo-b {
  display: inline-block;
  transition: color 0.3s;
  margin-bottom: 8px;
}
.logo-nika, .logo-hagavatula {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: middle;
  transition: max-width 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.3s 0.2s, margin-right 0.6s cubic-bezier(0.4,0,0.2,1);
}
.logo:hover .logo-nika {
  max-width: 60px;
  opacity: 1;
  margin-right: 8px;
  transition: max-width 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.3s 0.1s, margin-right 0.6s cubic-bezier(0.4,0,0.2,1);
}
.logo:hover .logo-hagavatula {
  max-width: 200px;
  opacity: 1;
  transition: max-width 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.3s 0.1s;
}

  
  /* .logo-a {
    display: inline-block;
    font-size: 1.3rem;
    line-height: 1.1;
    margin-bottom: 0;
    padding-top: 0;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
  }
  
  .logo-b {
    display: inline-block;
    font-size: 1.3rem;
    line-height: 1.1;
    margin-bottom: 0;
    padding-top: 0;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(0);
  } */
  
  /* .logo-nika, .logo-hagavatula {
    display: inline-block;
    font-size: 1.3rem;
    line-height: 1.1;
    margin-bottom: 0;
    padding-top: 0;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    width: 0;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    overflow: hidden;
  } */
  
  /* Logo hover effects - smooth slide open
  .logo:hover .logo-nika {
    opacity: 1;
    transform: translateX(0);
    width: auto;
    pointer-events: auto;
  }
  
  .logo:hover .logo-b {
    transform: translateX(80px);
  }
  
  .logo:hover .logo-hagavatula {
    opacity: 1;
    transform: translateX(0);
    width: auto;
    pointer-events: auto;
  }
  
  /* Sequential animation timing */
  /* .logo:hover .logo-nika {
    transition-delay: 0s;
  }
  
  .logo:hover .logo-b {
    transition-delay: 0.15s;
  }
  
  .logo:hover .logo-hagavatula {
    transition-delay: 0.3s;
  }
  
  /* Smooth slide closed when not hovering */
  /* .logo:not(:hover) .logo-hagavatula {
    opacity: 0;
    transform: translateX(-30px);
    width: 0;
  }
  
  .logo:not(:hover) .logo-b {
    transform: translateX(0);
  }
  
  .logo:not(:hover) .logo-nika {
    opacity: 0;
    transform: translateX(-30px);
    width: 0;
  } */
  
  /* Sequential reverse animation timing */
  /* .logo:not(:hover) .logo-hagavatula {
    transition-delay: 0s;
  }
  
  .logo:not(:hover) .logo-b {
    transition-delay: 0.1s;
  }
  
  .logo:not(:hover) .logo-nika {
    transition-delay: 0.2s;
  }
    */ 

  
  .nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}
  
  .nav a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    height: 100%;
}
  
  .nav a:hover {
    color: #15705b;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    justify-content: space-around;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #111;
    transition: all 0.3s ease, background-color 0.3s ease;
}

/* Mobile Navigation */
.mobile-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99999;
    padding: 2rem;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: none;
}

.mobile-nav.active {
    background: rgba(0, 0, 0, 0.85);
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* Prevent scrolling when mobile menu is open */
body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

.mobile-nav-content {
    background: white !important;
    border-radius: 12px;
    padding: 3rem 2rem;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 180px;
    max-width: 10vw;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1000000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.1s;
}

.mobile-nav.active .mobile-nav-content {
    opacity: 1;
    transform: translateY(0);
}

/* Closing animations */
.mobile-nav.closing {
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    visibility: visible;
    transform: none;
}

.mobile-nav.closing .mobile-nav-content {
    opacity: 0;
    transform: translateY(20px);
    transition-delay: 0s;
}

.mobile-nav.closing a {
    opacity: 0;
    transform: translateY(10px);
    transition-delay: 0s;
}

.mobile-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #111;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, color 0.3s ease;
}

.mobile-close:hover {
    opacity: 0.7;
    transition: opacity 0.2s, color 0.3s ease;
}

.mobile-nav a {
    color: #111;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(10px);
}

.mobile-nav.active a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav.active a:nth-child(1) { transition-delay: 0.2s; }
.mobile-nav.active a:nth-child(2) { transition-delay: 0.3s; }
.mobile-nav.active a:nth-child(3) { transition-delay: 0.4s; }
.mobile-nav.active a:nth-child(4) { transition-delay: 0.5s; }
.mobile-nav.active a:nth-child(5) { transition-delay: 0.6s; }

.mobile-nav a:hover {
    opacity: 0.7;
    transition: opacity 0.2s, color 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-nav.active {
        display: flex !important;
    }
    
    .mobile-nav {
        padding: 0;
    }
    
    .mobile-nav-content {
        padding: 4rem 2rem 3rem 2rem;
        margin: 2rem;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .mobile-nav-content a {
        font-size: 1.2rem;
        padding: 0.2rem 0;
        min-height: 1.5rem;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #111 !important;
        text-decoration: none;
        font-weight: 400;
        transition: opacity 0.2s, color 0.3s ease;
        background: transparent !important;
    }
    
    .mobile-nav-content a:hover {
        opacity: 0.7;
        transition: opacity 0.2s, color 0.3s ease;
    }
    
    .mobile-theme-toggle {
        margin-top: 0.5rem;
        margin-left: 0;
        align-items: center;
    }
    
    .mobile-close {
        position: absolute;
        top: 1.2rem;
        right: 1.1rem;
        background: none;
        border: none;
        font-size: 2.5rem;
        color: white;
        cursor: pointer;
        padding: 0;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.5s, color 0.5s ease;
        z-index: 100000;
    }
    
    .mobile-close:hover {
        opacity: 0.7;
        transition: opacity 0.2s, color 0.3s ease;
    }
}
  
/* Original Header - Commented Out
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Removed conflicting logo rule */

nav {
    display: flex;
    gap: 3rem;
}

nav a {
    text-decoration: none;
    color: #000;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.7;
} */

/* Main Content */
main {
    padding-top: 1px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Page load animations */
.header {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, color 0.3s ease;
}

.header.loaded {
    opacity: 1;
    transform: translateY(0);
}

.intro {
    font-family: 'Playfair Display', serif;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.intro.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Fade-in animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.loaded {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.2s;
}

.fade-in-delay-1.loaded {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.4s;
}

.fade-in-delay-2.loaded {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-3 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.6s;
}

.fade-in-delay-3.loaded {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-4 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.8s;
}

.fade-in-delay-4.loaded {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-5 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 1.0s;
}

.fade-in-delay-5.loaded {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-6 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 1.2s;
}

.fade-in-delay-6.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered fade-in for multiple elements */
.fade-in-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-stagger.loaded > *:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.fade-in-stagger.loaded > *:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.fade-in-stagger.loaded > *:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.fade-in-stagger.loaded > *:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.fade-in-stagger.loaded > *:nth-child(5) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.fade-in-stagger.loaded > *:nth-child(6) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* Ensure work items start hidden for fade-in animation */
.work-grid.fade-in-stagger .work-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-grid.fade-in-stagger.loaded .work-item:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.work-grid.fade-in-stagger.loaded .work-item:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.work-grid.fade-in-stagger.loaded .work-item:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.work-grid.fade-in-stagger.loaded .work-item:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.work-grid.fade-in-stagger.loaded .work-item:nth-child(5) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.work-grid.fade-in-stagger.loaded .work-item:nth-child(6) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.work-grid.fade-in-stagger.loaded .work-item:nth-child(7) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

  /* Intro Section */
  .intro {
      padding: 8rem 4rem;
      max-width: 100%;
  }

.intro h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.intro h1 span {
    display: block;
    font-size: 6rem;
}


.intro p {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 400;
    max-width: 50%;
    color: #000000;
    transition: color 0.3s ease;
}

.intro p.fade-in-delay-2 {
    font-size: 1rem;
}

/* Highlight phrases styling */
.highlight-phrase {
    font-weight: 700;
    color: #000000;
    transition: color 0.3s ease;
}

/* Dark mode for paragraph text */
body.dark-mode .intro p {
    color: #ffffff;
    transition: color 0.3s ease;
}


/* Dark mode for role-cursor elements */
body.dark-mode .role-cursor {
    color: #ffffff;
    transition: color 0.3s ease;
}

/* Dark mode for highlighted phrases */
body.dark-mode .highlight-phrase {
    color: #ffffff;
    transition: color 0.3s ease;
}

.slogan {
    font-size: 1.8rem;
    font-weight: 500;
    color: #000000;
    margin: 1.5rem 0;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* Projects Section */
.projects {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 4rem;
    width: 100%;
}

.records-container {
    display: flex;
    align-items: center;
    gap: -50px;
    position: relative;
    height: 400px;
}

/* Record Styling */
.record {
    position: relative;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    opacity: 0; /* Start hidden for animation */
    text-decoration: none;
    display: block;
}

.record:nth-child(1) {
    z-index: 1;
    margin-left: 0;
}

.record:nth-child(2) {
    z-index: 1;
    margin-left: -200px;
}

.record:nth-child(3) {
    z-index: 1;
    margin-left: -200px;
}

.record:nth-child(4) {
    z-index: 1;
    margin-left: -200px;
}

/* Record Image Styling */
.record-image {
    max-width: 500px;
    max-height: 500px;
    width: auto;
    height: auto;
    /* border-radius: 50%; */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    transform-origin: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    outline: none;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
}





/* Hover Effects */
.record:hover .record-image {
    transform: rotate(360deg) scale(1.1);
}



/* Global outline removal for all elements */
*:focus,
*:focus-visible,
*:focus-within {
    outline: none !important;
    outline-offset: 0 !important;
    outline-width: 0 !important;
    outline-style: none !important;
}

/* Ensure record links maintain styling */
.record:visited,
.record:active,
.record:focus,
.record:focus-visible,
.record:focus-within {
    text-decoration: none !important;
    color: inherit !important;
    outline: none !important;
    outline-offset: 0 !important;
    outline-width: 0 !important;
    outline-style: none !important;
    box-shadow: none !important;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

.record:focus {
    outline: none !important;
    outline-offset: 0 !important;
    outline-width: 0 !important;
    outline-style: none !important;
    box-shadow: none !important;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

.record:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
    outline-width: 0 !important;
    outline-style: none !important;
    box-shadow: none !important;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

.record:focus-within {
    outline: none !important;
    outline-offset: 0 !important;
    outline-width: 0 !important;
    outline-style: none !important;
    box-shadow: none !important;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .records-container {
        gap: -30px;
    }
    
    .record-image {
        max-width: 450px;
        max-height: 450px;
    }
    
    .record:nth-child(2),
    .record:nth-child(3),
    .record:nth-child(4) {
        margin-left: -180px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 2rem !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .logo {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    .intro {
        padding: 2rem !important;
    }
    
    .intro h1 {
        font-size: 2.5rem;
    }
    
    .intro h1 span {
        font-size: 3rem;
    }
    
    .intro p {
        max-width: 100%;
        font-size: 1rem;
        color: #000000;
        transition: color 0.3s ease;
    }
    
    .intro p.fade-in-delay-2 {
        font-size: 0.9rem;
    }
    
    /* Mobile dark mode for paragraph text */
    body.dark-mode .intro p {
        color: #ffffff;
        transition: color 0.3s ease;
    }
    
    /* Mobile dark mode for role-cursor elements */
    body.dark-mode .role-cursor {
        color: #ffffff;
        transition: color 0.3s ease;
    }
    
    /* Mobile styling for highlighted phrases */
    .highlight-phrase {
        font-weight: 700;
        color: #000000;
        transition: color 0.3s ease;
    }
    
    /* Dark mode for highlighted phrases on mobile */
    body.dark-mode .highlight-phrase {
        color: #ffffff;
        transition: color 0.3s ease;
    }
    
    .slogan {
        font-size: 1.4rem;
        margin: 1rem 0;
        color: #000000;
        transition: color 0.3s ease;
    }
    
    /* Mobile dark mode for slogan */
    body.dark-mode .slogan {
        color: #ffffff;
        transition: color 0.3s ease;
    }
    
    .projects {
        padding: 1rem 2rem;
    }
    
    .records-container {
        flex-direction: column;
        gap: 2rem;
        height: auto;
    }
    
    .record {
        margin-left: 0 !important;
    }
    
    .record-image {
        max-width: 320px;
        max-height: 320px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top:active {
    transform: translateY(0);
}

/* Dark mode for back to top button - inverted colors */
body.dark-mode .back-to-top {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

body.dark-mode .back-to-top:hover {
    background: #f0f0f0;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Responsive back to top button */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        left: 1.5rem;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 1rem;
        left: 1rem;
        width: 32px;
        height: 32px;
    }
}

/* Footer */
footer {
    width: 100%;
    padding: 2.5rem 2.5rem 2.5rem 2.5rem;
    background: transparent;
    margin-top: 0.5rem;
}
.footer-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 2rem;
    padding-left: 4rem;
    padding-top: 2rem;
    padding-bottom: 1rem;
    color: #888;
    font-size: 1rem;
    letter-spacing: 0.01em;
    text-align: right;
}

body.dark-mode footer {
    border-top: none;
}
body.dark-mode .footer-content {
    color: #aaa;
}

.contact-info {
    text-align: right;
}

.contact-info h3 {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #000;
    transition: color 0.3s ease;
}

.contact-info a {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0;
    text-align: right;
}

.contact-info a:hover {
    color: #000;
    transition: color 0.3s ease;
}

.social-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 0.5rem;
    gap: 0.5rem;
}

/* Footer responsive */
@media (max-width: 768px) {
    footer {
        padding: 2rem !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: right;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 0.5rem;
        padding-right: 0 !important;
        padding-left: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        justify-content: flex-start;
        align-items: flex-end;
    }
    
    .contact-info {
        text-align: right;
        margin: 0 !important;
        padding: 0 !important;
        /* font-size: 0.8rem; */
    }
    
    .social-links {
        justify-content: flex-end;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .contact-info h3 {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 0.8rem;
    }
    
    .contact-info a {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 0.8rem;
    }

    .linkedin-icon {
        width: 20px;
        height: 20px;
    }
    
    .linkedin-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Mail icon styles removed - reverted to text email */

/* Mail icon hover styles removed - reverted to text email */

.linkedin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #000 !important;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
    margin-top: 0.5rem;
}

.linkedin-icon:hover {
    color: #000 !important;
    transform: scale(1.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

/* Spinning Record Transition */
.spinning-record {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.spinning-record.active {
    opacity: 1;
}

.spinning-record .record-image {
    max-width: 200px;
    max-height: 200px;
    animation: continuous-spin 2s linear infinite;
}

@keyframes continuous-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Project Page Styles */
.project-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 4rem;
    min-height: calc(100vh - 200px);
}



.project-header {
    text-align: center;
    margin-bottom: 4rem;
}

.project-header h1 {
    font-size: 8.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.project-subtitle {
    font-size: 1.5rem;
    color: #666;
    font-weight: 400;
}

.project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.project-features,
.project-tech {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.project-description {
    grid-column: 1 / -1;
}

.project-details h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #000;
}

.project-details p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #000;
    margin-bottom: 1rem;
}

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

.project-details li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #000;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.project-details li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #15705b;
    font-weight: bold;
}

/* Project page responsive */
@media (max-width: 768px) {
    .project-content {
        padding: 2rem;
    }
    
    .project-header h1 {
        font-size: 2.5rem;
    }
    
    .project-subtitle {
        font-size: 1.2rem;
    }
    
    .project-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .spinning-record.landing {
        right: 2rem;
        top: 80px;
    }
    
    .spinning-record .record-image {
        max-width: 150px;
        max-height: 150px;
    }
} 

/* === ABOUT PAGE STYLES === */
.about-main {
    padding: 8rem 120px;
    margin: 0;
}

.about-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
}

.about-left {
    flex: 1;
    max-width: none;
}


.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 2rem 0;
    padding: 0;
}
.about-dot {
    color: #111;
}
.about-intro {
    font-size: 1.05rem;
    margin: 0;
    padding: 0;
    color: #222;
    max-width: none;
}

.about-highlight-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #000000;
    margin: 2rem 0;
    line-height: 1.4;
    transition: color 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
    transition-delay: 0.4s;
}

.about-highlight-quote.loaded {
    opacity: 1;
    transform: translateY(0);
}
.about-edu {
    font-size: 1rem;
    margin: 0;
    padding: 0;
    color: #222;
}
.about-edu-icon {
    font-size: 1.1rem;
    margin: 0;
    padding: 0;
}

.about-hats {
    margin: 0;
    padding: 0;
}
.about-hats h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    padding: 0;
}
.hats-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: none;
    max-width: none;
}
.hat-item {
    font-size: 1rem;
    color: #222;
    padding: 0;
    margin: 0;
    position: relative;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.hat-item:hover {
    background: #f0f7f4;
    color: #15705b;
}
.hat-item:not(:last-child) {
    border-bottom: none;
}

.about-photo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
}
.about-img {
    width: 500px;
    height: 480px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    background: #f7f7f7;
}

.about-strengths {
    display: flex;
    justify-content: flex-end;
}
.strengths-card {
    background: #d6eadd;
    border-radius: 18px;
    padding: 0;
    max-width: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    font-size: 1.08rem;
    color: #183c2b;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.strengths-card b {
    font-size: 1.13rem;
    color: #183c2b;
}




/* DJ Turntable Section */
.about-dj-section {
    margin-top: 0rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.dj-section-header {
    text-align: left;
    max-width: 600px;
    margin-top: 2rem;
}

.dj-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.dj-section-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.5;
    font-weight: 400;
}
.dj-layout {
    display: flex;
    gap: 10rem;
    align-items: flex-start;
    margin: 2rem 0 0 0;
    width: 100%;
    justify-content: flex-start;
}

.dj-images-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 500px;
    flex-shrink: 1;
    margin-left: 0;
    box-sizing: border-box;
    min-width: 300px;
}

.dj-image-set {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
    flex-wrap: wrap;
}

.dj-image-set.active {
    opacity: 1;
    display: flex;
}

.dj-image-set.active .dj-image-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.dj-image-set.active .dj-image-item:nth-child(1) { animation-delay: 0.2s; }
.dj-image-set.active .dj-image-item:nth-child(2) { animation-delay: 0.4s; }
.dj-image-set.active .dj-image-item:nth-child(3) { animation-delay: 0.6s; }

/* Individual floating animations for each image */
.dj-image-set.active .dj-image-item:nth-child(1).floating { 
    animation: fadeInUp 0.6s ease forwards, floatGently1 5.2s ease-in-out infinite;
    animation-delay: 0.2s, 0s;
}
.dj-image-set.active .dj-image-item:nth-child(2).floating { 
    animation: fadeInUp 0.6s ease forwards, floatGently2 6.8s ease-in-out infinite;
    animation-delay: 0.4s, 0s;
}
.dj-image-set.active .dj-image-item:nth-child(3).floating { 
    animation: fadeInUp 0.6s ease forwards, floatGently3 7.7s ease-in-out infinite;
    animation-delay: 0.6s, 0s;
}

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

@keyframes floatGently1 {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-6px) rotate(1.5deg); 
    }
    50% { 
        transform: translateY(-12px) rotate(-1deg); 
    }
    75% { 
        transform: translateY(-3px) rotate(0.8deg); 
    }
}

@keyframes floatGently2 {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    20% { 
        transform: translateY(-10px) rotate(-0.8deg); 
    }
    40% { 
        transform: translateY(-2px) rotate(1.2deg); 
    }
    60% { 
        transform: translateY(-15px) rotate(-0.5deg); 
    }
    80% { 
        transform: translateY(-5px) rotate(0.3deg); 
    }
}

@keyframes floatGently3 {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    30% { 
        transform: translateY(-8px) rotate(2deg); 
    }
    60% { 
        transform: translateY(-4px) rotate(-1.5deg); 
    }
    90% { 
        transform: translateY(-11px) rotate(0.7deg); 
    }
}

.dj-image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    opacity: 0;
}

.dj-image-item:hover {
    transform: translateX(-10px) scale(1.05);
}

.dj-image-item:hover .dj-image-placeholder {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.dj-image-placeholder {
    width: 220px;
    height: 220px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 0.7rem;
    text-align: center;
    box-shadow: none;
    transition: all 0.3s ease;
    flex-shrink: 1;
    position: relative;
    min-width: 120px;
    max-width: 220px;
}

.dj-image-placeholder::before {
    content: "📷";
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: 0.5rem;
}

.dj-image-placeholder::after {
    content: "";
    position: absolute;
    bottom: 0.5rem;
    font-size: 0.6rem;
    opacity: 0;
}

.dj-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    position: absolute;
    top: 0;
    left: 0;
}

/* Override flexbox when there's an image */
.dj-image-placeholder.has-image {
    display: block;
    align-items: initial;
    justify-content: initial;
}

.dj-image-placeholder:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: scale(1.05);
}

.dj-image-caption {
    font-size: 0.9rem;
    color: #000000;
    text-align: center;
    max-width: 150px;
    line-height: 1.3;
    margin: 0;
}

.dj-image-1,
.dj-image-2,
.dj-image-3 {
    transform: translateX(0);
}
.dj-turntable {
    background: linear-gradient(145deg, #8a8a8a 0%, #6a6a6a 50%, #4a4a4a 100%);
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.2);
    padding: 2rem;
    width: 550px;
    min-height: 280px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 2rem;
    border: 1px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
    transition: background 0.3s ease;
    max-width: 600px;
    box-sizing: border-box;
    overflow: hidden;
    min-width: 550px;
}

.turntable-deck {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.turntable-record {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at center, #2a2a2a 0%, #2a2a2a 20%, #4a4a4a 20%, #4a4a4a 100%);
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 0 0 8px rgba(0,0,0,0.10);
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

.turntable-record.spinning {
    animation: continuous-spin 1.2s linear infinite;
}

.record-arcs {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    opacity: 1;
    transition: none;
    z-index: 2;
    /* No animation by default */
}

.turntable-record.spinning .record-arcs {
    animation: record-arcs-spin 1.2s linear infinite;
}

@keyframes record-arcs-spin {
    100% { transform: rotate(360deg); }
}

.turntable-record::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    margin: auto;
    width: 91.67%; /* 110px / 120px = 91.67% */
    height: 91.67%;
    border-radius: 50%;
    box-shadow: 0 0 24px 8px rgba(0,0,0,0.18), 0 0 32px 12px rgba(0,0,0,0.10);
    pointer-events: none;
    opacity: 0.7;
    z-index: 0;
    /* This will rotate with the record via JS */
}

.turntable-sliders {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.slider {
    width: 32px;
    height: 32px;
    background: linear-gradient(145deg, #6a6a6a 0%, #4a4a4a 100%);
    border-radius: 50%;
    box-shadow: 
        0 2px 8px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(0,0,0,0.2);
}

.slider::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(145deg, #8a8a8a 0%, #6a6a6a 100%);
    border-radius: 50%;
    box-shadow: 
        0 1px 3px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
    border: 1px solid rgba(0,0,0,0.3);
}

.slider:hover {
    background: linear-gradient(145deg, #7a7a7a 0%, #5a5a5a 100%);
    box-shadow: 
        0 3px 12px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.15),
        inset 0 -1px 0 rgba(0,0,0,0.25);
}

.slider span {
    display: none;
}

.turntable-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 120px;
}

.center-screen {
    width: 140px;
    height: 85px;
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 6px;
    box-shadow: 
        0 3px 8px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.3);
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.center-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
    pointer-events: none;
}

.screen-text {
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 90%;
    word-wrap: break-word;
}

.screen-text.visible {
    opacity: 1;
}

.center-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.center-button {
    width: 24px;
    height: 24px;
    background: linear-gradient(145deg, #6a6a6a 0%, #4a4a4a 100%);
    border-radius: 4px;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.2);
    border: 1px solid rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.center-button:hover {
    background: linear-gradient(145deg, #7a7a7a 0%, #5a5a5a 100%);
    box-shadow: 
        0 3px 6px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.15),
        inset 0 -1px 0 rgba(0,0,0,0.25);
}

.center-button.active {
    background: linear-gradient(145deg, #8a8a8a 0%, #6a6a6a 100%);
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2),
        inset 0 -1px 0 rgba(0,0,0,0.3);
}


/* Desktop: 3 images horizontal */
@media (min-width: 1401px) {
    .dj-image-set {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    
    .dj-image-set .dj-image-item {
        flex: 0 0 calc(33.333% - 1.33rem);
    }
}

/* Less than desktop: Triangle layout (2 on top, 1 below) */
@media (max-width: 1400px) {
    .dj-layout {
        gap: 4rem;
    }
    
    .dj-images-container {
        width: 350px;
    }
    
    .dj-image-set {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .dj-image-set .dj-image-item:nth-child(1),
    .dj-image-set .dj-image-item:nth-child(2) {
        flex: 0 0 calc(45% - 0.5rem);
    }
    
    .dj-image-set .dj-image-item:nth-child(3) {
        flex: 0 0 100%;
        margin-top: 0.5rem;
    }
}

@media (max-width: 1000px) {
    .dj-layout {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }
    
    .dj-turntable {
        width: 100%;
        max-width: 450px;
        min-width: auto;
    }
    
    .dj-images-container {
        width: 100%;
        max-width: 600px;
    }
}

/* Tablet responsive */
/* Intermediate breakpoint for better responsiveness */
@media (max-width: 1300px) and (min-width: 1025px) {
    .about-img {
        width: 400px;
        height: 380px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .about-main {
        padding: 4rem 3rem;
    }
    
    .about-top {
        gap: 2rem;
    }
    
    .about-img {
        width: 350px;
        height: 350px;
    }
    
    .about-title {
        font-size: 4rem;
    }
    
    .about-intro {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .about-main {
        padding: 2rem;
    }
    
    /* Restructure about-top for mobile */
    .about-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .about-left {
        order: 1;
        width: 100%;
        text-align: left;
    }
    
    .about-title {
        font-size: 2.5rem;
        text-align: left;
        margin-bottom: 2rem;
    }
    
    .about-photo {
        order: 2;
        width: 100%;
        align-items: flex-end;
        margin-bottom: 2rem;
    }
    
    .about-img {
        width: 250px;
        height: 250px;
        margin-bottom: 1rem;
    }
    
    .about-edu {
        text-align: left;
    }
    
    .about-edu-right {
        text-align: left;
        align-self: flex-start;
    }
    
    
    .about-intro {
        font-size: 1rem;
        max-width: 100%;
        text-align: left;
        margin-top: 0;
    }
    
    .about-highlight-quote {
        font-size: 1.2rem;
        margin: 1.5rem 0;
    }
    
    /* Mobile dark mode for highlight quote */
    body.dark-mode .about-highlight-quote {
        color: #ffffff;
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
        transition-delay: 0.4s;
    }
    
    .dj-layout {
        padding: 0 2rem;
    }
    .strengths-card {
        padding: 1rem 1.2rem;
        font-size: 0.98rem;
    }
    
    .dj-section-title {
        font-size: 2.5rem;
    }
    
    .dj-section-subtitle {
        font-size: 1rem;
    }
    .dj-turntable {
        width: 100%;
        max-width: 450px;
        min-height: 180px;
        padding: 1rem 0.8rem;
        gap: 0.8rem;
        min-width: auto;
    }
    .turntable-record {
        width: 70px;
        height: 70px;
        min-width: 70px;
        min-height: 70px;
    }
    .slider {
        width: 28px;
        height: 28px;
    }
    .center-screen {
        width: 100px;
        height: 60px;
    }
    .screen-text {
        font-size: 0.8rem;
    }
    .center-buttons {
        gap: 0.3rem;
    }
    .center-button {
        width: 18px;
        height: 18px;
    }
    .dj-images-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        max-width: 450px;
        width: 100%;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .dj-image-set {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .dj-image-item {
        width: auto;
        align-items: center;
        flex: 0 0 auto;
    }
    .dj-image-placeholder {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }
    .dj-image-caption {
        font-size: 0.7rem;
        max-width: 80px;
        text-align: center;
    }
}

/* Music Favorites Section */
.music-favorites-section {
    margin-top: 4rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    margin-left: 2rem;
    margin-right: 2rem;
}

.music-header {
    text-align: center;
    margin-bottom: 2rem;
}

.music-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.music-dot {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.music-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
}

.vinyl-collection {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0 0 2rem 0;
    padding: 0;
}

.vinyl-record {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.vinyl-record:hover {
    transform: translateY(-15px) rotateY(15deg) scale(1.1);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.vinyl-record::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, #2a2a2a 0%, #1a1a1a 60%, #000 100%);
    border-radius: 50%;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.4),
        inset 0 2px 0 rgba(255,255,255,0.1);
}

.vinyl-record::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: conic-gradient(from 0deg, transparent, var(--vinyl-color, #4a5568), transparent);
    border-radius: 50%;
    opacity: 0.8;
    animation: spin 3s linear infinite;
    animation-play-state: paused;
}

.vinyl-record:hover::after {
    animation-play-state: running;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.vinyl-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    border-radius: 50%;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.vinyl-label {
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
}

.vinyl-grooves {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    z-index: 1;
}

.vinyl-info {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.vinyl-record:hover .vinyl-info {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

.vinyl-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.2rem;
}

.vinyl-info p {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.music-player {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 2rem;
}

.player-screen {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.album-art {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.track-info {
    flex: 1;
}

.track-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 0.3rem;
}

.track-artist {
    font-size: 1rem;
    color: #cbd5e1;
    font-weight: 500;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.control-btn {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.2rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.control-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 3px;
}

/* Set vinyl colors */
.vinyl-record[data-color="#1a1a2e"] { --vinyl-color: #1a1a2e; }
.vinyl-record[data-color="#2d1b69"] { --vinyl-color: #2d1b69; }
.vinyl-record[data-color="#1e3a8a"] { --vinyl-color: #1e3a8a; }
.vinyl-record[data-color="#7c2d12"] { --vinyl-color: #7c2d12; }
.vinyl-record[data-color="#166534"] { --vinyl-color: #166534; }
.vinyl-record[data-color="#581c87"] { --vinyl-color: #581c87; }

/* Password Protection Modal */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.password-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.password-header {
    margin-bottom: 2rem;
}

.lock-icon {
    color: #15705b;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.password-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.password-header p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

#passwordInput {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    outline: none;
}

#passwordInput:focus {
    border-color: #15705b;
}

.password-submit-btn {
    background: #15705b;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.password-submit-btn:hover {
    background: #0f5a47;
}

.password-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: #fdf2f2;
    border-radius: 8px;
    border: 1px solid #fecaca;
}

/* Dark mode for password modal */
body.dark-mode .password-modal-content {
    background: #1a1a1a;
    color: white;
}

body.dark-mode .password-header h2 {
    color: white;
}

body.dark-mode .password-header p {
    color: #ccc;
}

body.dark-mode #passwordInput {
    background: #2a2a2a;
    border-color: #444;
    color: white;
}

body.dark-mode #passwordInput:focus {
    border-color: #15705b;
}

body.dark-mode .password-error {
    background: #2d1b1b;
    border-color: #5c2a2a;
    color: #fca5a5;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .password-modal-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .password-header h2 {
        font-size: 1.5rem;
    }
    
    .password-header p {
        font-size: 0.9rem;
    }
}

/* Extra small phone styles */
@media (max-width: 480px) {
    header {
        padding: 1.5rem;
    }
    
    .dj-layout {
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .about-main {
        padding: 1.5rem;
    }
    
    .dj-turntable {
        min-height: 160px;
        padding: 0.8rem 0.6rem;
        gap: 0.6rem;
        max-width: 100%;
        width: 100%;
        min-width: auto;
    }
    
    .dj-images-container {
        max-width: 320px;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    
    .dj-image-set {
        gap: 0.8rem;
    }
    
    .dj-image-placeholder {
        width: 70px;
        height: 70px;
    }
    
    .dj-image-caption {
        font-size: 0.65rem;
        max-width: 70px;
    }
    .turntable-record {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
    }
    .slider {
        width: 24px;
        height: 24px;
    }
    .center-screen {
        width: 90px;
        height: 55px;
    }
    .screen-text {
        font-size: 0.7rem;
    }
    .center-buttons {
        gap: 0.2rem;
    }
    .center-button {
        width: 16px;
        height: 16px;
    }
    .dj-images-container {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        max-width: 350px;
    }
    .dj-image-placeholder {
        width: 100px;
        height: 100px;
    }
    .dj-image-caption {
        font-size: 0.75rem;
        max-width: 120px;
    }
}

/* Loading Screen Styles */
.loading-overlay {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s;
}
.loading-overlay[data-theme="dark"] {
  background: rgba(0, 0, 0, 0.97);
}
.loading-overlay[data-theme="light"] {
  background: rgba(255,255,255,0.95);
}
.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.record-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.record-svg {
  width: 90px;
  height: 90px;
  display: block;
  margin-bottom: 12px;
  animation: record-spin-slow 1.5s linear infinite;
}
.record-svg.fast {
  animation: record-spin-fast 0.5s linear infinite;
}
@keyframes record-spin-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes record-spin-fast {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* === HOMETEST.HTML SPECIFIC STYLES === */
/* Test Records Container */
.test-records-container {
    display: flex;
    align-items: center;
    gap: -50px;
    position: relative;
    height: 400px;
}

/* Test Record Styling - Enhanced version below */

.test-record:nth-child(1) {
    z-index: 1;
    margin-left: 0;
}

.test-record:nth-child(2) {
    z-index: 1;
    margin-left: -200px;
}

.test-record:nth-child(3) {
    z-index: 1;
    margin-left: -200px;
}

.test-record:nth-child(4) {
    z-index: 1;
    margin-left: -200px;
}

/* Test Record Image Styling */
.test-record-image {
    max-width: 500px;
    max-height: 500px;
    width: auto;
    height: auto;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    transform-origin: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* Enhanced Test Record Hover Effects */
.test-record {
    position: relative;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    opacity: 1; /* Start visible */
    text-decoration: none;
    display: block;
    z-index: 1;
}

.test-record:hover {
    z-index: 10;
    margin-left: 0 !important;
}

.test-record:hover .test-record-image {
    transform: rotate(360deg) scale(1.1);
    animation: continuous-spin 2s linear infinite;
}

/* Completely hide other test records when hovering */
.test-records-container:hover .test-record:not(:hover) {
    opacity: 0 !important;
    transform: scale(0.95) !important;
}

/* Test Project Information Container */
.test-project-info-container {
    position: absolute;
    top: 50%;
    left: 500px; /* Position to the right of the leftmost record */
    transform: translateY(-50%);
    width: 400px;
    height: 300px;
    pointer-events: none;
    z-index: 5;
}

.test-project-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.test-project-info.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.test-project-description {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.test-project-description h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.test-project-description p {
    font-size: 0.9rem;
    color: #000;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.test-project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.test-tag {
    background: #15705b;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.test-project-preview {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.test-preview-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Dark mode for test project info */
body.dark-mode .test-project-description {
    background: rgba(30, 30, 30, 0.95);
    color: #fff;
}

body.dark-mode .test-project-description h3 {
    color: #fff;
}

body.dark-mode .test-project-description p {
    color: #ccc;
}

/* Test Responsive Design */
@media (max-width: 1200px) {
    .test-records-container {
        gap: -30px;
    }
    
    .test-record-image {
        max-width: 450px;
        max-height: 450px;
    }
    
    .test-record:nth-child(2),
    .test-record:nth-child(3),
    .test-record:nth-child(4) {
        margin-left: -180px;
    }
}

@media (max-width: 1200px) {
    .test-project-info-container {
        width: 350px;
        height: 250px;
        left: 450px; /* Adjust for smaller record size */
    }
    
    .test-project-description {
        padding: 1rem;
    }
    
    .test-project-description h3 {
        font-size: 1.25rem;
    }
    
    .test-project-description p {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .test-records-container {
        flex-direction: column;
        gap: 2rem;
        height: auto;
    }
    
    .test-record {
        margin-left: 0 !important;
    }
    
    .test-record-image {
        max-width: 320px;
        max-height: 320px;
    }
    
    .test-project-info-container {
        position: static;
        transform: none;
        width: 100%;
        height: auto;
        margin-top: 2rem;
    }
    
    .test-project-info {
        position: static;
        transform: none;
        opacity: 1;
        flex-direction: column;
        height: auto;
    }
    
    .test-project-description {
        margin-bottom: 1rem;
    }
    
    .test-record:hover {
        margin-left: 0 !important;
    }
    
    .test-records-container:hover .test-record:not(:hover) {
        opacity: 1 !important;
        transform: none !important;
    }
}
/* End Loading Screen Styles */ 

/* Dark Mode Styles for About Page */
body.dark-mode .about-title {
    color: #ffffff;
}

body.dark-mode .about-dot {
    color: #ffffff;
}

body.dark-mode .about-intro {
    color: #ffffff;
}

body.dark-mode .about-highlight-quote {
    color: #ffffff;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
    transition-delay: 0.4s;
}

body.dark-mode .about-edu {
    color: #ffffff;
}

body.dark-mode .about-hats h3 {
    color: #ffffff;
}

body.dark-mode .hat-item {
    color: #ffffff;
}

body.dark-mode .hat-item:hover {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
}

body.dark-mode .hat-item:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

body.dark-mode .hats-list {
    border-left: 2px solid rgba(255,255,255,0.2);
}

body.dark-mode .dj-section-title {
    color: #ffffff;
}

body.dark-mode .dj-section-subtitle {
    color: #cccccc;
}

/* Recent Vinyl Picks Section */
.vinyl-picks-section {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    max-width: 300px;
    margin-left: auto;
}

.vinyl-picks-header {
    font-family: 'Playfair Display', serif;
    text-align: right;
    max-width: 400px;
    margin-top: 1rem;
}

.vinyl-picks-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.vinyl-picks-container {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin: 0.5rem 0 0 0;
    width: auto;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.vinyl-pick {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 120px;
}

.vinyl-pick:hover {
    transform: translateY(-3px);
}

.vinyl-album-cover {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.vinyl-album-cover:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.album-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.vinyl-pick:hover .album-image {
    transform: scale(1.05);
}

.vinyl-pick .vinyl-info {
    text-align: center;
    max-width: 100px;
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.album-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.album-artist {
    font-size: 0.6rem !important;
    color: #000000;
    font-weight: 400;
    line-height: 1.4;
}



/* Dark mode for vinyl picks */
body.dark-mode .vinyl-picks-title {
    color: #ffffff;
}

body.dark-mode .album-title {
    color: #ffffff;
}

body.dark-mode .album-artist {
    color: #cccccc;
}

/* Responsive design for vinyl picks */
@media (max-width: 768px) {
    .vinyl-picks-section {
        align-items: center;
        margin-left: 0;
        max-width: 100%;
    }
    
    .vinyl-picks-header {
        text-align: center;
    }
    
    .vinyl-picks-container {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        justify-content: center;
    }
    
    .vinyl-pick {
        max-width: 100px;
    }
    
    .vinyl-album-cover {
        width: 70px;
        height: 70px;
    }
    
    .vinyl-pick .vinyl-info {
        max-width: 90px;
    }
    
    .vinyl-picks-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .vinyl-picks-container {
        gap: 0.8rem;
        flex-direction: row;
        justify-content: center;
    }
    
    .vinyl-pick {
        max-width: 80px;
    }
    
    .vinyl-album-cover {
        width: 60px;
        height: 60px;
    }
    
    .vinyl-pick .vinyl-info {
        max-width: 80px;
    }
    
    .vinyl-picks-title {
        font-size: 1.1rem;
    }
}

/* Vinyl Picks Section - Simple Text Line */
/* .vinyl-picks-section {
    margin-top: 0rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding: 0 120px;
}

.vinyl-picks-header {
    text-align: left;
    max-width: 600px;
    margin-top: 2rem;
}

.vinyl-picks-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.vinyl-artists-line {
    font-size: 1rem;
    font-weight: 400;
    color: #000;
    text-transform: lowercase;
    line-height: 1.5;
    width: 100%;
}

/* Responsive design for vinyl picks */
@media (max-width: 1024px) and (min-width: 769px) {
    .vinyl-picks-section {
        padding: 0 3rem;
    }
}

@media (max-width: 768px) {
    .vinyl-picks-section {
        padding: 0 2rem;
    }
    
    .vinyl-picks-title {
        font-size: 2rem;
    }
    
    .vinyl-artists-line {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .vinyl-picks-section {
        padding: 0 1.5rem;
    }
    
    .vinyl-artists-line {
        font-size: 0.8rem;
    }
}

/* Dark mode for vinyl picks */
body.dark-mode .vinyl-picks-title {
    color: #ffffff;
}

body.dark-mode .vinyl-artists-line {
    color: #cccccc;
} */

body.dark-mode .dj-image-placeholder {
    background: #000000;
    border-color: #555;
    color: #999;
}

body.dark-mode .dj-image-caption {
    color: #ffffff;
    text-align: center;
} 

.about-edu-right {
    text-align: right;
    margin-top: 1.5rem;
    font-size: 1rem;
    color: #222;
    width: 100%;
}

body.dark-mode .about-edu-right {
    color: #fff;
} 

.role-svg-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.18s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
    display: block;
}
.role-svg-cursor.visible {
    opacity: 1;
} 

.role-cursor {
    transition: color 0.3s ease;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='rgba(21,112,91,0.3)' stroke='rgba(21,112,91,0.6)' stroke-width='1'/%3E%3Ccircle cx='16' cy='16' r='8' fill='rgba(21,112,91,0.2)' stroke='rgba(21,112,91,0.5)' stroke-width='0.5'/%3E%3Ccircle cx='16' cy='16' r='2' fill='rgba(0,0,0,0.4)'/%3E%3C/svg%3E") 16 16, none;
}
.role-cursor:hover {
    color: #15705b;
} 

.gradcap-icon svg {
    color: #000000;
    transition: color 0.3s;
    vertical-align: middle;
}
body.dark-mode .gradcap-icon svg {
    color: #fff;
} 

/* Music Rotation Section */
.music-rotation {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: none;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.music-rotation-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1.5rem;
    text-align: left;
    display: block !important;
    visibility: visible !important;
}

.song-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.song-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease forwards;
    position: relative;
    min-height: 80px;
}

.song-item:nth-child(1) { animation-delay: 0.1s; }
.song-item:nth-child(2) { animation-delay: 0.3s; }
.song-item:nth-child(3) { animation-delay: 0.5s; }

.song-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.cassette-icon {
    width: 60px;
    height: 40px;
    background: #15705b;
    border-radius: 8px;
    border: 3px solid #0f5a47;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cassette-icon::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    height: 8px;
    background: #0f5a47;
    border-radius: 4px;
}

.cassette-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 20px;
    background: #0f5a47;
    border-radius: 4px;
}

.cassette-reel {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #0f5a47;
    border-radius: 50%;
    border: 2px solid #15705b;
}

.cassette-reel.left {
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.cassette-reel.right {
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.cassette-reel::before {
    content: '✱';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #15705b;
    font-size: 8px;
}

/* Album Cover Placeholders */
.album-cover {
    width: 60px;
    height: 60px;
    background: #f3f4f6;
    border-radius: 8px;
    border: none;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.album-cover:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.song-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: #15705b;
    min-width: 30px;
}

.song-title {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    flex: 1;
}

.song-artist {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Dark mode for music rotation */
body.dark-mode .music-rotation {
    border-top-color: #333;
}

body.dark-mode .music-rotation-title {
    color: #ffffff;
}

body.dark-mode .song-item {
    background: #000000;
    border-color: transparent;
}

body.dark-mode .song-item:hover {
    background: #000000;
    border-color: transparent;
}

body.dark-mode .album-cover {
    background: #374151;
    border-color: #4b5563;
}

body.dark-mode .album-placeholder {
    color: #6b7280;
}

body.dark-mode .song-number {
    color: #9ca3af;
}

/* Responsive design for music rotation */
@media (max-width: 768px) {
    .music-rotation-title {
        font-size: 1.2rem;
    }
    
    .song-number {
        font-size: 0.8rem;
        min-width: 25px;
    }
    
    .song-title {
        font-size: 0.9rem;
    }
    
    .song-artist {
        font-size: 0.8rem;
    }
    
    .album-cover {
        width: 50px;
        height: 50px;
    }
    
    .song-item {
        gap: 1.5rem;
        padding: 1rem 1.5rem;
    }
}

body.dark-mode .song-title {
    color: #ffffff;
}

body.dark-mode .song-artist {
    color: #cccccc;
}

/* Dark mode styles for music player */
body.dark-mode .player-screen {
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
}

body.dark-mode .album-art {
    background: linear-gradient(45deg, #15705b, #22c55e);
}

body.dark-mode .progress-fill {
    background: linear-gradient(90deg, #15705b, #22c55e);
}

/* Override blue vinyl record color in dark mode */
body.dark-mode .vinyl-record[data-color="#1e3a8a"] { 
    --vinyl-color: #2a2a2a; 
}

/* === RESUME PAGE STYLES === */
.resume-main {
    padding: 8rem 120px;
    margin: 0;
    min-height: calc(100vh - 200px);
}

.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.resume-title {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    padding: 0;
    color: #111;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #accdc5;
    color: rgb(0, 0, 0);
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #accdc5;
    /* box-shadow: 0 4px 16px rgba(21, 112, 91, 0.2); */
}

.download-btn:hover {
    background: #758f89;
    border-color: #758f89;
    transform: translateY(-2px);
    /* box-shadow: 0 8px 24px rgba(21, 112, 91, 0.3); */
}

.download-btn svg {
    transition: transform 0.3s ease;
}

.download-btn:hover svg {
    transform: translateY(-2px);
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Scroll Animation Styles */
.timeline-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left.animate {
    transform: translateX(0);
}

.timeline-item.right.animate {
    transform: translateX(0);
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #105545 0%, #15705b 50%, #0a4335 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: flex-start;
}

.timeline-item.left {
    justify-content: flex-start;
}

.timeline-item.right {
    justify-content: flex-end;
}

.timeline-node {
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 16px;
    height: 16px;
    background: #15705b;
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(45, 80, 22, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-node {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 0 6px rgba(45, 80, 22, 0.3);
}

.timeline-content {
    max-width: 45%;
    padding: 0 2rem;
}

.timeline-item.left .timeline-content {
    text-align: right;
    padding-right: 3rem;
}

.timeline-item.right .timeline-content {
    text-align: left;
    padding-left: 3rem;
}

.timeline-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.timeline-dates {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.date {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    background: rgba(21, 112, 91, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.timeline-card {
    background: #fafafa;
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-card:hover {
    transform: translateY(-4px);
}

.timeline-card h4 {
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;

    font-weight: 700;
    color: #111;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.timeline-card .degree,
.timeline-card .company {
    font-size: 1rem;
    color: #666666;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.timeline-card .location,
.timeline-card .duration {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.timeline-card .summary {
    font-size: 1rem;
    color: #000;
    line-height: 1.6;
    margin-top: 1rem;
    font-weight: 400;
}

/* Removed job-item styles as they're no longer needed */

.timeline-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.timeline-card li {
    font-size: 0.95rem;
    color: #000;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #15705b;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Skills Section */
.skills-section {
    margin-top: 6rem;
    padding: 4rem 0;
}

.skills-title {
    font-size: 3rem;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin-bottom: 3rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category {
    background: #fafafa;
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.skill-category:hover {
    transform: translateY(-4px);
}

.skill-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d5016;
    margin-bottom: 1.5rem;
}

.skill-category p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Dark Mode Styles for Resume Page */
body.dark-mode .resume-title {
    color: #ffffff;
}

body.dark-mode .timeline-header h3 {
    color: #ffffff;
}

body.dark-mode .timeline-card {
    background: #141414;
}

body.dark-mode .timeline-card h4 {
    color: #ffffff;
}

body.dark-mode .timeline-card .degree,
body.dark-mode .timeline-card .company {
    color: #999999;
}

body.dark-mode .timeline-card .location,
body.dark-mode .timeline-card .duration {
    color: #cccccc;
}

/* Darker styling for education entries */
.timeline-card.education-card {
    background: #e8e8e8;
}

.timeline-card.education-card h4 {
    color: #000;
}

.timeline-card.education-card .degree {
    color: #000;
    font-weight: 600;
}

/* Dark mode styling for education entries - lighter background */
body.dark-mode .timeline-card.education-card {
    background: #2a2a2a;
}

body.dark-mode .timeline-card.education-card h4 {
    color: #ffffff;
}

body.dark-mode .timeline-card.education-card .degree {
    color: #cccccc;
    font-weight: 600;
}

body.dark-mode .timeline-card .summary {
    color: #cccccc;
}

body.dark-mode .timeline-card li {
    color: #cccccc;
}

/* Dark mode for timeline line and nodes */
body.dark-mode .timeline-line {
    background: linear-gradient(180deg, #2a5a4a 0%, #15705b 50%, #1a4d3a 100%);
}

body.dark-mode .timeline-node {
    background: #15705b;
    border: 4px solid #000000;
    box-shadow: 0 0 0 4px rgba(21, 112, 91, 0.3);
}

body.dark-mode .timeline-item:hover .timeline-node {
    box-shadow: 0 0 0 6px rgba(21, 112, 91, 0.4);
}

body.dark-mode .skill-category h3 {
    color: #6b8e5a;
}

body.dark-mode .skill-category p {
    color: #cccccc;
}

body.dark-mode .skill-category {
    background: #1a1a1a;
}

/* Removed border-top styles as they're no longer needed */

body.dark-mode .skills-title {
    color: #ffffff;
}

/* Removed job-item dark mode styles as they're no longer needed */

body.dark-mode .download-btn {
    background: #accdc5;
    border-color: #accdc5;
    color: rgb(0, 0, 0);
}

body.dark-mode .download-btn:hover {
    background: rgb(142, 170, 163);
    border-color: rgb(142, 170, 163);
}

/* Mobile nav download button styles - styled as regular nav link */
.mobile-nav .download-btn {
    background: transparent !important;
    color: #111 !important;
    border: none !important;
    padding: 0.2rem 0 !important;
    border-radius: 0 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-top: 0 !important;
    opacity: 0 !important;
    transform: translateY(10px) !important;
    font-size: 1.2rem !important;
}

.mobile-nav.active .download-btn {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.mobile-nav .download-btn:hover {
    background: transparent !important;
    border: none !important;
    transform: translateY(0) !important;
    opacity: 0.7 !important;
}

body.dark-mode .mobile-nav .download-btn {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
}

body.dark-mode .mobile-nav .download-btn:hover {
    background: transparent !important;
    border: none !important;
    opacity: 0.7 !important;
}

/* Responsive Design for Resume Page */
@media (max-width: 1200px) {
    .timeline-content {
        max-width: 42%;
    }
    
    .timeline-content.left {
        padding-right: 2rem;
    }
    
    .timeline-content.right {
        padding-left: 2rem;
    }
}

@media (max-width: 1000px) {
    .timeline-line {
        left: 2rem;
        transform: none;
    }
    
    .timeline-node {
        left: 2rem;
        transform: none;
    }
    
    .timeline-item:hover .timeline-node {
        transform: scale(1.2);
    }
    
    /* Mobile dark mode for timeline elements */
    body.dark-mode .timeline-line {
        background: linear-gradient(180deg, #2a5a4a 0%, #15705b 50%, #1a4d3a 100%);
    }
    
    body.dark-mode .timeline-node {
        background: #15705b;
        border: 4px solid #000000;
        box-shadow: 0 0 0 4px rgba(21, 112, 91, 0.3);
    }
    
    body.dark-mode .timeline-item:hover .timeline-node {
        box-shadow: 0 0 0 6px rgba(21, 112, 91, 0.4);
    }
    
    .timeline-content {
        max-width: none;
        margin-left: 4rem;
        padding: 0 0 0 2rem;
    }
    
    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        padding: 0 0 0 2rem;
        text-align: left;
        margin-bottom: 0.5rem;
    }
    
    .timeline-item {
        flex-direction: column;
        margin-bottom: 1.5rem;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .resume-main {
        padding: 2rem;
    }
    
    .resume-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .resume-title {
        font-size: 2.5rem;
    }
    
    .download-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .timeline-line {
        left: 1.5rem;
    }
    
    .timeline-node {
        left: 1.5rem;
        width: 12px;
        height: 12px;
        border-width: 3px;
    }
    
    /* Small mobile dark mode for timeline elements */
    body.dark-mode .timeline-node {
        border: 3px solid #000000;
        box-shadow: 0 0 0 3px rgba(21, 112, 91, 0.3);
    }
    
    .timeline-content {
        margin-left: 3rem;
        padding: 0 0 0 1rem;
    }
    
    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        text-align: left;
    }
    
    .timeline-card {
        padding: 1.5rem;
    }
    
    .timeline-card h4 {
        font-size: 1.2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skills-section {
        margin-top: 4rem;
        padding: 2rem 0;
    }
    
    .skills-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .resume-main {
        padding: 1.5rem;
    }
    
    .resume-title {
        font-size: 2rem;
    }
    
    .timeline-line {
        left: 1rem;
    }
    
    .timeline-node {
        left: 1rem;
        width: 10px;
        height: 10px;
        border-width: 2px;
    }
    
    /* Extra small mobile dark mode for timeline elements */
    body.dark-mode .timeline-node {
        border: 2px solid #000000;
        box-shadow: 0 0 0 2px rgba(21, 112, 91, 0.3);
    }
    
    .timeline-content {
        margin-left: 2.5rem;
        padding: 0 0 0 0.5rem;
    }
    
    .timeline-card {
        padding: 1rem;
    }
    
    .timeline-card h4 {
        font-size: 1.1rem;
    }
    
    .timeline-card li {
        font-size: 0.9rem;
    }
    
    .skills-section {
        margin-top: 3rem;
        padding: 1.5rem 0;
    }
    
    .skills-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .skills-grid {
        gap: 1.5rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
}

/* === CLASS CASE STUDY PAGE STYLES === */
.class-main {
    padding: 8rem 120px;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

.class-header {
    margin-bottom: 6rem;
    padding: 4rem 0rem;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    left: 0;
    right: 0;
    transform: none;
}

.class-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 3rem;
}

.class-meta {
    flex: 1;
}

.class-organization {
    font-size: 1.1rem;
    color: #2e2e2e;
    font-weight: 200;
    margin-bottom: 1rem;
    display: block;
}

.class-title {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    padding-bottom: 2rem;
    color: #111;
}

.class-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    flex: 1;
}

.class-detail-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.class-detail-item p {
    font-size: 1rem;
    color: #000;
    line-height: 1.5;
    margin: 0;
}

.class-hero-image {
    width: 100%;
    margin-top: 2rem;
}

.class-hero-image .expandable-image {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='rgba(21,112,91,0.6)' stroke='rgba(21,112,91,0.9)' stroke-width='1'/%3E%3Ccircle cx='16' cy='16' r='8' fill='rgba(21,112,91,0.4)' stroke='rgba(21,112,91,0.8)' stroke-width='0.5'/%3E%3Ccircle cx='16' cy='16' r='2' fill='rgba(0,0,0,0.6)'/%3E%3C/svg%3E") 16 16, none !important;
    transition: none !important;
}

.class-hero-image .expandable-image:hover {
    transform: none !important;
    box-shadow: none !important;
}

.class-dashboard-image {
    width: 100vw;
    max-width: none;
    height: auto;
    display: block;
    margin: 0;
    margin-left: calc(-50vw + 50%);
    border-radius: 0;
    box-shadow: none;
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.class-dashboard-image:hover {
    transform: scale(1.01);
}

/* Case Study Sections */
.case-study-section {
    margin-bottom: 9.5rem;
}

/* Overview Flexbox Layout */
.overview-flex {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.overview-text {
    flex: 1;
}

.overview-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.class-logo {
    max-width: 400px;
    height: auto;
    transition: transform 0.3s ease;
}

.class-logo:hover {
    transform: scale(1.05);
}

/* Mobile responsiveness for overview flexbox */
@media (max-width: 768px) {
    .overview-flex {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .overview-logo {
        order: -1;
    }
    
    .class-logo {
        max-width: 300px;
    }
}

/* CLASS Map Styling */
.class-map-container {
    margin: 2rem 0;
    text-align: center;
}

.class-map-image {
    max-width: 400px;
    height: auto;
    border-radius: 5px;
    box-shadow: none;
    transition: none;
}

.class-map-image:hover {
    /* Hover effects removed - keeping image flat */
}

/* Blue highlight for key phrases */
.blue-highlight {
    color: #87CEEB;
    font-weight: 600;
}

/* Insights Image Container */
.insights-image-container {
    margin: 3rem 0;
    padding-top: 4rem;
    text-align: center;
}

.insights-image {
    max-width: 100%;
    height: auto;
}

/* Problem Section Blue Background */
#problem {
    background: #A0D7DC;
    padding: 3rem 0;
    margin: 2rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Image Container Styling */
.image-container {
    margin: 2rem 0;
    text-align: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: translateY(-2px);
}

/* H4 Styling for Case Study Sections */
.case-study-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin: 2rem 0 1rem 0;
    line-height: 1.4;
}

body.dark-mode .case-study-section h4 {
    color: #ffffff;
}

/* Smaller Image Container */
.image-container.small img {
    max-width: 60%;
    height: auto;
}

/* Responsive Image Container */
@media (max-width: 768px) {
    .image-container {
        margin: 1.5rem 0;
    }
    
    .image-container.small img {
        max-width: 80%;
    }
    
    .case-study-section h4 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.8rem 0;
    }
}

@media (max-width: 480px) {
    .image-container {
        margin: 1rem 0;
    }
    
    .image-container.small img {
        max-width: 90%;
    }
    
    .case-study-section h4 {
        font-size: 1.1rem;
        margin: 1.2rem 0 0.6rem 0;
    }
}

/* Xometry Problem Section - Black background with white text in light mode */
#problem.xometry-problem {
    background: #000000 !important;
    padding: 3rem 0;
    margin: 2rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

#problem .section-title,
#problem .section-impact,
#problem .problem-factor h4,
#problem .problem-factor p {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
}

#problem.xometry-problem .section-title,
#problem.xometry-problem .section-subtitle,
#problem.xometry-problem .section-text p {
    color: #ffffff !important;
}

#problem .problem-factors {
    margin-top: 2rem;
}

#problem .section-content {
    padding: 0 120px;
    max-width: 1200px;
    margin: 0 auto;
}

#problem .section-header {
    padding: 0 120px;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
}

.xometry-problem .section-content {
    padding: 0 120px;
    max-width: 1200px;
    margin: 0 auto;
}

.xometry-problem .section-header {
    padding: 0 120px;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
}

.section-header {
    margin-bottom: .8rem;
}

.section-title {
    font-size: .8rem;
    font-weight: 200;
    color: #111;
    margin: 0 0 0 0;
    display: inline-block;
}

.section-content {
    max-width: 100%;
}

.section-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.section-impact {
    font-size: 2.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 2rem;
    line-height: 1.3;
    position: relative;
}

.section-text {
    margin-bottom: 3rem;
}

/* Left-right container flexbox layout */
.left-right-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Fix list indentation within paragraphs */
.section-text ul,
.section-text ol {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.section-text li {
    margin-bottom: 0.25rem;
}

/* Make llmstructure image larger */
.class-map-image[src*="llmstructure.png"] {
    max-width: 1200px;
}

.left-right-container .section-text {
    flex: 1;
    margin-bottom: 0;
}

.left-right-container .class-map-container {
    flex: 0 0 auto;
    margin: 0;
}

/* Responsive behavior */
@media (max-width: 768px) {
    .left-right-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .left-right-container .class-map-container {
        align-self: center;
    }
}

.section-text p {
    font-size: 0.9rem;
    line-height: 2;
    color: #000;
    margin-bottom: 1.5rem;
}

/* Research Methods */
.research-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.research-method {
    text-align: center;
    transition: all 0.3s ease;
}

.research-method:hover {
    transform: translateY(-2px);
}

.method-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #87CEEB;
    transition: all 0.3s ease;
}

.research-method:hover .method-icon {
    color: #5DADE2;
    transform: scale(1.1);
}

.research-method h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin: 0;
}

/* Insights */
.insights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.insight {
    padding: 2.5rem;
    background: #A0D7DC;
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.insight:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.insight h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.insight p {
    font-size: 1rem;
    color: #000000;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Problem Statement */
.problem-statement {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(21, 112, 91, 0.2);
    border-radius: 24px;
    padding: 4rem 3rem;
    margin: 4rem 0;
    text-align: center;
}

.problem-statement h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.3;
}

/* Journey Map Styles */
.journey-map-container {
    width: 100%;
    margin: 3rem 0;
    text-align: center;
}

.journey-map-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.journey-map-image:hover {
    transform: scale(1.02);
}

/* Responsive Journey Map */
@media (max-width: 768px) {
    .journey-map-container {
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .journey-map-container {
        margin: 1.5rem 0;
    }
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.image-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.image-modal-close:hover {
    color: #15705b;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .image-modal-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .image-modal-close {
        top: 10px;
        right: 15px;
        font-size: 25px;
    }
}

/* Problem Factors */
.problem-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.problem-factor {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(21, 112, 91, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.problem-factor:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.problem-factor h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #15705b;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.problem-factor p {
    font-size: 1rem;
    color: #000;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Dark Mode Styles for CLASS Page */
body.dark-mode .class-title {
    color: #ffffff;
}


body.dark-mode .class-organization {
    color: #cccccc;
}

body.dark-mode .class-detail-item h3 {
    color: #ffffff;
}

body.dark-mode .class-detail-item p {
    color: #cccccc;
}

body.dark-mode .section-title {
    color: #ffffff;
}

body.dark-mode .section-subtitle {
    color: #ffffff;
}

/* Special styling for problem section subtitle */
#problem .section-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 3rem;
    text-align: left;
    max-width: 100%;
}

#problem.xometry-problem .section-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff !important;
    line-height: 1.2;
    margin-bottom: 3rem;
    text-align: left;
    max-width: 100%;
}

/* Dark mode for problem section */
body.dark-mode #problem .section-subtitle {
    color: #ffffff;
}

body.dark-mode #problem.xometry-problem {
    background: #ffffff !important;
}

body.dark-mode #problem.xometry-problem .section-title,
body.dark-mode #problem.xometry-problem .section-subtitle,
body.dark-mode #problem.xometry-problem .section-text p {
    color: #000000 !important;
}

body.dark-mode .section-text p {
    color: #ffffff;
}

body.dark-mode .method-icon {
    color: #87CEEB;
}

body.dark-mode .research-method h4 {
    color: #ffffff;
}

body.dark-mode .insight {
    background: #A0D7DC;
    border: none;
}

body.dark-mode .insight h4 {
    color: #000000;
}

body.dark-mode .insight p {
    color: #000000;
}

body.dark-mode .problem-statement {
    background: rgba(0, 0, 0, 0.95);
    border-color: rgba(21, 112, 91, 0.3);
}

body.dark-mode .problem-statement h3 {
    color: #ffffff;
}

body.dark-mode .problem-factor {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(21, 112, 91, 0.2);
}

body.dark-mode .problem-factor h4 {
    color: #15705b;
}

body.dark-mode .problem-factor p {
    color: #cccccc;
}

/* Problem Flow Arrows */
.problem-factors {
    position: relative;
}

.problem-factors::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 2rem;
    background: linear-gradient(to top, #15705b, transparent);
    opacity: 0.6;
    animation: arrowFlow 2s ease-in-out infinite;
}

.problem-factors::after {
    content: '↑';
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: #15705b;
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0.8;
    animation: arrowBounce 2s ease-in-out infinite;
}

/* Individual problem factor arrows - only for left and right boxes */
.problem-factor {
    position: relative;
}

.problem-factor:first-child::before,
.problem-factor:last-child::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 1.5rem;
    background: linear-gradient(to top, #15705b, transparent);
    opacity: 0.4;
    animation: arrowFlow 2s ease-in-out infinite;
    animation-delay: calc(var(--factor-index) * 0.2s);
}

.problem-factor:first-child::after,
.problem-factor:last-child::after {
    content: '↑';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #15705b;
    font-size: 0.9rem;
    font-weight: bold;
    opacity: 0.6;
    animation: arrowBounce 2s ease-in-out infinite;
    animation-delay: calc(var(--factor-index) * 0.2s);
}

/* Arrow animations */
@keyframes arrowFlow {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateX(-50%) translateY(-3px);
        opacity: 1;
    }
}

/* Dark mode arrows */
body.dark-mode .problem-factors::before,
body.dark-mode .problem-factor:first-child::before,
body.dark-mode .problem-factor:last-child::before {
    background: linear-gradient(to top, #22c55e, transparent);
}

body.dark-mode .problem-factors::after,
body.dark-mode .problem-factor:first-child::after,
body.dark-mode .problem-factor:last-child::after {
    color: #22c55e;
}

/* Ideation Section */
.ideation-questions {
    margin: 3rem 0;
}

.question-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.question-item:hover {
    transform: translateX(5px);
}

.question-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #15705b;
    margin-right: 1rem;
    min-width: 2rem;
}

.question-item p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #000;
}

.ideation-diagram {
    margin: 4rem 0;
    text-align: center;
}

.ideation-image-container {
    width: 100%;
    margin: 3rem 0;
    text-align: center;
}

.ideation-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.ideation-image:hover {
    transform: scale(1.02);
}

/* Prototyping Image Container */
.prototyping-image-container {
    width: 100%;
    margin: 3rem 0;
    text-align: center;
}

.prototyping-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    transition: all 0.3s ease;
}

.prototyping-image:hover {
    transform: scale(1.02);
}

/* Class Insight Image Container */
.class-insight-container {
    width: 100%;
    margin: 3rem 0;
    text-align: center;
}

.class-insight-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    transition: all 0.3s ease;
}

.class-insight-image:hover {
    transform: scale(1.02);
}

/* Dark mode for ideation */
body.dark-mode .question-item p {
    color: #ffffff;
}

/* Prototyping Section */
.prototyping-diagram {
    margin: 4rem 0;
    text-align: center;
}

.card-sort-diagram {
    width: 100%;
    margin: 3rem 0;
    text-align: center;
}

.card-sort-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.card-sort-image:hover {
    transform: scale(1.02);
}

.card-sort-photos {
    width: 100%;
    margin: 3rem 0;
    text-align: center;
}

.card-sort-photo {
    width: 100vw;
    max-width: none;
    height: auto;
    display: block;
    margin: 0;
    margin-left: calc(-50vw + 50%);
    cursor: zoom-in;
    transition: all 0.3s ease;
    border-radius: 0;
    box-shadow: none;
}

.card-sort-photo:hover {
    transform: scale(1.01);
}

.prototyping-takeaways {
    margin: 4rem 0;
}

.takeaway-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.takeaway-item:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateX(5px);
}

.takeaway-icon {
    width: 48px;
    height: 48px;
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #15705b, #22c55e);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.takeaway-item:hover .takeaway-icon {
    transform: scale(1.1);
}

.takeaway-item p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #000;
}

/* Usability Testing Section */
.usability-insights {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 2rem 0 4rem 0;
}

.insights-category {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.insights-category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color, #000);
    margin-bottom: 0.5rem;
}

.insight-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 100%;
}

.insight-card {
    background: #000000;
    border: none;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.insight-card:hover {
    background: #333333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.insight-icon {
    background: transparent;
    color: #ffffff;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.insight-icon svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.insight-card p {
    margin: 0;
    color: #ffffff;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Dark mode for usability testing */
body.dark-mode .insights-category-title {
    color: #ffffff;
}

body.dark-mode .insight-card {
    background: #ffffff;
}

body.dark-mode .insight-card:hover {
    background: #f0f0f0;
}

body.dark-mode .insight-card p {
    color: #000000;
}

body.dark-mode .insight-card .insight-icon {
    color: #000000;
}

body.dark-mode .insight-card .insight-icon svg {
    color: #000000;
}

/* Class page specific insight cards with blue theme */
.class-insight-card {
    background: #000000;
    border: none;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.class-insight-card:hover {
    background: #333333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.class-insight-card .insight-icon {
    background: transparent;
    color: #ffffff;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.class-insight-card .insight-icon svg {
    color: #ffffff;
}

.class-insight-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.class-insight-card p {
    margin: 0;
    color: #ffffff;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Dark mode for class insight cards */
body.dark-mode .class-insight-card {
    background: #ffffff;
}

body.dark-mode .class-insight-card:hover {
    background: #f0f0f0;
}

body.dark-mode .class-insight-card h3 {
    color: #000000;
}

body.dark-mode .class-insight-card p {
    color: #000000;
}

body.dark-mode .class-insight-card .insight-icon {
    color: #000000;
}

body.dark-mode .class-insight-card .insight-icon svg {
    color: #000000;
}

/* Research Page Specific Styles */
.research-question-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #A0D7DC;
}

body.dark-mode .research-question-text {
    color: #fff;
    background: #2a2a2a;
    border-left-color: #A0D7DC;
}

.pipeline-stages {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.pipeline-stage {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #A0D7DC;
}

body.dark-mode .pipeline-stage {
    background: #2a2a2a;
    border-left-color: #A0D7DC;
}

.stage-number {
    background: #A0D7DC;
    color: #000;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stage-content h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.2rem;
}

body.dark-mode .stage-content h3 {
    color: #fff;
}

.stage-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

body.dark-mode .stage-content p {
    color: #ccc;
}

.evaluation-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.metric-card {
    background: #000000;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #A0D7DC;
}

body.dark-mode .metric-card {
    background: #ffffff;
    border-left-color: #A0D7DC;
}

.metric-card h3 {
    margin: 0 0 1rem 0;
    color: #ffffff;
    font-size: 1.2rem;
}

body.dark-mode .metric-card h3 {
    color: #000000;
}

.metric-card p {
    margin: 0.5rem 0;
    color: #ffffff;
    line-height: 1.6;
}

body.dark-mode .metric-card p {
    color: #000000;
}

.metric-card code {
    background: #333333;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #ffffff;
}

body.dark-mode .metric-card code {
    background: #f0f0f0;
    color: #000000;
}

.back-to-work-section {
    margin: 4rem 0 2rem 0;
    text-align: center;
}

.back-to-work-content {
    display: flex;
    justify-content: center;
}

/* Sample Pipeline Image - Make it bigger */
.class-map-container .class-map-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 2rem auto;
    display: block;
}

/* Class page specific - Make class-map-container smaller */
.class-main .class-map-container .class-map-image {
    max-width: 500px;
    margin: 1rem auto;
}

/* Context-aware page specific - Center only the "Coming Soon..." text */
.context-aware-vr-page .coming-soon-subtitle {
    text-align: center;
}

.context-aware-vr-page .coming-soon-description {
    text-align: center;
}

/* Feature GIFs - Rounded borders */
.design-features img {
    border-radius: 5px;
    object-fit: cover;
    object-position: center 4%;
}

/* Problem section - Black background in light mode, white in dark mode */
.class-main #problem {
    background: #000000;
    color: #ffffff;
}

.class-main #problem .section-title,
.class-main #problem .section-impact,
.class-main #problem h3,
.class-main #problem p {
    color: #ffffff;
}

body.dark-mode .class-main #problem {
    background: #ffffff;
    color: #000000;
}

body.dark-mode .class-main #problem .section-title,
body.dark-mode .class-main #problem .section-impact,
body.dark-mode .class-main #problem h3,
body.dark-mode .class-main #problem p {
    color: #000000;
}

/* Responsive adjustments for research page */
@media (max-width: 768px) {
    .research-question-text {
        font-size: 1.2rem;
        padding: 1.5rem;
    }
    
    .pipeline-stage {
        flex-direction: column;
        text-align: center;
    }
    
    .evaluation-metrics {
        grid-template-columns: 1fr;
    }
    
    .metric-card code {
        font-size: 0.8rem;
        word-break: break-all;
    }
    
    .class-map-container .class-map-image {
        max-width: 100%;
    }
}

/* Responsive design for usability testing */
@media (max-width: 1200px) {
    .insight-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .usability-insights {
        gap: 2rem;
    }
    
    .insight-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .insight-card {
        padding: 1.25rem;
    }
    
    .insights-category-title {
        font-size: 1.1rem;
    }
    
    .coming-soon-content {
        padding: 2rem 0;
    }
    
    .coming-soon-subtitle {
        font-size: 1.25rem;
    }
    
    .coming-soon-description {
        font-size: 1rem;
    }
}

/* Design Section */
#design .section-content {
    position: relative;
}

.video-container {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: #f5f5f5;
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.video-container iframe {
    width: 800px;
    height: 450px;
    max-width: 90vw;
    max-height: 50vw;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Dark mode for design section */
body.dark-mode .video-container {
    background: #1a1a1a;
}

/* Design Features */
.design-features {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 12rem;
    margin-top: 4rem;
}

.design-feature {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}


.feature-text {
    flex: 0.6;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color, #000);
    margin: 0;
}

.feature-insight {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.insight-icon {
    color: var(--accent-color, #007AFF);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.insight-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color, #000);
    margin: 0;
}

.insight-label {
    font-size: 0.7rem;
    color: var(--text-secondary, #666);
    text-transform: lowercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.feature-gif {
    flex: 1.4;
    max-width: 1500px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.feature-image {
    width: 100%;
    height: auto;
    max-height: 1200px;
    object-fit: cover;
    display: block;
}

.feature-caption {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #A0D7DC;
    border-radius: 8px;
    border-left: none;
}

.caption-icon {
    color: #000000;
    flex-shrink: 0;
    margin-top: 0.125rem;
    font-size: 1.2rem;
}

.feature-caption span {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-color, #000);
}

/* Dark mode for design features */
body.dark-mode .feature-title,
body.dark-mode .feature-description {
    color: #ffffff;
}

body.dark-mode .feature-caption span {
    color: #000000;
}

body.dark-mode .insight-label {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .feature-gif {
    background: #2a2a2a;
}

body.dark-mode .feature-caption {
    background: #A0D7DC;
}

/* Responsive design for design section */
@media (max-width: 768px) {
    .video-container {
        padding: 2rem 0;
    }
    
    .video-container iframe {
        width: 100%;
        height: 200px;
        max-height: 56.25vw;
    }
    
    .design-features {
        gap: 15rem;
        margin-top: 3rem;
    }
    
    .design-feature {
        flex-direction: column;
        gap: 2rem;
    }
    
    .feature-text {
        gap: 1.25rem;
    }
    
    .feature-content {
        gap: 1.25rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .feature-gif {
        max-width: 100%;
    }
    
    .feature-caption {
        padding: 0.75rem;
    }
}

/* Impact Section */
.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.metric-card {
    background: #000000;
    border: none;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.metric-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.metric-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff !important;
    margin-bottom: 1rem;
}

.metric-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ffffff !important;
    margin: 0;
    opacity: 0.9;
}

.quotes-section {
    margin-top: 4rem;
}

.quotes-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color, #000);
    margin-bottom: 2rem;
    text-align: center;
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.quote-item {
    background: rgba(0, 122, 255, 0.05);
    border: none;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.quote-item p {
    margin: 0 0 1rem 0;
    color: var(--text-color, #000);
    line-height: 1.6;
    font-size: 0.95rem;
    font-style: italic;
}

.quote-attribution {
    font-size: 0.85rem;
    color: var(--text-color, #666);
    font-weight: 500;
}

/* Final Thoughts Section */
.final-thoughts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.thoughts-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color, #000);
    margin-bottom: 2rem;
}

.thoughts-title-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.thoughts-icon {
    color: var(--accent-color, #007AFF);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.thoughts-content {
    background: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
    position: relative;
}

.thoughts-content p {
    margin: 0;
    color: var(--text-color, #000);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Dark mode for impact and final thoughts */
body.dark-mode .impact-column-title,
body.dark-mode .quotes-title,
body.dark-mode .thoughts-title {
    color: #ffffff;
}

body.dark-mode .insight-box {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .insight-box:hover {
    border-color: var(--accent-color, #007AFF);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

body.dark-mode .outcome-item {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .outcome-item:hover {
    border-color: var(--accent-color, #007AFF);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

body.dark-mode .quote-item {
    background: #ffffff;
    border: none;
}

body.dark-mode .thoughts-content {
    background: transparent;
    border: none;
}

body.dark-mode .outcome-item p,
body.dark-mode .quote-content p,
body.dark-mode .thoughts-content p {
    color: #ffffff;
}

body.dark-mode .quote-item p {
    color: #000000;
}

body.dark-mode .quote-attribution {
    color: #666666;
}

body.dark-mode .quote-icon {
    border-color: rgba(0, 122, 255, 0.3);
}

body.dark-mode .metric-card {
    background: #ffffff;
}

body.dark-mode .metric-icon {
    color: #000000;
}

body.dark-mode .metric-title {
    color: #000000 !important;
}

body.dark-mode .metric-description {
    color: #000000 !important;
    opacity: 0.9;
}

body.dark-mode .metric-icon {
    color: #000000 !important;
}

body.dark-mode .insight-icon {
    color: #ffffff;
}

body.dark-mode .insight-icon svg {
    color: #ffffff;
}

body.dark-mode .caption-icon {
    color: #000000;
}

/* Coming Soon Section */
.coming-soon-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 0;
}


.coming-soon-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    color: #A480A6;
}

.coming-soon-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color, #000);
    margin-bottom: 1.5rem;
}

.coming-soon-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary, #666);
    margin-bottom: 2.5rem;
}

.coming-soon-cta {
    display: flex;
    justify-content: center;
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #A480A6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #8B6B8D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(164, 128, 166, 0.3);
}

/* Dark mode for coming soon */
body.dark-mode .coming-soon-subtitle {
    color: #ffffff;
}

body.dark-mode .coming-soon-description {
    color: #cccccc;
}

body.dark-mode .coming-soon-icon {
    color: #A480A6;
}

/* Coachpro page specific styling */
.coachpro-page .coming-soon-icon {
    color: #2c804b;
}

.coachpro-page .btn-primary {
    background: #2c804b;
    color: white;
}

.coachpro-page .btn-primary:hover {
    background: #296b41;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Responsive design for impact and final thoughts */
@media (max-width: 768px) {
    .impact-metrics {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .metric-card {
        padding: 1.5rem;
    }
    
    .quotes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .final-thoughts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Dark mode for prototyping */
body.dark-mode .takeaway-item {
    background: rgba(0, 0, 0, 0.6);
}

body.dark-mode .takeaway-item:hover {
    background: rgba(0, 0, 0, 0.8);
}

body.dark-mode .takeaway-item p {
    color: #ffffff;
}

body.dark-mode .card-sort-photo {
    box-shadow: none;
}

body.dark-mode .card-sort-photo:hover {
    box-shadow: none;
}

/* Prototype Gallery */
.prototype-gallery {
    margin: 4rem 0;
    position: relative;
}

.prototype-header {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3e9554;
    margin-bottom: 1.5rem;
    text-align: center;
}

.prototype-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2rem 0;
    scroll-behavior: smooth;
    /* Hide scrollbar for webkit browsers */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.prototype-scroll-container::-webkit-scrollbar {
    display: none;
}

.prototype-image {
    width: auto;
    height: 400px;
    min-width: 100%;
    object-fit: contain;
    cursor: zoom-in;
    transition: all 0.3s ease;
    border-radius: 12px;
    box-shadow: none;
}

.prototype-image:hover {
    transform: none;
    box-shadow: none;
}

.scroll-indicator {
    text-align: center;
    margin-top: 1rem;
    opacity: 0.7;
}

.scroll-indicator span {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Dark mode for prototype gallery */
body.dark-mode .prototype-image {
    box-shadow: none;
}

body.dark-mode .prototype-image:hover {
    box-shadow: none;
}

body.dark-mode .scroll-indicator span {
    color: #999;
}

body.dark-mode .prototype-header {
    color: #3e9554;
}


/* Responsive Design for CLASS Page */
@media (max-width: 1000px) {
    .class-header-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .class-details {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }
    
    .research-methods {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .insights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .problem-factors {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .class-main {
        padding: 2rem;
    }
    
    #problem .section-content {
        padding: 0 2rem;
    }
    
    #problem .section-header {
        padding: 0 2rem;
    }
    
    #problem.xometry-problem .section-content {
        padding: 0 2rem;
    }
    
    #problem.xometry-problem .section-header {
        padding: 0 2rem;
    }
    
    .class-header {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        position: relative;
        left: 0;
        right: 0;
        transform: none;
        padding-left: 0rem;
        padding-right: 2rem;
    }
    
    .class-title {
        font-size: 2.5rem;
        
    }
    
    .section-title {
        font-size: 0.9rem;
    }
    
    .section-subtitle {
        font-size: 1.4rem;
    }
    
    #problem .section-subtitle {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    #problem.xometry-problem .section-subtitle {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .class-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .research-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .problem-statement {
        padding: 2rem 1rem;
    }
    
    .problem-statement h3 {
        font-size: 1.5rem;
    }
    
    .case-study-section {
        margin-bottom: 6rem;
     
    }
}

@media (max-width: 480px) {
    .class-main {
        padding: 1.5rem;
    }
    
    .class-header {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        position: relative;
        left: 0;
        right: 0;
        transform: none;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .class-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 0.85rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
    }
    
    #problem .section-subtitle {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    #problem.xometry-problem .section-subtitle {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .section-text p {
        font-size: 0.95rem;
    }
    
    .research-methods {
        grid-template-columns: 1fr;
    }
    
    .research-method {
        margin-bottom: 1rem;
    }
    
    .insight {
        padding: 1.5rem;
    }
    
    /* Hide arrows on mobile for cleaner look */
    .problem-factors::before,
    .problem-factors::after,
    .problem-factor::before,
    .problem-factor::after {
        display: none;
    }
    
    .problem-factor {
        padding: 1.5rem;
    }
    
    /* Ideation responsive */
    .ideation-image-container {
        margin: 2rem 0;
    }
    
    .question-item {
        padding: 1rem;
    }
    
    .question-item p {
        font-size: 1rem;
    }
    
    .ideation-image {
        max-width: 100%;
    }
    
    .prototyping-image-container {
        margin: 2rem 0;
    }
    
    .prototyping-image {
        max-width: 100%;
    }
    
    .class-insight-container {
        margin: 2rem 0;
    }
    
    .class-insight-image {
        max-width: 100%;
    }
    
    /* Prototyping responsive */
    .card-sort-image {
        max-width: 100%;
    }
    
    .card-sort-photo {
        max-width: 100%;
    }
    
    .takeaway-item {
        padding: 1rem;
    }
    
    .takeaway-icon {
        width: 40px;
        height: 40px;
        margin-right: 1rem;
    }
    
    .takeaway-item p {
        font-size: 1rem;
    }
    
    /* Prototype gallery responsive */
    .prototype-image {
        height: 300px;
    }
    
    .scroll-indicator span {
        font-size: 0.8rem;
    }
    
    .prototype-header {
        font-size: 1.1rem;
    }
}

/* === WORK PAGE STYLES === */
.work-main {
    padding: 8rem 120px;
    margin: 0;
}

.work-header {
    text-align: left;
    margin-bottom: 4rem;
}

.work-title {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1rem 0;
    padding: 0;
    transition: color 0.3s ease;
}

.work-dot {
    color: #111;
    transition: color 0.3s ease;
}

.work-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #000000;
    font-weight: 400;
    max-width: 50%;
    line-height: 1.6;
}
.work-subtitle:not(.fade-in-delay-2) {
    transition: color 0.3s ease;
}

/* Ensure work-subtitle with fade-in-delay-2 has proper initial state */
.work-subtitle.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.4s;
}

.work-subtitle.fade-in-delay-2.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Work Filters Section */
.work-filters {
    margin-bottom: 5rem;
    border: none;
    outline: none;
}

.filter-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    border: none;
    outline: none;
}

.filter-btn {
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: #000;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    background: #333;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.filter-text {
    font-weight: 600;
    white-space: nowrap;
}

.filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    line-height: 1;
}

.filter-btn:not(.active) .filter-count {
    background: #ddd;
    color: #666;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    justify-content: center;
}

.work-item {
    max-width: 600px;
    width: 100%;
    margin-bottom: 4rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.work-item.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.project-image-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    cursor: pointer;
    border-radius: 12px;
}

.project-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

/* Lazy loading styles */
.lazy-load {
    opacity: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.lazy-load.loaded {
    opacity: 1;
    animation: none;
}

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

body.dark-mode .lazy-load {
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
}

.project-image-container:hover .project-image {
    transform: scale(1.05);
    border-radius: 12px;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    border-radius: 12px;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-image-container:hover .project-overlay {
    opacity: 1;
    border-radius: 12px;
}

.view-project {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
}



.project-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
    line-height: 1.2;
}



.project-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}



.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #f5f5f5;
    color: #000;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}



.work-cta {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin-top: 2rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: #15705b;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #15705b;
}

.cta-button:hover {
    background: #0f5a47;
    border-color: #0f5a47;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(21, 112, 91, 0.3);
}

/* Dark mode styles for work page */


body.dark-mode .work-title {
    color: #ffffff;
}

body.dark-mode .work-dot {
    color: #ffffff;
}

body.dark-mode .work-subtitle {
    color: #ffffff;
}

body.dark-mode .work-subtitle:not(.fade-in-delay-2) {
    transition: color 0.3s ease;
}

/* Dark mode for work-subtitle with fade-in-delay-2 */
body.dark-mode .work-subtitle.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.4s;
}

body.dark-mode .work-subtitle.fade-in-delay-2.loaded {
    opacity: 1;
    transform: translateY(0);
}

body.dark-mode .filter-btn {
    background: #2a2a2a;
    color: #e0e0e0;
    border: none;
}

body.dark-mode .filter-btn:hover {
    background: #333333;
}

body.dark-mode .filter-btn.active {
    background: #ffffff;
    color: #000000;
}

body.dark-mode .filter-btn:not(.active) .filter-count {
    background: #555555;
    color: #cccccc;
}




body.dark-mode .project-name {
    color: #ffffff;
}

body.dark-mode .project-description {
    color: #cccccc;
}

body.dark-mode .tag {
    background: #2a2a2a;
    color: #e0e0e0;
    border: none;
}

body.dark-mode .work-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

body.dark-mode .cta-content h2 {
    color: #ffffff;
}

body.dark-mode .cta-content p {
    color: #cbd5e1;
}

/* Responsive design for work page */
@media (max-width: 1000px) {
    .work-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .work-main {
        padding: 2rem;
    }
    
    .work-title {
        font-size: 2.5rem;
    }
    
    .work-subtitle {
        font-size: 1rem;
        max-width: 100%;
        color: #000000;
    }
    
    .work-subtitle:not(.fade-in-delay-2) {
        transition: color 0.3s ease;
    }
    
    /* Ensure work-subtitle with fade-in-delay-2 has proper initial state on mobile */
    .work-subtitle.fade-in-delay-2 {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        transition-delay: 0.4s;
    }
    
    .work-subtitle.fade-in-delay-2.loaded {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Mobile dark mode for work subtitle */
    body.dark-mode .work-subtitle {
        color: #ffffff;
    }
    
    body.dark-mode .work-subtitle:not(.fade-in-delay-2) {
        transition: color 0.3s ease;
    }
    
    /* Mobile dark mode for work-subtitle with fade-in-delay-2 */
    body.dark-mode .work-subtitle.fade-in-delay-2 {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        transition-delay: 0.4s;
    }
    
    body.dark-mode .work-subtitle.fade-in-delay-2.loaded {
        opacity: 1;
        transform: translateY(0);
    }
    
    .filter-container {
        gap: 0.8rem;
    }
    
    .filter-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        border: none;
    }
    
    .filter-text {
        font-size: 0.85rem;
    }
    
    .work-grid {
        gap: 1.5rem;
    }
    
    .work-content {
        padding: 1.5rem;
    }
    
    .project-name {
        font-size: 1.5rem;
    }
    
    .work-cta {
        padding: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .work-main {
        padding: 1.5rem;
    }
    
    .work-title {
        font-size: 2rem;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }
    
    .filter-btn {
        justify-content: center;
        padding: 0.8rem 1rem;
        border: none;
    }
    
    .work-grid {
        gap: 1rem;
    }
    
    .work-content {
        padding: 1rem;
    }
    
    .project-name {
        font-size: 1.3rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .work-cta {
        padding: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Progress Indicator */
.progress-indicator {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    border-radius: 20px;
    padding: 1.5rem 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0.95;
}

.progress-indicator:hover {
    opacity: 1;
    transform: translateY(-50%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='rgba(21,112,91,0.6)' stroke='rgba(21,112,91,0.9)' stroke-width='1'/%3E%3Ccircle cx='16' cy='16' r='8' fill='rgba(21,112,91,0.4)' stroke='rgba(21,112,91,0.8)' stroke-width='0.5'/%3E%3Ccircle cx='16' cy='16' r='2' fill='rgba(0,0,0,0.6)'/%3E%3C/svg%3E") 16 16, none;
    transition: all 0.3s ease;
    padding: 0.3rem;
    border-radius: 8px;
    position: relative;
}

.progress-step:hover {
    /* background: rgba(0, 0, 0, 0.05); */
    transform: translateX(-4px);
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.progress-step.active .step-dot {
    background: #333;
    border-color: #333;
    box-shadow: 0 0 0 4px rgba(51, 51, 51, 0.2);
    transform: scale(1.2);
}

.progress-step.completed .step-dot {
    background: #000;
    border-color: #000;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.progress-step.active .step-label {
    color: #000;
    font-weight: 600;
}

.progress-step.completed .step-label {
    color: #000;
    font-weight: 600;
}

/* Light mode styles for progress indicator */
[data-theme="light"] .progress-indicator {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .progress-indicator:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* [data-theme="light"] .progress-step:hover {
    background: rgba(0, 0, 0, 0.08);
} */

[data-theme="light"] .step-dot {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .step-label {
    color: #666;
    font-weight: 500;
    font-size: 0.75rem;
}

[data-theme="light"] .progress-step.active .step-label {
    color: #000;
    font-weight: 700;
}

[data-theme="light"] .progress-step.completed .step-label {
    color: #000;
    font-weight: 700;
}

/* Dark mode styles for progress indicator */
[data-theme="dark"] .progress-indicator {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .progress-indicator:hover {
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

/* [data-theme="dark"] .progress-step:hover {
    background: rgba(255, 255, 255, 0.1);
} */

[data-theme="dark"] .step-dot {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .step-label {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.75rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    opacity: 0.7;
}

[data-theme="dark"] .progress-step.active .step-label {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

[data-theme="dark"] .progress-step.completed .step-label {
    color: #808080;
    font-weight: 700;
    text-shadow: none;
    opacity: 1;
}

/* Xometry Page Specific Styles */
.rfq-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.rfq-old h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.rfq-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rfq-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.design-translation {
    margin: 2rem 0;
}

.translation-section {
    margin-bottom: 3rem;
}

.translation-section h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.translation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.translation-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.translation-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.translation-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.refactoring-features {
    margin: 2rem 0;
}

.refactoring-feature {
    margin-bottom: 2rem;
}

.refactoring-feature h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.refactoring-feature p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.refactoring-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.refactoring-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Dark theme adjustments for Xometry sections */
[data-theme="dark"] .rfq-old h4,
[data-theme="dark"] .translation-section h4,
[data-theme="dark"] .refactoring-feature h4 {
    color: #ffffff;
}

[data-theme="dark"] .rfq-image,
[data-theme="dark"] .translation-img,
[data-theme="dark"] .refactoring-image {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .rfq-image:hover,
[data-theme="dark"] .translation-img:hover,
[data-theme="dark"] .refactoring-image:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Mobile responsiveness for Xometry sections */
@media (max-width: 768px) {
    .rfq-comparison {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .translation-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .translation-text {
        order: 2;
    }
    
    .translation-image {
        order: 1;
    }
}

/* NeuroLogic Page Specific Styles */
.solution-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.solution-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.solution-gif {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1rem;
}

.solution-gif:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.solution-caption {
    max-width: 100%;
}

.solution-caption h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.solution-caption p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

.wireframe-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.wireframe-item {
    display: flex;
    flex-direction: column;
}

.wireframe-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wireframe-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.interaction-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.interaction-feature {
    padding: 1.5rem;
    background: rgba(128, 128, 128, 0.1);
    border-radius: 8px;
}

.interaction-feature h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--text-color);
}

.interaction-feature p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-color);
}

/* Dark theme adjustments for NeuroLogic sections */
[data-theme="dark"] .solution-caption h4 {
    color: #ffffff;
}

[data-theme="dark"] .solution-caption p {
    color: #cccccc;
}

[data-theme="dark"] .solution-gif {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .solution-gif:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .interaction-feature {
    background: rgba(128, 128, 128, 0.15);
}

[data-theme="dark"] .interaction-feature h4 {
    color: #ffffff;
}

[data-theme="dark"] .interaction-feature p {
    color: #cccccc;
}

[data-theme="dark"] .wireframe-image {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .wireframe-image:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Mobile responsiveness for NeuroLogic sections */
@media (max-width: 768px) {
    .solution-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .wireframe-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .interaction-feature {
        padding: 1rem;
    }
}

/* Live Site Link */
.live-site-link {
    text-align: center;
    margin-top: 2rem;
}

.live-site-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #000000;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.live-site-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #333333;
}

.live-site-icon {
    width: 20px;
    height: 20px;
    color: white;
}

.live-site-text {
    font-size: 1rem;
    font-weight: 600;
}

/* Dark mode for live site link */
body.dark-mode .live-site-button {
    background: #ffffff;
    color: black;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

body.dark-mode .live-site-button:hover {
    background: #f0f0f0;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

body.dark-mode .live-site-icon {
    color: black;
}

/* Mobile responsiveness for live site link */
@media (max-width: 768px) {
    .live-site-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .live-site-icon {
        width: 18px;
        height: 18px;
    }
}

/* QuantFrame Confidential Notice */
.confidential-notice {
    margin-top: 3rem;
    padding: 2rem;
    background: #608494;
    border-radius: 8px;
}

.notice-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.notice-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #ffffff;
}

.notice-content a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.notice-content a:hover {
    text-decoration: underline;
}

.confidential-icon {
    text-align: left;
    margin-bottom: 1rem;
}

.confidential-icon svg {
    color: #ffffff;
    width: 24px;
    height: 24px;
}

/* Dark mode for confidential notice */
[data-theme="dark"] .confidential-notice {
    background: #608494;
}

[data-theme="dark"] .notice-content h4 {
    color: #ffffff;
}

[data-theme="dark"] .notice-content p {
    color: #ffffff;
}

[data-theme="dark"] .notice-content a {
    color: #ffffff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .progress-indicator {
        display: none;
    }
    
    .confidential-notice {
        padding: 1.5rem;
        margin-top: 2rem;
    }
}
