/* ==========================================================================
   Hero Dock Section (Modern Industrial / Solar Manufacturing Style)
   ========================================================================== */

.hero-dock-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 680px;
    max-height: 1080px;
    overflow: hidden;
    background-color: #070e17;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: calc(-1 * var(--header-height));
}

/* Background Media & Video */
.hero-media-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-media-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.88);
}

/* Cinematic Dark Vignette & Gradient Overlays */
.hero-vignette-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 31, 55, 0.5) 0%, rgba(0, 15, 30, 0.25) 35%, rgba(0, 15, 30, 0.8) 100%),
        linear-gradient(90deg, rgba(0, 15, 30, 0.88) 0%, rgba(0, 15, 30, 0.45) 55%, transparent 100%),
        radial-gradient(circle at 85% 15%, rgba(0, 183, 179, 0.15) 0%, transparent 60%);
    z-index: 2;
    pointer-events: none;
}

/* Hero Content Area (Text & CTA) */
.hero-content-container {
    position: absolute;
    top: 48%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    padding-inline: clamp(1.5rem, 5vw, 4rem);
    pointer-events: none;
}

.hero-text-slider {
    position: relative;
    max-width: 720px;
    min-height: 290px;
}

.hero-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.55s;
    pointer-events: none;
}

.hero-slide-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Pill Badge */
.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(0, 183, 179, 0.15);
    border: 1px solid rgba(76, 224, 110, 0.4);
    color: #4CE06E;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Main Heading */
.hero-main-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.hero-main-title .accent-text {
    background: linear-gradient(90deg, #00B7B3 0%, #4CE06E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Accent Divider Bar */
.hero-accent-bar {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #00B7B3, #4CE06E);
    border-radius: 2px;
    margin-bottom: 16px;
    box-shadow: 0 0 12px rgba(76, 224, 110, 0.4);
}

/* Subtitle / Description */
.hero-description {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    font-weight: 400;
    color: #e2e8f0;
    line-height: 1.6;
    margin: 0 0 26px 0;
    max-width: 620px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* CTA Buttons */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    background: linear-gradient(90deg, #00B7B3 0%, #4CE06E 100%);
    color: #001F37 !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0, 183, 179, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(76, 224, 110, 0.45);
    filter: brightness(1.06);
    color: #001F37 !important;
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    padding: 11px 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Floating Share Button (Right Edge) */
.hero-floating-share-btn {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #00B7B3;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 183, 179, 0.45);
    z-index: 25;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
}

.hero-floating-share-btn:hover {
    transform: translateY(-50%) scale(1.12);
    background: #4CE06E;
    color: #001F37;
}

/* Bottom Left Audio Controls */
.hero-media-controls {
    position: absolute;
    bottom: 24px;
    left: 28px;
    z-index: 25;
}

.hero-ctrl-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.hero-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #ffffff;
    transform: scale(1.08);
}

/* ==========================================================================
   THE 4 PRODUCT CARDS DOCK (The Circled Element from Shared Image)
   ========================================================================== */

.hero-bottom-dock-container {
    position: relative;
    width: 100%;
    z-index: 20;
    margin-top: auto;
    padding-bottom: 24px;
    display: flex;
    justify-content: center;
}

.hero-bottom-dock {
    width: calc(100% - 170px);
    max-width: 1180px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 0 auto;
}

/* Individual White Card */
.dock-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    user-select: none;
    text-decoration: none !important;
    color: inherit;
}

.dock-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.dock-card:focus-visible {
    outline: 2px solid #00B7B3;
    outline-offset: 2px;
}

/* Card Text Info */
.dock-card-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.dock-card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.dock-card:hover .dock-card-title,
.dock-card.active .dock-card-title {
    color: #001F37;
}

.dock-card-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.76rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card Product Thumbnail */
.dock-card-thumb {
    width: 68px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0b1523;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dock-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.dock-card:hover .dock-card-thumb img {
    transform: scale(1.08);
}

/* Bottom Progress Track & Bar */
.dock-progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3.5px;
    background: #e2e8f0;
}

.dock-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f59e0b, #eab308); /* Amber / Gold from reference image */
    border-radius: 0 2px 2px 0;
}

/* Active Card Highlights */
.dock-card.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

/* Toast for Share / Notifications */
.hero-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #001F37;
    color: #ffffff;
    border: 1px solid #00B7B3;
    border-radius: 6px;
    padding: 12px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.hero-toast.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .hero-bottom-dock {
        width: calc(100% - 140px);
        gap: 8px;
    }
    
    .dock-card {
        padding: 8px 10px;
    }
    
    .dock-card-thumb {
        width: 58px;
        height: 38px;
    }

    .dock-card-title {
        font-size: 0.88rem;
    }
    
    .dock-card-subtitle {
        font-size: 0.72rem;
    }
}

@media (max-width: 992px) {
    .hero-dock-section {
        height: 100vh;
        height: 100dvh;
        min-height: 560px;
        max-height: none;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        justify-content: flex-end !important;
    }

    /* Floating share button: positioned safely above the bottom dock on the right */
    .hero-floating-share-btn {
        top: auto !important;
        bottom: 96px !important;
        right: 18px !important;
        transform: none !important;
        width: 40px;
        height: 40px;
    }

    .hero-floating-share-btn:hover {
        transform: scale(1.08) !important;
    }

    /* Floating audio button: positioned safely above the bottom dock on the left */
    .hero-media-controls {
        top: auto !important;
        bottom: 96px !important;
        left: 18px !important;
    }

    .hero-bottom-dock-container {
        position: relative;
        margin-top: auto !important;
        padding-top: 10px;
        padding-bottom: 18px;
        padding-inline: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        display: flex;
        justify-content: flex-start;
    }

    .hero-bottom-dock-container::-webkit-scrollbar {
        display: none;
    }

    .hero-bottom-dock {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
        width: max-content;
        max-width: none;
        margin: 0;
        padding-right: 20px;
    }

    .dock-card {
        flex: 0 0 260px;
        min-width: 260px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        padding: 10px 14px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }
}

@media (max-width: 768px) {
    .hero-dock-section {
        height: 100vh;
        height: 100dvh;
        min-height: 520px;
        max-height: none;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        justify-content: flex-end !important;
    }

    .hero-floating-share-btn {
        bottom: 84px !important;
        right: 14px !important;
        width: 36px;
        height: 36px;
    }

    .hero-media-controls {
        bottom: 84px !important;
        left: 14px !important;
    }

    .hero-ctrl-btn {
        width: 36px;
        height: 36px;
    }

    .hero-bottom-dock-container {
        padding-bottom: 14px;
        padding-inline: 12px;
    }

    .hero-bottom-dock {
        gap: 10px;
        padding-right: 16px;
    }

    .dock-card {
        flex: 0 0 240px;
        min-width: 240px;
        padding: 8px 12px;
    }

    .dock-card-thumb {
        width: 54px;
        height: 38px;
    }

    .dock-card-title {
        font-size: 0.88rem;
    }

    .dock-card-subtitle {
        font-size: 0.72rem;
    }
}

/* Remaining Sections (About Teaser, etc) */
.about-teaser-container {
    margin-top: -8vw;
    position: relative;
    z-index: 10;
}

.cert-badge {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 220px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    z-index: 1;
}

.cert-badge:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 191, 99, 0.2);
}

.cert-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
    transition: background 0.4s ease;
    z-index: 1;
}

.cert-badge:hover .cert-overlay {
    background: linear-gradient(to top, rgba(0, 191, 99, 0.9) 0%, rgba(10, 186, 181, 0.4) 100%);
}

.cert-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
}

.cert-content h4 {
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
    transition: transform 0.4s ease;
}

.cert-badge:hover .cert-content h4 {
    transform: translateY(-3px);
}

.quality-content h2 {
    color: var(--color-oxford-blue);
    font-weight: 700;
    font-size: 3rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.title-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin-bottom: 2rem;
}

.quality-content p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

@media screen and (max-width: 992px) {
    .quality-grid {
        grid-template-columns: 1fr;
        gap: 3rem !important;
    }

    .quality-content h2 {
        font-size: 2.5rem;
    }
}

/* Sustainability Carousel Section */
.sustainability-carousel-section {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    background: var(--color-oxford-blue);
}

.sus-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.sus-slide.active {
    opacity: 1;
    z-index: 2;
}

.sus-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 10s linear;
}

.sus-slide.active img {
    transform: scale(1);
}

.sus-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); /* Darken image to make text readable */
    z-index: 2;
}

.sus-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    width: 100%;
    padding: 0 20px;
}

.sus-slide-content h2 {
    color: var(--color-white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.3s;
}

.sus-slide.active .sus-slide-content h2 {
    opacity: 1;
    transform: translateY(0);
}

.sus-slide-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.5s;
}

.sus-slide.active .sus-slide-content p {
    opacity: 1;
    transform: translateY(0);
}

/* Controls */
.sus-prev, .sus-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    color: var(--color-oxford-blue);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.sus-prev:hover, .sus-next:hover {
    background: var(--color-white);
}

.sus-prev { left: 40px; }
.sus-next { right: 40px; }

.sus-counter {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    z-index: 10;
    letter-spacing: 2px;
}

/* Thumbnails */
.sus-thumbnails {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.sus-thumb {
    width: 90px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s, opacity 0.3s;
    opacity: 0.5;
}

.sus-thumb.active {
    border-color: var(--color-malachite);
    opacity: 1;
}

.sus-thumb:hover {
    opacity: 1;
}

.sus-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .sustainability-carousel-section {
        height: auto; aspect-ratio: 4/3;
    }
    .sus-prev { left: 10px; }
    .sus-next { right: 10px; }
    .sus-thumb { width: 60px; height: 40px; }
    .sus-counter { bottom: 100px; }
    .sus-thumbnails { bottom: 20px; }
}

/* Latest News Section */
/* Latest News Carousel Section */
.news-carousel-container {
    position: relative;
    width: 100%;
}

.news-carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0.25rem 1rem;
    cursor: grab;
    user-select: none;
}

.news-carousel-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.news-carousel-track::-webkit-scrollbar {
    display: none;
}

.news-carousel-item {
    flex: 0 0 calc((100% - 3rem) / 3);
    min-width: 0;
    scroll-snap-align: start;
}

@media (max-width: 991px) {
    .news-carousel-item {
        flex: 0 0 calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 640px) {
    .news-carousel-item {
        flex: 0 0 88%;
    }
}

.news-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: var(--color-oxford-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.news-nav-btn:hover:not(:disabled) {
    background: var(--color-tiffany-blue);
    border-color: var(--color-tiffany-blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.news-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.news-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.news-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-dot.active {
    width: 24px;
    background: var(--color-tiffany-blue);
}

.news-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    height: 100%;
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-card.bg-light-card {
    background: #F3F4F6;
    border-radius: var(--radius-lg);
}

.news-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.05);
}

.news-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    z-index: 1;
}

.news-badge-new {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.news-badge-new::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: badgePulse 1.8s infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.news-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 2;
}

.news-content {
    padding: 1.5rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bg-light-card .news-content {
    padding: 1.5rem;
}

.news-date {
    color: #94A3B8;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.news-title {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    cursor: pointer;
    transition: color 0.3s;
}

.news-title:hover {
    color: var(--color-tiffany-blue);
}

/* ============================================================
   OUR CLIENTS — MARQUEE STRIP SECTION
   ============================================================ */
.clients-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

/* Faint top border line */
.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Section label pill */
.clients-label {
    display: flex;
    justify-content: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.clients-label-inner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* Gradient border via background-clip trick */
    border: 0;
    border-radius: var(--radius-full);
    padding: clamp(0.4rem, 2vw, 0.6rem) clamp(1rem, 4vw, 1.8rem);
    font-size: clamp(0.55rem, 2vw, 0.72rem);
    font-weight: 800;
    letter-spacing: clamp(1px, 0.5vw, 2.5px);
    text-transform: uppercase;
    text-align: center;
    /* Gradient text */
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Outer ring using box-shadow */
    box-shadow: 0 0 0 1.5px rgba(0, 183, 179, 0.35),
                inset 0 0 0 1.5px rgba(76, 224, 110, 0.2);
    position: relative;
}

/* Subtle glow behind the pill */
.clients-label-inner::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1.5px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    pointer-events: none;
}

.clients-label-inner::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1.5px;
    background: var(--gradient-primary);
    opacity: 0.7;
    flex-shrink: 0;
}

/* Marquee track wrapper — clips the overflow */
.clients-marquee-outer {
    position: relative;
    overflow: hidden;
    /* Fade edges */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}

/* Two rows */
.clients-marquee-row {
    display: flex;
    width: max-content;
    gap: clamp(2.5rem, 4vw, 4rem);
    padding: 1rem 0;
}

/* Row 1 — scrolls LEFT */
.clients-marquee-row--ltr {
    animation: marquee-ltr 35s linear infinite;
}

/* Row 2 — scrolls RIGHT (mirrored feel) */
.clients-marquee-row--rtl {
    animation: marquee-rtl 40s linear infinite;
    margin-top: 1rem;
}

/* Pause on hover the whole strip */
.clients-marquee-outer:hover .clients-marquee-row {
    animation-play-state: paused;
}

/* Individual logo card */
.client-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: clamp(120px, 14vw, 170px);
    height: clamp(56px, 7vw, 76px);
    padding: 12px 20px;
    background: #ffffff;
    border: 1px solid #e8eef4;
    border-radius: var(--radius-md);
    transition: 
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.client-logo-card:hover {
    border-color: rgba(0, 183, 179, 0.35);
    box-shadow: 0 8px 28px rgba(0, 183, 179, 0.12);
    transform: translateY(-4px) scale(1.04);
}

/* Logo images: always full original color */
.client-logo-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: none;
    opacity: 0.9;
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    user-select: none;
}

.client-logo-card:hover img {
    opacity: 1;
    transform: scale(1.06);
}

/* Keyframes */
@keyframes marquee-ltr {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-rtl {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .clients-section {
        padding: 2.5rem 0;
    }
    .clients-label {
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    .clients-label-inner::after {
        width: 15px;
    }
    .client-logo-card {
        width: 110px;
        height: 54px;
        padding: 10px 14px;
    }
    .clients-marquee-row {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .clients-section {
        padding: 2rem 0;
    }
    .clients-label-inner {
        gap: 6px;
    }
    .clients-label-inner::after {
        display: none; /* Hide decorative lines on very small screens to give text more space */
    }
    .client-logo-card {
        width: 90px;
        height: 46px;
        padding: 8px 10px;
    }
    .clients-marquee-row {
        gap: 1.2rem;
    }
}
