/* ============ RESET & BASE ============ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0d0d0d;
    --bg-card: #1a1a1a;
    --bg-card-featured: #2a2218;
    --text-primary: #e8e8e8;
    --text-secondary: #9a9a9a;
    --text-muted: #6a6a6a;
    --accent-orange: #e8842c;
    --accent-orange-glow: rgba(232, 132, 44, 0.15);
    --border-color: #2a2a2a;
    --nav-bg: rgba(13, 13, 13, 0.85);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 720px;
    --section-padding: 30px 24px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ============ AMBIENT GRADIENT BLOBS ============ */
.gradient-blob {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    width: 600px;
    height: 600px;
    opacity: 0.4;
    mix-blend-mode: screen;
}

.gradient-blob--brown {
    top: -120px;
    right: -100px;
    background: url('images/Brown-gradient.png') center/contain no-repeat;
    animation: floatBlob 18s ease-in-out infinite alternate;
}

.gradient-blob--green {
    bottom: -200px;
    left: -150px;
    background: url('images/Green-gradient.png') center/contain no-repeat;
    opacity: 0.2;
    animation: floatBlob 22s ease-in-out infinite alternate-reverse;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(30px, 20px) rotate(8deg);
    }
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: transparent;
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease, border-radius 0.35s ease;
}

.navbar--scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border-color);
    padding: 14px 24px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.navbar__logo {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    transition: opacity 0.2s;
}

.navbar__logo:hover {
    opacity: 0.8;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar__link {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.navbar__link:hover {
    color: var(--text-primary);
}

.navbar__btn {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    transition: background 0.2s, transform 0.15s;
}

.navbar__btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Hamburger */
.navbar__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.navbar__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.navbar__hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(13, 13, 13, 0.97);
    backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__link {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.mobile-menu__link:hover {
    color: var(--text-primary);
}

.mobile-menu__btn {
    font-size: 16px;
    font-weight: 500;
    padding: 12px 32px;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    margin-top: 12px;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px 24px 40px;
}

.hero__content {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 40px;
}

.hero__avatar-wrapper {
    flex-shrink: 0;
}

.hero__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.hero__text {
    padding-top: 8px;
}

.hero__title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.hero__highlight {
    color: var(--accent-orange);
}

.hero__subtitle {
    font-size: 15px;
    color: #ffffff;
    line-height: 1.6;
}

.hero__description {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
}

.hero__description p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ============ NOSTALGIA CARD ============ */
.nostalgia-card {
    max-width: var(--max-width);
    margin: 24px auto 32px;
    padding: 24px 32px;
    background: rgba(40, 40, 40, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    text-align: center;
    position: relative;
    z-index: 1;
    transform: rotate(-1deg);
    transition: transform 0.3s ease, background 0.3s ease;
}

.nostalgia-card:hover {
    transform: rotate(0deg);
    background: rgba(50, 50, 50, 0.5);
}

.nostalgia-card p {
    font-family: 'Caveat', cursive;
    font-size: 26px;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 12px;
}

.nostalgia-card p:last-child {
    margin-bottom: 0;
}

/* ============ BRANDS ============ */
.brands {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 0 32px;
    text-align: center;
}

.brands__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    margin-bottom: 36px;
    letter-spacing: 0.02em;
    background: rgba(80, 80, 80, 0.38);
    box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.brands__marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%);
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%);
}

.brands__marquee {
    display: flex;
    width: max-content;
    animation: marqueeScroll 20s linear infinite;
}

.brands__marquee:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    100% {
        transform: translateX(-50%);
    }
}

.brands__strip {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 50px;
    /* Space before the duplicate strip starts */
}

.brands__item {
    display: flex;
    align-items: center;
    justify-content: center;
    /* opacity: 0.8;  Increased base brightness */
    transition: opacity 0.3s;
}

.brands__item img {
    height: 40px;
    /* Increased size */
    width: auto;
    max-width: none;
}

/* ============ ABOUT ============ */
.about {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--section-padding);
    text-align: center;
}

.about__label {
    position: sticky;
    top: 100px;
    z-index: 10;
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    margin-bottom: 40px;
    letter-spacing: 0.02em;
    background: rgba(80, 80, 80, 0.38);
    backdrop-filter: blur(8px);
    box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.about__cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about__card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 28px 24px;
    text-align: left;
    opacity: 0.35;
    transform: scale(0.98);
    transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease, background 0.5s ease;
}

/* Ensure the last card stays in flow at the bottom */
.about__card:last-child {
    margin-bottom: 0;
}

.about__card.active {
    opacity: 1;
    transform: scale(1);
    background: var(--bg-card-featured);
    border-color: rgba(232, 132, 44, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    z-index: 2; /* Ensure active card is above */
}

.about__card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.about__card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
    transition: background 0.5s ease, box-shadow 0.5s ease;
}

.about__card.active .about__card-dot {
    background: var(--accent-orange);
    box-shadow: 0 0 10px var(--accent-orange-glow);
}

.about__card-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.5s ease;
}

.about__card.active .about__card-title {
    color: var(--accent-orange);
}

.about__card-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    transition: color 0.5s ease;
}

.about__card.active .about__card-text {
    color: var(--text-secondary);
}

/* ============ PROCESS ============ */
.process {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--section-padding);
    text-align: center;
}

.process__label-wrapper {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 100px;
    z-index: 10;
    pointer-events: none;
}

.process__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    background: rgba(80, 80, 80, 0.38);
    backdrop-filter: blur(8px);
    box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
}

.process__title {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 64px;
}

.process__cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.process__card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 28px 24px;
    text-align: left;
    opacity: 0.35;
    transform: scale(0.98);
    transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease, background 0.5s ease;
}

.process__card.active {
    opacity: 1;
    transform: scale(1);
    background: var(--bg-card-featured);
    border-color: rgba(232, 132, 44, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    z-index: 2; /* Ensure active card is above */
}

.process__card-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
    transition: background 0.5s ease;
}

.process__card.active .process__card-header {
    background: var(--accent-orange);
}

.process__card-number {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.5s ease;
}

.process__card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.5s ease;
}

.process__card.active .process__card-number,
.process__card.active .process__card-title {
    color: #ffffff;
}

.process__card-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    transition: color 0.5s ease;
}

.process__card.active .process__card-text {
    color: var(--text-secondary);
}

/* ============ EXPERIENCE ============ */
.experience {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--section-padding);
    text-align: center;
}

.experience__label {
    position: sticky;
    top: 100px;
    z-index: 10;
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    margin-bottom: 40px;
    letter-spacing: 0.02em;
    background: rgba(80, 80, 80, 0.38);
    backdrop-filter: blur(8px);
    box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.experience__cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.experience__card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 32px 28px;
    text-align: left;
    opacity: 0.35;
    transform: scale(0.98);
    transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease, background 0.5s ease;
}

/* Ensure the last card stays in flow at the bottom */
.experience__card:last-child {
    margin-bottom: 0;
}

.experience__card.active {
    opacity: 1;
    transform: scale(1);
    background: var(--bg-card-featured);
    border-color: rgba(232, 132, 44, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    z-index: 2; /* Ensure active card is above */
}

.experience__date {
    font-size: 13px;
    color: var(--border-color);
    margin-bottom: 8px;
    font-weight: 500;
    transition: color 0.5s ease;
}

.experience__card.active .experience__date {
    color: var(--accent-orange);
}

.experience__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
    transition: color 0.5s ease;
}

.experience__card.active .experience__title {
    color: var(--text-primary);
}

.experience__role {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 20px;
    transition: color 0.5s ease;
}

.experience__card.active .experience__role {
    color: var(--accent-orange);
}

.experience__list {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.experience__list li {
    position: relative;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    padding-left: 20px;
    transition: color 0.5s ease;
}

.experience__card.active .experience__list li {
    color: var(--text-secondary);
}

.experience__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--border-color);
    transition: background 0.5s ease;
}

.experience__card.active .experience__list li::before {
    background: var(--text-muted);
}

.experience__list li strong {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.5s ease;
}

.experience__card.active .experience__list li strong {
    color: var(--text-primary);
}

/* ============ TESTIMONIALS ============ */
.testimonials {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--section-padding);
    text-align: center;
}

.testimonials__label-wrapper {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 100px;
    z-index: 10;
    pointer-events: none;
}

.testimonials__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    background: rgba(80, 80, 80, 0.38);
    backdrop-filter: blur(8px);
    box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
}

.testimonials__title {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 64px;
}

.testimonials__masonry {
    column-count: 2;
    column-gap: 24px;
}

@media (max-width: 600px) {
    .testimonials__masonry {
        column-count: 1;
    }
}

.testimonial__card {
    break-inside: avoid;
    margin-bottom: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial__card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.testimonial__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonial__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.testimonial__author {
    display: flex;
    flex-direction: column;
}

.testimonial__name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.testimonial__role {
    font-size: 13px;
    color: var(--text-muted);
}

.testimonial__text {
    font-size: 14.5px;
    color: #ffffff;
    line-height: 1.6;
}

.testimonial__text p {
    margin-bottom: 12px;
}

.testimonial__text p:last-child {
    margin-bottom: 0;
}

/* ============ FOOTER ============ */
.footer {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 24px 60px;
    border-top: 1px solid var(--border-color);
}

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

.footer__text {
    font-size: 13px;
    color: var(--text-muted);
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__link {
    font-size: 13px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer__link:hover {
    color: var(--text-primary);
}

/* ============ SCROLL REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .navbar {
        padding: 14px 20px;
    }

    .navbar--scrolled {
        padding: 12px 20px;
    }

    .navbar__links {
        display: none;
    }

    .navbar__hamburger {
        display: flex;
    }

    .hero {
        padding: 100px 20px 32px;
    }

    .hero__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hero__avatar {
        width: 90px;
        height: 90px;
    }

    .hero__title {
        font-size: 22px;
    }

    .about {
        padding: 60px 20px;
    }

    .about__card {
        padding: 22px 20px 20px;
    }

    .footer__content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 20px;
    }

    .hero__subtitle {
        font-size: 14px;
    }

    .brands__marquee {
        animation-duration: 18s;
    }
}