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

:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --accent: #4fd1c5;
    --accent-hover: #38b2ac;
    --snow: #f7fafc;
    --glacier: #e2e8f0;
    --rock: #4a5568;
    --summit: #2d3748;
    --gold: #ecc94b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--summit);
    line-height: 1.6;
    background: var(--snow);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glacier);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    color: var(--accent);
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--rock);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: background 0.3s !important;
}

.nav-cta:hover {
    background: var(--primary-light) !important;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(180deg, #e6f2ff 0%, var(--snow) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: var(--accent);
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--rock);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(79, 209, 197, 0.4);
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 209, 197, 0.5);
}

/* Mountain Scene */
.mountain-scene {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    pointer-events: none;
}

.peak {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
}

.peak-1 {
    left: 5%;
    border-width: 0 150px 200px 150px;
    border-color: transparent transparent var(--glacier) transparent;
    opacity: 0.5;
}

.peak-2 {
    left: 35%;
    border-width: 0 200px 280px 200px;
    border-color: transparent transparent var(--primary-light) transparent;
    opacity: 0.3;
}

.peak-3 {
    right: 10%;
    border-width: 0 180px 240px 180px;
    border-color: transparent transparent var(--primary) transparent;
    opacity: 0.2;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: white;
}

.about h2,
.thesis h2,
.portfolio h2,
.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

.about-card {
    background: var(--snow);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.about-card p {
    color: var(--rock);
}

/* Stats */
.stats {
    background: var(--primary);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--glacier);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-single {
    text-align: center;
}

/* Thesis */
.thesis {
    padding: 8rem 0;
    background: var(--snow);
}

.thesis-intro,
.portfolio-intro {
    text-align: center;
    color: var(--rock);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.thesis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.thesis-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    transition: transform 0.3s;
}

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

.thesis-item h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.thesis-item p {
    color: var(--rock);
    font-size: 0.95rem;
}

/* Portfolio */
.portfolio {
    padding: 8rem 0;
    background: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--snow);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.portfolio-item:hover {
    background: var(--primary);
    color: white;
}

.portfolio-item:hover .portfolio-logo {
    color: var(--accent);
}

.portfolio-logo {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.portfolio-item span {
    font-weight: 600;
    font-size: 1.1rem;
}

.portfolio-item.featured {
    grid-column: span 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portfolio-item.featured .portfolio-logo {
    color: var(--accent);
}

.portfolio-item.featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(26, 54, 93, 0.3);
}

.portfolio-desc {
    font-size: 0.9rem;
    margin-top: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
}

@media (min-width: 769px) {
    .portfolio-item.featured {
        grid-column: span 2;
    }
}

/* Team */
.team {
    padding: 6rem 0;
    background: var(--glacier);
    text-align: center;
}

.team h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.team-intro {
    color: var(--rock);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.team-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.team-origin {
    background: white;
    padding: 2rem 3rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-origin:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.origin-name {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.origin-desc {
    color: var(--rock);
    font-size: 0.9rem;
}

/* Quote */
.quote {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

cite {
    display: block;
    margin-top: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--accent);
    font-style: normal;
}

/* Contact */
.contact {
    padding: 8rem 0;
    background: var(--snow);
    text-align: center;
}

.contact > .container > p {
    color: var(--rock);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 1rem auto 3rem;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-label {
    font-weight: 600;
    color: var(--primary);
}

.contact-item a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--summit);
    color: var(--glacier);
    padding: 4rem 0 2rem;
    text-align: center;
}

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

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-tagline {
    color: var(--rock);
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.footer-links a {
    color: var(--glacier);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    font-size: 0.875rem;
    color: var(--rock);
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 6rem;
    }

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

    .about-grid,
    .thesis-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    blockquote {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}
