:root {
  --navy: #0b1224;
  --red: #d94b3d;
  --green: #3cb179;
  --blue: #4985d8;
  --purple: #735dd0;
  --light-bg: #f6f5f2;
  --white: #ffffff;
}

body {
  margin: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  background-color: var(--light-bg);
  color: var(--navy);
}


h1, h2, h3 {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 2.75rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}

header {
  background: var(--navy);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.logo {
  height: 2rem;
}

nav a {
  color: var(--light-bg);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.95rem;
}

/* Hero Section */
.hero {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
}

.hero h1 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 500px;
  margin: 0 auto 2rem auto;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
}

.hero .cta-button {
  background-color: #40a276;
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.85rem 1.8rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.hero .cta-button:hover {
  background-color: #379167;
  transform: translateY(-2px);
}

.hero .cta-button:active {
  background-color: #2e8059;
  transform: translateY(0);
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 3rem 2rem;
}

.service-card {
  background-color: #0B1120;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  color: #fff;
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.service-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-content h3 {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0 0 6px;
}

.service-content h4 {
  font-size: 1rem;
  font-weight: bold;
  color: var(--light-bg);
  margin: 0 0 12px;
}

.service-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--light-bg);
  margin: 0;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .service-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .service-content {
    text-align: center;
  }
}

/* Trusted Section */
.trusted {
  background-color: var(--light-bg);
  padding: 5rem 2rem 4rem;
  margin-top: -2rem;
}

.trusted-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.trusted-text {
  color: var(--navy);
  font-family: var(--body-font);
  padding-left: 4rem;
}

@media (max-width: 768px) {
}

@media (max-width: 768px) {
  .trusted-text {
    padding-left: 1.25rem; 
  }
  .trusted-content {
    grid-template-columns: 1fr; 
    text-align: center;
  }

  .trusted-logo {
    margin-top: 1.5rem;
  }

  .trusted-logo img {
    max-width: 150px;
  }

}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Default: hidden */
.trusted-logo {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Active: animated in */
.trusted-logo.visible {
  animation: fadeSlideUp 0.8s ease-out forwards;
}

.trusted-text h2 {
  font-family: var(--header-font);
  font-size: 2rem;
  margin-bottom: 1rem;
  margin-top: 0;
  color: var(--navy);
  text-align: center
}

.trusted-text p {
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.trusted-text ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem 0;
}

.trusted-text li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.trusted-text li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--alert-green);
  font-size: 1.1rem;
}

.trusted-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trusted-logo img {
  /* max-width: 200px; */
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .trusted-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trusted-logo {
    margin-top: 2rem;
  }
}


/* About & Contact */
.about-contact {
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 2rem;
}

.about-contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about {
  flex: 1 1 300px;
  font-size: 0.95rem;
}
.about p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-form {
  flex: 1 1 300px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 0.4rem;
  font-family: 'IBM Plex Mono', monospace;
}

.contact-form .contact-button {
  background-color: #40a276; 
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.85rem 1.8rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.contact-form .contact-button:hover {
  background-color: #379167; /* Slightly darker green */
  transform: translateY(-2px);
}

.contact-form .contact-button:active {
  background-color: #2e8059;
  transform: translateY(0);
}

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

.contact form input,
.contact form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(242, 240, 235, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: var(--off-white);
  font-family: var(--body-font);
}

.contact h2 {
  margin-bottom: 1rem;
  font-family: var(--header-font);
}

.contact p {
  margin-bottom: 2rem;
  font-family: var(--body-font);
}

/* Mobile stack */
@media (max-width: 768px) {
    .about-contact-container {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 2rem;
  }

  .about,
  .contact {
    width: 100%;
  }
  .contact {
    padding-right: 2rem;
  }
}

/* Footer */
.site-footer {
  background-color: var(--off-white);
  color: var(--navy);
  padding: 3rem 2rem;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-about p {
  line-height: 1.5;
  margin-top: 0.75rem;
}

.footer-logo {
  max-width: 140px;
  margin-bottom: 0.75rem;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--header-font);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--off-white);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #40a276; /* Nullra green */
}

.footer-contact a {
  color: var(--off-white);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-about {
    margin-bottom: 1.5rem;
  }
}
