:root {
  --navy: #0B1D33;
  --blue: #1A5DAB;
  --sky: #3B8DD4;
  --light: #E8F0F8;
  --white: #FFFFFF;
  --warm: #F8F6F3;
  --gold: #D4A84B;
  --text: #1E1E1E;
  --muted: #5A6A7A;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 29, 51, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-decoration: none;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
  /* WP menu reset */
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

/* Phone Item */
.nav-phone,
.nav-links .nav-phone a {
  color: var(--gold) !important;
  font-weight: 600 !important;
}

/* CTA Button */
.nav-cta,
.nav-links .nav-cta a {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  /* Ensure link behaves like block for padding */
}

.nav-cta:hover,
.nav-links .nav-cta a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 168, 75, 0.35);
  color: var(--navy) !important;
  /* Force color on hover */
}

/* HERO */
/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0F2847 50%, #132E4F 100%);
  overflow: hidden;
  padding-top: 180px;
  /* Increased top spacing */
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(26, 93, 171, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: fadeUp 0.8s ease-out;
  text-align: center;
  /* Center text */
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 168, 75, 0.12);
  border: 1px solid rgba(212, 168, 75, 0.25);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  /* Center block */
  margin-right: auto;
  /* Center block */
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  /* Center buttons */
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 168, 75, 0.35);
}

.btn-secondary {
  color: rgba(255, 255, 255, 0.8);
  padding: 16px 24px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  color: var(--white);
}

.hero-visual {
  animation: fadeUp 0.8s ease-out 0.15s both;
}

.hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(8px);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}

/* TRUST BAR */
.trust-bar {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* SECTIONS */
.section {
  padding: 100px 0;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
}

/* SERVICES */
.services-section {
  background: var(--warm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border-color: rgba(26, 93, 171, 0.15);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.service-link:hover {
  gap: 10px;
}

.service-featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
}

.service-featured .sf-content {
  padding: 48px 44px;
}

.service-featured .sf-visual {
  background: linear-gradient(135deg, var(--navy), #1A3A5C);
  border-radius: 0 16px 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.sf-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.sf-tag {
  background: var(--light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}

.sf-app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sf-app {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 500;
}

/* INDUSTRIES */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.industry-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s;
}

.industry-card:hover {
  transform: translateY(-4px);
}

.industry-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.industry-card:nth-child(1) .industry-bg {
  background: linear-gradient(180deg, #1A3A5C 0%, #0B1D33 100%);
}

.industry-card:nth-child(2) .industry-bg {
  background: linear-gradient(180deg, #2A5A3A 0%, #142D1E 100%);
}

.industry-card:nth-child(3) .industry-bg {
  background: linear-gradient(180deg, #4A3A2A 0%, #231C14 100%);
}

.industry-content {
  position: relative;
  z-index: 2;
  padding: 36px 32px;
}

.industry-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.industry-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.25;
}

.industry-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 20px;
}

.industry-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* TESTIMONIALS */
.testimonials-section {
  background: var(--navy);
}

.testimonials-section .section-label {
  color: var(--gold);
}

.testimonials-section .section-title {
  color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 36px 32px;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.testimonial-card blockquote {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.testimonial-name {
  font-weight: 600;
  color: var(--white);
  font-size: 14px;
}

.testimonial-role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--blue), #0D4A8A);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 36px;
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  padding: 18px 40px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.cta-phone {
  display: block;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
}

.cta-phone strong {
  color: var(--white);
}

/* FOOTER */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 36px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand span {
  color: var(--gold);
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-support {
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {

  /* Mobile Menu */
  .nav-mobile-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 200;
  }

  .nav-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
  }

  .nav-mobile-toggle span:nth-child(1) {
    top: 0;
  }

  .nav-mobile-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-mobile-toggle span:nth-child(3) {
    bottom: 0;
  }

  /* Animate hamburger to X when open */
  .nav-open .nav-mobile-toggle span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  .nav-open .nav-mobile-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-mobile-toggle span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: 72px;
    /* Below header */
    left: 0;
    right: 0;
    height: calc(100vh - 72px);
    background: var(--navy);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
  }

  .nav-open .nav-links {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-phone {
    margin-top: 20px;
    color: var(--gold) !important;
  }

  .nav-cta {
    margin-top: 20px;
    width: 100%;
    text-align: center;
    padding: 16px;
    font-size: 18px;
  }

  /* Section Adjustments */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 40px;
    padding-bottom: 60px;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 0;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .service-featured .sf-visual {
    border-radius: 0 0 16px 16px;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* Base styles for toggle (hidden on desktop) */
.nav-mobile-toggle {
  display: none;
}



/* ═══════════════════════════════════════════════════════════════════════════
   ELEMENTOR CONTAINER OVERRIDES
   Forces Elementor's wrapper divs to be transparent so demo.css handles all styling
   ═══════════════════════════════════════════════════════════════════════════ */

/* Reset Elementor container defaults — no max-width constraint on outer containers */
.elementor .e-con.hero,
.elementor .e-con.trust-bar,
.elementor .e-con.services-section,
.elementor .e-con.testimonials-section,
.elementor .e-con.cta-section,
.elementor .e-con.section {
  --content-width: 100%;
  --container-max-width: 100%;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Remove Elementor's inner boxed wrapper constraint */
.elementor .e-con.hero>.e-con-inner,
.elementor .e-con.trust-bar>.e-con-inner,
.elementor .e-con.services-section>.e-con-inner,
.elementor .e-con.testimonials-section>.e-con-inner,
.elementor .e-con.cta-section>.e-con-inner,
.elementor .e-con.section>.e-con-inner {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

/* The text-editor widget inside should also be full-width */
.elementor .e-con.hero .elementor-widget-text-editor,
.elementor .e-con.trust-bar .elementor-widget-text-editor,
.elementor .e-con.services-section .elementor-widget-text-editor,
.elementor .e-con.testimonials-section .elementor-widget-text-editor,
.elementor .e-con.cta-section .elementor-widget-text-editor,
.elementor .e-con.section .elementor-widget-text-editor {
  width: 100% !important;
}

/* Reset Elementor paragraph margins inside our sections */
.elementor .hero p,
.elementor .section p {
  margin-bottom: 0;
}

.elementor .hero .elementor-widget-container,
.elementor .trust-bar .elementor-widget-container,
.elementor .section .elementor-widget-container {
  max-width: none;
}