/* =====================
   MA Utility Solutions
   Global Stylesheet
   ===================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy:      #0A1F44;
  --amber:     #F59E0B;
  --amber-hover: #D97706;
  --bg:        #F8FAFC;
  --text:      #1E293B;
  --text-light:#64748B;
  --white:     #FFFFFF;
  --border:    #E2E8F0;
  --shadow:    0 2px 12px rgba(0,0,0,0.08);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-light);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.btn-primary {
  display: inline-block;
  background-color: var(--amber);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--amber-hover);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  border: 2px solid var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--navy);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-light);
  max-width: 580px;
  margin-bottom: 3rem;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.divider {
  width: 48px;
  height: 4px;
  background-color: var(--amber);
  border-radius: 2px;
  margin: 1rem 0 2rem;
}

.text-center .divider {
  margin-left: auto;
  margin-right: auto;
}

/* =====================
   NAVBAR (shared across all pages)
   ===================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.logo-ma {
  color: var(--amber);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--amber);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

/* =====================
   FOOTER (shared across all pages)
   ===================== */

.footer {
  background-color: #0d1b2a;
  padding: 4rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--white);
}

.footer-brand .logo .logo-ma {
  color: var(--amber);
}

.footer-brand p {
  color: #94a3b8;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-contact p {
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 1.25rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #64748b;
}

/* =====================
   SHARED MOBILE RULES
   ===================== */

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
/* =====================
   CTA BANNER (shared across all pages)
   ===================== */

.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 100%);
  padding: 5rem 0;
}