/* ================= Navbar ================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: var(--color-white);
}

.site-header .navbar {
    background-color: var(--color-white);
    min-height: var(--nav-height);
    padding: 0;
    transition: box-shadow 0.3s ease;
}

.site-header .navbar.scrolled {
    box-shadow: 0 10px 30px rgba(58, 77, 57, 0.22);
    border-bottom: 1px solid rgba(58, 77, 57, 0.15);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 4.5rem !important;
    width: auto;
}

.navbar-nav {
    gap: 2rem;
}

.navbar-nav .nav-link {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    padding: 0;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-primary-dark);
}

.dropdown-menu {
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.dropdown-item {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
}

.navbar .btn {
    font-size: 0.85rem;
    padding: 0.45rem 1.2rem;
    border-radius: 2rem;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.navbar .btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.navbar-toggler {
    border: none;
    padding: 0.4rem 0.6rem;
    font-size: 1.2rem;
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgb(58,77,57)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    background-color: var(--color-primary);
    border-radius: 0.9rem;
}

.navbar-toggler:hover .navbar-toggler-icon,
.navbar-toggler:focus .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ================= About Hero ================= */
.about-hero {
    position: relative;
    padding: 7.5rem 0 6rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: radial-gradient(900px 420px at 50% 30%, rgba(58, 77, 57, 0.10), transparent 60%),
        linear-gradient(180deg, #ffffff, var(--wash));
    overflow: hidden;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 58rem;
    margin: 0 auto;
    text-align: center;
}

.about-hero-content h1 {
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-size: clamp(2.2rem, 4.2vw, 3.3rem);
    color: var(--ink);
    margin-bottom: 0.9rem;
}

.about-hero-content p {
    max-width: 46rem;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.85;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.dot-field {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(58, 77, 57, 0.18) 1px, transparent 1px);
    background-size: 14px 14px;
    opacity: 0.10;
    mask-image: radial-gradient(circle at 50% 40%, #000 0 45%, transparent 70%);
}

.fx-icon {
    position: absolute;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 1.15rem;
    display: grid;
    place-items: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    color: #fff;
    animation: floaty linear infinite;
    will-change: transform;
}

.fx-icon i {
    font-size: 1.25rem;
}

.fx-icon.c1 {
    background: #3a4d39;
    top: 18%;
    left: 18%;
    animation-duration: 3.2s;
}

.fx-icon.c2 {
    background: #e3a53a;
    top: 16%;
    right: 20%;
    animation-duration: 3.8s;
}

.fx-icon.c3 {
    background: #3fa18c;
    top: 44%;
    right: 8%;
    animation-duration: 3.4s;
}

.fx-icon.c4 {
    background: #e05a3b;
    bottom: 18%;
    right: 22%;
    animation-duration: 4.0s;
}

.fx-icon.c5 {
    background: #3fa18c;
    bottom: 16%;
    left: 22%;
    animation-duration: 3.6s;
}

.fx-icon.c6 {
    background: #e3a53a;
    top: 50%;
    left: 8%;
    animation-duration: 3.5s;
}

@keyframes floaty {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -10px, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fx-icon {
        animation: none !important;
    }
}

/* ================= MV cards ================= */
.mv-section {
    background: var(--wash);
    padding: 4.5rem 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.mv-card {
    border-radius: 1.4rem;
    padding: 1.8rem;
    color: #fff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 60%);
    opacity: .9;
}

.mv-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.35));
    z-index: 0;
}

.mv-card>* {
    position: relative;
    z-index: 1;
}

.mv-ic {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.16);
    margin-bottom: 1.1rem;
}

.mv-card h3 {
    font-weight: 900;
    margin-bottom: 0.7rem;
    color: #fff;
}

.mv-card p {
    margin: 0;
    opacity: 0.92;
    line-height: 1.7;
    color: #fff;
}

.mv-1 {
    background: linear-gradient(135deg, #2e3e2d, #3a4d39);
}

.mv-2 {
    background: linear-gradient(135deg, #e05a3b, #e3a53a);
}

.mv-3 {
    background: linear-gradient(135deg, #3fa18c, #3a4d39);
}

/* ================= Values ================= */
.values {
    background: var(--wash);
    padding: 5.8rem 0;
}

.values-head {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto 2.2rem;
}

.values-head h2 {
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.values-head p {
    margin: 0;
    color: var(--muted);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.1rem;
}

.value-item {
    position: relative;
    overflow: hidden;
    border-radius: 1.4rem;
    padding: 1.6rem 1.4rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(58, 77, 57, 0.10);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.06);
    transform: translateY(0);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.value-item::before {
    content: "";
    position: absolute;
    inset: -60% -40%;
    background: radial-gradient(circle at 30% 25%, rgba(58, 77, 57, 0.16), transparent 55%);
    opacity: 0;
    transition: opacity .25s ease;
}

.value-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(58, 77, 57, 0.55), rgba(227, 165, 58, 0.35)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .25s ease;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.12);
    border-color: rgba(58, 77, 57, 0.22);
}

.value-item:hover::before {
    opacity: 1;
}

.value-item:hover::after {
    opacity: 1;
}

.value-ic {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1.15rem;
    display: grid;
    place-items: center;
    background: rgba(58, 77, 57, 0.10);
    color: var(--color-primary);
    box-shadow: inset 0 0 0 1px rgba(58, 77, 57, 0.12);
    transition: transform .25s ease, background-color .25s ease, color .25s ease;
}

.value-ic i {
    font-size: 1.25rem;
    transition: transform .25s ease;
}

.value-item:hover .value-ic {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

.value-item:hover .value-ic i {
    transform: rotate(-10deg) scale(1.05);
}

.value-item h4 {
    font-weight: 900;
    margin: 1rem 0 .45rem;
    color: var(--ink);
    font-size: 1.05rem;
}

.value-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: .95rem;
}

/* ================= Footer ================= */
.site-footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.85);
    padding: 4.5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand img {
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 50%;
}

.footer-brand p {
    max-width: 26rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.site-footer h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact i {
    margin-right: 0.6rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

/* ================= Responsive ================= */
@media (max-width: 991px) {
    .navbar-toggler {
        margin-left: auto;
    }
    
    .about-hero-bg {
        display: none;
    }


    .navbar-nav {
        gap: 1rem;
        margin-top: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }

    .navbar-brand img {
        height: 2.4rem;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-hero {
        padding: 5rem 0 4rem;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-contact i {
        margin-right: 0.4rem;
    }
}

@media (max-width: 900px) {
    .fx-icon {
        opacity: 0.65;
        filter: blur(0.2px);
    }

    .fx-icon.c1 {
        top: 6%;
        left: 4%;
    }

    .fx-icon.c2 {
        top: 6%;
        right: 4%;
    }

    .fx-icon.c3 {
        top: 70%;
        right: 2%;
    }

    .fx-icon.c6 {
        top: 70%;
        left: 2%;
    }

    .fx-icon.c4 {
        bottom: 6%;
        right: 18%;
    }

    .fx-icon.c5 {
        bottom: 6%;
        left: 18%;
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    

    .fx-icon {
        width: 2.7rem;
        height: 2.7rem;
        border-radius: 1rem;
    }

    .fx-icon.c1 {
        top: 10%;
        left: 4%;
    }

    .fx-icon.c2 {
        top: 10%;
        right: 4%;
    }

    .fx-icon.c3 {
        top: 60%;
        right: 2%;
    }

    .fx-icon.c6 {
        top: 60%;
        left: 2%;
    }

    .fx-icon.c4 {
        bottom: 12%;
        right: 14%;
    }

    .fx-icon.c5 {
        bottom: 12%;
        left: 14%;
    }
}