/* Base styles */
:root {
    --primary-color: #2d3436;
    --secondary-color: #636e72;
    --accent-color: #0984e3;
    --background-color: #ffffff;
    --text-color: #2d3436;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: linear-gradient(135deg, #ffd6ff 0%, #e7feff 50%, #fff5ba 100%);
    min-height: 100vh;
}

/* Header styles */
.site-header {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.6);
    margin: 2rem 2rem 0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

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

.center-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Profile image styles */
.profile-image-container {
    margin-bottom: 3rem;
}

.hexagon-wrapper {
    width: 320px;
    height: 400px;
    margin-bottom: 2rem;
    position: relative;
}

.hexagon {
    width: 100%;
    height: 100%;
    position: relative;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    overflow: hidden;
    background: var(--background-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.hexagon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: 30px;
}

.profile-image {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Text styles */
.greeting {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.main-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    font-style: italic;
    color: var(--accent-color);
}

.description {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Team profiles */
.team-profiles {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.profile {
    text-align: center;
    width: 300px;
}

.image-wrapper {
    width: 300px;
    height: 400px;
    margin-bottom: 2rem;
    padding: 12px;
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    /* background: var(--background-color); */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.profile-bio {
    font-size: 1rem;
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Trusted section */
.trusted-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company-logos {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.company-logo {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    opacity: 0.8;
}

/* Sponsor section */
.sponsor-section {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: flex-end;
}

.sponsor-logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2rem;
    color: var(--secondary-color);
}

/* Responsive styles */
@media (max-width: 1200px) {
    .team-profiles {
        gap: 3rem;
    }

    .profile {
        width: 260px;
    }

    .image-wrapper {
        width: 260px;
        height: 350px;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .site-header {
        margin: 1rem 1rem 0;
        padding: 0.75rem 1.5rem;
    }

    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .hero-section {
        padding-top: 2rem;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .description {
        font-size: 1.125rem;
    }

    .team-profiles {
        flex-direction: column;
        gap: 4rem;
        align-items: center;
    }

    .profile {
        width: 240px;
    }

    .image-wrapper {
        width: 240px;
        height: 320px;
        padding: 8px;
    }

    .company-logos {
        gap: 2rem;
    }
}

/* Contact page styles */
.contact-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 3rem;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact-container h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.contact-container h2:first-child {
    margin-top: 0;
}

.contact-container h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin: 1.5rem 0 0.75rem;
}

.contact-container p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact-container ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.contact-container li {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.contact-container li:before {
    content: "•";
    position: absolute;
    left: -1.5rem;
    color: var(--accent-color);
}

.contact-container a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-container a:hover {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-container {
        margin: 1rem;
        padding: 2rem;
    }

    .contact-container h2 {
        font-size: 1.5rem;
    }
}

.team-member {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.team-member strong {
    color: var(--primary-color);
}

/* Page styles */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.page-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.content-container h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.content-container h2:first-child {
    margin-top: 0;
}

.content-container h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin: 1.5rem 0 0.75rem;
}

.content-container p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.content-container ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.content-container li {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.content-container li:before {
    content: "•";
    position: absolute;
    left: -1.5rem;
    color: var(--accent-color);
}

.content-container a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-container a:hover {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-container {
        padding: 1rem;
    }

    .page-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .content-container {
        padding: 2rem;
    }

    .content-container h2 {
        font-size: 1.5rem;
    }
}

/* Healthcare Taxonomy styles */
.taxonomy-form {
    margin: 2rem 0;
    position: relative;
    text-align: center;
}

.taxonomy-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    resize: vertical;
    font-family: inherit;
    margin-bottom: 2rem;
    text-align: left;
}

.taxonomy-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.taxonomy-form textarea::placeholder {
    color: #999;
}

.taxonomy-form button {
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.taxonomy-form button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-overlay:not(.hidden) {
    display: flex;
}

.spinner {
    border: 3px solid rgba(45, 52, 54, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.taxonomy-results {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    margin-top: 3rem;
    text-align: left;
}

.hidden {
    display: none;
}

.taxonomy-results.hidden {
    display: none;
}

.taxonomy-results:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

.taxonomy-group {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.taxonomy-group h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: slideIn 0.3s ease forwards;
}

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

.no-tags {
    color: #666;
    font-style: italic;
    font-size: 0.95rem;
}

/* Sponsor container */
.sponsor-container {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sponsor-text {
    font-size: 0.9rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: flex-end;
}


.sponsor-container img {
    max-width: 200px;
    height: auto;
}

/* Decision pills */
.decision-pill {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.decision-pill.qualified {
    background-color: #00b894;
    color: white;
}

.decision-pill.rejected {
    background-color: #d63031;
    color: white;
}

.decision-pill.requires-info {
    background-color: #fdcb6e;
    color: var(--primary-color);
}

.result-text {
    color: var(--secondary-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.result-list {
    list-style-type: disc;
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.result-list li {
    color: var(--secondary-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}