/* ==========================================================================
   AVR DABBA - About Us Stylesheet (aboutus.css)
   Professional Structured Editorial Layout
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
    --primary-navy: #0f172a;
    --primary-navy-light: #1e293b;
    --gold-accent: #d97706;
    --gold-dark: #b45309;
    --spice-red: #be123c;
    --bg-page: #797965;
    --bg-surface: #797965;
    --text-dark: #1e293b;
    --text-muted: #64748b;

    /* Professional typography scale */
    --heading-main: 2.7rem;
    --heading-section: 1.85rem;
    --heading-card: 1.2rem;
    --heading-name: 1.2rem;
    --body-size: 1.05rem;

    /* Consistent content rhythm */
    --content-width: 1060px;
    --heading-gap: 24px;
    --section-gap: 58px;
}

/* Global scrollbar disable & hide rules */
html, body, div, section, main, article, aside, nav {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

h2, h3, h4, h5, h6,
.section-subheading,
.section-title,
.sub-page-heading,
.subheading,
.sub-title,
.leader-name,
.value-card-title,
.feature-title,
.milestone-title {
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

body {
    font-family: var(--font-body);
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   1. MAIN PAGE HEADING
   -------------------------------------------------------------------------- */

.main-page-heading {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto 42px auto;
    padding: 0 0 16px 0;

    font-family: var(--font-heading);
    font-size: var(--heading-main);
    font-weight: 800;
    color: var(--primary-navy);

    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.1;

    border-bottom: 1px solid rgba(15, 23, 42, 0.16);
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   2. PROFESSIONAL STORY SECTION & TEXT WRAPPING
   -------------------------------------------------------------------------- */

.newspaper-section {
    padding: 60px 0 80px 0;
    background-color: var(--bg-page);
}

.newspaper-article-container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
}

/*
   Section heading:
   The left edge, baseline rhythm and bottom spacing remain consistent
   with the other section headings on the page.
*/
.newspaper-article h2 {
    margin: 0 0 var(--heading-gap) 0;
    padding: 0 0 12px 0;

    font-family: var(--font-heading);
    font-size: var(--heading-section);
    font-weight: 800;
    color: var(--primary-navy);

    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    line-height: 1.2;

    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

/* Short professional accent without changing the heading alignment */
.newspaper-article h2::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    background: var(--gold-accent);
    margin-top: 11px;
}

.newspaper-article {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.8;
    font-size: var(--body-size);
    text-align: justify;
}

/* Keep all paragraphs visually parallel and readable */
.newspaper-article p {
    width: 100%;
    max-width: 100%;
    margin: 0;
    line-height: 1.8;
    color: #1A1A17;
    text-align: justify;
}

/* Consistent first-line emphasis */
.avr-large-inline {
    font-family: var(--font-heading);
    font-size: 1.65em;
    font-weight: 800;
    color: var(--primary-navy);
    display: inline;
    white-space: nowrap;
    line-height: 1;
    vertical-align: baseline;
    margin-right: 2px;
}

/* --------------------------------------------------------------------------
   3. FLOATING IMAGE BOX
   -------------------------------------------------------------------------- */

.float-box-left {
    float: left;
    width: 210px;
    max-width: 32%;
    margin: 4px 28px 15px 0;
    text-align: center;
}

.float-box-right {
    float: right;
    width: 210px;
    max-width: 32%;
    margin: 4px 0 15px 28px;
    text-align: center;
}

.borderless-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
    border-radius: 0;
    border: none;
    box-shadow: none;
    transition: none;
}

.borderless-img-wrap:hover {
    transform: none;
    box-shadow: none;
}

.borderless-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.img-caption-text {
    margin-top: 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.2px;
}

/* --------------------------------------------------------------------------
   4. ARTICLE SIGNATURE
   -------------------------------------------------------------------------- */

.article-signature {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid rgba(15, 23, 42, 0.12);
    text-align: right;
    clear: both;
}

.signature-brand {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-navy);
    letter-spacing: 0.5px;
}

.signature-tagline {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--gold-dark);
    font-size: 0.95rem;
    margin-top: 3px;
    font-weight: 500;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* --------------------------------------------------------------------------
   5. LEGAL VERIFICATION CARD
   -------------------------------------------------------------------------- */

.legal-verification-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
    padding: 28px 32px;
    background: #04221D;
    border: 2px solid #bbf7d0;
    border-left: 6px solid #16a34a;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.08);
}

.legal-content-left {
    flex: 1;
}

/* Clear card heading hierarchy */
.legal-title {
    margin: 0 0 10px 0;
    padding: 0;

    font-family: var(--font-heading);
    font-size: var(--heading-card);
    font-weight: 800;
    color: green;

    display: flex;
    align-items: center;
    gap: 10px;

    text-align: left;
    letter-spacing: 0.25px;
    line-height: 1.35;
}

.legal-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: white;
    margin: 0;
}

.legal-badge-right {
    flex-shrink: 0;
}

.verified-seal {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #15803d, #16a34a);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.3);
    border: 3px dashed #86efac;
}

.seal-icon {
    font-size: 2rem;
    color: #fef08a;
    margin-bottom: 4px;
}

.seal-text-top {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #dcfce7;
}

.seal-text-main {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #ffffff;
    line-height: 1.1;
}

.seal-text-sub {
    font-size: 0.58rem;
    font-weight: 700;
    color: #dcfce7;
    margin-top: 2px;
}

.avr-bold-badge {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3em;
    color: var(--primary-navy);
    letter-spacing: 1px;
    display: inline-block;
    padding: 0 3px;
    border-bottom: 2px solid #16a34a;
}

/* --------------------------------------------------------------------------
   6. TRUST PROTOCOL CARD
   -------------------------------------------------------------------------- */

.trust-protocol-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 24px;
    padding: 28px 32px;
    background: var(--primary-navy);
    color: #ffffff;
    border: 2px solid var(--primary-navy-light);
    border-left: 6px solid var(--gold-accent);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
}

.trust-protocol-card .legal-title {
    color: #ffffff;
}

.trust-protocol-card .legal-text {
    color: #cbd5e1;
}

.trust-seal-navy {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    border: 3px dashed var(--gold-accent);
}
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    border: 3px dashed #d97706;
}

.seal-icon-gold {
    font-size: 2rem;
    color: #f59e0b;
    margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   7. FOUNDERS SECTION
   -------------------------------------------------------------------------- */

.founders-section {
    padding: 80px 0;
    background-color: var(--bg-surface);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.section-newspaper-heading {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto 46px auto;
    text-align: left;
}

/* Same heading family and left alignment as the story heading */
.founders-side-heading {
    margin: 0;
    padding: 0 0 12px 0;

    font-family: var(--font-heading);
    font-size: var(--heading-section);
    font-weight: 800;
    color: var(--primary-navy);

    display: inline-flex;
    align-items: center;
    position: relative;

    border: none;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 0.45px;
    line-height: 1.2;
}

/* Same accent treatment, same dimensions */
.founders-side-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 3px;
    background: var(--gold-accent);
}

.founders-side-heading i {
    font-size: 0.8em;
    color: var(--gold-dark) !important;
}

/* --------------------------------------------------------------------------
   8. FOUNDER PROFILE HEADINGS
   -------------------------------------------------------------------------- */

.founder-block {
    margin-bottom: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
}

.founder-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Founder names are deliberately consistent across all three profiles */
.founder-name-tag {
    margin-top: 12px;

    font-family: var(--font-heading);
    font-size: var(--heading-name);
    font-weight: 700;
    color: var(--primary-navy);

    text-align: center;
    letter-spacing: 0.15px;
    line-height: 1.25;
}

/* Secondary heading / designation */
.founder-role-tag {
    margin-top: 5px;

    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    color: #FAC75A;

    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.25px;
    line-height: 1.35;
}

/* --------------------------------------------------------------------------
   9. RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {

    .main-page-heading {
        font-size: 2.25rem;
        letter-spacing: 0.4px;
        margin-bottom: 34px;
        padding-bottom: 13px;
    }

    .newspaper-article h2 {
        font-size: 1.65rem;
        margin-bottom: 22px;
        padding-bottom: 10px;
    }

    .float-box-left,
    .float-box-right {
        float: none;
        width: 180px;
        max-width: 100%;
        margin: 0 auto 16px auto;
    }

    .founders-title {
        font-size: 2rem;
    }

    .founders-side-heading {
        font-size: 1.65rem;
        letter-spacing: 0.2px;
        padding-bottom: 10px;
    }

    .founder-name-tag {
        font-size: 1.12rem;
    }

    .newspaper-article p {
        text-align: left;
    }

    .legal-title {
        font-size: 1.12rem;
    }
}

@media (max-width: 480px) {

    .main-page-heading {
        font-size: 1.95rem;
    }

    .newspaper-article h2 {
        font-size: 1.45rem;
    }

    .founders-side-heading {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .newspaper-article,
    .newspaper-article p {
        text-align: left;
        overflow-wrap: anywhere;
    }

    .founder-block {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .founder-block .float-box-left,
    .founder-block .float-box-right {
        float: none;
        position: static;
        width: min(180px, 100%);
        max-width: 100%;
        margin: 0 auto;
    }

    .newspaper-section .borderless-img-wrap img {
        object-fit: contain;
    }

    .founder-block .newspaper-article {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .newspaper-article h2 {
        height: auto;
        min-height: 0;
        overflow-wrap: anywhere;
    }

    .newspaper-section,
    .founders-section {
        overflow-x: clip;
    }
}
