/*
Theme Name: TheGrowvix Agency Theme
Theme URI: https://thegrowvix.com/
Author: OpenAI
Description: A multi-page WordPress theme for TheGrowvix digital marketing agency.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: thegrowvix
*/

:root {
  --bg: #0b1020;
  --surface: rgba(18, 24, 38, 0.82);
  --surface-2: rgba(30, 38, 58, 0.9);
  --text: #ffffff;
  --muted: #aeb7c8;
  --line: rgba(255,255,255,0.1);
  --accent: #7c5cff;
  --accent-2: #13c2c2;
  --accent-3: #ff6b9d;
  --accent-4: #f7b500;
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(-45deg, #0b1020, #151a2f, #11192d, #1c1430);
  background-size: 400% 400%;
  animation: gradientFlow 14s ease infinite;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .18;
  pointer-events: none;
  z-index: 0;
}
body::before { background: var(--accent); top: -120px; left: -120px; }
body::after { background: var(--accent-2); bottom: -140px; right: -100px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(92%, var(--max)); margin: 0 auto; position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(18px);
  background: rgba(8, 12, 24, 0.72);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}
.brand {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand span {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  margin-left: 6px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--muted);
  position: relative;
  transition: .25s ease;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--text); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .3s ease;
}
.main-nav a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 600;
  transition: .3s ease;
}
.btn-dark {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border: none;
  box-shadow: 0 10px 30px rgba(124,92,255,.3);
}
.btn-dark:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 34px rgba(124,92,255,.45); }
.btn-light {
  background: rgba(255,255,255,.02);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-light:hover { background: rgba(255,255,255,.06); transform: translateY(-2px); }

.hero, .section-block, .page-hero { padding: 72px 0 32px; }
.hero-grid, .two-col, .services-grid, .portfolio-grid, .stats-grid, .logos-grid, .service-detail-grid {
  display: grid;
  gap: 20px;
}
.hero-grid { grid-template-columns: 1.2fr .8fr; align-items: stretch; }
.two-col { grid-template-columns: 1fr 1fr; }
.services-grid, .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
.stats-grid { grid-template-columns: repeat(4, 1fr); }
.logos-grid { grid-template-columns: repeat(5, 1fr); }
.service-detail-grid { grid-template-columns: repeat(2, 1fr); }

.card, .hero-card, .glass-card, .service-card, .about-card, .portfolio-card, .contact-card, .stats-strip, .logos-wrap, .page-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.hero-card, .glass-card, .about-card, .contact-card, .portfolio-card, .stats-strip, .logos-wrap, .page-card { padding: 32px; }
.hero-card { padding: 54px; }
.glass-card { background: linear-gradient(180deg, rgba(27,34,53,.95) 0%, rgba(16,20,33,.96) 100%); }
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: .85rem;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--muted);
  border: 1px solid var(--line);
}
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.04em; }
h1 { font-size: clamp(2.6rem, 5vw, 5rem); margin: 0 0 18px; }
h2 { font-size: clamp(1.9rem, 3vw, 3rem); margin: 0 0 10px; }
h3 { font-size: 1.3rem; margin: 0 0 10px; }
p { color: var(--muted); }
.gradient-text {
  background: linear-gradient(90deg, #6c63ff, #8b7cff, #13c2c2);
  -webkit-background-clip: text;
  color: transparent;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 36px; }
.hero-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.stat-card, .counter-box, .logo-item {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.stat-card { padding: 18px; }
.stat-card strong { display:block; font-size:1.4rem; margin-bottom:4px; }
.counter-box { padding: 24px 18px; text-align: center; }
.counter-box strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  color: transparent;
}
.logo-item {
  min-height: 88px;
  display: grid;
  place-items: center;
  color: #d6dcef;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.logo-item:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.5); box-shadow: 0 0 24px rgba(124,92,255,.2); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}
.section-head p { max-width: 620px; }

.service-card, .portfolio-card {
  padding: 28px;
  transition: .3s ease;
}
.service-card::before,
.portfolio-card::before,
.about-card::before,
.contact-card::before,
.page-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(124,92,255,0), rgba(19,194,194,0), rgba(255,107,157,0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: .35s ease;
  pointer-events: none;
}
.service-card:hover::before,
.portfolio-card:hover::before,
.about-card:hover::before,
.contact-card:hover::before,
.page-card:hover::before {
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  box-shadow: 0 0 28px rgba(124,92,255,.35);
}
.service-card:hover,
.portfolio-card:hover,
.about-card:hover,
.contact-card:hover,
.page-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(0,0,0,.35), 0 0 25px rgba(124,92,255,.16);
}
.service-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
  font-weight: 700;
  margin-bottom: 18px;
}
.services-grid article:nth-child(1) { background: linear-gradient(180deg, rgba(124,92,255,.16), rgba(18,24,38,.9)); }
.services-grid article:nth-child(2) { background: linear-gradient(180deg, rgba(19,194,194,.16), rgba(18,24,38,.9)); }
.services-grid article:nth-child(3) { background: linear-gradient(180deg, rgba(255,107,157,.16), rgba(18,24,38,.9)); }
.services-grid article:nth-child(4) { background: linear-gradient(180deg, rgba(247,181,0,.16), rgba(18,24,38,.9)); }
.services-grid article:nth-child(5) { background: linear-gradient(180deg, rgba(124,92,255,.12), rgba(18,24,38,.9)); }
.services-grid article:nth-child(6) { background: linear-gradient(180deg, rgba(19,194,194,.12), rgba(18,24,38,.9)); }
.services-grid article:nth-child(7) { background: linear-gradient(180deg, rgba(255,107,157,.12), rgba(18,24,38,.9)); }
.services-grid article:nth-child(8) { background: linear-gradient(180deg, rgba(247,181,0,.12), rgba(18,24,38,.9)); }
.services-grid article:nth-child(9) { background: linear-gradient(180deg, rgba(124,92,255,.18), rgba(18,24,38,.9)); }

.check-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  font-weight: 500;
}
form { display: grid; gap: 14px; margin-top: 18px; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  padding: 15px 16px;
  border-radius: 16px;
  font: inherit;
  color: var(--text);
}
input::placeholder, textarea::placeholder { color: #98a4bc; }
textarea { min-height: 140px; resize: vertical; }

.page-hero .hero-card { padding: 40px; }
.content-area { padding-bottom: 40px; }
footer.site-footer { padding: 22px 0 40px; }
.footer-box {
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  flex-wrap:wrap;
  padding:24px 28px;
  border-radius:24px;
  background: linear-gradient(135deg, rgba(124,92,255,.22), rgba(19,194,194,.12));
  color: white;
  border: 1px solid rgba(255,255,255,.1);
}
.footer-box p { color: rgba(255,255,255,.74); }

.fade-up { opacity: 0; transform: translateY(40px); transition: all .8s ease; }
.fade-up.show { opacity: 1; transform: translateY(0); }
.zoom-in { opacity: 0; transform: scale(.95); transition: all .6s ease; }
.zoom-in.show { opacity: 1; transform: scale(1); }

@media (max-width: 1024px) {
  .hero-grid, .two-col, .services-grid, .portfolio-grid, .stats-grid, .logos-grid, .service-detail-grid { grid-template-columns: 1fr 1fr; }
  .hero-points { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-wrap { flex-direction: column; align-items: flex-start; }
  .main-nav ul { gap: 16px; }
  .hero-grid, .two-col, .services-grid, .portfolio-grid, .stats-grid, .logos-grid, .service-detail-grid { grid-template-columns: 1fr; }
  .hero-card, .glass-card, .about-card, .contact-card, .portfolio-card, .stats-strip, .logos-wrap, .page-card { padding: 24px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
}
