/*
Theme Name: Digivolt Retail BPO
Theme URI: https://digivolt.us/
Author: Digivolt
Author URI: https://digivolt.us/
Description: Custom WordPress theme for digivolt.us — the only BPO built exclusively for retail. Converted from a static HTML/CSS landing page. Upload via WordPress > Appearance > Themes, or via cPanel by unzipping into wp-content/themes/.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digivolt
*/

/* =========================================================
   digivolt.us — Theme Stylesheet
   Brand: retail BPO / green palette
   ========================================================= */

:root {
    /* Brand colors */
    --green-900: #0b3d2e;   /* deep forest green (dark sections) */
    --green-800: #0f4d39;
    --green-700: #137a4f;   /* logo green */
    --green-600: #1ba35f;   /* primary action green */
    --green-500: #27c46b;   /* bright accent */
    --green-200: #b7e4c7;   /* mint */
    --green-100: #e3f4ea;   /* light mint bg */
    --green-50:  #f1faf4;

    --cream:     #fdf6e3;   /* hero background */
    --cream-2:   #fbeecb;
    --yellow:    #ffd23f;

    --ink:       #0d1b15;   /* heading text */
    --body:      #4a5a52;   /* body text */
    --muted:     #7d8a83;
    --line:      #e4ece8;
    --white:     #ffffff;

    --radius:    16px;
    --radius-sm: 10px;
    --radius-lg: 28px;
    --shadow-sm: 0 4px 14px rgba(11, 61, 46, 0.06);
    --shadow:    0 14px 40px rgba(11, 61, 46, 0.10);
    --shadow-lg: 0 30px 70px rgba(11, 61, 46, 0.14);

    --container: 1240px;
    --font-head: '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(--body);
    line-height: 1.65;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.2;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 96px 0; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 16px; }

.btn-primary {
    background: var(--green-600);
    color: #fff;
    box-shadow: 0 10px 24px rgba(27, 163, 95, 0.32);
}
.btn-primary:hover { background: var(--green-700); transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    color: var(--green-700);
    border-color: var(--green-600);
}
.btn-outline:hover { background: var(--green-600); color: #fff; }

.btn-light {
    background: #fff;
    color: var(--green-800);
}
.btn-light:hover { background: var(--yellow); color: var(--ink); transform: translateY(-2px); }

/* ---------- Eyebrows & headings ---------- */
.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 14px;
    position: relative;
    padding-left: 26px;
}
.eyebrow::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 18px; height: 2px;
    background: var(--green-600);
}
.center .eyebrow { padding-left: 0; }
.center .eyebrow::before { display: none; }

.section-title {
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.section-lead {
    font-size: 17px;
    color: var(--body);
    max-width: 640px;
}
.center .section-lead { margin: 0 auto; }

.section-head { margin-bottom: 56px; }
.section-head.center { display: flex; flex-direction: column; align-items: center; }

.section-mint { background: var(--green-50); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 84px;
}
.brand-logo { height: 64px; width: auto; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; }
.nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
    border-radius: 8px;
    transition: color .2s;
}
.nav-list > li > a i { font-size: 10px; opacity: .6; transition: transform .2s; }
.nav-list > li:hover > a { color: var(--green-600); }
.nav-list > li:hover > a i { transform: rotate(180deg); }

/* Dropdowns */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .22s ease;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
    display: block;
    padding: 9px 14px;
    font-size: 14.5px;
    color: var(--body);
    border-radius: 7px;
    transition: all .18s;
}
.dropdown li a:hover { background: var(--green-100); color: var(--green-700); }
.drop-label {
    padding: 10px 14px 4px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.has-dropdown.mega .dropdown { min-width: 280px; }

.header-cta { margin-left: 4px; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--ink);
    cursor: pointer;
    margin-left: auto;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 40px;
    min-height: 560px;
    padding-top: 40px;
    padding-bottom: 20px;
}
.hero-content { position: relative; z-index: 2; max-width: 560px; }
.hero-title {
    font-size: clamp(34px, 4.6vw, 58px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--ink);
    margin-bottom: 30px;
}
.hero-title .hl { color: var(--green-600); }
.hero-sub {
    display: block;
    margin-top: 12px;
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 600;
    color: var(--green-800);
}
.hero-image { position: relative; z-index: 2; display: flex; justify-content: center; }
.hero-image img { max-height: 540px; width: auto; }

/* soft green decorative shape behind hero image */
.hero-shape {
    position: absolute;
    right: -6%;
    top: 50%;
    transform: translateY(-50%);
    width: 620px;
    height: 620px;
    background: radial-gradient(circle at center, var(--green-200) 0%, rgba(183,228,199,0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.stat { text-align: center; }
.stat-num {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 30px;
    color: var(--green-600);
    letter-spacing: -0.02em;
}
.stat-label { font-size: 13px; color: var(--muted); font-weight: 500; }

.about-media { position: relative; }
.about-media > img:first-child {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    width: 100%;
}
.iso-badge {
    position: absolute;
    bottom: -22px;
    left: -22px;
    width: 120px;
    background: #fff;
    padding: 14px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

/* =========================================================
   INDUSTRIES
   ========================================================= */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.industry-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    transition: all .28s ease;
}
.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--green-200);
}
.industry-img {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 16/10;
    background: var(--green-100);
}
.industry-img img { width: 100%; height: 100%; object-fit: cover; }
.industry-card h3 { font-size: 19px; margin-bottom: 10px; font-weight: 700; }
.industry-card p { font-size: 14.5px; color: var(--body); }

/* =========================================================
   IMPACT (dark band)
   ========================================================= */
.section-dark {
    background: var(--green-900);
    background-image: radial-gradient(circle at 15% 20%, rgba(39,196,107,.14), transparent 45%),
                      radial-gradient(circle at 85% 80%, rgba(39,196,107,.10), transparent 45%);
    padding: 90px 0;
    color: #d9e8e0;
}
.section-head.light .section-title { color: #fff; }
.section-head.light .section-lead { color: #b9ccc2; }
.light-eyebrow { color: var(--green-500); }

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.impact-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    transition: all .28s;
}
.impact-card:hover { background: rgba(39,196,107,0.10); border-color: var(--green-500); }
.impact-num {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 46px;
    color: var(--green-500);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.impact-label { font-size: 14.5px; color: #c2d4ca; }
.impact-note { text-align: center; margin-top: 32px; font-size: 13.5px; color: #8fa89c; }
.impact-note span { color: var(--green-500); font-weight: 600; }

/* =========================================================
   CX ADVANTAGE
   ========================================================= */
.cx-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}
.cx-tagline {
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 600;
    color: var(--green-700);
    margin-bottom: 18px;
}
.cx-text p { margin-bottom: 18px; }
.cx-highlight {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green-100);
    color: var(--green-800);
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 999px;
    margin-bottom: 26px !important;
}
.cx-highlight i { color: var(--green-600); }

.cx-media { display: flex; justify-content: center; }
.cx-visual {
    width: 340px; height: 340px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--green-100), var(--green-200));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    box-shadow: inset 0 0 0 18px rgba(255,255,255,.6), var(--shadow);
}
.cx-visual i { font-size: 88px; color: var(--green-600); }
.cx-visual span { font-family: var(--font-head); font-weight: 700; color: var(--green-800); font-size: 18px; }

/* =========================================================
   EXPERTISE
   ========================================================= */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.expertise-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 30px;
    transition: all .28s;
}
.expertise-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ec-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: var(--green-100);
    color: var(--green-600);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
}
.expertise-card h3 { font-size: 20px; margin-bottom: 12px; }
.expertise-card p { font-size: 15px; }

/* =========================================================
   SERVICES
   ========================================================= */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.service-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    background: #fff;
    position: relative;
    transition: all .28s;
}
.service-card::before {
    content: "";
    position: absolute;
    left: 0; top: 28px; bottom: 28px;
    width: 4px;
    background: var(--green-500);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity .28s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.svc-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(140deg, var(--green-600), var(--green-500));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; }

/* =========================================================
   CASE STUDIES
   ========================================================= */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.case-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all .28s;
}
.case-card:hover { background: rgba(255,255,255,0.08); border-color: var(--green-500); transform: translateY(-4px); }
.case-card h3 { font-size: 17px; color: #fff; line-height: 1.4; margin-bottom: 20px; font-weight: 700; }
.case-metric {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
    margin-bottom: 18px;
}
.cm-num { font-family: var(--font-head); font-weight: 800; font-size: 38px; color: var(--green-500); }
.cm-label { font-size: 14px; color: #c2d4ca; }
.case-card p { font-size: 14px; color: #b9ccc2; margin-bottom: 20px; flex-grow: 1; }
.case-link {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14.5px;
    color: var(--green-500);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.case-link i { transition: transform .25s; }
.case-link:hover i { transform: translateX(5px); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.testi-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    position: relative;
}
.quote-icon { font-size: 28px; color: var(--green-200); margin-bottom: 16px; display: block; }
.testi-card p { font-size: 15px; color: var(--body); margin-bottom: 22px; }
.testi-card footer { border-top: 1px solid var(--line); padding-top: 16px; }
.testi-card footer strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 15.5px; }
.testi-card footer span { font-size: 13.5px; color: var(--muted); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-inner { max-width: 880px; }
.accordion { display: flex; flex-direction: column; gap: 14px; }
.acc-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    overflow: hidden;
    transition: border-color .25s;
}
.acc-item.open { border-color: var(--green-300, var(--green-200)); box-shadow: var(--shadow-sm); }
.acc-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    padding: 22px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
}
.acc-head i {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--green-100);
    color: var(--green-700);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    transition: all .3s;
}
.acc-item.open .acc-head i { background: var(--green-600); color: #fff; transform: rotate(45deg); }
.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.acc-body p { padding: 0 24px 24px; font-size: 15px; color: var(--body); }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
    background: linear-gradient(120deg, var(--green-700), var(--green-900));
    background-image: radial-gradient(circle at 80% 30%, rgba(39,196,107,.25), transparent 50%);
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 70px 24px;
    flex-wrap: wrap;
}
.cta-text h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 800; margin-bottom: 8px; }
.cta-text p { color: var(--green-200); font-size: 18px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: #08231b; color: #a8c0b5; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding: 72px 24px 56px;
}
.footer-logo { height: 32px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-brand p { font-size: 14.5px; max-width: 280px; }
.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 18px;
    font-weight: 700;
}
.footer-col h4.follow { margin-top: 26px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 14.5px; color: #a8c0b5; transition: color .2s; }
.footer-col ul li a:hover { color: var(--green-500); }
.footer-contact li {
    display: flex;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
}
.footer-contact li i { color: var(--green-500); margin-top: 4px; }
.social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    transition: all .25s;
}
.social a:hover { background: var(--green-600); transform: translateY(-2px); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { font-size: 13.5px; }
.footer-bottom ul { display: flex; gap: 24px; }
.footer-bottom ul li a { font-size: 13.5px; color: #a8c0b5; }
.footer-bottom ul li a:hover { color: var(--green-500); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .expertise-grid, .service-grid, .case-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    .main-nav {
        position: fixed;
        inset: 84px 0 auto 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 16px 24px 28px;
        max-height: calc(100vh - 84px);
        overflow-y: auto;
        margin-left: 0;
        display: none;
        box-shadow: var(--shadow);
    }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; gap: 2px; }
    .nav-list > li > a { padding: 14px 8px; justify-content: space-between; }
    .dropdown {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none;
        max-height: 0; overflow: hidden; padding: 0 8px;
        transition: max-height .3s;
    }
    .has-dropdown.open-mobile .dropdown { max-height: 700px; padding: 4px 8px 12px; }
    .header-cta { display: none; }
    .nav-toggle { display: block; }

    .hero-inner { grid-template-columns: 1fr; text-align: center; padding-bottom: 0; }
    .hero-content { margin: 0 auto; }
    .hero-image { order: -1; }
    .hero-image img { max-height: 360px; }
    .hero-shape { display: none; }

    .about-inner, .cx-inner { grid-template-columns: 1fr; gap: 40px; }
    .iso-badge { left: auto; right: 16px; }
    .about-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
    .section { padding: 64px 0; }
    .industry-grid, .impact-grid, .expertise-grid, .service-grid, .case-grid, .testi-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .cta-inner { flex-direction: column; text-align: center; }
}
