/* FlowGenie Studios — matches reference design */
:root {
  --fgs-primary: #C8102E;
  --fgs-primary-hover: #a60a0a;
  --fgs-dark: #181a17;
  --fgs-black: #000000;
  --fgs-muted: #c2b6b6;
  --fgs-light: #f8f8f8;
  --fgs-card: #1a1a1a;
  --fgs-card-border: #2a2a2a;
  --fgs-max-width: 1320px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--fgs-black);
  color: var(--fgs-light);
  padding-top: 0;
  overflow-x: hidden;
}

/* ——— Header (transparent over hero) ——— */
.fgs-navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1030;
  width: 94%;
  max-width: var(--fgs-max-width);
}

.fgs-navbar .navbar {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 10px 28px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.fgs-navbar.scrolled .navbar {
  background: rgba(255, 255, 255, 0.95);
  border-color: transparent;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.fgs-navbar.scrolled .nav-link {
  color: var(--fgs-dark) !important;
}

.fgs-navbar.scrolled .navbar-brand .logo-text {
  color: var(--fgs-dark);
}

.fgs-navbar .navbar-brand img.brand-logo {
  height: 46px;
  width: auto;
  background: #fff;
  border-radius: 8px;
  padding: 4px 8px;
}

.fgs-navbar.scrolled .navbar-brand img.brand-logo {
  background: transparent;
  padding: 0;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
}

.logo-text span {
  color: var(--fgs-primary);
}

.fgs-navbar .nav-link {
  color: #fff !important;
  font-weight: 500;
  font-size: 15px;
  padding: 0.4rem 1rem !important;
}

.fgs-navbar .nav-link:hover {
  color: var(--fgs-muted) !important;
}

.fgs-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}

.fgs-navbar .navbar-toggler-icon {
  filter: invert(1);
}

.fgs-navbar.scrolled .navbar-toggler-icon {
  filter: none;
}

.btn-fgs-primary {
  background-color: var(--fgs-primary);
  border: none;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn-fgs-primary:hover {
  background-color: var(--fgs-primary-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-fgs-primary.btn-lg {
  padding: 14px 36px;
  font-size: 16px;
}

.fgs-navbar .dropdown-menu {
  background: rgba(20, 20, 20, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  margin-top: 10px;
}

.fgs-navbar .dropdown-item {
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  padding: 8px 14px;
}

.fgs-navbar .dropdown-item:hover {
  background: var(--fgs-primary);
  color: #fff;
}

.btn-fgs-outline-light {
  border-radius: 50px;
  font-weight: 600;
}

/* ——— Hero ——— */
.hero-section {
  position: relative;
  background: var(--fgs-black);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 90vh;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 45%;
  right: 15%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(200, 200, 255, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.hero-heading {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
}

.hero-image-wrap img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.hero-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: var(--fgs-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  line-height: 1.2;
  padding: 8px;
}

.hero-badge::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}

.hero-counter {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fgs-primary);
}

.hero-social-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.avatar-stack img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--fgs-black);
  margin-left: -12px;
  object-fit: cover;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

/* ——— Services ——— */
.service-box {
  background: var(--fgs-card);
  border: 1px solid var(--fgs-card-border);
  border-radius: 16px;
  padding: 1.5rem 1rem 1.25rem;
  text-align: center;
  height: 100%;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-box:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.service-icon-wrap {
  width: 100%;
  max-width: 200px;
  height: 180px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: var(--fgs-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-service-pill {
  display: inline-block;
  background: #222228;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  text-decoration: none;
  border: none;
  transition: background 0.25s ease;
}

.btn-service-pill:hover {
  background: var(--fgs-dark);
  color: #fff;
}

/* ——— About ——— */
.section-label-red {
  color: var(--fgs-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.about-video-wrap {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
  background: var(--fgs-dark);
  box-shadow: 0 8px 32px rgba(194, 182, 182, 0.25);
}

.about-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.about-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.about-video-play svg {
  width: 64px;
  height: 64px;
  opacity: 0.9;
}

/* ——— Stats grid (thin borders) ——— */
.stats-grid-section .stat-box {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: transparent;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-box .stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-box .stat-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ——— Professional solution ——— */
.accent-word {
  color: var(--fgs-primary);
}

.solution-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.solution-image-wrap img {
  border-radius: 16px;
  width: 100%;
}

.stats-float-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  gap: 2rem;
}

.stats-float-card .val {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.stats-float-card .lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.feature-check {
  color: var(--fgs-primary);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* ——— CTA experts (dark grey band) ——— */
.cta-experts-section {
  background: var(--fgs-dark);
  border-radius: 0;
}

.cta-highlight {
  color: var(--fgs-primary);
}

.cta-phone {
  color: var(--fgs-primary);
  font-weight: 600;
  text-decoration: none;
}

.cta-phone:hover {
  color: #fff;
}

.btn-pill {
  border-radius: 50px;
}

.cta-image {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
  max-height: 400px;
}

.btn-cta-wide {
  width: 100%;
  max-width: 280px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
}

/* ——— Testimonials ——— */
.testimonial-card {
  background: var(--fgs-card);
  border: 1px solid var(--fgs-card-border);
  border-radius: 24px;
  padding: 2rem 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  font-size: 3rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.25);
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2.5rem;
}

.testimonial-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dots button.active {
  background: var(--fgs-primary);
  width: 30px;
  border-radius: 6px;
}

/* ——— Discussion banner (blue gradient + map) ——— */
.banner-discussion {
  min-height: 280px;
  background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 50%, #0d1f3c 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.banner-discussion::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.banner-discussion .banner-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  mix-blend-mode: luminosity;
}

.banner-discussion .content {
  position: relative;
  z-index: 2;
  padding: 4rem 1rem;
}

/* ——— Blog ——— */
.blog-card {
  background: var(--fgs-card);
  border: 1px solid var(--fgs-card-border);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 0 40px rgba(200, 16, 46, 0.15);
}

.blog-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

/* ——— Contact (geometric lines bg) ——— */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.contact-section::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 16, 46, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-form .form-control,
.contact-form .form-select {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px 16px;
  color: #121212;
  font-size: 15px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--fgs-dark);
  box-shadow: 0 0 0 3px rgba(24, 26, 23, 0.1);
}

.contact-form .form-label {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
}

.btn-send-message {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
}

/* ——— Footer (dark, matches live site) ——— */
.fgs-footer {
  background: var(--fgs-dark);
  color: var(--fgs-muted);
  padding: 60px 0 24px;
}

.fgs-footer .footer-logo {
  max-height: 64px;
  width: auto;
  margin-bottom: 1.25rem;
}

.fgs-footer h6 {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 1.25rem;
}

.fgs-footer a {
  color: var(--fgs-muted);
  text-decoration: none;
  font-size: 14px;
}

.fgs-footer a:hover {
  color: var(--fgs-primary);
}

.fgs-footer hr {
  border-color: rgba(255, 255, 255, 0.12);
}

.fgs-footer .copyright {
  color: var(--fgs-muted);
  font-size: 13px;
}

.fgs-footer .copyright a {
  color: var(--fgs-primary);
}

.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-muted-fgs {
  color: var(--fgs-muted) !important;
}

.section-py {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 100px;
    min-height: auto;
  }

  .fgs-navbar .navbar-collapse {
    background: rgba(0, 0, 0, 0.92);
    border-radius: 16px;
    padding: 1rem;
    margin-top: 0.75rem;
  }

  .stats-float-card {
    position: static;
    margin-top: 1rem;
    display: inline-flex;
  }

  .btn-cta-wide {
    max-width: 100%;
  }
}

/* ===== Inner page components ===== */

/* Page banner (sub-page hero) */
.page-banner {
  position: relative;
  padding: 160px 0 80px;
  background: var(--fgs-black);
  overflow: hidden;
  text-align: center;
}

.page-banner .hero-grid-overlay {
  opacity: 0.6;
}

.page-banner-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 520px;
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(200, 16, 46, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.page-banner h1 {
  position: relative;
  z-index: 2;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: #fff;
  letter-spacing: -0.02em;
}

.page-banner .breadcrumb {
  position: relative;
  z-index: 2;
  justify-content: center;
  margin-bottom: 0;
}

.page-banner .breadcrumb a {
  color: var(--fgs-muted);
  text-decoration: none;
}

.page-banner .breadcrumb a:hover {
  color: var(--fgs-primary);
}

.page-banner .breadcrumb-item.active {
  color: var(--fgs-primary);
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: var(--fgs-muted);
}

/* Feature / value cards */
.feature-card {
  background: var(--fgs-card);
  border: 1px solid var(--fgs-card-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 16, 46, 0.5);
}

.feature-card .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(200, 16, 46, 0.12);
  color: var(--fgs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-card .icon-circle svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--fgs-muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.65;
}

/* Process steps */
.process-step {
  text-align: center;
  padding: 1rem;
}

.process-step .step-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 2px solid var(--fgs-primary);
  color: var(--fgs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.process-step h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}

.process-step p {
  color: var(--fgs-muted);
  font-size: 14px;
}

/* Tech badge list */
.tech-badge {
  display: inline-block;
  background: var(--fgs-card);
  border: 1px solid var(--fgs-card-border);
  color: var(--fgs-light);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 14px;
  margin: 0 6px 12px 0;
}

/* Service list with check */
.service-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--fgs-light);
  margin-bottom: 1rem;
}

.service-check-list svg {
  color: var(--fgs-primary);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

/* Portfolio grid */
.portfolio-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--fgs-card-border);
}

.portfolio-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover img {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay .tag {
  color: var(--fgs-primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portfolio-overlay h3 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0;
}

/* Contact info cards */
.contact-info-card {
  background: var(--fgs-card);
  border: 1px solid var(--fgs-card-border);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
}

.contact-info-card .icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(200, 16, 46, 0.12);
  color: var(--fgs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-info-card a,
.contact-info-card p {
  color: var(--fgs-muted);
  text-decoration: none;
  font-size: 14px;
}

.contact-info-card a:hover {
  color: var(--fgs-primary);
}

/* Pricing */
.pricing-card {
  background: var(--fgs-card);
  border: 1px solid var(--fgs-card-border);
  border-radius: 18px;
  padding: 2.25rem 1.75rem;
  height: 100%;
}

.pricing-card.popular {
  border-color: var(--fgs-primary);
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--fgs-muted);
  font-weight: 400;
}

/* ===== jploft-style components ===== */

/* Trust / partner strip */
.trust-strip {
  border-top: 1px solid var(--fgs-card-border);
  border-bottom: 1px solid var(--fgs-card-border);
  padding: 2rem 0;
}

.trust-strip .trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--fgs-muted);
  font-weight: 600;
  font-size: 14px;
}

.trust-strip .trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--fgs-primary);
  flex-shrink: 0;
}

/* Featured project row */
.project-row {
  background: var(--fgs-card);
  border: 1px solid var(--fgs-card-border);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.project-row img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.project-row .project-body {
  padding: 2.5rem;
}

.project-row .project-cat {
  color: var(--fgs-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-row h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0.75rem 0 1.25rem;
  line-height: 1.4;
}

.project-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--fgs-card-border);
}

.project-metrics .metric .num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--fgs-primary);
  line-height: 1;
}

.project-metrics .metric .lbl {
  font-size: 13px;
  color: var(--fgs-muted);
  margin-top: 4px;
}

.project-tags span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--fgs-card-border);
  color: var(--fgs-muted);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 12px;
  margin: 0 6px 6px 0;
}

/* Team cards */
.team-card {
  background: var(--fgs-card);
  border: 1px solid var(--fgs-card-border);
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 16, 46, 0.5);
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-card .team-body {
  padding: 1.25rem;
}

.team-card h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.team-card .role {
  color: var(--fgs-primary);
  font-size: 13px;
}

.team-card .socials {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team-card .socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fgs-muted);
}

.team-card .socials a:hover {
  background: var(--fgs-primary);
  color: #fff;
}

/* Tech stack grid */
.tech-tabs .nav-link {
  color: var(--fgs-muted);
  border: 1px solid var(--fgs-card-border);
  border-radius: 50px;
  margin: 0 6px 10px 0;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
}

.tech-tabs .nav-link.active {
  background: var(--fgs-primary);
  color: #fff;
  border-color: var(--fgs-primary);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tech-chip {
  background: var(--fgs-card);
  border: 1px solid var(--fgs-card-border);
  border-radius: 12px;
  padding: 14px 24px;
  color: var(--fgs-light);
  font-weight: 600;
  font-size: 14px;
  min-width: 120px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.tech-chip:hover {
  border-color: var(--fgs-primary);
  transform: translateY(-3px);
}

/* Award box */
.award-box {
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.12), rgba(24, 26, 23, 0.4));
  border: 1px solid rgba(200, 16, 46, 0.3);
  border-radius: 24px;
  padding: 2.5rem;
}

/* Industries */
.industry-card {
  background: var(--fgs-card);
  border: 1px solid var(--fgs-card-border);
  border-radius: 14px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 16, 46, 0.5);
}

.industry-card svg {
  width: 36px;
  height: 36px;
  color: var(--fgs-primary);
  margin-bottom: 0.75rem;
}

.industry-card span {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .project-row .project-body {
    padding: 1.75rem;
  }
  .project-row img {
    min-height: 220px;
  }
  .project-metrics {
    gap: 1.25rem;
  }
}

/* ============================================================
   WordPress dynamic content (post/page body, pagination, comments)
   ============================================================ */
.fgs-page-content { line-height: 1.8; }
.fgs-page-content p { margin-bottom: 1.15rem; }
.fgs-page-content h1,
.fgs-page-content h2,
.fgs-page-content h3,
.fgs-page-content h4,
.fgs-page-content h5,
.fgs-page-content h6 { color: #fff; margin: 1.75rem 0 0.9rem; }
.fgs-page-content a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fgs-page-content a:hover { color: var(--fgs-primary); }
.fgs-page-content img { max-width: 100%; height: auto; border-radius: 14px; margin: 1rem 0; }
.fgs-page-content ul,
.fgs-page-content ol { padding-left: 1.25rem; margin-bottom: 1.15rem; }
.fgs-page-content li { margin-bottom: 0.5rem; }
.fgs-page-content blockquote {
  border-left: 3px solid var(--fgs-primary);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.5rem 0;
  color: #fff;
  font-style: italic;
}
.fgs-page-content pre,
.fgs-page-content code {
  background: #111;
  color: #e6e6e6;
  border-radius: 8px;
}
.fgs-page-content pre { padding: 1rem; overflow: auto; }
.fgs-page-content code { padding: 0.15rem 0.4rem; }

/* Pagination */
.fgs-pagination .nav-links,
.fgs-pagination .page-numbers {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}
.fgs-pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  padding: 0 0.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}
.fgs-pagination a.page-numbers:hover,
.fgs-pagination .page-numbers.current {
  background: var(--fgs-primary);
  border-color: var(--fgs-primary);
  color: #fff;
}

/* Widgets / comments */
.widget-title { font-size: 1.05rem; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.75);
}
.comment-list .comment-author .fn { color: #fff; }
.comment-form input,
.comment-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  width: 100%;
  margin-bottom: 1rem;
}
.comment-form input::placeholder,
.comment-form textarea::placeholder { color: rgba(255, 255, 255, 0.4); }

/* FAQ accordion (FAQPage schema) */
.fgs-faq .accordion-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
}
.fgs-faq .accordion-button {
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 1.15rem 1.35rem;
  box-shadow: none;
}
.fgs-faq .accordion-button:not(.collapsed) {
  background: rgba(200, 16, 46, 0.08);
  color: #fff;
}
.fgs-faq .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}
.fgs-faq .accordion-button::after {
  filter: invert(1) grayscale(1) brightness(1.6);
}
.fgs-faq .accordion-body {
  color: rgba(255, 255, 255, 0.65);
  padding: 0 1.35rem 1.25rem;
  line-height: 1.7;
}
