:root {
    /* Medical Professional Palette - Calm & Trustworthy */
    --primary-color: #003B5C; /* Deep Medical Blue */
    --accent-color: #4DA1A9; /* Calm Surgical Teal/Blue */
    --text-color: #2D3748; /* Softer Dark Gray */
    --text-light: #718096; /* Calm Slate Gray */
    --background-color: #FFFFFF;
    --background-alt: #F7FAFC; /* Very light cool gray/blue */
    --white: #FFFFFF;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 80px 0;
    background: radial-gradient(circle at top right, #f0f9ff, #ffffff);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.abstract-shape {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    opacity: 0.1;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 30% 30% 70% 70% / 50% 20% 80% 50%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* Trusted By */
.trusted-by {
    padding: 30px 0;
    background-color: var(--background-alt);
    overflow: hidden; /* Hide scrollbars */
    white-space: nowrap;
    position: relative;
}

.logos-container {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}

.logos-slide {
    display: inline-block;
    animation: slide 35s linear infinite;
}

.logos-slide:hover {
    animation-play-state: paused;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.partner-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #8898aa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: default;
    margin: 0 40px; /* Spacing between logos */
}

.partner-logo svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
    opacity: 0.8;
}

.partner-logo:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo:hover svg {
    stroke: var(--primary-color);
    opacity: 1;
}

/* Hide scrollbar for clean look */
.logos-grid::-webkit-scrollbar {
    display: none;
}
.logos-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Features */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.feature-card {
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Stats */
.stats {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Content Block */
.content-block {
    padding: 100px 0;
}

.content-block-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.benefit-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefit-item h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-item p {
    color: var(--text-light);
    font-size: 1rem;
    padding-left: 0;
}

.alt-bg {
    background-color: var(--background-alt);
}

.reverse-layout {
    direction: rtl;
}

.reverse-layout > * {
    direction: ltr;
}

.check-list {
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.visual-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 2px dashed #ddd;
}

.feature-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    /* Non-symmetric egg-like organic shape */
    border-radius: 45% 55% 70% 30% / 45% 55% 45% 55%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: border-radius 0.8s ease;
}

.feature-image:hover {
    border-radius: 55% 45% 30% 70% / 55% 45% 55% 45%;
}

/* Hero Slideshow */
.hero-slideshow {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    animation: morph 8s ease-in-out infinite;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: slideFade 12s infinite;
}

.hero-slideshow .slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slideshow .slide:nth-child(2) {
    animation-delay: 6s;
}

@keyframes slideFade {
    0% { opacity: 0; }
    10% { opacity: 1; }
    50% { opacity: 1; }
    60% { opacity: 0; }
    100% { opacity: 0; }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--background-alt);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background-color: #051220;
    color: #aaa;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: block;
    margin-bottom: 15px;
    /* font properties removed as it is now an image */
}

.footer-logo img {
    height: 55px;
    filter: brightness(0) invert(1); /* Make logo white for dark footer */
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.copyright {
    border-top: 1px solid #222;
    padding-top: 20px;
    text-align: center;
    font-size: 0.875rem;
}

/* --- New Pages Styles --- */

/* Page Header */
.page-header {
    background-color: var(--background-alt);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-item {
    margin-bottom: 30px;
}

.contact-info-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-info-item p {
    color: var(--text-light);
}

.contact-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

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

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

/* Team Page */
.team-section {
    padding: 80px 0;
}

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

.team-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 40px 30px;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--background-alt);
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
    border: 3px solid var(--secondary-color);
}

.team-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.team-bio {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer Mini Contact Form */
.footer-contact-mini {
    margin-top: 20px;
}

.footer-contact-mini h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #888;
}

.mini-contact-form {
    display: flex;
    gap: 10px;
}

.mini-contact-form input {
    flex: 1;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #333;
    background-color: #222;
    color: var(--white);
    font-size: 0.9rem;
}

.mini-contact-form .btn-small {
    padding: 8px 15px;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        position: relative;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
        position: absolute;
        transition: var(--transition);
    }

    .mobile-menu-btn span:nth-child(1) { top: 0; }
    .mobile-menu-btn span:nth-child(2) { top: 9px; }
    .mobile-menu-btn span:nth-child(3) { top: 18px; }

    .hero-container, .content-block-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}