/* =========================
   ROOT VARIABLES
========================= */
:root {
    --primary-blue: #0b2447;
    --action-red: #d71313;
    --accent-yellow: #e67e22;
    --bg-main: #ffffff;
    --bg-light: #f9fafb;
    --text-primary: #111827;
    --text-secondary: #64748b;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
    --site-padding-x: 50px;
    --content-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    background: var(--bg-main);
}

.about-section {
    width: 100%;
    overflow-x: hidden;
}

.content-container {
    max-width: var(--content-width);
    margin: 0 auto;
    width: 100%;
}

/* =========================
   ORIGIN SECTION (Why BHP Exists)
========================= */
.origin-section {
    padding: 40px var(--site-padding-x);
    background: var(--bg-main);
    max-width: 100%;
    width: 100%;
}

.origin-collapsible-wrapper {
    max-width: var(--content-width);
    margin: 0 auto;
    background: white;
    box-shadow: var(--shadow-lg);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.origin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 40px;
    cursor: pointer;
    background: white;
    transition: background 0.2s ease;
    user-select: none;
    width: 100%;
}

.origin-header:hover {
    background: #fefaf5;
}

.origin-header h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

.toggle-icon {
    font-size: 1.6rem;
    color: var(--action-red);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.toggle-icon i {
    transition: transform 0.3s ease;
}

.origin-collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.33, 1, 0.68, 1);
    padding: 0 40px;
}

.origin-collapsible-content.expanded {
    max-height: 2000px;
    padding: 0 40px 40px 40px;
}

.origin-merged {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
    width: 100%;
}

.origin-text-block {
    flex: 1.5;
    min-width: 0;
}

.origin-text-block h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.origin-lead {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.6;
}

.origin-text-block p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 1rem;
}

.origin-quote {
    margin-top: 24px;
    padding-left: 24px;
    border-left: 4px solid var(--action-red);
    font-style: italic;
    font-weight: 500;
    color: var(--primary-blue);
    line-height: 1.6;
    font-size: 1.05rem;
}

.origin-visual-card {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 240px;
}

.abstract-badge {
    background: #f1f5fc;
    border: 2px solid var(--action-red);
    border-radius: 36px;
    width: 260px;
    height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease;
}

.abstract-badge:hover {
    transform: scale(1.02);
}

.abstract-badge i {
    font-size: 70px;
    color: var(--action-red);
    margin-bottom: 16px;
}

.abstract-badge span {
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--action-red);
    text-transform: uppercase;
}

/* =========================
   GUIDING PRINCIPLES (Parallax)
========================= */
.values-parallax {
    position: relative;
    padding: 80px var(--site-padding-x);
    background: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80") center/cover fixed no-repeat;
    isolation: isolate;
}

.values-parallax::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 28, 51, 0.88);
    z-index: 0;
}

.values-inner {
    position: relative;
    z-index: 2;
    max-width: var(--content-width);
    margin: 0 auto;
}

.values-parallax h2 {
    text-align: center;
    color: white;
    font-size: 2.6rem;
    margin-bottom: 55px;
    font-weight: 700;
}

.values-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.value-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 32px 28px;
    border-radius: 28px;
    color: white;
    transition: all 0.25s;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.value-card h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255,255,245,0.92);
}

/* =========================
   VISION SECTION
========================= */
.vision-future {
    padding: 80px 50px;
    background: #ffffff;
    color: #1e293b;
}

.vision-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.vision-header {
    text-align: center;
    margin-bottom: 60px;
}

.vision-header h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-blue);
}

.vision-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    max-width: 900px;
    margin: 0 auto;
}

.vision-roadmap {
    position: relative;
    margin: 60px 0 70px;
    padding-left: 30px;
}

.roadmap-item {
    position: relative;
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.roadmap-marker {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: #f8fafc;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.roadmap-item:hover .roadmap-marker {
    transform: scale(1.1);
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.roadmap-content {
    flex: 1;
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 32px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.roadmap-content:hover {
    transform: translateX(8px);
    border-color: rgba(230,126,34,0.35);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.roadmap-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--primary-blue);
}

.roadmap-content h3 span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--action-red);
    margin-left: 12px;
}

.roadmap-content p {
    font-size: 1rem;
    line-height: 1.65;
    color: #475569;
}

.vision-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin: 50px 0 48px;
}

.pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 28px 22px;
    border-radius: 28px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: var(--action-red);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.pillar-card i {
    font-size: 2.2rem;
    color: var(--action-red);
    margin-bottom: 16px;
}

.pillar-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.pillar-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
}

.vision-quote {
    margin: 48px 0 40px;
    padding: 32px 40px;
    background: rgba(230,126,34,0.08);
    border-radius: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.vision-quote i {
    font-size: 2rem;
    color: var(--action-red);
    opacity: 0.8;
    flex-shrink: 0;
}

.vision-quote p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    color: #334155;
    margin: 0;
}

/* =========================
   TEAM SECTION - REFACTORED
========================= */
.team-section {
    padding: 50px var(--site-padding-x) 60px;
    background: var(--bg-light);
    overflow: visible;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 55px;
    color: var(--primary-blue);
    font-size: 2.5rem;
}

.team-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: var(--content-width);
    margin: 0 auto;
}

.team-card {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-start;
    gap: 2.8rem;
    padding: 2.5rem;
    width: 100%;
    max-width: var(--content-width);
}

.team-img {
    flex: 0 0 180px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.team-img img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    border: 4px solid rgba(230, 126, 34, 0.25);
    flex-shrink: 0;
}

.team-info {
    flex: 1;
    min-width: 0;
}

.team-info h3 {
    font-size: 2.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

.team-role {
    font-weight: 600;
    color: var(--accent-yellow);
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.team-info p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.team-info p:last-of-type {
    margin-bottom: 0;
}

.team-quote {
    margin-top: 1.2rem;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-left: 4px solid var(--action-red);
    border-radius: 8px;
    font-style: italic;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.team-quote span {
    display: block;
    margin-top: 0.4rem;
    font-style: normal;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Team Contact */
.team-contact{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    margin:1rem 0 1.5rem;
}

.team-contact-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 14px;
    border:1px solid #e5e7eb;
    border-radius:50px;
    text-decoration:none;
    color:var(--primary-blue);
    font-weight:600;
    font-size:.95rem;
    transition:.25s ease;
    background:#fff;
}

.team-contact-link:hover{
    background:var(--primary-blue);
    color:#fff;
    border-color:var(--primary-blue);
}

.team-contact-link i{
    font-size:1rem;
}

@media (max-width:768px){

    .team-contact{
        justify-content:center;
    }

}

/* =========================
   RESPONSIVE DESIGN - MERGED & ORGANIZED
========================= */

/* Tablet & Medium Screens (up to 1024px) */
@media (max-width: 1024px) {
    :root {
        --site-padding-x: 30px;
    }

    .origin-header h3 {
        font-size: 1.8rem;
    }
}

/* Tablet (768px - 1024px) */
@media (max-width: 900px) {
    .hero-section,
    .team-section {
        padding-left: 30px;
        padding-right: 30px;
    }

    .values-parallax {
        padding: 60px 30px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile & Small Tablet (up to 768px) */
@media (max-width: 768px) {
    :root {
        --site-padding-x: 20px;
    }

    /* Origin Section */
    .origin-section {
        padding: 20px 16px;
    }

    .origin-header {
        padding: 20px 20px;
    }

    .origin-header h3 {
        font-size: 1.4rem;
        line-height: 1.3;
        padding-right: 12px;
    }

    .toggle-icon {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .origin-collapsible-content.expanded {
        padding: 0 20px 24px 20px;
    }

    .origin-merged {
        flex-direction: column;
        gap: 28px;
    }

    .origin-text-block {
        width: 100%;
    }

    .origin-text-block h3 {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }

    .origin-lead {
        font-size: 1rem;
        line-height: 1.5;
    }

    .origin-text-block p {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 14px;
    }

    .origin-quote {
        text-align: left;
        border-left: 4px solid var(--action-red);
        border-top: none;
        padding-left: 20px;
        padding-top: 0;
        margin-top: 20px;
        font-size: 0.95rem;
    }

    .origin-visual-card {
        width: 100%;
        min-width: auto;
    }

    .abstract-badge {
        width: 200px;
        height: 200px;
    }

    .abstract-badge i {
        font-size: 48px;
        margin-bottom: 12px;
    }

    .abstract-badge span {
        font-size: 13px;
        letter-spacing: 1.5px;
    }

    /* Values Section */
    .values-parallax {
        padding: 50px 20px;
    }

    .values-parallax h2 {
        font-size: 2rem;
    }

    .values-grid-compact {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Vision Section */
    .vision-future {
        padding: 60px 24px;
    }

    .vision-header h2 {
        font-size: 2rem;
    }

    .vision-lead {
        font-size: 1rem;
    }

    .vision-roadmap {
        padding-left: 0;
    }

    .roadmap-item {
        flex-direction: column;
        gap: 16px;
    }

    .roadmap-marker {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }

    .roadmap-content {
        padding: 20px;
    }

    .roadmap-content h3 {
        font-size: 1.3rem;
    }

    .vision-pillars {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .vision-quote {
        flex-direction: column;
        padding: 24px;
    }

    /* Hero Section */
    .hero-section {
        padding-top: 100px;
        padding-bottom: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-left {
        text-align: left;
    }

    .hero-left h2 {
        font-size: 2rem;
        text-align: left;
    }

    .hero-left p {
        font-size: 0.95rem;
        text-align: left;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-stats div {
        padding: 8px 18px;
        font-size: 0.7rem;
    }

    .stat-number {
        font-size: 1.9rem;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        text-align: center;
    }

    /* Team Section - Mobile */
    .team-section {
        padding: 40px 20px 50px;
    }

    .team-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .team-grid {
        gap: 30px;
    }

    .team-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.8rem;
        gap: 1.5rem;
    }

    .team-img {
        flex: 0 0 auto;
    }

    .team-img img {
        width: 160px;
        height: 160px;
    }

    .team-info {
        text-align: center;
    }

    .team-info h3 {
        font-size: 1.8rem;
    }

    .team-quote {
        text-align: left;
    }

    /* Benefits */
    .benefits-showcase {
        gap: 32px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 32px;
    }

    .benefit-icon {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .feature-card i {
        font-size: 1.8rem;
    }

    .feature-card h4 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    /* Origin Section */
    .origin-section {
        padding: 15px 12px;
    }

    .origin-header {
        padding: 16px 16px;
    }

    .origin-header h3 {
        font-size: 1.2rem;
    }

    .toggle-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .origin-collapsible-content.expanded {
        padding: 0 16px 20px 16px;
    }

    .origin-text-block h3 {
        font-size: 1.4rem;
    }

    .origin-lead {
        font-size: 0.95rem;
    }

    .origin-text-block p {
        font-size: 0.88rem;
        line-height: 1.6;
    }

    .origin-quote {
        padding-left: 16px;
        font-size: 0.9rem;
    }

    .abstract-badge {
        width: 170px;
        height: 170px;
    }

    .abstract-badge i {
        font-size: 40px;
    }

    .abstract-badge span {
        font-size: 11px;
    }

    /* Hero Section */
    .hero-section,
    .team-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-section {
        padding-top: 80px;
        padding-bottom: 30px;
    }

    .hero-left h2 {
        font-size: 1.8rem;
        margin-bottom: 18px;
    }

    .hero-left p {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .hero-stats {
        gap: 10px;
    }

    /* Values Section */
    .values-parallax {
        padding: 40px 16px;
    }

    .feature-card,
    .value-card {
        padding: 24px 18px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* Vision Section */
    .vision-future {
        padding: 40px 16px;
    }

    .vision-header h2 {
        font-size: 1.6rem;
    }

    .roadmap-content h3 span {
        display: block;
        margin-left: 0;
        margin-top: 6px;
    }

    .pillar-card {
        padding: 20px 16px;
    }

    /* Team Section - Small Mobile */
    .team-section h2 {
        font-size: 1.9rem;
    }

    .team-card {
        padding: 1.2rem;
        gap: 1.2rem;
    }

    .team-img img {
        width: 130px;
        height: 130px;
    }

    .team-info h3 {
        font-size: 1.6rem;
    }

    .team-info p {
        margin-bottom: 0.9rem;
        font-size: 0.92rem;
    }

    .team-role {
        font-size: 0.9rem;
    }

    .team-quote {
        font-size: 0.85rem;
        padding: 0.8rem 1rem;
    }

    /* Benefits */
    .benefits-showcase {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .feature-card i {
        font-size: 1.8rem;
    }

    .feature-card h4 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }
}

/* Extra Small Devices (below 360px) */
@media (max-width: 360px) {
    .origin-header h3 {
        font-size: 1rem;
    }

    .origin-text-block h3 {
        font-size: 1.3rem;
    }

    .abstract-badge {
        width: 150px;
        height: 150px;
    }

    .abstract-badge i {
        font-size: 35px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .team-img img {
        width: 110px;
        height: 110px;
    }

    .team-info h3 {
        font-size: 1.4rem;
    }
}