/* ==========================================================================
   About Page Styles
   ========================================================================== */

/* --- Utilities --- */
.mt-4 {
    margin-top: 16px;
}

.mt-8 {
    margin-top: 32px;
}

.text-muted {
    color: var(--outline);
}

.section-title {
    margin-bottom: 56px;
}

/* --- Hero Section (White BG + Image) --- */
.about-hero-section {
    background-color: #FFFFFF;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 60px;
    position: relative;
}

.about-hero-title {
    white-space: pre-line;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.about-hero-subtitle {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-hero-media {
    position: relative;
    z-index: 2;
}

.about-hero-img {
    width: 100%;
    max-width: 1000px;
    border-radius: var(--rounded-xl);
    box-shadow: 0 12px 32px var(--shadow-color);
    object-fit: cover;
}

/* --- Our Philosophy Section --- */
.philosophy-section {
    background-color: var(--surface-container-low);
}

.philosophy-grid {
    align-items: stretch;
}

.philosophy-card {
    background-color: var(--surface-container-lowest);
    border-radius: var(--rounded-xl);
    padding: 40px 32px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px var(--shadow-color);
    transition: transform 0.2s ease;
}

.philosophy-card:hover {
    transform: translateY(-2px);
}

.philosophy-heading {
    margin-bottom: 16px;
}

.card-icon-wrapper-ghost {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 24px;
}

.philosophy-card-icon {
    font-size: 32px;
    color: #111827;
    /* Dark monotone to match Apple aesthetic */
}

/* --- Inside the Lab Section (FIXED LAYOUT) --- */
.lab-section {
    background-color: var(--surface);
    overflow: hidden;
    padding: 120px 0;
}

.lab-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    /* Fixed 2-column layout */
    align-items: center;
    gap: 64px;
}

.lab-title {
    margin-bottom: 24px;
}

.lab-media {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.lab-images-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    /* Provides a solid boundary for the absolute images */
}

.lab-img-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--rounded-lg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.lab-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--rounded-lg);
    border: 8px solid var(--surface);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* --- The Difference Section --- */
.difference-section {
    background-color: var(--surface-container-lowest);
}

.comparison-container {
    display: flex;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    align-items: stretch;
}

.comparison-card {
    flex: 1;
    border-radius: var(--rounded-xl);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
}

.card-header {
    margin-bottom: 32px;
}

.card-traditional {
    background-color: var(--surface-container-low);
    color: var(--on-surface-variant);
}

.card-traditional .card-header {
    color: var(--on-surface-variant);
}

.card-icarepoint {
    background-color: var(--surface-container-lowest);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.comparison-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Font Awesome Color Modifiers */
.comparison-icon--negative {
    color: #EF4444;
}

/* Red X */
.comparison-icon--positive {
    color: #0F62FE;
}

/* Blue Check */

/* --- Direct Contact Section --- */
.contact-section {
    background-color: #FFFFFF;
    padding: 80px 0;
}

.contact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.contact__card {
    background-color: #F0F4FF;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(15, 98, 254, 0.04);
    border: 1px solid #DCE6FF;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 98, 254, 0.08);
}

.contact__card-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 24px;
}

.contact__icon-circle {
    width: 56px;
    height: 56px;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #0F62FE;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.contact__content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact__title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.3;
}

.contact__text {
    font-size: 15px;
    color: #4B5563;
    line-height: 1.6;
    margin: 0;
    white-space: pre-line;
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--surface-container-low);
    padding: 96px 0;
}

.cta-title {
    white-space: pre-line;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .contact__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .lab-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .lab-images-wrapper {
        margin: 0 auto;
        height: 400px;
    }

    .comparison-container {
        flex-direction: column;
        max-width: 500px;
    }

    .cta-actions {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact__card {
        padding: 24px;
    }
}