/* ============================================
   NYCApps WordPress Theme - Main Stylesheet
   Design: Tech Noir (Dark + Lime Green)
   Fonts: DM Sans (body) + Space Grotesk (headings/mono)
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --black: #0d0a0b;
  --charcoal: #454955;
  --lavender: #f3eff5;
  --lime: #72b01d;
  --green: #3f7d20;
  --font-body: "DM Sans", sans-serif;
  --font-heading: "Space Grotesk", sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--lavender);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

/* --- Utility --- */
.font-mono {
  font-family: "Space Grotesk", monospace;
}
.section-label {
  font-family: "Space Grotesk", monospace;
  color: var(--lime);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}
.section-heading .accent {
  color: var(--lime);
}
.section-subtext {
  color: rgba(243, 239, 245, 0.6);
  font-size: 1.05rem;
  max-width: 640px;
  margin-top: 1rem;
  line-height: 1.7;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--lime);
  color: var(--black);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 2px;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: var(--green);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--lavender);
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  transition: border-color 0.2s;
}
.btn-outline:hover {
  border-color: var(--lime);
  color: var(--lime);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.site-header.scrolled {
  background: rgba(13, 10, 11, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--lime);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--black);
  font-size: 1.1rem;
  font-family: var(--font-body);
}
.logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: -0.02em;
}
.logo-text .accent {
  color: var(--lime);
}
.nav-links {
  display: none;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  color: rgba(243, 239, 245, 0.7);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--lime);
}
.header-cta {
  display: none;
}
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: var(--lavender);
  padding: 0.5rem;
}
.mobile-toggle svg {
  width: 24px;
  height: 24px;
}
.mobile-menu {
  display: none;
  background: rgba(13, 10, 11, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-menu.open {
  display: block;
}
.mobile-menu nav {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu a {
  color: rgba(243, 239, 245, 0.7);
  padding: 0.5rem 0;
  transition: color 0.2s;
}
.mobile-menu a:hover {
  color: var(--lime);
}
.mobile-menu .btn-primary {
  text-align: center;
  margin-top: 0.5rem;
}
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .header-cta {
    display: block;
  }
  .mobile-toggle {
    display: none;
  }
}

/* --- Hero --- */
.hero {
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  font-family: "Space Grotesk", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  border: 1px solid rgba(114, 176, 29, 0.3);
  background: rgba(114, 176, 29, 0.08);
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero h1 .accent {
  color: var(--lime);
}
.hero-desc {
  color: rgba(243, 239, 245, 0.6);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-phone {
  display: none;
}
@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
  .hero-phone {
    display: block;
    position: relative;
  }
  .hero-phone img {
    max-width: 420px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  }
}

/* --- Stats --- */
.stats-bar {
  padding: 4rem 0;
  background: linear-gradient(90deg, var(--black), rgba(69, 73, 85, 0.2), var(--black));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-value {
  font-family: "Space Grotesk", monospace;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(243, 239, 245, 0.5);
  white-space: pre-line;
  line-height: 1.4;
}
@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Services --- */
.services {
  padding: 5rem 0;
}
.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.services-tabs button {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(69, 73, 85, 0.1);
  color: rgba(243, 239, 245, 0.6);
  transition: all 0.2s;
}
.services-tabs button.active,
.services-tabs button:hover {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
}
.service-panel {
  display: none;
}
.service-panel.active {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.service-number {
  font-family: "Space Grotesk", monospace;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(114, 176, 29, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}
.service-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.service-desc {
  color: rgba(243, 239, 245, 0.6);
  font-size: 0.95rem;
  line-height: 1.8;
}
@media (min-width: 1024px) {
  .service-panel.active {
    grid-template-columns: auto 1fr;
    gap: 3rem;
  }
}

/* --- Why Choose Us --- */
.why-us {
  padding: 5rem 0;
  background: rgba(69, 73, 85, 0.05);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.why-card {
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  padding: 2rem;
  transition: border-color 0.3s;
}
.why-card:hover {
  border-color: rgba(114, 176, 29, 0.2);
}
.why-card-number {
  font-family: "Space Grotesk", monospace;
  font-size: 0.75rem;
  color: var(--lime);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.why-card p {
  color: rgba(243, 239, 245, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Portfolio --- */
.portfolio {
  padding: 5rem 0;
  background: rgba(69, 73, 85, 0.05);
}
.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.portfolio-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 2px;
  background: rgba(69, 73, 85, 0.15);
  color: rgba(243, 239, 245, 0.6);
  border: none;
  transition: all 0.2s;
}
.portfolio-tabs button.active {
  background: var(--lime);
  color: var(--black);
}
.portfolio-item {
  display: none;
}
.portfolio-item.active {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.portfolio-image {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--black), rgba(13, 10, 11, 0.3), transparent);
}
.portfolio-image-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(114, 176, 29, 0.2);
  border: 1px solid rgba(114, 176, 29, 0.3);
  color: var(--lime);
  font-size: 0.7rem;
  font-family: "Space Grotesk", monospace;
  border-radius: 2px;
}
.portfolio-details h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.portfolio-tagline {
  color: var(--lime);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.portfolio-desc {
  color: rgba(243, 239, 245, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.portfolio-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.portfolio-result {
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  padding: 1rem;
  text-align: center;
}
.portfolio-result-value {
  font-family: "Space Grotesk", monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lime);
}
.portfolio-result-label {
  font-size: 0.7rem;
  color: rgba(243, 239, 245, 0.4);
  margin-top: 0.25rem;
}
.portfolio-tech {
  margin-bottom: 1.5rem;
}
.portfolio-tech-label {
  font-size: 0.7rem;
  color: rgba(243, 239, 245, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.portfolio-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.portfolio-tech-tag {
  padding: 0.35rem 0.75rem;
  background: rgba(114, 176, 29, 0.1);
  border: 1px solid rgba(114, 176, 29, 0.2);
  color: var(--lime);
  font-size: 0.75rem;
  font-family: "Space Grotesk", monospace;
  border-radius: 2px;
}
@media (min-width: 1024px) {
  .portfolio-item.active {
    grid-template-columns: 5fr 7fr;
  }
}

/* --- Process --- */
.process {
  padding: 5rem 0;
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.process-card {
  background: rgba(69, 73, 85, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  padding: 2rem;
  transition: border-color 0.3s;
}
.process-card:hover {
  border-color: rgba(114, 176, 29, 0.2);
}
.process-step {
  font-family: "Space Grotesk", monospace;
  font-size: 0.75rem;
  color: var(--lime);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.process-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.process-card p {
  color: rgba(243, 239, 245, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Technologies --- */
.technologies {
  padding: 5rem 0;
  background: rgba(69, 73, 85, 0.05);
}
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.tech-card {
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  padding: 2rem;
  transition: border-color 0.3s;
}
.tech-card:hover {
  border-color: rgba(114, 176, 29, 0.2);
}
.tech-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--lime);
}
.tech-card p {
  color: rgba(243, 239, 245, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Industries --- */
.industries {
  padding: 5rem 0;
}
.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.industry-card {
  background: rgba(69, 73, 85, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  padding: 1.5rem;
  transition: border-color 0.3s;
}
.industry-card:hover {
  border-color: rgba(114, 176, 29, 0.2);
}
.industry-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.industry-card p {
  color: rgba(243, 239, 245, 0.6);
  font-size: 0.85rem;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Benefits --- */
.benefits {
  padding: 5rem 0;
  background: rgba(69, 73, 85, 0.05);
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.benefit-card {
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  padding: 2rem;
  transition: border-color 0.3s;
}
.benefit-card:hover {
  border-color: rgba(114, 176, 29, 0.2);
}
.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.benefit-card p {
  color: rgba(243, 239, 245, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Case Studies --- */
.case-studies {
  padding: 5rem 0;
}
.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.case-card {
  background: rgba(69, 73, 85, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  padding: 2rem;
  transition: border-color 0.3s;
}
.case-card:hover {
  border-color: rgba(114, 176, 29, 0.2);
}
.case-stat {
  font-family: "Space Grotesk", monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 0.5rem;
}
.case-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.case-card p {
  color: rgba(243, 239, 245, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}
@media (min-width: 1024px) {
  .case-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Pricing --- */
.pricing {
  padding: 5rem 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.pricing-card {
  border-radius: 2px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}
.pricing-card.default {
  background: rgba(69, 73, 85, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.pricing-card.default:hover {
  border-color: rgba(114, 176, 29, 0.2);
}
.pricing-card.highlight {
  background: rgba(114, 176, 29, 0.1);
  border: 2px solid rgba(114, 176, 29, 0.4);
}
.pricing-popular {
  font-family: "Space Grotesk", monospace;
  font-size: 0.7rem;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.pricing-card > p {
  color: rgba(243, 239, 245, 0.6);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(243, 239, 245, 0.7);
}
.pricing-features li::before {
  content: "✓";
  color: var(--lime);
  font-weight: 700;
  font-size: 0.8rem;
}
@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Shore --- */
.shore {
  padding: 5rem 0;
  background: rgba(69, 73, 85, 0.05);
}
.shore-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.shore-card {
  border-radius: 2px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.shore-card.default {
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.shore-card.recommended {
  background: rgba(114, 176, 29, 0.1);
  border: 2px solid rgba(114, 176, 29, 0.4);
}
.shore-rec {
  font-family: "Space Grotesk", monospace;
  font-size: 0.7rem;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.shore-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.shore-subtitle {
  font-size: 0.85rem;
  color: rgba(243, 239, 245, 0.4);
  margin-bottom: 1.25rem;
}
.shore-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.shore-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(243, 239, 245, 0.7);
}
.shore-pro::before {
  content: "✓";
  color: var(--lime);
  font-weight: 700;
}
.shore-con::before {
  content: "✗";
  color: #f87171;
  font-weight: 700;
}
.shore-neutral::before {
  content: "—";
  color: var(--charcoal);
  font-weight: 700;
}
@media (min-width: 1024px) {
  .shore-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- FAQ --- */
.faq {
  padding: 5rem 0;
}
.faq-list {
  max-width: 768px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  text-align: left;
  background: none;
  color: var(--lavender);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s;
}
.faq-question:hover {
  background: rgba(69, 73, 85, 0.1);
}
.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--lime);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
}
.faq-answer-inner {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: rgba(243, 239, 245, 0.6);
  line-height: 1.7;
}

/* --- CTA --- */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, var(--black), rgba(114, 176, 29, 0.05), var(--black));
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}
.cta-card {
  background: rgba(69, 73, 85, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  padding: 1.75rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s;
}
.cta-card:hover {
  border-color: rgba(114, 176, 29, 0.3);
}
.cta-card-icon {
  color: var(--lime);
  margin-bottom: 1rem;
}
.cta-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.cta-card p {
  font-size: 0.8rem;
  color: rgba(243, 239, 245, 0.5);
  line-height: 1.6;
}
@media (min-width: 768px) {
  .cta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- About --- */
.about {
  padding: 5rem 0;
  background: rgba(69, 73, 85, 0.05);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.about-card {
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  padding: 2rem;
  transition: border-color 0.3s;
}
.about-card:hover {
  border-color: rgba(114, 176, 29, 0.2);
}
.about-card-icon {
  color: var(--lime);
  margin-bottom: 1rem;
}
.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.about-card p {
  color: rgba(243, 239, 245, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Footer --- */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  color: rgba(243, 239, 245, 0.5);
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 1.25rem 0;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(243, 239, 245, 0.5);
}
.footer-contact-item svg {
  color: var(--lime);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col a {
  font-size: 0.85rem;
  color: rgba(243, 239, 245, 0.4);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--lime);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(243, 239, 245, 0.3);
}
.footer-bottom-links {
  display: flex;
  gap: 1rem;
}
.footer-bottom-links a {
  font-size: 0.75rem;
  color: rgba(243, 239, 245, 0.3);
  transition: color 0.2s;
}
.footer-bottom-links a:hover {
  color: var(--lime);
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* --- Modal --- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.modal-box {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #141216;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.modal-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--green), var(--lime));
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  color: rgba(243, 239, 245, 0.4);
  transition: color 0.2s;
}
.modal-close:hover {
  color: var(--lavender);
}
.modal-close svg {
  width: 20px;
  height: 20px;
}
.modal-body {
  padding: 2rem;
}
.modal-body h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.modal-body .modal-subtitle {
  font-size: 0.85rem;
  color: rgba(243, 239, 245, 0.5);
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(243, 239, 245, 0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.form-label .required {
  color: var(--lime);
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  color: var(--lavender);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color 0.2s;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--charcoal);
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(114, 176, 29, 0.5);
  box-shadow: 0 0 0 2px rgba(114, 176, 29, 0.1);
}
.form-textarea {
  resize: none;
  min-height: 80px;
}
.form-submit {
  margin-top: 0.5rem;
}
.modal-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.modal-success.show {
  display: block;
}
.modal-success svg {
  color: var(--lime);
  margin: 0 auto 1rem;
}
.modal-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.modal-success p {
  font-size: 0.85rem;
  color: rgba(243, 239, 245, 0.5);
}
.modal-form.hidden {
  display: none;
}

/* BLOGS CSS  */
.blogs-cards {
  padding: 50px 0;
	background: #f4f4f4;
}
.blogs-cards .cards-wrapper {
  max-width: 1172px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 36px;
}

.blogs-cards .card {
/*   background: linear-gradient(90deg, var(--black), rgba(69, 73, 85, 0.2), var(--black)); */
	background: #252525;
  border: 1.5px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 365px;
}

.blogs-cards .card-image {
  padding: 10px 10px 0;
}

.blogs-cards .card-image img {
  width: 100%;
  height: 222px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.blogs-cards .card-content {
  padding: 18px 18px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.blogs-cards .card-title {
  font-family: var(--font-heading);
  text-decoration: none;
  color: var(--lavender);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.2px;
  max-width: 310px;
  margin: 0 auto;
}

.blogs-cards .card-date {
  margin-top: 12px;
  color: rgba(243, 239, 245, 0.5);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 400;
}
.blogs-cards .load-more-wrap {
  text-align: center;
  margin-top: 38px;
}

.blogs-cards .load-more-btn {
  min-width: 190px;
  height: 52px;
  border: 1.5px solid #72b01d;
  border-radius: 10px;
  background: #72b01d;
  color: #0d0a0b;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
}

.blogs-cards .load-more-btn:hover {
  background: #3f7d20;
  border-color: #3f7d20;
}

/* Tablet */
@media (max-width: 991px) {
  .blogs-cards .cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 22px;
    row-gap: 28px;
  }

  .blogs-cards .card {
    min-height: 350px;
  }

  .blogs-cards .card-image img {
    height: 210px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .blogs-cards .cards-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blogs-cards .card {
    min-height: auto;
  }

  .blogs-cards .card-image img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .blogs-cards .card-content {
    padding: 16px 16px 18px;
  }

  .blogs-cards .card-title {
    font-size: 22px;
    line-height: 1.2;
    max-width: 100%;
  }

  .blogs-cards .card-date {
    font-size: 15px;
  }
}

.blog-detail-page {
  padding: 60px 0;
  background: #ffffff;
}

.blog-detail-page .container {
  max-width: 1172px;
  margin: 0 auto;
  padding: 0 12px;
}

.blog-detail-card {
  max-width: 900px;
  margin: 0 auto 60px;
}

.blog-detail-top {
  text-align: center;
  margin-bottom: 28px;
}

.blog-detail-date {
  font-size: 15px;
  color: #4a2b78;
  margin-bottom: 12px;
}

.blog-detail-title {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  color: #26135f;
  margin: 0;
}

.blog-detail-featured-image {
  margin-bottom: 30px;
}

.blog-detail-featured-image img {
  width: 100%;
  display: block;
  border-radius: 20px;
  object-fit: cover;
}

.blog-detail-content {
  font-size: 18px;
  line-height: 1.8;
  color: #2b2b2b;
}

.blog-detail-content p {
  margin-bottom: 18px;
}

.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4 {
  color: #26135f;
  margin: 28px 0 14px;
  line-height: 1.3;
}

.blog-detail-content ul,
.blog-detail-content ol {
  margin: 0 0 20px 22px;
}

.blog-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.related-blogs {
  margin-top: 60px;
}

.related-blogs-title {
  font-size: 32px;
  line-height: 1.2;
  text-align: center;
  color: #26135f;
  margin-bottom: 30px;
}

.related-blogs .cards-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 36px;
}

.related-blogs .card {
  background: #d7b2df;
  border: 1.5px solid #4b1685;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 365px;
}

.related-blogs .card-image {
  padding: 10px 10px 0;
}

.related-blogs .card-image a {
  display: block;
}

.related-blogs .card-image img {
  width: 100%;
  height: 222px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.related-blogs .card-content {
  padding: 18px 18px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.related-blogs .card-title {
  color: #26135f;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  text-decoration: none;
  max-width: 310px;
  margin: 0 auto;
}

.related-blogs .card-date {
  margin-top: 12px;
  color: #4a2b78;
  font-size: 14px;
  line-height: 1.3;
}

@media (max-width: 991px) {
  .blog-detail-title {
    font-size: 34px;
  }

  .related-blogs .cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 22px;
    row-gap: 28px;
  }
}

@media (max-width: 640px) {
  .blog-detail-page {
    padding: 40px 0;
  }

  .blog-detail-title {
    font-size: 28px;
  }

  .blog-detail-content {
    font-size: 16px;
    line-height: 1.7;
  }

  .related-blogs-title {
    font-size: 26px;
  }

  .related-blogs .cards-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .related-blogs .card-image img {
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

/* BLOG DETAIL PAGE CSS */
.hero-content-center {
  text-align: center;
  z-index: 1;
  position: relative;
}
.blog-hero-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.blog-detail-layout {
  padding: 22px 0 60px;
  background: #f4f4f4;
}

.blog-detail-layout .container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-detail-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 290px;
  gap: 28px;
  align-items: start;
}

/* LEFT */
.blog-left-sidebar {
  position: sticky;
  top: 20px;
}

.toc-box {
  background: transparent;
  border-radius: 12px;
  margin-bottom: 24px;
}

.toc-box .ez-toc-widget-container,
.toc-box .ez-toc-container {
  background: transparent !important;
  border: 1px solid #707070 !important;
  border-radius: 12px !important;
  padding: 18px 16px !important;
  box-shadow: none !important;
}

.toc-box nav,
.toc-box .ez-toc-list {
  max-height: 660px;
  overflow-y: auto;
  padding-right: 10px;
}

.toc-box ul,
.toc-box ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-box li {
  margin-bottom: 12px;
}

.toc-box a {
  color: #5b5b5b;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 600;
}

.toc-box a:hover {
  color: #2f1570;
}

.share-box h4 {
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #2f1570;
  font-weight: 700;
}

.share-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-icons a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--lime);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  transition: 0.25s ease;
}

.share-icons a:hover {
  transform: translateY(-2px);
}

/* MAIN */
.blog-main-content {
  min-width: 0;
}

.single-blog-article {
  background: transparent;
}

.blog-featured-image {
  margin-bottom: 10px;
}

.blog-featured-image img {
  width: 100%;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

.blog-main-content .entry-content {
  color: #111;
  font-size: 18px;
  line-height: 1.65;
}

.blog-main-content .entry-content > *:first-child {
  margin-top: 0;
}

.blog-main-content .entry-content p {
  margin-bottom: 20px;
}

.blog-main-content .entry-content h1,
.blog-main-content .entry-content h2,
.blog-main-content .entry-content h3,
.blog-main-content .entry-content h4 {
  color: #22006d;
  font-weight: 800;
  line-height: 1.15;
  margin: 30px 0 16px;
}

.blog-main-content .entry-content h1 {
  font-size: 48px;
}

.blog-main-content .entry-content h2 {
  font-size: 36px;
}

.blog-main-content .entry-content h3 {
  font-size: 28px;
}

.blog-main-content .entry-content ul,
.blog-main-content .entry-content ol {
  margin: 0 0 20px 22px;
}

.blog-main-content .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.blog-main-content .entry-content a {
  color: #22006d;
}

.blog-post-navigation {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #ddd;
}

/* AUTHOR */
.author-section {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 34px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e2e2;
}

.author-avatar {
  width: 90px;
  height: 90px;
  min-width: 90px;
  border-radius: 50%;
  object-fit: cover;
}

.author-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
  font-weight: 600;
}

.author-name {
  font-size: 24px;
  line-height: 1.2;
  color: #000;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.author-bio {
  margin: 0 0 14px;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
}

.author-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.author-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f0f0f0;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* RIGHT */
.blog-right-sidebar {
  width: 100%;
  max-width: 315px;
  position: sticky;
  top: 20px;
}

.cta-form-box {
  background: #000000;
  border-radius: 18px;
  overflow: hidden;
  padding: 0 0 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.cta-top-image {
  padding: 0;
  margin: 0;
  line-height: 0;
}

.cta-top-image img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.cta-form-area {
  padding: 28px 17px 0;
}

.cta-form-area .wpcf7 {
  margin: 0;
}

.cta-form-area .wpcf7 form {
  margin: 0;
}

.cta-form-area .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 20px;
}

.cta-form-area p {
  margin: 0 0 20px;
}

.cta-form-area p:last-child {
  margin-bottom: 0;
}

.cta-form-area input[type="text"],
.cta-form-area input[type="email"],
.cta-form-area input[type="tel"],
.cta-form-area input[type="number"],
.cta-form-area textarea,
.cta-form-area select {
  width: 100%;
  height: 54px;
  background: linear-gradient(90deg, var(--black), rgba(69, 73, 85, 0.2), var(--black));
  border: none;
  border-radius: 4px;
  outline: none;
  box-shadow: none;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 400;
  color: #6d6d6d;
}

.cta-form-area textarea {
  min-height: 120px;
  height: 120px;
  resize: none;
  padding: 14px 18px;
}

.cta-form-area input::placeholder,
.cta-form-area textarea::placeholder {
  color: #7b7b7b;
  opacity: 1;
}

.cta-form-area input:focus,
.cta-form-area textarea:focus,
.cta-form-area select:focus {
  border: none;
  outline: none;
  box-shadow: 0 0 0 1px var(--lime);
}

.cta-form-area .wpcf7-submit {
  min-width: 151px;
  height: 42px;
  background: var(--lime);
  border: 1px solid var(--lime);
  border-radius: 4px;
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  cursor: pointer;
  padding: 0 20px;
  transition: all 0.25s ease;
}

.cta-form-area .wpcf7-submit:hover {
  background: var(--green);
  border-color: var(--green);
}

.cta-form-area .wpcf7-spinner {
  margin: 10px 0 0 10px;
}

.cta-form-area .wpcf7-not-valid-tip {
  color: #ffb3b3;
  font-size: 12px;
  margin-top: 6px;
}

.cta-form-area .wpcf7-response-output {
  margin: 15px 0 0 !important;
  padding: 10px 12px !important;
  font-size: 13px;
  color: #fff;
  border-radius: 4px;
}

/* phone field flag plugin support */
.cta-form-area .intl-tel-input,
.cta-form-area .iti {
  width: 100%;
  display: block;
}

.cta-form-area .iti input[type="tel"] {
  width: 100%;
  padding-left: 52px !important;
}

.cta-form-area .iti__flag-container {
  left: 0;
}

.cta-form-area .iti--allow-dropdown input,
.cta-form-area .iti--allow-dropdown input[type="tel"],
.cta-form-area .iti--separate-dial-code input,
.cta-form-area .iti--separate-dial-code input[type="tel"] {
  padding-left: 52px !important;
}

.cta-form-area .iti__selected-flag {
  padding: 0 0 0 14px;
  border-radius: 4px 0 0 4px;
  background: transparent;
}

.cta-form-area .iti__country-list {
  color: #111;
  font-size: 14px;
}

/* responsive */
@media (max-width: 1199px) {
  .blog-right-sidebar {
    max-width: 290px;
  }

  .cta-form-area {
    padding: 24px 14px 0;
  }
}

@media (max-width: 991px) {
  .blog-right-sidebar {
    max-width: 100%;
    position: static;
  }

  .cta-form-box {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .cta-form-box {
    border-radius: 16px;
    padding-bottom: 18px;
  }

  .cta-top-image img {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }

  .cta-form-area {
    padding: 22px 14px 0;
  }

  .cta-form-area .wpcf7-form-control-wrap {
    margin-bottom: 18px;
  }

  .cta-form-area p {
    margin-bottom: 18px;
  }

  .cta-form-area input[type="text"],
  .cta-form-area input[type="email"],
  .cta-form-area input[type="tel"],
  .cta-form-area input[type="number"],
  .cta-form-area select {
    height: 52px;
    font-size: 15px;
  }

  .cta-form-area .wpcf7-submit {
    min-width: 145px;
    height: 40px;
    font-size: 13px;
  }
}

/* nav */
.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.post-navigation a {
  text-decoration: none;
  color: #22006d;
  font-weight: 700;
}

.nav-subtitle {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}

/* responsive */
@media (max-width: 1199px) {
  .blog-detail-grid {
    grid-template-columns: 240px minmax(0, 1fr) 270px;
    gap: 20px;
  }

  .blog-main-content .entry-content h1 {
    font-size: 42px;
  }

  .blog-main-content .entry-content h2 {
    font-size: 32px;
  }
}

@media (max-width: 991px) {
  .blog-detail-grid {
    grid-template-columns: 1fr;
  }

  .blog-left-sidebar,
  .blog-right-sidebar {
    position: static;
  }

  .blog-left-sidebar {
    order: 2;
  }

  .blog-main-content {
    order: 1;
  }

  .blog-right-sidebar {
    order: 3;
  }

  .toc-box .ez-toc-widget-container,
  .toc-box .ez-toc-container {
    padding: 16px !important;
  }
}

@media (max-width: 767px) {
  .blog-detail-layout {
    padding: 16px 0 40px;
  }

  .blog-detail-layout .container {
    padding: 0 14px;
  }

  .blog-main-content .entry-content {
    font-size: 16px;
  }

  .blog-main-content .entry-content h1 {
    font-size: 32px;
  }

  .blog-main-content .entry-content h2 {
    font-size: 28px;
  }

  .blog-main-content .entry-content h3 {
    font-size: 24px;
  }

  .author-section {
    flex-direction: column;
  }

  .post-navigation .nav-links {
    flex-direction: column;
  }
}

.table-responsive {
  overflow-x: auto;
}
.table-responsive::-webkit-scrollbar {
  height: 8px;
}
.table-responsive::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.table-responsive::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 10px;
}
.table-responsive::-webkit-scrollbar-thumb:hover {
  background: #0f1a30;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
}

.blog-main-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.blog-main-content table thead th {
  background: #000;
  color: #ffffff;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.blog-main-content table thead th:first-child {
  border-radius: 7px 0 0 0;
}

.blog-main-content table thead th:last-child {
  border-radius: 0 7px 0 0;
}

.blog-main-content table tbody td {
  padding: 12px 15px;
  border-bottom: 1px solid #e5e5e5;
  color: #444444;
  vertical-align: top;
  line-height: 1.6;
}

.blog-main-content table tbody tr:last-child td {
  border-bottom: none;
}

.blog-main-content table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

.blog-main-content table tbody tr:hover {
  background: rgba(252, 163, 17, 0.06);
}

.blog-main-content table tbody td:first-child {
  font-weight: 600;
  color: #000;
  white-space: nowrap;
}
.blog-main-content .table-responsive table th {
    background-color: #0e0e10;
    color: #fff;
    padding: 12px 15px;
	text-align: left;
}

/* ===== EASY TOC STICKY WIDGET: MATCH OUR SIDEBAR UI ===== */

.toc-box {
  padding-bottom: 30px;
  width: 270px;
}

/* .toc-box .ez-toc-widget-sticky-container{
    position: sticky;
    top: 100px !important;
} */

.toc-box .widgettitle {
  margin: 0 0 18px 0;
  padding: 0;
  border: 0;
}

.toc-box .ez-toc-widget-sticky-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #000 !important;
  display: inline-block;
}

.toc-box .ez-toc-widget-sticky-toggle {
  text-decoration: none;
}

.toc-box ul.ez-toc-widget-sticky-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid #e5e5e5;
}

.toc-box ul.ez-toc-widget-sticky-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-box ul.ez-toc-widget-sticky-list li {
  margin: 0;
  padding: 0;
}

.toc-box ul.ez-toc-widget-sticky-list a.ez-toc-link {
  display: block;
  padding: 8px 0 8px 18px;
  font-size: 13.5px;
  color: #555555;
  font-weight: 500;
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.toc-box ul.ez-toc-widget-sticky-list a.ez-toc-link:hover {
  color: #000;
  font-weight: 500;
  border-left-color: var(--lime);
}

.toc-box ul.ez-toc-widget-sticky-list li.active > a.ez-toc-link {
  color: #000 !important;
  border-left-color: var(--lime) !important;
  font-weight: 600;
  background: transparent !important;
}

.toc-box ul.ez-toc-widget-sticky-list-level-3 > li > a.ez-toc-link {
  padding-left: 34px;
  font-size: 12.5px;
  font-weight: 500;
  color: #888888;
}
.toc-box ul.ez-toc-widget-sticky-list-level-3 > li > a.ez-toc-link:hover {
  color: #000;
}

.toc-box ul.ez-toc-widget-sticky-list-level-4 > li > a.ez-toc-link {
  padding-left: 44px;
  font-size: 12px;
  color: #888888;
}

.toc-box ul.ez-toc-widget-sticky-list li ul li a.ez-toc-link {
  padding-left: 34px;
  font-size: 12.5px;
  color: #888888;
}

.toc-box .ez-toc-widget-sticky-container * {
  box-shadow: none !important;
}

.toc-box .ez-toc-widget-sticky-pull-right {
  display: none;
}

.ez-toc-widget-sticky-container.is_stuck nav {
  padding: 0 !important;
  padding-right: 15px !important;
}

.ez-toc-widget-sticky-container nav {
  max-height: 550px;
}

.ez-toc-mobile-toggle-btn {
  background: #000 !important;
}

/* ===== Webkit Scrollbar Styling ===== */
.ez-toc-widget-sticky-container nav::-webkit-scrollbar {
  width: 6px;
}
.ez-toc-widget-sticky-container nav::-webkit-scrollbar-track {
  background: #f6f6f6;
  border-left: 1px solid #e5e5e5;
  border-radius: 10px;
}
.ez-toc-widget-sticky-container nav::-webkit-scrollbar-thumb {
  background: rgba(20, 33, 61, 0.35); /* #14213d */
  border-radius: 10px;
}
.ez-toc-widget-sticky-container nav::-webkit-scrollbar-thumb:hover {
  background: var(--lime); /* var(--lime) */
}

div.ez-toc-widget-sticky-container.is_stuck {
  overflow-y: visible !important;
  box-shadow: none !important;
  min-width: 270px;
}

.ez-toc-widget-sticky .is_stuck .ez-toc-widget-sticky-title-container {
  padding-left: 0 !important;
}
.ez-toc-widget-sticky-container.is_stuck .widgettitle {
  padding: 0 !important ;
}
#ez-toc-widget-sticky-container ul ul, .ez-toc div.ez-toc-widget-sticky-container ul ul {
    margin-left: 0.9em !important;
}
.toc-box ul.ez-toc-widget-sticky-list li ul li a.ez-toc-link {
    padding-left: 15px !important;
}

/* =========================================================
   Progressive enhancement / JavaScript-failure fallbacks
   Important content is visible by default. theme-js-ready is
   added only after the interaction handlers are installed.
   ========================================================= */

/* Mobile navigation remains usable when JavaScript is unavailable. */
.mobile-menu {
  display: block;
}
.theme-js-loading .mobile-menu,
.theme-js-ready .mobile-menu {
  display: none;
}
.theme-js-loading .mobile-menu.open,
.theme-js-ready .mobile-menu.open {
  display: block;
}
@media (min-width: 1024px) {
  .mobile-menu,
  .theme-js-loading .mobile-menu,
  .theme-js-loading .mobile-menu.open,
  .theme-js-ready .mobile-menu,
  .theme-js-ready .mobile-menu.open {
    display: none;
  }
}

/* All service content is present and visible before enhancement. */
.service-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.theme-js-loading .service-panel,
.theme-js-ready .service-panel {
  display: none;
  margin-bottom: 0;
}
.theme-js-loading .service-panel.active,
.theme-js-ready .service-panel.active {
  display: grid;
}
@media (min-width: 1024px) {
  .service-panel,
  .theme-js-loading .service-panel.active,
  .theme-js-ready .service-panel.active {
    grid-template-columns: auto 1fr;
    gap: 3rem;
  }
}

/* All portfolio case studies are readable if tab JavaScript fails. */
.portfolio-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.theme-js-loading .portfolio-item,
.theme-js-ready .portfolio-item {
  display: none;
  margin-bottom: 0;
}
.theme-js-loading .portfolio-item.active,
.theme-js-ready .portfolio-item.active {
  display: grid;
}

/* FAQ answers are visible by default; the accordion starts only when ready. */
.faq-answer {
  max-height: none;
  overflow: visible;
}
.theme-js-loading .faq-answer,
.theme-js-ready .faq-answer {
  max-height: 0;
  overflow: hidden;
}
.theme-js-loading .faq-item.open .faq-answer,
.theme-js-ready .faq-item.open .faq-answer {
  max-height: 500px;
}
html:not(.theme-js-loading):not(.theme-js-ready) .faq-chevron {
  display: none;
}
html:not(.theme-js-loading):not(.theme-js-ready) .faq-question {
  cursor: default;
}

/* The lead form becomes a normal footer section without working JavaScript. */
.modal-overlay {
  display: block;
  position: static;
  padding: 4rem 1rem;
  background: rgba(69, 73, 85, 0.05);
}
.modal-overlay .modal-backdrop,
.modal-overlay .modal-close {
  display: none;
}
.modal-overlay .modal-box {
  margin: 0 auto;
}
.theme-js-loading .modal-overlay,
.theme-js-ready .modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: transparent;
}
.theme-js-ready .modal-overlay.open {
  display: flex;
}
.theme-js-ready .modal-overlay .modal-backdrop,
.theme-js-ready .modal-overlay .modal-close {
  display: block;
}

.cta-card {
  display: block;
}

.blog-pagination {
  margin-top: 2rem;
}
.blog-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
}
.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  min-width: 2.5rem;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
