/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom cursor styles */
body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="32" viewBox="0 0 24 32"><defs><filter id="shadow"><feDropShadow dx="2" dy="2" stdDeviation="1" flood-color="%23fff845" flood-opacity="0.8"/></filter></defs><path d="M2 2l0 18 5-5 3 8 3-1-3-8 6 0z" fill="%23ff1493" stroke="%23000000" stroke-width="2" filter="url(%23shadow)"/></svg>') 2 2, auto;
}

a, button, .hamburger, .mobile-hamburger, [role="button"], .clickable {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="36" viewBox="0 0 28 36"><defs><filter id="shadow-hand"><feDropShadow dx="2" dy="2" stdDeviation="1" flood-color="%23fff845" flood-opacity="0.8"/></filter></defs><path d="M8 4c0-1.1 0.9-2 2-2s2 0.9 2 2v12h1V7c0-1.1 0.9-2 2-2s2 0.9 2 2v9h1V8c0-1.1 0.9-2 2-2s2 0.9 2 2v8h1V10c0-1.1 0.9-2 2-2s2 0.9 2 2v12c0 3.3-2.7 6-6 6H12c-2.2 0-4.2-1.1-5.4-2.9L4.2 20c-0.4-0.6-0.3-1.4 0.3-1.8l1.5-1c0.6-0.4 1.4-0.3 1.8 0.3L8 19V4z" fill="%23ff1493" stroke="%23000000" stroke-width="2" filter="url(%23shadow-hand)"/></svg>') 14 18, pointer;
    transition: all 0.2s ease;
}

a:hover, button:hover, .hamburger:hover, .mobile-hamburger:hover {
    transform: translateY(-1px);
}

body {
    font-family: 'Merriweather', serif;
    font-weight: 200;
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
}

/* Container for consistent max-width and centering */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive layout for sticky nav - safer approach */
@media (min-width: 1400px) {
    .page-navigation {
        left: max(1rem, calc((100vw - 1200px) / 2 - 280px)); /* Position outside content but never too far left */
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .page-navigation {
        left: 2rem; /* Safe distance from edge */
        max-width: 220px;
    }
}

@media (min-width: 1025px) and (max-width: 1199px) {
    .page-navigation {
        left: 1rem; /* Closer to edge on smaller screens */
        max-width: 200px; /* Slightly smaller */
    }
}

/* Hide page navigation on tablets and mobile to prevent overlay issues */
@media (max-width: 1024px) {
    .page-navigation {
        display: none;
    }
}

/* Typography */
h1, h2, h3 {
    font-family: 'Merriweather Sans', sans-serif;
    margin-bottom: 1rem;
}

h1 {
    font-size: 40px;
    font-weight: 400;
    color: #000000;
}

h2 {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.8px;
    color: #000000;
    margin-bottom: 2rem;
}

h3 {
    font-size: 28px;
    font-weight: 300;
    color: #000000;
}

h4 {
    font-size: 24px;
    font-weight: 500;
    color: #000000;
}

p {
    font-size: 24px;
    margin-bottom: 1.5rem;
    color: #565656;
}

/* Header and Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #000000;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: all 0.275s ease;
    position: relative;
    background-color: transparent;
    border: 2px solid transparent;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #67e0ff;
    transform: translateX(-50%);
    transition: width 0.275s ease;
    opacity: 0;
}

nav a:hover {
    transform: translateY(-2px);
}

nav a:hover::before {
    width: 90%;
    opacity: 1;
}

nav a.active {
    color: #000000;
    background-color: transparent;
    border: 1.5px solid #000000;
    font-weight: 500;
    box-shadow: none;
    transform: none;
}

nav a.active:hover {
    transform: none;
}

nav a.active:hover::before {
    width: 0;
    opacity: 0;
}

/* Contact Navigation Styling */
nav a.contact-nav {
    background-color: #fff845;
    color: #000000;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1.5px solid #000000;
    box-shadow: 4px 4px 0px #67e0ff;
    transform: translateY(-1px);
}

nav a.contact-nav::before {
    display: none;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1.5px solid #000000;
    border-radius: 4px;
    padding: 0;
    margin: 8px 0 0 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    min-width: 200px;
    gap: 0 !important;
    flex-direction: column;
    display: flex;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
    border: none;
    background: none;
    text-align: left;
    width: 100%;
}

.dropdown-menu a::before {
    display: none;
}

.dropdown-menu a:hover {
    color: #67e0ff;
    transform: none;
}

.dropdown-menu a.active {
    border: none !important;
    background: none !important;
    font-weight: 400;
}


nav a.contact-nav:hover {
    background-color: #ffffff;
    color: #000000;
    border: 1.5px solid #000000;
    box-shadow: 4px 4px 0px #fff845;
    transform: translateY(-1px);
}

nav a.contact-nav.active {
    background-color: #fff845;
    color: #000000;
    border: 1.5px solid #000000;
    font-weight: 500;
    box-shadow: 4px 4px 0px #67e0ff;
    transform: translateY(-1px);
}

/* Hamburger Menu - Desktop */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #000000;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hide mobile hamburger on desktop */
@media (min-width: 769px) {
    .mobile-hamburger {
        display: none !important;
    }
}

/* External link styling */
nav a[target="_blank"] {
    background-color: #000000;
    color: #ffffff;
    font-weight: 500;
    border: 1.5px solid #000000;
    box-shadow: 4px 4px 0px #fff845;
}

nav a[target="_blank"]:hover {
    box-shadow: 4px 4px 0px #67e0ff;
    transform: translateY(-1px);
}


/* Main content */
main {
    margin-top: 80px;
}

/* Hero section */
.hero {
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    position: relative;
}

.hero-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content {
    text-align: left;
    width: 100%;
}

/* Hero Typography */
.hero h1 {
    font-size: 4rem;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 300;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero h2 {
    font-size: 2.5rem;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 500;
    color: #67e0ff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.hero-location {
    font-size: 1.1rem;
    color: #666666;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 400;
    margin-bottom: 3rem;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.2rem;
    color: #565656;
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
}


/* Hero Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-container {
        max-width: 100%;
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    color: #000000;
    padding: 8px 16px;
    text-decoration: none;
    border: 1.5px solid #000000;
    border-radius: 4px;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 8px 8px 0px #fff845;
    gap: 8px;
}

.cta-button:hover {
    box-shadow: 8px 8px 0px #67e0ff;
    transform: translateY(-1px);
}

.cta-button::after {
    content: '→';
    font-size: 16px;
}

/* Featured Work section */
.featured-work {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-work h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-description {
    font-size: 18px;
    color: #565656;
    line-height: 1.6;
    margin-bottom: 0;
}

.section-divider {
    padding: 1.5rem 0;
    display: flex;
    justify-content: center;
    background: #ffffff;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.project-card {
    background-color: #ffffff;
    border: 1px solid #E7E7E9;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 3rem;
    border-radius: 8px;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: #67e0ff;
}

.project-content {
    flex: 1;
    max-width: 500px;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.project-accent {
    width: 60px;
    height: 10px;
}

.project-number {
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #888;
    letter-spacing: 1px;
}

.fitness-app .project-accent {
    background-color: #0d0d0d;
}

.hospital-tool .project-accent {
    background-color: #ff7d6b;
}

.workshops .project-accent {
    background-color: #a33468;
}

.surgical-dashboard .project-accent {
    background-color: #a883bd;
}

.workshop-project .project-accent {
    background-color: #0693e3;
}

.research-project .project-accent {
    background-color: #a33468;
}

.project-card h3 {
    margin-bottom: 1rem;
    color: #000000;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 400;
}

.project-description {
    margin-bottom: 1rem;
    color: #565656;
    font-size: 18px;
    line-height: 1.6;
}

.project-type {
    font-size: 14px;
    color: #888;
    margin-bottom: 2rem;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    color: #000000;
    padding: 8px 16px;
    text-decoration: none;
    border: 1.5px solid #000000;
    border-radius: 4px;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 8px 8px 0px #fff845;
    gap: 8px;
}

.project-link:hover {
    box-shadow: 8px 8px 0px #67e0ff;
    transform: translateY(-1px);
}

.project-link::after {
    content: '→';
    font-size: 16px;
}

.project-link.coming-soon {
    background-color: #f5f5f5;
    color: #888;
    border-color: #ccc;
    cursor: default;
}

.project-link.coming-soon:hover {
    box-shadow: 8px 8px 0px #f5f5f5;
    transform: none;
}

.project-image {
    width: 400px;
    height: 280px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
}

.project-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Special handling for different image types */
.fitness-app .project-image img,
.hospital-tool .project-image img {
    object-fit: contain;
    background-color: #ffffff;
}

.workshops .project-image img {
    object-fit: cover;
    width: 100%;
    height: 80%;
}

.surgical-dashboard .project-image img {
    object-fit: contain;
    background-color: #ffffff;
}

.project-image figcaption {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
    line-height: 1.3;
    padding: 0 0.5rem;
}

/* Research section */
.research {
    background-color: #f8f9fa;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.research-content {
    max-width: 1000px;
    margin: 0 auto;
}

.research-project {
    border: 1px solid #e7e7e9;
    padding: 2rem;
    text-align: left;
}

.research-accent {
    width: 60px;
    height: 10px;
    background-color: #a33468;
    margin-bottom: 1rem;
}

.research-project h3 {
    font-size: 28px;
    font-weight: 400;
    text-transform: none;
    line-height: 1.3;
    margin-bottom: 1rem;
    white-space: normal;
    word-wrap: break-word;
}

.research-grid {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 1rem;
}

.research-description {
    flex: 1;
}

.research-description p {
    font-size: 20px;
    margin-bottom: 1.5rem;
}

.research-image {
    flex: 1;
}

.research-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.publications {
    margin-top: 2rem;
}

.publications h4 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #000000;
    line-height: 1.3;
}

.publication {
    margin-bottom: 1rem;
}

.publication h6 {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: #565656;
    white-space: normal;
    word-wrap: break-word;
}

.publication a {
    color: #0693e3;
    text-decoration: none;
}

.publication a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #000000;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
    font-size: 18px;
}

.social-links a:hover {
    color: #fff845;
}

/* Separator styles */
.separator {
    width: 80px;
    height: 1px;
    background: #e9ecef;
    position: relative;
    margin: 0 auto;
}

.separator::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #67e0ff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #ffffff;
}

/* Contact Section */
.contact-section {
    background-color: #000000;
    padding: 4rem 2rem;
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-text h2 {
    font-size: 36px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-family: 'Merriweather Sans', sans-serif;
}

.contact-text p {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 2rem;
    letter-spacing: 0.3px;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    min-width: 120px;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1.5px solid #000000;
    gap: 8px;
}

.linkedin-btn {
    background-color: #0077b5 !important;
    color: #ffffff !important;
    border-color: #0077b5 !important;
    box-shadow: 8px 8px 0px #fff845;
}

.linkedin-btn:hover {
    background-color: #005885 !important;
    box-shadow: 8px 8px 0px #67e0ff !important;
    border-color: #005885 !important;
    transform: translateY(-1px);
}

.linkedin-btn::after {
    content: '🔗';
    font-size: 16px;
}

.contact-primary-btn {
    background-color: #ffffff;
    color: #000000;
    border-color: #000000;
    box-shadow: 8px 8px 0px #fff845;
}

.contact-primary-btn:hover {
    box-shadow: 8px 8px 0px #67e0ff;
    transform: translateY(-1px);
}

.contact-primary-btn::after {
    content: '→';
    font-size: 16px;
}

/* Sticky Page Navigation - Global */
.page-navigation {
    position: fixed;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 220px;
}

.nav-title {
    font-size: 0.875rem;
    color: #565656;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-toggle {
    background: #67e0ff;
    border: 1px solid #67e0ff;
    cursor: pointer;
    padding: 6px 8px;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(103, 224, 255, 0.3);
}

.nav-toggle:hover {
    background: #4dd0ff;
    border-color: #4dd0ff;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(103, 224, 255, 0.4);
}

.nav-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.nav-items::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 25px;
    bottom: 25px;
    width: 2px;
    background: linear-gradient(to bottom, #e9ecef 0%, #e9ecef 100%);
    z-index: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    border-radius: 6px;
    margin: 2px 0;
}

.nav-item:hover {
    color: #67e0ff;
}

.nav-item.active {
    color: #67e0ff;
}

.nav-indicator {
    display: none;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 24px;
}

.nav-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: #999;
    min-width: 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-item.active .nav-number {
    color: #000000;
    background: #67e0ff;
    box-shadow: 0 0 0 4px rgba(103, 224, 255, 0.2);
}

.nav-item.active {
    color: inherit; /* Don't change header text color */
}

.nav-label {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Collapsed state for navigation - slide to left */
.page-navigation {
    transition: transform 0.4s ease, left 0.4s ease;
}

.page-navigation.collapsed {
    transform: translateX(-100%);
    left: -20px; /* Move further left when collapsed */
}

/* Show a small blue tab when collapsed */
.page-navigation.collapsed::after {
    content: '▶';
    position: absolute;
    right: -35px;
    top: 50%;
    transform: translateY(-50%);
    background: #67e0ff;
    border: 1px solid #67e0ff;
    border-radius: 0 8px 8px 0;
    padding: 10px 8px;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    box-shadow: 2px 0 12px rgba(103, 224, 255, 0.4);
    z-index: 101;
    transition: all 0.3s ease;
}

.page-navigation.collapsed:hover::after {
    background: #4dd0ff;
    border-color: #4dd0ff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 2px 0 16px rgba(103, 224, 255, 0.6);
}

/* Responsive design */
.profile-image {
    flex-shrink: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 380px;
    background:
        linear-gradient(135deg, #fff845 50%, #ffffff 50%),
        linear-gradient(135deg, transparent 49.8%, rgba(103, 224, 255, 0.4) 49.8%, rgba(103, 224, 255, 0.4) 50.2%, transparent 50.2%);
    border-radius: 170px 170px 30px 30px;
    z-index: 1;
}

.profile-image img {
    width: 280px;
    height: 320px;
    border-radius: 140px 140px 25px 25px;
    object-fit: cover;
    object-position: center top;
    border: 6px solid #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15),
                0 5px 20px rgba(255, 248, 69, 0.3);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2),
                0 8px 30px rgba(103, 224, 255, 0.3);
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-text .accent-line {
    width: 60px;
    height: 8px;
    background-color: #67e0ff;
    margin-bottom: 1rem;
}

/* Hide sticky navigation on tablet and mobile devices */
@media (max-width: 1024px) {
    .page-navigation {
        display: none;
    }
}

/* Also hide on touch devices (smart detection) */
@media (hover: none) and (pointer: coarse) {
    .page-navigation {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 18px;
    }

    .hero {
        padding: 3rem 0;
        min-height: 50vh;
    }




    /* Show header on mobile but hide nav items */
    header {
        display: block;
    }

    nav {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    /* Hide desktop navigation menu on mobile */
    nav ul {
        display: none;
    }

    /* Show hamburger in nav on mobile */
    .hamburger {
        display: flex;
    }

    /* Full-page mobile menu overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        z-index: 10000;
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }

    .mobile-menu-overlay.active {
        display: flex;
    }

    .mobile-menu-overlay .menu-item {
        font-family: 'Merriweather Sans', sans-serif;
        font-size: 24px;
        font-weight: 400;
        color: #000000;
        text-decoration: none;
        padding: 1rem 1.5rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        text-align: center;
        width: 280px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
    }

    .mobile-menu-overlay .menu-item:hover {
        color: #67e0ff;
        transform: translateY(-2px);
    }

    .mobile-menu-overlay .menu-item.active {
        background-color: #000000;
        color: #ffffff;
        border: 2px solid #000000;
        font-weight: 500;
        transform: translateY(-2px);
    }

    .mobile-menu-overlay .menu-item.active:hover {
        background-color: #333333;
        color: #ffffff;
    }

    .mobile-menu-overlay .menu-item.contact {
        background-color: #fff845;
        color: #000000;
        border: 2px solid #000000;
        box-shadow: 4px 4px 0px #67e0ff;
        font-weight: 500;
        margin-top: 1rem;
    }

    .mobile-menu-overlay .menu-item.contact:hover {
        background-color: #67e0ff;
        box-shadow: 4px 4px 0px #fff845;
    }

    .mobile-menu-overlay .menu-item.contact.active {
        background-color: #000000;
        color: #ffffff;
        box-shadow: 4px 4px 0px #fff845;
    }

    .mobile-menu-overlay .menu-item.contact.active:hover {
        background-color: #333333;
        box-shadow: 4px 4px 0px #67e0ff;
    }

    .mobile-menu-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        font-size: 32px;
        color: #000000;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 10002;
    }

    
    .hero p {
        font-size: 18px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .profile-image {
        order: -1;
    }

    .profile-image::before {
        width: 240px;
        height: 260px;
        z-index: -1;
    }

    .profile-image img {
        width: 200px;
        height: 220px;
        border-radius: 100px 100px 20px 20px;
        z-index: 0;
    }

    .project-card {
        flex-direction: column;
        text-align: center;
    }

    .project-image {
        width: 100%;
        height: 220px;
        order: 2;
        margin-top: 1rem;
    }

    .project-content {
        max-width: none;
        order: 1;
    }

    .research-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .featured-work,
    .research {
        padding: 4rem 0;
    }

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

    .section-divider {
        padding: 2rem 0;
    }

    .separator {
        width: 60px;
    }

    /* Contact Section Mobile */
    .contact-section {
        padding: 3rem 1rem;
    }

    .contact-text h2 {
        font-size: 28px;
    }

    .contact-text p {
        font-size: 16px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .contact-btn {
        width: 100%;
        max-width: 200px;
    }

    
    .projects-grid {
        gap: 2rem;
    }
    
    .project-card {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .project-content {
        max-width: none;
    }
    
    nav {
        padding: 0 1.5rem;
    }

    nav ul {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    nav a {
        font-size: 14px;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    nav {
        padding: 0 1rem;
    }

    nav ul {
        gap: 0.8rem;
        justify-content: space-around;
    }

    nav a {
        font-size: 13px;
        padding: 0.3rem 0.6rem;
    }

    h1 {
        font-size: 28px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .profile-image::before {
        width: 180px;
        height: 200px;
    }

    .profile-image img {
        width: 150px;
        height: 170px;
        border-radius: 75px 75px 15px 15px;
    }

    .featured-work,
    .research {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .project-card {
        padding: 1rem;
        gap: 1rem;
    }

    .project-meta {
        margin-bottom: 1rem;
    }

    .project-card h3 {
        font-size: 24px;
    }

    .project-type {
        margin-bottom: 1.5rem;
    }

    /* Project button mobile styling */
    .project-link, .cta-button {
        font-size: 16px !important;
        padding: 10px 16px !important;
    }

    /* Research section mobile improvements */
    .research-description p {
        font-size: 16px !important;
    }

    .research-project h3 {
        font-size: 22px !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        hyphens: auto;
    }

    .publications h4 {
        font-size: 20px !important;
    }

    .publication h6 {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    .project-image {
        width: 100%;
        height: 200px;
    }
}

/* My Journey section */
.journey {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.journey-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Journey preview styles for homepage */
.journey-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.journey-highlights {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.highlight-item {
    text-align: center;
    padding: 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 400;
    color: #67e0ff;
    margin-bottom: 8px;
    font-family: 'Merriweather', serif;
}

.highlight-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.journey-cta {
    text-align: center;
}

.journey-cta p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 24px;
    line-height: 1.6;
}

.journey-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.timeline-item {
    position: relative;
    padding-left: 0;
}

.timeline-accent {
    width: 60px;
    height: 10px;
    background-color: #67e0ff;
    margin-bottom: 1rem;
}

.timeline-item h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #000000;
}

.timeline-item p {
    font-size: 18px;
    line-height: 1.6;
    color: #565656;
    margin-bottom: 0;
}

/* Research link styling */
.research-link {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 24px;
    background: #f8f9fa;
    color: #67e0ff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.research-link:hover {
    background: #67e0ff;
    color: white;
    border-color: #67e0ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(103, 224, 255, 0.3);
}

/* Journey responsive styles */
@media (max-width: 768px) {
    .journey {
        padding: 4rem 0;
    }

    .journey-preview {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .journey-highlights {
        flex-direction: column;
        gap: 20px;
    }

    .highlight-item {
        padding: 20px;
    }

    .highlight-number {
        font-size: 2rem;
    }

    .journey-timeline {
        gap: 2rem;
    }

    .timeline-item h3 {
        font-size: 20px;
    }

    .timeline-item p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .journey {
        padding: 3rem 0;
    }

    .journey-highlights {
        gap: 16px;
    }

    .highlight-item {
        padding: 16px;
    }

    .highlight-number {
        font-size: 1.8rem;
    }
}
