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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #1a1a1a;
    color: #e0e0e0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* SECTION STYLING */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
}

.content {
    max-width: 900px;
    width: 100%;
}

h1 {
    font-size: 6rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -1px;
}

h2 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #cccccc;
}

p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #b0b0b0;
}

.stat-large {
    font-size: 2.5rem;
    font-weight: 500;
    color: #ffffff;
    margin: 2rem 0;
    display: block;
}

.stat-description {
    font-size: 1.4rem;
    color: #999999;
    font-weight: 300;
}

.iceberg-visual {
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* CALENDAR VISUAL */
.calendar-visual {
    display: flex;
    flex-wrap: wrap;      /* allow multiple rows */
    justify-content: center;
    margin: 4rem auto;
    width: 100%;
    max-width: 1200px;
}

.months {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columns */
    gap: 0.25rem;
    width: 100%;
    justify-items: center;
}

.month {
    width: 100px;
    height: 85px;
    border: 1px solid #333;
    border-radius: 6px;
    background-color: #111;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
    box-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.has-image {
    background-image: url('../visuals/calendar.jpg'); 
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.month.visible {
    opacity: 1;
    transform: scale(1);
}



/* FADE IN ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* PROFILE CARDS */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.profile-card {
    background: #252525;
    padding: 2rem;
    border-left: 4px solid #666666;
    transition: all 0.3s ease;
}

.profile-card:hover {
    border-left-color: #ffffff;
    transform: translateX(5px);
}

.profile-type {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888888;
    margin-bottom: 1rem;
}

.profile-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.profile-description {
    font-size: 1rem;
    color: #999999;
    line-height: 1.6;
}

/* VERTICAL PROFILE CARDS - Add this to your styles.css */
.profile-card-vertical {
    background: #252525;
    padding: 2.5rem;
    border-left: 4px solid #666666;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    max-width: 900px;
}

.profile-card-vertical:hover {
    border-left-color: #ffffff;
    transform: translateX(5px);
}

/* Keep the original profile-grid for sections that need horizontal layout */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* STICKY VISUALIZATION SECTION */
.sticky-section {
    position: relative;
    height: 300vh;
}

.sticky-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}

.stat-visual {
    text-align: center;
}

/* CONNECTION/FLOW DIAGRAM PLACEHOLDER */
.connection-diagram {
    width: 100%;
    height: 400px;
    background: none;
    border: 2px solid #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
    color: #666666;
    font-size: 1.2rem;
}

/* TECHNOLOGY ROLE SECTION */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.tech-card {
    background: #252525;
    padding: 2rem;
    border-top: 3px solid #444444;
}

.tech-card h4 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.tech-card p {
    font-size: 1rem;
    color: #999999;
}

/* QUOTE SECTION */
.quote-section {
    background: #0d0d0d;
    padding: 4rem 2rem;
    text-align: center;
}

blockquote {
    font-size: 1.8rem;
    font-style: italic;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.quote-attribution {
    font-size: 1rem;
    color: #888888;
    margin-top: 1.5rem;
    font-style: normal;
}

/* COLOR SECTIONS */
.section-dark { background: #1a1a1a; }
.section-darker { background: #0d0d0d; }
.section-black { background: #000000; }

/* DIVIDER */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #333333, transparent);
    margin: 4rem 0;
}

/* NAVIGATION LINKS SECTION */
.link-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.link-card {
    background-color: #111;      
    color: #ffffff;              
    padding: 1rem 2rem;
    border: 1px solid #444;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.link-card:hover {
    background-color: #ffffff;   
    color: #000000;              
    border-color: #ffffff;
}

/* Center the "Explore the Data" header */
section .content h2 {
  text-align: center;
}

.pictograph {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
    justify-content: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
  }
.pictograph.show {
    opacity: 1;
    transform: translateY(0);
}
.person {
    font-size: 1.8rem;
    transition: transform 0.3s ease, color 0.3s ease;
}
.person:hover {
    transform: scale(1.2);
}
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr; /* two equal columns */
    gap: 1rem; /* space between columns */
}
