/* ============================================================
   Deval Enterprise LLP — website theme
   Palette taken from the company logo (blue / green / orange)
   ============================================================ */
:root {
    --dv-blue: #0b5ca8;
    --dv-blue-dark: #063f76;
    --dv-blue-light: #1a86d9;
    --dv-green: #23a24a;
    --dv-orange: #f07c13;
    --dv-sky: #eaf3fb;
    --dv-ink: #12263f;
    --dv-muted: #5b7186;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--dv-ink);
    background: #fff;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -.01em; }

/* ── Top bar ─────────────────────────────────────────────── */
.dv-topbar {
    background: linear-gradient(90deg, var(--dv-blue-dark), var(--dv-blue));
    color: #dbeafe;
    font-size: .82rem;
    padding: .5rem 0;
}
.dv-topbar a { color: #dbeafe; text-decoration: none; }
.dv-topbar a:hover { color: #fff; }

/* ── Navbar ──────────────────────────────────────────────── */
.dv-navbar {
    background: #fff;
    box-shadow: 0 6px 24px rgba(11, 92, 168, .10);
    padding: .6rem 0;
}
.dv-logo { height: 52px; width: auto; border-radius: .35rem; }
.dv-brand-text {
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.1;
    color: var(--dv-blue-dark);
}
.dv-brand-text span { color: var(--dv-green); }
.dv-brand-text small {
    display: block;
    font-size: .66rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--dv-muted);
}
.dv-navbar .nav-link {
    font-weight: 600;
    color: var(--dv-ink);
    padding: .5rem 1rem !important;
    border-radius: 2rem;
    transition: .2s;
}
.dv-navbar .nav-link:hover { color: var(--dv-blue); background: var(--dv-sky); }
.dv-navbar .nav-link.active { color: #fff; background: var(--dv-blue); }

/* ── Buttons ─────────────────────────────────────────────── */
.dv-btn-primary {
    background: var(--dv-blue);
    border: 1px solid var(--dv-blue);
    color: #fff;
    font-weight: 600;
    border-radius: 2rem;
    transition: .2s;
}
.dv-btn-primary:hover { background: var(--dv-blue-dark); border-color: var(--dv-blue-dark); color: #fff; }

.dv-btn-accent {
    background: var(--dv-orange);
    border: 1px solid var(--dv-orange);
    color: #fff;
    font-weight: 600;
    border-radius: 2rem;
    transition: .2s;
}
.dv-btn-accent:hover { background: #d86a07; border-color: #d86a07; color: #fff; }

.dv-btn-outline {
    border: 1px solid var(--dv-blue);
    color: var(--dv-blue);
    font-weight: 600;
    border-radius: 2rem;
    background: transparent;
    transition: .2s;
}
.dv-btn-outline:hover { background: var(--dv-blue); color: #fff; }

/* ── Sections ────────────────────────────────────────────── */
.dv-section { padding: 4.5rem 0; }
.dv-section-alt { background: var(--dv-sky); }

.dv-eyebrow {
    display: inline-block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--dv-green);
    margin-bottom: .5rem;
}
.dv-title { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .75rem; }
.dv-title-underline::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 4px;
    margin-top: .9rem;
    background: linear-gradient(90deg, var(--dv-blue), var(--dv-green));
}
.dv-lead { color: var(--dv-muted); line-height: 1.9; }

/* ── Hero ────────────────────────────────────────────────── */
.dv-hero {
    position: relative;
    background: linear-gradient(120deg, #063f76 0%, #0b5ca8 55%, #1a86d9 100%);
    color: #fff;
    padding: 5.5rem 0 6rem;
    overflow: hidden;
}
.dv-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: rgba(35, 162, 74, .22);
}
.dv-hero::before {
    content: "";
    position: absolute;
    left: -90px;
    bottom: -140px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(240, 124, 19, .18);
}
.dv-hero .container { position: relative; z-index: 2; }
.dv-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.15; }
.dv-hero p { color: #d7e8f9; font-size: 1.05rem; }
.dv-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 2rem;
    padding: .4rem 1rem;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.dv-hero-card {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 1.25rem;
    padding: 1.5rem;
    backdrop-filter: blur(6px);
}

/* ── Stats ───────────────────────────────────────────────── */
.dv-stat {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(11, 92, 168, .08);
    height: 100%;
}
.dv-stat i { font-size: 1.6rem; color: var(--dv-green); }
.dv-stat h3 { color: var(--dv-blue-dark); margin: .6rem 0 .1rem; font-size: 1.6rem; }
.dv-stat span { color: var(--dv-muted); font-size: .85rem; font-weight: 500; }

/* ── Feature / product cards ─────────────────────────────── */
.dv-card {
    background: #fff;
    border: 1px solid #e6eef7;
    border-radius: 1rem;
    padding: 1.6rem;
    height: 100%;
    transition: .25s;
}
.dv-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11, 92, 168, .14); border-color: transparent; }
.dv-card-icon {
    width: 54px;
    height: 54px;
    border-radius: .9rem;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, var(--dv-blue), var(--dv-blue-light));
    margin-bottom: 1rem;
}
.dv-card-icon.green { background: linear-gradient(135deg, var(--dv-green), #4cc471); }
.dv-card-icon.orange { background: linear-gradient(135deg, var(--dv-orange), #ffa94d); }

.dv-product-card {
    background: #fff;
    border: 1px solid #e6eef7;
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: .25s;
}
.dv-product-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(11, 92, 168, .14); }
.dv-product-media {
    height: 210px;
    background: var(--dv-sky);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.dv-product-media img { width: 100%; height: 100%; object-fit: contain; padding: .75rem; }
.dv-product-media i { font-size: 3rem; color: #b9d4ea; }
.dv-product-body { padding: 1rem 1.1rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.dv-chip {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--dv-blue);
    background: var(--dv-sky);
    border-radius: 2rem;
    padding: .22rem .7rem;
    margin-bottom: .5rem;
}
.dv-price { color: var(--dv-green); font-weight: 700; }

/* ── Category filter pills ───────────────────────────────── */
.dv-filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.dv-filter a {
    border: 1px solid #d7e5f2;
    border-radius: 2rem;
    padding: .38rem 1.05rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--dv-ink);
    text-decoration: none;
    background: #fff;
    transition: .2s;
}
.dv-filter a:hover { border-color: var(--dv-blue); color: var(--dv-blue); }
.dv-filter a.active { background: var(--dv-blue); border-color: var(--dv-blue); color: #fff; }

/* ── Page banner ─────────────────────────────────────────── */
.dv-banner {
    background: linear-gradient(120deg, #063f76, #0b5ca8);
    color: #fff;
    padding: 3.5rem 0;
}
.dv-banner h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: .4rem; }
.dv-banner .breadcrumb { --bs-breadcrumb-divider-color: #9cc6e8; margin: 0; }
.dv-banner .breadcrumb a { color: #cfe4f6; text-decoration: none; }
.dv-banner .breadcrumb-item.active { color: #fff; }

/* ── Contact ─────────────────────────────────────────────── */
.dv-contact-card {
    background: #fff;
    border: 1px solid #e6eef7;
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    transition: .25s;
}
.dv-contact-card:hover { box-shadow: 0 16px 36px rgba(11, 92, 168, .12); transform: translateY(-4px); }
.dv-contact-card a { color: var(--dv-ink); text-decoration: none; }
.dv-contact-card a:hover { color: var(--dv-blue); }

.dv-map {
    border: 0;
    width: 100%;
    height: 460px;
    border-radius: 1rem;
    filter: saturate(1.05);
}

.dv-form .form-control, .dv-form .form-select {
    border-radius: .7rem;
    border-color: #dbe7f3;
    padding: .7rem .9rem;
}
.dv-form .form-control:focus, .dv-form .form-select:focus {
    border-color: var(--dv-blue-light);
    box-shadow: 0 0 0 .2rem rgba(26, 134, 217, .15);
}

/* ── Footer ──────────────────────────────────────────────── */
.dv-footer {
    background: #082a4d;
    color: #b9cde0;
    padding: 3.5rem 0 0;
}
.dv-footer-logo { height: 56px; border-radius: .4rem; background: #fff; padding: .25rem .4rem; }
.dv-footer-title { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.dv-footer-links { list-style: none; padding: 0; margin: 0; }
.dv-footer-links li { margin-bottom: .5rem; }
.dv-footer-links a { color: #b9cde0; text-decoration: none; font-size: .88rem; }
.dv-footer-links a:hover { color: var(--dv-orange); }
.dv-social {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    text-decoration: none;
    transition: .2s;
}
.dv-social:hover { background: var(--dv-green); color: #fff; }
.dv-copy {
    margin-top: 2.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .82rem;
}

/* ── Hero slider ─────────────────────────────────────────── */
.dv-hero-slider { position: relative; }
.dv-slide {
    height: clamp(340px, 58vh, 560px);
    background-size: cover;
    background-position: center;
}
.carousel-item.active .dv-slide { animation: dvZoom 7s ease-out forwards; }
.dv-slide-empty { background: linear-gradient(120deg, #063f76, #0b5ca8 55%, #1a86d9); }
@keyframes dvZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.dv-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 40, 70, .92) 0%, rgba(6, 63, 118, .78) 45%, rgba(11, 92, 168, .35) 100%);
}
.dv-slide-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    max-width: 1140px;
}
.dv-slide-caption h1 { font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.15; max-width: 640px; }
.dv-slide-caption p { color: #d7e8f9; max-width: 520px; font-size: 1rem; }
.dv-hero-slider .carousel-indicators [data-bs-target] { width: 26px; height: 4px; border-radius: 4px; }

/* ── Highlight strip ─────────────────────────────────────── */
.dv-strip { background: var(--dv-sky); padding: 1.5rem 0; }
.dv-strip-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: #fff;
    border-radius: .9rem;
    padding: .9rem 1rem;
    height: 100%;
    box-shadow: 0 8px 22px rgba(11, 92, 168, .07);
}
.dv-strip-item i { font-size: 1.3rem; color: var(--dv-green); }
.dv-strip-item strong { display: block; font-size: .92rem; }
.dv-strip-item span { font-size: .76rem; color: var(--dv-muted); }

/* ── Category sidebar ────────────────────────────────────── */
.dv-sidebar {
    border: 1px solid #e6eef7;
    border-radius: 1rem;
    overflow: hidden;
    position: sticky;
    top: 96px;
}
.dv-sidebar-head {
    background: linear-gradient(90deg, var(--dv-blue-dark), var(--dv-blue));
    color: #fff;
    font-weight: 600;
    padding: .85rem 1rem;
}
.dv-sidebar-list { max-height: 560px; overflow-y: auto; background: #fff; }
.dv-cat-item {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .6rem .85rem;
    border-bottom: 1px solid #f1f5f9;
    color: var(--dv-ink);
    text-decoration: none;
    font-size: .9rem;
    transition: .2s;
}
.dv-cat-item:last-child { border-bottom: 0; }
.dv-cat-item i.fa-chevron-right { font-size: .7rem; opacity: .4; }
.dv-cat-item:hover { background: var(--dv-sky); color: var(--dv-blue); }
.dv-cat-item.active { background: var(--dv-blue); color: #fff; }
.dv-cat-item.active i { opacity: .9; }
.dv-cat-thumb {
    width: 40px;
    height: 40px;
    border-radius: .55rem;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--dv-sky);
    display: grid;
    place-items: center;
    color: var(--dv-blue);
}
.dv-cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dv-cat-name { font-weight: 600; }

/* ── Category cards (product page) ───────────────────────── */
.dv-cat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: .75rem;
}
.dv-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: .85rem .5rem;
    border: 1px solid #e6eef7;
    border-radius: .9rem;
    background: #fff;
    color: var(--dv-ink);
    text-decoration: none;
    font-size: .8rem;
    font-weight: 600;
    text-align: center;
    transition: .22s;
}
.dv-cat-card:hover { transform: translateY(-4px); border-color: var(--dv-blue); color: var(--dv-blue); box-shadow: 0 14px 30px rgba(11, 92, 168, .12); }
.dv-cat-card.active { border-color: var(--dv-blue); background: var(--dv-sky); color: var(--dv-blue-dark); }
.dv-cat-card-img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--dv-sky);
    display: grid;
    place-items: center;
    color: var(--dv-blue);
}
.dv-cat-card-img img { width: 100%; height: 100%; object-fit: cover; }
.dv-chip-img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; margin-right: .3rem; vertical-align: -3px; }
.dv-group-img { width: 38px; height: 38px; border-radius: .5rem; object-fit: cover; background: var(--dv-sky); }

/* ── CTA band ────────────────────────────────────────────── */
.dv-cta {
    background: linear-gradient(120deg, var(--dv-blue-dark), var(--dv-blue));
    color: #fff;
    padding: 3rem 0;
}
.dv-cta h2 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
.dv-cta a { color: #ffd8a8; }

/* ── Animations ──────────────────────────────────────────── */
.dv-anim { animation: dvUp .7s both; }
.dv-anim-d1 { animation-delay: .12s; }
.dv-anim-d2 { animation-delay: .24s; }
.dv-anim-d3 { animation-delay: .36s; }
@keyframes dvUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.dv-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.dv-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .dv-anim { animation: none; }
    .carousel-item.active .dv-slide { animation: none; }
    .dv-reveal { opacity: 1; transform: none; transition: none; }
}

/* ── WhatsApp chat widget ────────────────────────────────── */
.dv-wa-widget {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .6rem;
}
.dv-wa-float {
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
    transition: .2s;
}
.dv-wa-float:hover { transform: scale(1.06); }

.dv-wa-panel {
    width: 320px;
    max-width: calc(100vw - 36px);
    background: #ece5dd;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .25);
}
.dv-wa-head {
    display: flex;
    align-items: center;
    gap: .7rem;
    background: #075e54;
    color: #fff;
    padding: .85rem 1rem;
}
.dv-wa-head img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #fff; }
.dv-wa-head strong { display: block; font-size: .95rem; line-height: 1.2; }
.dv-wa-head span { font-size: .74rem; color: #cfe9e4; }
.dv-wa-close {
    margin-left: auto;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
}
.dv-wa-body { padding: 1.1rem 1rem 1.4rem; }
.dv-wa-bubble {
    position: relative;
    background: #fff;
    border-radius: .6rem;
    padding: .8rem .9rem .5rem;
    font-size: .9rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}
.dv-wa-bubble::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 10px;
    border: 7px solid transparent;
    border-right-color: #fff;
    border-left: 0;
}
.dv-wa-time { display: block; text-align: right; font-size: .68rem; color: #8d9aa3; }
.dv-wa-foot { padding: 0 1rem 1rem; }
.dv-wa-start {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: #25d366;
    color: #fff;
    font-weight: 600;
    border-radius: 2rem;
    padding: .7rem 1rem;
    text-decoration: none;
}
.dv-wa-start:hover { background: #1eb85a; color: #fff; }

@media (max-width: 991.98px) {
    .dv-sidebar { position: static; }
    .dv-sidebar-list { max-height: 340px; }
}

@media (max-width: 575.98px) {
    .dv-section { padding: 3rem 0; }
    .dv-logo { height: 42px; }
    .dv-brand-text { font-size: 1rem; }
    .dv-brand-text small { display: none; }
    .dv-slide { height: 330px; }
    .dv-slide-caption { padding-inline: 1.1rem; }
    .dv-cat-strip { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
    .dv-cat-card-img { width: 48px; height: 48px; }
    .dv-product-media { height: 150px; }
    .dv-map { min-height: 320px !important; }
    .dv-wa-panel { width: 290px; }
}
