/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3498db;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #2c3e50;
}

.btn-outline {
    background-color: transparent;
    color: #3498db;
    border-color: #3498db;
}

.btn-outline:hover {
    background-color: #3498db;
    color: white;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Preview Section */
.about-preview {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

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

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #555;
}

/* Services Overview */
.services-overview {
    padding: 4rem 0;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

.services-cta {
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Consultation Section */
.consultation-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.calendly-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.calendly-container iframe {
    width: 100%;
    border: none;
}

/* Service Sections */
.service-section {
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}

.service-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-header .service-icon {
    font-size: 3rem;
}

.service-header h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
}

.service-description h3 {
    color: #34495e;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.service-description p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    color: #555;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.case-highlight {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #3498db;
}

.case-highlight h4,
.case-highlight h5 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* HealthOS Features */
.healthos-features {
    margin: 2rem 0;
}

.feature-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature-item.featured {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    border: 2px solid #27ae60;
}

.feature-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item p {
    margin-bottom: 1rem;
}

.feature-item ul {
    margin-left: 1.5rem;
}

.feature-item ul li {
    margin-bottom: 0.5rem;
}

.cta-box {
    text-align: center;
    margin-top: 2rem;
}

/* Case Studies */
.case-studies {
    padding: 2rem 0;
}

.case-study-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-2px);
}

.case-study-card.featured {
    border: 2px solid #3498db;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.case-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.case-icon {
    font-size: 2.5rem;
}

.case-title h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.case-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.case-status.ongoing {
    background-color: #3498db;
    color: white;
}

.case-status.progress {
    background-color: #f39c12;
    color: white;
}

.case-status.internal {
    background-color: #9b59b6;
    color: white;
}

.case-status.upcoming {
    background-color: #95a5a6;
    color: white;
}

.case-content h4 {
    color: #34495e;
    margin: 1.5rem 0 0.5rem 0;
    font-weight: 600;
}

.case-content h5 {
    color: #34495e;
    margin: 1rem 0 0.5rem 0;
    font-weight: 600;
}

.case-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.case-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

.case-content li {
    color: #555;
    margin-bottom: 0.25rem;
}

.case-cta {
    margin-top: 1.5rem;
}

/* About Page Specific Styles */
.who-we-are,
.why-exist,
.founder-profile,
.differentiators,
.mission {
    padding: 3rem 0;
}

.who-we-are {
    background-color: #f8f9fa;
}

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

.content-text h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.content-text p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.why-item {
    text-align: center;
    padding: 1.5rem;
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.why-item p {
    color: #666;
    line-height: 1.6;
}

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

.profile-text h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.profile-text p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.profile-sectors {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    list-style: none;
    margin: 2rem 0;
}

.profile-sectors li {
    background: #3498db;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

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

.diff-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.diff-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.diff-card p {
    color: #666;
    line-height: 1.6;
}

.mission {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
}

.mission-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mission-statement {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
}

/* Join Us Page Styles */
.join-intro {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

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

.intro-content h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.intro-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.open-roles {
    padding: 4rem 0;
}

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

.role-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.role-card:hover {
    transform: translateY(-5px);
}

.role-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.role-card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.role-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.role-requirements {
    list-style: none;
}

.role-requirements li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.role-requirements li::before {
    content: '•';
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.partnerships {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.partnership-content {
    max-width: 800px;
    margin: 0 auto;
}

.partnership-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
}

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

.partnership-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.partnership-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.partnership-item p {
    color: #666;
    line-height: 1.6;
}

.application-process {
    padding: 4rem 0;
}

.process-content {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-number {
    background: #3498db;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: #555;
    line-height: 1.6;
}

.work-culture {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

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

.culture-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.culture-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.culture-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.culture-item p {
    color: #666;
    line-height: 1.6;
}

.values-statement {
    margin-top: 3rem;
    padding: 2rem 0;
}

.values-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #3498db;
}

.values-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-style: italic;
}

.values-content p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #2c3e50;
}

.join-cta,
.portfolio-cta,
.services-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    text-align: center;
}

.join-cta .cta-content h2,
.portfolio-cta .cta-content h2,
.services-cta .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.join-cta .cta-content p,
.portfolio-cta .cta-content p,
.services-cta .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Contact Page Styles */
.contact-info {
    padding: 4rem 0;
}

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

.contact-details h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 2rem;
    width: 50px;
    flex-shrink: 0;
}

.contact-content h3 {
    color: #34495e;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-content p {
    color: #555;
    line-height: 1.6;
}

.contact-content a {
    color: #3498db;
    text-decoration: none;
}

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

.contact-note {
    font-size: 0.9rem;
    color: #777;
}

.contact-form-container h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #34495e;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

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

.faq-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #3498db;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #2c3e50;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 1rem;
        display: block;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
    }

    .service-header h2 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .case-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-sectors {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

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

    .section-header h2 {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .service-card,
    .role-card,
    .case-study-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .calendly-container {
        margin: 0 -15px;
        border-radius: 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .nav-toggle,
    .calendly-container,
    .btn {
        display: none !important;
    }

    main {
        margin-top: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .page-header,
    .hero {
        background: none !important;
        color: #000 !important;
    }
}
