/* About Page Styling */
.page-header {
    background-color: var(--nexus-black);
}

/* Typography Overrides based on exact reference */
.about-main-heading {
    color: var(--nexus-orange) !important;
    text-transform: none !important;
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.about-intro-section {
    background-color: var(--nexus-white);
}

.custom-gx {
    --bs-gutter-x: 3rem;
    /* Increase space between text and image columns */
}

.about-content p,
.about-content-bottom p {
    margin-bottom: 20px;
    color: #000 !important;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.about-principles {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.about-principles li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #000 !important;
    font-weight: 600;
    line-height: 1.5;
}

.about-principles li::before {
    content: "-";
    position: absolute;
    left: 0;
    top: 0;
}

/* Image box fills column height exactly — no extra space below image */
.about-image-box {
    background-color: #999999;
    min-height: 280px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
}

/* Vision & Mission Section */
.vision-mission-section {
    background-color: var(--nexus-black);
    color: var(--nexus-white);
}

.vm-block {
    padding-top: var(--heading-margin-bottom);
    padding-bottom: var(--heading-margin-bottom);
}

.vm-heading {
    color: var(--nexus-orange) !important;
    text-transform: none !important;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.vm-text {
    color: var(--nexus-white);
    margin-bottom: 0;
    line-height: 1.6;
}

.vm-divider {
    border-top: 4px solid var(--nexus-white);
    opacity: 1;
    /* Make standard bootstrap HR solid and visible */
}

/* Prevent uppercase cascade */
.vm-text,
.about-content,
.about-content-bottom {
    text-transform: none !important;
}

/* Bold mapping */
.about-content strong {
    font-weight: 700;
}

@media (max-width: 768px) {
    .about-image-box {
        margin-top: 30px;
        min-height: 250px;
        height: auto !important;
        position: relative;
        display: block;
        /* Removing flex centering to avoid any flex stacking issues */
        padding: 20px;
    }

    .about-image-box span {
        display: block;
        text-align: center;
        padding-top: 100px;
        /* Mock centering since display is block */
    }

    /* Ensure the column wrapping the image box clears float/flex properties properly */
    .about-content-bottom {
        margin-top: 20px;
        clear: both;
    }
}

/* New Sections Styling */
.section-heading-orange {
    color: var(--nexus-orange);
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 20px;
}

/* Our Approach */
.approach-section {
    background-color: var(--nexus-white);
}

.approach-content p {
    font-size: 1rem;
    color: #000 !important;
    font-weight: 600;
    /* Sharp but not bold */
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.methodology-list li {
    padding-left: 0;
    margin-bottom: 16px;
    font-size: 1rem;
    color: #000 !important;
    font-weight: 600;
    /* Sharp but not bold */
    line-height: 1.5;
}

.specialization-text {
    font-size: 1.2rem !important;
    color: #000;
    /* True black for maximum darkness */
    font-weight: 500 !important;
    /* Ultra-bold to make it 'bold only' in this section */
    margin-top: 20px;
}

/* About the Founder */
.founder-section {
    background-color: #f9f9f9;
    /* Subtle light background to pop the card */
}

.founder-card {
    background-color: var(--nexus-white);
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.founder-intro {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #000 !important;
    line-height: 1.4;
}

.founder-main-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.founder-image-container {
    flex-shrink: 0;
}

.founder-image-oval {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    /* Making it a circle as per reference */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #666;
    font-weight: 600;
    font-size: 0.8rem;
}

.founder-bio-text p,
.founder-extended-bio p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 18px;
    color: #111 !important;
    font-weight: 600;
    text-align: justify;
    letter-spacing: -0.01em;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .founder-main-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .founder-image-oval {
        width: 200px;
        height: 200px;
        margin-bottom: 20px;
    }

    .founder-bio-text p,
    .founder-extended-bio p {
        text-align: center;
    }

    .founder-card {
        padding: 30px 20px;
    }

    .about-main-heading,
    .vm-heading,
    .section-heading-orange {
        text-align: center !important;
    }
}