/* ============================================================
   Vertex Play — Custom enhancements
   Adds polish on top of the Softino theme (brand blue #0081FF)
   ============================================================ */

:root {
  --vp-blue: #0081FF;
  --vp-blue-dark: #0063c4;
  --vp-ink: #1c1d3e;
  --vp-grad: linear-gradient(135deg, #0081FF 0%, #6a5cff 100%);
}

/* ---------- Logo ---------- */
/* The theme sets no size for the logo, so a large source file renders huge. */
#logo-img {
  width: auto;
  height: 122px;
  max-height: 122px;
}
#footer-logo-white-img,
#footer-logo-img {
  width: auto;
  height: 60px;
  max-height: 60px;
}
@media (max-width: 575px) {
  #logo-img { height: 52px; max-height: 52px; }
}

/* ---------- Buttons: one shape, one size, one palette everywhere ---------- */
.btn,
.btn.btn-lg,
.btn.btn-sm,
.btn.btn-circle,
.btn.btn-theme,
.btn.btn-border,
.btn.btn-white,
.btn-primary,
.btn-outline-primary,
.btn-outline-light {
  border-radius: 50px !important;
  padding: 14px 32px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  border-width: 2px !important;
  border-style: solid !important;
  display: inline-block !important;
  text-align: center;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

/* primary: gradient fill */
.btn.btn-theme,
.btn-primary,
.btn.btn-primary {
  background: var(--vp-grad) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 10px 25px -8px rgba(0, 129, 255, 0.55);
}
.btn.btn-theme:hover,
.btn-primary:hover,
.btn.btn-primary:hover {
  background: var(--vp-grad) !important;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -8px rgba(106, 92, 255, 0.55);
  filter: brightness(1.06);
}

/* secondary: outlined, same size as primary */
.btn.btn-border,
.btn-outline-primary {
  background: transparent !important;
  border-color: var(--vp-blue) !important;
  color: var(--vp-blue) !important;
  box-shadow: none;
}
.btn.btn-border:hover,
.btn-outline-primary:hover {
  background: var(--vp-blue) !important;
  border-color: var(--vp-blue) !important;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -10px rgba(0, 129, 255, 0.5);
}

/* secondary on dark backgrounds (hero, footer) */
.dark-bg .btn.btn-border,
.vp-hero .btn.btn-border,
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
  background: transparent !important;
}
.dark-bg .btn.btn-border:hover,
.vp-hero .btn.btn-border:hover,
.btn-outline-light:hover {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--vp-ink) !important;
  transform: translateY(-3px);
}

/* buttons sit in flex rows with gap, so drop the theme's sibling margin */
.btn + .btn { margin-left: 0; }

/* ---------- Impact hero (home) ---------- */
.vp-hero {
  position: relative;
  padding: 150px 0 160px;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(106, 92, 255, 0.45), transparent 60%),
    radial-gradient(900px 600px at 0% 10%, rgba(0, 129, 255, 0.40), transparent 55%),
    linear-gradient(160deg, #0b1020 0%, #141a33 55%, #1c1d3e 100%);
  color: #fff;
}
.vp-hero .z-index-1 { position: relative; z-index: 2; }
.vp-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  z-index: 1;
  pointer-events: none;
  animation: vpFloat 9s ease-in-out infinite;
}
.vp-hero-glow-1 { width: 420px; height: 420px; background: #0081FF; top: -80px; right: 6%; }
.vp-hero-glow-2 { width: 360px; height: 360px; background: #6a5cff; bottom: -60px; left: -40px; animation-delay: -4s; }
@keyframes vpFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-26px) translateX(14px); }
}

.vp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 9px 18px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.vp-badge i { color: #7cc0ff; }

.vp-hero-title {
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -1px;
}
.vp-grad-text {
  background: linear-gradient(100deg, #4facff 0%, #a78bff 60%, #ff8bd1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vp-hero-lead {
  font-size: 1.18rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
}
.vp-hero .btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 50px;
  padding: 14px 32px;
}
.vp-hero .btn-outline-light:hover {
  background: #fff;
  color: var(--vp-ink);
  transform: translateY(-3px);
}

.vp-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
}
.vp-stat { display: flex; flex-direction: column; }
.vp-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.vp-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* hero artwork */
.vp-hero-art {
  position: relative;
  min-height: 460px;
  perspective: 1200px;
}
.vp-art-card {
  position: absolute;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.vp-art-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vp-art-card-front {
  width: 62%;
  left: 2%;
  top: 30px;
  z-index: 3;
  animation: vpBob 6s ease-in-out infinite;
}
.vp-art-card-back {
  width: 56%;
  right: 0;
  top: 150px;
  z-index: 2;
  opacity: .96;
  animation: vpBob 6s ease-in-out infinite;
  animation-delay: -3s;
}
@keyframes vpBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.vp-art-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--vp-ink);
  background: rgba(255, 255, 255, 0.92);
  padding: 7px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.vp-art-tag-accent {
  color: #fff;
  background: var(--vp-grad);
}
.vp-art-tag-accent i { color: #ffe08a; }

@media (max-width: 991px) {
  .vp-hero { padding: 120px 0 130px; text-align: center; }
  .vp-hero-lead { margin-left: auto; margin-right: auto; }
  .vp-hero-stats { justify-content: center; }
  .vp-hero-art { min-height: 420px; margin-top: 20px; }
}
@media (max-width: 575px) {
  .vp-hero-art { min-height: 340px; }
  .vp-art-card-front { width: 68%; }
  .vp-art-card-back { width: 60%; top: 120px; }
  .vp-hero-stats { gap: 22px; }
}

/* ---------- Section cards / media ---------- */
.img-box,
.featured-item,
.post,
.team-member {
  transition: transform .35s ease, box-shadow .35s ease;
}
.img-box:hover,
.post:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px -28px rgba(28, 29, 62, 0.40) !important;
}

/* ---------- Feature value cards ---------- */
.featured-item.style-6 {
  background: #fff;
  border-radius: 18px;
  padding: 40px 32px;
  box-shadow: 0 18px 45px -30px rgba(28, 29, 62, 0.35);
  border: 1px solid rgba(0, 129, 255, 0.06);
  height: 100%;
}
.featured-item.style-6:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -28px rgba(0, 129, 255, 0.35);
}
/* bring the icon back into normal flow (theme places it absolute) */
.featured-item.style-6 .featured-icon {
  position: static;
}
.featured-item.style-6 .featured-icon i::after {
  display: none;
}
.featured-item.style-6 .featured-title,
.featured-item.style-6 .featured-desc {
  padding-left: 0;
  margin-left: 0;
}
.featured-item.style-6 .featured-icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 18px;
  font-size: 28px;
  color: #fff;
  background: var(--vp-grad);
  margin-bottom: 22px;
  box-shadow: 0 12px 24px -10px rgba(0, 129, 255, 0.6);
}

/* ---------- Tabs ---------- */
.tab.style-2 .nav-tabs .nav-link {
  border-radius: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tab.style-2 .nav-tabs .nav-link:hover {
  transform: translateY(-4px);
}

/* ---------- Blog ---------- */
.post {
  background: #fff;
  box-shadow: 0 18px 45px -30px rgba(28, 29, 62, 0.35);
  overflow: hidden;
  height: 100%;
}
.post .post-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform .6s ease;
}
.post:hover .post-image img {
  transform: scale(1.06);
}
.post .post-desc h4 a {
  font-size: 20px;
  line-height: 1.35;
}
.post-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--vp-blue);
  background: rgba(0, 129, 255, 0.10);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- Blog single article ---------- */
.blog-single .article-hero {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 35px 80px -40px rgba(28, 29, 62, 0.55);
  margin-bottom: 40px;
}
.blog-single .article-hero img {
  width: 100%;
  display: block;
}
.blog-single .article-body {
  font-size: 17px;
  line-height: 1.85;
  color: #4a4f5c;
}
.blog-single .article-body h3 {
  color: var(--vp-ink);
  margin: 38px 0 16px;
  font-weight: 700;
}
.blog-single .article-body h3::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 4px;
  border-radius: 3px;
  background: var(--vp-grad);
  margin-right: 12px;
  vertical-align: middle;
}
.blog-single .article-body ul {
  padding-left: 0;
  list-style: none;
}
.blog-single .article-body ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}
.blog-single .article-body ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--vp-blue);
  position: absolute;
  left: 0;
  top: 2px;
}
.blog-single .article-quote {
  border-left: 5px solid var(--vp-blue);
  background: rgba(0, 129, 255, 0.05);
  padding: 24px 28px;
  border-radius: 0 14px 14px 0;
  font-size: 19px;
  font-style: italic;
  color: var(--vp-ink);
  margin: 30px 0;
}
.blog-single .article-body .article-figure {
  margin: 36px 0;
}
.blog-single .article-body .article-figure img {
  width: 100%;
  display: block;
  border-radius: 18px;
  box-shadow: 0 28px 60px -38px rgba(28, 29, 62, 0.65);
}
.blog-single .article-body .article-figure figcaption {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #828893;
  text-align: center;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  color: #828893;
  font-size: 14px;
  margin-bottom: 30px;
}
.article-meta i {
  color: var(--vp-blue);
  margin-right: 6px;
}
.article-cta {
  background: var(--vp-grad);
  border-radius: 22px;
  padding: 44px;
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 60px -28px rgba(0, 129, 255, 0.6);
}
.article-cta h3 { color: #fff; }
.article-cta .btn {
  background: #fff !important;
  color: var(--vp-blue) !important;
  border: none !important;
}

/* ---------- Footer polish ---------- */
.footer .footer-social ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background .25s ease, transform .25s ease;
}
.footer .footer-social ul li a:hover {
  background: var(--vp-blue);
  transform: translateY(-3px);
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 767px) {
  .featured-item.style-6 { padding: 32px 24px; }
  .blog-single .article-body { font-size: 16px; }
  .article-cta { padding: 32px 22px; }
}
