/*
Theme Name: VoxGenius Technologies
Theme URI: https://voxgeniustechnologies.com
Author: VoxGenius Technologies
Description: Digital agency theme with an editable home page (Customizer), animated number counters, heading text effects and replaceable dummy images.
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: voxgenius
*/

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--vg-bg,#fbf7ef);color:#26352d;font-family:'Inter',system-ui,sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{margin:0;padding:0;list-style:none}
h1,h2,h3,h4{margin:0;font-family:'Playfair Display',Georgia,serif;font-weight:500;line-height:1.15;color:var(--vg-dark,#0f2e22)}
p{margin:0}
.vg-wrap{width:min(1200px,100% - 40px);margin-inline:auto}
.vg-i{width:22px;height:22px;flex:none}

/* Buttons */
.vg-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;border-radius:999px;font-weight:600;font-size:14px;border:1.5px solid transparent;transition:transform .25s,box-shadow .25s,background .25s;cursor:pointer}
.vg-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(15,46,34,.18)}
.vg-btn-gold{background:var(--vg-accent,#f2c47a);color:var(--vg-dark,#0f2e22)}
.vg-btn-line{border-color:var(--vg-dark,#0f2e22);color:var(--vg-dark,#0f2e22);background:transparent}
.vg-btn-dark{background:var(--vg-dark,#0f2e22);color:#fff}
.vg-btn-sm{padding:8px 16px;font-size:12px}
.vg-btn .arr{transition:transform .25s}
.vg-btn:hover .arr,.vg-card:hover .vg-more .arr{transform:translateX(4px)}

/* Header */
.vg-header{background:var(--vg-bg,#fbf7ef);position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(15,46,34,.06)}
.vg-header-in{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0}
.vg-logo{font-family:'Playfair Display',serif;font-size:30px;font-weight:600;color:var(--vg-dark,#0f2e22)}
.vg-logo{flex:none;display:flex;align-items:center}
.vg-logo img{width:auto;height:70px}
.vg-nav{flex:1;display:flex;justify-content:center}
.vg-phone,.vg-btn{white-space:nowrap}
.vg-header-right{flex:none}
.vg-logo-light{color:#fff}
.vg-menu{display:flex;gap:28px;font-size:14px;font-weight:500}
.vg-menu a{padding-bottom:4px;border-bottom:2px solid transparent;transition:border-color .2s}
.vg-menu a:hover,.vg-menu .current-menu-item>a{border-color:var(--vg-accent,#f2c47a)}
.vg-header-right{display:flex;align-items:center;gap:16px}
.vg-phone{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;border:1px solid rgba(15,46,34,.25);border-radius:999px;padding:5px 14px 5px 5px}
.vg-phone-ic{width:30px;height:30px;border-radius:50%;background:var(--vg-accent,#f2c47a);display:grid;place-items:center}
.vg-phone-ic .vg-i{width:16px;height:16px}
.vg-burger{display:none;background:none;border:0;padding:8px;cursor:pointer}
.vg-burger span{display:block;width:24px;height:2px;background:var(--vg-dark);margin:5px 0}

/* Typography */
.vg-eyebrow{font-size:11px;letter-spacing:.14em;font-weight:600;color:#6a7d70;margin-bottom:10px}
.vg-eyebrow-light{color:rgba(255,255,255,.8)}
.vg-h1{font-size:clamp(38px,5vw,60px);color:#fff;margin:12px 0 18px}
.vg-h2{font-size:clamp(28px,3.4vw,42px)}
.vg-sub{color:#55665c;margin-top:12px;max-width:560px;font-size:15px}
.vg-lead{color:rgba(255,255,255,.88);max-width:440px;font-size:16px}

/* Highlight effect on [bracketed] words */
.hl{color:var(--vg-hl,#d99a2b);font-style:italic;position:relative;display:inline}
.vg-h1 .hl{color:var(--vg-accent,#f2c47a)}
body.hls-small .hl{font-size:.85em}
body.hls-large .hl{font-size:1.15em}
body.hls-xlarge .hl{font-size:1.3em}
body.hl-underline .hl{background:linear-gradient(currentColor,currentColor) no-repeat 0 100%/0 3px;transition:background-size 1s ease .3s;padding-bottom:3px}
body.hl-underline .is-in .hl,body.hl-underline .hl.is-in{background-size:100% 3px}
body.hl-gradient .hl{background:linear-gradient(90deg,var(--vg-hl),#f2c47a,#2e8b6a,var(--vg-hl));background-size:300% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:vgGrad 5s linear infinite}
@keyframes vgGrad{to{background-position:300% 0}}
body.hl-marker .hl{font-style:normal;color:var(--vg-dark);background:linear-gradient(transparent 55%,var(--vg-hl) 55%) no-repeat 0 0/0 100%;transition:background-size .9s ease .3s;padding:0 6px}
body.hl-marker .is-in .hl,body.hl-marker .hl.is-in{background-size:100% 100%}
body.hl-marker .vg-h1 .hl{color:var(--vg-dark)}
body.hl-typewriter .hl.tw-run::after{content:'|';margin-left:2px;animation:vgBlink .8s steps(1) infinite}
@keyframes vgBlink{50%{opacity:0}}

/* Hero */
.vg-hero{background:var(--vg-dark,#0f2e22);position:relative;overflow:hidden}
.vg-hero-in{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:30px;min-height:540px;padding:40px 0}
.vg-hero-btns{display:flex;align-items:center;gap:22px;margin:28px 0 30px;flex-wrap:wrap}
.vg-watch{display:flex;align-items:center;gap:10px;color:#fff;font-weight:600;font-size:14px}
.vg-play{width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.95);color:var(--vg-dark);display:grid;place-items:center;font-size:13px;border:2px solid rgba(255,255,255,.4);transition:transform .25s}
.vg-play:hover,.vg-watch:hover .vg-play{transform:scale(1.12)}
.vg-play-lg{width:64px;height:64px;font-size:20px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.vg-play-lg:hover{transform:translate(-50%,-50%) scale(1.1)}
.vg-play-md{width:52px;height:52px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:16px}
.vg-play-md:hover{transform:translate(-50%,-50%) scale(1.1)}
.vg-trust{display:flex;align-items:center;gap:12px;color:#fff;font-size:13px}
.vg-avatars{display:flex}
.vg-avatars i{width:34px;height:34px;border-radius:50%;background:#cfe0d3;color:var(--vg-dark);display:grid;place-items:center;font-style:normal;font-weight:700;font-size:13px;border:2px solid var(--vg-dark);margin-left:-8px}
.vg-avatars i:first-child{margin-left:0}
.vg-hero-media{position:relative;height:100%;min-height:420px}
.vg-hero-media>img{width:100%;height:100%;min-height:420px;object-fit:cover;border-radius:220px 0 0 220px / 100% 0 0 100%;border-radius:200px 0 0 0}
.vg-badge-note{position:absolute;right:8%;top:22%;transform:rotate(-8deg);font-family:'Caveat',cursive;color:#fff;font-size:26px;line-height:1.1}
.vg-badge-note span{display:block}

/* Feature strip */
.vg-features{background:#f4ecdc}
.vg-features-in{display:grid;grid-template-columns:repeat(4,1fr);padding:22px 0}
.vg-feature{display:flex;align-items:center;gap:12px;padding:0 20px;border-left:1px solid rgba(15,46,34,.15);font-size:13px;color:#3a4b41}
.vg-feature:first-child{border-left:0}
.vg-feature .vg-i{width:32px;height:32px;color:var(--vg-dark)}

/* Sections */
.vg-section{padding:56px 0}
.vg-tight{padding:30px 0}
.vg-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:26px;flex-wrap:wrap}
.vg-head-right{display:flex;align-items:center;gap:12px}
.vg-arrows{display:flex;gap:8px}
.vg-arrows button{width:32px;height:32px;border-radius:50%;border:1px solid rgba(15,46,34,.3);background:#fff;font-size:20px;line-height:1;cursor:pointer;color:var(--vg-dark)}
.vg-arrows button:hover{background:var(--vg-dark);color:#fff}
.vg-grid{display:grid;gap:20px}
.vg-grid-svc{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.vg-grid-blog{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.vg-card{display:block;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 18px rgba(15,46,34,.07);transition:transform .35s,box-shadow .35s}
.vg-card:hover{transform:translateY(-6px);box-shadow:0 16px 34px rgba(15,46,34,.15)}
.vg-zoom{overflow:hidden;position:relative}
.vg-zoom img{width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .6s ease}
.vg-card:hover .vg-zoom img{transform:scale(1.08)}
.vg-svc-body{padding:0 18px 20px;position:relative}
.vg-svc-body h3{font-family:'Inter',sans-serif;font-size:16px;font-weight:700;margin:6px 0 6px}
.vg-svc-body p{font-size:13px;color:#5c6c62;min-height:60px}
.vg-ic-badge{width:38px;height:38px;border-radius:50%;background:var(--vg-dark);color:#fff;display:grid;place-items:center;margin-top:-19px;position:relative;z-index:2;border:3px solid #fff}
.vg-ic-badge .vg-i{width:18px;height:18px}
.vg-ic-gold{background:#fbe9c9;color:#c4891f;margin-top:0;border:0;width:46px;height:46px}
.vg-more{display:inline-flex;gap:6px;font-size:12px;font-weight:600;margin-top:10px;color:var(--vg-dark)}
.vg-more .arr{transition:transform .25s}

/* Process */
.vg-process{padding:20px 0 30px}
.vg-process-in{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:50px}
.vg-process-img{position:relative}
.vg-process-img img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:0 160px 0 0}
.vg-process-copy .vg-btn{margin-top:22px}
.vg-steps{display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-radius:18px;box-shadow:0 10px 36px rgba(15,46,34,.1);padding:26px 14px 22px;margin-top:-20px;position:relative;z-index:3}
.vg-step{text-align:center;padding:0 12px;position:relative}
.vg-step:not(:last-child)::after{content:'\2192';position:absolute;right:-8px;top:34px;color:#7d8f83}
.vg-step .vg-ic-badge{margin:-44px auto 6px;width:34px;height:34px}
.vg-step-num{font-family:'Playfair Display',serif;font-size:22px;color:var(--vg-dark);margin-top:6px}
.vg-step h4{font-family:'Inter',sans-serif;font-size:14px;font-weight:700;margin:4px 0}
.vg-step p{font-size:12px;color:#66766c}

/* Work / video sliders */
.vg-slider{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:6px 2px 14px}
.vg-slider::-webkit-scrollbar{display:none}
.vg-slider>.vg-card{flex:0 0 calc(25% - 14px);min-width:240px;scroll-snap-align:start}
.vg-work-body,.vg-vid-body{padding:12px 14px 16px}
.vg-work-body h4{font-family:'Inter',sans-serif;font-size:14px;font-weight:700}
.vg-tags{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
.vg-tags span{font-size:10px;padding:3px 10px;border-radius:999px;background:#eef2ec;color:#4a5d51}
.vg-vid-body h4{font-family:'Inter',sans-serif;font-size:14px;font-weight:700}
.vg-vid-body small{display:block;color:#8a978f;font-size:11px}
.vg-vid-body p{font-size:12px;color:#5c6c62;margin-top:8px}
.vg-dur{position:absolute;right:10px;bottom:10px;background:rgba(0,0,0,.75);color:#fff;font-size:11px;padding:2px 8px;border-radius:6px}

/* Stats */
.vg-stats{background:var(--vg-dark,#0f2e22);color:#fff;margin-top:20px}
.vg-stats-in{display:grid;grid-template-columns:repeat(4,1fr);padding:30px 0}
.vg-stat{display:flex;align-items:center;justify-content:center;gap:16px;padding:0 16px;border-left:1px solid rgba(255,255,255,.15)}
.vg-stat:first-child{border-left:0}
.vg-stat .vg-i{width:40px;height:40px;color:var(--vg-accent)}
.vg-num{font-family:'Inter',sans-serif;font-size:30px;font-weight:700;line-height:1.1}
.vg-num-sm{font-size:22px;color:var(--vg-dark)}
.vg-stat-label{font-size:12px;color:rgba(255,255,255,.75)}
.vg-dark-text{color:#66766c}

/* About */
.vg-about-in{display:grid;grid-template-columns:1fr 1.15fr .6fr;gap:36px;align-items:center}
.vg-about-img img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:0 200px 200px 0;margin-left:calc((100vw - min(1200px,100vw - 40px))/-2)}
.vg-checks{margin:18px 0 22px}
.vg-checks li{position:relative;padding-left:26px;font-size:14px;margin:8px 0}
.vg-checks li::before{content:'\2713';position:absolute;left:0;top:1px;width:18px;height:18px;border-radius:50%;background:#fbe9c9;color:#c4891f;font-size:11px;display:grid;place-items:center}
.vg-about-stats{display:flex;flex-direction:column;gap:14px}
.vg-mini-stat{display:flex;align-items:center;gap:14px;background:#fff;border-radius:12px;padding:14px 18px;box-shadow:0 4px 18px rgba(15,46,34,.07);transition:transform .3s}
.vg-mini-stat:hover{transform:translateX(-4px)}

/* Blog */
.vg-blog{display:flex}
.vg-blog .vg-zoom{flex:0 0 38%}
.vg-blog .vg-zoom img{height:100%;aspect-ratio:auto;min-height:130px}
.vg-blog-body{padding:14px;display:flex;flex-direction:column;gap:4px}
.vg-blog-body h4{font-family:'Inter',sans-serif;font-size:13px;font-weight:700;line-height:1.35}
.vg-blog-body small{font-size:11px;color:#8a978f}
.vg-cat{color:var(--vg-hl,#c4891f)!important;font-weight:600;text-transform:uppercase;letter-spacing:.06em;font-size:10px!important}

/* FAQ + CTA */
.vg-faq-cta{display:grid;grid-template-columns:.85fr 1.15fr;gap:30px;align-items:stretch}
.vg-faq .vg-sub{margin:0 0 14px;font-size:13px}
.vg-qa{background:#fff;border:1px solid rgba(15,46,34,.08);border-radius:6px;margin-bottom:8px}
.vg-qa summary{list-style:none;cursor:pointer;padding:12px 16px;font-size:13px;font-weight:600;display:flex;justify-content:space-between}
.vg-qa summary::-webkit-details-marker{display:none}
.vg-qa summary::after{content:'+';font-size:18px;line-height:1}
.vg-qa[open] summary::after{content:'\2212'}
.vg-qa p{padding:0 16px 14px;font-size:13px;color:#5c6c62}
.vg-cta{background:var(--vg-dark,#0f2e22);border-radius:22px;display:grid;grid-template-columns:1.1fr .9fr;align-items:end;overflow:hidden;color:#fff}
.vg-cta-copy{padding:36px 10px 36px 36px;align-self:center}
.vg-cta h2{color:#fff;font-size:28px;margin:6px 0 10px}
.vg-cta p{color:rgba(255,255,255,.8);font-size:14px;margin-bottom:20px}
.vg-cta-img{width:100%;height:100%;max-height:340px;object-fit:cover}

/* Footer */
.vg-footer{background:var(--vg-dark,#0f2e22);color:rgba(255,255,255,.8);margin-top:30px;padding-top:44px}
.vg-foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:30px}
.vg-footer h4{font-family:'Inter',sans-serif;font-size:14px;color:#fff;font-weight:700;margin-bottom:14px}
.vg-foot-list li{margin:8px 0;font-size:13px}
.vg-foot-list a:hover{color:var(--vg-accent)}
.vg-foot-brand p{font-size:13px;margin:12px 0 16px;max-width:300px}
.vg-social{display:flex;gap:10px}
.vg-social a{width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.35);display:grid;place-items:center;font-size:12px;font-weight:700;transition:background .2s,color .2s}
.vg-social a:hover{background:var(--vg-accent);color:var(--vg-dark)}
.vg-foot-bottom{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.15);margin-top:30px;padding:18px 0;font-size:12px}

/* Posts / pages */
.vg-page{padding:50px 0}
.vg-post{background:#fff;border-radius:12px;padding:28px;margin-bottom:24px;box-shadow:0 4px 18px rgba(15,46,34,.07)}
.vg-post-title{font-size:32px;margin-bottom:12px}
.vg-post-img{margin:-28px -28px 20px;overflow:hidden;border-radius:12px 12px 0 0}

/* Scroll animations (enabled by body.vg-anim) */
body.vg-anim [data-reveal]{opacity:0;transform:translateY(28px);transition:opacity .8s ease,transform .8s ease}
body.vg-anim [data-reveal].is-in{opacity:1;transform:none}
body.vg-anim .vg-card[data-reveal].is-in{transition:opacity .8s ease,transform .35s,box-shadow .35s}

@media (prefers-reduced-motion:reduce){
	body.vg-anim [data-reveal]{opacity:1;transform:none;transition:none}
	*{animation:none!important;scroll-behavior:auto}
}

/* Responsive */
@media (max-width:1200px){
	.vg-phone{display:none}
}
@media (max-width:1000px){
	.vg-hero-in,.vg-process-in,.vg-about-in,.vg-faq-cta{grid-template-columns:1fr}
	.vg-hero-media{min-height:300px}
	.vg-hero-media>img{border-radius:24px;min-height:300px}
	.vg-features-in,.vg-stats-in{grid-template-columns:repeat(2,1fr);gap:18px}
	.vg-steps{grid-template-columns:repeat(2,1fr);row-gap:40px}
	.vg-step:not(:last-child)::after{display:none}
	.vg-foot-grid{grid-template-columns:1fr 1fr}
	.vg-about-img img{margin-left:0;border-radius:24px}
	.vg-process-img img{border-radius:24px}
	.vg-slider>.vg-card{flex-basis:calc(50% - 10px)}
	.vg-burger{display:block}
	.vg-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--vg-bg);padding:14px 20px;border-bottom:1px solid rgba(15,46,34,.1)}
	.vg-nav.open{display:block}
	.vg-menu{flex-direction:column;gap:12px}
	.vg-phone{display:none}
}
@media (max-width:620px){
	.vg-slider>.vg-card{flex-basis:80%}
	.vg-features-in,.vg-stats-in,.vg-steps,.vg-foot-grid{grid-template-columns:1fr}
	.vg-feature,.vg-stat{border-left:0;justify-content:flex-start}
	.vg-cta{grid-template-columns:1fr}
	.vg-header-right .vg-btn{display:none}
}

/* Entrance text effects (set per element in the Customizer) */
html.vg-js [data-fx]:not(.fx-go):not([data-fx="words"]){opacity:0}
[data-fx].fx-go{animation-duration:.9s;animation-timing-function:ease;animation-fill-mode:backwards}
[data-fx="fade-up"].fx-go{animation-name:fxUp}
[data-fx="fade-in"].fx-go{animation-name:fxIn}
[data-fx="slide-left"].fx-go{animation-name:fxLeft}
[data-fx="slide-right"].fx-go{animation-name:fxRight}
[data-fx="zoom-in"].fx-go{animation-name:fxZoom}
[data-fx="blur-in"].fx-go{animation-name:fxBlur}
html.vg-js [data-fx="words"] .fxw{display:inline-block;opacity:0}
html.vg-js [data-fx="words"].fx-go .fxw{opacity:1;animation:fxUp .7s ease backwards;animation-delay:calc(var(--i) * .09s)}
@keyframes fxUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}
@keyframes fxIn{from{opacity:0}to{opacity:1}}
@keyframes fxLeft{from{opacity:0;transform:translateX(-60px)}to{opacity:1;transform:none}}
@keyframes fxRight{from{opacity:0;transform:translateX(60px)}to{opacity:1;transform:none}}
@keyframes fxZoom{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:none}}
@keyframes fxBlur{from{opacity:0;filter:blur(14px)}to{opacity:1;filter:none}}
@media (prefers-reduced-motion:reduce){
	html.vg-js [data-fx],html.vg-js [data-fx="words"] .fxw{opacity:1!important}
}

/* Looping text effects */
[data-fx="glow"].fx-go,[data-fx="float"].fx-go,[data-fx="pulse"].fx-go,[data-fx="gradient"].fx-go{animation-iteration-count:infinite;animation-fill-mode:none;animation-timing-function:ease-in-out;animation-duration:2.7s}
[data-fx="glow"].fx-go{animation-name:fxGlow}
[data-fx="float"].fx-go{animation-name:fxFloat}
[data-fx="pulse"].fx-go{animation-name:fxPulse}
[data-fx="gradient"]{background:linear-gradient(90deg,#fff,var(--vg-accent,#f2c47a),#fff);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
[data-fx="gradient"].fx-go{animation-name:fxGrad;animation-timing-function:linear}
@keyframes fxGlow{0%,100%{text-shadow:0 0 0 rgba(255,255,255,0)}50%{text-shadow:0 0 22px currentColor,0 0 6px currentColor}}
@keyframes fxFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes fxPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@keyframes fxGrad{to{background-position:200% 0}}
@media (prefers-reduced-motion:reduce){[data-fx]{animation:none!important}}

/* Hero avatars with photos */
.vg-avatars i{overflow:hidden}
.vg-avatars i img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}

/* Hero: second line, doodle arrow */
.vg-lead2{color:rgba(255,255,255,.92);font-size:20px;margin-top:12px;max-width:520px;line-height:1.5}
.vg-badge-arrow{display:block;width:72px;height:auto;margin:2px 0 0 96px}

/* Hero photo must never sit inside a transformed element (it would be sized to the small column first). */
.vg-hero-media[data-reveal],.vg-hero-media{transform:none!important;opacity:1!important;transition:none!important}
.vg-hero-media>img{display:block;image-rendering:auto}
