/* -------------------------------
   FONT + BASE STYLES
--------------------------------*/
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #f8f8f8;
  color: #222;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Merriweather', serif;
  margin-top: 0;
  color: #0b1f44; /* deep navy */
}

p {
  margin-bottom: 1em;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* -------------------------------
   HEADER
--------------------------------*/
.site-header {
  background-color: #0b1f44;
  color: white;
  padding: 0.75rem 0;
  border-bottom: 4px solid #b22222; /* patriotic red accent */
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: white;
}

.brand-flag {
  width: 35px;
  height: auto;
  border-radius: 3px;
}

.nav {
  display: flex;
  gap: 1.2rem;
}

.nav a {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
  color: #b22222;
}

/* -------------------------------
   HERO SECTION
--------------------------------*/
.hero {
  background: linear-gradient(to right, #b22222 0%, #0b1f44 100%);
  color: white;
  text-align: center;
  padding: 4rem 1rem;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}


.hero p {
  font-style: italic;
  font-size: 1rem;
  max-width: 700px;
  margin: 0.5rem auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: background 0.3s, color 0.3s;
}

.btn-primary {
  background-color: #b22222;
  color: white;
}

.btn-primary:hover {
  background-color: #8b1a1a;
}

.btn-outline {
  border: 2px solid #b22222;
  color: #b22222;
}

.btn-outline:hover {
  background-color: #b22222;
  color: white;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* -------------------------------
   ABOUT PREVIEW
--------------------------------*/
.about-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  margin-bottom: 0.5rem;
}

/* HOME PAGE BIO PREVIEW FIX */
.home-text {
  max-width: 1000px;
  margin: 1rem auto;
  padding: 0 1rem;
  text-align: center;
  line-height: 1.6;
}

.home-text h3 {
  margin-bottom: 1rem;
}


/* -------------------------------
   CLASS OVERVIEW
--------------------------------*/
.classes {
  margin: 3rem 0;
  text-align: center;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.class-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.class-card h4 {
  margin-bottom: 0.75rem;
  color: #0b1f44;
}

.class-card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* -------------------------------
   INLINE PHOTOS
--------------------------------*/
.photo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
}

.photo-row img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}
.photo-row figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 320px;
}

.photo-row figcaption {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.4rem;
  text-align: center;
  font-style: italic;
}


/* -------------------------------
   CALL TO ACTION
--------------------------------*/
.cta {
  background-color: #0b1f44;
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}

.cta h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: white
}

.cta p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
}
/* Make CTA content full width instead of boxed */
.cta .container {
  max-width: 100%;
  padding: 0 1rem;
}


/* -------------------------------
   FOOTER
--------------------------------*/
.site-footer {
  background-color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #444;
  border-top: 2px solid #b22222;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-logos img {
  height: 50px;
  width: auto;
}

.footer-contact {
  font-size: 0.9rem;
  color: #333;
}

/* -------------------------------
   RESPONSIVE DESIGN
--------------------------------*/
@media (max-width: 768px) {
  .about-preview {
    flex-direction: column;
    text-align: center;
  }

  .brand h1 {
    font-size: 1.25rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .photo-row img {
    max-width: 100%;
  }
}

/* -------------------------------
   MISSION SECTION
--------------------------------*/
.mission {
  text-align: center;
  margin: 4rem auto;
}

.mission p {
  max-width: 800px;
  margin: 1rem auto;
}

.mission blockquote {
  font-family: 'Merriweather', serif;
  font-style: italic;
  color: #0b1f44;
  margin-top: 1.5rem;
  border-left: 3px solid #b22222;
  padding-left: 1rem;
}

/* -------------------------------
   TESTIMONIALS
--------------------------------*/
.testimonials {
  margin: 3rem auto 4rem;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-grid blockquote {
  background-color: white;
  border-left: 4px solid #b22222;
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.testimonial-grid blockquote span {
  display: block;
  margin-top: 0.5rem;
  color: #555;
  font-style: italic;
  font-size: 0.85rem;
}


/* -------------------------------
   RESOURCES PAGE
--------------------------------*/
.resources {
  margin: 3rem 0;
}

.resource-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.resource-list li {
  background-color: white;
  border-left: 4px solid #b22222;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.resource-list a {
  font-weight: 600;
  color: #0b1f44;
  font-size: 1.05rem;
}

.resource-list a:hover {
  color: #b22222;
}

.resource-list p {
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
  color: #555;
}


/* -------------------------------
   CONTACT PAGE
--------------------------------*/
.contact-info {
  margin: 3rem 0 2rem;
}

.contact-info h3, .contact-form h3 {
  color: #0b1f44;
}

.contact-info ul {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
}

.contact-info a {
  color: #b22222;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* FORM STYLING */
.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

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

.form-row {
  display: flex;
  flex-direction: column;
  text-align: left;
}

label {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

input, select, textarea {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.6rem;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #b22222;
  box-shadow: 0 0 3px rgba(178, 34, 34, 0.4);
}

/* Article page */
.container.article {
  max-width: 820px;
  margin: 2.5rem auto;
  line-height: 1.6;
  font-family: 'Open Sans', sans-serif;
}

.container.article h1 {
  font-family: 'Merriweather', serif;
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
  color: #0b1f44;
}

.meta {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.container.article p {
  margin-bottom: 1rem;
  color: #222;
}

/* Resource list excerpt tweak */
.resource-list li p {
  margin: 0.4rem 0 0;
  color: #444;
  font-size: 0.95rem;
}

/* ABOUT PAGE LAYOUT FIX */
.about-section {
  padding: 40px 0;               /* Adds clean spacing under the hero */
}

.about-text {
  max-width: 900px;              /* Keeps text from going full-width */
  margin: 0 auto;                /* Centers the text block */
  padding: 0 20px;               /* Adds left/right breathing room */
  line-height: 1.7;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

/* HOME PAGE FIX — Proper Centering */
.home-container {
  max-width: 1100px;     /* Keeps content from stretching full width */
  margin: 0 auto;        /* Centers everything horizontally */
  padding: 0 20px;       /* Adds breathing room on left and right */
}

.home-section {
  padding-top: 40px;     /* Spacing under hero */
}

.nra-links {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f8f8f8;
}

.nra-links h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.nra-button {
  display: inline-block;
  margin: 0.4rem 0;
  padding: 10px 18px;
  background-color: #003f87; /* deep NRA blue */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.nra-button:hover {
  background-color: #002e65;
}
