/* =========================================
   Variables & Reset
   ========================================= */
:root {
  /* Brand Palette */
  --navy-primary: #10253f;
  --navy-secondary: #1a3c5c;
  --gold-accent: #de9027;
  --gold-hover: #c57d1f;
  --off-white: #f4f7f8;
  --white: #ffffff;

  /* Text Colors */
  --text-dark: #10253f;
  --text-gray: #4a5a6a;

  /* High contrast light text for dark backgrounds */
  --text-light-gray: #e2e8f0;

  /* Typography */
  --font-heading: "Playfair Display", serif;
  --font-body: "Lato", sans-serif;

  /* Spacing */
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Layout */
  --container-width: 1140px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-gray);
  background-color: var(--off-white);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

/* =========================================
   Typography
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

.emphasis-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-top: 1rem;
  border-left: 4px solid var(--gold-accent);
  padding-left: 1rem;
}

/* =========================================
   Utilities & Layout
   ========================================= */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section-padding {
  padding: var(--spacing-lg) 0;
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--white) !important;
}

.text-light-gray {
  color: var(--text-light-gray) !important;
}

.bg-white {
  background-color: var(--white);
}

.bg-offwhite {
  background-color: var(--off-white);
}

.bg-navy {
  background-color: var(--navy-primary);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--gold-accent);
  color: var(--white);
  padding: 8px;
  z-index: 1001;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--gold-accent);
  color: var(--white);
  border: 2px solid var(--gold-accent);
}

.btn-primary:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 10px;
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--navy-primary);
}

/* =========================================
   Header & Nav
   ========================================= */
#site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(16, 37, 63, 0.95);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-accent {
  color: var(--gold-accent);
}

#desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

#desktop-nav a {
  color: var(--text-light-gray);
  font-size: 0.95rem;
  font-weight: 400;
}

#desktop-nav a:hover {
  color: var(--white);
}

#desktop-nav .nav-cta {
  padding: 10px 20px;
  border: 1px solid var(--gold-accent);
  color: var(--gold-accent);
  border-radius: 4px;
}

#desktop-nav .nav-cta:hover {
  background-color: var(--gold-accent);
  color: var(--white);
}

/* Mobile Menu Toggle */
#mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

/* Mobile Nav Overlay */
#mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background-color: var(--navy-primary);
  padding: 20px 0;
  text-align: center;
  transform: translateY(-150%);
  transition: transform 0.4s ease;
  z-index: 999;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#mobile-nav.active {
  transform: translateY(0);
}

#mobile-nav li {
  margin: 15px 0;
}

#mobile-nav a {
  color: var(--white);
  font-size: 1.2rem;
  display: block;
  padding: 10px;
}

#mobile-nav .highlight {
  color: var(--gold-accent);
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
  position: relative;
  min-height: 90vh;
  height: auto;

  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4rem;

  display: flex;
  align-items: center;

  background-image: url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  margin-top: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(16, 37, 63, 0.9), rgba(16, 37, 63, 0.7));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--off-white);
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* =========================================
   Content Layouts
   ========================================= */
.grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.content-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.lead-text {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
}

.check-list li::before {
  content: "✓";
  color: var(--gold-accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.image-block img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* =========================================
   Process Section
   ========================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.step-number {
  font-size: 3rem;
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.process-card h3 {
  color: var(--white);
  min-height: 3.6rem;
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.process-card p {
  color: var(--text-light-gray);
}

/* =========================================
   Benefits Grid
   ========================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.compact-grid {
  max-width: 800px;
  margin: 3rem auto 0;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
  background: var(--off-white);
  border-radius: 4px;
}

.benefit-item-simple {
  text-align: left;
  padding: 2rem;
  background: var(--white);
  border-radius: 4px;
  border-left: 4px solid var(--gold-accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.icon-box {
  width: 50px;
  height: 50px;
  background-color: var(--navy-primary);
  color: var(--gold-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

/* =========================================
   About / Bios
   ========================================= */
.bios {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bio strong {
  display: block;
  font-size: 1.1rem;
  color: var(--navy-primary);
  margin-bottom: 0.25rem;
}

.bio-text {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* =========================================
   Contact Section
   ========================================= */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  background-color: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.classic-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--navy-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-primary);
  box-shadow: 0 0 0 2px rgba(26, 60, 92, 0.1);
}

.full-width {
  width: 100%;
}

.success-message {
  display: none;
  text-align: center;
  padding: 2rem;
  background-color: #e8f5e9;
  border-radius: 4px;
  color: #2e7d32;
  animation: fadeIn 0.5s;
}

.success-message.visible {
  display: block;
}

/* =========================================
   Footer
   ========================================= */
footer {
  background-color: var(--navy-primary);
  color: var(--text-light-gray);
  padding: 3rem 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-right a:hover {
  color: var(--gold-accent);
}

.separator {
  margin: 0 10px;
}

/* =========================================
   Responsive / Media Queries
   ========================================= */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --spacing-lg: 3rem;
  }

  h1 {
    font-size: 1.9rem;
    text-wrap: balance;
  }

  h2 {
    font-size: 1.75rem;
  }

  #desktop-nav {
    display: none;
  }

  #mobile-menu-toggle {
    display: block;
  }

  .grid-two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .hero-section {
    background-attachment: scroll;
    padding-top: 110px;
    padding-bottom: 3rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .btn-secondary {
    margin-left: 0;
  }

  .process-card h3 {
    min-height: auto;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* =========================
=== PRIVACY AND TERMS ===
========================= */

.pt-padding {
  padding-top: 16px;
}
