/* ABOUT US PAGE STYLES */

.about-discover-section {
    padding: 40px 0 0;
    overflow: hidden;
    box-sizing: border-box;
}

.about-discover-section * {
    box-sizing: border-box;
}

.about-discover-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.discover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    max-width: 957px;
}

.discover-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 64px;
    line-height: 110%;
    text-align: center;
    letter-spacing: -0.01em;
    color: #0A1837;
    margin: 0;
}

.discover-subtitle {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 160%;
    text-align: center;
    color: #0A1837;
    margin: 0;
}

.discover-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1280px;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1280 / 459;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.discover-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.discover-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: transform 0.2s ease, opacity 0.3s ease;
}

.discover-video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.discover-video-play-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .discover-title {
        font-size: 48px;
    }
    .discover-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .about-discover-section {
        padding: 40px 0 0;
    }
    .discover-title {
        font-size: 36px;
    }
    .discover-subtitle {
        font-size: 16px;
    }
    .discover-video-play-btn svg {
        width: 60px;
        height: 60px;
    }
    .discover-video-wrapper {
        display: none;
    }
}

/*--------------------------------------------------------------
# Precision Section
--------------------------------------------------------------*/
.about-precision-section {
    padding: 120px 0 60px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.about-precision-section * {
    box-sizing: border-box;
}

.about-precision-section .container {
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

.precision-content-wrapper {
    position: relative;
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    isolation: isolate;
    border-radius: 24px;
    overflow: hidden;
}

/* Decorative Ellipses */
.precision-ellipse {
    position: absolute;
    width: 180px;
    height: 180px;
    background: #31B331;
    border-radius: 50%;
    filter: blur(80px);
    transform: translateZ(0);
}

.precision-ellipse-1 {
    right: 58px;
    top: 208px;
    z-index: 0;
}

.precision-ellipse-2 {
    left: -41px;
    top: 64px;
    z-index: 1;
}

/* Glass-morphic Card */
.precision-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px;
    gap: 32px;
    width: 100%;
    background: rgba(1, 75, 36, 0.1);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 24px;
    z-index: 2;
}

.precision-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #1E2939;
    margin: 0;
    max-width: 1040px;
    text-align: center;
}

.precision-description {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 130%;
    color: #0A1837;
    margin: 0;
    max-width: 1040px;
    text-align: center;
}

/* Responsive Adjustments for Precision Section */
@media (max-width: 1200px) {
    .precision-card {
        padding: 80px 40px;
    }
    .precision-ellipse-1, .precision-ellipse-2 {
        display: none; /* Hide background circles on smaller screens for cleaner look or adjust their position */
    }
}

@media (max-width: 991px) {
    .about-precision-section {
        padding: 80px 0 40px;
    }
    .precision-card {
        padding: 60px 40px;
    }
    .precision-title {
        font-size: 32px;
    }
    .precision-description {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .about-precision-section {
        padding: 60px 0;
    }
    .precision-card {
        padding: 40px 20px;
        gap: 20px;
    }
    .precision-title {
        font-size: 28px;
    }
    .precision-description {
        font-size: 18px;
    }
}

/*--------------------------------------------------------------
# Shareholder Section
--------------------------------------------------------------*/
.about-shareholder-section {
    padding: 120px 0 60px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
}

.about-shareholder-section * {
    box-sizing: border-box;
}

.about-shareholder-section .container {
    width: 100%;
    max-width: 1280px;
    padding: 0 1rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.shareholder-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    max-width: 863px;
}

.shareholder-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #0A1837;
    margin: 0;
}

.shareholder-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    color: #4A5565;
    margin: 0;
}

.shareholder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1291px;
}

.shareholder-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.shareholder-image-wrapper {
    width: 100%;
    height: 400px;
    background: rgba(74, 85, 101, 0.05);
    border-radius: 16px;
    overflow: hidden;
}

.shareholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shareholder-image-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(74, 85, 101, 0.05);
}

.shareholder-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    position: relative;
    padding-bottom: 24px; /* Give space for absolute icons if needed, or flex row */
}

.shareholder-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 130%;
    letter-spacing: -0.01em;
    color: #0A1837;
    margin: 0;
}

.shareholder-role {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #0A1837;
    margin: 0;
    text-transform: uppercase;
}

.shareholder-icons {
    position: absolute;
    bottom: 0px;
    right: 0px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

.company-icon {
    width: 32px;
    height: 32px;
    border-radius: 100px;
    background: #C4C4C4;
    object-fit: cover;
}

/* Responsive Adjustments for Shareholder Section */
@media (max-width: 1024px) {
    .shareholder-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-shareholder-section {
        padding: 80px 0 40px;
    }
    .shareholder-title {
        font-size: 32px;
    }
    .shareholder-subtitle {
        font-size: 18px;
    }
    .shareholder-grid {
        grid-template-columns: 1fr;
    }
    .shareholder-image-wrapper {
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .shareholder-name {
        font-size: 28px;
    }
}

/*--------------------------------------------------------------
# Clinical Governance Section Variations
--------------------------------------------------------------*/
.about-clinical-gov-section {
    padding-top: 120px !important; /* Overriding the 0 padding set previously to merge them */
}

/* Adjustments for the role text to look like subtext "[Specific Institution...]" */
.about-clinical-gov-section .shareholder-role {
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
}

/*--------------------------------------------------------------
# Partners Section
--------------------------------------------------------------*/
.about-partners-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px 1rem 60px;
    gap: 32px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}

.partners-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    max-width: 863px;
    text-align: center;
}

.partners-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #0A1837;
    margin: 0;
}

.partners-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.4;
    color: #4A5565;
    margin: 0;
}

.partners-logo-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
    max-width: 1232px;
    width: 100%;
    opacity: 0.6;
}

.partner-logo-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 220.8px;
    height: 128px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box;
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .about-partners-section {
        padding: 80px 2rem 40px;
    }
}

@media (max-width: 768px) {
    .partners-title {
        font-size: 32px;
    }
    .partners-subtitle {
        font-size: 16px;
    }
    .partner-logo-container {
        width: 160px;
        height: 100px;
    }
}

/*--------------------------------------------------------------
# Security Section
--------------------------------------------------------------*/
.about-security-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;
}

.security-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
    max-width: 1280px;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    margin: 0 auto;
}

.security-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    max-width: 661px;
    flex: 1;
}

.security-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #0A1837;
    margin: 0;
}

.security-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.4;
    color: #4A5565;
    margin: 0;
}

.security-image-content {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.security-badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.security-badge-image {
    max-width: 100%;
    max-height: 80px; /* Restrict height so they map well */
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 991px) {

    
    .security-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .security-text-content {
        align-items: center;
    }
    
    .security-image-content {
        justify-content: center;
        margin-top: 32px;
    }
}

@media (max-width: 768px) {

    .security-title {
        font-size: 32px;
    }
    
    .security-subtitle {
        font-size: 18px;
    }
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.fade-in-up {
    transform: translateY(40px);
}

.animate-on-scroll.fade-in-left {
    transform: translateX(40px);
}

.animate-on-scroll.fade-in-right {
    transform: translateX(-40px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}
