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

body {
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
    min-height: 100vh;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
.font-aeonik {
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Container */
.container {
    max-width: 1280px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Header styles */
#header {
    background-color: transparent;
    transition: all 0.3s ease;
}

#header.scrolled {
    background-color: rgba(30, 58, 138, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo-link {
    display: inline-block;
}

.h-8 {
    height: 2rem;
}

.w-auto {
    width: auto;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nav-link:hover {
    color: #ffffff;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #ffffff;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Section Spacing */
.section-padding {
    padding: 6rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 8rem 0;
    }
}

/* Background Section */
.bg-section {
    background-color: transparent;
}

/* About Section */
.section-label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.about-image-container {
    flex-shrink: 0;
    text-align: center;
}

.about-image {
    width: 200px;
    height: 200px;
    border-radius: 1rem;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.about-text-container {
    flex-grow: 1;
}

.about-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 2rem;
    font-weight: 300;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.about-text:last-child {
    margin-bottom: 0;
}

/* Thesis Section */
.section-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 4rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.thesis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.thesis-item {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.thesis-item:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.thesis-number {
    display: block;
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.thesis-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 1rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.thesis-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Portfolio Section */
.portfolio-carousel {
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.portfolio-carousel::-webkit-scrollbar {
    display: none;
}

.overflow-x-auto {
    overflow-x: auto;
}

.flex {
    display: flex;
}

.gap-8 {
    gap: 2rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.portfolio-card {
    width: 320px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.portfolio-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.logo-container {
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    margin-right: 1rem;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.company-description {
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    flex-grow: 1;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.company-website {
    color: #2563eb;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.company-website:hover {
    color: #1d4ed8;
}

/* Team Section */
.team-card {
    max-width: 56rem;
    margin: 3rem auto 0;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.team-member {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.team-name {
    font-size: 2.5rem;
    font-weight: 400;
    color: #111827;
    margin-bottom: 0.5rem;
    text-align: center;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.team-role {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.team-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.team-image-container {
    flex-shrink: 0;
    text-align: center;
}

.team-image {
    width: 200px;
    height: 200px;
    border-radius: 1rem;
    object-fit: cover;
    border: 3px solid rgba(30, 58, 138, 0.2);
}

.team-info {
    flex-grow: 1;
}

.team-bio {
    text-align: left;
    margin-bottom: 2.5rem;
}

.team-bio p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

.social-links-container {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-link-blue {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    background-color: #2563eb;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.social-link-blue:hover {
    background-color: #1d4ed8;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-link:hover {
    color: #ffffff;
}

/* Utility classes */
.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-7xl {
    max-width: 80rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.md\:flex-row {
    flex-direction: row;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.space-x-10 > * + * {
    margin-left: 2.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.md\:mt-0 {
    margin-top: 0;
}

.mr-2 {
    margin-right: 0.5rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

/* Responsive */
.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:mt-0 {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .thesis-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .about-image {
        width: 150px;
        height: 150px;
    }
    
    .about-text {
        font-size: 1.25rem;
    }
    
    .team-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .team-image {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 640px) {
    .px-8 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
