/*
|--------------------------------------------------------------------------
| PT Green Solution Lestari - Homepage Redesign Styles
|--------------------------------------------------------------------------
| Converted from App.tsx (React/Tailwind) to vanilla CSS
| Color Palette: #8BBF36 (accent green), #bfe228 (lime), #3a5a1a (dark green)
| Font: 'Plus Jakarta Sans' (inherited from app.css)
|--------------------------------------------------------------------------
*/

/* ========================================
   NEW HEADER (Transparent on Hero)
======================================== */
.header-new {
    position: absolute;
    /* Default transparent position */
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 4rem;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Scrolled state (Sticky & Glassmorphism) */
.header-new.header-scrolled {
    position: fixed;
    padding: 1rem 4rem;
    background: rgba(58, 90, 26, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Smart Header: Hidden on scroll down */
.header-new.header-hidden {
    transform: translateY(-100%);
    pointer-events: none;
}

.header-new .header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    cursor: pointer;
    transition: opacity 0.3s;
    text-decoration: none;
}

.header-new .header-logo:hover {
    opacity: 0.8;
}

.header-new .header-logo img {
    height: 72px;
    width: auto;
    max-width: none;
    flex-shrink: 0;
}

/* Dual Logo Toggle: Normal (hero) vs Scrolled (sticky) */
.header-new .logo-scrolled {
    display: none;
}

.header-new .logo-normal {
    display: block;
}

.header-new.header-scrolled .logo-normal {
    display: none;
}

.header-new.header-scrolled .logo-scrolled {
    display: block;
}

.header-new.header-scrolled .header-logo img {
    height: 56px;
}

.header-new-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.header-new-nav a {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.header-new-nav a:hover {
    color: #fff;
}

.header-new-nav .nav-arrow {
    width: 10px;
    height: 6px;
    margin-top: 2px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.header-new-nav a:hover .nav-arrow {
    opacity: 1;
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-dropdown-trigger:hover {
    color: #fff;
}

.nav-dropdown-trigger:hover .nav-arrow {
    opacity: 1;
    transform: rotate(180deg);
}

.nav-dropdown-trigger .nav-arrow {
    transition: opacity 0.3s, transform 0.3s;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: rgba(30, 50, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .nav-dropdown-trigger .nav-arrow {
    opacity: 1;
    transform: rotate(180deg);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.6rem;
    transition: background 0.2s, color 0.2s;
}

.nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.nav-dropdown-item i {
    width: 18px;
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
}

/* Mobile hamburger */
.header-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 60;
}

.header-hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 55;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-nav-overlay.active {
    display: flex;
}

.mobile-nav-overlay a {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-nav-overlay a:hover {
    color: #bfe228;
}

.mobile-nav-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

/* ========================================
   HERO SECTION
======================================== */
.hero-new {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    padding: 8rem 0;
}

.hero-new-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 1s ease-out;
    transform: scale(1.05);
}

.hero-new-bg .overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent, rgba(0, 0, 0, 0.8));
}

.hero-new-bg .overlay-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-new-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.5rem 7rem;
    text-align: center;
    width: 100%;
    max-width: 56rem;
    margin: 2rem auto;
}

.hero-new-content .hero-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

.hero-new-content .hero-title {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    line-height: 1.05;
    color: #fff;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
    white-space: nowrap;
}

.hero-new-content .hero-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    max-width: 650px;
    margin-bottom: 3rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Pill CTA Button */
.hero-cta-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 9999px;
    padding: 0.25rem 0.25rem 0.25rem 1.5rem;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
}

.hero-cta-pill:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-cta-pill .cta-text {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.05em;
}

.hero-cta-pill .cta-icon {
    background: #bfe228;
    color: #000;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-cta-pill:hover .cta-icon {
    transform: translateX(2px);
}

/* Wave divider at bottom of hero */
.hero-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    pointer-events: none;
    line-height: 0;
}

.hero-wave-bottom svg {
    width: 100%;
    height: 90px;
    display: block;
    transform: translateY(1px);
    color: #F9F9F9;
}

/* ========================================
   SERVICES CARDS (Floating above hero)
======================================== */
.services-float-section {
    position: relative;
    z-index: 30;
    max-width: 1150px;
    margin: -5rem auto 0;
    padding: 0 1.5rem 3rem;
}

.services-float-row {
    display: flex;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    height: 200px;
    align-items: stretch;
}

.service-float-card {
    position: relative;
    flex: 1;
    height: 200px;
    cursor: pointer;
}

.service-float-card:not(:last-child) {
    border-right: 1px solid #e5e7eb;
}

/* Default state */
.service-float-default {
    position: absolute;
    inset: 0;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.service-float-card:hover .service-float-default {
    opacity: 0;
    pointer-events: none;
}

.service-float-default .sfc-icon {
    color: #8BBF36;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-float-default .sfc-title {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.service-float-default .sfc-desc {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    padding-right: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hover expanded state */
.service-float-expanded {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #8BBF36;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(139, 191, 54, 0.3);
    z-index: 20;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: bottom;
    opacity: 0;
    height: 150px;
    pointer-events: none;
    transform: translateY(16px);
}

.service-float-card:hover .service-float-expanded {
    opacity: 1;
    height: 340px;
    pointer-events: auto;
    transform: scale(1.02) translateY(0);
}

.service-float-expanded .sfe-image-wrap {
    padding: 0.75rem 0.75rem 0;
    flex-shrink: 0;
    height: 0;
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.service-float-card:hover .service-float-expanded .sfe-image-wrap {
    height: 180px;
    opacity: 1;
}

.service-float-expanded .sfe-image {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.service-float-expanded .sfe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-float-expanded .sfe-arrow-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    color: #3a5a1a;
    text-decoration: none;
}

.service-float-expanded .sfe-arrow-btn:hover {
    background: #8BBF36;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(139, 191, 54, 0.4);
}

.service-float-expanded .sfe-content {
    padding: 1.5rem;
    padding-top: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    overflow: hidden;
}

.service-float-expanded .sfe-content .sfc-icon {
    color: #fff;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-float-expanded .sfe-content .sfc-title {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.service-float-expanded .sfe-content .sfc-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.5;
    padding-right: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   STATISTICS SECTION
======================================== */
.stats-new-section {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

.stats-new-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.stats-new-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.stats-new-item .stat-number {
    font-size: clamp(3rem, 5vw, 4.75rem);
    line-height: 1;
    font-weight: 300;
    color: #000;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.stats-new-item .stat-number .stat-plus {
    font-size: 0.8em;
    position: relative;
    top: -4px;
    margin-left: 2px;
}

.stats-new-item .stat-label {
    font-size: 16px;
    color: #333;
    font-weight: 400;
}

.stats-new-divider {
    height: 90px;
    width: 0;
    border-left: 1.5px dashed #888;
}

.stats-new-divider-h {
    display: none;
    width: 150px;
    height: 0;
    border-top: 1.5px dashed #888;
}

/* ========================================
   WHAT WE DO SECTION
======================================== */
.what-we-do-section {
    background: #fff;
    padding: 6rem 0;
    width: 100%;
}

.what-we-do-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 6rem;
}

/* Left: Offset Images */
.wwd-images {
    width: 50%;
    position: relative;
    display: flex;
    justify-content: flex-start;
}

.wwd-images-wrapper {
    position: relative;
    width: 450px;
    height: 500px;
}

.wwd-img-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 75%;
    border-radius: 16px;
    overflow: hidden;
}

.wwd-img-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wwd-img-front {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.wwd-img-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right: Text */
.wwd-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wwd-text .section-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.wwd-text .section-heading {
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.wwd-text .section-paragraph {
    color: #555;
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 500px;
}

.btn-outline-green {
    display: inline-block;
    border-radius: 9999px;
    border: 1px solid #a0b0a5;
    color: #3a4a3a;
    padding: 0.625rem 2rem;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
}

.btn-outline-green:hover {
    background: #f0f4f1;
}

/* ========================================
   GLIMPSE OF OUR WORK SECTION
======================================== */
.glimpse-section {
    position: relative;
    width: 100%;
    background: #0a1a0f;
    overflow: visible;
}

.glimpse-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.glimpse-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    mix-blend-mode: luminosity;
}

.glimpse-bg .glimpse-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 26, 15, 0.9), rgba(10, 26, 15, 0.7), transparent);
}

.glimpse-inner {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem 3rem;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.glimpse-text {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.glimpse-text .section-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #a0b0a5;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.glimpse-text .section-heading {
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.glimpse-text .section-paragraph {
    color: #c0d0c5;
    font-size: 17px;
    line-height: 1.5;
    max-width: 480px;
}

.glimpse-media {
    width: 55%;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 20;
}

.glimpse-video-card {
    position: relative;
    width: 100%;
    max-width: 650px;
    aspect-ratio: 1.45 / 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transform: translateY(6rem);
}

.glimpse-video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.glimpse-video-card:hover img {
    transform: scale(1.05);
}

.glimpse-video-card .video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.glimpse-video-card:hover .video-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.glimpse-video-card .play-circle {
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.glimpse-video-card:hover .play-circle {
    transform: scale(1.1);
}

/* ========================================
   PORTFOLIO / PRODUCTS GRID
======================================== */
.products-grid-section {
    position: relative;
    width: 100%;
    background: #FAFAFA;
    padding: 5rem 0 6rem;
    z-index: 0;
}

.products-grid-section.has-glimpse-overlap {
    padding-top: 7.5rem;
}

.products-grid-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.products-grid-inner .section-heading {
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.products-grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.products-grid-arrows {
    display: flex;
    gap: 0.75rem;
}

.products-grid-arrows button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #d1d5db;
    background: #fff;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.products-grid-arrows button:hover {
    background: #1a2e1a;
    border-color: #1a2e1a;
    color: #fff;
}

.products-grid-arrows button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.products-grid-arrows button:disabled:hover {
    background: #fff;
    border-color: #d1d5db;
    color: #333;
}

.products-grid-wrapper {
    overflow: hidden;
}

.products-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3.75rem) / 4);
    gap: 1.25rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 5;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card .product-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1), transparent);
    opacity: 0.9;
    transition: opacity 0.3s;
}

.product-card:hover .product-gradient {
    opacity: 1;
}

.product-card .product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.product-card .product-info h3 {
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.product-card .product-info .arrow-icon {
    color: #fff;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.product-card:hover .product-info .arrow-icon {
    opacity: 1;
}



/* ========================================
   OUR PROJECT SECTION
======================================== */
.projects-section {
    background: #fff;
    padding: 6rem 0 8rem;
    width: 100%;
}

.projects-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 1.5rem;
}

.projects-header-left p {
    font-size: 15px;
    color: #555;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.projects-header-left h2 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.3;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
}

.projects-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.25rem;
}

.projects-header-right .shield-icon {
    color: #9ca3af;
}

.btn-see-more {
    display: inline-block;
    background: #e9fac8;
    color: #111;
    padding: 0.625rem 1.75rem;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
    text-decoration: none;
}

.btn-see-more:hover {
    background: #d8f0aa;
}

/* Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.project-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card .project-gradient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    opacity: 0.9;
}

.project-card:hover .project-gradient {
    opacity: 1;
}

.project-card-large .project-gradient {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4), transparent);
}

.project-card-small .project-gradient {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3), transparent);
}

.project-card .project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.project-card-large {
    grid-column: span 6;
    height: 540px;
}

.project-card-large .project-content {
    padding: 2.5rem;
}

.project-card-large .project-content h3 {
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.project-card-large .project-content p {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 90%;
}

.project-card-small {
    grid-column: span 3;
    height: 540px;
}

.project-card-small .project-content {
    padding: 2rem;
}

.project-card-small .project-content h3 {
    color: #fff;
    font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.btn-detail-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #fff;
    color: #000;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    width: fit-content;
    transition: background 0.3s;
    text-decoration: none;
}

.btn-detail-white:hover {
    background: #f3f4f6;
}

/* ========================================
   QUOTES / TESTIMONIAL SECTION
======================================== */
.quotes-section {
    background: #111;
    padding: 6rem 0 8rem;
    width: 100%;
}

.quotes-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.quotes-row {
    display: flex;
    gap: 6rem;
    align-items: flex-start;
}

.quotes-profile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    width: 320px;
}

.quotes-profile .profile-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: #222;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 3px solid #222;
}

.quotes-profile .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quotes-profile h4 {
    font-size: clamp(1.5rem, 2vw, 1.75rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.quotes-profile p {
    font-size: 15px;
    color: #888;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.quotes-content {
    flex: 1;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.quotes-content .quote-icon {
    color: #333;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.quotes-content .quote-text {
    font-size: clamp(1.375rem, 2.2vw, 1.875rem);
    color: #f0f0f0;
    line-height: 1.45;
    font-weight: 400;
    letter-spacing: -0.015em;
}

/* ========================================
   POPULAR ARTICLES SECTION
======================================== */
.articles-new-section {
    background: #fff;
    padding: 6rem 0 3rem;
    width: 100%;
}

.articles-new-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.articles-new-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    gap: 1.5rem;
}

.articles-new-header-left span {
    font-size: 15px;
    color: #555;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.articles-new-header-left h2 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.3;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
}

.articles-new-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    max-width: 320px;
}

.articles-new-header-right .leaf-icon {
    margin-bottom: 1rem;
    color: #6b7280;
}

.articles-new-header-right p {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
    text-align: right;
}

/* Grid */
.articles-new-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 3.5rem;
}

/* Main article (large) */
.article-main {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.article-main .article-main-image {
    width: 100%;
    height: 460px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.article-main .article-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.article-main:hover .article-main-image img {
    transform: scale(1.05);
}

.article-main h3 {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 500;
    color: #111;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    transition: color 0.3s;
}

.article-main:hover h3 {
    color: #4a5a4a;
}

.article-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 9999px;
    font-size: 13px;
    color: #666;
    background: #fff;
    transition: border-color 0.3s;
}

.article-main:hover .article-tag,
.article-sidebar-item:hover .article-tag {
    border-color: #d1d5db;
}

/* Sidebar articles */
.articles-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.article-sidebar-item {
    display: flex;
    gap: 1.5rem;
    cursor: pointer;
}

.article-sidebar-item .article-thumb {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.article-sidebar-item .article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.article-sidebar-item:hover .article-thumb img {
    transform: scale(1.05);
}

.article-sidebar-item .article-sidebar-text {
    display: flex;
    flex-direction: column;
    padding: 0.25rem 0;
}

.article-sidebar-item .article-sidebar-text h4 {
    font-size: clamp(1.125rem, 1.5vw, 1.4375rem);
    font-weight: 500;
    color: #111;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.article-sidebar-item:hover .article-sidebar-text h4 {
    color: #4a5a4a;
}

.article-sidebar-item .article-sidebar-text p {
    font-size: 15px;
    color: #888;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.article-sidebar-item .article-sidebar-text .article-tag-wrap {
    margin-top: auto;
}

/* ========================================
   NEW FOOTER
======================================== */
.footer-new {
    position: relative;
    width: 100%;
    margin-top: 0;
    /* Removed 6rem to fix white gap on all pages */
    padding-top: 12rem;
    background: #3a5a1a;
}

/* Curved top */
.footer-new-curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(-99%);
    z-index: 0;
}

.footer-new-curve svg {
    width: 100%;
    height: 100px;
    color: #3a5a1a;
}

/* Newsletter box */
.footer-newsletter-wrap {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    margin-top: -160px;
    margin-bottom: 4rem;
}

.footer-newsletter-card {
    background: #c5e128;
    border-radius: 32px;
    padding: 2.5rem 3.5rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.footer-newsletter-card h2 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.footer-newsletter-card p {
    color: #445511;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.footer-newsletter-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.footer-newsletter-form input {
    flex: 1;
    height: 54px;
    border-radius: 9999px;
    padding: 0 1.5rem;
    font-size: 15px;
    color: #111;
    border: none;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.footer-newsletter-form button {
    height: 54px;
    background: #22380c;
    color: #fff;
    border-radius: 9999px;
    padding: 0 2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.footer-newsletter-form button:hover {
    background: #1a2a09;
}

.footer-newsletter-form .btn-arrow-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.footer-newsletter-form button:hover .btn-arrow-circle {
    background: rgba(255, 255, 255, 0.3);
}

/* Footer content */
.footer-new-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem;
}

.footer-new-grid {
    display: grid;
    grid-template-columns: 4fr 2fr 3fr 3fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Col 1: Brand */
.footer-new-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-new-brand .brand-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-decoration: none;
}

.footer-new-brand .brand-logo img {
    height: 36px;
    width: auto;
}

.footer-new-brand .brand-logo span {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-new-brand .brand-desc {
    color: #c0d6b0;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 300px;
}

/* Social icons */
.footer-social-bar {
    display: flex;
    align-items: center;
    background: #7ca846;
    border-radius: 12px;
    padding: 0.375rem;
    gap: 0.375rem;
    width: fit-content;
}

.footer-social-bar a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 8px;
    transition: background 0.3s;
    text-decoration: none;
}

.footer-social-bar a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-social-bar .social-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
}

/* Col 2-4: Links */
.footer-new-col h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-new-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-new-col ul li a {
    color: #c0d6b0;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-new-col ul li a:hover {
    color: #fff;
}

/* Contact info */
.footer-new-col .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #c0d6b0;
    font-size: 15px;
}

.footer-new-col .contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Bottom bar */
.footer-new-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #c0d6b0;
    font-size: 14px;
}

.footer-new-bottom-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-new-bottom-links a {
    color: #c0d6b0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-new-bottom-links a:hover {
    color: #fff;
}

/* Grass image */
.footer-grass {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 220px;
    margin-top: -5rem;
    pointer-events: none;
    overflow: hidden;
}

.footer-grass .grass-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #3a5a1a, transparent, transparent);
    z-index: 10;
}

.footer-grass img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
======================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .header-new {
        padding: 1.5rem 2rem;
    }

    .header-new.header-scrolled {
        padding: 1rem 2rem;
    }

    .header-new-nav {
        display: none;
    }

    .header-hamburger {
        display: flex;
    }

    .hero-new-content .hero-subtitle {
        font-size: 18px;
    }

    .hero-wave-bottom svg {
        height: 70px;
    }

    /* Services float → 2 columns */
    .services-float-row {
        flex-wrap: wrap;
        height: auto;
    }

    .service-float-card {
        flex: 0 0 50%;
        min-height: 140px;
        border-bottom: 1px solid #f3f4f6;
    }

    .service-float-card:nth-child(odd) {
        border-right: 1px solid #e5e7eb;
    }

    .service-float-card:nth-child(even) {
        border-right: none;
    }

    .service-float-card:hover .service-float-expanded {
        height: 300px;
    }

    /* What We Do */
    .what-we-do-inner {
        flex-direction: column;
        padding: 0 2rem;
        gap: 3rem;
    }

    .wwd-images,
    .wwd-text {
        width: 100%;
    }

    .wwd-images {
        justify-content: center;
    }

    .wwd-images-wrapper {
        width: 400px;
        height: 450px;
    }

    /* Glimpse */
    .glimpse-inner {
        flex-direction: column;
        padding: 4rem 2rem 3rem;
    }

    .glimpse-text,
    .glimpse-media {
        width: 100%;
    }

    .glimpse-text {
        text-align: center;
        align-items: center;
    }

    .glimpse-video-card {
        transform: translateY(4rem);
    }

    /* Products grid → 2 columns */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid-inner {
        padding: 0 2rem;
    }

    /* Projects grid */
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-card-large {
        grid-column: span 2;
        height: 450px;
    }

    .project-card-small {
        grid-column: span 1;
        height: 450px;
    }

    .projects-inner {
        padding: 0 2rem;
    }

    /* Quotes */
    .quotes-row {
        flex-direction: column;
        gap: 3rem;
    }

    .quotes-profile {
        width: 100%;
    }

    .quotes-inner {
        padding: 0 2rem;
    }

    /* Articles */
    .articles-new-grid {
        grid-template-columns: 1fr;
    }

    .articles-new-inner {
        padding: 0 2rem;
    }

    .articles-new-header {
        flex-direction: column;
    }

    .articles-new-header-right {
        align-items: flex-start;
        max-width: 100%;
    }

    .articles-new-header-right p {
        text-align: left;
    }

    /* Footer */
    .footer-new-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-new-content {
        padding: 2rem 2rem 3rem;
    }

    .footer-newsletter-card {
        padding: 2rem 2rem;
    }

    .footer-grass {
        height: 180px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .header-new {
        padding: 1.5rem;
    }

    .hero-new-content .hero-title {
        font-size: 2.5rem;
    }

    .hero-new-content .hero-desc {
        font-size: 16px;
    }

    .hero-wave-bottom svg {
        height: 50px;
    }

    /* Services float → single column */
    .services-float-section {
        margin-top: -3rem;
        padding: 0 1rem 4rem;
    }

    .services-float-row {
        flex-direction: column;
        border-radius: 16px;
    }

    .service-float-card {
        flex: none;
        width: 100%;
        border-right: none !important;
    }

    .service-float-card:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #f3f4f6;
    }

    /* Stats → vertical */
    .stats-new-row {
        flex-direction: column;
    }

    .stats-new-divider {
        display: none;
    }

    .stats-new-divider-h {
        display: block;
    }

    /* What We Do */
    .wwd-images-wrapper {
        width: 320px;
        height: 350px;
    }

    .wwd-text {
        align-items: center;
        text-align: center;
    }

    .wwd-text .section-paragraph {
        max-width: 100%;
    }

    /* Glimpse */
    .glimpse-inner {
        padding: 4rem 1.5rem 2rem;
    }

    .glimpse-video-card {
        aspect-ratio: 4/3;
        transform: translateY(3rem);
    }

    /* Products → single column */
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .products-grid-inner {
        padding: 0 1.5rem;
    }

    .products-grid-section.has-glimpse-overlap {
        padding-top: 5rem;
    }

    /* Projects → single column */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card-large,
    .project-card-small {
        grid-column: span 1;
        height: 400px;
    }

    .projects-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .projects-header-right {
        align-items: flex-start;
    }

    .projects-inner {
        padding: 0 1.5rem;
    }

    /* Articles sidebar → horizontal scroll */
    .article-sidebar-item {
        flex-direction: column;
    }

    .article-sidebar-item .article-thumb {
        width: 100%;
        height: 200px;
    }

    .article-main .article-main-image {
        height: 350px;
    }

    .articles-new-inner {
        padding: 0 1.5rem;
    }

    /* Quotes */
    .quotes-section {
        padding: 4rem 0 6rem;
    }

    .quotes-inner {
        padding: 0 1.5rem;
    }

    .quotes-content {
        gap: 1.25rem;
    }

    /* Footer */
    .footer-new-grid {
        grid-template-columns: 1fr;
    }

    .footer-new-content {
        padding: 2rem 1.5rem 3rem;
    }

    .footer-newsletter-form {
        flex-direction: column;
    }

    .footer-newsletter-form input,
    .footer-newsletter-form button {
        width: 100%;
    }

    .footer-new-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-grass {
        height: 120px;
    }

    .footer-new {
        margin-top: 6rem;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero-new-content .hero-title {
        font-size: 2rem;
    }

    .hero-new-content .hero-subtitle {
        font-size: 16px;
    }

    .stats-new-item .stat-number {
        font-size: 3rem;
    }

    .wwd-images-wrapper {
        width: 280px;
        height: 300px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .project-card-large,
    .project-card-small {
        height: 350px;
    }

    .article-main .article-main-image {
        height: 280px;
    }

    .article-sidebar-item .article-thumb {
        height: 180px;
    }
}

/* ========================================
   PAGE BACKGROUND FOR HOME (from App.tsx)
======================================== */
.page-home {
    background: #F9F9F9;
    overflow-x: hidden;
}

/* ========================================
   NEWS PAGE REDESIGN
======================================== */

/* Hero Carousel */
.news-hero {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    border-radius: 1rem;
    background: #1a2a09;
    margin-bottom: 1.5rem;
}

.news-hero-card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Hide all slides except the first to prevent FOUC on page load */
.news-hero-card~.news-hero-card {
    opacity: 0;
    pointer-events: none;
}

.news-hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.6s ease;
}

.news-hero-card:hover img {
    transform: scale(1.03);
}

.news-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 35%, rgba(0, 0, 0, 0.15) 60%, transparent 100%);
    z-index: 2;
}

.news-hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 100%);
    z-index: 2;
}

.news-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 3.5rem;
    z-index: 5;
}

.news-hero-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: #c5e128;
    color: #1a2a09;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.news-hero-content h1 {
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.news-hero-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    line-height: 1.6;
    max-width: 650px;
}

/* Carousel Dots */
.news-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

.news-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}

.news-carousel-dot:hover {
    background: #9ca3af;
}

.news-carousel-dot.active {
    background: #c5e128;
    transform: scale(1.2);
}

/* Filter & Search Bar */
.news-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
}

.news-filter-bar h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    white-space: nowrap;
    margin: 0;
}

.news-filter-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Category Tabs */
.news-category-tabs {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 2px;
}

.news-category-tabs a {
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 4px;
}

.news-category-tabs a:hover {
    color: #4d7c0f;
}

.news-category-tabs a.active {
    color: #4d7c0f;
}

.news-category-tabs a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #c5e128;
    border-radius: 2px;
}

/* Search Bar */
.news-search-bar {
    position: relative;
    width: 240px;
    flex-shrink: 0;
}

.news-search-bar input {
    width: 100%;
    padding: 0.6rem 2.5rem 0.6rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-size: 14px;
    color: #111;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.news-search-bar input:focus {
    border-color: #c5e128;
    box-shadow: 0 0 0 3px rgba(197, 225, 40, 0.15);
}

.news-search-bar input::placeholder {
    color: #9ca3af;
}

.news-search-bar button {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 0;
    display: flex;
    align-items: center;
}

.news-search-bar button:hover {
    color: #4d7c0f;
}

/* Article Cards */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s, transform 0.3s;
}

.news-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.news-card-image {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-image .news-card-category {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.2rem 0.75rem;
    background: #c5e128;
    color: #1a2a09;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.news-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-body h3 {
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.news-card:hover .news-card-body h3 {
    color: #4d7c0f;
}

.news-card-body .news-card-excerpt {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
}

.news-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-card-meta i {
    font-size: 11px;
}

.news-card-readmore {
    font-size: 12px;
    font-weight: 600;
    color: #4d7c0f;
    text-decoration: none;
    transition: color 0.3s;
}

.news-card-readmore:hover {
    color: #365314;
}

/* Empty State */
.news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.news-empty i {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 1rem;
    display: block;
}

/* Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* ========================================
   NEWS PAGE RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-hero {
        height: 420px;
    }

    .news-hero-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .news-hero {
        height: 360px;
        border-radius: 1.25rem;
    }

    .news-hero-content {
        padding: 1.5rem;
    }

    .news-filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-filter-right {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .news-search-bar {
        width: 100%;
    }

    .news-category-tabs {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-hero {
        height: 300px;
        border-radius: 1rem;
    }

    .news-hero-content h1 {
        font-size: 1.25rem;
    }

    .news-hero-content p {
        display: none;
    }
}

/* ========================================
   HOMEPAGE CATEGORY CARDS
======================================== */
.home-category-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.home-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(26, 46, 26, 0.12);
    border-color: rgba(139, 191, 54, 0.2);
}

.home-cat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eaf5d3, #d4edbc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.home-category-card:hover .home-cat-icon {
    transform: scale(1.1);
}

.home-cat-icon i {
    font-size: 1.35rem;
    color: #3a7d1b;
}

.home-cat-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2e1a;
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.home-cat-desc {
    font-size: 0.825rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0;
}

/* Responsive for category cards */
@media (max-width: 1024px) {
    .home-category-card {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 768px) {
    .products-grid-inner [style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .products-grid-inner [style*="grid-template-columns: repeat(4"] {
        grid-template-columns: 1fr !important;
    }

    .home-category-card {
        padding: 1.25rem 1rem;
    }
}

/* ========================================
   VIDEO MODAL
======================================== */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    aspect-ratio: 16/9;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-modal-overlay.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
}

.video-modal-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.video-modal-iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: none;
}
