/* ============================================================
   Dolo-650 Plastic Neutral — Landing Page Redesign v2
   Theme: Deep Blue gradients + Dolo Red accent
   Fonts: Plus Jakarta Sans (display) / Inter (body)
   Motion: Framer-style scroll reveals + ambient gradient blobs
   ============================================================ */

:root {
    --blue-950: #04293a;
    --blue-900: #063a52;
    --blue-800: #085c81;
    --blue-700: #0374a6;
    --blue-600: #038fcd;
    --blue-500: #22a7e0;
    --sky-400:  #5cc9f5;
    --blue-100: #d3eefb;
    --blue-50:  #f0f9fe;
    --red:       #de2b1b;
    --red-dark:  #b91f12;
    --ink:       #0b222e;
    --ink-soft:  #47616e;
    --paper:     #fafdfe;
    --white:     #ffffff;
    --grad-accent: linear-gradient(120deg, var(--blue-600), var(--sky-400));
    --grad-text: linear-gradient(110deg, var(--blue-800) 20%, var(--blue-600) 70%, var(--sky-400) 110%);
    --radius:    18px;
    --shadow-sm: 0 2px 10px rgba(6, 42, 61, .07);
    --shadow-md: 0 12px 34px rgba(6, 42, 61, .13);
    --ease-out:  cubic-bezier(.16, 1, .3, 1);
    --font-display: "Plus Jakarta Sans", sans-serif;
    --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: min(1180px, 92%);
    margin-inline: auto;
}

section { padding: 88px 0; }

/* ============================================================
   Motion system (Framer-style)
   ============================================================ */

/* Scroll reveal base */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
    will-change: opacity, transform;
}

.reveal.from-left  { transform: translateX(-44px); }
.reveal.from-right { transform: translateX(44px); }
.reveal.zoom       { transform: scale(.92) translateY(20px); }

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* Stagger delays */
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .22s; }
.d3 { transition-delay: .34s; }
.d4 { transition-delay: .46s; }

/* Hero load-in */
@keyframes heroUp {
    from { opacity: 0; transform: translateY(38px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@keyframes blobDrift {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(60px, -40px) scale(1.15); }
    66%  { transform: translate(-40px, 30px) scale(.92); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes blobDrift2 {
    0%   { transform: translate(0, 0) scale(1); }
    40%  { transform: translate(-70px, -30px) scale(1.1); }
    75%  { transform: translate(50px, 40px) scale(.95); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue-600);
    background: var(--blue-100);
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.sec-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 18px;
    background: var(--grad-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--blue-800); /* fallback */
}

.sec-desc {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 62ch;
}

/* ---------- Header ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 252, 254, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(6, 42, 61, .08);
}

header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-600) 35%, var(--sky-400) 65%, transparent);
    opacity: .55;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img { height: 75px; width: auto; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-list a {
    position: relative;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    padding: 9px 16px;
    border-radius: 999px;
    transition: background .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out);
}

.nav-list a:hover {
    background: var(--blue-100);
    color: var(--blue-800);
    transform: translateY(-1px);
}

.nav-list a.active {
    background: var(--grad-accent);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(3, 143, 205, .35);
}

/* Mobile hamburger */
.mob-hamber {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(6, 42, 61, .15);
    cursor: pointer;
    position: relative;
}

.mob-hamber .line,
.mob-hamber .line::before,
.mob-hamber .line::after {
    content: "";
    position: absolute;
    left: 9px;
    width: 20px;
    height: 2px;
    background: var(--blue-800);
    border-radius: 2px;
    transition: all .25s var(--ease-out);
}

.mob-hamber .line { top: 19px; }
.mob-hamber .line::before { top: -6px; left: 0; }
.mob-hamber .line::after { top: 6px; left: 0; }

.mob-hamber.closebtn .line { background: transparent; }
.mob-hamber.closebtn .line::before { top: 0; transform: rotate(45deg); }
.mob-hamber.closebtn .line::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.banner-sec {
    position: relative;
    overflow: hidden;
    padding: 100px 0 110px;
    background: linear-gradient(150deg, var(--blue-900) 0%, var(--blue-700) 55%, var(--blue-600) 100%);
    color: var(--white);
}

/* Ambient animated gradient blobs */
.banner-sec::before,
.banner-sec::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.banner-sec::before {
    width: 620px;
    height: 620px;
    top: -220px;
    right: -140px;
    background: radial-gradient(circle at 30% 30%, rgba(3, 143, 205, .55), rgba(92, 201, 245, .25) 60%, transparent 75%);
    animation: blobDrift 16s ease-in-out infinite;
}

.banner-sec::after {
    width: 480px;
    height: 480px;
    bottom: -200px;
    left: -140px;
    background: radial-gradient(circle at 60% 40%, rgba(222, 43, 27, .28), rgba(34, 167, 224, .22) 55%, transparent 75%);
    animation: blobDrift2 20s ease-in-out infinite;
}

.banner-sec .container { position: relative; z-index: 1; }

.banner-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: center;
}

.banner-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.2vw, 46px);
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: -.01em;
    animation: heroUp .9s var(--ease-out) both;
}

.banner-title .brand-chip {
    display: inline-block;
    font-family: var(--font-display);
    color: var(--red);
    background: var(--white);
    padding: 1px 14px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease-out);
}

.banner-title .brand-chip:hover { transform: scale(1.05) rotate(-1deg); }

.banner-desc {
    margin-top: 22px;
    font-size: 19px;
    color: rgba(255, 255, 255, .82);
    max-width: 48ch;
    animation: heroUp .9s var(--ease-out) .18s both;
}

.img-wrapper {
    position: relative;
    animation: heroUp 1s var(--ease-out) .3s both;
}

.img-wrapper > img {
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
    transition: transform .5s var(--ease-out);
}

.img-wrapper:hover > img { transform: translateY(-6px) scale(1.015); }

.img-capsule {
    position: absolute;
    z-index: 2;
    top: -20px;
    left: -26px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--blue-800);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 10px 18px 10px 12px;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    animation: floaty 4.5s ease-in-out infinite;
}

.img-capsule .capsule-img { width: 26px; height: 26px; }

/* ---------- Initiative / Projects ---------- */
.project-drive { background: var(--paper); }

.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head .sec-desc { margin-inline: auto; }

.initiative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 26px;
    align-items: start;
}

.video-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--blue-900);
    box-shadow: var(--shadow-md);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

.video-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 2px;
    background: var(--grad-accent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s var(--ease-out);
    pointer-events: none;
}

.video-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(6, 42, 61, .25); }
.video-card:hover::before { opacity: 1; }

.video-card video {
    width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
    object-position: top;
}

.project-cards { display: grid; gap: 22px; }

.project-card {
    background: var(--white);
    border: 1px solid rgba(6, 42, 61, .08);
    border-left: 5px solid var(--blue-600);
    border-radius: var(--radius);
    padding: 26px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.project-card.accent-red { border-left-color: var(--red); }

.drive-title {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 800;
    color: var(--blue-800);
    margin-bottom: 10px;
}

.project-card.accent-red .drive-title { color: var(--red-dark); }

.drive-desc { font-size: 15.5px; color: var(--ink-soft); }

/* ---------- Impact widget ---------- */
.impact-sec {
    position: relative;
    background: var(--blue-50);
    padding: 64px 0;
    overflow: hidden;
}

.impact-sec::before {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    top: -180px;
    left: -160px;
    border-radius: 50%;
    filter: blur(90px);
    background: radial-gradient(circle, rgba(3, 143, 205, .16), transparent 70%);
    animation: blobDrift 18s ease-in-out infinite;
    pointer-events: none;
}

.rpg-widget {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

/* ---------- Cleanup drive ---------- */
.cleanup-drive { background: var(--paper); }

.cleanup-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.video-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}

.video-wrap:hover { transform: translateY(-6px); box-shadow: 0 22px 52px rgba(6, 42, 61, .22); }

.video-wrap video {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
}

.drive-info-container { margin-top: 36px; }

.drive-stats {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 22px;
}

.drive-info {
    background: linear-gradient(160deg, var(--white) 0%, var(--blue-50) 100%);
    border: 1px solid rgba(3, 143, 205, .14);
    border-radius: var(--radius);
    padding: 26px 26px 22px;
    height: 100%;
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.drive-info:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.d-info-title {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(120deg, var(--red), #ff6b4a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--red); /* fallback */
}

.d-info-desc { font-size: 15px; color: var(--ink-soft); }

/* ---------- Gallery slider ---------- */
.gallery-slider {
    padding: 0 0 88px;
    background: var(--paper);
}

.dolo-slider { padding: 10px 0 20px; }

.gal-slide { overflow: hidden; border-radius: var(--radius); }

.gal-slide img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .6s var(--ease-out);
}

.gal-slide:hover img { transform: scale(1.06); }

.swiper-button-next,
.swiper-button-prev {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-md);
    color: var(--blue-800);
    transition: background .3s var(--ease-out), color .3s var(--ease-out), transform .3s var(--ease-out);
}

.swiper-button-next::after,
.swiper-button-prev::after { font-size: 17px; font-weight: 800; }

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--grad-accent);
    color: var(--white);
    transform: scale(1.08);
}

/* ---------- Awards ---------- */
.awards-sec {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
    color: var(--white);
}

.awards-sec::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    top: -200px;
    right: -160px;
    border-radius: 50%;
    filter: blur(90px);
    background: radial-gradient(circle, rgba(92, 201, 245, .3), rgba(3, 143, 205, .2) 55%, transparent 75%);
    animation: blobDrift2 18s ease-in-out infinite;
    pointer-events: none;
}

.awards-sec .container { position: relative; z-index: 1; }

.awards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.award-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    margin-bottom: 22px;
    animation: floaty 5s ease-in-out infinite;
}

.award-icon img { width: 44px; height: auto; }

.awards-sec .sec-title {
    background: linear-gradient(110deg, #ffffff 30%, var(--sky-400) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--white); /* fallback */
}

.awards-sec .sec-desc { color: rgba(255, 255, 255, .82); }

.awards-img img {
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
    transition: transform .5s var(--ease-out);
}

.awards-img:hover img { transform: translateY(-6px) scale(1.015); }

/* ---------- Footer ---------- */
footer {
    background: var(--blue-950);
    color: rgba(255, 255, 255, .75);
    /*padding: 34px 0;*/
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

    .footer-content .logo img {
        height: 75px;
        width: auto;
    }

.footer-content p { font-size: 14px; }

/* ---------- Cookie consent ---------- */
.cookie-banner {
    position: fixed;
    z-index: 200;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%, 140%);
    width: min(680px, 92%);
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: rgba(6, 58, 82, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 18px 48px rgba(6, 42, 61, .45);
    color: rgba(255, 255, 255, .9);
    opacity: 0;
    transition: transform .7s var(--ease-out), opacity .7s var(--ease-out);
}

.cookie-banner.visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

.cookie-banner p {
    font-size: 14px;
    line-height: 1.55;
    flex: 1;
}

.cookie-accept {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    background: var(--grad-accent);
    border: none;
    border-radius: 999px;
    padding: 11px 26px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(3, 143, 205, .4);
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}

.cookie-accept:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 24px rgba(3, 143, 205, .5);
}

@media (max-width: 575px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 14px;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    section { padding: 64px 0; }

    .mob-hamber { display: block; }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: var(--paper);
        border-bottom: 1px solid rgba(6, 42, 61, .1);
        padding: 12px 4%;
        box-shadow: var(--shadow-md);
        display: none;
    }

    .nav-list.show { display: flex; }
    .nav-list a { display: block; text-align: center; }

    .banner-grid,
    .initiative-grid,
    .cleanup-grid,
    .awards-grid { grid-template-columns: 1fr; }

    .banner-sec { padding: 64px 0 80px; }
    .img-wrapper { max-width: 460px; margin: 24px auto 0; }
    .img-capsule { left: -8px; }

    .video-wrap video { height: 420px; }
    .gal-slide img { height: 300px; }
}

@media (max-width: 575px) {
    .drive-stats { grid-template-columns: 1fr; }
    .banner-title { font-size: 28px; }
    .gal-slide img { height: 240px; }
    .video-wrap video { height: 340px; }
}
