/* CSS Variables */
:root {
    --bg-primary: #0D0F12;
    --text-heading: #D4D4D8;
    --text-body: #A1A1AA;
    --text-secondary: #8E8E93;
    --accent: #F3F4F6;
    --border: #1F1F23;
    --max-width: 1200px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html, body {
    background-color: var(--bg-primary);
    color: var(--text-body);
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.75;
    overflow-x: hidden;
    height: 100%;
    width: 100%;
    max-width: 100vw;
}

body {
    position: relative;
}

/* Intro Animation Overlay */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.intro-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.intro-content {
    text-align: center;
    transform: scale(1);
    opacity: 0;
    transition: opacity 0.8s ease-in;
    will-change: opacity;
}

.intro-content.shrink {
    opacity: 1;
}

.intro-logo-img {
    max-width: 300px;
    width: 300px;
    height: auto;
    margin-bottom: 0.5rem;
    display: block;
    filter: brightness(1.3) contrast(0.95);
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: auto;
}

.intro-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Sticky Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(13, 15, 18, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.visible {
    opacity: 1;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-link {
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0;
    filter: brightness(1.3) contrast(0.95);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
}

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

.nav-link {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Main Content */
.main-content {
    margin-top: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in;
    min-height: 100vh;
}

.main-content.visible {
    opacity: 1;
}

.page-section {
    display: none;
    padding: 10rem 2rem 6rem;
    min-height: calc(100vh - 8rem);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 0.5s ease-in;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

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

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

/* Home Section */
.hero-section {
    text-align: center;
    margin: 12rem 0 8rem;
    padding: 0 1rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--text-body);
    max-width: 800px;
    margin: 0 auto;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.home-service-item {
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(13, 15, 18, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-service-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    background: rgba(13, 15, 18, 0.6);
}

.home-service-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

.home-service-item p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-body);
}

/* Clients Section */
.clients-section {
    margin: 8rem 0 6rem;
    text-align: center;
    padding-top: 5rem;
    border-top: 1px solid var(--border);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.clients-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    align-items: center;
    justify-items: center;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.client-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    padding: 0.75rem;
    box-sizing: border-box;
    overflow: hidden;
}

.client-logo {
    max-height: 56px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* Services Section */
.services-hero {
    text-align: center;
    margin: 12rem 0 8rem;
    padding: 0 1rem;
}

.services-hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.services-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--text-body);
    max-width: 800px;
    margin: 0 auto;
}

/* Service Cards Grid */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 8rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    padding: 3rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(13, 15, 18, 0.4);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    background: rgba(13, 15, 18, 0.6);
}

.service-card-icon {
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.service-card-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-body);
    margin: 0;
}

/* Service Details */
.services-details {
    max-width: 900px;
    margin: 0 auto;
}

.service-detail-item {
    margin-bottom: 6rem;
    padding-bottom: 6rem;
    border-bottom: 1px solid var(--border);
}

.service-detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.service-detail-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-align: left;
}

.service-detail-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 2rem;
}

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

.service-capabilities li {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-capabilities li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Research Section */
.research-hero {
    text-align: center;
    margin: 12rem 0 8rem;
    padding: 0 1rem;
}

.research-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.research-section {
    margin-bottom: 8rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.research-section:last-child {
    margin-bottom: 6rem;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-heading);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-body);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 6rem;
    opacity: 0.5;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.active {
    opacity: 1;
}

.timeline-marker {
    position: absolute;
    left: -1.75rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border);
    border: 2px solid var(--bg-primary);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.active .timeline-marker {
    background-color: var(--accent);
    box-shadow: 0 0 12px rgba(243, 244, 246, 0.5);
    transform: scale(1.3);
}

.timeline-content {
    padding-left: 1rem;
}

.timeline-year {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    transition: color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.active .timeline-year {
    color: var(--accent);
}

.timeline-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    transition: color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.active .timeline-title {
    color: var(--accent);
}

.timeline-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-title a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.timeline-summary {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-body);
    transition: color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.active .timeline-summary {
    color: var(--text-heading);
}

/* Articles Section */
.articles-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

@media (min-width: 900px) {
    .articles-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 3rem;
    }
}

.article-item {
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-item:hover {
    padding-left: 1rem;
}

.article-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.article-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 1rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.article-description {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 1.25rem;
}

.article-link {
    font-size: 0.9375rem;
    color: var(--text-heading);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-weight: 500;
}

.article-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Honors Section */
.honors-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 600px) {
    .honors-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.honor-item {
    font-size: 1.125rem;
    color: var(--text-body);
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
    background: rgba(13, 15, 18, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.honor-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(13, 15, 18, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.honors-note {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: center;
    font-style: italic;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-hero {
    text-align: center;
    margin: 12rem 0 8rem;
    padding: 0 1rem;
}

.about-hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

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

.about-photos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.about-photo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.about-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--border);
    transition: border-color 0.3s ease;
}

.about-photo:hover {
    border-color: var(--text-secondary);
}

.about-photo-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-heading);
    margin: 0;
    text-align: center;
}

.about-linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-body);
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.about-linkedin-link:hover {
    color: #0077b5;
    transform: translateY(-2px);
}

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

.about-bio {
    margin-bottom: 4rem;
}

.about-bio p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 2rem;
}

.about-contact {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
    display: flex !important;
    flex-direction: column;
    gap: 2rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.about-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-contact-icon {
    color: var(--text-body) !important;
    flex-shrink: 0;
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    display: block;
}

.about-contact-icon path,
.about-contact-icon circle {
    stroke: currentColor;
}

.about-contact-text {
    flex: 1;
}

.about-contact-text p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-body);
    margin: 0;
}

.about-contact-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.5rem;
}

.about-contact-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.about-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-body);
    transition: all 0.3s ease;
    text-decoration: none;
}

.about-contact-link:hover {
    color: var(--text-heading);
    transform: translateY(-2px);
}

.about-contact-link svg {
    width: 18px;
    height: 18px;
}

.about-contact-phone span {
    font-size: 1rem;
    color: var(--text-body);
}

.achievements {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.achievements h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
}

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

.achievements li {
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.achievements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Contact Section */
.contact-hero {
    text-align: center;
    margin: 12rem 0 8rem;
    padding: 0 1rem;
}

.contact-hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(60vh - 8rem);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    transition: opacity 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item:hover {
    opacity: 0.9;
}

.contact-icon {
    color: var(--text-body);
    flex-shrink: 0;
    margin-top: 0.125rem;
    width: 22px;
    height: 22px;
    display: block;
}

.contact-icon path,
.contact-icon circle,
.contact-icon polyline {
    stroke: currentColor;
}

.contact-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-address-line {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-body);
    margin: 0;
}

.contact-text p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-body);
    margin: 0;
}

.contact-note {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.25rem;
    line-height: 1.5;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-body);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    flex-shrink: 0;
}

.contact-link:hover {
    color: var(--text-heading);
    transform: translateY(-2px);
}

.contact-link svg {
    width: 20px;
    height: 20px;
}

.contact-phone-number {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-body);
    margin-left: 0.25rem;
}

.contact-email {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    letter-spacing: -0.01em;
    margin: 0;
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
}

.contact-email:hover {
    color: var(--text-heading);
    text-decoration: underline;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    background-color: var(--bg-primary);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-body);
}

.footer-separator {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(39, 39, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    color: var(--text-heading);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-icon {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    display: block;
    transform: translateY(-2px);
}

.scroll-top:hover {
    background-color: rgba(39, 39, 42, 1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(243, 244, 246, 0.2);
}

.scroll-top:active {
    transform: translateY(-2px);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    padding: 0.75rem 1.5rem;
    background-color: rgba(39, 39, 42, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-heading);
    font-size: 0.875rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10000;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Bio Modal */
.bio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bio-modal.active {
    opacity: 1;
    visibility: visible;
}

.bio-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.bio-modal-content {
    position: relative;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    margin: 10vh auto;
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 3rem;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    z-index: 10001;
}

.bio-modal.active .bio-modal-content {
    transform: scale(1);
}

.bio-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
}

.bio-modal-close:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(243, 244, 246, 0.05);
}

.bio-modal-body {
    padding-top: 1rem;
}

.bio-modal-name {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.bio-modal-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-body);
    margin: 0;
}

.bio-modal-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.bio-modal-text p:last-child {
    margin-bottom: 0;
}

.bio-modal-text strong {
    color: var(--text-heading);
    font-weight: 600;
}

.bio-modal-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.bio-modal-text li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.25rem;
    }

    .client-logo-wrapper {
        height: 60px;
        padding: 0.5rem;
        min-width: 0;
    }

    .client-logo {
        max-height: 40px;
        max-width: 90%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .services-hero-title,
    .research-title,
    .about-hero-title,
    .contact-hero-title {
        font-size: 2rem;
    }

    .page-section {
        padding: 5rem 1rem 2rem;
    }

    .header-container {
        padding: 1rem;
    }

    .nav {
        gap: 1rem;
        font-size: 0.875rem;
    }

    .nav a {
        padding: 0.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .contact-info {
        font-size: 0.875rem;
    }

    .contact-info-item {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }

    .nav {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-section {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-section {
        margin: 8rem 0 5rem;
    }

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .research-hero {
        margin: 8rem 0 5rem;
    }

    .research-title {
        font-size: 2.5rem;
    }

    .research-section {
        margin-bottom: 5rem;
    }

    .section-heading {
        font-size: 2.25rem;
    }

    .section-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }

    .articles-list {
        gap: 2rem;
    }

    .article-title {
        font-size: 1.125rem;
    }

    .article-description {
        font-size: 0.875rem;
    }

    .honors-list {
        gap: 1.25rem;
    }

    .honor-item {
        font-size: 0.9375rem;
        padding: 0.875rem;
    }

    .services-hero {
        margin: 8rem 0 5rem;
    }

    .services-hero-title {
        font-size: 2.5rem;
    }

    .services-hero-subtitle {
        font-size: 1.125rem;
    }

    .services-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 4rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card-title {
        font-size: 1.125rem;
    }

    .service-card-description {
        font-size: 0.875rem;
    }

    .service-detail-item {
        margin-bottom: 5rem;
        padding-bottom: 5rem;
    }

    .service-detail-title {
        font-size: 1.75rem;
    }

    .service-detail-description {
        font-size: 1rem;
    }

    .about-hero {
        margin: 8rem 0 5rem;
    }

    .about-hero-title {
        font-size: 2.5rem;
    }

    .about-photos {
        gap: 2.5rem;
        margin-bottom: 3rem;
    }

    .about-photo {
        width: 150px;
        height: 150px;
    }

    .timeline-item {
        margin-bottom: 3.5rem;
    }

    .home-services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .home-service-item {
        padding: 1.5rem;
    }

    .home-service-item h3 {
        font-size: 1rem;
    }

    .home-service-item p {
        font-size: 0.875rem;
    }

    .clients-section {
        margin: 6rem 0 4rem;
        padding-top: 4rem;
    }

    .clients-title {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 0.5rem;
        max-width: 100%;
    }

    .client-logo-wrapper {
        height: 70px;
        padding: 0.75rem;
        min-width: 0;
        overflow: hidden;
    }

    .client-logo {
        max-height: 50px;
        max-width: 90%;
        width: auto;
        object-fit: contain;
    }

    .services-list {
        padding: 2rem 0;
    }

    .service-item {
        margin-bottom: 3rem;
        padding-bottom: 3rem;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .footer {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }

    .intro-logo-img {
        max-width: 200px;
    }

    .logo-img {
        max-width: 150px;
    }

    .service-detail-title {
        font-size: 1.5rem;
    }

    .service-capabilities li {
        font-size: 0.875rem;
    }

    .intro-subtitle {
        font-size: 0.75rem;
    }

    .about-photo {
        width: 150px;
        height: 150px;
    }

    .about-contact {
        margin-top: 3rem;
        padding-top: 3rem;
        gap: 1.5rem;
    }

    .about-contact-item {
        gap: 0.75rem;
    }

    .about-contact-text p {
        font-size: 0.9375rem;
    }

    .about-contact-phone {
        gap: 0.5rem;
    }

    .about-contact-phone span {
        font-size: 0.9375rem;
    }

    .about-linkedin-link svg {
        width: 18px;
        height: 18px;
    }

    .contact-hero {
        margin: 8rem 0 5rem;
    }

    .contact-hero-title {
        font-size: 2.5rem;
    }

    .contact-content {
        min-height: auto;
        padding: 0 1rem;
    }

    .contact-info {
        gap: 1.75rem;
    }

    .contact-item {
        gap: 0.875rem;
        padding-bottom: 1.75rem;
    }

    .contact-icon {
        width: 20px;
        height: 20px;
        margin-top: 0.125rem;
    }

    .contact-text {
        gap: 0.375rem;
    }

    .contact-address-line {
        font-size: 1rem;
        line-height: 1.5;
    }

    .contact-text p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .contact-note {
        font-size: 0.875rem;
        margin-top: 0.25rem;
    }

    .contact-phone {
        gap: 0.5rem;
    }

    .contact-link svg {
        width: 18px;
        height: 18px;
    }

    .contact-phone-number {
        font-size: 1rem;
        margin-left: 0.125rem;
    }

    .contact-email {
        font-size: 1rem;
        line-height: 1.5;
    }

    .bio-modal-content {
        width: 95%;
        padding: 2rem 1.5rem;
        margin: 5vh auto;
        max-height: 90vh;
    }

    .bio-modal-name {
        font-size: 1.5rem;
    }

    .bio-modal-text {
        font-size: 0.9375rem;
    }

    .bio-modal-close {
        top: 1rem;
        right: 1rem;
        width: 28px;
        height: 28px;
    }

    .scroll-top {
        width: 48px;
        height: 48px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .scroll-top-icon {
        font-size: 1.25rem;
    }
}

/* RefineSec Section */
.refinesec-hero {
    text-align: center;
    margin: 12rem 0 8rem;
    padding: 0 1rem;
}

.refinesec-hero-content {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.refinesec-byline {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.refinesec-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.refinesec-intro {
    font-size: 1.375rem;
    line-height: 1.75;
    color: var(--text-body);
    max-width: 800px;
    margin: 0 auto;
}

.refinesec-screenshot-wrapper {
    margin: 6rem auto 0;
    max-width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.refinesec-screenshot {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
}

.hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    margin: 0 auto;
    display: block;
}

.section-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    margin: 0 auto;
    display: block;
}

.refinesec-subsection {
    margin-top: 4rem;
}

.refinesec-subsection-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.refinesec-section {
    margin: 8rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.refinesec-section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 2.5rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
    position: relative;
    padding-bottom: 1rem;
}

.refinesec-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #22D3EE, transparent);
    border-radius: 2px;
}

.refinesec-content {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-body);
}

.refinesec-content p {
    margin-bottom: 1.5rem;
}

.refinesec-quote {
    background: rgba(13, 15, 18, 0.6);
    border-left: 3px solid #22D3EE;
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.refinesec-quote p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-heading);
    font-style: italic;
    margin: 0;
}

.refinesec-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.refinesec-feature-item {
    background: rgba(13, 15, 18, 0.4);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.refinesec-feature-item:hover {
    border-color: rgba(34, 211, 238, 0.3);
    background: rgba(13, 15, 18, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.refinesec-feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.refinesec-feature-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-body);
    margin: 0;
}

.refinesec-workflow {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
}

.refinesec-workflow-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: rgba(13, 15, 18, 0.4);
    border: 1px solid var(--border);
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.refinesec-workflow-step:hover {
    border-color: rgba(34, 211, 238, 0.3);
    background: rgba(13, 15, 18, 0.6);
}

.refinesec-step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22D3EE, #06B6D4);
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.refinesec-step-content {
    flex: 1;
}

.refinesec-step-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.refinesec-step-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-body);
    margin: 0;
}

.refinesec-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.refinesec-result-item {
    background: rgba(13, 15, 18, 0.4);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.refinesec-result-item:hover {
    border-color: rgba(34, 211, 238, 0.3);
    background: rgba(13, 15, 18, 0.6);
}

.refinesec-result-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.refinesec-result-item p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-body);
    margin: 0;
}

.refinesec-audience {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 2rem;
    text-align: center;
}

.refinesec-audience-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.refinesec-audience-item {
    background: rgba(13, 15, 18, 0.4);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.25rem;
    font-size: 1rem;
    color: var(--text-body);
    text-align: center;
    transition: all 0.3s ease;
}

.refinesec-audience-item:hover {
    border-color: rgba(34, 211, 238, 0.3);
    background: rgba(13, 15, 18, 0.6);
    color: var(--text-heading);
}

.refinesec-value-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.refinesec-value-list li {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.refinesec-value-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.4;
}

.refinesec-value-list li strong {
    color: var(--text-heading);
    font-weight: 600;
}

.refinesec-cta {
    background: rgba(13, 15, 18, 0.6);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 4rem 2rem;
    text-align: center;
    margin: 8rem auto 4rem;
    max-width: 800px;
    backdrop-filter: blur(10px);
}

.refinesec-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.refinesec-cta-subtitle {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.refinesec-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #22D3EE, #06B6D4);
    color: #0F172A;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(34, 211, 238, 0.3);
}

.refinesec-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 211, 238, 0.4);
    background: linear-gradient(135deg, #06B6D4, #0891B2);
}

/* RefineSec Responsive */
@media (max-width: 768px) {
    .refinesec-hero {
        margin: 8rem 0 5rem;
    }

    .refinesec-title {
        font-size: 2.5rem;
    }

    .refinesec-intro {
        font-size: 1.125rem;
    }

    .refinesec-screenshot-wrapper {
        max-width: 100%;
        margin: 4rem auto 0;
        padding: 0 0.5rem;
    }

    .refinesec-screenshot {
        border-radius: 0.75rem;
    }

    .refinesec-section {
        margin: 5rem 0;
        padding: 0 0.5rem;
    }

    .refinesec-section-title {
        font-size: 2rem;
    }

    .refinesec-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .refinesec-workflow-step {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .refinesec-results-grid {
        grid-template-columns: 1fr;
    }

    .refinesec-audience-list {
        grid-template-columns: 1fr;
    }

    .refinesec-cta {
        padding: 3rem 1.5rem;
        margin: 5rem auto 3rem;
    }

    .refinesec-cta-title {
        font-size: 2rem;
    }

    .refinesec-cta-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .refinesec-title {
        font-size: 1.75rem;
    }

    .refinesec-intro {
        font-size: 1rem;
    }

    .refinesec-section-title {
        font-size: 1.5rem;
    }

    .refinesec-cta-title {
        font-size: 1.75rem;
    }
}

