﻿/* ==========================================================================
   Creative Yaka - New sections (Stats, Process, Tools, Blog, About video,
   WhatsApp button). Loaded AFTER style.css & mobile.css.
   ========================================================================== */

/* ---------- Shared section title ---------- */
.cy-section-title {
    font-family: 'Rocket Raccoon Free', sans-serif;
    font-size: 12rem;
    line-height: 0.9;
    color: #ffffff;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    letter-spacing: 1px;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

/* ==========================================================================
   ABOUT VIDEO (facade)
   ========================================================================== */
#about-video {
    position: relative;
    z-index: 20;
    background: linear-gradient(to bottom, #9ed580 0%, #e9d040 100%);
}

#about-video .container {
    max-width: 1600px;
}

.about-video {
    width: 100%;
    margin: 0 auto;
}

.about-video-facade {
    position: relative;
    cursor: pointer;
    border-radius: 18px;
}

.about-video-facade img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    transition: transform 0.5s ease;
}

.about-video-facade:hover img {
    transform: scale(1.04);
}

.about-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    color: #FF8C00;
    animation: playPulse 2s ease-in-out infinite;
}

.about-video-play::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.75);
    animation: playRing 2s ease-in-out infinite;
}

@keyframes playPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50%      { transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes playRing {
    0%       { transform: scale(1);    opacity: 0.8; }
    70%, 100% { transform: scale(1.65); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Gems floating around the About video thumbnail
   Parallax `translateY` is driven by JS on .gem; levitation + glow are CSS
   animations on the inner img so the two transforms never fight.
   -------------------------------------------------------------------------- */
.video-gems {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.gem {
    position: absolute;
    line-height: 0;
    will-change: transform;
    --gem-glow: 255, 215, 0;
}

.gem-ae, .gem-blur      { --gem-glow: 168, 85, 247; } /* purple */
.gem-ps2, .gem-ps-blur  { --gem-glow: 56, 132, 255; } /* blue */
.gem-ai, .gem-ai-blur   { --gem-glow: 255, 140, 0; }  /* orange */

/* Gems keep their original artwork size (desktop);
   levitation + soft glow are animated on the inner img.
   The glow animates each gem's own accent colour (purple/blue/orange). */
.gem img {
    width: auto;
    height: auto;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.25));
    animation: gemLevit 5s ease-in-out infinite, gemGlow 4s ease-in-out infinite;
}

/* Lightweight glowing particles around each gem. JS appends a few .gem-spark
   spans per gem with randomised size/position/direction/timing; the pop-and-
   fade animation is pure CSS with fixed keyframes (no vars inside keyframes,
   so it works in every browser). Inherits --gem-glow from its parent .gem. */
.gem-spark {
    position: absolute;
    width: var(--ss, 7px);
    height: var(--ss, 7px);
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, rgba(var(--gem-glow), 0.95) 42%, transparent 70%);
    box-shadow: 0 0 8px 2px rgba(var(--gem-glow), 0.75);
    opacity: 0;
    pointer-events: none;
    left: var(--sx, 50%);
    top: var(--sy, 50%);
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    animation-fill-mode: backwards;
    animation-duration: var(--sd, 2.8s);
    animation-delay: var(--sdel, 0s);
    animation-name: gemSparkN;
}

@keyframes gemSparkN {
    0%, 100% { opacity: 0; transform: translate(0, 0) scale(0.2); }
    12%      { opacity: 1; }
    52%      { opacity: 0; transform: translate(10px, -26px) scale(1); }
}

@keyframes gemSparkS {
    0%, 100% { opacity: 0; transform: translate(0, 0) scale(0.2); }
    12%      { opacity: 1; }
    52%      { opacity: 0; transform: translate(-12px, 26px) scale(1); }
}

@keyframes gemSparkE {
    0%, 100% { opacity: 0; transform: translate(0, 0) scale(0.2); }
    12%      { opacity: 1; }
    52%      { opacity: 0; transform: translate(28px, 4px) scale(1); }
}

@keyframes gemSparkW {
    0%, 100% { opacity: 0; transform: translate(0, 0) scale(0.2); }
    12%      { opacity: 1; }
    52%      { opacity: 0; transform: translate(-28px, -2px) scale(1); }
}

/* ---------------- POSITIONS ---------------- */
/* ---- LEFT SIDE ---- */
/* Ae-Gem.png overlapping, left-middle of the thumbnail */
.gem-ae { left: 0; top: 30%; }
.gem-ae img { width: 290px; }

/* Ps-Gem-Blured.png below Ae-Gem.png */
.gem-ps-blur { left: -50px; top: 72%; }
.gem-ps-blur img { width: 182px; }

/* Ai-Gem-Blured.png above Ae-Gem.png */
.gem-ai-blur { left: -10px; top: 10%; }
.gem-ai-blur img { width: 139px; }

/* ---- RIGHT SIDE ---- */
/* Ps-Gem.png overlapping the right-top of the thumbnail */
.gem-ps2 { right: -20px; top: 2%; }
.gem-ps2 img { width: 295px; }

/* Ai-Gem.png right-bottom of the thumbnail */
.gem-ai { right: -50px; top: 70%; }
.gem-ai img { width: 209px; }

/* Ae-Gem-Blured.png middle of the two right gems */
.gem-blur { right: -100px; top: 48%; }
.gem-blur img { width: 130px; }

/* Randomised, slow levitation + soft glow so no two gems sync up */
.gem:nth-child(2n) img { animation-duration: 5.7s, 4.6s; animation-delay: -0.7s, -0.4s; }
.gem:nth-child(3n) img { animation-duration: 6.6s, 5.3s; animation-delay: -1.6s, -1.1s; }
.gem:nth-child(4n) img { animation-duration: 4.8s, 3.9s; animation-delay: -2.3s, -1.7s; }
.gem:nth-child(5n) img { animation-duration: 7.2s, 5.8s; animation-delay: -3.1s, -2.4s; }

@keyframes gemLevit {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-15px) rotate(3deg); }
}

@keyframes gemGlow {
    0%, 100% {
        filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.25)) drop-shadow(0 0 0 rgba(var(--gem-glow), 0));
    }
    50% {
        filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 18px rgba(var(--gem-glow), 0.55));
    }
}

@media (max-width: 900px) {
    .gem-ae  { left: 0; top: 30%; }
    .gem-ae img { width: 150px; }
    .gem-ps-blur { left: -8px; top: 72%; }
    .gem-ps-blur img { width: 96px; }
    .gem-ai-blur { left: -8px; top: 4%; }
    .gem-ai-blur img { width: 72px; }
    .gem-ps2 { right: -12px; top: 1%; }
    .gem-ps2 img { width: 152px; }
    .gem-ai  { right: -28px; top: 70%; }
    .gem-ai img { width: 108px; }
    .gem-blur { right: -16px; top: 40%; }
    .gem-blur img { width: 68px; }
}

@media (max-width: 560px) {
    .gem-ae  { left: -4px; top: 30%; }
    .gem-ae img { width: 76px; }
    .gem-ps-blur { left: -6px; top: 72%; }
    .gem-ps-blur img { width: 48px; }
    .gem-ai-blur { left: -6px; top: 2%; }
    .gem-ai-blur img { width: 36px; }
    .gem-ps2 { right: -8px; top: 1%; }
    .gem-ps2 img { width: 78px; }
    .gem-ai  { right: -20px; top: 70%; }
    .gem-ai img { width: 56px; }
    .gem-blur { right: -10px; top: 40%; }
    .gem-blur img { width: 34px; }
}

/* ==========================================================================
   ABOUT & WORK CHARACTERS - restored to original upper positions
   ========================================================================== */
body.cinema-open {
    overflow: hidden;
}

#cinema-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99990;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#cinema-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.cinema-box {
    position: relative;
    width: min(88vw, 900px);
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
    background: #000;
    animation: cinemaIn 0.5s ease;
}

.cinema-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.cinema-close {
    position: absolute;
    top: 22px;
    right: 26px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: background 0.3s ease, transform 0.3s ease;
}

.cinema-close:hover {
    background: #FF8C00;
    border-color: #FF8C00;
    transform: scale(1.1);
}

@keyframes cinemaIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   ABOUT & WORK CHARACTERS - restored to original upper positions
   ========================================================================== */
.character-container-about img {
    max-width: 500px;
    height: auto;
    margin-top: -150px;
    margin-left: -120px;
}

.character-container-portfolio {
    top: 200px;
    right: -175px;
}

.character-container-portfolio img {
    max-width: 400px;
    margin-top: -250px;
    margin-left: -120px;
}

/* ==========================================================================
   STATS
   ========================================================================== */
/* ==========================================================================
   WHY YAKA? (merged Stats + Process, compact light layout) - uses the same
   title style as the Work section (.portfolio-title)
   ========================================================================== */
#method {
    background: #F5F5F5;
    position: relative;
    z-index: 1;
    padding-top: 100px;
    padding-bottom: 60px;
}

.method-title {
    text-align: center;
    margin-bottom: 0;
}

.method-title h2 {
    white-space: nowrap;
}

#method .section-heading {
    margin-bottom: 40px;
}

#method .cy-section-title {
    font-size: 5.5rem;
    color: #2b2b2b;
    text-shadow: none;
}

/* ----- Three columns: Process (left) | Mascot (center) | Stats (right) ----- */
.method-lower {
    margin-top: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 45px;
}

/* ----- Mascot: centered in the middle column, head overlapping the title ----- */
.method-mascot {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: -175px;
}

.method-mascot img {
    max-width: 380px;
    width: 100%;
    height: auto;
    display: inline-block;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.18));
}

/* ----- Stats: stacked one-by-one vertically (right column) ----- */
.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-self: start;
    align-self: start;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    padding: 0;
    padding-bottom: 60px;
    min-height: 104px;
}

.stat-item:last-child {
    padding-bottom: 0;
}

.stat-icon-circle {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e4e4e4;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stat-item:hover .stat-icon-circle {
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.stat-icon {
    font-size: 1.8rem;
    line-height: 1;
    color: #FF8C00;
}

.stat-text {
    flex: 1;
    min-width: 0;
    padding-top: 6px;
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.6rem;
    line-height: 1.1;
    color: #FF8C00;
    text-shadow: none;
    white-space: nowrap;
}

.stat-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: #666666;
    margin-top: 5px;
    text-transform: uppercase;
}

/* ----- Process: vertical list (left column) ----- */
.process-list {
    position: relative;
    padding-left: 12px;
    justify-self: end;
    max-width: 430px;
    margin-top: 20px;
}

.process-list .process-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    position: relative;
    padding: 0 0 28px 0;
    min-height: 128px;
    text-align: left;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.process-list .process-step:last-child {
    padding-bottom: 0;
}

.process-list.animate .process-step {
    opacity: 1;
    transform: translateY(0);
}

.process-list.animate .process-step:nth-child(2) { transition-delay: 0.1s; }
.process-list.animate .process-step:nth-child(3) { transition-delay: 0.2s; }
.process-list.animate .process-step:nth-child(4) { transition-delay: 0.3s; }
.process-list.animate .process-step:nth-child(5) { transition-delay: 0.4s; }
.process-list.animate .process-step:nth-child(6) { transition-delay: 0.5s; }

.process-step-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e4e4e4;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    color: #FF8C00;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.process-step:hover .process-step-icon {
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.process-step-number {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FF8C00;
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.process-step-text {
    flex: 1;
    padding-top: 6px;
}

.process-step-title {
    font-family: 'Rocket Raccoon Free', sans-serif;
    font-size: 1.9rem;
    color: #2b2b2b;
    text-shadow: none;
    margin-bottom: 4px;
}

.process-step-desc {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    color: #666666;
    max-width: 205px;
}

/* ==========================================================================
   TOOLS (inside Work section)
   ========================================================================== */
.tools-block {
    position: relative;
    z-index: 20; /* above the About character (character-img z-index: 10) */
    margin-top: 30px;
    width: 100%;
}

.tools-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.7rem;
    font-weight: normal;
    letter-spacing: 2px;
    color: #F3FB00;
    text-align: center;
    margin-bottom: 12px;
}

.tools-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 82px;
    transition: transform 0.35s ease;
    cursor: default;
}

.tool-item:hover {
    transform: translateY(-6px) scale(1.08);
}

.tool-item img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
}

.tool-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    color: #666;
    text-align: center;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tool-item:hover .tool-name {
    opacity: 1;
    transform: translateY(0);
    color: #ffffff;
}

/* ==========================================================================
   BLOG
   ========================================================================== */
#blog {
    background: linear-gradient(135deg, #FF8C00, #FFD700);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.blog-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    display: block;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.blog-card-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f5;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}

.blog-card-body {
    padding: 20px 22px 24px;
}

.blog-card-date {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.95rem;
    color: #FF8C00;
    letter-spacing: 1.5px;
}

.blog-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.9rem;
    line-height: 1.1;
    color: #333;
    margin: 7px 0 6px;
}

.blog-card-excerpt {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.05rem;
    line-height: 1.45;
    color: #666;
}

.blog-readmore {
    display: inline-block;
    margin-top: 14px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    padding: 9px 20px;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover .blog-readmore {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(255, 140, 0, 0.45);
}

/* ==========================================================================
   WHATSAPP BUTTON (fixed bottom-right)
   ========================================================================== */
.whatsapp-btn {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9000;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.12);
}

.whatsapp-btn svg {
    width: 34px;
    height: 34px;
    fill: #ffffff;
    display: block;
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.5);
    animation: waPulse 2.4s ease-out infinite;
}

@keyframes waPulse {
    0%   { transform: scale(1); opacity: 0.55; }
    100% { transform: scale(1.7); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #25D366;
    color: #ffffff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 30px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-btn:hover .whatsapp-tooltip,
.whatsapp-tooltip.show {
    opacity: 1;
}

/* Raise above footer near page bottom */
.whatsapp-raised {
    bottom: 90px;
}

/* ==========================================================================
   BLOG POST PAGE
   ========================================================================== */
.blog-post-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 60px;
}

.blog-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 8000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.blog-nav-logo {
    font-family: 'Rocket Raccoon Free', sans-serif;
    font-size: 1.5rem;
    color: #FF8C00;
    text-decoration: none;
    letter-spacing: 1px;
}

.blog-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-nav ul a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    color: #333;
    text-decoration: none;
    transition: color 0.25s ease;
}

.blog-nav ul a:hover,
.blog-nav ul a.active {
    color: #FF8C00;
}

.blog-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

.blog-footer {
    text-align: center;
    padding: 45px 20px 80px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    color: #999;
}

.blog-footer .heart-pulse {
    color: #FF8C00;
}

@media (max-width: 768px) {
    .blog-nav { padding: 14px 18px; }
    .blog-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 18px 25px;
        gap: 16px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    }
    .blog-nav ul.open { display: flex; }
    .blog-nav-toggle { display: block; }
    .blog-post-wrap { padding: 100px 16px 40px; }
}

.blog-post-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-post-header h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4.5rem;
    line-height: 0.95;
    background: linear-gradient(to right, #53dac1, #e9d040);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 20px;
}

.blog-post-date {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #FF8C00;
    margin-top: 12px;
}

.blog-post-hero {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}

.blog-post-hero img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.blog-post-content {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.35rem;
    line-height: 1.7;
    color: #444;
    background: #fdf7ec;
    border-radius: 18px;
    padding: 40px 45px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 35px;
}

.blog-post-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: #FF8C00;
    margin: 30px 0 10px;
}

.blog-post-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    color: #333;
    margin: 24px 0 8px;
}

.blog-post-content p {
    margin-bottom: 16px;
}

.blog-post-content strong { color: #333; }
.blog-post-content em { color: #FF8C00; }
.blog-post-content a { color: #FF8C00; text-decoration: underline; }
.blog-post-content ul, .blog-post-content ol { margin: 0 0 16px 24px; }
.blog-post-content li { margin-bottom: 6px; }
.blog-post-content img { border-radius: 12px; max-width: 100%; height: auto; margin: 10px 0; }
.blog-post-content blockquote {
    border-left: 4px solid #FFD700;
    background: rgba(255, 215, 0, 0.12);
    padding: 14px 20px;
    border-radius: 0 12px 12px 0;
    margin: 0 0 16px 0;
    font-style: italic;
    color: #555;
}

.blog-post-back {
    display: inline-block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1.5px;
    color: #fff;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-back:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 22px rgba(255, 140, 0, 0.45);
}

/* blog page nav scrolled bg */
body.blog-page nav.nav-scrolled .nav-links {
    background: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   RESPONSIVE (mobile/tablet)
   ========================================================================== */
@media (max-width: 1024px) {
    .about-video { margin: 0 auto; }
    .about-video-play { width: 66px; height: 66px; font-size: 1.5rem; }

    .cy-section-title { text-align: center; font-size: 4rem; }
    #method .cy-section-title { font-size: 3.4rem; }
    .section-heading { margin-bottom: 35px; }

    .stat-number { font-size: 3.6rem; }
    .stats-grid { gap: 18px; }
    .method-mascot img { max-width: 320px; }

    .tools-block { margin-top: 18px; }

    .blog-card-title { font-size: 1.6rem; }

    .whatsapp-btn { width: 52px; height: 52px; right: 16px; bottom: 16px; }
    .whatsapp-btn svg { width: 28px; height: 28px; }
    .whatsapp-raised { bottom: 80px; }

    .blog-post-header h1 { font-size: 2.8rem; }
    .blog-post-content { padding: 25px 20px; font-size: 1.2rem; }
}

@media (max-width: 900px) {
    /* Method stacks vertically: Mascot -> Process -> Stats */
    .method-lower {
        grid-template-columns: 1fr;
        gap: 34px;
        margin-top: 0;
    }

    .method-mascot {
        order: -1;
        margin-top: 0;
    }

    .method-title h2 {
        white-space: normal;
    }

    .method-mascot img {
        max-width: 340px;
    }

    .process-list {
        order: 0;
        justify-self: center;
        max-width: none;
        text-align: center;
        margin-top: 0;
    }

    .process-list .process-step {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 0;
    }

    .process-list .process-step-text {
        flex: 0 1 auto;
        min-width: 0;
        padding-top: 12px;
    }

    .stats-grid {
        order: 1;
        justify-self: center;
        align-self: center;
        text-align: center;
        margin-top: 0;
    }

    .stats-grid .stat-item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 0;
    }

    .stats-grid .stat-icon-circle {
        margin: 0;
    }

    .stats-grid .stat-text {
        flex: 0 1 auto;
    }

    .process-step-title {
        font-size: 1.8rem;
    }

    .process-step-desc {
        max-width: none;
    }

    /* Tools: horizontal scrollable row on mobile/tablet */
    .tools-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 8px 14px 14px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tools-row::-webkit-scrollbar { display: none; }

    .tool-item { width: 56px; flex-shrink: 0; }

    /* Inside the scroll container the lift/scale made the last icons jump
       and got clipped; keep a subtle scale on the icon itself instead. */
    .tool-item:hover { transform: none; }
    .tool-item img { width: 36px; height: 36px; transition: transform 0.35s ease; }
    .tool-item:hover img { transform: scale(1.15); }

    /* Ensure tool names always visible enough on touch */
    .tool-name { opacity: 1; transform: none; font-size: 0.72rem; letter-spacing: 0.5px; }
}

@media (max-width: 640px) {
    .stat-number { font-size: 2.2rem; }
    .stat-label { font-size: 1.1rem; }
    .blog-grid { grid-template-columns: 1fr; }

    .method-mascot img { max-width: 260px; }
    .process-list { padding-left: 4px; }
    .process-step-icon { width: 80px; height: 80px; font-size: 1.875rem; }
    .process-step-desc { font-size: 0.95rem; }
}

