*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1E293B;
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: #0A1628;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
  color: #D4A843;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #C8972E;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-lg {
  padding: 7rem 0;
}

.section-title {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #0A1628;
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: #64748B;
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background-color: #D4A843;
  color: #0A1628;
  border-color: #D4A843;
}

.btn-primary:hover {
  background-color: #C8972E;
  border-color: #C8972E;
  color: #0A1628;
}

.btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: #FFFFFF;
  color: #0A1628;
}

.btn-dark {
  background-color: #0A1628;
  color: #FFFFFF;
  border-color: #0A1628;
}

.btn-dark:hover {
  background-color: #132742;
  border-color: #132742;
  color: #FFFFFF;
}

.btn-outline {
  background-color: transparent;
  color: #0A1628;
  border-color: #0A1628;
}

.btn-outline:hover {
  background-color: #0A1628;
  color: #FFFFFF;
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0A1628;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background-color: #0A1628;
  color: #D4A843;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 900;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #D4A843;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #0A1628;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  width: 36px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: #0A1628;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding-top: 130px;
  padding-bottom: 5rem;
  background-color: #0A1628;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border: 80px solid rgba(212, 168, 67, 0.06);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 600px;
  height: 600px;
  border: 50px solid rgba(212, 168, 67, 0.04);
  border-radius: 50%;
}

.hero-geo {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero-geo-line {
  position: absolute;
  background-color: rgba(212, 168, 67, 0.08);
}

.hero-geo-line:nth-child(1) {
  top: 20%;
  left: 15%;
  width: 70%;
  height: 1px;
  transform: rotate(-12deg);
}

.hero-geo-line:nth-child(2) {
  top: 35%;
  left: 5%;
  width: 60%;
  height: 1px;
  transform: rotate(8deg);
}

.hero-geo-line:nth-child(3) {
  top: 50%;
  left: 20%;
  width: 65%;
  height: 1px;
  transform: rotate(-5deg);
}

.hero-geo-line:nth-child(4) {
  top: 65%;
  left: 10%;
  width: 55%;
  height: 1px;
  transform: rotate(15deg);
}

.hero-geo-line:nth-child(5) {
  top: 80%;
  left: 25%;
  width: 50%;
  height: 1px;
  transform: rotate(-8deg);
}

.hero-grid-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: rgba(212, 168, 67, 0.2);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(212, 168, 67, 0.15);
  color: #D4A843;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(212, 168, 67, 0.25);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: #D4A843;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-title span {
  color: #D4A843;
}

.hero-text {
  font-size: 1.175rem;
  color: #94A3B8;
  margin-bottom: 2.25rem;
  line-height: 1.75;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #D4A843;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: #94A3B8;
  margin-top: 0.375rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
  background-color: #FFFFFF;
}

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

.service-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.35s ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: #D4A843;
  transition: height 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.08);
  border-color: #D4A843;
}

.service-card:hover::before {
  height: 100%;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background-color: #F1F5F9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: #0A1628;
  transition: all 0.35s ease;
}

.service-card:hover .service-card-icon {
  background-color: #0A1628;
  color: #D4A843;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: #64748B;
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #D4A843;
}

.service-card-link .arrow {
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-link .arrow {
  transform: translateX(4px);
}

/* ============================================
   ABOUT / WHY US SECTION
   ============================================ */

.why-us {
  background-color: #F8FAFC;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-us-visual {
  position: relative;
}

.why-us-image {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, #0A1628 0%, #132742 50%, #1B3A5C 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(30deg, #D4A843 1px, transparent 1px),
    linear-gradient(-30deg, #D4A843 1px, transparent 1px);
  background-size: 30px 30px;
}

.why-us-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  background-color: #D4A843;
  border-radius: 16px;
  z-index: -1;
}

.why-us-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  background-color: #FFFFFF;
  color: #0A1628;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.why-us-badge small {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748B;
}

.why-us-content h2 {
  margin-bottom: 1.25rem;
  text-align: left;
}

.why-us-content .lead {
  font-size: 1.1rem;
  color: #475569;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  color: #334155;
  line-height: 1.6;
}

.feature-check {
  width: 24px;
  height: 24px;
  background-color: #D4A843;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0A1628;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ============================================
   PROCESS / HOW WE WORK
   ============================================ */

.process {
  background-color: #FFFFFF;
}

.process-timeline {
  position: relative;
  padding: 0.5rem 0;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #D4A843, #0A1628);
  transform: translateX(-50%);
}

.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3.5rem;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step:nth-child(odd) {
  flex-direction: row;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.process-step-number {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  background-color: #0A1628;
  color: #D4A843;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  z-index: 2;
  border: 4px solid #FFFFFF;
  box-shadow: 0 0 0 3px #D4A843;
}

.process-step-body {
  width: calc(50% - 50px);
  background-color: #F8FAFC;
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  transition: all 0.3s ease;
}

.process-step:nth-child(odd) .process-step-body {
  text-align: right;
}

.process-step-body:hover {
  border-color: #D4A843;
  box-shadow: 0 10px 30px rgba(10, 22, 40, 0.06);
}

.process-step-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.process-step-body p {
  color: #64748B;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================
   TECH STACK
   ============================================ */

.tech-stack {
  background-color: #0A1628;
}

.tech-stack .section-title {
  color: #FFFFFF;
}

.tech-stack .section-subtitle {
  color: #94A3B8;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tech-item {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.tech-item:hover {
  background-color: rgba(212, 168, 67, 0.08);
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-4px);
}

.tech-item-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  display: block;
}

.tech-item h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 0.375rem;
}

.tech-item p {
  color: #94A3B8;
  font-size: 0.85rem;
}

/* ============================================
   INDUSTRIES
   ============================================ */

.industries {
  background-color: #FFFFFF;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.industry-card {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.industry-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #D4A843, #0A1628);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.industry-card:hover {
  box-shadow: 0 10px 30px rgba(10, 22, 40, 0.08);
  transform: translateY(-4px);
}

.industry-card:hover::after {
  transform: scaleX(1);
}

.industry-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.industry-card h4 {
  font-size: 1rem;
  color: #0A1628;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials {
  background-color: #F8FAFC;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 2.25rem;
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  font-size: 5rem;
  color: #D4A843;
  line-height: 1;
  font-family: Georgia, serif;
  position: absolute;
  top: 10px;
  left: 20px;
  opacity: 0.25;
}

.testimonial-text {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A1628, #1B3A5C);
  color: #D4A843;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: #0A1628;
  font-size: 0.95rem;
}

.testimonial-author span {
  color: #64748B;
  font-size: 0.85rem;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
  background: linear-gradient(135deg, #0A1628 0%, #132742 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(212, 168, 67, 0.15);
  border-radius: 50%;
}

.cta::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 10%;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(212, 168, 67, 0.1);
  border-radius: 50%;
}

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

.cta h2 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.cta p {
  color: #94A3B8;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   CONTACT SECTION (HOMEPAGE)
   ============================================ */

.contact {
  background-color: #FFFFFF;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  text-align: left;
  margin-bottom: 1.25rem;
}

.contact-info .lead {
  color: #64748B;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  color: #334155;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background-color: #F1F5F9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0A1628;
  font-size: 1.125rem;
}

.contact-form {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0A1628;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: #0A1628;
  background-color: #FFFFFF;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #D4A843;
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background-color: #0A1628;
  color: #94A3B8;
  padding: 4rem 0 2rem;
}

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

.footer-brand .logo {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #94A3B8;
}

.footer h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #D4A843;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #94A3B8;
  font-size: 0.9rem;
}

.footer-bottom-links a:hover {
  color: #D4A843;
}

/* ============================================
   PAGE HEADER (INNER PAGES)
   ============================================ */

.page-header {
  background: linear-gradient(135deg, #0A1628 0%, #132742 100%);
  padding: 140px 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #D4A843, #C8972E, #0A1628);
}

.page-header h1 {
  color: #FFFFFF;
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #94A3B8;
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb a {
  color: #D4A843;
}

.page-header .breadcrumb .sep {
  color: #475569;
}

/* ============================================
   LEGAL PAGES (PRIVACY & TERMS)
   ============================================ */

.legal-content {
  padding: 4rem 0;
  background-color: #FFFFFF;
}

.legal-content .container-narrow {
  position: relative;
}

.legal-toc {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.legal-toc h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: #0A1628;
}

.legal-toc ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  padding-left: 1.5rem;
}

.legal-toc ol li {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

.legal-toc ol li a {
  color: #475569;
  transition: color 0.3s ease;
}

.legal-toc ol li a:hover {
  color: #D4A843;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.65rem;
  color: #0A1628;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #F1F5F9;
}

.legal-section h3 {
  font-size: 1.2rem;
  color: #132742;
  margin: 1.5rem 0 0.75rem;
}

.legal-section p {
  color: #334155;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.legal-section ul,
.legal-section ol {
  padding-left: 1.75rem;
  margin-bottom: 1rem;
  color: #334155;
}

.legal-section ul li,
.legal-section ol li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #F1F5F9;
  padding: 0.625rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #64748B;
  margin-bottom: 2.5rem;
}

.last-updated .dot {
  width: 8px;
  height: 8px;
  background-color: #D4A843;
  border-radius: 50%;
}

.legal-highlight {
  background-color: #FFFBEB;
  border-left: 4px solid #D4A843;
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

.legal-highlight p {
  margin-bottom: 0;
  color: #0A1628;
  font-weight: 500;
}

/* ============================================
   BACK TO TOP
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: #0A1628;
  color: #D4A843;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #D4A843;
  color: #0A1628;
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 22, 40, 0.95);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-links a {
  font-size: 1.5rem;
  color: #FFFFFF;
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
  color: #D4A843;
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline::before {
    left: 26px;
  }

  .process-step,
  .process-step:nth-child(even) {
    flex-direction: row;
  }

  .process-step-number {
    left: 26px;
  }

  .process-step-body {
    width: calc(100% - 76px);
    margin-left: 56px;
  }

  .process-step:nth-child(odd) .process-step-body {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .nav-right {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 3.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

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

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-us-image {
    height: 300px;
  }

  .why-us-accent {
    width: 120px;
    height: 120px;
    bottom: -15px;
    right: -15px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom-links {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .process-step-body {
    width: calc(100% - 60px);
    margin-left: 40px;
    padding: 1.25rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }
}
