/* NileStack – Clean Institutional Styles */

:root {
  --navy: #0A2540;
  --navy-light: #1B3A4B;
  --charcoal: #333333;
  --gray: #666666;
  --light-gray: #F5F7F8;
  --white: #FFFFFF;
  --max-width: 1100px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

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

/* Header */
header {
  border-bottom: 1px solid #E8ECED;
  padding: 18px 0;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo img {
  height: 72px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 500;
  text-decoration: none;
}

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

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white) !important;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--navy-light);
}

.btn-outline {
  background: transparent;
  color: var(--navy) !important;
  border: 1px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white) !important;
}

/* Hero */
.hero {
  padding: 80px 0 40px;
  text-align: left;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 20px;
}

.hero .supporting {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy-light);   /* or keep var(--gray) if you prefer softer */
  max-width: 640px;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

/* Sections */
section {
  padding: 60px 0;
}

section.light {
  background: var(--light-gray);
}

h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
  color: var(--charcoal);
}

.lead {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 700px;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.pillar h3 {
  margin-bottom: 10px;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--gray);
  margin: 0;
}

/* Solutions */
.solutions-list {
  display: grid;
  gap: 40px;
  margin-top: 48px;
}

.solution-item h3 {
  margin-bottom: 8px;
}

.solution-item p {
  color: var(--gray);
  max-width: 700px;
  margin: 0;
}

/* Contact form */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--navy);
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D0D5DD;
  font-size: 1rem;
  font-family: inherit;
  color: var(--charcoal);
  background: var(--white);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--navy);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 12px;
}

/* Footer */
footer {
  border-top: 1px solid #E8ECED;
  padding: 40px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray);
}

.footer-links a {
  margin-left: 24px;
  font-size: 0.9rem;
  color: var(--gray);
}

.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

/* Mobile */
@media (max-width: 768px) {
  nav {
    gap: 20px;
  }
  
  nav a:not(.btn) {
    display: none;
  }
  
  .logo img {
    height: 56px;
  }
  
  .hero {
    padding: 70px 0 20px;
  }
  
  section {
    padding: 40px 0;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links a {
    margin: 0 12px;
  }
}