/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  /* Theme: American Growth (Emerald/Navy) */
  --primary-green: #047857;
  /* Emerald Green */
  --primary-navy: #1e3a8a;
  /* Navy Blue */
  --accent-gold: #fbbf24;
  /* Subtle Gold Accent */
  --slate-dark: #334155;
  --slate-light: #f1f5f9;
  --white: #ffffff;

  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Roboto', sans-serif;

  --sidebar-width: 280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--slate-light);
  color: var(--slate-dark);
  line-height: 1.6;
  display: flex;
  /* Sidebar Layout */
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  color: var(--primary-navy);
  margin-top: 0;
  letter-spacing: 1px;
}

h1 {
  font-weight: 700;
  font-size: 3rem;
}

h2 {
  font-weight: 500;
  font-size: 2rem;
  color: var(--primary-green);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
  padding: 0;
}

.container {
  width: min(1500px, 92%);
  margin-inline: auto;
}

/* Sidebar Navigation */
.header {
  width: var(--sidebar-width);
  background: var(--primary-navy);
  color: white;
  flex-shrink: 0;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-right: 4px solid var(--primary-green);
  z-index: 50;
}

.brand {
  margin-bottom: 3rem;
  display: block;
  text-align: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  border: 2px solid var(--primary-green);
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #9cb6dd;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-link {
  color: #dbeafe;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding-left: 1.5rem;
  /* Slide effect */
}

/* Main Content Area */
.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Check this */
}

/* Hero */
.hero {
  background: var(--white);
  padding: 5rem 0;
  border-bottom: 2px solid #e2e8f0;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 0 0 500px;
  max-width: 100%;
}

.hero-card {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero h1 {
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  background: var(--primary-green);
  color: white;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.2rem;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #065f46;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* Hero Card */
.hero-card {
  background: var(--slate-light);
  border: 1px solid #cbd5e1;
  padding: 2rem;
  border-radius: 8px;
}

.hero-card h2 {
  font-size: 1.5rem;
  color: var(--primary-navy);
  border-bottom: 2px solid var(--primary-green);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

.hero-card-list li {
  margin-bottom: 0.5rem;
  border-bottom: 1px dotted #cbd5e1;
  padding-bottom: 0.5rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.bullets li {
  margin-bottom: 0.75rem;
  padding-left: 2rem;
  position: relative;
  font-weight: 500;
}

.bullets li::before {
  content: '➤';
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-size: 0.9rem;
  top: 4px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-text {
  background: var(--primary-navy);
  color: white;
  padding: 3rem;
}

.contact-box {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px dashed #60a5fa;
  background: rgba(0, 0, 0, 0.2);
}

.contact-box a {
  color: var(--accent-gold);
}

.contact-form {
  background: white;
  padding: 3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field-full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 4px;
  background: #f8fafc;
  font-family: var(--font-body);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  background: white;
}

.checkbox-row {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
}

/* Footer (Now inside main content) */
.footer {
  background: white;
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0;
  text-align: center;
  margin-top: auto;
}

.footer-inner p {
  margin: 0;
  color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
  body {
    flex-direction: column;
  }

  .header {
    width: 100%;
    height: auto;
    position: relative;
    padding: 1rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-right: none;
    border-bottom: 4px solid var(--primary-green);
  }

  .brand {
    margin-bottom: 0;
    text-align: left;
  }

  .logo-text {
    font-size: 1.25rem;
    padding: 0.25rem;
  }

  .nav {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-link {
    padding: 0.5rem;
    font-size: 0.9rem;
  }

  .nav-link:hover {
    padding-left: 0.5rem;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-text {
    flex: auto;
    width: 100%;
  }

  .hero-card {
    width: 100%;
    justify-content: center;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .brand {
    text-align: center;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 3rem 0;
  }

  h1 {
    font-size: 2.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Utilities */
#alert-top {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 100;
}

.alert {
  padding: 1rem;
  background: white;
  border-left: 4px solid #333;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}