@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

.intro-block {
    background-color: #DBFFFF !important;
    min-height: 100vh;
}

.title {
    color: #00A4E2;
    font-weight: 900;
    font-size: clamp(24px, 4vw, 38px);
}

.introText {
    color: #0EA5DE;
    font-weight: 600;
    font-size: 16px;
}

.downloadText {
    color: #0E4961;
    font-size: 26px;
    font-family: "Roboto Condensed", sans-serif;
    font-style: italic;
}

.achievementBlock {
    min-height: 100vh;
    background: linear-gradient(60deg, #DA3F00 15%, #00E8D6 100%);
}

.count {
    font-weight: 800;
    font-size: 38px;
    color: #00A4E2;
}

.countTitle {
    color: #797A7E;
    font-weight: 500;
    font-size: 20px;
}

.divider {
    border-right: 2px solid #BFEEFF;
}

.cloudSection {
    min-height: 100vh;
    background-image: url('./../assets/images/homepage/cloud-bg.png');
    background-repeat: no-repeat;
    background-size: cover !important;
    position: relative;
    overflow: hidden;
    background-color: red;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.future-title {
    font-size: 38px;
}

.future-subtitle {
    font-size: 28px;
}

.future-desc {
    font-size: 20px;
}

.mobileCafe-image {
    display: block;
    max-width: 100%;
    height: auto;
    will-change: transform;
    transform-origin: 50% 80%;
    animation: cafeFloat var(--cDur, 16s) ease-in-out infinite;
    --cDx: 22px;
    --cDy: -16px;
    --cRot: .45deg;
    animation-delay: .4s;
}

@media (max-width: 576px) {
    .future-title {
        font-size: 28px;
    }

    .future-subtitle {
        font-size: 18px;
    }

    .future-desc {
        font-size: 14px;
    }

    .mobileCafe-image {
        --cDx: 28px;
        --cDy: -22px;
        --cDur: 14s;
    }
}

.newsPara {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 20px;
    font-weight: bold;
    color: #00A4E2;
    line-height: 1.2;
}

.newsDate {
    font-size: 20px;
    color: #797A7E;
    font-weight: 500;
}

.newsRoom {
    overflow-x: hidden;
}

/* Mobile (default): marquee + 1.5 cards visible */
.news-marquee {
    width: 100%;
    overflow: hidden;
    padding-bottom: 1rem;
}

.news-track {
    display: inline-flex;
    gap: 1.5rem;
    will-change: transform;
    animation: news-scroll linear infinite;
}

.news-card {
    flex: 0 0 60%;
    transition: transform .3s ease;
}

.news-card img {
    width: 100%;
    border-radius: 10px;
}

.news-marquee:hover .news-track {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .news-track {
        animation: none;
    }
}

/* Tablet & Desktop: disable marquee, show EXACTLY 3 per row */
@media (min-width: 768px) {
    .news-marquee {
        overflow: visible;
    }

    .news-track {
        animation: none !important;
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }

    .news-card {
        flex: 0 0 calc((100% - 2 * 1.5rem) / 3);
        transform: none !important;
    }
}

.news-scroll {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.news-scroll::-webkit-scrollbar {
    display: none;
}

.news-card {
    flex: 0 0 60%;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.news-card img {
    width: 100%;
    border-radius: 10px;
}

.news-card:hover {
    transform: scale(1.03);
}

@media (min-width: 768px) {
    .news-scroll {
        flex-wrap: wrap;
        overflow: visible;
    }

    .news-card {
        flex: 0 0 22%;
    }
}

.coffeeRevolution {
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('../assets/images/homepage/hot-coffee-surface-closeup.png');
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.coffeeRevolution-title {
    font-size: clamp(30px, 4vw, 60px);
    font-weight: 800;
    color: #0E4961;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typing 3s steps(30, end) forwards, blink 0.7s step-end infinite;
}

.coffeeRevolution-subtitle {
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: 500;
    font-style: italic;
    color: #0E4961;
}

.suggestionButton {
    font-size: 17px;
    text-decoration: none;
    background-color: #FFFBCA;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.suggestionButton:hover {
    background: #F9F273;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 164, 226, 0.3);
    color: darkgreen !important;
}


.coffeeRevolution.visible {
    opacity: 1;
    transform: translateY(0);
}

.coffeeRevolution-title {
    font-size: clamp(38px, 4vw, 60px);
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typing 3s steps(30, end) forwards, blink 0.7s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.stats-row {
    color: #003A3F;
}

.partners-block {
    background-color: #EBF6EE;
    height: 50vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    /* vertical center */
    align-items: center;
    /* horizontal center */
}

.brand-card {
    min-height: 280px !important;
    /* important */
}

.brand-card-spacer {
    height: 280px;
    /* important */
}

@media (min-width: 768px) {
    .brand-card-spacer {
        height: 280px;
    }
}

/* ==========================
   NEWS ROOM (MOBILE FRIENDLY)
========================== */

.newsRoom .news-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 0 0px 0 0px;
}

.newsRoom .news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.newsRoom .news-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.newsRoom .news-card-title {
    font-weight: 700;
    margin-bottom: 6px;
}

.newsRoom .news-card-desc {
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 576px) {
    .newsRoom .news-card {
        margin: 0 15px 0 15px;
    }

    .newsRoom .news-card-img {
        height: 200px;
    }

    .newsRoom .card-body {
        padding: 14px;
    }

    .newsRoom .card-footer {
        font-size: 13px;
    }
}

/* ==========================
   DISTRIBUTION PARTNERS
========================== */

.partners-block {
    overflow-x: hidden;
}

.partner-logo {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

/* Mobile polish */
@media (max-width: 576px) {
    .partner-logo {
        max-height: 90px;
    }

    .partners-block h3 {
        font-size: 20px;
    }
}