/* Color Variables - Based on your provided color palette */
:root {
    --dark-brown: #2f2526;
    --deep-red-brown: #50353a;
    --earth-red: #ca343e;
    --muted-taupe: #ab807a;
    --dusty-rose: #c47e76;
    --light-olive: #cdc484;
    --warm-mustard: #e9c554;
    --light-pink: #e0c5bf;
    --soft-pink: #fdcaca;
    --off-white: #fbf1ee;
    
    /* Animation and Transition Variables */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-brown);
    background-color: var(--off-white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--dark-brown);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(47, 37, 38, 0.1);
}

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

.nav-logo h2 {
    color: var(--off-white);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--off-white);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
    position: relative;
}

.nav-menu a:hover {
    color: var(--warm-mustard);
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--warm-mustard);
    transition: width var(--transition-normal);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--deep-red-brown) 100%);
    color: var(--off-white);
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: blur(2px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(47, 37, 38, 0.8) 0%, rgba(80, 53, 58, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 500px;
}

.hero-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-main-image {
    max-width: 45%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
    transform: translateY(3rem);
}

.hero-main-image:hover {
    transform: translateY(3rem) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--off-white), var(--warm-mustard));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
    margin-top: -3rem;
    grid-column: 1;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
    width: 200px;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.stat:hover::before {
    left: 100%;
}

.stat-icon {
    margin-bottom: 1rem;
}

.stat-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.stat h3 {
    font-size: 1.8rem;
    color: var(--warm-mustard);
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--off-white);
    position: relative;
    overflow: hidden;
}

.about-decoration {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
    opacity: 0.1;
}

.about-decor-image {
    width: 200px;
    height: auto;
    transform: rotate(15deg);
    filter: grayscale(100%);
}

.about h2 {
    font-family: 'Inter', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--dark-brown);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--deep-red-brown);
}

.about-features {
    display: grid;
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(47, 37, 38, 0.1);
    border-left: 4px solid var(--earth-red);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--warm-mustard);
    transition: height var(--transition-normal);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(47, 37, 38, 0.15);
}

.feature:hover::before {
    height: 100%;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-family: 'Inter', sans-serif;
    color: var(--dark-brown);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--deep-red-brown);
    opacity: 0.8;
}

/* Visualizations Section */
.visualizations {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-pink) 0%, var(--soft-pink) 100%);
}

.visualizations h2 {
    font-family: 'Inter', sans-serif;
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: -0.5rem;
    background: linear-gradient(45deg, var(--dark-brown), var(--earth-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.viz-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
}

.viz-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(47, 37, 38, 0.15);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 600px;
    min-width: 500px;
    position: relative;
    overflow: hidden;
}

.viz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--earth-red), var(--warm-mustard));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.viz-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(47, 37, 38, 0.2);
}

.viz-card:hover::before {
    transform: scaleX(1);
}

.viz-card h3 {
    font-family: 'Inter', sans-serif;
    color: var(--dark-brown);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.viz-description {
    color: var(--deep-red-brown);
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.5;
}

.section-description {
    text-align: center;
    color: var(--deep-red-brown);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.viz-section {
    margin-bottom: 5rem;
    padding-top: 2rem;
}

.viz-section.call-to-action {
    margin-top: -8rem;
}

.viz-section.call-to-action .section-header {
    margin-top: 4rem;
}

.viz-section.call-to-action .section-description {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 248, 248, 0.9));
    border: 2px solid var(--earth-red);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(47, 37, 38, 0.15);
    position: relative;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-brown);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.viz-section.call-to-action .section-description::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--earth-red), var(--warm-mustard), var(--earth-red));
    border-radius: 12px;
    z-index: -1;
    opacity: 0.3;
}

.viz-section:last-child {
    margin-bottom: 0;
}

.section-header {
    font-family: 'Inter', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    margin-top: 2rem;
    color: var(--dark-brown);
    font-weight: 700;
    position: relative;
    padding-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(45deg, var(--earth-red), var(--warm-mustard));
    border-radius: 3px;
}

.viz-preview {
    text-align: center;
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.preview-image {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(47, 37, 38, 0.1);
}

.preview-image img {
    width: 100%;
    height: auto;
    display: block;
}

.preview-image .tableauPlaceholder {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(47, 37, 38, 0.1);
    height: 200px !important;
    width: 100% !important;
    min-width: 500px !important;
    max-width: 800px !important;
    position: relative;
}

.preview-image .tableauViz {
    width: 100% !important;
    height: 200px !important;
    min-width: 500px !important;
    max-width: 800px !important;
    border-radius: 8px;
    overflow: hidden;
    object-fit: cover;
    object-position: center;
}

.viz-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--earth-red);
    color: var(--off-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all var(--transition-normal);
    border: 2px solid var(--earth-red);
    position: relative;
    overflow: hidden;
}

.viz-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.viz-button:hover {
    background: var(--deep-red-brown);
    border-color: var(--deep-red-brown);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(202, 52, 62, 0.3);
}

.viz-button:hover::before {
    left: 100%;
}

/* Tableau Dashboard Styling */
.tableauPlaceholder {
    width: 100% !important;
    height: 500px !important;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.tableauViz {
    width: 100% !important;
    height: 100% !important;
    min-height: 400px;
    border: none !important;
    display: block !important;
}

/* Individual Visualization Page Styles */
.viz-hero {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--deep-red-brown) 100%);
    color: var(--off-white);
    padding: 120px 0 80px;
    text-align: center;
}

.viz-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--off-white), var(--warm-mustard));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.viz-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.viz-content {
    padding: 80px 0;
    background-color: var(--off-white);
}

.viz-explanation {
    margin-bottom: 4rem;
}

.viz-explanation h2 {
    font-family: 'Inter', sans-serif;
    color: var(--dark-brown);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.viz-explanation h3 {
    font-family: 'Inter', sans-serif;
    color: var(--dark-brown);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.viz-explanation p {
    color: var(--deep-red-brown);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.viz-explanation ul {
    color: var(--deep-red-brown);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-left: 2rem;
}

.viz-explanation li {
    margin-bottom: 0.5rem;
}

.viz-chart-container {
    margin: 4rem 0;
}

.viz-chart-container h3 {
    font-family: 'Inter', sans-serif;
    color: var(--dark-brown);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.chart-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(47, 37, 38, 0.15);
    height: 500px;
    position: relative;
}

.viz-insights {
    margin-top: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(47, 37, 38, 0.1);
    border-left: 4px solid var(--earth-red);
}

.viz-insights h3 {
    font-family: 'Inter', sans-serif;
    color: var(--dark-brown);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.viz-insights p {
    color: var(--deep-red-brown);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.viz-insights ul {
    color: var(--deep-red-brown);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-left: 2rem;
}

/* Active navigation state */
.nav-menu a.active {
    color: var(--warm-mustard);
    font-weight: 600;
}

/* Findings Section */
.findings {
    padding: 80px 0;
    background-color: var(--off-white);
}

.findings h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-brown);
}

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

.finding-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(47, 37, 38, 0.1);
    border-top: 4px solid var(--earth-red);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.finding-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--earth-red), var(--warm-mustard));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.finding-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(47, 37, 38, 0.15);
}

.finding-card:hover::before {
    transform: scaleX(1);
}

.finding-card h3 {
    color: var(--dark-brown);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.finding-card p {
    color: var(--deep-red-brown);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dusty-rose) 0%, var(--muted-taupe) 100%);
    color: var(--off-white);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--off-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--off-white);
}

.contact-info p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.contact-details p {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Team Section Styling */
.team-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 3rem;
    flex-wrap: wrap;
}

.team-names {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
    flex: 1;
    min-width: 300px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.team-names::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--warm-mustard), var(--earth-red));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.team-names:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.team-names:hover::before {
    transform: scaleX(1);
}

.names-badge {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.team-names h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--off-white);
    margin-bottom: 0.5rem;
}

.project-info {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
    flex: 1;
    min-width: 300px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.project-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--warm-mustard), var(--earth-red));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.project-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.project-info:hover::before {
    transform: scaleX(1);
}

.project-badge {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.project-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--off-white);
    margin-bottom: 0.5rem;
}

.project-info p {
    font-size: 1.2rem;
    color: var(--off-white);
    opacity: 0.9;
    font-weight: 500;
}

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

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.1);
    color: var(--off-white);
    backdrop-filter: blur(10px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(251, 241, 238, 0.7);
}

.contact-form button {
    padding: 1rem 2rem;
    background: var(--earth-red);
    color: var(--off-white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.contact-form button:hover {
    background: var(--deep-red-brown);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(202, 52, 62, 0.3);
}

.contact-form button:hover::before {
    left: 100%;
}

/* Footer */
.footer {
    background-color: var(--dark-brown);
    color: var(--off-white);
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        min-height: auto;
        padding: 2rem 20px;
    }
    
    .hero-text {
        text-align: center;
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-main-image {
        max-width: 70%;
        margin: 0;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat {
        min-width: 100px;
        padding: 1rem 0.5rem;
    }
    
    .stat-image {
        width: 40px;
        height: 40px;
    }
    
    .stat h3 {
        font-size: 1.6rem;
    }
    
    .stat p {
        font-size: 0.9rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-decoration {
        display: none;
    }
    
    .viz-grid {
        grid-template-columns: 1fr;
    }
    
    .viz-card {
        height: 500px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-content {
        flex-direction: column;
        align-items: center;
    }
    
    .team-names {
        padding: 2rem;
        max-width: 100%;
        min-width: auto;
    }
    
    .names-badge {
        font-size: 2.5rem;
    }
    
    .team-names h3 {
        font-size: 1.2rem;
    }
    
    .project-info {
        padding: 2rem;
        max-width: 100%;
        min-width: auto;
    }
    
    .project-badge {
        font-size: 3rem;
    }
    
    .project-info h3 {
        font-size: 1.5rem;
    }
    
    .project-info p {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-image {
        width: 35px;
        height: 35px;
    }
}

/* Ensure side-by-side layout on larger screens */
@media (min-width: 769px) {
    .viz-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Apply animations with staggered delays */
.viz-card {
    animation: fadeInUp 0.6s ease-out;
}

.viz-card:nth-child(1) { animation-delay: 0.1s; }
.viz-card:nth-child(2) { animation-delay: 0.2s; }

.finding-card {
    animation: slideInLeft 0.6s ease-out;
}

.finding-card:nth-child(1) { animation-delay: 0.1s; }
.finding-card:nth-child(2) { animation-delay: 0.2s; }
.finding-card:nth-child(3) { animation-delay: 0.3s; }

.feature {
    animation: slideInRight 0.6s ease-out;
}

.feature:nth-child(1) { animation-delay: 0.1s; }
.feature:nth-child(2) { animation-delay: 0.2s; }
.feature:nth-child(3) { animation-delay: 0.3s; }

.stat {
    animation: fadeInUp 0.6s ease-out;
}

.stat:nth-child(1) { animation-delay: 0.1s; }
.stat:nth-child(2) { animation-delay: 0.2s; }
.stat:nth-child(3) { animation-delay: 0.3s; }

/* Hover animations */
.names-badge,
.project-badge {
    animation: pulse 2s infinite;
}

/* Performance optimizations */
* {
    will-change: transform, opacity;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 