@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #4e2f20;
    --muted: #755f54;
    --teal: #8f4c27;
    --teal-dark: #573220;
    --pale: #fbf7f4;
    --line: #ede3dc;
    --paper: #fff;
    --night: #2e170d;
    --shadow: 0 18px 50px rgba(87, 50, 32, .08)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px
}

body {
    font-family: 'DM Sans', Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.65
}

h1,
h2,
h3,
h4,
.navbar-brand {
    font-family: Manrope, Arial, sans-serif;
    letter-spacing: -.035em
}

a {
    color: var(--teal-dark);
    text-decoration: none
}

a:hover {
    color: var(--ink)
}

.site-nav {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(220, 232, 237, .8)
}

.navbar {
    min-height: 92px
}

.navbar-brand {
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -.025em;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink)
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--ink);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -.08em
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: .93rem;
    color: #4e2f20 !important;
    padding: .7rem .85rem !important
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--teal-dark) !important
}

.btn-primary {
    --bs-btn-bg: var(--ink);
    --bs-btn-border-color: var(--ink);
    --bs-btn-hover-bg: var(--teal-dark);
    --bs-btn-hover-border-color: var(--teal-dark);
    --bs-btn-padding-y: .82rem;
    --bs-btn-padding-x: 1.2rem;
    --bs-btn-font-weight: 700;
    border-radius: 8px
}

.btn-outline-primary {
    --bs-btn-color: var(--ink);
    --bs-btn-border-color: #c8a898;
    --bs-btn-hover-bg: var(--ink);
    --bs-btn-hover-border-color: var(--ink);
    --bs-btn-hover-color: white;
    --bs-btn-padding-y: .82rem;
    --bs-btn-padding-x: 1.2rem;
    --bs-btn-font-weight: 700;
    border-radius: 8px
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .73rem;
    font-weight: 800;
    color: var(--teal-dark)
}

.hero {
    background: linear-gradient(100deg, #fbf7f4 0%, #fbf7f4 48%, rgba(251, 247, 244, .2) 68%), url('../../images/banner1.jpg') center/cover no-repeat;
    min-height: 530px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden
}

.hero:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(251, 247, 244, .98) 0%, rgba(251, 247, 244, .91) 38%, rgba(251, 247, 244, .1) 74%, rgba(251, 247, 244, 0) 100%);
    pointer-events: none
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    padding-top: 30px;
    padding-bottom: 30px
}

.hero h1 {
    font-size: clamp(2.6rem, 5.3vw, 4.6rem);
    font-weight: 800;
    line-height: 1.06;
    max-width: 650px;
    margin: 20px 0
}

.hero p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 530px
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
    color: var(--muted);
    font-size: .88rem
}

.hero-note span {
    height: 1px;
    width: 40px;
    background: var(--teal)
}

.section {
    padding: 88px 0
}

.section-soft {
    background: var(--pale)
}

.section-heading {
    max-width: 690px;
    margin-bottom: 38px
}

.section-heading h2 {
    font-size: clamp(2rem, 3.3vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 12px 0
}

.section-heading p {
    color: var(--muted);
    font-size: 1.04rem
}

.resource-card {
    height: 100%;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #d8c2b4
}

.resource-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #f7eee7;
    color: var(--teal);
    font-size: 1.25rem;
    margin-bottom: 22px
}

.resource-card h3 {
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -.02em
}

.resource-card p {
    color: var(--muted);
    font-size: .94rem;
    min-height: 48px
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: .9rem
}

.about-image {
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 16px
}

.about-copy h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.14;
    margin: 13px 0 18px
}

.about-copy p {
    color: var(--muted)
}

.stat-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 25px 0
}

.stat-item {
    padding: 12px 22px;
    border-right: 1px solid var(--line)
}

.stat-item:last-child {
    border: 0
}

.stat-item strong {
    display: block;
    font-family: Manrope, sans-serif;
    font-size: 1.2rem
}

.stat-item span {
    font-size: .85rem;
    color: var(--muted)
}

.updates-list {
    border-top: 1px solid var(--line)
}

.update-row {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    align-items: center
}

.update-row h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px;
    letter-spacing: -.01em
}

.update-row p {
    margin: 0;
    color: var(--muted);
    font-size: .88rem
}

.update-date {
    font-size: .8rem;
    color: var(--muted);
    white-space: nowrap
}

.cta-band {
    background: var(--night);
    color: #fff;
    border-radius: 18px;
    padding: 40px
}

.cta-band p {
    color: #dfd0c7;
    margin-bottom: 0
}

.cta-band h2 {
    font-weight: 800
}

.page-hero {
    background: linear-gradient(90deg, rgba(46, 23, 13, .86), rgba(46, 23, 13, .43)), url('../../images/about-banner.jpg') center/cover no-repeat;
    padding: 88px 0;
    color: #fff
}

.page-hero h1 {
    font-weight: 800;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    margin: 10px 0
}

.page-hero p {
    max-width: 660px;
    color: #f2e9e2
}

.breadcrumb {
    font-size: .85rem
}

.breadcrumb-item a {
    color: var(--teal-dark)
}

.breadcrumb-item.active {
    color: var(--muted)
}

.document-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px
}

.filter-btn {
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 9px 15px;
    background: white;
    color: var(--ink);
    font-weight: 700;
    font-size: .88rem
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--ink);
    color: white;
    border-color: var(--ink)
}

.document-list {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden
}

.document-item {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    background: white
}

.document-item:last-child {
    border-bottom: 0
}

.doc-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #fbf0e8;
    color: #8f4c27;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-weight: 800;
    font-size: .75rem
}

.doc-meta {
    flex: 1;
    min-width: 0
}

.doc-meta strong {
    display: block;
    font-size: .95rem;
    overflow-wrap: anywhere
}

.doc-meta span {
    font-size: .82rem;
    color: var(--muted)
}

.document-item .btn {
    white-space: nowrap
}

.form-control,
.form-select {
    padding: .8rem .9rem;
    border-color: var(--line);
    border-radius: 8px
}

.form-control:focus,
.form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 .2rem rgba(143, 76, 39, .15)
}

.contact-panel {
    background: var(--pale);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
    height: 100%
}

.contact-line {
    display: flex;
    gap: 13px;
    margin: 20px 0
}

.contact-line .resource-icon {
    margin: 0;
    flex-shrink: 0
}

.site-footer {
    background: var(--night);
    color: #e2d3c9;
    padding: 54px 0 20px
}

.site-footer h3 {
    font-size: .95rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0;
    margin-bottom: 17px
}

.site-footer p,
.site-footer a {
    color: #d5c2b5;
    font-size: .9rem
}

.site-footer a:hover {
    color: white
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-links li {
    margin: 8px 0
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
    margin-top: 38px;
    padding-top: 18px;
    color: #bfaea2;
    font-size: .82rem
}

.footer-brand {
    color: white;
    font-family: Manrope, sans-serif;
    font-weight: 800;
    font-size: 1.02rem
}

.mobile-quick {
    display: none
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s ease, transform .55s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: white;
    padding: 10px;
    z-index: 2000
}

.skip-link:focus {
    left: 10px
}

.form-status {
    font-size: .92rem;
    margin-top: 12px
}

.form-status.error {
    color: #b42318
}

.form-status.success {
    color: #067647
}

@media(max-width:991.98px) {
    .navbar {
        min-height: 72px
    }

    .navbar-collapse {
        padding: 10px 0 18px
    }

    .hero {
        min-height: 510px;
        background-position: 62% center
    }

    .hero:after {
        background: linear-gradient(90deg, rgba(251, 247, 244, .98), rgba(251, 247, 244, .88) 58%, rgba(251, 247, 244, .45))
    }

    .section {
        padding: 66px 0
    }

    .stat-item {
        border-right: 0;
        padding: 12px 6px
    }

    .about-image {
        height: 330px
    }

    .mobile-quick {
        display: block;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 10px 0
    }

    .mobile-quick a {
        font-size: .8rem;
        font-weight: 700
    }
}

@media(max-width:575.98px) {
    .navbar-brand {
        font-size: .86rem;
        gap: 8px
    }

    .brand-mark {
        width: 36px;
        height: 36px
    }

    .hero {
        min-height: 560px;
        background-position: 65% center
    }

    .hero:after {
        background: linear-gradient(90deg, rgba(251, 247, 244, .98), rgba(251, 247, 244, .9) 72%, rgba(251, 247, 244, .62))
    }

    .hero h1 {
        font-size: 2.55rem
    }

    .hero p {
        font-size: 1rem
    }

    .section {
        padding: 54px 0
    }

    .resource-card {
        padding: 22px
    }

    .about-image {
        height: 260px
    }

    .update-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px
    }

    .cta-band {
        padding: 28px
    }

    .document-item {
        padding: 14px;
        align-items: flex-start
    }

    .document-item .btn {
        padding: .45rem .65rem;
        font-size: .82rem
    }

    .doc-meta strong {
        font-size: .88rem
    }

    .page-hero {
        padding: 64px 0
    }

    .footer-bottom {
        line-height: 1.7
    }
}

.site-logo {
    height: 75px;
    width: auto;
    max-width: 460px;
    object-fit: contain;
    display: block
}

@media(max-width:991.98px) {
    .site-logo {
        height: 60px;
        max-width: 380px
    }
}

@media(max-width:575.98px) {
    .site-logo {
        height: 48px;
        max-width: 300px
    }
}

.hero-carousel-section {
    position: relative;
    height: calc(100vh - 92px - 44px);
    height: calc(100dvh - 92px - 44px);
    min-height: 520px;
    background: var(--night);
    overflow: hidden
}

.hero-carousel-section .carousel,
.hero-carousel-section .carousel-inner,
.hero-carousel-section .carousel-item {
    height: 100%
}

.hero-slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(46, 23, 13, 0.58) 0%, rgba(46, 23, 13, 0.36) 52%, rgba(46, 23, 13, 0.12) 100%);
    pointer-events: none
}

@media(max-width:991.98px) {
    .hero-carousel-section {
        height: auto;
        min-height: 500px
    }
    .hero-slide-bg::after {
        background: rgba(46, 23, 13, 0.55)
    }
}

.news-ticker-bar {
    height: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 10
}

@media(max-width:991.98px) {
    .news-ticker-bar {
        height: auto;
        min-height: 44px;
        padding: 6px 0
    }
}

.hero-overlay-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 5;
    pointer-events: none
}

.hero-overlay-wrapper .container {
    pointer-events: auto
}

.hero-carousel-section .hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
    padding: 30px 0;
    color: #fff
}

.hero-carousel-section .hero-content h1 {
    color: #ffffff;
    font-size: clamp(2.4rem, 4.8vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 18px 0;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.85)
}

.hero-carousel-section .hero-content p {
    color: #f0f6fa;
    font-size: 1.12rem;
    line-height: 1.65;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7)
}

.eyebrow-light {
    color: #f2b88b !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75)
}

.btn-hero-primary {
    background: var(--teal);
    border: 1.5px solid var(--teal);
    color: #ffffff !important;
    font-weight: 700;
    padding: .82rem 1.4rem;
    border-radius: 8px;
    transition: all .25s ease;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(143, 76, 39, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-primary:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(87, 50, 32, 0.45);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: #ffffff !important;
    font-weight: 700;
    padding: .82rem 1.4rem;
    border-radius: 8px;
    transition: all .25s ease;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}

.hero-carousel-section .carousel-indicators {
    z-index: 6;
    margin-bottom: 20px
}

.hero-carousel-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.6);
    border: 2px solid transparent;
    transition: all .3s ease
}

.hero-carousel-section .carousel-indicators button.active {
    background-color: #f2b88b;
    width: 28px;
    border-radius: 6px
}

.hero-carousel-section .carousel-control-prev,
.hero-carousel-section .carousel-control-next {
    width: 5%;
    z-index: 6
}

.about-image {
    box-shadow: 0 12px 32px rgba(87, 50, 32, .08);
    transition: transform .3s ease
}

.about-image:hover {
    transform: scale(1.01)
}

/* =========================================
   INCREASE HEADER AND FOOTER LOGO SIZE
   ========================================= */

/* Header logo */
.site-nav .site-logo {
    height: 90px;
    width: auto;
    max-width: 520px;
    max-height: none;
    object-fit: contain;
}

/* Give the header enough room for the larger logo */
.site-nav .navbar {
    min-height: 110px;
}

/* Footer logo */
.site-footer .site-logo {
    display: block;
    width: 100%;
    max-width: 350px;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: left top;
}

/* Tablet */
@media (max-width: 991.98px) {
    .site-nav .site-logo {
        height: 76px;
        max-width: 420px;
    }

    .site-nav .navbar {
        min-height: 90px;
    }

    .site-footer .site-logo {
        max-width: 320px;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .site-nav .site-logo {
        height: 58px;
        max-width: calc(100vw - 100px);
    }

    .site-nav .navbar {
        min-height: 76px;
    }

    .site-footer .site-logo {
        max-width: 280px;
    }
}
/* =========================================
   NIWAS SPINNING MILLS
   RESPONSIVE FIXES FOR ALL DEVICES
   Add this at the END of assets/css/style.css
   ========================================= */

/* Prevent horizontal overflow */
html {
    width: 100%;
    overflow-x: clip;
    scroll-padding-top: 100px;
}

body {
    width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
}

img,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

.container,
.container-fluid {
    min-width: 0;
}

.row {
    min-width: 0;
}

section,
main,
footer,
nav {
    max-width: 100%;
}

/* Header and logo */
.site-nav {
    z-index: 1030;
}

.site-nav .navbar {
    min-height: 100px;
}

.site-nav .container {
    flex-wrap: wrap;
}

.site-nav .navbar-brand {
    flex-shrink: 1;
    min-width: 0;
    margin-right: 12px;
}

.site-nav .site-logo {
    display: block;
    width: auto;
    height: 78px;
    max-width: min(460px, 48vw);
    object-fit: contain;
}

.navbar-toggler {
    flex-shrink: 0;
    padding: 8px 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(143, 76, 39, 0.2);
}

.navbar-collapse {
    min-width: 0;
}

.navbar-nav .nav-link {
    white-space: normal;
}

.navbar-nav .dropdown-menu {
    max-width: min(320px, 90vw);
}

.dropdown-item {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Hero carousel */
.hero-carousel-section {
    height: clamp(420px, 65vh, 720px);
    height: clamp(420px, 65dvh, 720px);
    min-height: 0;
    position: relative;
    overflow: hidden;
}

.hero-carousel-section .carousel,
.hero-carousel-section .carousel-inner,
.hero-carousel-section .carousel-item {
    height: 100%;
    min-height: 0;
}

.hero-slide-bg {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.hero-slide-bg::after {
    background: linear-gradient(
        90deg,
        rgba(46, 23, 13, 0.72) 0%,
        rgba(46, 23, 13, 0.48) 55%,
        rgba(46, 23, 13, 0.16) 100%
    );
}

.hero-overlay-wrapper {
    right: 0;
    left: 0;
    min-width: 0;
}

.hero-carousel-section .hero-content {
    width: 100%;
    max-width: 680px;
    padding: 32px 0;
}

.hero-carousel-section .hero-content h1 {
    max-width: 100%;
    font-size: clamp(2rem, 4.2vw, 4rem);
    line-height: 1.12;
    overflow-wrap: break-word;
    text-wrap: balance;
}

/* News ticker */
.news-ticker-bar {
    height: auto;
    min-height: 44px;
    padding: 10px 0;
}

.news-ticker-bar .container,
.news-ticker-bar .d-flex {
    min-width: 0;
}

.news-ticker-bar .d-flex {
    gap: 12px !important;
}

.news-ticker-bar .overflow-hidden {
    min-width: 0;
}

.news-ticker-bar marquee {
    max-width: 100%;
}

.news-ticker-bar a {
    display: inline-block;
    padding: 3px 0;
}

/* Main sections */
.section {
    padding-top: clamp(44px, 6vw, 88px);
    padding-bottom: clamp(44px, 6vw, 88px);
}

.section .row {
    --bs-gutter-y: 2rem;
}

.about-image {
    display: block;
    width: 100%;
    height: clamp(240px, 35vw, 390px);
    object-fit: cover;
    border-radius: 16px;
}

.about-copy {
    min-width: 0;
}

.about-copy h2,
.section-heading h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1.2;
    overflow-wrap: break-word;
}

.about-copy p,
.section-heading p {
    overflow-wrap: anywhere;
}

/* Contact call-to-action */
.cta-band {
    width: 100%;
    min-width: 0;
    padding: clamp(22px, 4vw, 40px);
    border-radius: 16px;
}

.cta-band > div {
    min-width: 0;
}

.cta-band h2 {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.25;
}

.cta-band .btn {
    flex-shrink: 0;
    align-self: flex-start;
}

/* Footer */
.site-footer {
    overflow-wrap: anywhere;
}

.site-footer .row > div {
    min-width: 0;
}

.site-footer .site-logo {
    display: block;
    width: 100%;
    height: auto;
    max-width: 320px;
    object-fit: contain;
    object-position: left top;
}

.site-footer .footer-links a {
    display: inline-block;
    line-height: 1.5;
}

.footer-bottom {
    flex-wrap: wrap;
    overflow-wrap: anywhere;
}

/* Other internal page components */
.document-list,
.document-item,
.doc-meta,
.contact-panel {
    min-width: 0;
}

.document-item {
    flex-wrap: wrap;
}

.document-item .btn {
    max-width: 100%;
}

.form-control,
.form-select,
button,
.btn {
    max-width: 100%;
}

a,
button {
    touch-action: manipulation;
}

/* Tablet and smaller laptops */
@media (max-width: 991.98px) {
    .site-nav .navbar {
        min-height: 84px;
    }

    .site-nav .site-logo {
        height: 66px;
        max-width: min(390px, 68vw);
    }

    .navbar-collapse {
        flex-basis: 100%;
        padding: 8px 0 14px;
    }

    .navbar-nav {
        align-items: stretch !important;
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding: 10px 4px !important;
    }

    .navbar-nav .dropdown-menu {
        width: 100%;
        max-width: none;
        border-radius: 8px;
    }

    .hero-carousel-section {
        height: clamp(420px, 62vh, 600px);
        height: clamp(420px, 62dvh, 600px);
    }

    .hero-carousel-section .hero-content {
        max-width: 600px;
    }

    .hero-carousel-section .hero-content h1 {
        font-size: clamp(2.1rem, 5.2vw, 3.3rem);
    }

    .about-image {
        height: 340px;
    }

    .site-footer .site-logo {
        max-width: 280px;
    }
}

/* Mobile phones */
@media (max-width: 575.98px) {
    html {
        scroll-padding-top: 80px;
    }

    .container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .site-nav .navbar {
        min-height: 72px;
    }

    .site-nav .navbar-brand {
        margin-right: 8px;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .site-nav .site-logo {
        height: 54px;
        max-width: calc(100vw - 105px);
    }

    .navbar-toggler {
        padding: 7px 9px;
    }

    .navbar-collapse {
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .navbar-nav .nav-link {
        font-size: 0.94rem;
    }

    /* Mobile hero */
    .hero-carousel-section {
        height: 480px;
        height: min(70dvh, 560px);
        min-height: 420px;
    }

    .hero-slide-bg {
        background-position: center center;
    }

    .hero-slide-bg::after {
        background: rgba(46, 23, 13, 0.53);
    }

    .hero-carousel-section .hero-overlay-wrapper .container {
        padding-right: 24px;
        padding-left: 24px;
    }

    .hero-carousel-section .hero-content {
        padding: 24px 0 40px;
    }

    .hero-carousel-section .hero-content h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
        line-height: 1.14;
        margin: 12px 0;
    }

    .hero-carousel-section .carousel-control-prev,
    .hero-carousel-section .carousel-control-next {
        width: 10%;
    }

    .hero-carousel-section .carousel-indicators {
        margin-bottom: 12px;
    }

    .hero-carousel-section .carousel-indicators button {
        width: 9px;
        height: 9px;
        margin: 0 4px;
    }

    .hero-carousel-section .carousel-indicators button.active {
        width: 23px;
    }

    /* News ticker stacks neatly */
    .news-ticker-bar {
        padding: 10px 0;
    }

    .news-ticker-bar .d-flex {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 4px !important;
    }

    .news-ticker-bar .fw-bold {
        font-size: 0.7rem;
    }

    .news-ticker-bar .overflow-hidden {
        width: 100%;
    }

    .news-ticker-bar marquee {
        font-size: 0.82rem;
    }

    /* Main content */
    .section {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .section.pt-0 {
        padding-top: 0;
    }

    .about-image {
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 12px;
    }

    .about-copy h2,
    .section-heading h2 {
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }

    .about-copy p {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    /* CTA */
    .cta-band {
        padding: 24px 20px;
        gap: 18px !important;
    }

    .cta-band h2 {
        font-size: 1.6rem;
    }

    .cta-band p {
        font-size: 0.92rem;
    }

    .cta-band .btn {
        align-self: flex-start;
    }

    /* Footer */
    .site-footer {
        padding: 38px 0 18px;
    }

    .site-footer .row {
        --bs-gutter-y: 1.75rem;
    }

    .site-footer .site-logo {
        max-width: min(260px, 100%);
        margin-bottom: 4px;
    }

    .site-footer h3 {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .site-footer p,
    .site-footer a {
        font-size: 0.84rem;
    }

    .footer-links li {
        margin: 9px 0;
    }

    .footer-bottom {
        margin-top: 26px;
        padding-top: 16px;
        font-size: 0.78rem;
    }

    /* Document lists on other pages */
    .document-item {
        gap: 10px;
    }

    .document-item .btn {
        white-space: normal;
    }

    .contact-panel {
        padding: 20px;
    }
}

/* Very narrow phones */
@media (max-width: 360px) {
    .container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .site-nav .site-logo {
        height: 46px;
        max-width: calc(100vw - 95px);
    }

    .hero-carousel-section {
        min-height: 400px;
    }

    .hero-carousel-section .hero-content h1 {
        font-size: 1.85rem;
    }

    .site-footer .row > .col-6 {
        width: 100%;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================
   ABOUT PAGE - RESPONSIVE FIXES
   Add after the existing homepage responsive CSS
   ========================================= */

/* About page banner */
.page-hero {
    padding: clamp(48px, 7vw, 88px) 0;
    background-position: center center;
    background-size: cover;
}

.page-hero .container {
    min-width: 0;
}

.page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    line-height: 1.15;
    overflow-wrap: break-word;
}

.page-hero p {
    max-width: 660px;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    overflow-wrap: anywhere;
}

/* About page image and company profile */
#main .about-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: clamp(240px, 35vw, 390px);
    object-fit: cover;
}

#main .about-copy {
    min-width: 0;
}

#main .about-copy h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.8rem);
    line-height: 1.2;
}

#main .about-copy p {
    overflow-wrap: anywhere;
}

/* Governance section */
#main .section-soft .section-heading {
    max-width: 100%;
}

#main .section-soft .row {
    min-width: 0;
}

/* Make governance tables responsive */
#main .section-soft .table {
    width: 100%;
    margin-bottom: 0;
    vertical-align: middle;
}

#main .section-soft .table th,
#main .section-soft .table td {
    padding: 12px 14px;
    overflow-wrap: anywhere;
}

/* Tablet */
@media (max-width: 991.98px) {
    .page-hero {
        padding: 58px 0;
    }

    #main .about-image {
        height: 340px;
    }

    #main .section-soft .row > .col-lg-7 {
        width: 100%;
    }

    #main .section-soft .table th,
    #main .section-soft .table td {
        padding: 11px 12px;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .page-hero {
        padding: 44px 0;
    }

    .page-hero h1 {
        font-size: clamp(1.9rem, 8vw, 2.5rem);
        margin-top: 10px;
    }

    .page-hero p {
        line-height: 1.65;
        margin-bottom: 0;
    }

    #main .about-image {
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 12px;
    }

    #main .about-copy h2 {
        font-size: clamp(1.7rem, 7vw, 2.15rem);
    }

    #main .about-copy p {
        font-size: 0.94rem;
        line-height: 1.75;
    }

    #main .section-soft .section-heading h2 {
        font-size: 1.85rem;
    }

    #main .section-soft .section-heading p {
        font-size: 0.94rem;
    }

    #main .section-soft h3.h5 {
        font-size: 1.05rem;
    }

    /* Keep both table columns readable */
    #main .section-soft .table {
        table-layout: fixed;
        font-size: 0.86rem;
    }

    #main .section-soft .table th,
    #main .section-soft .table td {
        padding: 10px 8px;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    #main .section-soft .table th:first-child,
    #main .section-soft .table td:first-child {
        width: 55%;
    }

    #main .section-soft .table th:last-child,
    #main .section-soft .table td:last-child {
        width: 45%;
    }

    #main .section-soft .row.mt-2 {
        margin-top: 1.5rem !important;
    }
}

/* Very narrow mobile screens */
@media (max-width: 360px) {
    #main .section-soft .table {
        font-size: 0.8rem;
    }

    #main .section-soft .table th,
    #main .section-soft .table td {
        padding: 9px 6px;
    }

    #main .section-soft .table th:first-child,
    #main .section-soft .table td:first-child {
        width: 52%;
    }

    #main .section-soft .table th:last-child,
    #main .section-soft .table td:last-child {
        width: 48%;
    }
}


/* =========================================
   INVESTOR RELATIONS PAGE - RESPONSIVE FIX
   ========================================= */

/* Prevent horizontal overflow */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

#main,
#main .container {
    min-width: 0;
}

/* Page hero */
.page-hero {
    background-position: center center;
    background-size: cover;
    padding: clamp(44px, 7vw, 88px) 0;
}

.page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.page-hero p {
    max-width: 760px;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.75;
}

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    overflow-wrap: anywhere;
}

/* Section headings */
#main .section-heading {
    max-width: 100%;
}

#main .section-heading h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

#main .section-heading p {
    line-height: 1.7;
}

/* Document search */
#documentSearch {
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    font-size: 1rem;
}

/* Category filter buttons */
.document-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    max-width: 100%;
}

.document-filter .filter-btn {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    cursor: pointer;
}

/* Document category sections */
#main section[id] {
    scroll-margin-top: 100px;
}

#main .mb-5 {
    min-width: 0;
}

#main .d-flex.justify-content-between {
    min-width: 0;
}

#main h2.h3 {
    line-height: 1.3;
    overflow-wrap: anywhere;
}

/* Document list */
.document-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-width: 0;
    padding: 18px;
    box-sizing: border-box;
}

/* PDF icon */
.document-item .doc-icon {
    flex: 0 0 48px;
    width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Document title and description */
.document-item .doc-meta {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
}

.document-item .doc-meta strong {
    display: block;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.document-item .doc-meta span {
    display: block;
    margin-top: 4px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Open PDF button */
.document-item > .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* Footer */
.site-footer {
    overflow-wrap: anywhere;
}

.site-footer .row > div {
    min-width: 0;
}

.site-footer .footer-links {
    padding-left: 0;
    list-style: none;
}

.site-footer .footer-links a {
    overflow-wrap: anywhere;
}

.site-footer .footer-bottom {
    flex-wrap: wrap;
}

/* =========================================
   TABLETS AND SMALL LAPTOPS
   ========================================= */
@media (max-width: 991.98px) {

    .page-hero {
        padding: 58px 0;
    }

    .document-filter {
        gap: 8px;
    }

    .document-item {
        gap: 14px;
        padding: 16px;
    }

    .document-item .doc-icon {
        flex-basis: 44px;
        width: 44px;
        min-height: 44px;
    }

    .site-footer .row {
        row-gap: 28px;
    }
}

/* =========================================
   MOBILE PHONES
   ========================================= */
@media (max-width: 575.98px) {

    .page-hero {
        padding: 42px 0;
    }

    .page-hero h1 {
        font-size: clamp(1.9rem, 8vw, 2.5rem);
        margin-top: 10px;
    }

    .page-hero p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    #main > .section {
        padding-top: 24px;
        padding-bottom: 40px;
    }

    #main .section-heading {
        margin-top: 24px !important;
        margin-bottom: 22px;
    }

    #main .section-heading h2 {
        font-size: clamp(1.6rem, 7vw, 2rem);
    }

    /* Stack filter buttons neatly */
    .document-filter {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .document-filter .filter-btn {
        width: 100%;
        min-width: 0;
        padding: 10px 8px;
        font-size: 0.85rem;
        line-height: 1.4;
    }

    /* Compact document cards */
    .document-list {
        gap: 10px;
    }

    .document-item {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        padding: 13px 11px;
        border-radius: 10px;
    }

    .document-item .doc-icon {
        grid-column: 1;
        grid-row: 1;
        flex: none;
        width: 42px;
        min-height: 42px;
        font-size: 0.72rem;
    }

    .document-item .doc-meta {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .document-item .doc-meta strong {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .document-item .doc-meta span {
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .document-item > .btn {
        grid-column: 3;
        grid-row: 1;
        align-self: center;
        justify-self: end;
        padding: 7px 9px;
        font-size: 0.78rem;
    }

    /* Keep category headings readable */
    #main .d-flex.flex-wrap.justify-content-between {
        align-items: flex-start !important;
    }

    #main h2.h3 {
        font-size: 1.45rem;
    }

    /* Footer spacing */
    .site-footer {
        padding-top: 38px;
    }

    .site-footer .footer-bottom {
        font-size: 0.82rem;
        line-height: 1.6;
    }
}

/* Very narrow phones */
@media (max-width: 380px) {

    .document-item {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 9px;
        padding: 12px 10px;
    }

    .document-item .doc-icon {
        width: 34px;
        min-height: 36px;
        font-size: 0.65rem;
    }

    .document-item .doc-meta strong {
        font-size: 0.85rem;
    }

    .document-item .doc-meta span {
        font-size: 0.75rem;
    }

    .document-item > .btn {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        margin-top: 2px;
    }

    .document-filter {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =========================================
   CONTACT PAGE - RESPONSIVE FIX
   ========================================= */

/* Prevent horizontal overflow */
#main,
#main .container,
#main .row > * {
    min-width: 0;
}

#main {
    overflow-wrap: anywhere;
}

/* Page hero */
.page-hero {
    padding: clamp(44px, 7vw, 88px) 0;
    background-position: center;
    background-size: cover;
}

.page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.page-hero p {
    max-width: 680px;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.7;
}

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    overflow-wrap: anywhere;
}

/* Contact information cards */
#main .resource-card {
    min-width: 0;
    height: 100%;
    box-sizing: border-box;
}

#main .resource-card h2 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

#main .resource-card p {
    line-height: 1.75;
    overflow-wrap: anywhere;
}

#main .resource-card a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Google Maps */
#main .resource-card iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 280px;
    border: 0;
}

/* Enquiry form container */
#main #contactForm {
    width: 100%;
    min-width: 0;
}

#main #contactForm .row {
    min-width: 0;
}

#main #contactForm .form-control {
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    box-sizing: border-box;
}

#main #contactForm textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

#main #contactForm .form-label {
    line-height: 1.5;
}

#main #contactForm button[type="submit"] {
    max-width: 100%;
    white-space: normal;
}

#main #contactForm .form-status {
    overflow-wrap: anywhere;
}

/* Contact information panel */
#main .contact-panel {
    min-width: 0;
}

#main .contact-panel h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.25;
}

#main .contact-panel p {
    line-height: 1.75;
}

#main .contact-line {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

#main .contact-line > div:last-child {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

#main .contact-line a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

#main .contact-line .resource-icon {
    flex: 0 0 auto;
}

/* Footer */
.site-footer {
    overflow-wrap: anywhere;
}

.site-footer .row > div {
    min-width: 0;
}

.site-footer .footer-links {
    padding-left: 0;
    list-style: none;
}

.site-footer .footer-links a {
    overflow-wrap: anywhere;
}

.site-footer .footer-bottom {
    flex-wrap: wrap;
    line-height: 1.6;
}

/* =========================================
   TABLETS AND SMALL LAPTOPS
   ========================================= */
@media (max-width: 991.98px) {

    .page-hero {
        padding: 58px 0;
    }

    #main .resource-card iframe {
        min-height: 320px;
    }

    #main .contact-panel {
        padding-top: 8px;
    }

    #main #contactForm textarea.form-control {
        min-height: 130px;
    }
}

/* =========================================
   MOBILE PHONES
   ========================================= */
@media (max-width: 575.98px) {

    .page-hero {
        padding: 42px 0;
    }

    .page-hero h1 {
        font-size: clamp(1.9rem, 8vw, 2.5rem);
        margin-top: 10px;
    }

    .page-hero p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    #main > .section {
        padding-top: 24px;
        padding-bottom: 40px;
    }

    #main .row.g-4 {
        --bs-gutter-y: 1.25rem;
    }

    /* Address cards */
    #main .resource-card:not(.p-0) {
        padding: 22px !important;
    }

    #main .resource-card h2 {
        font-size: 1.15rem;
    }

    #main .resource-card p {
        font-size: 0.94rem;
        line-height: 1.75;
        margin-bottom: 14px;
    }

    /* Map */
    #main .resource-card iframe {
        min-height: 280px;
        height: 280px;
    }

    /* Enquiry form */
    #main .p-4.p-lg-5.border.rounded-4 {
        padding: 22px !important;
        border-radius: 16px !important;
    }

    #main #contactForm .form-control {
        font-size: 16px;
        min-height: 46px;
    }

    #main #contactForm textarea.form-control {
        min-height: 130px;
    }

    #main #contactForm button[type="submit"] {
        width: 100%;
        min-height: 46px;
    }

    /* Contact details panel */
    #main .contact-panel {
        padding-top: 8px;
    }

    #main .contact-panel h2 {
        font-size: 1.8rem;
    }

    #main .contact-panel p {
        font-size: 0.94rem;
    }

    #main .contact-line {
        gap: 12px;
    }

    #main .contact-line .small {
        line-height: 1.65;
    }

    /* Footer */
    .site-footer {
        padding-top: 38px;
    }

    .site-footer .footer-bottom {
        font-size: 0.82rem;
    }
}

/* Very narrow phones */
@media (max-width: 360px) {

    #main .resource-card:not(.p-0) {
        padding: 17px !important;
    }

    #main .p-4.p-lg-5.border.rounded-4 {
        padding: 17px !important;
    }

    #main .contact-line {
        gap: 9px;
    }

    #main .resource-card iframe {
        min-height: 250px;
        height: 250px;
    }
}


/* NIWAS SPINNING MILLS - HEADER LOGO SIZE FIX */

/* Desktop */
nav.site-nav a.navbar-brand {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

nav.site-nav a.navbar-brand img.site-logo {
    display: block !important;
    width: 300px !important;
    max-width: 460px !important;
    height: 100px !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: left center !important;
}

nav.site-nav .navbar {
    min-height: 115px !important;
}

/* Tablet */
@media (max-width: 991.98px) {
    nav.site-nav a.navbar-brand img.site-logo {
        width: 360px !important;
        max-width: 360px !important;
        height: 85px !important;
    }

    nav.site-nav .navbar {
        min-height: 95px !important;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    nav.site-nav a.navbar-brand img.site-logo {
        width: 280px !important;
        max-width: calc(100vw - 100px) !important;
        height: 70px !important;
    }

    nav.site-nav .navbar {
        min-height: 80px !important;
    }
}

/* Very small mobile */
@media (max-width: 360px) {
    nav.site-nav a.navbar-brand img.site-logo {
        width: 240px !important;
        max-width: calc(100vw - 90px) !important;
        height: 60px !important;
    }
}


/* Investor Relations: PDF file icon */
.document-item .doc-icon {
    position: relative;
    flex: 0 0 42px;
    width: 42px;
    height: 48px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 7px;
    background: #fff0ed;
    border: 1px solid #edc5bd;
    border-radius: 5px;
    color: #c83e3e;
    font-size: 0;
    line-height: 1;
}

.document-item .doc-icon::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 10px;
    width: 20px;
    height: 26px;
    border: 2px solid #c83e3e;
    border-radius: 2px;
    background:
        linear-gradient(#c83e3e, #c83e3e) 4px 11px / 10px 2px no-repeat,
        linear-gradient(#c83e3e, #c83e3e) 4px 16px / 10px 2px no-repeat;
}

.document-item .doc-icon::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 10px;
    width: 7px;
    height: 7px;
    background: #fff0ed;
    border-left: 2px solid #c83e3e;
    border-bottom: 2px solid #c83e3e;
}

/* Cleaner document rows */
.document-item {
    gap: 16px;
    padding: 18px 20px;
    align-items: center;
    border-radius: 5px;
    transition: background-color 0.2s ease,
                border-color 0.2s ease;
}

.document-item:hover {
    background-color: #fdf9f6;
}

.document-item .doc-meta strong {
    color: #4e2f20;
    line-height: 1.5;
}

.document-item .doc-meta span {
    color: #817268;
    font-size: 12px;
}

.document-item > a.btn {
    white-space: nowrap;
    border-color: #8f4c27;
    color: #8f4c27;
}

.document-item > a.btn:hover {
    background: #8f4c27;
    color: #fff;
}

@media (max-width: 575.98px) {
    .document-item {
        gap: 11px;
        padding: 14px 12px;
    }

    .document-item .doc-icon {
        flex-basis: 36px;
        width: 36px;
        height: 42px;
    }

    .document-item .doc-icon::before {
        top: 7px;
        left: 8px;
        width: 18px;
        height: 24px;
    }

    .document-item .doc-icon::after {
        top: 7px;
        right: 8px;
    }

    .document-item > a.btn {
        padding: 6px 9px;
        font-size: 12px;
    }
}
/* =========================================
   INVESTOR RELATIONS (REF IMAGE LAYOUT)
   ========================================= */

.ir-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.ir-nav-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.ir-nav-btn .arrow {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.ir-nav-btn:hover {
  background: var(--pale);
  color: var(--teal-dark);
  border-color: #d8c2b4;
}

.ir-nav-btn:hover .arrow {
  transform: translateX(4px);
}

.ir-nav-btn.active {
  background: var(--ink);
  color: #ffffff !important;
  border-color: var(--ink);
}

.scroll-target {
  scroll-margin-top: 110px;
}

@media (max-width: 991.98px) {
  .investor-sidebar {
    position: static !important;
  }
}


/* =====================================
   FOOTER - THREE COLUMN LAYOUT
===================================== */

.site-footer .footer-columns {
    display: flex;
    align-items: flex-start;
}

.site-footer .footer-columns > div {
    min-width: 0;
}

.site-footer .footer-company {
    padding-right: 25px;
}

.site-footer .footer-nav-column,
.site-footer .footer-contact-column {
    padding-left: 20px;
}

.site-footer .footer-logo {
    display: inline-block;
    margin-bottom: 18px;
}

.site-footer .footer-logo img {
    display: block;
    width: 100%;
    max-width: 300px;
    max-height: 100px;
    object-fit: contain;
    object-position: left center;
}

.site-footer .footer-description {
    max-width: 360px;
    margin-bottom: 0;
    line-height: 1.9;
}

.site-footer .footer-heading {
    margin-bottom: 22px;
}

.site-footer .footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .footer-links li {
    margin-bottom: 12px;
}

.site-footer .footer-contact-item p {
    max-width: 320px;
    margin-top: 10px;
    line-height: 1.9;
}

/* Tablet and mobile */
@media (max-width: 991.98px) {
    .site-footer .footer-company,
    .site-footer .footer-nav-column,
    .site-footer .footer-contact-column {
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-footer .footer-logo img {
        max-width: 240px;
    }
}

@media (max-width: 575.98px) {
    .site-footer .footer-columns {
        row-gap: 30px !important;
    }

    .site-footer .footer-company,
    .site-footer .footer-nav-column,
    .site-footer .footer-contact-column {
        width: 100%;
    }

    .site-footer .footer-description {
        max-width: 100%;
    }

    .site-footer .footer-bottom {
        align-items: flex-start;
        gap: 8px;
    }
}


/* Center Company heading and links in footer */
.site-footer .footer-nav-column {
    text-align: center !important;
}



.site-footer .footer-nav-column .footer-links {
    text-align: center !important;
    padding-left: 0 !important;
    margin: 0 auto !important;
    list-style: none !important;
}

/* =========================================
   HEADER LOGO ENHANCEMENT (BIGGER & VISIBLE)
   ========================================= */

/* Expand header container height */
.site-nav .navbar {
  min-height: 110px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* Make header logo substantially larger */
.site-nav .site-logo {
  height: 95px !important;            /* Significantly increased height */
  width: auto !important;
  max-width: 520px !important;
  object-fit: contain;
  display: block;
  transform: scale(1.25);             /* Zooms in the logo content */
  transform-origin: left center;      /* Keeps alignment pinned to the left */
  transition: transform 0.2s ease;
}


/* =========================================
   FOOTER - CLEAN LOGO & MATCHED SIZING
   ========================================= */

.site-footer {
  background: var(--night);
  color: #e2d3c9;
  padding: 50px 0 24px !important;
}

/* Match footer logo exactly with header logo size */
.site-footer .footer-logo-img {
    height: 100px !important;           /* Matches header logo height */
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain;
  display: block;
  transform: scale(1.25);             /* Matches header logo scale */
  transform-origin: left top;         /* Aligns cleanly with top heading line */
  filter: brightness(1.08);           /* Enhances legibility on brown background */
}

/* Align headings perfectly with the logo top margin */
.site-footer .footer-heading {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-top: 0 !important;
  margin-bottom: 1.2rem !important;
  line-height: 1.2;
}

.site-footer .footer-links {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.site-footer .footer-links li {
  margin-bottom: 10px !important;
}

.site-footer .footer-links a {
  color: #d5c2b5 !important;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.site-footer .footer-links a:hover {
  color: #ffffff !important;
  transform: translateX(3px);
}

.site-footer .footer-contact-item strong {
  font-size: 0.95rem;
  color: #ffffff;
}

.site-footer .footer-contact-item p {
  color: #d5c2b5;
  font-size: 0.93rem;
  line-height: 1.6;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding-top: 20px;
  color: #bfaea2;
  font-size: 0.85rem;
}

/* Mobile & Tablet Adjustments */
@media (max-width: 991.98px) {
  .site-footer .footer-logo-img {
    height: 70px !important;
    transform: scale(1.1);
  }
}

@media (max-width: 575.98px) {
  .site-footer .footer-logo-img {
    height: 55px !important;
    transform: scale(1);
  }
}
/* =========================================
   RESPONSIVE ADJUSTMENTS FOR MOBILE/TABLET
   ========================================= */

@media (max-width: 991.98px) {
  .site-nav .navbar {
    min-height: 85px !important;
  }
  .site-nav .site-logo {
    height: 70px !important;
    transform: scale(1.1);
  }
  .site-footer .footer-logo-img {
    height: 70px !important;
    transform: scale(1.15);
  }
}

@media (max-width: 575.98px) {
  .site-nav .site-logo {
    height: 55px !important;
    transform: scale(1);
  }
  .site-footer .footer-logo-img {
    height: 55px !important;
    transform: scale(1);
  }
}