@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600&display=swap');

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

:root {
    --black: #000000;
    --white: #ffffff;
    --gray-100: #f8f8f8;
    --gray-200: #eeeeee;
    --gray-300: #cccccc;
    --gray-400: #999999;
    --gray-500: #666666;
    --gray-600: #333333;
    --accent: #8B5CF6;
    --burgundy: #722F37;
    --burgundy-light: #8B3A44;
}

/* Alternating section colors */
.section-dark {
    background-color: #722F37 !important;
    color: #ffffff !important;
    padding: 60px 0;
    width: 100%;
}

.section-dark .section-label {
    color: rgba(255, 255, 255, 0.7);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.85);
}

.section-dark .feature-icon {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.section-dark .feature-item {
    border-color: rgba(255, 255, 255, 0.2);
}

.section-dark .lecturer-card-compact {
    background: rgba(255, 255, 255, 0.05);
}

.section-dark .lecturer-title,
.section-dark .lecturer-specialty,
.section-dark .lecturer-bio-short {
    color: rgba(255, 255, 255, 0.85);
}

.section-dark .lecturer-link {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.section-dark .lecturer-link:hover {
    background: var(--white);
    color: var(--burgundy);
}

.section-light {
    background-color: var(--white);
    color: var(--black);
    padding: 60px 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.8;
    min-height: 100vh;
    font-weight: 300;
    letter-spacing: 0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.6;
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    padding: 30px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 70px;
    width: auto;
}

.logo-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--black);
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 60px;
}

nav a {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--black);
    position: relative;
    padding-bottom: 5px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--black);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover {
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--black);
}

main {
    padding-top: 100px;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 150px 40px 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3000px;
    height: 3000px;
    background-image: url('../attached_assets/prognosis_mind_LOGO_TRANS_NO_TXT_1769433240068.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.20;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

.hero-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 200;
    letter-spacing: 0.15em;
    line-height: 1.4;
    margin-bottom: 50px;
    color: var(--black);
}

.hero-spaced {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.6em;
    color: var(--gray-400);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero p {
    font-size: 0.85rem;
    color: var(--gray-500);
    max-width: 500px;
    line-height: 2.2;
    margin-bottom: 60px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.btn {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 20px 50px;
    border: 1px solid var(--black);
    background: transparent;
    color: var(--black);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--black);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover {
    color: var(--white);
    opacity: 1;
}

.btn:hover::before {
    left: 0;
}

.btn-filled {
    background: var(--black);
    color: var(--white);
}

.btn-filled::before {
    background: var(--white);
}

.btn-filled:hover {
    color: var(--black);
}

section {
    padding: 150px 0;
}

.section-label {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--gray-400);
    font-weight: 400;
    margin-bottom: 30px;
    font-weight: 400;
}

.section-title {
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--black);
    margin-bottom: 20px;
}

.section-title p {
    font-size: 0.85rem;
    color: var(--gray-500);
    letter-spacing: 0.05em;
    font-weight: 300;
}

.section-title.center {
    text-align: center;
}

.spaced-heading {
    font-size: 1.8rem;
    font-weight: 200;
    letter-spacing: 0.4em;
    color: var(--black);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--gray-200);
}

.feature-item {
    padding: 60px 40px;
    border-bottom: 1px solid var(--gray-200);
    border-right: 1px solid var(--gray-200);
}

.feature-item:nth-child(3n) {
    border-right: none;
}


.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 200;
    color: var(--gray-400);
}

.news-spacer {
    height: 20px;
    background: var(--white);
}

.news-section + .news-spacer + .container {
    padding-top: 0;
    padding-bottom: 100px;
}

.feature-item h3 {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--black);
}

.feature-item p {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 2;
    font-weight: 300;
}

.team-section {
    background: var(--gray-100);
    padding: 150px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.team-card {
    background: var(--white);
    padding: 80px 60px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.team-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 40px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.team-card h3 {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    color: var(--black);
}

.team-role {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 30px;
    font-weight: 400;
}

.team-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 2;
    font-weight: 300;
}

.team-specs {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-200);
    text-align: left;
}

.team-specs p {
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.team-specs strong {
    font-weight: 500;
}

.courses-section {
    padding: 150px 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.course-card:hover {
    border-color: var(--black);
}

.course-header {
    padding: 40px 30px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-100);
}

.course-header h3 {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--black);
}

.course-body {
    padding: 40px 30px;
}

.course-body p {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 2;
    margin-bottom: 30px;
    font-weight: 300;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--gray-400);
    letter-spacing: 0.05em;
}

.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 80vh;
}

.contact-info {
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 0.15em;
    margin-bottom: 50px;
    color: var(--black);
}

.contact-info > p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 2;
    margin-bottom: 60px;
    font-weight: 300;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 35px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 8px;
    font-weight: 400;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--black);
    font-weight: 300;
}

.contact-form-wrapper {
    background: var(--gray-100);
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-wrapper h3 {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 50px;
    color: var(--black);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 12px;
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gray-300);
    color: var(--black);
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 300;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--black);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-card {
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: var(--black);
}

.blog-image {
    height: 200px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 200;
    color: var(--gray-400);
    font-size: 2.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.blog-content {
    padding: 40px 30px;
}

.blog-date {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 15px;
    font-weight: 400;
}

.blog-content h3 {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--black);
}

.blog-content p {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.9;
    font-weight: 300;
}

.partners-section {
    background: var(--gray-100);
    padding: 150px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.partner-card {
    background: var(--white);
    padding: 60px 30px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.partner-card:hover {
    border-color: var(--black);
}

.partner-logo {
    font-size: 2.5rem;
    margin-bottom: 25px;
    font-weight: 200;
    color: var(--gray-400);
}

.partner-card h3 {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
    color: var(--black);
}

.partner-card p {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 300;
}

.cta-section {
    text-align: center;
    padding: 150px 0;
}

.cta-section p {
    font-size: 1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 2;
    font-weight: 300;
}

footer {
    background: var(--black);
    color: var(--white);
    padding: 100px 80px 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 25px;
    line-height: 1.9;
    font-weight: 300;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-weight: 400;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 300;
}

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

.footer-contact p {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 12px;
    font-weight: 300;
}

.footer-bottom {
    padding-top: 50px;
    border-top: 1px solid var(--gray-600);
    text-align: center;
    font-size: 0.7rem;
    color: var(--gray-400);
    letter-spacing: 0.1em;
    font-weight: 300;
}

.page-header {
    padding: 180px 0 100px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 200;
    letter-spacing: 0.2em;
    color: var(--black);
    margin-bottom: 25px;
}

.page-header p {
    font-size: 0.85rem;
    color: var(--gray-500);
    letter-spacing: 0.05em;
    font-weight: 300;
}

.mission-section {
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-section p {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 2.2;
    margin-bottom: 30px;
    font-weight: 300;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 50px;
    }
    
    header {
        padding: 25px 50px;
    }
    
    .features-grid,
    .courses-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-item:nth-child(2n) {
        border-right: none;
    }
    
    .feature-item:nth-child(3n) {
        border-right: 1px solid var(--gray-200);
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }
    
    header {
        padding: 20px 25px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 40px 25px;
        gap: 0;
        border-bottom: 1px solid var(--gray-200);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav li {
        padding: 20px 0;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .hero {
        padding: 150px 25px 80px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }
    
    .hero-spaced {
        font-size: 0.6rem;
        letter-spacing: 0.4em;
    }
    
    section {
        padding: 80px 0;
    }
    
    .section-title h2,
    .spaced-heading {
        font-size: 1.4rem;
        letter-spacing: 0.15em;
    }
    
    .features-grid,
    .courses-grid,
    .blog-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        border-right: none;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        padding: 50px 30px;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 60px 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    footer {
        padding: 60px 25px 40px;
    }
    
    .page-header {
        padding: 140px 25px 60px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .news-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .news-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .news-date {
        font-size: 0.75rem;
    }
}

/* News Section - New Topics */
.news-section {
    background: linear-gradient(135deg, #1a0a0a 0%, #2d1515 30%, #1a0505 100%);
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at right center, rgba(180, 60, 30, 0.4) 0%, rgba(120, 30, 10, 0.2) 40%, transparent 70%);
    pointer-events: none;
}

.news-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 80px;
    display: flex;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.news-header {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-header h2 {
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 0.1em;
    color: var(--white);
}

.news-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--white);
    transition: all 0.3s ease;
}

.news-btn::after {
    content: '›';
    font-size: 1rem;
}

.news-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.news-list {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    gap: 50px;
    padding: 35px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    transition: all 0.3s ease;
}

.news-item:first-child {
    padding-top: 0;
}

.news-item:hover {
    opacity: 0.7;
}

.news-date {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
    width: 100px;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.8;
    margin-bottom: 12px;
    color: var(--white);
}

.news-tag {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
}

/* What We Do Section with Spheres */
.what-we-do {
    background: #f0f0f0;
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.wwd-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    width: 100%;
}

.wwd-header {
    margin-bottom: 80px;
}

.wwd-header h2 {
    font-size: 2.5rem;
    font-weight: 200;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    color: var(--black);
}

.wwd-description {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    line-height: 2;
    color: var(--gray-500);
    margin-bottom: 30px;
}

.wwd-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border: 1px solid var(--gray-400);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--black);
    transition: all 0.3s ease;
}

.wwd-btn::after {
    content: '›';
    font-size: 1rem;
}

.wwd-btn:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    opacity: 1;
}

.spheres-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.sphere {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #e8e8e8 40%, #c0c0c0 80%, #a0a0a0 100%);
    box-shadow: 
        inset -20px -20px 40px rgba(0, 0, 0, 0.1),
        inset 10px 10px 20px rgba(255, 255, 255, 0.8),
        0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.sphere::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 30%;
    height: 20%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
}

.sphere span {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--black);
    line-height: 1.4;
    z-index: 1;
}

.sphere.active span {
    color: #e65c00;
}

.sphere:hover {
    transform: translateY(-10px);
    box-shadow: 
        inset -20px -20px 40px rgba(0, 0, 0, 0.1),
        inset 10px 10px 20px rgba(255, 255, 255, 0.8),
        0 30px 50px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
    .spheres-container {
        gap: 20px;
    }
    
    .sphere {
        width: 140px;
        height: 140px;
    }
    
    .sphere span {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .what-we-do {
        padding: 80px 0;
        min-height: auto;
    }
    
    .wwd-container {
        padding: 0 30px;
    }
    
    .wwd-header h2 {
        font-size: 1.8rem;
    }
    
    .spheres-container {
        gap: 15px;
    }
    
    .sphere {
        width: 100px;
        height: 100px;
    }
    
    .sphere span {
        font-size: 0.65rem;
    }
}

/* Team Gallery Section - generosity.co.jp style */
.team-gallery-section {
    background: var(--gray-100);
    padding: 100px 80px;
}

.team-gallery-header {
    max-width: 1400px;
    margin: 0 auto 60px;
}

.team-gallery-header h2 {
    font-size: 2.5rem;
    font-weight: 200;
    letter-spacing: 0.02em;
    margin-bottom: 25px;
    color: var(--black);
}

.gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border: 1px solid var(--gray-400);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--black);
    transition: all 0.3s ease;
}

.gallery-btn::after {
    content: '›';
    font-size: 1rem;
}

.gallery-btn:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    opacity: 1;
}

.team-gallery-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    padding: 0 20px;
    margin-bottom: 60px;
}

.strip-item {
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: all 0.4s ease;
}

.strip-item.grayscale img {
    filter: grayscale(100%);
}

.strip-item.grayscale:hover img {
    filter: grayscale(50%);
}

.strip-item.color img {
    filter: grayscale(0%);
}

.strip-item:not(.featured) {
    width: 180px;
    height: 240px;
}

.strip-item.tall:not(.featured) {
    height: 320px;
}

.strip-item.featured {
    width: 320px;
    height: 420px;
    z-index: 2;
}

.strip-item:hover img {
    transform: scale(1.03);
}

.team-gallery-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 0 80px;
}

.team-gallery-info h3 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    color: var(--black);
}

.team-gallery-info p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--gray-500);
}

/* Lecturers Grid - Compact */
.lecturers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.lecturer-card-compact {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.lecturer-image-compact {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 30px;
}

.lecturer-image-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.lecturer-card-compact:hover .lecturer-image-compact img {
    filter: grayscale(0%);
}

.lecturer-info-compact h3 {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    color: var(--black);
}

.lecturer-info-compact .lecturer-title {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: 5px;
}

.lecturer-info-compact .lecturer-specialty {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.lecturer-info-compact .lecturer-bio-short {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 20px;
}

.lecturer-link {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--black);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.lecturer-link:hover {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .lecturers-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* Team Details Section */
.team-details-section {
    background: var(--white);
    padding: 100px 0;
}

.lecturer-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.lecturer-image {
    border-radius: 8px;
    overflow: hidden;
}

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

.lecturer-info h3 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 15px;
    color: var(--black);
}

.lecturer-title {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #e65c00;
    margin-bottom: 10px;
}

.lecturer-subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--gray-500);
    margin-bottom: 25px;
    font-style: italic;
}

.lecturer-bio {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--gray-600);
    margin-bottom: 40px;
}

.lecturer-competences h4 {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--black);
}

.competences-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.competences-grid span {
    padding: 8px 16px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.competences-grid span:hover {
    background: var(--black);
    color: var(--white);
}

@media (max-width: 1024px) {
    .team-gallery-section {
        padding: 80px 40px;
    }
    
    .gallery-item.large {
        width: 300px;
        height: 380px;
    }
    
    .gallery-item.placeholder {
        width: 200px;
        height: 280px;
    }
    
    .lecturer-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .team-gallery-section {
        padding: 60px 25px;
    }
    
    .team-gallery-header h2 {
        font-size: 1.8rem;
    }
    
    .team-gallery-info {
        padding: 0;
    }
    
    .lecturer-info h3 {
        font-size: 1.5rem;
    }
}
