/* ==============================
   VARIABLES
   ============================== */
   :root {
    --accent2: #E4003B;
    --accent: #9F0029;
    --font-color: #212427;
    --home-blog-font-color: #dadce0; /* used in blog section */
    --bg-color: #FFFFFF;
    --border-color: #9F0029;
  }
  
  /* ==============================
     GLOBAL STYLES
     ============================== */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    color: var(--font-color);
    background: var(--bg-color);
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  /* ==============================
     CONTAINER
     ============================== */
  .container {
    max-width: 1200px;
    margin: auto;
    padding: 1rem 1.5rem;
    
    @media (max-width: 768px) {
      padding: 1rem 2rem;
    }
    
    @media (max-width: 480px) {
      padding: 1rem 1.5rem;
    }
  }
  
  /* ==============================
     NAVBAR
     ============================== */
  .nav {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 0px solid var(--bg-color);
    background: transparent; /* remove full-width red */
  }
  
  /* Apply accent color to container */
  .nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
    background: var(--accent); /* red only in content area */
    border-radius: 1; /* optional: add rounding if desired */
  }
  
  .nav .brand {
    font-weight: 700;
    color: #FFFFFF;
  }
  
  
  
  .menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }
  .menu-toggle { z-index: 1002; position: relative; } /* ensure button is clickable above menu & overlay */
.menu-overlay { pointer-events: none; }               /* don't block clicks when hidden */
.menu-overlay.active { pointer-events: auto; }        /* only block when visible */
  

.menu a {
  margin-left: 1rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  border: 1px solid transparent;
  color: #FFFFFF; /* default link color */
  transition: color 0.3s ease, background-color 0.3s ease;
}

.menu a:hover {
  color: #212427;
  background-color: var(--accent);
}

.menu a.active {
  font-weight: 600;
  color: #FFFFFF;
  border-bottom: 2px solid var(--accent);
}
  /* Mobile menu styles */
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
      position: relative;
      z-index: 1001;
    }
    
    .nav .menu {
      display: flex;
      position: fixed;
      top: 0;
      right: -300px;
      width: 250px;
      height: 100%;
      background: var(--accent);
      flex-direction: column;
      padding: 80px 20px 20px;
      transition: right 0.3s ease-in-out;
      z-index: 1000;
      margin: 0;
      justify-content: flex-start;
      align-items: center;
    }
    
    .menu.active {
      right: 0;
      display: flex;
    }
    
    .menu a {
      margin: 10px 0;
      padding: 10px;
      width: 100%;
      text-align: center;
    }
    
    .menu-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 999;
      opacity: 0;
      transition: opacity 0.3s ease-in-out;
    }
    
    .menu-overlay.active {
      display: block;
      opacity: 1;
    }
  }
  
  /* ==============================
     bit added to sort font
     ============================== */
  body {
    font-family: 'Poppins', 'Roboto', sans-serif;
  }
  
  /* ==============================
     HERO SECTION
     ============================== */
  .hero {
    padding: 0 2rem;
    margin-bottom: 0;
  }
  
  .hero-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem;
    border: 2px solid #d0d0d0; /* Slightly darker gray border */
    border-radius: 12px;
    background: #f0f0f0; /* Slightly darker gray background */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  @media (min-width: 768px) {
    .hero {
      padding: 0 3rem;
    }
    
    .hero-wrap {
      flex-direction: row;
      padding: 3rem 0 0;
    }
  }
  
  .hero-photo img {
    width: 100%;
    border-radius: 12px;
    /* no border around photo */
  }
  
  .hero-text {
    max-width: 600px;
    padding: 1.5rem 0;
  }
  
  .hero-photo {
    flex-shrink: 0;
    max-width: 100%;
    padding: 1rem;
  }
  
  @media (min-width: 768px) {
    .hero-photo {
      max-width: 300px;
    }
  }
  
  .hero-text .kicker {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  
  .hero-text h1 {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 1rem;
  }
  
  .hero-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-buttons {
    display: flex;
    gap: 1rem;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid var(--border-color);
    text-align: center;
  }
  
  .btn-primary {
    background: var(--accent);
    color: #fff;
  }
  
  .btn-primary:hover {
    box-shadow: 0 0 8px rgba(159, 0, 41, 0.7);
    transform: translateY(-2px);
  }
  
  .btn-secondary {
    background: #fff;
    color: var(--accent);
  }
  
  .btn-secondary:hover {
    box-shadow: 0 0 8px rgba(159, 0, 41, 0.7);
    transform: translateY(-2px);
  }
  
  /* ==============================
     BLOG / NEWS SECTION
     ============================== */
  #blog h3,
  #blog p {
    color: var(--home-blog-font-color);
  }
  
  .blog-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .blog-link {
    text-decoration: none;
    color: inherit;
  }
  
  .blog-post {
    display: flex;
    flex-direction: row; /* image left, text right */
    align-items: stretch;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .blog-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  }
  
  .blog-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain; /* show whole image */
    background: #f9f9f9; /* optional: fills space around image if aspect ratio doesn’t match */
  }
  
  .blog-content {
    width: 60%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .blog-content h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
  }
  
  .post-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
  }
  
  /* ✅ Mobile Responsive */
  @media (max-width: 768px) {
    .blog-post {
      flex-direction: column; /* stacks neatly */
    }
  
    .blog-image {
      width: 100%;
      height: 200px;
    }
  
    .blog-content {
      width: 100%;
    }
  }
  
  /* ==============================
     SECTION ACCENT
     ============================== */
  .section-accent {
    position: sticky;
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--border-color);
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    padding: 1rem;
    border-radius: 8px; /*  makes the box softer */
    color: #fff; /* ensure text stays readable */
  }
  
  .section-accent .container {
    background-color: #9F0029;
    padding: 2rem;
    border: 2px solid #9f0029;
    border-radius: 8px; /* optional: makes the box softer */
    color: #fff; /* ensure text stays readable */
  }
  
  .section-accent .card {
    background: rgba(255,255,255,0.1);
  }
  
  /* ==============================
     ABOUT PAGE
     ============================== */
  .about-content {
    display: block;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .about-image {
    width: 300px;
    height: auto;
    border-radius: 8px;
    margin: 0 2rem 1rem 0;
    float: left;
    shape-outside: margin-box;
  }
  
  .about-content p {
    margin: 0;
    text-align: justify;
  }
  
  @media (max-width: 768px) {
    .about-image {
      width: 100%;
      margin: 0 0 1.5rem 0;
      float: none;
    }
  }
  
  /* ==============================
     NEWS SECTION
     ============================== */
  #blog {
    background-color: #ffffff;
    padding: 3rem 0;
    width: 100%;
  }
  
  #blog .article-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1rem;
  }
  
  .article-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  #blog > .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--accent);
    border-radius: 8px;
  }
  
  #blog h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: 2rem;
  }
  
  /* ==============================
     CARDS
     ============================== */
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
  }
  
  .card {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .card a {
    color: #ffffff;
    text-decoration: none;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
  }
  
  .card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    flex-grow: 1;
  }
  
  .read-more {
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    margin-top: auto;
    text-decoration: underline;
  }
  
  .card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .cards {
      grid-template-columns: 1fr;
      max-width: 500px;
    }
    
    .card {
      margin-bottom: 1rem;
    }
  }
  
  /* ==============================
     CONTACT FORM
     ============================== */
  .contact-form {
    display: grid;
    gap: 1rem;
    max-width: 600px;
    border: 2px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
  }
  
  .input {
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: 100%;
  }
  
  .google-form iframe {
    width: 100%;
    height: 80vh;
    border: none;
  }
  
  /* ==============================
     FOOTER
     ============================== */
  .footer {
    color: #fff;
    padding: 1rem;
    text-align: center;
    border-top: 2px solid var(--border-color);
    background: var(--accent);
  }
  
  /* ==============================
     RESPONSIVE
     ============================== */
  @media (max-width: 900px) {
    .hero-wrap { flex-direction: column; }
    .hero-buttons { flex-direction: column; }
  }
  