/* Modern, lightweight Nomad stylesheet (Zero WP/Elementor dependencies) */
:root {
  --primary: #194866;
  --primary-dark: #0f172a;
  --accent: #1e88e5;
  --accent-hover: #1976d2;
  --text: #2d3748;
  --text-muted: #718096;
  --bg: #f7f8fa;
  --bg-alt: #eef1f4;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --max-w: 1200px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
header.site-header {
  background: #f7f8fa;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo a {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo img {
  height: 48px;
  width: auto;
  margin-right: 12px;
}

nav.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a5568;
}

nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid #ffffff;
}

.btn-outline-light:hover {
  background: #ffffff;
  color: #0f172a;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #0f172a 0%, #16233a 100%);
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero p.lead {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: #cbd5e0;
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* Banner / Highlight: Interactive Literature */
.banner-highlight {
  background: #1e293b;
  color: #ffffff;
  border-radius: var(--radius);
  padding: 48px;
  margin: 40px auto 80px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.banner-highlight h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

.banner-highlight p {
  font-size: 1.1rem;
  color: #cbd5e0;
  margin-bottom: 24px;
}

/* Section Common */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

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

.section-header h4 {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
}

/* Services Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e0;
}

.card.featured {
  border: 2px solid var(--accent);
  background: #fffdfa;
}

.card-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.card hr {
  width: 44px;
  height: 3px;
  background: var(--accent);
  border: none;
  margin: 0 0 16px;
  border-radius: 2px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 24px;
}

/* Logos Carousel / Grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px;
  align-items: center;
}

.logo-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: all 0.2s ease;
}

.logo-item:hover {
  border-color: #cbd5e0;
  transform: scale(1.02);
}

.logo-item img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: all 0.2s ease;
}

.logo-item:hover img {
  filter: none;
  opacity: 1;
}

/* Footer */
footer.site-footer {
  background: #0f172a;
  color: #a0aec0;
  padding: 64px 0 32px;
  font-size: 0.95rem;
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #a0aec0;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1a364d;
  padding-top: 32px;
  text-align: center;
  font-size: 0.85rem;
  color: #718096;
}

.footer-bottom p {
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-wrap {
    flex-direction: column;
    height: auto;
    padding: 16px 0;
    gap: 16px;
  }
  .banner-highlight {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Client logo grid (Projects page) — clean static wall, true colors, no hover overlay */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 44px;
  margin: 12px 0 36px;
}
.client-logos .client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-logos .client-logo img {
  max-height: 72px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  filter: none;
  opacity: 1;
  transition: none;
}


/* Contact page: info + email form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}
.contact-info-card,
.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-info-card h3 {
  color: var(--primary);
  margin-bottom: 16px;
}
.contact-details {
  list-style: none;
}
.contact-details li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}
.contact-details li:last-child {
  border-bottom: none;
}
.contact-details li span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-details a {
  color: var(--accent);
  font-weight: 600;
}
.form-field {
  margin-bottom: 18px;
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 6px;
}
.form-field label em {
  color: #dc2626;
  font-style: normal;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.98rem;
  font-family: inherit;
  background: #ffffff;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#cf-submit {
  width: 100%;
}
#cf-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

