html,
body {
    overflow-x: hidden;
    width: 100%;
}


/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    --accent-gold: #6D5F32;
    --dark-green: #1e3c33;
    --text-main: #333333;
    --text-muted: #666666;
    --success-green: #198754;
    --light-green-bg: #f4fbf4;
}
/* ==========================================================================
   GLOBAL VARIABLES (NAVBAR ONLY)
   ========================================================================== */
:root {
    --brand-gold: #6D5F32;
}
/* ==========================================================================
   2. NAV-PILL (FIXED AT TOP)
   ========================================================================== */
.nav-pill {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    padding: 8px 22px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: auto;
    max-width: 95%;
    z-index: 1030;
}

.nav-pill.scrolled {
    background: rgba(255, 255, 255, 0.75) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    top: 10px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
}

.navbar-brand img {
    border-radius: 8px;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-collapse {
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
}

.navbar-nav {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.nav-item {
    list-style: none;
}

.navbar-nav .nav-link {
    color: #6D5F32 !important;
    font-weight: 500;
    padding: 8px 12px !important;
    transition: all 0.3s ease;
    font-size: 15px;
    white-space: nowrap;
    text-decoration: none;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--brand-gold);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 60%;
}

.navbar-nav .nav-link:hover {
    color: #d4af37 !important;
}

.nav-pill.scrolled .navbar-nav .nav-link {
    color: var(--brand-gold) !important;
}

.nav-pill.scrolled .navbar-nav .nav-link::after {
    background-color: var(--brand-gold);
}

.src-container {
    display: flex;
    align-items: center;
    background-color: #f5f5f0;
    border-radius: 30px;
    padding: 6px 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    gap: 5px;
}

.nav-pill.scrolled .src-container {
    background-color: transparent;
    border: 1px solid var(--brand-gold);
}

.nav-pill.scrolled .src-btn {
    color: var(--brand-gold);
}

.nav-pill.scrolled .src-container input {
    color: var(--brand-gold);
}

.nav-pill.scrolled .src-container input::placeholder {
    color: var(--brand-gold);
    opacity: 0.7;
}

.src-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #6D5F32;
    font-size: 14px;
    transition: all 0.3s ease;
}

.src-btn:hover {
    color: #d4af37;
    transform: scale(1.1);
}

.src-container input {
    background-color: transparent;
    border: none;
    outline: none;
    width: 0;
    opacity: 0;
    padding: 0;
    transition: all 0.3s ease;
    font-size: 13px;
}

.src-container.active input {
    width: 150px;
    opacity: 1;
    padding: 4px 8px;
}

.mobile-dropdown-container {
    position: relative;
    display: none;
    flex-shrink: 0;
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: rgba(109, 95, 50, 0.1);
    border: none;
    border-radius: 40px;
    padding: 8px 16px;
    font-weight: 500;
    color: #6D5F32;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-pill.scrolled .mobile-menu-btn {
    color: var(--brand-gold);
    background: transparent;
    border: 1px solid var(--brand-gold);
}

.mobile-menu-btn:hover {
    background: rgba(109, 95, 50, 0.2);
    transform: translateY(-2px);
}

.mobile-menu-btn i {
    font-size: 18px;
}

.mobile-menu-btn span {
    font-size: 14px;
}

.mobile-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1050;
    overflow: hidden;
}

.mobile-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #6D5F32;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 1px solid rgba(178, 161, 108, 0.1);
    transition: all 0.3s ease;
}

.mobile-dropdown-item:last-child {
    border-bottom: none;
}

.mobile-dropdown-item:hover {
    background: rgba(178, 161, 108, 0.15);
    padding-left: 28px;
}

/* ============================================
   HERO BANNER
   ============================================ */
.sustainability-hero {
    background-image: url('../images/SustainabilityBanner.png');
    height: 400px;
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    margin-top: 0;
    left: 0;
    border: none;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.hero-content {
    animation: fadeInUpNews 0.9s ease-out;
    border: none;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-description {
    max-width: 800px;
    margin: 20px auto 0;
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
}

@keyframes fadeInUpNews {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

.section-text {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.9;
}

.tracking-wider {
    letter-spacing: 2px;
}

/* ============================================
   MODERN IMAGE LAYOUT WITH FLOATING ANIMATION
   ============================================ */
.modern-image-wrapper {
    position: relative;
    padding: 20px;
}

.image-accent-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    background-color: #e8f5e9;
    border-radius: 12px;
    z-index: -1;
    animation: floatAccent 8s ease-in-out infinite;
}

.image-placeholder-box {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: floatImage 6s ease-in-out infinite;
}

.image-placeholder-box img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes floatImage {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes floatAccent {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(10px, 10px);
    }
    100% {
        transform: translate(0, 0);
    }
}

/* ============================================
   MINI FEATURES
   ============================================ */
.mini-feature {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.mini-feature:hover {
    transform: translateY(-5px);
}

.mini-feature i {
    font-size: 1.5rem;
    color: var(--success-green);
}

.mini-feature h6 {
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 0;
}

/* ============================================
   VALUES GRID SECTION
   ============================================ */
.bg-light-green {
    background-color: var(--light-green-bg);
}

.bottom-section {
    padding: 2rem 0 4rem 0;
}

.bottom-description {
    color: #666;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.value-card.active {
    background-color: var(--success-green);
    color: #fff;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: #e8f5e9;
    color: var(--success-green);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.value-card:hover .icon-circle {
    transform: scale(1.1);
}

.value-card.active .icon-circle {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.value-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    text-align: center;
    background: #6D5F32;
    color: #ffffff;
    padding: 20px 0;
    font-weight: 500;
    margin-top: 0;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #d4af37;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* ---------- LARGE TABLETS ---------- */
@media (max-width: 992px) {

    body{
        overflow-x: hidden;
    }

    .nav-pill {
        width: calc(100% - 24px);
        padding: 10px 16px;
        top: 10px;
        gap: 10px;
    }

    .collapse.navbar-collapse {
        display: none !important;
    }

    .navbar-nav {
        display: none !important;
    }

    .mobile-dropdown-container {
        display: flex !important;
        align-items: center;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    .src-container {
        flex: 1;
        max-width: 180px;
    }

    .src-container.active input {
        width: 100%;
    }

    .section-padding {
        padding: 60px 20px;
    }

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

    .bottom-section {
        padding: 1rem 0 3rem;
    }

    .modern-image-wrapper {
        max-width: 100%;
    }
}

/* ---------- TABLETS ---------- */
@media (max-width: 768px) {

    body {
        padding-top: 80px;
        overflow-x: hidden;
    }

    .nav-pill {
        width: calc(100% - 20px);
        padding: 8px 14px;
        border-radius: 20px;
    }

    .navbar-brand img {
        width: 36px;
        height: 36px;
    }

    .src-container {
        max-width: 140px;
        padding: 5px 10px;
    }

    .src-container.active input {
        width: 90px;
    }

    .mobile-menu-btn {
        padding: 8px 12px;
    }

    .mobile-menu-btn span {
        font-size: 13px;
    }

    .sustainability-hero {
        height: 300px;
        background-position: center;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
    }

    .section-padding {
        padding: 50px 18px;
    }

    .section-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .section-text {
        text-align: center;
        font-size: 1rem;
    }

    .tracking-wider {
        text-align: center;
    }

    .modern-image-wrapper {
        padding: 10px;
        margin-top: 20px;
    }

    .image-accent-box {
        width: 100%;
        height: 100%;
    }

    .image-placeholder-box {
        animation: none;
    }

    .bottom-description {
        font-size: 1rem;
        padding: 0 10px;
    }

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

    .value-card:hover {
        transform: translateY(-5px);
    }

    .mini-feature {
        padding: 14px 10px;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 576px) {

    body {
        padding-top: 75px;
    }

    .nav-pill {
        width: calc(100% - 16px);
        padding: 8px 10px;
        gap: 8px;
    }

    .navbar-brand img {
        width: 32px;
        height: 32px;
    }

    .src-container {
        max-width: 110px;
        padding: 4px 8px;
    }

    .src-container input {
        font-size: 12px;
    }

    .src-container.active input {
        width: 65px;
    }

    .mobile-menu-btn {
        padding: 6px 10px;
    }

    .mobile-menu-btn span {
        display: none;
    }

    .mobile-menu-btn i {
        font-size: 16px;
    }

    .mobile-dropdown-menu {
        min-width: 180px;
        right: -5px;
    }

    .sustainability-hero {
        height: 260px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-description {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .section-padding {
        padding: 40px 14px;
    }

    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .section-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .bottom-description {
        font-size: 0.92rem;
    }

    .value-card {
        padding: 25px 16px;
    }

    .value-card h4 {
        font-size: 1.2rem;
    }

    .value-card p {
        font-size: 0.9rem;
    }

    .icon-circle {
        width: 58px;
        height: 58px;
        font-size: 1.4rem;
    }

    .mini-feature {
        padding: 12px 8px;
    }

    .mini-feature h6 {
        font-size: 0.75rem;
    }
}

/* ---------- EXTRA SMALL DEVICES ---------- */
@media (max-width: 400px) {

    .nav-pill {
        padding: 6px 8px;
    }

    .src-container {
        max-width: 90px;
    }

    .src-container.active input {
        width: 50px;
    }

    .mobile-menu-btn {
        padding: 5px 8px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-description {
        font-size: 0.82rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .value-card {
        padding: 22px 14px;
    }
}

@media (max-width: 576px) {
    .src-container input::placeholder {
        opacity: 1;
        color: #6D5F32; /* or adjust mo */
    }

    .src-container {
        max-width: 110px;
    }

    .src-container input {
        width: auto;
        opacity: 1;
        padding: 0;
    }
}