/* CSS Variables for KranzTech Palette from brand guidelines */
:root {
  --navy: #0E3A63; /* Primary navy */
  --azure: #1B75E5; /* Primary azure */
  --neutral: #12212B; /* Neutral UI text */
  --white: #ffffff;
  --black: #000000;
  --light-gray: #f8fafc;
  --dark-gray: #1e293b;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Montserrat", Arial, Helvetica, sans-serif; /* Primary font, SemiBold where applicable */
  line-height: 1.6;
  color: var(--neutral);
  background: var(--light-gray);
  font-weight: 400; /* Regular for body, override for bold */
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.hero {
  background: linear-gradient(
    to right,
    var(--navy),
    var(--azure)
  );
  color: var(--white);
  text-align: center;
  padding: 100px 0;
}
.hero h1 {
  font-size: 3em;
  margin-bottom: 10px;
  color: var(--white);
  font-weight: 600; /* SemiBold */
}
.hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: var(--white);
  opacity: 0.9;
}
.logo {
  max-width: 400px; /* Increased to fit full wordmark without clipping */
  height: auto;
  display: block;
  margin: 0 auto 20px;
  image-rendering: -webkit-optimize-contrast; /* Crisp on Chrome/Safari */
  image-rendering: -moz-crisp-edges; /* Firefox */
  image-rendering: crisp-edges; /* Standard/property */
  image-rendering: pixelated; /* Fallback for sharp edges */
  /* Add for high-DPI: */
  width: 100%;
  max-height: 100px; /* Adjusted for proportion */
}
.cta {
  display: inline-block;
  background: var(--azure);
  color: var(--white);
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600; /* SemiBold */
  transition: background 0.3s; /* Subtle hover */
}
.cta:hover {
  background: #4a9bf0; /* Lighter azure hover */
}

/* Sections */
section {
  padding: 60px 0;
}
.about {
  background: var(--white);
}
.about h2,
.services h2,
.contact h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 40px;
  color: var(--navy);
  font-weight: 600; /* SemiBold */
}
.about p {
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
  font-size: 1.1em;
}
.services {
  background: var(--light-gray); /* Updated to light gray for neutral background */
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(27, 117, 229, 0.1); /* Subtle azure shadow */
  text-align: center;
  border-left: 4px solid var(--azure); /* Brand accent */
}
.service-card h3 {
  color: var(--navy);
  font-weight: 600; /* SemiBold */
}
.contact {
  background: var(--white);
  text-align: center;
}
.contact form {
  max-width: 500px;
  margin: 0 auto;
}
.contact input,
.contact textarea {
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  border: 1px solid var(--azure);
  border-radius: 5px;
}
.contact button {
  background: var(--navy);
  color: var(--white);
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600; /* SemiBold */
}
.contact button:hover {
  background: var(--azure);
}

/* Footer */
footer {
  background: var(--navy); /* Updated to navy for branding */
  color: var(--white);
  text-align: center;
  padding: 20px 0;
}
footer a {
  color: var(--azure);
  text-decoration: none;
  transition: color 0.3s;
}
footer a:hover {
  color: var(--white);
}