/* ============================================================
   BATCH 2: Typography + Text Effects + Scroll Reveal
   ============================================================ */

/* --- Premium Typography System --- */
:root {
    --mnx-font-body: "Plus Jakarta Sans", sans-serif;
    --mnx-font-display: "Plus Jakarta Sans", sans-serif;
    --mnx-text-body: #445464;
    --mnx-text-heading: #112033;
    --mnx-text-muted: #6a7a8c;
}

html,
body,
button,
input,
select,
textarea,
.nav-links li a,
.btn,
.form-control,
.form-select,
.tooltip,
.popover {
    font-family: var(--mnx-font-body) !important;
}

body {
    color: var(--mnx-text-body);
    line-height: 1.72;
    letter-spacing: -0.01em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--mnx-font-display) !important;
    letter-spacing: -0.028em;
    color: var(--mnx-text-heading);
    line-height: 1.08;
    font-weight: 700 !important;
    text-wrap: balance;
}

p {
    color: var(--mnx-text-body);
    line-height: 1.78;
    font-size: 1.03rem;
}

.text-muted {
    color: var(--mnx-text-muted) !important;
}

.nav-links li a {
    font-size: 0.97rem;
    font-weight: 500 !important;
    letter-spacing: -0.01em;
}

/* ============================================================
   HERO SECTION — REINFORCEMENT OVERRIDES
   Primary fix is in style.css directly.
   These rules reinforce in case any other CSS interferes.
   ============================================================ */

.hero-header #header-container .col-lg-12 {
    align-items: center !important;
    text-align: center !important;
}

#header-container {
    margin-left: auto !important;
    margin-right: auto !important;
}

#header-text {
    font-family: var(--mnx-font-display) !important;
    font-weight: 700 !important;
    font-size: clamp(3rem, 3.3vw + 1.5rem, 6rem);
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-align: center !important;
    width: 70% !important;
    max-width: 70% !important;
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    white-space: normal !important;
    text-wrap: balance;
    text-shadow: 0 10px 30px rgba(7, 16, 33, 0.24);
}

#subtext,
.newsletter-text p,
.newsletter-text label,
.newsletter-text input,
.newsletter-text textarea {
    font-family: var(--mnx-font-body) !important;
}

#subtext {
    width: 70% !important;
    max-width: 70% !important;
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    white-space: normal !important;
    font-size: clamp(1.47rem, 1.05vw + 1.125rem, 2.025rem);
    line-height: 1.6;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 8px 24px rgba(7, 16, 33, 0.18);
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */

#About-us h1,
#What-We-Do h1,
#Our-Approach-container h1,
.feature h1,
#Our-Partners h1,
#Contact-us h1,
.container-fluid.bg-light.py-5 .mx-auto.text-center h1 {
    font-size: clamp(2.35rem, 3vw + 1rem, 4.35rem);
    margin-bottom: 1.15rem !important;
}

#About-us p,
#What-We-Do p,
#Our-Approach-container p,
.newsletter-text p,
.feature p {
    max-width: 62ch;
}

.feature h2 {
    font-family: var(--mnx-font-body) !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em;
}

/* --- Section labels / pills get tighter typography --- */
.btn.btn-sm.rounded-pill,
.btn.btn-sm.border.rounded-pill {
    font-family: var(--mnx-font-body) !important;
    letter-spacing: 0.04em;
    font-weight: 600 !important;
}

/* ============================================================
   OUR APPROACH — STEALTH BADGE FIX
   ============================================================ */

#Our-Approach-container .sweep-btn-c {
    width: auto !important;
    height: auto !important;
    padding: 0.55rem 1.25rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.55rem !important;
    margin: 0 auto 1.1rem auto !important;
    border-radius: 50rem !important;
    background-color: #14183e !important;
}

#Our-Approach-container #Sweep-btn {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background: none !important;
    -webkit-text-fill-color: white !important;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
    line-height: 1;
}

#Our-Approach-container #hide-icon {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    flex-shrink: 0;
    display: block;
}

/* ============================================================
   OUR APPROACH — REMOVE EXTRA INNER PADDING
   
   batch1.css sets outer padding-top: 60px on the section.
   The inner .container has Bootstrap py-5 (3rem top/bottom).
   The .row has inline style="padding: 47px 0".
   Zero out the inner padding so content is vertically centered
   within the outer 60px section padding.
   ============================================================ */

#Our-Approach-container .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#Our-Approach-container .row {
    padding: 0 !important;
}

#Our-Approach-container p {
    max-width: 72ch;
    font-size: 1.14rem;
    line-height: 1.84;
}

/* ============================================================
   COMING SOON — HEADING + CARD FIX
   
   Cards are too tall. Constrain the .case-item container height.
   Use object-fit: contain so images scale down without cropping.
   Images remain fully visible and vertically centered.
   ============================================================ */

.container-fluid.bg-light.py-5 .mx-auto.text-center {
    max-width: 1040px !important;
}

.coming-soon-title {
    font-size: clamp(1.8rem, 1.5vw + 1.15rem, 3rem) !important;
    line-height: 1.08;
}

.coming-soon-title span {
    display: block;
}

@media (min-width: 992px) {
    .coming-soon-title span:nth-child(2),
    .coming-soon-title span:nth-child(3) {
        white-space: nowrap;
    }
}

/* External card container — constrain height */
.case-item {
    height: 260px !important;
    max-height: 260px !important;
    overflow: hidden !important;
    border-radius: 8px;
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    outline: none !important;
}

/* Internal image — fill container completely, no gaps */
.case-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
}

/* Hover overlay — vertically centered */
.case-item .case-overlay,
.case-item > div:not(:first-child) {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ============================================================
   OUR PARTNERS — CENTER TITLE + VERTICALLY CENTER CONTENT
   ============================================================ */

#Our-Partners h1 {
    text-align: center !important;
    width: 100%;
}

#Our-Partners .col-lg-12 {
    text-align: center !important;
}

#Our-Partners .row {
    justify-content: center !important;
    align-items: center !important;
}

/* Zero out inner padding for Our Partners (same as Our Approach) */
#Our-Partners .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#Our-Partners > .container > .row {
    padding: 0 !important;
}

/* ============================================================
   COMING SOON CARDS — REDUCE OVERLAY OPACITY
   ============================================================ */

.case-item .case-overlay {
    background: linear-gradient(
        to bottom,
        rgba(20, 24, 62, 0) 0%,
        rgba(20, 24, 62, 0.35) 100%
    ) !important;
    background-color: rgba(0, 0, 0, 0.18) !important;
}

/* ============================================================
   CONTACT SECTION — FULL VIEWPORT HEIGHT (minus navbar)
   Same approach as batch1: outer section = min-height only,
   inner .container = flex centering
   ============================================================ */

#Contact-us {
    min-height: calc(100vh - 86px) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#Contact-us > .container {
    min-height: calc(100vh - 86px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* ============================================================
   FOOTER — REMOVE BOTTOM WHITE SPACE
   ============================================================ */

.footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
