:root {
  --bg-color: #000000;
  --text-white: #ffffff;
  --text-yellow: #f5df4d;
}

/* Base Setup */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-white);
  font-family: 'JetBrains Mono', monospace;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.header-left {
  font-size: 1.1rem;
}

.header-left .number {
  color: var(--text-white);
}

.header-left .word {
  color: var(--text-yellow);
}

.header-right {
  position: relative;
  display: flex;
  align-items: center;
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
  z-index: 101;
}

.hamburger-btn .bar {
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--text-white);
  transition: all 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 1.5rem;
  background-color: rgba(0, 0, 0, 0.95);
  border: 1px solid transparent;
  padding: 1rem 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu ul {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 1rem 2rem;
  color: var(--text-white);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-align: right;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.dropdown-menu a:hover {
  color: var(--text-yellow);
  background-color: rgba(255, 255, 255, 0.05);
}

.fixed-md-label {
  position: fixed;
  top: 5rem;
  left: 2rem;
  color: var(--text-white);
  font-size: 0.9rem;
  letter-spacing: 1px;
  z-index: 90;
}

/* Sections */
.section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Hero Section */
.hero {
  flex-direction: column;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  line-height: 1.3;
  font-weight: 700;
}

.hero-content h1 span {
  display: inline-block;
}

.hero-content h1 .yellow {
  color: var(--text-yellow);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  letter-spacing: 2px;
  animation: blink 2s infinite;
  color: #666;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Content Sections */
.content-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.text-col {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.img-col {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.content-section.in-view .text-col,
.content-section.in-view .img-col {
  opacity: 1;
  transform: translateX(0);
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.section-heading .num {
  color: var(--text-yellow);
}

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

.text-col p {
  font-size: 1.1rem;
  text-transform: uppercase;
  line-height: 1.8;
  max-width: 90%;
}

.placeholder-img {
  width: 100%;
  height: auto;
  border: 1px solid transparent;
  display: block;
}

/* Footer */
.footer {
  flex-direction: column;
  text-align: center;
  padding: 4rem 2rem;
}

.blink-text {
  animation: blink 1.5s infinite;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 2rem 0;
  text-align: left;
}

.footer-col h3 {
  color: var(--text-yellow);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.footer-col p {
  font-size: 0.95rem !important;
  color: #888 !important;
  line-height: 1.6 !important;
  text-transform: uppercase;
}

.footer-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-transform: uppercase;
  max-width: 800px;
  letter-spacing: 2px;
}

.footer-content p {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #ccc;
  letter-spacing: 1px;
}

.cta-button {
  margin-top: 2rem;
  background: transparent;
  color: var(--text-yellow);
  border: 2px solid var(--text-yellow);
  padding: 1.2rem 3rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--text-yellow);
  color: var(--bg-color);
}

/* Desktop first styles continue below */

.scroll-progress-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  height: clamp(250px, 40vh, 400px);
  z-index: 100;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-progress-container.hidden {
  opacity: 0;
  visibility: hidden;
}

.scroll-progress-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: -2;
}

.scroll-progress-bar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0%;
  background-color: var(--text-yellow);
  transition: height 0.1s ease-out;
  z-index: -1;
}

.progress-point {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #000;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--text-white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.progress-point.active {
  border-color: var(--text-yellow);
  background-color: var(--text-yellow);
  color: #000;
}

/* What We Do Page specific styles */
.home-link {
  text-decoration: none;
}

.page-hero {
  min-height: 50vh;
  padding-top: 12rem;
}

.page-hero .subtitle {
  color: var(--text-white);
  font-size: 1.2rem;
  margin-top: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
}

.services-main {
  width: 100%;
}

.service-section {
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.service-section:last-of-type {
  border-bottom: none;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.service-header {
  position: sticky;
  top: 8rem;
}

.service-header .num {
  color: var(--text-yellow);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.service-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.service-header h3 {
  font-size: 1.1rem;
  color: #888;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 1px;
}

.service-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #ccc;
  text-transform: uppercase;
  line-height: 1.8;
}

.service-content .intro {
  color: var(--text-yellow);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.service-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 3rem;
  border-left: 2px solid var(--text-yellow);
}

.detail-item {
  display: flex;
  flex-direction: column;
}

.detail-label {
  color: var(--text-yellow);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.detail-text {
  color: var(--text-white);
  font-size: 1rem;
  text-transform: uppercase;
  line-height: 1.6;
}

/* End of service section */

/* Insights Page */
.page-hero .hero-content {
  transform: translateY(-12vh);
}

.insights-list {
  max-width: 1000px;
  margin: 0 auto;
  padding: 6rem 2rem 10rem 2rem;
}

.insight-card {
  margin-bottom: 8rem;
  scroll-margin-top: 8rem;
}

.insight-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.insight-meta .timestamp {
  color: var(--text-yellow);
}

.insight-meta .tag {
  color: #666;
}

.insight-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.insight-excerpt {
  color: var(--text-yellow);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.insight-full p {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.insight-full blockquote {
  border-left: 2px solid var(--text-yellow);
  padding: 1rem 0 1rem 2rem;
  margin: 3rem 0;
  font-style: italic;
  color: var(--text-white);
}

.article-divider {
  width: 100px;
  height: 2px;
  background-color: var(--text-yellow);
  margin-top: 5rem;
  opacity: 0.3;
}

.insight-full h3 {
  color: var(--text-yellow);
  text-transform: uppercase;
  font-size: 1.3rem;
  margin: 4rem 0 1.5rem 0;
  letter-spacing: 1px;
}

.insight-full ul {
  list-style: none;
  margin-bottom: 2rem;
}

.insight-full li {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  position: relative;
  padding-left: 1.5rem;
}

.insight-full li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--text-yellow);
  font-weight: bold;
}

.insight-full li strong {
  color: var(--text-white);
  display: block;
  margin-bottom: 0.2rem;
}

/* Table Styling */
.table-container {
  margin: 4rem 0;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  font-size: 0.9rem;
  line-height: 1.4;
}

.comparison-table th {
  color: var(--text-yellow);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

.comparison-table td {
  color: #ccc;
}

.comparison-table tr:hover td {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.03);
}

/* Contact Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-input, .form-textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  padding: 1.2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
}

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

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--text-yellow);
  background: rgba(255, 255, 255, 0.06);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  font-size: 0.9rem;
}

@media screen and (max-width: 1024px) {
  .page-hero .subtitle {
    padding: 0 2rem;
  }

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

  .service-header {
    position: relative;
    top: 0;
    margin-bottom: 2rem;
  }

  .service-details {
    padding: 2rem 1.5rem;
  }

  .content-section {
    grid-template-columns: 1fr;
    padding-top: 8rem;
  }

  .img-col {
    order: 2;
  }

  .text-col {
    order: 1;
    margin-bottom: 2rem;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 13.34px; /* Reduced by 2pt (2.66px) from 16px */
  }

  .insight-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .page-hero .subtitle {
    padding: 0 1.5rem;
  }

  .service-section {
    padding: 4rem 1.5rem;
  }

  .insights-list {
    padding: 4rem 1.5rem 6rem 1.5rem;
  }

  .insight-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .insight-card {
    margin-bottom: 5rem;
  }

  .scroll-progress-container {
    display: none;
  }

  .fixed-md-label {
    display: none;
  }

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

@media screen and (max-width: 480px) {
  .hero-content h1 {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .page-hero {
    min-height: 40vh;
    padding-top: 8rem;
  }

  header {
    padding: 1rem;
  }

  .header-left {
    font-size: 0.9rem;
  }

  .service-details {
    padding: 1.5rem 1rem;
  }

  .detail-text {
    font-size: 0.9rem;
  }
}